From patchwork Wed Jan 24 19:07:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 191731 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1198371dyi; Wed, 24 Jan 2024 11:09:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDGVa5aHoDg5XbvsYg/DQtDAc+eGq91ugeGowW/Y5/Tx5XIXo0h2BnqDT8Nt2Fls0YSsuf X-Received: by 2002:ac8:5887:0:b0:42a:66e9:98cd with SMTP id t7-20020ac85887000000b0042a66e998cdmr217142qta.11.1706123345102; Wed, 24 Jan 2024 11:09:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706123345; cv=pass; d=google.com; s=arc-20160816; b=0h+6gfSkKeryyIJC/QYbff4QmMWu5RGF8PpO8GHqsEIv/NAP9DbRn6p4B+4DA+fqFD xvp7NLU/n8F2wRIkzi215IPpViWwwijGVU7DcGapsWtl3CWJ/9IH2nuUYh1GeWiv5Pwh twJ7wICoE9YMCSyh0YusoP5V3OBxKl4dhcax1oXvWERGCdSJGsdtfNnx900Bo3GT7GBr 2q9DZjLpcxyGwDG2aMx2f41zW54waMco1MZb+QBW4iai8vruRNOUB7BSHfjdp325+E4R L7VJItEhlbdeW0t+MyXL+zCFAk5S+RQ+cMq9b8Ns1lctCieKfQc3U4QNZrwZ4QC2jGVQ zrrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=MUtuQKrVoAwbTgcKghwkWlM/OwXnpcm6OxDpn56iEFQ=; fh=2VC8R1Yh7BtHXqPLDfqxy4qCX+Y70dt9ZHu30iMETzA=; b=TlaX0DfeMfFz1MDLMomrHolMcBEIo9hPAOxSQfGJoPFgEzkCVlf59yLOMydf4Sfqs3 b5jMMa2rfpCmWIYLYZZjj7HwIhBl3tmTmA+3QezOEdEaU0LJ3dAttiJdIlqikOPSSuge 8Y+T5aPWMet27QCiBW59/fBsdIVHjFeZy90BOXGHtvFFLkKws2STK6iQZLeK4VeJGAbR 3/lbHXxb7QqcukrRHCVbRQAwwOOoWtsX2B68ZFK+64bZC1yKwKcMFbixK3abAUBxhUA5 okS4HvBwmld6ZnnFbe9L8PZccLZBY+8QmxorEnLTubKHfOwQ+CSs2NQHXT8H4FVBu7vU p+aw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UwCmJcr2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37578-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37578-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c14-20020ac87d8e000000b0042a555c22b7si3355298qtd.719.2024.01.24.11.09.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 11:09:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37578-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UwCmJcr2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37578-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37578-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 759561C2267C for ; Wed, 24 Jan 2024 19:09:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3429A132C1C; Wed, 24 Jan 2024 19:07:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UwCmJcr2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B3436A004; Wed, 24 Jan 2024 19:07:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706123271; cv=none; b=bu2E/Yp1JrH/PIrjyzAOw2kLs9ZadmDipA1k4UrsXrTgx1rmIhjpV4sJPM/uSv8nT3qtMXkD3eyuX5MzmXsk9HnS34d8c4yXXRxwVLlgP0zgP4WhreHhwqC4wJ2ulcFJvP0Rtm16OyaSqioGXsv8iE1a0jJo3DFnb+6s9o5NjO8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706123271; c=relaxed/simple; bh=qVls8IQx2552RmwN7Jy0Od2PMEq7oPBPKU49JRihW/Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=adROG1Nj5ZmTZal6E5uVdJktMEl74uHmikgYWvidbADxHL91Xj0YY7Jc/V5TZcg8kO0NTOdIbQp/o/Y49qH81Fu620i3M+Gubor82ou7zi+DO9ah2VLQeeeuilx2JczsV7/v1Cug59o7xiJmtnaEaX+PKOsjpwqWEHvRqe6QwCA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UwCmJcr2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D79A7C433C7; Wed, 24 Jan 2024 19:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706123271; bh=qVls8IQx2552RmwN7Jy0Od2PMEq7oPBPKU49JRihW/Y=; h=From:To:Cc:Subject:Date:From; b=UwCmJcr2x3BQbRozjA+zj26aMkHyBUJtmxi2/4NK3KkkpL1c1vbCq5OqjgZQgzec1 x+eua/G12IpwxsN//fMS1fRth9vQXSEQbTJMrPmCIbgqipL6nEuXvTmny8DvNAQ6hk wrYFTWYv0c3VcjtYf4483HQI0JeZ101Iz5XfHt4kF8CcN5t097ajUTHixqX7/KmNax h0PIdnqWSaKDqYtyIys4QGqbPX2uJAThD8ZoKzjwR+jGne858ZwsK9e7QtK4hKkywm UMnSjpLP1qV6CucpAymEvkdnfLQaEGQLxcxrRblMUe5LQS6rrButrBFsgfYMowpumh dbkBSMWCZSu1Q== From: Rob Herring To: Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram" Date: Wed, 24 Jan 2024 13:07:44 -0600 Message-ID: <20240124190744.1554625-1-robh@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788999992897932523 X-GMAIL-MSGID: 1788999992897932523 The 'phandle-array' type is a bit ambiguous. It can be either just an array of phandles or an array of phandles plus args. "qcom,rpm-msg-ram" is the former and needs to constrain each entry to a single phandle value. Signed-off-by: Rob Herring Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml index 031800985b5e..9410404f87f1 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml @@ -35,6 +35,8 @@ properties: description: Phandle to an RPM MSG RAM slice containing the master stats minItems: 1 maxItems: 5 + items: + maxItems: 1 qcom,master-names: $ref: /schemas/types.yaml#/definitions/string-array