[PATCH] dt-bindings: pwm: opencores: Add compatible for StarFive JH8100

Ji Sheng Teoh jisheng.teoh at starfivetech.com
Sun Feb 25 19:39:45 PST 2024


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

Signed-off-by: Ley Foon Tan <leyfoon.tan at starfivetech.com>
Signed-off-by: Ji Sheng Teoh <jisheng.teoh at starfivetech.com>

---

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(+)

diff --git a/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml b/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml
index 0b85dd861dfd..52a59d245cdb 100644
--- a/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/opencores,pwm.yaml
@@ -23,6 +23,7 @@ properties:
       - enum:
           - starfive,jh7100-pwm
           - starfive,jh7110-pwm
+          - starfive,jh8100-pwm
       - const: opencores,pwm-v1
 
   reg:
-- 
2.43.0




More information about the linux-riscv mailing list