~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pwm/pwm-lp3943.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/pwm/pwm-lp3943.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/pwm/pwm-lp3943.txt (Version linux-6.8.12)


  1 TI/National Semiconductor LP3943 PWM controlle      1 TI/National Semiconductor LP3943 PWM controller
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4   - compatible: "ti,lp3943-pwm"                     4   - compatible: "ti,lp3943-pwm"
  5   - #pwm-cells: Should be 2. See pwm.yaml in t      5   - #pwm-cells: Should be 2. See pwm.yaml in this directory for a
  6                 description of the cells forma      6                 description of the cells format.
  7                 Note that this hardware limits      7                 Note that this hardware limits the period length to the
  8                 range 6250~1600000.                 8                 range 6250~1600000.
  9   - ti,pwm0 or ti,pwm1: Output pin number(s) f      9   - ti,pwm0 or ti,pwm1: Output pin number(s) for PWM channel 0 or 1.
 10     0 = output 0                                   10     0 = output 0
 11     1 = output 1                                   11     1 = output 1
 12     .                                              12     .
 13     .                                              13     .
 14     15 = output 15                                 14     15 = output 15
 15                                                    15 
 16 Example:                                           16 Example:
 17 PWM 0 is for RGB LED brightness control            17 PWM 0 is for RGB LED brightness control
 18 PWM 1 is for brightness control of LP8557 back     18 PWM 1 is for brightness control of LP8557 backlight device
 19                                                    19 
 20 &i2c3 {                                            20 &i2c3 {
 21         lp3943@60 {                                21         lp3943@60 {
 22                 compatible = "ti,lp3943";          22                 compatible = "ti,lp3943";
 23                 reg = <0x60>;                      23                 reg = <0x60>;
 24                                                    24 
 25                 /*                                 25                 /*
 26                  * PWM 0 : output 8, 9 and 10      26                  * PWM 0 : output 8, 9 and 10
 27                  * PWM 1 : output 15               27                  * PWM 1 : output 15
 28                  */                                28                  */
 29                 pwm3943: pwm {                     29                 pwm3943: pwm {
 30                         compatible = "ti,lp394     30                         compatible = "ti,lp3943-pwm";
 31                         #pwm-cells = <2>;          31                         #pwm-cells = <2>;
 32                         ti,pwm0 = <8 9 10>;        32                         ti,pwm0 = <8 9 10>;
 33                         ti,pwm1 = <15>;            33                         ti,pwm1 = <15>;
 34                 };                                 34                 };
 35         };                                         35         };
 36                                                    36 
 37 };                                                 37 };
 38                                                    38 
 39 /* LEDs control with PWM 0 of LP3943 */            39 /* LEDs control with PWM 0 of LP3943 */
 40 pwmleds {                                          40 pwmleds {
 41         compatible = "pwm-leds";                   41         compatible = "pwm-leds";
 42         rgb {                                      42         rgb {
 43                 label = "indi::rgb";               43                 label = "indi::rgb";
 44                 pwms = <&pwm3943 0 10000>;         44                 pwms = <&pwm3943 0 10000>;
 45                 max-brightness = <255>;            45                 max-brightness = <255>;
 46         };                                         46         };
 47 };                                                 47 };
 48                                                    48 
 49 &i2c4 {                                            49 &i2c4 {
 50         /* Backlight control with PWM 1 of LP3     50         /* Backlight control with PWM 1 of LP3943 */
 51         backlight@2c {                             51         backlight@2c {
 52                 compatible = "ti,lp8557";          52                 compatible = "ti,lp8557";
 53                 reg = <0x2c>;                      53                 reg = <0x2c>;
 54                                                    54 
 55                 pwms = <&pwm3943 1 10000>;         55                 pwms = <&pwm3943 1 10000>;
 56                 pwm-names = "lp8557";              56                 pwm-names = "lp8557";
 57         };                                         57         };
 58 };                                                 58 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php