| /kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/ |
| D | omap3-echo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 14 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3"; 18 cpu0-supply = <&vdd1_reg>; 28 compatible = "regulator-fixed"; 29 regulator-name = "vcc5v"; 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <5000000>; [all …]
|
| D | motorola-cpcap-mapphone.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 interrupt-parent = <&gpio1>; 12 interrupt-controller; 13 #interrupt-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 spi-max-frequency = <9600000>; 17 spi-cs-high; 18 spi-cpol; 19 spi-cpha; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | omap3-echo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 9 #include <dt-bindings/input/input.h> 13 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3"; 17 cpu0-supply = <&vdd1_reg>; 27 compatible = "regulator-fixed"; 28 regulator-name = "vcc5v"; 29 regulator-min-microvolt = <5000000>; 30 regulator-max-microvolt = <5000000>; 31 regulator-boot-on; [all …]
|
| D | motorola-cpcap-mapphone.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 interrupt-parent = <&gpio1>; 12 interrupt-controller; 13 #interrupt-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 spi-max-frequency = <9600000>; 17 spi-cs-high; 18 spi-cpol; 19 spi-cpha; [all …]
|
| D | kirkwood-linkstation-duo-6281.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree common file for kirkwood-6281 based 2-Bay Buffalo Linkstation 10 #include "kirkwood-6281.dtsi" 11 #include "kirkwood-linkstation.dtsi" 15 pinctrl: pin-controller@10000 { 16 pmx_power_hdd0: pmx-power-hdd0 { 20 pmx_power_hdd1: pmx-power-hdd1 { 24 pmx_usb_vbus: pmx-usb-vbus { 28 pmx_led_alarm: pmx-led-alarm { 32 pmx_led_function_red: pmx-led-function-red { [all …]
|
| /kernel/linux/linux-6.6/drivers/leds/ |
| D | leds-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * leds-regulator.c - LED class driver for regulator driven LEDs. 7 * Inspired by leds-wm8350 driver. 15 #include <linux/leds-regulator.h> 17 #include <linux/regulator/consumer.h> 27 struct regulator *vcc; 30 static inline int led_regulator_get_max_brightness(struct regulator *supply) in led_regulator_get_max_brightness() 38 /* even if regulator can't change voltages, in led_regulator_get_max_brightness() 40 * and the LED can be turned on and off. in led_regulator_get_max_brightness() 49 static int led_regulator_get_voltage(struct regulator *supply, in led_regulator_get_voltage() [all …]
|
| D | leds-lm3692x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // TI LM3692x LED chip family driver 3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/ 14 #include <linux/regulator/consumer.h> 101 * @led_dev: LED class device pointer 104 * @regulator: LED supply regulator pointer 105 * @led_enable: LED sync to be enabled 114 struct regulator *regulator; member 145 static int lm3692x_fault_check(struct lm3692x_led *led) in lm3692x_fault_check() argument 150 ret = regmap_read(led->regmap, LM3692X_FAULT_FLAGS, &read_buf); in lm3692x_fault_check() [all …]
|
| D | leds-lp8860.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI LP8860 4-Channel LED Driver 14 #include <linux/regulator/consumer.h> 90 * @led_dev: led class device pointer 94 * @regulator: LED supply regulator pointer 103 struct regulator *regulator; member 139 static int lp8860_unlock_eeprom(struct lp8860_led *led, int lock) in lp8860_unlock_eeprom() argument 143 mutex_lock(&led->lock); in lp8860_unlock_eeprom() 146 ret = regmap_write(led->regmap, in lp8860_unlock_eeprom() 150 dev_err(&led->client->dev, "EEPROM Unlock failed\n"); in lp8860_unlock_eeprom() [all …]
|
| D | leds-lm3697.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // TI LM3697 LED chip family driver 3 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 12 #include <linux/regulator/consumer.h> 15 #include <linux/leds-ti-lmu-common.h> 47 * struct lm3697_led - 48 * @hvled_strings: Array of LED strings associated with a control bank 49 * @label: LED label 50 * @led_dev: LED class device 53 * @control_bank: Control bank the LED is associated to. 0 is control bank A [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * leds-regulator.c - LED class driver for regulator driven LEDs. 7 * Inspired by leds-wm8350 driver. 14 #include <linux/leds-regulator.h> 16 #include <linux/regulator/consumer.h> 26 struct regulator *vcc; 29 static inline int led_regulator_get_max_brightness(struct regulator *supply) in led_regulator_get_max_brightness() 37 /* even if regulator can't change voltages, in led_regulator_get_max_brightness() 39 * and the LED can be turned on and off. in led_regulator_get_max_brightness() 48 static int led_regulator_get_voltage(struct regulator *supply, in led_regulator_get_voltage() [all …]
|
| D | leds-lm3692x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // TI LM3692x LED chip family driver 3 // Copyright (C) 2017-18 Texas Instruments Incorporated - https://www.ti.com/ 15 #include <linux/regulator/consumer.h> 99 * struct lm3692x_led - 100 * @lock - Lock for reading/writing the device 101 * @client - Pointer to the I2C client 102 * @led_dev - LED class device pointer 103 * @regmap - Devices register map 104 * @enable_gpio - VDDIO/EN gpio to enable communication interface [all …]
|
| D | leds-lp8860.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI LP8860 4-Channel LED Driver 14 #include <linux/regulator/consumer.h> 88 * struct lp8860_led - 89 * @lock - Lock for reading/writing the device 90 * @client - Pointer to the I2C client 91 * @led_dev - led class device pointer 92 * @regmap - Devices register map 93 * @eeprom_regmap - EEPROM register map 94 * @enable_gpio - VDDIO/EN gpio to enable communication interface [all …]
|
| D | leds-lm3697.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // TI LM3697 LED chip family driver 3 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 9 #include <linux/regulator/consumer.h> 10 #include <linux/leds-ti-lmu-common.h> 42 * struct lm3697_led - 43 * @hvled_strings: Array of LED strings associated with a control bank 44 * @label: LED label 45 * @led_dev: LED class device 48 * @control_bank: Control bank the LED is associated to. 0 is control bank A [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | ti-lmu.txt | 6 ------ --------------------------------- 7 LM3631 Backlight and regulator 8 LM3632 Backlight and regulator 9 LM3633 Backlight, LED and fault monitor 11 LM36274 Backlight and regulator 14 - compatible: Should be one of: 20 - reg: I2C slave address. 28 - enable-gpios: A GPIO specifier for hardware enable pin. 29 - ramp-up-us: Current ramping from one brightness level to 31 Range from 2048 us - 117.44 s [all …]
|
| D | max77693.txt | 1 Maxim MAX77693 multi-function device 4 - PMIC, 5 - CHARGER, 6 - LED, 7 - MUIC, 8 - HAPTIC 14 - compatible : Must be "maxim,max77693". 15 - reg : Specifies the i2c slave address of PMIC block. 16 - interrupts : This i2c device has an IRQ line connected to the main SoC. 19 - regulators : The regulators of max77693 have to be instantiated under subnode [all …]
|
| D | mc13xxx.txt | 4 - compatible : Should be "fsl,mc13783" or "fsl,mc13892" 7 - fsl,mc13xxx-uses-adc : Indicate the ADC is being used 8 - fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used 9 - fsl,mc13xxx-uses-rtc : Indicate the RTC is being used 10 - fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used 12 Sub-nodes: 13 - codec: Contain the Audio Codec node. 14 - adc-port: Contain PMIC SSI port number used for ADC. 15 - dac-port: Contain PMIC SSI port number used for DAC. 16 - leds : Contain the led nodes and initial register values in property [all …]
|
| D | tps6105x.txt | 3 The TP61050/TPS61052 is a high-power "white LED driver". The 4 device provides LED, GPIO and regulator functionalities. 7 - compatible: "ti,tps61050" or "ti,tps61052" 8 - reg: Specifies the I2C slave address 10 Optional sub-node: 15 - regulator: presence of this sub-node puts the chip in regulator mode. 16 see ../regulator/regulator.yaml 18 - led: presence of this sub-node puts the chip in led mode. 20 - function : see ../leds/common.txt 21 - color : see ../leds/common.txt [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | ti-lmu.txt | 6 ------ --------------------------------- 7 LM3631 Backlight and regulator 8 LM3632 Backlight and regulator 9 LM3633 Backlight, LED and fault monitor 11 LM36274 Backlight and regulator 14 - compatible: Should be one of: 20 - reg: I2C slave address. 28 - enable-gpios: A GPIO specifier for hardware enable pin. 29 - ramp-up-us: Current ramping from one brightness level to 31 Range from 2048 us - 117.44 s [all …]
|
| D | mediatek,mt6360.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Gene Chen <gene_chen@richtek.com> 25 wakeup-source: true 30 interrupt-names: 33 interrupt-controller: true 35 "#interrupt-cells": 41 $ref: /schemas/regulator/mt6360-regulator.yaml# 47 $ref: /schemas/usb/mediatek,mt6360-tcpc.yaml# [all …]
|
| D | mediatek,mt6370.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 MT6370 is a highly-integrated smart power management IC, which includes a 14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C & 15 Power Delivery (PD) controller, dual flash LED current sources, a RGB LED 26 wakeup-source: true 31 interrupt-controller: true 33 "#interrupt-cells": [all …]
|
| D | mc13xxx.txt | 4 - compatible : Should be "fsl,mc13783" or "fsl,mc13892" 7 - fsl,mc13xxx-uses-adc : Indicate the ADC is being used 8 - fsl,mc13xxx-uses-codec : Indicate the Audio Codec is being used 9 - fsl,mc13xxx-uses-rtc : Indicate the RTC is being used 10 - fsl,mc13xxx-uses-touch : Indicate the touchscreen controller is being used 12 Sub-nodes: 13 - codec: Contain the Audio Codec node. 14 - adc-port: Contain PMIC SSI port number used for ADC. 15 - dac-port: Contain PMIC SSI port number used for DAC. 16 - leds : Contain the led nodes and initial register values in property [all …]
|
| D | tps6105x.txt | 3 The TP61050/TPS61052 is a high-power "white LED driver". The 4 device provides LED, GPIO and regulator functionalities. 7 - compatible: "ti,tps61050" or "ti,tps61052" 8 - reg: Specifies the I2C slave address 10 Optional sub-node: 15 - regulator: presence of this sub-node puts the chip in regulator mode. 16 see ../regulator/regulator.yaml 18 - led: presence of this sub-node puts the chip in led mode. 20 - function : see ../leds/common.txt 21 - color : see ../leds/common.txt [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/ |
| D | regulator-led.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/regulator-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Regulator LEDs 10 - Linus Walleij <linus.walleij@linaro.org> 13 Regulator LEDs are powered by a single regulator such that they can 14 be turned on or off by enabling or disabling the regulator. The available 16 regulator, and any constraints on the voltage or current will need to be 17 specified on the regulator. [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mm-venice-gw7904.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 17 compatible = "gateworks,imx8mm-gw7904", "fsl,imx8mm"; 20 stdout-path = &uart2; 28 gpio-keys { 29 compatible = "gpio-keys"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/marvell/ |
| D | kirkwood-linkstation-duo-6281.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree common file for kirkwood-6281 based 2-Bay Buffalo Linkstation 10 #include "kirkwood-6281.dtsi" 11 #include "kirkwood-linkstation.dtsi" 15 pinctrl: pin-controller@10000 { 16 pmx_power_hdd0: pmx-power-hdd0 { 20 pmx_power_hdd1: pmx-power-hdd1 { 24 pmx_usb_vbus: pmx-usb-vbus { 28 pmx_led_alarm: pmx-led-alarm { 32 pmx_led_function_red: pmx-led-function-red { [all …]
|