[PATCH 7/9] riscv: dts: spacemit: Add PWM14 backlight support for BPI-F3
Yixun Lan
dlan at gentoo.org
Mon Apr 14 01:03:44 PDT 2025
Hi Uwe,
On 07:58 Mon 14 Apr , Uwe Kleine-König wrote:
> Hello,
>
> On Fri, Apr 11, 2025 at 09:14:21PM +0800, Guodong Xu wrote:
> > +&pwm14 {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pwm14_1_cfg>;
> > + status = "disabled";
> > +};
>
> I wonder if the pinctrl properties can better be added to the SoC's
> .dtsi file. (Only applies if this is a canonical choice, i.e. there is
> no other possible output configuration.)
>
I'd agree it's a good idea and should follow, but unfortunately in the
practical case, all pwm able to route to at least two different pins..
https://developer.spacemit.com/documentation?token=YiJZwXA2Ri4nJikV9E1cp6nqnMh
see section: 4.5 Multi-Function I/O Pin Assignments
--
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55
More information about the linux-riscv
mailing list