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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pwm/pwm-tipwmss.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-tipwmss.txt (Architecture sparc) and /Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt (Architecture m68k)


  1 TI SOC based PWM Subsystem                          1 TI SOC based PWM Subsystem
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4 - compatible: Must be "ti,<soc>-pwmss".             4 - compatible: Must be "ti,<soc>-pwmss".
  5   for am33xx  - compatible = "ti,am33xx-pwmss"      5   for am33xx  - compatible = "ti,am33xx-pwmss";
  6   for am4372  - compatible = "ti,am4372-pwmss"      6   for am4372  - compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  7   for dra746 - compatible = "ti,dra746-pwmss",      7   for dra746 - compatible = "ti,dra746-pwmss", "ti,am33xx-pwmss"
  8                                                     8 
  9 - reg: physical base address and size of the r      9 - reg: physical base address and size of the registers map.
 10 - address-cells: Specify the number of u32 ent     10 - address-cells: Specify the number of u32 entries needed in child nodes.
 11                   Should set to 1.                 11                   Should set to 1.
 12 - size-cells: specify number of u32 entries ne     12 - size-cells: specify number of u32 entries needed to specify child nodes size
 13                 in reg property. Should set to     13                 in reg property. Should set to 1.
 14 - ranges: describes the address mapping of a m     14 - ranges: describes the address mapping of a memory-mapped bus. Should set to
 15            physical address map of child's bas     15            physical address map of child's base address, physical address within
 16            parent's address  space and length      16            parent's address  space and length of the address map. For am33xx,
 17            3 set of child register maps presen     17            3 set of child register maps present, ECAP register space, EQEP
 18            register space, EHRPWM register spa     18            register space, EHRPWM register space.
 19                                                    19 
 20 Also child nodes should also populated under P     20 Also child nodes should also populated under PWMSS DT node.
 21                                                    21 
 22 Example:                                           22 Example:
 23 epwmss0: epwmss@48300000 { /* PWMSS for am33xx     23 epwmss0: epwmss@48300000 { /* PWMSS for am33xx */
 24         compatible = "ti,am33xx-pwmss";            24         compatible = "ti,am33xx-pwmss";
 25         reg = <0x48300000 0x10>;                   25         reg = <0x48300000 0x10>;
 26         ti,hwmods = "epwmss0";                     26         ti,hwmods = "epwmss0";
 27         #address-cells = <1>;                      27         #address-cells = <1>;
 28         #size-cells = <1>;                         28         #size-cells = <1>;
 29         ranges = <0x48300100 0x48300100 0x80       29         ranges = <0x48300100 0x48300100 0x80   /* ECAP */
 30                   0x48300180 0x48300180 0x80       30                   0x48300180 0x48300180 0x80   /* EQEP */
 31                   0x48300200 0x48300200 0x80>;     31                   0x48300200 0x48300200 0x80>; /* EHRPWM */
 32                                                    32 
 33         /* child nodes go here */                  33         /* child nodes go here */
 34 };                                                 34 };
 35                                                    35 
 36 epwmss0: epwmss@48300000 { /* PWMSS for am4372     36 epwmss0: epwmss@48300000 { /* PWMSS for am4372 */
 37         compatible = "ti,am4372-pwmss","ti,am3     37         compatible = "ti,am4372-pwmss","ti,am33xx-pwmss"
 38         reg = <0x48300000 0x10>;                   38         reg = <0x48300000 0x10>;
 39         ti,hwmods = "epwmss0";                     39         ti,hwmods = "epwmss0";
 40         #address-cells = <1>;                      40         #address-cells = <1>;
 41         #size-cells = <1>;                         41         #size-cells = <1>;
 42         ranges = <0x48300100 0x48300100 0x80       42         ranges = <0x48300100 0x48300100 0x80   /* ECAP */
 43                   0x48300180 0x48300180 0x80       43                   0x48300180 0x48300180 0x80   /* EQEP */
 44                   0x48300200 0x48300200 0x80>;     44                   0x48300200 0x48300200 0x80>; /* EHRPWM */
 45                                                    45 
 46         /* child nodes go here */                  46         /* child nodes go here */
 47 };                                                 47 };
 48                                                    48 
 49 epwmss0: epwmss@4843e000 { /* PWMSS for DRA7xx     49 epwmss0: epwmss@4843e000 { /* PWMSS for DRA7xx */
 50         compatible = "ti,dra746-pwmss", "ti,am     50         compatible = "ti,dra746-pwmss", "ti,am33xx-pwmss";
 51         reg = <0x4843e000 0x30>;                   51         reg = <0x4843e000 0x30>;
 52         ti,hwmods = "epwmss0";                     52         ti,hwmods = "epwmss0";
 53         #address-cells = <1>;                      53         #address-cells = <1>;
 54         #size-cells = <1>;                         54         #size-cells = <1>;
 55         ranges;                                    55         ranges;
 56                                                    56 
 57         /* child nodes go here */                  57         /* child nodes go here */
 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