Lines Matching +full:retain +full:- +full:state +full:- +full:shutdown
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lgm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Zhu, Yi Xin <Yixin.zhu@intel.com>
11 - Amireddy Mallikarjuna reddy <mallikarjunax.reddy@intel.com>
15 const: intel,lgm-ssoled
23 clock-names:
25 - const: sso
26 - const: fpid
28 gpio-controller: true
30 '#gpio-cells':
39 intel,sso-update-rate-hz:
43 led-controller:
46 This sub-node must contain a sub-node for each leds.
51 '#address-cells':
54 '#size-cells':
58 "^led@[0-2]$":
67 intel,sso-hw-trigger:
71 intel,sso-hw-blink:
75 intel,sso-blink-rate-hz:
78 retain-state-suspended:
80 description: The suspend state of LED can be retained.
82 retain-state-shutdown:
84 description: Retain the state of the LED on shutdown.
87 - compatible
88 - reg
89 - clocks
90 - clock-names
91 - "#gpio-cells"
92 - gpio-controller
97 - |
98 #include <dt-bindings/clock/intel,lgm-clk.h>
99 #include <dt-bindings/leds/common.h>
102 compatible = "intel,lgm-ssoled";
104 gpio-controller;
105 #gpio-cells = <2>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_ledc>;
110 clock-names = "sso", "fpid";
111 intel,sso-update-rate-hz = <250000>;
113 led-controller {
114 #address-cells = <1>;
115 #size-cells = <0>;
121 led-gpio = <&ssogpio 0 0>;
128 led-gpio = <&ssogpio 23 0>;