]> Gentwo Git Trees - linux/.git/commit
riscv: dts: spacemit: add pwm14_1 pinctrl setting
authorGuodong Xu <guodong@riscstar.com>
Tue, 29 Apr 2025 08:50:46 +0000 (16:50 +0800)
committerYixun Lan <dlan@gentoo.org>
Wed, 9 Jul 2025 05:49:14 +0000 (13:49 +0800)
commitc71dbeb4c03a3c0f67d45fe2b1ac21d2f4cf4875
tree5d51d620a01efc44c856c9a4fc33722de91a15c6
parent66f56c7a64213948341521b5310064586a05c80e
riscv: dts: spacemit: add pwm14_1 pinctrl setting

This patch adds the option 1 (hence the name pwm14_1) pinctrl
configuration for PWM14 on the SpacemiT K1 SoC.

PWM14 option 1 is used for PWM-based backlight control on MIPI displays.
This configuration is present on all existing K1 development boards,
such as the Banana Pi BPI-F3 and the Milk-V Jupiter.

For reference, a more complete list of PWM0-PWM19 pinctrl configurations
including all options can be found in [1].

Note: Since the corresponding functionality for other pins is not yet
in use or ready for upstreaming, this patch includes only the pwm14_1
setting.

[1] https://lore.kernel.org/all/20250411131423.3802611-7-guodong@riscstar.com/

Signed-off-by: Guodong Xu <guodong@riscstar.com>
Link: https://lore.kernel.org/r/20250429085048.1310409-5-guodong@riscstar.com
Signed-off-by: Yixun Lan <dlan@gentoo.org>
arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi