I am trying to get a working PWM on the TX1 from using the available pwm-0 and pwm-2 as shown:
cat /sys/kernel/debug/pwm
pwm-0 ((null) ):
pwm-1 (pwm-regulator ): requested enabled
pwm-2 ((null) ):
pwm-3 (pwm-fan.34 ): requested enabled
However the pins are configured for DISPLAYA and RSVD respectively instead of PWM0 and PWM1 as shown on the Tegra TX1 TRM Document, see RESET value. On the jetson TK1 the RESET values were the PWM so they didn’t need configuring.
9.15.125 PINMUX_AUX_LCD_BL_PWM_0
Offset: 0x31fc | Read/Write: R/W | Reset: 0x00000074 (0bxxxxxxxxxxxxxxxxxxx00xx001110100)
BIT RESET Description
1:0 DISPLAYA PM: 0=DISPLAYA, 1=PWM0, 2=SOR0, 3=RSVD3
9.15.144 PINMUX_AUX_GPIO_PE6_0
Offset: 0x3248 | Read/Write: R/W | Reset: 0x00000074 (0bxxxxxxxxxxxxxxxxxxx00xx001110100)
BIT RESET Description
1:0 RSVD0 PM: 0=RSVD0, 1=I2S5A, 2=PWM2, 3=RSVD3
How does one configure the PINMUX registers to use the PWM?
I don’t see any files related to the pinmux on arch/arm/mach-tegra.
Any ideas how to get PWM working?
Thanks and Happy Thanksgiving!