Searched +full:pm8058 +full:- +full:led (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/arm/boot/dts/qcom/ |
D | pm8058.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 pm8058: pmic { label 5 compatible = "qcom,pm8058"; 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 12 compatible = "qcom,pm8058-pwrkey"; 14 interrupts-extended = <&pm8058 50 IRQ_TYPE_EDGE_RISING>, 15 <&pm8058 51 IRQ_TYPE_EDGE_RISING>; [all …]
|
D | qcom-apq8060-dragonboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 7 #include "qcom-msm8660.dtsi" 8 #include "pm8058.dtsi" 12 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 19 stdout-path = "serial0:115200n8"; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/leds/ |
D | qcom,pm8058-led.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/qcom,pm8058-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PM8058 PMIC LED 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 13 The Qualcomm PM8058 contains an LED block for up to six LEDs:: three normal 14 LEDs, two "flash" LEDs and one "keypad backlight" LED. The names are quoted 15 because sometimes these LED drivers are used for wildly different things than 17 hard-wired usecase. [all …]
|
/linux-6.12.1/drivers/leds/ |
D | leds-pm8058.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 struct pm8058_led *led; in pm8058_led_set() local 35 led = container_of(cled, struct pm8058_led, cdev); in pm8058_led_set() 36 switch (led->ledtype) { in pm8058_led_set() 50 ret = regmap_update_bits(led->map, led->reg, mask, val); in pm8058_led_set() 52 pr_err("Failed to set LED brightness\n"); in pm8058_led_set() 57 struct pm8058_led *led; in pm8058_led_get() local 61 led = container_of(cled, struct pm8058_led, cdev); in pm8058_led_get() 63 ret = regmap_read(led->map, led->reg, &val); in pm8058_led_get() 65 pr_err("Failed to get LED brightness\n"); in pm8058_led_get() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # LED Core 4 obj-$(CONFIG_NEW_LEDS) += led-core.o 5 obj-$(CONFIG_LEDS_CLASS) += led-class.o 6 obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o 7 obj-$(CONFIG_LEDS_CLASS_MULTICOLOR) += led-class-multicolor.o 8 obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o 10 # LED Platform Drivers (keep this sorted, M-| sort) 11 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o 12 obj-$(CONFIG_LEDS_ACER_A500) += leds-acer-a500.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 bool "LED Support" 18 Say Y to enable Linux LED support. This allows control of supported 24 tristate "LED Class Support" 26 This option enables the LED sysfs class in /sys/class/leds. You'll 30 tristate "LED Flash Class Support" 33 This option enables the flash LED sysfs class in /sys/class/leds. 34 It wraps LED Class and adds flash LEDs specific sysfs attributes 36 for the flash related features of a LED device. It can be built 40 tristate "LED Multicolor Class Support" [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | qcom-pm8xxx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PM8xxx PMIC multi-function devices 10 - Satya Priya <quic_c_skakit@quicinc.com> 19 - enum: 20 - qcom,pm8058 21 - qcom,pm8821 22 - qcom,pm8901 [all …]
|