Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@nabladev.com>
To: Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Christian Bruel <christian.bruel@foss.st.com>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Srinivas Kandagatla <srini@kernel.org>,
	Vinod Koul <vkoul@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Pankaj Dev <pankaj.dev@st.com>
Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com,
	linux-arm-kernel@lists.infradead.org,
	linux-phy@lists.infradead.org,
	Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Subject: Re: [PATCH 08/16] arm64: dts: st: Add ucpd node on stm32mp251
Date: Sat, 22 Aug 2026 07:00:00 +0200	[thread overview]
Message-ID: <745a30e5-3fc3-406c-9263-1c1c8ca9135c@nabladev.com> (raw)
In-Reply-To: <20260821-ucpd-host-fusb340-v7-2-rfc-v1-8-c5e27cbc0795@foss.st.com>

On 8/21/26 6:23 PM, Fabrice Gasnier wrote:
> Describe UCPD bindings and nvmem cells to access trim values.
> This provides the PD and CC USB-C cable signaling functions.
> 
> Co-developed-by: Christian Bruel <christian.bruel@foss.st.com>
> Signed-off-by: Christian Bruel <christian.bruel@foss.st.com>
> Co-developed-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
> Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
> ---
>   arch/arm64/boot/dts/st/stm32mp251.dtsi | 51 ++++++++++++++++++++++++++++++++++
>   1 file changed, 51 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
> index 9dc7a05fce99..be54dd56713b 100644
> --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi

[...]

> @@ -1818,10 +1839,40 @@ part-number-otp@24 {
>   				reg = <0x24 0x4>;
>   			};
>   
> +			ucpd_trim_3a_cc1: trim_3a_cc1@1bd,1 {
> +				reg = <0x1bd 0x1>;
> +				bits = <1 4>;
> +			};
> +
> +			ucpd_trim_3a_cc2: trim_3a_cc2@1bf,1 {
> +				reg = <0x1bf 0x1>;
> +				bits = <1 4>;
> +			};

These two fuse fields ^ do not seem to match STM32MP25xx documentation ?

RM0457 Rev 5
Table 876. UCPD software trim data
Page 5013

                Non-volatile memory location
Name                 Address       Bits
3A0_CC1[3:0]       0x5400 01E8     11:8
3A0_CC2[3:0]       0x5400 01E8     11:8
^^^^^^^                   ^^^^     ^^^^

>   			package-otp@1e8 {
>   				reg = <0x1e8 0x1>;
>   				bits = <0 3>;
>   			};
[...]


  reply	other threads:[~2026-08-22  7:57 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 16:23 [PATCH 00/16] Add support for USB Type-C on STM32MP25 Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 01/16] dt-bindings: usb: st,tcpp: Document TCPP USB-C PD protection chip Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 02/16] usb: typec: tcpm: Add STM32 tcpp driver Fabrice Gasnier
2026-08-22  4:50   ` Marek Vasut
2026-08-21 16:23 ` [PATCH 03/16] dt-bindings: usb: st,stm32-ucpd: Document STM32 UCPD controller Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 04/16] usb: typec: tcpm: Add STM32 UCPD driver Fabrice Gasnier
2026-08-24 14:38   ` Philipp Zabel
2026-08-21 16:23 ` [PATCH 05/16] dt-bindings: usb: add FUSB340 switch binding Fabrice Gasnier
2026-08-22  4:49   ` Marek Vasut
2026-08-25 13:09     ` Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 06/16] usb: typec: add FUSB340 SuperSpeed switch driver Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 07/16] dt-bindings: nvmem: st,stm32-romem: align patternProperties regex on nvmem-deprecated-cells.yaml Fabrice Gasnier
2026-08-27 12:51   ` Krzysztof Kozlowski
2026-08-21 16:23 ` [PATCH 08/16] arm64: dts: st: Add ucpd node on stm32mp251 Fabrice Gasnier
2026-08-22  5:00   ` Marek Vasut [this message]
2026-08-26 13:19     ` Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 09/16] arm64: dts: st: add i2c1 pinctrl entries for stm32mp25 Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 10/16] arm64: dts: st: add tcpp " Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 11/16] dt-bindings: usb: dwc3: stm32: refer to dwc3-common Fabrice Gasnier
2026-08-27 12:44   ` Krzysztof Kozlowski
2026-08-21 16:23 ` [PATCH 12/16] dt-bindings: phy: stm32: adapt usb2phy as syscon child on stm32mp25 Fabrice Gasnier
2026-08-27 12:54   ` Krzysztof Kozlowski
2026-08-21 16:23 ` [PATCH 13/16] dt-bindings: arm: stm32mp2: allow child nodes since simple-mfd transition Fabrice Gasnier
2026-08-27 12:50   ` Krzysztof Kozlowski
2026-08-21 16:23 ` [PATCH 14/16] arm64: dts: st: enable usb on stm32mp257f-ev1 Fabrice Gasnier
2026-08-27 12:55   ` Krzysztof Kozlowski
2026-08-21 16:23 ` [PATCH 15/16] arm64: dts: st: enable usb on stm32mp257f-dk Fabrice Gasnier
2026-08-21 16:23 ` [PATCH 16/16] arm64: configs: enable usb and its dependencies used on stm32mp25 Fabrice Gasnier
2026-08-22  7:28   ` Krzysztof Kozlowski
2026-08-27 12:45 ` [PATCH 00/16] Add support for USB Type-C on STM32MP25 Krzysztof Kozlowski

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=745a30e5-3fc3-406c-9263-1c1c8ca9135c@nabladev.com \
    --to=marex@nabladev.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=broonie@kernel.org \
    --cc=christian.bruel@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrice.gasnier@foss.st.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=p.zabel@pengutronix.de \
    --cc=pankaj.dev@st.com \
    --cc=robh@kernel.org \
    --cc=srini@kernel.org \
    --cc=thomas.bourgoin@foss.st.com \
    --cc=vkoul@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