mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
42ddcf4f9e
H3 PWM controller has same register layout as sun4i driver, so it works by adding H3 specific data. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Cc: Chen-Yu Tsai <wens@csie.org> Cc: linux-pwm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom.kim@gmail.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
24 lines
671 B
Plaintext
24 lines
671 B
Plaintext
Allwinner sun4i and sun7i SoC PWM controller
|
|
|
|
Required properties:
|
|
- compatible: should be one of:
|
|
- "allwinner,sun4i-a10-pwm"
|
|
- "allwinner,sun5i-a10s-pwm"
|
|
- "allwinner,sun5i-a13-pwm"
|
|
- "allwinner,sun7i-a20-pwm"
|
|
- "allwinner,sun8i-h3-pwm"
|
|
- reg: physical base address and length of the controller's registers
|
|
- #pwm-cells: should be 3. See pwm.txt in this directory for a description of
|
|
the cells format.
|
|
- clocks: From common clock binding, handle to the parent clock.
|
|
|
|
Example:
|
|
|
|
pwm: pwm@01c20e00 {
|
|
compatible = "allwinner,sun7i-a20-pwm";
|
|
reg = <0x01c20e00 0xc>;
|
|
clocks = <&osc24M>;
|
|
#pwm-cells = <3>;
|
|
status = "disabled";
|
|
};
|