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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml

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/renesas,tpu-pwm.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml (Version linux-5.8.18)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/pwm/renesas      4 $id: http://devicetree.org/schemas/pwm/renesas,tpu-pwm.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Renesas R-Car Timer Pulse Unit PWM Cont      7 title: Renesas R-Car Timer Pulse Unit PWM Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Laurent Pinchart <laurent.pinchart+renesas@     10   - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
 11                                                    11 
 12 select:                                        << 
 13   properties:                                  << 
 14     compatible:                                << 
 15       contains:                                << 
 16         const: renesas,tpu                     << 
 17   required:                                    << 
 18     - compatible                               << 
 19     - '#pwm-cells'                             << 
 20                                                << 
 21 properties:                                        12 properties:
 22   compatible:                                      13   compatible:
 23     items:                                         14     items:
 24       - enum:                                      15       - enum:
 25           - renesas,tpu-r8a73a4   # R-Mobile A     16           - renesas,tpu-r8a73a4   # R-Mobile APE6
 26           - renesas,tpu-r8a7740   # R-Mobile A     17           - renesas,tpu-r8a7740   # R-Mobile A1
 27           - renesas,tpu-r8a7742   # RZ/G1H     << 
 28           - renesas,tpu-r8a7743   # RZ/G1M         18           - renesas,tpu-r8a7743   # RZ/G1M
 29           - renesas,tpu-r8a7744   # RZ/G1N         19           - renesas,tpu-r8a7744   # RZ/G1N
 30           - renesas,tpu-r8a7745   # RZ/G1E         20           - renesas,tpu-r8a7745   # RZ/G1E
 31           - renesas,tpu-r8a7790   # R-Car H2       21           - renesas,tpu-r8a7790   # R-Car H2
 32           - renesas,tpu-r8a7791   # R-Car M2-W     22           - renesas,tpu-r8a7791   # R-Car M2-W
 33           - renesas,tpu-r8a7792   # R-Car V2H      23           - renesas,tpu-r8a7792   # R-Car V2H
 34           - renesas,tpu-r8a7793   # R-Car M2-N     24           - renesas,tpu-r8a7793   # R-Car M2-N
 35           - renesas,tpu-r8a7794   # R-Car E2       25           - renesas,tpu-r8a7794   # R-Car E2
 36           - renesas,tpu-r8a7795   # R-Car H3       26           - renesas,tpu-r8a7795   # R-Car H3
 37           - renesas,tpu-r8a7796   # R-Car M3-W     27           - renesas,tpu-r8a7796   # R-Car M3-W
 38           - renesas,tpu-r8a77961  # R-Car M3-W << 
 39           - renesas,tpu-r8a77965  # R-Car M3-N     28           - renesas,tpu-r8a77965  # R-Car M3-N
 40           - renesas,tpu-r8a77970  # R-Car V3M      29           - renesas,tpu-r8a77970  # R-Car V3M
 41           - renesas,tpu-r8a77980  # R-Car V3H      30           - renesas,tpu-r8a77980  # R-Car V3H
 42           - renesas,tpu-r8a779a0  # R-Car V3U  << 
 43           - renesas,tpu-r8a779g0  # R-Car V4H  << 
 44           - renesas,tpu-r8a779h0  # R-Car V4M  << 
 45       - const: renesas,tpu                         31       - const: renesas,tpu
 46                                                    32 
 47   reg:                                             33   reg:
 48     # Base address and length of each memory r     34     # Base address and length of each memory resource used by the PWM
 49     # controller hardware module.                  35     # controller hardware module.
 50     maxItems: 1                                    36     maxItems: 1
 51                                                    37 
 52   interrupts:                                      38   interrupts:
 53     maxItems: 1                                    39     maxItems: 1
 54                                                    40 
 55   '#pwm-cells':                                    41   '#pwm-cells':
 56     # should be 3. See pwm.yaml in this direct     42     # should be 3. See pwm.yaml in this directory for a description of
 57     # the cells format. The only third cell fl     43     # the cells format. The only third cell flag supported by this binding is
 58     # PWM_POLARITY_INVERTED.                       44     # PWM_POLARITY_INVERTED.
 59     const: 3                                       45     const: 3
 60                                                    46 
 61   clocks:                                          47   clocks:
 62     maxItems: 1                                    48     maxItems: 1
 63                                                    49 
 64   power-domains:                                   50   power-domains:
 65     maxItems: 1                                    51     maxItems: 1
 66                                                    52 
 67   resets:                                          53   resets:
 68     maxItems: 1                                    54     maxItems: 1
 69                                                    55 
 70 required:                                          56 required:
 71   - compatible                                     57   - compatible
 72   - reg                                            58   - reg
 73   - clocks                                     !!  59   - '#pwm-cells'
 74   - power-domains                              << 
 75                                                << 
 76 allOf:                                         << 
 77   - $ref: pwm.yaml#                            << 
 78                                                << 
 79   - if:                                        << 
 80       not:                                     << 
 81         properties:                            << 
 82           compatible:                          << 
 83             contains:                          << 
 84               enum:                            << 
 85                 - renesas,tpu-r8a73a4          << 
 86                 - renesas,tpu-r8a7740          << 
 87     then:                                      << 
 88       required:                                << 
 89         - resets                               << 
 90                                                    60 
 91 additionalProperties: false                        61 additionalProperties: false
 92                                                    62 
 93 examples:                                          63 examples:
 94   - |                                              64   - |
 95     #include <dt-bindings/clock/r8a7740-clock.     65     #include <dt-bindings/clock/r8a7740-clock.h>
 96                                                    66 
 97     tpu: pwm@e6600000 {                            67     tpu: pwm@e6600000 {
 98         compatible = "renesas,tpu-r8a7740", "r     68         compatible = "renesas,tpu-r8a7740", "renesas,tpu";
 99         reg = <0xe6600000 0x148>;                  69         reg = <0xe6600000 0x148>;
100         clocks = <&mstp3_clks R8A7740_CLK_TPU0     70         clocks = <&mstp3_clks R8A7740_CLK_TPU0>;
101         power-domains = <&pd_a3sp>;                71         power-domains = <&pd_a3sp>;
102         #pwm-cells = <3>;                          72         #pwm-cells = <3>;
103     };                                             73     };
                                                      

~ [ 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