Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx: ventana: add alternate PWM4 pinmux for GW54xx

The GW54xx can provide PWM4 out either the off-board backlight connector
or the off-board digital I/O connector. By default the pinmux routes it
to the backlight connector but this pinctl alternate provides documentation
for those who may want to change it.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Tim Harvey and committed by
Shawn Guo
f8ea256e c382e5cc

+12 -3
+12 -3
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
··· 397 397 }; 398 398 399 399 &pwm4 { 400 - pinctrl-names = "default"; 401 - pinctrl-0 = <&pinctrl_pwm4>; 400 + pinctrl-names = "default", "state_dio"; 401 + pinctrl-0 = <&pinctrl_pwm4_backlight>; 402 + pinctrl-1 = <&pinctrl_pwm4_dio>; 402 403 status = "okay"; 403 404 }; 404 405 ··· 574 573 >; 575 574 }; 576 575 577 - pinctrl_pwm4: pwm4grp { 576 + pinctrl_pwm4_backlight: pwm4grpbacklight { 578 577 fsl,pins = < 578 + /* LVDS_PWM J6.5 */ 579 579 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 580 + >; 581 + }; 582 + 583 + pinctrl_pwm4_dio: pwm4grpdio { 584 + fsl,pins = < 585 + /* DIO3 J16.4 */ 586 + MX6QDL_PAD_SD4_DAT2__PWM4_OUT 0x1b0b1 580 587 >; 581 588 }; 582 589