ARM: tegra: apalis-tk1: Activate PWM pin muxing for pwm3
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sat, 10 Feb 2018 01:38:02 +0000 (02:38 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 8 Mar 2018 15:13:33 +0000 (16:13 +0100)
Activate PWM pin muxing for Apalis PWM3. Note that the same PWM3 is
already active on pu6 being Apalis BKL1_PWM as well. Therefore exporting
that one for raw sysfs access will fail and one has to revert to using
the PWM backlight.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra124-apalis.dtsi

index be45b67..7fbaaf2 100644 (file)
                                nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_DISABLE>;
                        };
-                       /* PWM3 active on pu6 being Apalis BKL1_PWM */
+                       /* PWM3 active on pu6 being Apalis BKL1_PWM as well */
                        ph3 {
                                nvidia,pins = "ph3";
-                               nvidia,function = "gmi";
-                               nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
-                               nvidia,tristate = <TEGRA_PIN_ENABLE>;
+                               nvidia,function = "pwm3";
+                               nvidia,pull = <TEGRA_PIN_PULL_NONE>;
+                               nvidia,tristate = <TEGRA_PIN_DISABLE>;
                                nvidia,enable-input = <TEGRA_PIN_DISABLE>;
                        };