leds-gpio.yaml (c9f289701540baeef9ac7c9977d67a7259f404db) leds-gpio.yaml (3d21a46093352f7802b9c66c7cce35cd02a50e53)
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/leds/leds-gpio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LEDs connected to GPIO lines
8

--- 10 unchanged lines hidden (view full) ---

19 const: gpio-leds
20
21patternProperties:
22 # The first form is preferred, but fall back to just 'led' anywhere in the
23 # node name to at least catch some child nodes.
24 "(^led-[0-9a-f]$|led)":
25 type: object
26
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/leds/leds-gpio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LEDs connected to GPIO lines
8

--- 10 unchanged lines hidden (view full) ---

19 const: gpio-leds
20
21patternProperties:
22 # The first form is preferred, but fall back to just 'led' anywhere in the
23 # node name to at least catch some child nodes.
24 "(^led-[0-9a-f]$|led)":
25 type: object
26
27 allOf:
28 - $ref: common.yaml#
27 $ref: common.yaml#
29
30 properties:
31 gpios:
32 maxItems: 1
33
34 retain-state-suspended:
35 description:
36 The suspend state can be retained.Such as charge-led gpio.

--- 50 unchanged lines hidden ---
28
29 properties:
30 gpios:
31 maxItems: 1
32
33 retain-state-suspended:
34 description:
35 The suspend state can be retained.Such as charge-led gpio.

--- 50 unchanged lines hidden ---