Other Parts Discussed in Thread: TPS65217, , PMP, DRA752, TFP410, TSC2007, TMP102
Tool/software: Linux
Hello All,
I'm working on our custom board, facing some issue with display back-light. Not sure why the backlight is coming, may be due to pwm driver/not.
Using the latest SDK "ti-processor-sdk-linux-am57xx-evm-04.02.00.09"
In dts file, i have done the below backlight configuration:
lcd_bl: backlight {
compatible = "pwm-backlight";
pwms = <&ehrpwm1 0 50000 0>;
brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100>;
default-brightness-level = <100>; /* index to the array above */
status = "okay";
};
&ehrpwm1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pwm_bl_pins>;
};
pwm_bl_pins: backlight_pins {
pinctrl-single,pins = <
0x0F4 (PIN_OUTPUT | MUX_MODE10) /* ehrpwm1a MUX_MODE10 */
>;
};
I have put some debug messages in the pwm driver's still no clue, could you please go through the kerel config, and log and guide me if i'm missing something.
Thanks,
Chandrashekar