Searched +full:pm8058 +full:- +full:led (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/arm/boot/dts/qcom/ |
| H A 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 …]
|
| H A 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/Documentation/devicetree/bindings/leds/ |
| H A 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/drivers/leds/ |
| H A 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 …]
|
| H A 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 9 obj-$(CONFIG_LEDS_KUNIT_TEST) += led-test.o 11 # LED Platform Drivers (keep this sorted, M-| sort) 12 obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o [all …]
|