Searched +full:pm8058 +full:- +full:led (Results 1 – 12 of 12) sorted by relevance
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
| D | leds-pm8058.txt | 1 Qualcomm PM8058 LED driver 3 The Qualcomm PM8058 is a multi-functional device which contains 4 an LED driver block for up to six LEDs: three normal LEDs, two 5 "flash" LEDs and one "keypad backlight" LED. The names are 6 quoted because sometimes these LED drivers are used for wildly 8 are more of a suggestion than a hard-wired usecase. 10 Hardware-wise the different LEDs support slightly different 12 do they support external triggers. They are just powerful LED 15 The LEDs appear as children to the PM8058 device, with the 16 proper compatible string. For the PM8058 bindings see: [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-pm8058.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 struct pm8058_led *led; in pm8058_led_set() local 36 led = container_of(cled, struct pm8058_led, cdev); in pm8058_led_set() 37 switch (led->ledtype) { in pm8058_led_set() 51 ret = regmap_update_bits(led->map, led->reg, mask, val); in pm8058_led_set() 53 pr_err("Failed to set LED brightness\n"); in pm8058_led_set() 58 struct pm8058_led *led; in pm8058_led_get() local 62 led = container_of(cled, struct pm8058_led, cdev); in pm8058_led_get() 64 ret = regmap_read(led->map, led->reg, &val); in pm8058_led_get() 66 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_AAT1290) += leds-aat1290.o [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "LED Support" 12 Say Y to enable Linux LED support. This allows control of supported 18 tristate "LED Class Support" 20 This option enables the LED sysfs class in /sys/class/leds. You'll 24 tristate "LED Flash Class Support" 27 This option enables the flash LED sysfs class in /sys/class/leds. 28 It wraps LED Class and adds flash LEDs specific sysfs attributes 30 for the flash related features of a LED device. It can be built 34 tristate "LED Multicolor Class Support" [all …]
|
| /kernel/linux/linux-6.6/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 10 bool "LED Support" 12 Say Y to enable Linux LED support. This allows control of supported 18 tristate "LED Class Support" 20 This option enables the LED sysfs class in /sys/class/leds. You'll 24 tristate "LED Flash Class Support" 27 This option enables the flash LED sysfs class in /sys/class/leds. 28 It wraps LED Class and adds flash LEDs specific sysfs attributes 30 for the flash related features of a LED device. It can be built 34 tristate "LED Multicolor Class Support" [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | qcom-msm8660.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/qcom,gcc-msm8660.h> 7 #include <dt-bindings/soc/qcom,gsbi.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 14 interrupt-parent = <&intc>; 17 #address-cells = <1>; [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" 11 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 18 stdout-path = "serial0:115200n8"; 22 vph: regulator-fixed { [all …]
|
| /kernel/linux/linux-6.6/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,pm8921 [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | qcom-apq8060-dragonboard.dts | 23 #include <dt-bindings/input/input.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 26 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 27 #include "qcom-msm8660.dtsi" 31 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 38 stdout-path = "serial0:115200n8"; 42 compatible = "simple-bus"; 45 vph: regulator-fixed { 46 compatible = "regulator-fixed"; [all …]
|