diff mbox series

[v2,1/2] dt-bindings: timer: Add PWM compatible for X1000 SoC

Message ID 20220224234133.15708-1-aidanmacdonald.0x0@gmail.com (mailing list archive)
State Accepted
Commit 4f34ebbe43f67f112169f61a2f35f6c3dbc8bc52
Headers show
Series [v2,1/2] dt-bindings: timer: Add PWM compatible for X1000 SoC | expand

Commit Message

Aidan MacDonald Feb. 24, 2022, 11:41 p.m. UTC
The PWM hardware on the X1000 SoC is almost identical to other
Ingenic SoCs, so it can be used with only minor driver changes.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
---
It seems Thierry picked up the driver patch separately (thanks for
that) so here's the DTS changes on their own. Would've uploaded a
v2 sooner but I was busy the past couple weeks and couldn't spend
any time on kernel stuff. I guess this isn't a v2 per se, but for
completeness:

v1: https://lore.kernel.org/linux-mips/20220209231141.20184-1-aidanmacdonald.0x0@gmail.com/

 Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Thierry Reding April 22, 2022, 3:54 p.m. UTC | #1
On Thu, Feb 24, 2022 at 11:41:33PM +0000, Aidan MacDonald wrote:
> The PWM hardware on the X1000 SoC is almost identical to other
> Ingenic SoCs, so it can be used with only minor driver changes.
> 
> Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
> ---
> It seems Thierry picked up the driver patch separately (thanks for
> that) so here's the DTS changes on their own. Would've uploaded a
> v2 sooner but I was busy the past couple weeks and couldn't spend
> any time on kernel stuff. I guess this isn't a v2 per se, but for
> completeness:
> 
> v1: https://lore.kernel.org/linux-mips/20220209231141.20184-1-aidanmacdonald.0x0@gmail.com/
> 
>  Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 1 +
>  1 file changed, 1 insertion(+)

Looks like I also somehow ended up applying this snippet, though
possibly from the earlier patch.

Thierry
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
index 7fb37eae9da7..d541cf2067bc 100644
--- a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
+++ b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
@@ -152,6 +152,7 @@  patternProperties:
           - enum:
               - ingenic,jz4740-pwm
               - ingenic,jz4725b-pwm
+              - ingenic,x1000-pwm
           - items:
               - enum:
                   - ingenic,jz4760-pwm