[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174257365080.3466536.3652323578969133351.robh@kernel.org>
Date: Fri, 21 Mar 2025 11:14:11 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Bjorn Andersson <bjorn.andersson@....qualcomm.com>
Cc: linux-kernel@...r.kernel.org, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Frank Li <Frank.li@....com>, devicetree@...r.kernel.org,
Wesley Cheng <quic_wcheng@...cinc.com>, linux-usb@...r.kernel.org,
Bjorn Andersson <andersson@...nel.org>,
Saravana Kannan <saravanak@...gle.com>,
Konrad Dybcio <konradybcio@...nel.org>,
Felipe Balbi <balbi@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Conor Dooley <conor+dt@...nel.org>, linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH v5 2/7] dt-bindings: usb: Introduce qcom,snps-dwc3
On Tue, 18 Mar 2025 14:05:02 -0500, Bjorn Andersson wrote:
> The Qualcomm USB glue is not separate of the Synopsys DWC3 core and
> several of the snps,dwc3 properties (such as clocks and reset) conflicts
> in expectation with the Qualcomm integration.
>
> Using the newly split out Synopsys DWC3 core properties, describe the
> Qualcomm USB block in a single block. The new binding is a copy of
> qcom,dwc3 with the needed modifications.
>
> It would have been convenient to retain the two structures with the same
> compatibles, but as there exist no way to select a binding based on the
> absence of a subnode/patternProperty, a new generic compatible is
> introduced to describe this binding.
>
> To avoid redefining all the platform-specific compatibles, "select" is
> used to tell the DeviceTree validator which binding to use solely on the
> generic compatible. (Otherwise if the specific compatible matches during
> validation, the generic one must match as well)
>
> Mark qcom,dwc3 deprecated, to favor expressing future platforms using
> the new combined binding.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@....qualcomm.com>
> ---
> .../devicetree/bindings/usb/qcom,dwc3.yaml | 13 +-
> .../devicetree/bindings/usb/qcom,snps-dwc3.yaml | 620 +++++++++++++++++++++
> 2 files changed, 632 insertions(+), 1 deletion(-)
>
Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
Powered by blists - more mailing lists