]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: i2c: loongson,ls2x: Add ls2k0300-i2c compatible
authorBinbin Zhou <zhoubinbin@loongson.cn>
Tue, 14 Apr 2026 06:25:10 +0000 (14:25 +0800)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 27 Apr 2026 10:35:25 +0000 (12:35 +0200)
Add "loongson,ls2k0300-i2c" dedicated compatible for representing I2C of
Loongson-2K0300 chip, because its HW integration is quiet different from
others.

Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/494e63efe2d129931402308c7c4d461454a30989.1776135865.git.zhoubinbin@loongson.cn
Documentation/devicetree/bindings/i2c/loongson,ls2x-i2c.yaml

index 67882ec6e06afc04187da39e55f4d75ba73a38c4..ee09c6d9c5f0b79e19a5a478354e037bc7ba4e65 100644 (file)
@@ -16,6 +16,7 @@ properties:
   compatible:
     enum:
       - loongson,ls2k-i2c
+      - loongson,ls2k0300-i2c
       - loongson,ls7a-i2c
 
   reg:
@@ -24,6 +25,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  clocks:
+    maxItems: 1
+
 required:
   - compatible
   - reg