[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230627-topic-more_bindings-v1-8-6b4b6cd081e5@linaro.org>
Date: Tue, 27 Jun 2023 18:24:24 +0200
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: cros-qcom-dts-watchers@...omium.org,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Benjamin Li <benl@...areup.com>,
James Willcox <jwillcox@...areup.com>,
Joseph Gates <jgates@...areup.com>,
Stephan Gerhold <stephan@...hold.net>,
Zac Crosby <zac@...areup.com>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Banajit Goswami <bgoswami@...cinc.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Lee Jones <lee@...nel.org>,
Stephen Boyd <sboyd@...nel.org>,
Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Xu Yang <xu.yang_2@....com>, Peng Fan <peng.fan@....com>,
Christian Marangi <ansuelsmth@...il.com>,
Wesley Cheng <quic_wcheng@...cinc.com>,
Jun Nie <jun.nie@...aro.org>, Max Chen <mchen@...areup.com>,
Shawn Guo <shawn.guo@...aro.org>,
Vivek Gautam <vivek.gautam@...eaurora.org>
Cc: Marijn Suijten <marijn.suijten@...ainline.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Vincent Knecht <vincent.knecht@...loo.org>,
Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
Konrad Dybcio <konradybcio@...nel.org>,
alsa-devel@...a-project.org, iommu@...ts.linux.dev,
linux-usb@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Leo Yan <leo.yan@...aro.org>, Rob Herring <robh@...nel.org>,
Andy Gross <andy.gross@...aro.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>
Subject: [PATCH 08/11] dt-bindings: usb: ci-hdrc-usb2: Fix handling pinctrl
properties
Untangle the bit messy oneOf trees and add the missing pinctrl-2 mention
to handle the different pinctrl combinations.
Fixes: 4c8375d35f72 ("dt-bindings: usb: ci-hdrc-usb2: convert to DT schema format")
Signed-off-by: Konrad Dybcio <konrad.dybcio@...aro.org>
---
.../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 27 ++++++----------------
1 file changed, 7 insertions(+), 20 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
index 782402800d4a..24431a7adf3e 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
@@ -199,17 +199,6 @@ properties:
In case of HSIC-mode, "idle" and "active" pin modes are mandatory.
In this case, the "idle" state needs to pull down the data and
strobe pin and the "active" state needs to pull up the strobe pin.
- oneOf:
- - items:
- - const: idle
- - const: active
- - items:
- - const: default
- - enum:
- - host
- - device
- - items:
- - const: default
pinctrl-0:
maxItems: 1
@@ -357,17 +346,15 @@ allOf:
- const: active
else:
properties:
+ pinctrl-2:
+ maxItems: 1
+
pinctrl-names:
minItems: 1
- maxItems: 2
- oneOf:
- - items:
- - const: default
- - enum:
- - host
- - device
- - items:
- - const: default
+ items:
+ - const: default
+ - const: host
+ - const: device
- if:
properties:
compatible:
--
2.41.0
Powered by blists - more mailing lists