* Re: [PATCH] ARM: dts: stm32: configure i2c5 support on stm32mp15xx-dkx
[not found] <1592904672-12781-1-git-send-email-alain.volmat@st.com>
@ 2020-07-21 8:14 ` Alexandre Torgue
0 siblings, 0 replies; only message in thread
From: Alexandre Torgue @ 2020-07-21 8:14 UTC (permalink / raw)
To: Alain Volmat, wsa, robh+dt
Cc: mark.rutland, devicetree, linux-kernel, pierre-yves.mordret,
linux-i2c, mcoquelin.stm32, fabrice.gasnier, linux-stm32,
linux-arm-kernel
Hi Alain
On 6/23/20 11:31 AM, Alain Volmat wrote:
> From: Fabrice Gasnier <fabrice.gasnier@st.com>
>
> Configure I2C5 on stm32mp15 DK boards. It's available and can be used on:
> - Arduino connector
> - GPIO expansion connector
> Keep it disabled by default, so the pins are kept in their initial state to
> lower power consumption. This way they can also be used as GPIO.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> Signed-off-by: Alain Volmat <alain.volmat@st.com>
> ---
> arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
> index fcf50131e5fe..e69aba9830b3 100644
> --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
> @@ -361,6 +361,19 @@
> };
> };
>
> +&i2c5 {
> + pinctrl-names = "default", "sleep";
> + pinctrl-0 = <&i2c5_pins_a>;
> + pinctrl-1 = <&i2c5_sleep_pins_a>;
> + i2c-scl-rising-time-ns = <185>;
> + i2c-scl-falling-time-ns = <20>;
> + clock-frequency = <400000>;
> + /* spare dmas for other usage */
> + /delete-property/dmas;
> + /delete-property/dma-names;
> + status = "disabled";
> +};
> +
> &i2s2 {
> clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>;
> clock-names = "pclk", "i2sclk", "x8k", "x11k";
>
Applied on stm32-next.
Thanks.
Alex
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-21 8:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1592904672-12781-1-git-send-email-alain.volmat@st.com>
2020-07-21 8:14 ` [PATCH] ARM: dts: stm32: configure i2c5 support on stm32mp15xx-dkx 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).