From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Akash Kumar <akash.kumar@oss.qualcomm.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Wayne Chang <waynec@nvidia.com>,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: usb: cypress,cypd4226: Add orientation-gpios property
Date: Fri, 20 Nov 2026 15:50:46 +0100 [thread overview]
Message-ID: <awBeRhkkKwWGYxm1@black.igk.intel.com> (raw)
In-Reply-To: <20261117-ucsi-ccg-cc-orientation-v2-1-2e3576a11eb7@qti.qualcomm.com>
On Tue, Nov 17, 2026 at 07:39:47PM +0530, Akash Kumar wrote:
> Add the optional orientation-gpios property, used to sense the CC
> orientation of each Type-C connector on boards where the CCGx chip
> has no HPI register exposing CC polarity. Entries are ordered by
> connector number; an entry may be left as <0> for connectors with no
> sense line.
>
> Signed-off-by: Akash Kumar <akash.kumar@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
This one did not apply on top of Greg's latest usb-next. I tried also
linux-next.
Thanks,
> diff --git a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> index d923ef82ecfa..5716c045d87e 100644
> --- a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> +++ b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
> @@ -59,6 +59,14 @@ properties:
> description: enable IRQ remote wakeup, see power/wakeup-source.txt
> type: boolean
>
> + orientation-gpios:
> + description:
> + GPIOs used to sense the CC orientation of each Type-C connector.
> + Entries are ordered by connector number, i.e. the first entry
> + corresponds to connector@0 and the second to connector@1.
> + minItems: 1
> + maxItems: 2
> +
> patternProperties:
> '^connector@[01]$':
> $ref: /schemas/connector/usb-connector.yaml#
> @@ -129,6 +137,7 @@ examples:
> };
> };
> - |
> + #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/interrupt-controller/irq.h>
> i2c {
> #address-cells = <1>;
> @@ -141,6 +150,7 @@ examples:
> pinctrl-0 = <&usb0_intr_state>;
> pinctrl-names = "default";
> wakeup-source;
> + orientation-gpios = <0>, <&tlmm XX GPIO_ACTIVE_HIGH>;
>
> #address-cells = <1>;
> #size-cells = <0>;
>
> --
> 2.43.0
--
heikki
next prev parent reply other threads:[~2026-11-20 14:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 14:09 [PATCH v2 0/2] usb: typec: ucsi_ccg: Add CC orientation-gpios support Akash Kumar
2026-11-17 14:09 ` [PATCH v2 1/2] dt-bindings: usb: cypress,cypd4226: Add orientation-gpios property Akash Kumar
2026-11-20 14:50 ` Heikki Krogerus [this message]
2026-11-17 14:09 ` [PATCH v2 2/2] usb: typec: ucsi_ccg: Add CC orientation sensing via GPIO Akash Kumar
2026-11-20 14:51 ` Heikki Krogerus
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=awBeRhkkKwWGYxm1@black.igk.intel.com \
--to=heikki.krogerus@linux.intel.com \
--cc=akash.kumar@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh@kernel.org \
--cc=waynec@nvidia.com \
/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
all inboxes | Powered by JetHome®