From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
alexandre.torgue@foss.st.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org
Cc: amelie.delaunay@foss.st.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH 09/10] ARM: dts: stm32: enable USB OTG in dual role mode on stm32mp135f-dk
Date: Fri, 14 Oct 2022 12:16:41 -0400 [thread overview]
Message-ID: <de4726f5-d7da-041a-31a3-dc7177786bf4@linaro.org> (raw)
In-Reply-To: <20221014092651.25202-10-fabrice.gasnier@foss.st.com>
On 14/10/2022 05:26, Fabrice Gasnier wrote:
> The USB OTG controller provides the USB data available on stm32mp135f-dk,
> on the Type-C connector. Data role is determined by "usb-role-switch".
>
> A STM32G0 provides the USB Type-C and Power Delivery connectivity.
> It controls dual role power and dual role data through UCSI protocol over
> I2C. It's wired on I2C1, with an interrupt pin on PI2 GPIO.
> Its firmware maybe updated over I2C, so use the optional firmware-name
> to enable firmware update.
>
> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
> ---
> arch/arm/boot/dts/stm32mp135f-dk.dts | 34 ++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts
> index 02ff2bc664da..1c92bf096397 100644
> --- a/arch/arm/boot/dts/stm32mp135f-dk.dts
> +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts
> @@ -95,6 +95,28 @@ &i2c1 {
> /* spare dmas for other usage */
> /delete-property/dmas;
> /delete-property/dma-names;
> +
> + stm32g0@53 {
Node names should be generic, usually typec.
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-10-14 16:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-14 9:26 [PATCH 00/10] Add support for USB on STM32MP13 Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 01/10] ARM: dts: stm32: add PWR fixed regulators on stm32mp131 Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 02/10] ARM: dts: stm32: add USBPHYC and dual USB HS PHY support " Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 03/10] ARM: dts: stm32: add UBSH EHCI and OHCI " Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 04/10] ARM: dts: stm32: add USB OTG HS " Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 05/10] ARM: dts: stm32: add fixed regulators to support usb on stm32mp135f-dk Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 06/10] ARM: dts: stm32: enable USB HS phys " Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 07/10] ARM: dts: stm32: enable USB Host EHCI " Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 08/10] ARM: dts: stm32: add pins for stm32g0 typec controller on stm32mp13 Fabrice Gasnier
2022-10-14 9:26 ` [PATCH 09/10] ARM: dts: stm32: enable USB OTG in dual role mode on stm32mp135f-dk Fabrice Gasnier
2022-10-14 16:16 ` Krzysztof Kozlowski [this message]
2022-10-14 9:26 ` [PATCH 10/10] ARM: multi_v7_defconfig: enable Type-C UCSI and STM32G0 as modules Fabrice Gasnier
2022-10-14 14:01 ` [PATCH 00/10] Add support for USB on STM32MP13 Fabrice Gasnier
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=de4726f5-d7da-041a-31a3-dc7177786bf4@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alexandre.torgue@foss.st.com \
--cc=amelie.delaunay@foss.st.com \
--cc=devicetree@vger.kernel.org \
--cc=fabrice.gasnier@foss.st.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--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;
as well as URLs for NNTP newsgroup(s).