/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/arch/arm/boot/dts/marvell/ |
D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 18 pmx_fanctrl_15: pmx-fanctrl-15 { 23 pmx_fanctrl_16: pmx-fanctrl-16 { 28 pmx_fanctrl_17: pmx-fanctrl-17 { 33 pmx_fanalarm_18: pmx-fanalarm-18 { 38 pmx_hddled_20: pmx-hddled-20 { 43 pmx_hddled_21: pmx-hddled-21 { 48 pmx_hddled_22: pmx-hddled-22 { [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 …]
|
D | kirkwood-lsxl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "kirkwood-6281.dtsi" 8 stdout-path = &uart0; 12 pinctrl: pin-controller@10000 { 13 /* Non-default UART pins */ 14 pmx_uart0: pmx-uart0 { 18 pmx_power_hdd: pmx-power-hdd { 22 pmx_usb_vbus: pmx-usb-vbus { 26 pmx_fan_high: pmx-fan-high { 30 pmx_fan_low: pmx-fan-low { [all …]
|
D | kirkwood-nsa325.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 10 /dts-v1/; 12 #include "kirkwood-nsa3x0-common.dtsi" 16 compatible = "zyxel,nsa325", "marvell,kirkwood-88f6282", "marvell,kirkwood"; 25 stdout-path = &uart0; 29 pinctrl: pin-controller@10000 { 30 pinctrl-names = "default"; 32 pmx_led_hdd2_green: pmx-led-hdd2-green { 37 pmx_led_hdd2_red: pmx-led-hdd2-red { 42 pmx_mcu_data: pmx-mcu-data { [all …]
|
D | kirkwood-linkstation-lsqvl.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Buffalo Linkstation LS-QVL 7 * Based on kirkwood-linkstation-lswvl.dts, 12 /dts-v1/; 13 #include "kirkwood-linkstation-6282.dtsi" 16 model = "Buffalo Linkstation LS-QVL"; 17 compatible = "buffalo,lsqvl", "marvell,kirkwood-88f6282", "marvell,kirkwood"; 25 pinctrl: pin-controller@10000 { 26 pmx_power_hdd1: pmx-power-hdd1 { 30 pmx_led_hdderr0: pmx-led-hdderr0 { [all …]
|
D | armada-370-seagate-nas-xbay.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree common file for the Seagate NAS 2 and 4-bay (Armada 370 SoC). 14 #include "armada-370.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/input.h> 20 stdout-path = "serial0:115200n8"; 32 internal-regs { 38 nr-ports = <2>; 44 pinctrl-0 = <&ge0_rgmii_pins>; 45 pinctrl-names = "default"; [all …]
|
D | armada-388-helios4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 /dts-v1/; 11 #include "armada-388.dtsi" 12 #include "armada-38x-solidrun-microsom.dtsi" 25 /* So that mvebu u-boot can update the MAC addresses */ 30 stdout-path = "serial0:115200n8"; 33 reg_12v: regulator-12v { 34 compatible = "regulator-fixed"; 35 regulator-name = "power_brick_12V"; 36 regulator-min-microvolt = <12000000>; [all …]
|
/linux-6.12.1/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 …]
|
D | leds-lm36274.txt | 1 * Texas Instruments LM36274 4-Channel LCD Backlight Driver w/Integrated Bias 3 The LM36274 is an integrated four-channel WLED driver and LCD bias supply. 4 The backlight boost provides the power to bias four parallel LED strings with 5 up to 29V total output voltage. The 11-bit LED current is programmable via 9 Documentation/devicetree/bindings/mfd/ti-lmu.txt 11 Regulator properties are documented in 12 Documentation/devicetree/bindings/regulator/lm363x-regulator.txt 15 - compatible: 16 "ti,lm36274-backlight" 17 - reg : 0 [all …]
|
/linux-6.12.1/drivers/leds/flash/ |
D | leds-ktd2692.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED driver : leds-ktd2692.c 12 #include <linux/leds-expresswire.h> 13 #include <linux/led-class-flash.h> 18 #include <linux/regulator/consumer.h> 52 /* maximum LED current in movie mode */ 54 /* maximum LED current in flash mode */ 58 /* max LED brightness level */ 75 /* Related LED Flash class device */ 80 struct regulator *regulator; member [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/arch/arm/boot/dts/aspeed/ |
D | aspeed-bmc-ibm-system1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,system1-bmc", "aspeed,ast2600"; 74 stdout-path = "uart5:115200n8"; 82 reserved-memory { 83 #address-cells = <1>; [all …]
|
/linux-6.12.1/arch/riscv/boot/dts/sifive/ |
D | hifive-unmatched-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 #include "fu740-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pwm/pwm.h> 15 compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000", 19 stdout-path = "serial0"; 23 timebase-frequency = <RTCCLK_FREQ>; 32 #clock-cells = <0>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/qcom/ |
D | qcom-msm8974pro-oneplus-bacon.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 chassis-type = "handset"; 12 qcom,msm-id = <194 0x10000>; 13 qcom,board-id = <8 0>; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; [all …]
|