From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Ansuel Smith <ansuelsmth@gmail.com>
Cc: Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: soc: qcom: add qcom,tcsr bindings
Date: Wed, 9 Feb 2022 15:17:38 -0800 [thread overview]
Message-ID: <YgRLkrowk56YtjtY@ripper> (raw)
In-Reply-To: <Yfmq3IpjHZXdtEQR@Ansuel-xps.localdomain>
On Tue 01 Feb 13:49 PST 2022, Ansuel Smith wrote:
> On Mon, Jan 31, 2022 at 05:41:30PM -0600, Bjorn Andersson wrote:
> > On Fri 21 Jan 18:16 CST 2022, Ansuel Smith wrote:
> >
> > > Add qcom,tcsr-ipq8064 and qcom,tcsr-ipq4019 Documentation for the
> > > tcsr present in ipq8064 and ipa4019 required to configure and
> > > set various peripherals present in the SoC.
> > >
> > > Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
> > > ---
> > > .../bindings/soc/qcom/qcom,tcsr-ipq4019.yaml | 93 +++++++++++++++++++
> > > .../bindings/soc/qcom/qcom,tcsr-ipq8064.yaml | 47 ++++++++++
> > > 2 files changed, 140 insertions(+)
> > > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq4019.yaml
> > > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq8064.yaml
> > >
> > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq4019.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq4019.yaml
> > > new file mode 100644
> > > index 000000000000..3a82ccbb6588
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,tcsr-ipq4019.yaml
> > > @@ -0,0 +1,93 @@
> > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> > > +%YAML 1.2
> > > +---
> > > +$id: "http://devicetree.org/schemas/soc/qcom/qcom,tcsr-ipq4019.yaml#"
> > > +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> > > +
> > > +title: Qualcomm Top Control and Status Registers binding for IPQ4019
> > > +
> > > +maintainers:
> > > + - Ansuel Smith <ansuelsmth@gmail.com>
> > > +
> > > +description: |
> > > + This binding describes the Qualcomm Top Control and Status Registers, used
> > > + for accessing configuration and mux settings for a variety of peripherals
> > > + for ipq4019.
> > > +
> > > +properties:
> > > + compatible:
> > > + items:
> > > + - const: qcom,tcsr-ipq4019
> > > + - const: syscon
> > > +
> > > + reg:
> > > + maxItems: 1
> > > +
> > > + qcom,usb-hsphy-mode-select:
> > > + description: Select usb hsphy mode for ipq4019
> >
> > Why isn't this driven by the USB node, where I presume you otherwise
> > need to duplicate this decision?
> >
>
> From what I understand this is global, setting this will apply on any
> usb present.
>
> > Is this platform not capable of OTG?
> >
>
> I assume it's capable by selecting the correct mode using tcsr.
>
I expect that the USB controller will receive extcon (or
usb_role_switch) requests to flip between the modes based on something.
When this happens it sounds like the USB controller would have to
propagate that change to the TCSR bits as well, and if the USB
controller driver is able to flip the bits then this shouldn't be needed
here?
Regards,
Bjorn
next prev parent reply other threads:[~2022-02-09 23:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-22 0:16 [PATCH 0/2] Add QCOM TCSR driver Ansuel Smith
2022-01-22 0:16 ` [PATCH 1/2] dt-bindings: soc: qcom: add qcom,tcsr bindings Ansuel Smith
2022-01-31 23:41 ` Bjorn Andersson
2022-02-01 21:49 ` Ansuel Smith
2022-02-09 23:17 ` Bjorn Andersson [this message]
2022-02-09 3:01 ` Rob Herring
2022-01-22 0:16 ` [PATCH 2/2] drivers: soc: qcom: add TCSR driver Ansuel Smith
-- strict thread matches above, loose matches on Subject: below --
2022-02-25 20:45 [PATCH 1/2] dt-bindings: soc: qcom: add qcom,tcsr bindings David Heidelberg
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=YgRLkrowk56YtjtY@ripper \
--to=bjorn.andersson@linaro.org \
--cc=agross@kernel.org \
--cc=ansuelsmth@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@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