From: Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Abel Vesa <abelvesa@kernel.org>,
linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
Subject: [PATCH v7 1/2] dt-bindings: soc: qcom,geni-se: Allow 1 or 2 address and size cells
Date: Tue, 29 Sep 2026 15:18:06 +0530 [thread overview]
Message-ID: <20260929-kuno-soc-support-v7-1-530f62dc4020@oss.qualcomm.com> (raw)
In-Reply-To: <20260929-kuno-soc-support-v7-0-530f62dc4020@oss.qualcomm.com>
The QUP wrapper maps its serial engines 1:1 into the parent bus. On
64-bit Qualcomm SoCs that bus uses two address and size cells, but on
32-bit SoCs such as Kuno the soc node uses one. Requiring two cells
forces those SoCs to spell out an explicit ranges property instead of
the plain empty "ranges;" which dtc only accepts when the child and
parent cell counts match.
Allow either one or two cells so the wrapper can follow its parent bus.
Signed-off-by: Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
---
Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
index 54cd585f19e3..c01ad421a122 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
@@ -36,10 +36,10 @@ properties:
maxItems: 2
"#address-cells":
- const: 2
+ enum: [ 1, 2 ]
"#size-cells":
- const: 2
+ enum: [ 1, 2 ]
ranges: true
--
2.43.0
next prev parent reply other threads:[~2026-09-29 9:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 9:48 [PATCH v7 0/2] Add initial support for Qualcomm Kuno SoC Hardeep Sharma
2026-09-29 9:48 ` Hardeep Sharma [this message]
2026-10-06 15:50 ` [PATCH v7 1/2] dt-bindings: soc: qcom,geni-se: Allow 1 or 2 address and size cells Rob Herring (Arm)
2026-09-29 9:48 ` [PATCH v7 2/2] ARM: dts: qcom: Add initial device tree for Kuno SoC Hardeep Sharma
2026-10-06 2:31 ` [PATCH v7 0/2] Add initial support for Qualcomm " Hardeep Sharma
2026-10-08 3:11 ` Hardeep Sharma
2026-10-08 13:11 ` Linus Walleij
2026-10-08 15:05 ` Bartosz Golaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260929-kuno-soc-support-v7-1-530f62dc4020@oss.qualcomm.com \
--to=hardeep.sharma@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox