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: altera: document syscon as fallback for sys-mgr

For 32-bit Altera SoCFPGA parts, the sys-mgr uses the syscon as a fallback.

This change addresses this warning from dtbs_check:

sysmgr@ffd08000 (altr,sys-mgr): compatible: 'oneOf' conditional failed, one
must be fixed:
['altr,sys-mgr', 'syscon'] is too long
'altr,sys-mgr-s10' was expected
'altr,sys-mgr' was expected
from schema $id: http://devicetree.org/schemas/soc/altera/altr,sys-mgr.yaml

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>

+4 -2
+4 -2
Documentation/devicetree/bindings/soc/altera/altr,sys-mgr.yaml
··· 13 13 compatible: 14 14 oneOf: 15 15 - description: Cyclone5/Arria5/Arria10 16 - const: altr,sys-mgr 16 + items: 17 + - const: altr,sys-mgr 18 + - const: syscon 17 19 - description: Stratix10 SoC 18 20 items: 19 21 - const: altr,sys-mgr-s10 ··· 47 45 examples: 48 46 - | 49 47 sysmgr@ffd08000 { 50 - compatible = "altr,sys-mgr"; 48 + compatible = "altr,sys-mgr", "syscon"; 51 49 reg = <0xffd08000 0x1000>; 52 50 cpu1-start-addr = <0xffd080c4>; 53 51 };