[PATCH] ARM: dts: stm32mp135f-dk: Document output pins for PWMs
Alexandre TORGUE
alexandre.torgue at foss.st.com
Thu Jun 27 01:38:34 PDT 2024
Hi Uwe
On 6/13/24 10:02, Uwe Kleine-König wrote:
> To simplify identifying the pins where the PWM output is routed to,
> add a comment to each PWM device about the respective pin on the
> expansion connector.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> ---
> arch/arm/boot/dts/st/stm32mp135f-dk.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> index 567e53ad285f..f1b50e4c1059 100644
> --- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> +++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> @@ -273,6 +273,7 @@ &timers3 {
> /delete-property/dma-names;
> status = "disabled";
> pwm {
> + /* PWM output on pin 7 of the expansion connector (CN8.7) using TIM3_CH4 function */
> pinctrl-0 = <&pwm3_pins_a>;
> pinctrl-1 = <&pwm3_sleep_pins_a>;
> pinctrl-names = "default", "sleep";
> @@ -288,6 +289,7 @@ &timers4 {
> /delete-property/dma-names;
> status = "disabled";
> pwm {
> + /* PWM output on pin 31 of the expansion connector (CN8.31) using TIM4_CH2 function */
> pinctrl-0 = <&pwm4_pins_a>;
> pinctrl-1 = <&pwm4_sleep_pins_a>;
> pinctrl-names = "default", "sleep";
> @@ -303,6 +305,7 @@ &timers8 {
> /delete-property/dma-names;
> status = "disabled";
> pwm {
> + /* PWM output on pin 32 of the expansion connector (CN8.32) using TIM8_CH3 function */
> pinctrl-0 = <&pwm8_pins_a>;
> pinctrl-1 = <&pwm8_sleep_pins_a>;
> pinctrl-names = "default", "sleep";
> @@ -316,6 +319,7 @@ timer at 7 {
> &timers14 {
> status = "disabled";
> pwm {
> + /* PWM output on pin 33 of the expansion connector (CN8.33) using TIM14_CH1 function */
> pinctrl-0 = <&pwm14_pins_a>;
> pinctrl-1 = <&pwm14_sleep_pins_a>;
> pinctrl-names = "default", "sleep";
>
> base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
Good idea. Some lines exceed the 100 char. I could remove "function" or
only keep "func" instead. What do u think ?
Note also that commit should be: "ARM: dts: stm32: ....". i can fix it
by myself.
Alex
More information about the linux-arm-kernel
mailing list