Skip to contentSkip to conversation

dt-bindings: pwm: opencores: Add compatible for StarFive JH8100

PATCH Applied Ji Sheng Teoh 3 participants 5 messages Feb 26, 2024 – Feb 27, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: pwm: opencores: Add compatible for StarFive JH8100

StarFive JH8100 uses the same OpenCores PWM controller as JH7110. Mark JH8100 as compatible to the OpenCores PWM controller.

---

This patch depends on patch [1] ("dt-bindings: pwm: Add bindings for
OpenCores PWM Controller") in Conor's riscv-dt-for-next branch.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?h=riscv-dt-for-next&id=2529085831b01fcd02ff58ab4e2596d3b31bcf80

---
 Documentation/devicetree/bindings/pwm/opencores,pwm.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pwm/opencores,pwm.yaml +1 -0
index 0b85dd861dfd..52a59d245cdb 100644
@@ -23,6 +23,7 @@ properties:
       - enum:
           - starfive,jh7100-pwm
           - starfive,jh7110-pwm
+          - starfive,jh8100-pwm
       - const: opencores,pwm-v1
 
   reg:
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw

Hello,

Quoted 11 lines · Ji Sheng Teoh

StarFive JH8100 uses the same OpenCores PWM controller as JH7110. Mark JH8100 as compatible to the OpenCores PWM controller.

---

This patch depends on patch [1] ("dt-bindings: pwm: Add bindings for
OpenCores PWM Controller") in Conor's riscv-dt-for-next branch.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?h=riscv-dt-for-next&id=2529085831b01fcd02ff58ab4e2596d3b31bcf80

I recommend to make use of git format-patch's --base parameter to additionally(!) make this information available to the build bots.

Looks fine to me.

Coner: If you're happy with this patch, please apply it in the same way as the initial OpenCores PWM Controller binding patch.

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
#2 lore raw
Quoted 9 lines · Uwe Kleine-König

Hello,

Quoted 6 lines · Ji Sheng Teoh

StarFive JH8100 uses the same OpenCores PWM controller as JH7110. Mark JH8100 as compatible to the OpenCores PWM controller.

Quoted 8 lines
Quoted 5 lines

---

This patch depends on patch [1] ("dt-bindings: pwm: Add bindings for
OpenCores PWM Controller") in Conor's riscv-dt-for-next branch.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?h=riscv-dt-for-next&id=2529085831b01fcd02ff58ab4e2596d3b31bcf80

I recommend to make use of git format-patch's --base parameter to additionally(!) make this information available to the build bots.

I like the "additionally" :)

Quoted 7 lines

Looks fine to me.

Coner: If you're happy with this patch, please apply it in the same way as the initial OpenCores PWM Controller binding patch.

Ye, I can do. Although, I suppose this is an example of why the driver maintainers applying the bindings is preferred, even if the driver patch itself isn't ready or there is no driver patch.

Cheers,
Conor.

#3 lore raw
Quoted 18 lines · Uwe Kleine-König
Quoted 17 lines

Hello,

Quoted 13 lines · Ji Sheng Teoh

StarFive JH8100 uses the same OpenCores PWM controller as JH7110. Mark JH8100 as compatible to the OpenCores PWM controller.

---

This patch depends on patch [1] ("dt-bindings: pwm: Add bindings for OpenCores PWM Controller") in Conor's riscv-dt-for-next branch.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/comm
it/?h=riscv-dt-for-next&id=2529085831b01fcd02ff58ab4e2596d3b31bcf80

Quoted 4 lines
Quoted 2 lines

I recommend to make use of git format-patch's --base parameter to additionally(!) make this information available to the build bots.

I like the "additionally" :)

Alright, I will take note of that. Thanks

Quoted 5 lines
Quoted 5 lines

Looks fine to me.

Quoted 8 lines
Quoted 2 lines

Coner: If you're happy with this patch, please apply it in the same way as the initial OpenCores PWM Controller binding patch.

Ye, I can do. Although, I suppose this is an example of why the driver maintainers applying the bindings is preferred, even if the driver patch itself isn't ready or there is no driver patch.

Cheers,
Conor.

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

Applied
#4 lore raw
In reply to Ji Sheng Teoh
Quoted 6 lines · Ji Sheng Teoh

StarFive JH8100 uses the same OpenCores PWM controller as JH7110. Mark JH8100 as compatible to the OpenCores PWM controller.

Applied, thanks.

This should've been a b4 email, but I don't think the old copy of b4 I had on this machine likes UTF-8 encoding in email addresses as it generated a pile of crap in the to field. I'll have to see if a new version fixes that.

Conor.