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: fsl: Add fsl,ls1028a-reset for reset syscon node

ls1028a has a reset module that includes reboot, reset control word, and
service processor control.

Add platform specific compatible string to fix the below warning.

syscon@1e60000: compatible: 'anyOf' conditional failed, one must be fixed:
['syscon'] is too short
'syscon' is not one of ['al,alpine-sysfabric-service', ...]

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240703-ls_reset_syscon-v1-1-338f41b3902d@nxp.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Frank Li and committed by
Rob Herring (Arm)
9ca5a7d9 ecbfc6ff

+56
+56
Documentation/devicetree/bindings/soc/fsl/fsl,ls1028a-reset.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas//soc/fsl/fsl,ls1028a-reset.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Freescale Layerscape Reset Registers Module 8 + 9 + maintainers: 10 + - Frank Li 11 + 12 + description: 13 + Reset Module includes chip reset, service processor control and Reset Control 14 + Word (RCW) status. 15 + 16 + properties: 17 + $nodename: 18 + pattern: "^syscon@[0-9a-f]+$" 19 + 20 + compatible: 21 + items: 22 + - enum: 23 + - fsl,ls1028a-reset 24 + - const: syscon 25 + - const: simple-mfd 26 + 27 + reg: 28 + maxItems: 1 29 + 30 + little-endian: true 31 + 32 + reboot: 33 + $ref: /schemas/power/reset/syscon-reboot.yaml# 34 + unevaluatedProperties: false 35 + 36 + required: 37 + - compatible 38 + - reg 39 + - reboot 40 + 41 + additionalProperties: false 42 + 43 + examples: 44 + - | 45 + syscon@1e60000 { 46 + compatible = "fsl,ls1028a-reset", "syscon", "simple-mfd"; 47 + reg = <0x1e60000 0x10000>; 48 + little-endian; 49 + 50 + reboot { 51 + compatible = "syscon-reboot"; 52 + offset = <0>; 53 + mask = <0x02>; 54 + }; 55 + }; 56 +