/linux-5.10/Documentation/devicetree/bindings/media/i2c/ |
D | adp1653.txt | 1 * Analog Devices ADP1653 flash LED driver 5 - compatible: Must contain "adi,adp1653" 7 - reg: I2C slave address 9 - enable-gpios: Specifier of the GPIO connected to EN pin 11 There are two LED outputs available - flash and indicator. One LED is 12 represented by one child node, nodes need to be named "flash" and "indicator". 15 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 17 Required properties of the flash LED child node: 19 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 20 - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt [all …]
|
/linux-5.10/Documentation/devicetree/bindings/leds/ |
D | ams,as3645a.txt | 3 The AS3645A flash LED controller can drive two LEDs, one high current 4 flash LED and one indicator LED. The high current flash LED can be 18 #address-cells : 1 19 #size-cells : 0 22 Required properties of the flash child node (0) 26 flash-timeout-us: Flash timeout in microseconds. The value must be in 28 flash-max-microamp: Maximum flash current in microamperes. Has to be 31 led-max-microamp: Maximum torch (assist) current in microamperes. The 34 ams,input-max-microamp: Maximum flash controller input current. The 39 Optional properties of the flash child node [all …]
|
D | leds-ktd2692.txt | 1 * Kinetic Technologies - KTD2692 Flash LED Driver 3 KTD2692 is the ideal power solution for high-power flash LEDs. 4 It uses ExpressWire single-wire programming for maximum flexibility. 7 enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current, 8 Flash timeout, LVP(low voltage protection). 11 LED current will be ramped up to the flash-mode current level. 14 - compatible : Should be "kinetic,ktd2692". 15 - ctrl-gpios : Specifier of the GPIO connected to CTRL pin. 16 - aux-gpios : Specifier of the GPIO connected to AUX pin. 19 - vin-supply : "vin" LED supply (2.7V to 5.5V). [all …]
|
D | leds-lm3601x.txt | 1 * Texas Instruments - lm3601x Single-LED Flash Driver 3 The LM3601X are ultra-small LED flash drivers that 7 - compatible : Can be one of the following 10 - reg : I2C slave address 11 - #address-cells : 1 12 - #size-cells : 0 15 - reg : 0 - Indicates a IR mode 16 1 - Indicates a Torch (white LED) mode 18 Required properties for flash LED child nodes: 20 - flash-max-microamp : Range from 11mA - 1.5A [all …]
|
D | leds-aat1290.txt | 1 * Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs 4 asserted high, enable flash strobe and movie mode (max 1/2 of flash current) 7 of the flash chip. The switch is controlled with pin control. 11 - compatible : Must be "skyworks,aat1290". 12 - flen-gpios : Must be device tree identifier of the flash device FL_EN pin. 13 - enset-gpios : Must be device tree identifier of the flash device EN_SET pin. 16 - pinctrl-names : Must contain entries: "default", "host", "isp". Entries 23 node - see Documentation/devicetree/bindings/leds/common.txt. 26 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 27 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt [all …]
|
D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 LED and flash LED devices provide the same basic functionality as current 15 regulators, but extended with LED and flash LED specific features like 16 blinking patterns, flash timeout, flash faults and external flash strobe mode. 25 led-sources: 30 $ref: /schemas/types.yaml#definitions/uint32-array [all …]
|
/linux-5.10/Documentation/devicetree/bindings/mfd/ |
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 …]
|
/linux-5.10/drivers/leds/ |
D | leds-aat1290.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED Flash class driver for the AAT1290 4 * 1.5A Step-Up Current Regulator for Flash LEDs 12 #include <linux/led-class-flash.h> 20 #include <media/v4l2-flash-led-class.h> 51 /* maximum LED current in flash mode */ 53 /* maximum flash timeout */ 57 /* max LED brightness level */ 67 /* corresponding LED Flash class device */ 69 /* V4L2 Flash device */ [all …]
|
D | leds-as3645a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/leds/leds-as3645a.c - AS3645A and LM3555 flash controllers driver 5 * Copyright (C) 2008-2011 Nokia Corporation 16 #include <linux/led-class-flash.h> 23 #include <media/v4l2-flash-led-class.h> 25 #define AS_TIMER_US_TO_CODE(t) (((t) / 1000 - 100) / 50) 30 /* Read-only Design info register: Reset state: xxxx 0001 */ 35 /* Read-only Version control register: Reset state: 0000 0000 105 ((min_t(u32, AS_PEAK_mA_MAX, a) - 1250) / 250) 156 static int as3645a_write(struct as3645a *flash, u8 addr, u8 val) in as3645a_write() argument [all …]
|
D | leds-ktd2692.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED driver : leds-ktd2692.c 12 #include <linux/led-class-flash.h> 24 /* Value related the flash mode */ 29 /* Macro for getting offset of flash timeout */ 56 /* Movie / Flash Mode Control */ 66 /* maximum LED current in flash mode */ 68 /* maximum flash timeout */ 70 /* max LED brightness level */ 75 /* Related LED Flash class device */ [all …]
|
D | leds-lm3601x.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Flash and torch driver for Texas Instruments LM3601X LED 3 // Flash driver chip family 4 // Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ 9 #include <linux/led-class-flash.h> 73 * struct lm3601x_led - 74 * @fled_cdev: flash LED class device pointer 79 * @flash_timeout: the timeout for the flash 82 * @flash_current_max: maximum current for the flash 83 * @max_flash_timeout: maximum timeout for the flash [all …]
|
D | leds-max77693.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * LED Flash class driver for the flash cell of max77693 mfd. 11 #include <linux/led-class-flash.h> 13 #include <linux/mfd/max77693-common.h> 14 #include <linux/mfd/max77693-private.h> 20 #include <media/v4l2-flash-led-class.h> 41 FLASH, enumerator 59 /* corresponding LED Flash class device */ 61 /* V4L2 Flash device */ 66 /* flash timeout cache */ [all …]
|
/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
D | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: TI BQ25980 Flash Charger 11 - Dan Murphy <dmurphy@ti.com> 12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com> 15 The BQ25980, BQ25975, and BQ25960 are a series of flash chargers intended 16 for use in high-power density portable electronics. These inductorless 21 - $ref: power-supply.yaml# 26 - ti,bq25980 [all …]
|
/linux-5.10/Documentation/devicetree/bindings/ufs/ |
D | ufs-qcom.txt | 1 * Qualcomm Technologies Inc Universal Flash Storage (UFS) PHY 3 UFSPHY nodes are defined to describe on-chip UFS PHY hardware macro. 10 - compatible : compatible list, contains one of the following - 11 "qcom,ufs-phy-qmp-20nm" for 20nm ufs phy, 12 "qcom,ufs-phy-qmp-14nm" for legacy 14nm ufs phy, 13 "qcom,msm8996-ufs-phy-qmp-14nm" for 14nm ufs phy 15 - reg : should contain PHY register address space (mandatory), 16 - reg-names : indicates various resources passed to driver (via reg proptery) by name. 17 Required "reg-names" is "phy_mem". 18 - #phy-cells : This property shall be set to 0 [all …]
|
D | ufshcd-pltfrm.txt | 1 * Universal Flash Storage (UFS) Host Controller 3 UFSHC nodes are defined to describe on-chip UFS host controllers. 7 - compatible : must contain "jedec,ufs-1.1" or "jedec,ufs-2.0" 10 SoC-specific compatible along with "qcom,ufshc" and 12 "qcom,msm8994-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 13 "qcom,msm8996-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 14 "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 15 "qcom,sdm845-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 16 "qcom,sm8150-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 17 - interrupts : <interrupt mapping for UFS host controller IRQ> [all …]
|
/linux-5.10/Documentation/firmware-guide/acpi/dsd/ |
D | leds.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 Referring to LEDs in Device tree is documented in [4], in "flash-leds" property 19 mechanism on ACPI is not possible. A mechanism to refer to non-device ACPI nodes 43 ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"), 50 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), 53 Package () { "flash-max-microamp", 1000000 }, 54 Package () { "flash-timeout-us", 200000 }, 55 Package () { "led-max-microamp", 100000 }, 56 Package () { "label", "white:flash" }, 60 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), [all …]
|
/linux-5.10/arch/arm64/boot/dts/marvell/ |
D | armada-7040-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include "armada-7040.dtsi" 13 compatible = "marvell,armada7040-db", "marvell,armada7040", 14 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 17 stdout-path = "serial0:115200n8"; 31 cp0_exp_usb3_0_current_regulator: gpio-regulator { 32 compatible = "regulator-gpio"; 33 regulator-name = "cp0-usb3-0-current-regulator"; 34 regulator-type = "current"; [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | exynos4412-galaxy-s3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include "exynos4412-midas.dtsi" 20 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>; 21 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>; 23 pinctrl-names = "default", "host", "isp"; 24 pinctrl-0 = <&camera_flash_host>; 25 pinctrl-1 = <&camera_flash_host>; 26 pinctrl-2 = <&camera_flash_isp>; 28 flash-led { [all …]
|
D | omap3-n950-n9.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff) 13 cpu0-supply = <&vcc>; 23 compatible = "regulator-fixed"; 24 regulator-name = "VEMMC"; 25 regulator-min-microvolt = <2900000>; 26 regulator-max-microvolt = <2900000>; 28 startup-delay-us = <150>; 29 enable-active-high; 33 compatible = "regulator-fixed"; [all …]
|
D | tegra124-nyan.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 13 stdout-path = "serial0:115200n8"; 19 * missing a unit-address. However, the bootloader on these Chromebook 21 * Adding the unit-address causes the bootloader to create a /memory 33 /delete-node/ memory@80000000; 39 vdd-supply = <&vdd_3v3_hdmi>; 40 pll-supply = <&vdd_hdmi_pll>; 41 hdmi-supply = <&vdd_5v0_hdmi>; 43 nvidia,ddc-i2c-bus = <&hdmi_ddc>; [all …]
|
D | tegra124-venice2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 18 stdout-path = "serial0:115200n8"; 29 vdd-supply = <&vdd_3v3_hdmi>; 30 pll-supply = <&vdd_hdmi_pll>; 31 hdmi-supply = <&vdd_5v0_hdmi>; 33 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 34 nvidia,hpd-gpio = 41 avdd-io-hdmi-dp-supply = <&vdd_1v05_run>; [all …]
|
D | omap3-n900.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 13 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 15 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 16 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 32 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; 45 cpu0-supply = <&vcc>; 50 compatible = "gpio-leds"; [all …]
|
/linux-5.10/drivers/media/i2c/ |
D | adp1653.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2008--2011 Nokia Corporation 15 * - fault interrupt handling 16 * - hardware strobe 17 * - power doesn't need to be ON if all lights are off 27 #include <media/v4l2-device.h> 31 #define TIMEOUT_MIN (TIMEOUT_MAX - ADP1653_REG_CONFIG_TMR_SET_MAX \ 33 #define TIMEOUT_US_TO_CODE(t) ((TIMEOUT_MAX + (TIMEOUT_STEP / 2) - (t)) \ 35 #define TIMEOUT_CODE_TO_US(c) (TIMEOUT_MAX - (c) * TIMEOUT_STEP) 38 static int adp1653_update_hw(struct adp1653_flash *flash) in adp1653_update_hw() argument [all …]
|
/linux-5.10/arch/arm64/boot/dts/qcom/ |
D | sm8150-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 /dts-v1/; 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include <dt-bindings/gpio/gpio.h> 18 compatible = "qcom,sm8150-mtp"; 25 stdout-path = "serial0:115200n8"; 28 vph_pwr: vph-pwr-regulator { 29 compatible = "regulator-fixed"; 30 regulator-name = "vph_pwr"; [all …]
|
/linux-5.10/arch/arm64/boot/dts/mediatek/ |
D | mt8173-elm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/regulator/dlg,da9211-regulator.h> 9 #include <dt-bindings/gpio/gpio.h> 19 compatible = "pwm-backlight"; 21 power-supply = <&bl_fixed_reg>; 22 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&disp_pwm0_pins>; [all …]
|