/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lm3697.txt | 1 * Texas Instruments - LM3697 Highly Efficient White LED Driver 3 The LM3697 11-bit LED driver provides high- 5 LED strings while delivering up to 90% efficiency. 10 - compatible: 12 - reg : I2C slave address 13 - #address-cells : 1 14 - #size-cells : 0 17 - enable-gpios : GPIO pin to enable/disable the device 18 - vled-supply : LED supply 21 - reg : 0 - LED is Controlled by bank A [all …]
|
H A D | leds-lm3532.txt | 1 * Texas Instruments - lm3532 White LED driver with ambient light sensing 4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is 5 programmable over an I2C-compatible interface and has independent 11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear 12 brightness control, dual external PWM brightness control inputs, and up to 16 - compatible : "ti,lm3532" 17 - reg : I2C slave address 18 - #address-cells : 1 19 - #size-cells : 0 22 - enable-gpios : gpio pin to enable (active high)/disable the device. [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator-max77620.txt | 3 Device has multiple DCDC(sd[0-3] and LDOs(ldo[0-8]). The input supply 6 sub-node "regulators" which is child node of device node. 14 ------------------- 18 in-sd0-supply: Input supply for SD0, INA-SD0 or INB-SD0 pins. 19 in-sd1-supply: Input supply for SD1. 20 in-sd2-supply: Input supply for SD2. 21 in-sd3-supply: Input supply for SD3. 22 in-ldo0-1-supply: Input supply for LDO0 and LDO1. 23 in-ldo2-supply: Input supply for LDO2. 24 in-ldo3-5-supply: Input supply for LDO3 and LDO5 [all …]
|
H A D | mediatek,mt6358-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/mediatek,mt6358-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Zhiyong Tao <zhiyong.tao@mediatek.com> 14 All voltage regulators provided by the PMIC are described as sub-nodes of 20 - const: mediatek,mt6358-regulator 21 - items: 22 - const: mediatek,mt6366-regulator 23 - const: mediatek,mt6358-regulator [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm660-xiaomi-lavender.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/input/gpio-keys.h> 18 chassis-type = "handset"; 25 #address-cells = <2>; 26 #size-cells = <2>; 29 stdout-path = "serial0:115200n8"; 32 compatible = "simple-framebuffer"; 41 vph_pwr: vph-pwr-regulator { [all …]
|
H A D | sdm630-sony-xperia-nile.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/input/gpio-keys.h> 13 #include <dt-bindings/leds/common.h> 17 qcom,msm-id = <318 0>; 18 qcom,board-id = <8 1>; 19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>; 21 /* This part enables graphical output via bootloader-enabled display */ 25 #address-cells = <2>; [all …]
|
H A D | msm8998-sony-xperia-yoshino.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */ 19 qcom,board-id = <8 0>; 23 compatible = "gpio-gate-clock"; 24 pinctrl-0 = <&div_clk1>; 25 pinctrl-names = "default"; 27 #clock-cells = <0>; [all …]
|
/linux/drivers/leds/ |
H A D | leds-ti-lmu-common.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/leds-ti-lmu-common.h> 22 struct regmap *regmap = lmu_bank->regmap; in ti_lmu_common_update_brightness() 33 if (lmu_bank->max_brightness == MAX_BRIGHTNESS_11BIT) { in ti_lmu_common_update_brightness() 34 reg = lmu_bank->lsb_brightness_reg; in ti_lmu_common_update_brightness() 46 reg = lmu_bank->msb_brightness_reg; in ti_lmu_common_update_brightness() 65 if (usec > ramp_table[size - 1]) in ti_lmu_common_convert_ramp_to_index() 66 return size - 1; in ti_lmu_common_convert_ramp_to_index() 72 /* Find an approximate index by looking up the table */ in ti_lmu_common_convert_ramp_to_index() 73 if (usec > ramp_table[i - 1] && usec < ramp_table[i]) { in ti_lmu_common_convert_ramp_to_index() [all …]
|
H A D | leds-lm3532.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ 16 #define LM3532_NAME "lm3532-led" 129 * @full_scale_current: The full-scale current setting for the current sink. 155 * @runtime_ramp_up: Runtime ramp up setting 156 * @runtime_ramp_down: Runtime ramp down setting 225 if (als_imped < als_imp_table[LM3532_NUM_IMP_VALS - 1]) in lm3532_get_als_imp_index() 226 return LM3532_NUM_IMP_VALS - 1; in lm3532_get_als_imp_index() 232 /* Find an approximate index by looking up the table */ in lm3532_get_als_imp_index() 233 if (als_imped < als_imp_table[i - 1] && in lm3532_get_als_imp_index() [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p3450-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3450-0000", "nvidia,tegra210"; 22 stdout-path = "serial0:115200n8"; 33 hvddio-pex-supply = <&vdd_1v8>; 34 dvddio-pex-supply = <&vdd_pex_1v05>; 35 vddio-pex-ctl-supply = <&vdd_1v8>; [all …]
|
H A D | tegra210-p2180.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 17 stdout-path = "serial0:115200n8"; 26 vdd-supply = <&vdd_gpu>; 31 /delete-property/ dmas; 32 /delete-property/ dma-names; 37 /delete-property/ reg-shift; 39 compatible = "nvidia,tegra30-hsuart"; 40 reset-names = "serial"; 43 compatible = "brcm,bcm43540-bt"; [all …]
|
H A D | tegra210-p2894.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 16 stdout-path = "serial0:115200n8"; 26 pinctrl-names = "boot"; 27 pinctrl-0 = <&state_boot>; 35 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 36 nvidia,open-drain = <TEGRA_PIN_DISABLE>; [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ti-lmu.txt | 6 ------ --------------------------------- 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 32 - ramp-down-us: Current ramping from one brightness level to 34 Range from 2048 us - 117.44 s 35 - ti,brightness-resolution - This determines whether to use 8 bit brightness 47 - backlight: All LMU devices have backlight child nodes. [all …]
|
/linux/sound/soc/codecs/ |
H A D | wm8350.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8350.c -- WM8350 ALSA SoC audio driver 5 * Copyright (C) 2007-12 Wolfson Microelectronics PLC. 48 u16 ramp; member 73 * Ramp OUT1 PGA volume to minimise pops at stream startup and shutdown. 77 struct wm8350_output *out1 = &wm8350_data->out1; in wm8350_out1_ramp_step() 78 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out1_ramp_step() 86 if (out1->ramp == WM8350_RAMP_UP) { in wm8350_out1_ramp_step() 87 /* ramp step up */ in wm8350_out1_ramp_step() 88 if (val < out1->left_vol) { in wm8350_out1_ramp_step() [all …]
|
H A D | cs4349.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs4349.c -- CS4349 ALSA Soc Audio driver 26 #include <sound/soc-dapm.h> 33 { 2, 0x00 }, /* r02 - Mode Control */ 34 { 3, 0x09 }, /* r03 - Volume, Mixing and Inversion Control */ 35 { 4, 0x81 }, /* r04 - Mute Control */ 36 { 5, 0x00 }, /* r05 - Channel A Volume Control */ 37 { 6, 0x00 }, /* r06 - Channel B Volume Control */ 38 { 7, 0xB1 }, /* r07 - Ramp and Filter Control */ 39 { 8, 0x1C }, /* r08 - Misc. Control */ [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-delay.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-delay.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexander Stein <linux@ew.tq-group.com> 16 +----------+ +-----------+ 23 | [IOx|-------| |--+-----|-----+ | 26 +----------+ --- C +-----------+ 27 --- 29 - [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. 28 On power down, it affects the time from when the power-down sequence [all …]
|
/linux/drivers/regulator/ |
H A D | anatop-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 42 /* check whether need to care about LDO ramp up speed */ in anatop_regmap_set_voltage_time_sel() 43 if (anatop_reg->delay_bit_width && new_sel > old_sel) { in anatop_regmap_set_voltage_time_sel() 45 * the delay for LDO ramp up time is in anatop_regmap_set_voltage_time_sel() 48 * ramp up, and how much delay needed. (us) in anatop_regmap_set_voltage_time_sel() 50 regmap_read(reg->regmap, anatop_reg->delay_reg, &val); in anatop_regmap_set_voltage_time_sel() 51 val = (val >> anatop_reg->delay_bit_shift) & in anatop_regmap_set_voltage_time_sel() 52 ((1 << anatop_reg->delay_bit_width) - 1); in anatop_regmap_set_voltage_time_sel() 53 ret = (new_sel - old_sel) * (LDO_RAMP_UP_UNIT_IN_CYCLES << in anatop_regmap_set_voltage_time_sel() 65 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable() [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | vc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include "prm-regbits-34xx.h" 20 #include "prm-regbits-44xx.h" 52 * struct omap_vc_channel_cfg - describe the cfg_channel bitfield 101 * omap_vc_config_channel - configure VC channel to PMIC mappings 106 * - i2c slave address (SA) 107 * - voltage configuration address (RAV) 108 * - command configuration address (RAC) and enable bit (RACEN) 109 * - command values for ON, ONLP, RET and OFF (CMD) 112 * non-default channel. Starting with OMAP4, there are more than 2 [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-usbarmory.dts | 8 * This file is dual-licensed: you can use it either under the terms 47 /dts-v1/; 52 compatible = "inversepath,imx53-usbarmory", "fsl,imx53"; 57 stdout-path = &uart1; 66 compatible = "gpio-leds"; 67 pinctrl-names = "default"; 68 pinctrl-0 = <&pinctrl_led>; 70 led-user { 73 linux,default-trigger = "heartbeat"; 83 operating-points = < [all …]
|
/linux/Documentation/hwmon/ |
H A D | lm93.rst | 10 Addresses scanned: I2C 0x2c-0x2e 18 Addresses scanned: I2C 0x2c-0x2e 24 - Mark M. Hoffman <mhoffman@lightlink.com> 25 - Ported to 2.6 by Eric J. Bowersox <ericb@aspsys.com> 26 - Adapted to 2.6.20 by Carsten Emde <ce@osadl.org> 27 - Modified for mainline integration by Hans J. Koch <hjk@hansjkoch.de> 30 ----------------- 33 Set to non-zero to force some initializations (default is 0). 38 Configures in7 and in8 limit type, where 0 means absolute and non-zero 54 -------------------- [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap4-xyboard-mz609.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-mz607-mz617.dtsi" 8 compatible = "motorola,xyboard-mz609", "ti,omap4430", "ti,omap4"; 11 stdout-path = &uart3; 19 compatible = "led-backlight"; 22 brightness-levels = <31 63 95 127 159 191 223 255>; 23 default-brightness-level = <6>; 28 led-controller@38 { 30 #address-cells = <1>; [all …]
|
H A D | omap4-droid-bionic-xt875.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-xt8xx.dtsi" 8 compatible = "motorola,droid-bionic", "ti,omap4430", "ti,omap4"; 11 stdout-path = &uart3; 21 keypad,num-rows = <8>; 22 keypad,num-columns = <8>; 30 led-controller@38 { 32 #address-cells = <1>; 33 #size-cells = <0>; [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | pm8941.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8941-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8941_temp>; 40 compatible = "qcom,pm8941", "qcom,spmi-pmic"; [all …]
|
/linux/drivers/cpufreq/ |
H A D | pmac64-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org> 4 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de> 73 * the various frequencies, retrieved from the device-tree 152 /* If frequency is going up, first ramp up the voltage */ in g5_scom_switch_freq() 182 /* If frequency is going down, last ramp the voltage */ in g5_scom_switch_freq() 257 /* If frequency is going up, first ramp up the voltage */ in g5_pfunc_switch_freq() 286 /* If frequency is going down, last ramp the voltage */ in g5_pfunc_switch_freq() 350 int rc = -ENODEV; in g5_neo2_cpufreq_init() 361 return -ENODEV; in g5_neo2_cpufreq_init() [all …]
|