[PATCH 2/2] dt-bindings: pwm: at91: Add SAMA7G5 compatible strings list

Sergiu Moga sergiu.moga at microchip.com
Mon Mar 7 05:03:07 PST 2022


Add compatible strings list for SAMA7G5.

Signed-off-by: Sergiu Moga <sergiu.moga at microchip.com>
---
 .../devicetree/bindings/pwm/atmel-pwm.yaml        | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/pwm/atmel-pwm.yaml b/Documentation/devicetree/bindings/pwm/atmel-pwm.yaml
index f5378a2226bd..55d40973e6a9 100644
--- a/Documentation/devicetree/bindings/pwm/atmel-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/atmel-pwm.yaml
@@ -12,11 +12,16 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - atmel,at91sam9rl-pwm
-      - atmel,sama5d3-pwm
-      - atmel,sama5d2-pwm
-      - microchip,sam9x60-pwm
+    oneOf:
+      - items:
+          - enum:
+              - atmel,at91sam9rl-pwm
+              - atmel,sama5d3-pwm
+              - atmel,sama5d2-pwm
+              - microchip,sam9x60-pwm
+      - items:
+          - const: microchip,sama7g5-pwm
+          - const: atmel,sama5d2-pwm
 
   reg:
     description: |
-- 
2.25.1




More information about the linux-arm-kernel mailing list