* [PATCH] ARM: dts: stm32: Add STM32MP1 I2C6 SDA/SCL pinmux
@ 2020-12-23 11:07 Jagan Teki
2021-01-25 14:38 ` Alexandre TORGUE
0 siblings, 1 reply; 2+ messages in thread
From: Jagan Teki @ 2020-12-23 11:07 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue, Rob Herring
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
linux-amarula, Jagan Teki
Add SDA/SCL pinmux lines for I2C6 on STM32MP1.
This support adds both in default and sleep states.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
index 20a59e8f7a33..2036c1d0d798 100644
--- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
@@ -2018,6 +2018,23 @@ pins {
};
};
+ i2c6_pins_a: i2c6-0 {
+ pins {
+ pinmux = <STM32_PINMUX('Z', 6, AF2)>, /* I2C6_SCL */
+ <STM32_PINMUX('Z', 7, AF2)>; /* I2C6_SDA */
+ bias-disable;
+ drive-open-drain;
+ slew-rate = <0>;
+ };
+ };
+
+ i2c6_sleep_pins_a: i2c6-sleep-0 {
+ pins {
+ pinmux = <STM32_PINMUX('Z', 6, ANALOG)>, /* I2C6_SCL */
+ <STM32_PINMUX('Z', 7, ANALOG)>; /* I2C6_SDA */
+ };
+ };
+
spi1_pins_a: spi1-0 {
pins1 {
pinmux = <STM32_PINMUX('Z', 0, AF5)>, /* SPI1_SCK */
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: stm32: Add STM32MP1 I2C6 SDA/SCL pinmux
2020-12-23 11:07 [PATCH] ARM: dts: stm32: Add STM32MP1 I2C6 SDA/SCL pinmux Jagan Teki
@ 2021-01-25 14:38 ` Alexandre TORGUE
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre TORGUE @ 2021-01-25 14:38 UTC (permalink / raw)
To: Jagan Teki, Maxime Coquelin, Alexandre Torgue, Rob Herring
Cc: devicetree, linux-kernel, linux-amarula, linux-stm32, linux-arm-kernel
Hi,
On 12/23/20 12:07 PM, Jagan Teki wrote:
> Add SDA/SCL pinmux lines for I2C6 on STM32MP1.
>
> This support adds both in default and sleep states.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> index 20a59e8f7a33..2036c1d0d798 100644
> --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> @@ -2018,6 +2018,23 @@ pins {
> };
> };
>
> + i2c6_pins_a: i2c6-0 {
> + pins {
> + pinmux = <STM32_PINMUX('Z', 6, AF2)>, /* I2C6_SCL */
> + <STM32_PINMUX('Z', 7, AF2)>; /* I2C6_SDA */
> + bias-disable;
> + drive-open-drain;
> + slew-rate = <0>;
> + };
> + };
> +
> + i2c6_sleep_pins_a: i2c6-sleep-0 {
> + pins {
> + pinmux = <STM32_PINMUX('Z', 6, ANALOG)>, /* I2C6_SCL */
> + <STM32_PINMUX('Z', 7, ANALOG)>; /* I2C6_SDA */
> + };
> + };
> +
> spi1_pins_a: spi1-0 {
> pins1 {
> pinmux = <STM32_PINMUX('Z', 0, AF5)>, /* SPI1_SCK */
>
Applied on stm32-next.
Thanks.
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-26 4:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-23 11:07 [PATCH] ARM: dts: stm32: Add STM32MP1 I2C6 SDA/SCL pinmux Jagan Teki
2021-01-25 14:38 ` Alexandre TORGUE
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).