Home
last modified time | relevance | path

Searched +full:regulator +full:- +full:led (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-echo.dts1 // 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 …]
H A Dmotorola-cpcap-mapphone.dtsi1 // 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/drivers/leds/
H A Dleds-regulator.c1 // 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 …]
H A Dleds-lm3692x.c1 // 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 …]
H A Dleds-lm3697.c1 // 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/Documentation/devicetree/bindings/mfd/
H A Dti-lmu.txt6 ------ ---------------------------------
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 …]
H A Dmediatek,mt6360.yaml1 # 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 …]
H A Dmediatek,mt6370.yaml1 # 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 …]
H A Dtps6105x.txt3 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/arch/arm/boot/dts/marvell/
H A Dkirkwood-synology.dtsi1 // 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 …]
H A Dkirkwood-linkstation-duo-6281.dtsi1 // 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 …]
H A Dkirkwood-lsxl.dtsi1 // 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 …]
H A Dkirkwood-nsa325.dts1 // 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 …]
H A Dkirkwood-linkstation-lsqvl.dts1 // 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 …]
H A Darmada-388-helios4.dts1 // 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 …]
H A Darmada-370-seagate-nas-xbay.dtsi1 // 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 …]
H A Darmada-385-synology-ds116.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 /dts-v1/;
9 #include "armada-385.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
14 compatible = "marvell,a385-gp", "marvell,armada385", "marvell,armada380";
17 stdout-path = "serial0:115200n8";
32 internal-regs {
34 pinctrl-names = "default";
35 pinctrl-0 = <&i2c0_pins>;
37 clock-frequency = <100000>;
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mm-venice-gw7904.dts1 // 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";
25 stdout-path = &uart2;
33 gpio-keys {
34 compatible = "gpio-keys";
[all …]
/linux/drivers/leds/flash/
H A Dleds-ktd2692.c1 // 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/Documentation/devicetree/bindings/leds/
H A Dregulator-led.yaml1 # 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 …]
H A Dleds-lm36274.txt1 * 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/arch/riscv/boot/dts/sifive/
H A Dhifive-unmatched-a00.dts1 // 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/arch/arm/boot/dts/qcom/
H A Dqcom-msm8974pro-oneplus-bacon.dts1 // 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>;
21 stdout-path = "serial0:115200n8";
24 gpio-keys {
25 compatible = "gpio-keys";
[all …]
/linux/arch/arm/boot/dts/rockchip/
H A Drv1109-relfor-saib.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/input/input.h>
16 gpio-keys {
17 compatible = "gpio-keys";
23 linux,input-type = <1>;
27 ir_receiver: ir-receiver {
28 compatible = "gpio-ir-receiver";
30 pinctrl-names = "default";
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8953-xiaomi-mido.dts1 // SPDX-License-Identifier: BSD-3-Clause
2 /dts-v1/;
7 #include <dt-bindings/leds/common.h>
9 /delete-node/ &cont_splash_mem;
10 /delete-node/ &qseecom_mem;
15 chassis-type = "handset";
16 qcom,msm-id = <293 0>;
17 qcom,board-id = <11 0>;
24 speaker_amp: audio-amplifier {
26 mode-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
[all …]

12345678910>>...24