Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: soc: loongson,ls2k-pmc: Use fallbacks for ls2k-pmc compatible

The Loongson-2K series chips (ls2k0500/ls2k1000/ls2k2000) share the same
PM system controller, using ls2k0500 compatible as fallback for the
others.

Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Binbin Zhou and committed by
Arnd Bergmann
380054cb 8e4a28f9

+11 -6
+11 -6
Documentation/devicetree/bindings/soc/loongson/loongson,ls2k-pmc.yaml
··· 11 11 12 12 properties: 13 13 compatible: 14 - items: 15 - - enum: 16 - - loongson,ls2k0500-pmc 17 - - loongson,ls2k1000-pmc 18 - - const: syscon 14 + oneOf: 15 + - items: 16 + - const: loongson,ls2k0500-pmc 17 + - const: syscon 18 + - items: 19 + - enum: 20 + - loongson,ls2k1000-pmc 21 + - loongson,ls2k2000-pmc 22 + - const: loongson,ls2k0500-pmc 23 + - const: syscon 19 24 20 25 reg: 21 26 maxItems: 1 ··· 49 44 #include <dt-bindings/interrupt-controller/irq.h> 50 45 51 46 power-management@1fe27000 { 52 - compatible = "loongson,ls2k1000-pmc", "syscon"; 47 + compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon"; 53 48 reg = <0x1fe27000 0x58>; 54 49 interrupt-parent = <&liointc1>; 55 50 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;