From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Michal Vokáč" <michal.vokac@ysoft.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Shawn Guo" <shawnguo@kernel.org>,
"Petr Benes" <petr.benes@ysoft.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Herburger <gregor.herburger@ew.tq-group.com>,
Hiago De Franco <hiago.franco@toradex.com>,
Hugo Villeneuve <hvilleneuve@dimonoff.com>,
Joao Paulo Goncalves <joao.goncalves@toradex.com>,
Michael Walle <mwalle@kernel.org>,
Alexander Stein <alexander.stein@ew.tq-group.com>,
Mathieu Othacehe <m.othacehe@gmail.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/4] dt-bindings: usb: Add Diodes Incorporated PI5USB30213A Type-C Controller
Date: Wed, 18 Sep 2024 15:16:33 +0200 [thread overview]
Message-ID: <3ac31595-f596-4960-bba2-0b0b55041193@kernel.org> (raw)
In-Reply-To: <20240917151001.1289399-4-michal.vokac@ysoft.com>
On 17/09/2024 17:10, Michal Vokáč wrote:
> From: Petr Benes <petr.benes@ysoft.com>
>
> Diodes Incorporated PI5USB30213A Type-C Controller supports host,
> device, and dual-role mode based on voltage levels detected on CC
> pin. Supports dual differential channel, 2:1 USB 3.0 Mux/Demux,
> USB Type-C specification 1.1.
>
> Signed-off-by: Petr Benes <petr.benes@ysoft.com>
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
> ---
> .../bindings/usb/diodes,pi5usb30213a.yaml | 95 +++++++++++++++++++
> 1 file changed, 95 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/usb/diodes,pi5usb30213a.yaml
>
> diff --git a/Documentation/devicetree/bindings/usb/diodes,pi5usb30213a.yaml b/Documentation/devicetree/bindings/usb/diodes,pi5usb30213a.yaml
> new file mode 100644
> index 000000000000..1cae10724152
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/usb/diodes,pi5usb30213a.yaml
> @@ -0,0 +1,95 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/usb/diodes,pi5usb30213a.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: PI5USB30213A Type-C port controller
> +
> +description:
> + Diodes Incorporated PI5USB30213A Type-C Controller supports host,
> + device, and dual-role mode based on voltage levels detected on CC
> + pin. Dual differential channel, 2:1 USB 3.0 Mux/Demux, USB Type-C
> + specification 1.1 compliant.
> +
> +maintainers:
> + - Petr Benes <petr.benes@ysoft.com>
Please put maintainers before description: block.
> +
> +properties:
> + compatible:
> + enum:
> + - diodes,pi5usb30213a
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + connector:
> + type: object
> + $ref: ../connector/usb-connector.yaml#
Full path, so /schemas/connector/usb-....
> + unevaluatedProperties: false
> + description:
> + The managed USB Type-C connector.
Description should not be needed.
> +
> + properties:
> + compatible:
> + const: usb-c-connector
Drop, not needed.
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - connector
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + pi5usb30213a: tcpc@d {
typec@d
and drop label
> + compatible = "diodes,pi5usb30213a";
> + reg = <0xd>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_typec>;
> + interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>;
> + status = "okay";
Drop status
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-09-18 13:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-17 15:09 [PATCH 0/4] Add support for new IMX8MP based board Michal Vokáč
2024-09-17 15:09 ` [PATCH 1/4] dt-bindings: arm: Add i.MX8MP IOTA2 Lumpy board Michal Vokáč
2024-09-18 13:12 ` Krzysztof Kozlowski
2024-09-17 15:09 ` [PATCH 2/4] arm64: dts: imx: Add imx8mp-iota2-lumpy board Michal Vokáč
2024-09-17 19:07 ` Frank Li
2024-09-18 8:32 ` Michal Vokáč
2024-09-17 15:10 ` [PATCH 3/4] dt-bindings: usb: Add Diodes Incorporated PI5USB30213A Type-C Controller Michal Vokáč
2024-09-18 13:16 ` Krzysztof Kozlowski [this message]
2024-09-19 12:49 ` Michal Vokáč
2024-09-17 15:10 ` [PATCH 4/4] arm64: dts: imx8mp-iota2: Enable the USB Type-C port Michal Vokáč
2024-09-18 13:17 ` Krzysztof Kozlowski
2024-09-19 12:52 ` Michal Vokáč
2024-09-18 17:06 ` [PATCH 0/4] Add support for new IMX8MP based board Rob Herring (Arm)
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=3ac31595-f596-4960-bba2-0b0b55041193@kernel.org \
--to=krzk@kernel.org \
--cc=alexander.stein@ew.tq-group.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=gregor.herburger@ew.tq-group.com \
--cc=hiago.franco@toradex.com \
--cc=hvilleneuve@dimonoff.com \
--cc=imx@lists.linux.dev \
--cc=joao.goncalves@toradex.com \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=m.othacehe@gmail.com \
--cc=michal.vokac@ysoft.com \
--cc=mwalle@kernel.org \
--cc=petr.benes@ysoft.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@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