/openbmc/linux/sound/soc/sh/rcar/ |
H A D | dvc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Renesas R-Car DVC support 21 * Volume Ramp 22 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" 23 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" 24 * amixer set "DVC Out Ramp" on 26 * amixer set "DVC Out" 80% // Volume Down 40 struct rsnd_kctrl_cfg_s ren; /* Ramp Enable */ 41 struct rsnd_kctrl_cfg_s rup; /* Ramp Rate Up */ 42 struct rsnd_kctrl_cfg_s rdown; /* Ramp Rate Down */ [all …]
|
H A D | mix.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * +------+ +------+ 10 * [SRC3 / SRC6] -> |CTU n0| -> [MIX n0| -> 11 * [SRC4 / SRC9] -> |CTU n1| -> [MIX n1| -> 12 * [SRC0 / SRC1] -> |CTU n2| -> [MIX n2| -> 13 * [SRC2 / SRC5] -> |CTU n3| -> [MIX n3| -> 14 * +------+ +------+ 24 * Volume Ramp 25 * amixer set "MIX Ramp Up Rate" "0.125 dB/1 step" 26 * amixer set "MIX Ramp Down Rate" "4 dB/1 step" [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8173-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 13 chassis-type = "embedded"; 14 compatible = "mediatek,mt8173-evb", "mediatek,mt8173"; 31 compatible = "hdmi-connector"; 37 remote-endpoint = <&hdmi0_out>; 43 compatible = "linux,extcon-usb-gpio"; 44 id-gpio = <&pio 16 GPIO_ACTIVE_HIGH>; 47 usb_p1_vbus: regulator-usb-p1 { [all …]
|
H A 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> 25 compatible = "pwm-backlight"; 27 power-supply = <&bl_fixed_reg>; 28 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&panel_backlight_en_pins>; [all …]
|
/openbmc/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- 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 22 1 - LED is Controlled by bank B [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 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. 23 - ramp-up-us - The Run time ramp rates/step are from one current [all …]
|
/openbmc/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 | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: 28 regulator-min-microamp: [all …]
|
H A D | sprd,sc2731-regulator.txt | 3 The SC2731 integrates low-voltage and low quiescent current DCDC/LDO. 5 their own bypass (power-down) control signals. External tantalum or MLCC 9 - compatible: should be "sprd,sc27xx-regulator". 26 compatible = "sprd,sc27xx-regulator"; 29 regulator-name = "vddarm0"; 30 regulator-min-microvolt = <400000>; 31 regulator-max-microvolt = <1996875>; 32 regulator-ramp-delay = <25000>; 33 regulator-always-on; 37 regulator-name = "vddcama0"; [all …]
|
/openbmc/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 …]
|
/openbmc/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; 45 vcc-supply = <&vdd_1v8>; 46 address-width = <8>; 49 read-only; 55 clock-frequency = <400000>; [all …]
|
H A D | tegra210-smaug.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 12 compatible = "google,smaug-rev8", "google,smaug-rev7", 13 "google,smaug-rev6", "google,smaug-rev5", 14 "google,smaug-rev4", "google,smaug-rev3", 15 "google,smaug-rev2", "google,smaug-rev1", 25 stdout-path = "serial0:115200n8"; [all …]
|
/openbmc/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() 73 if (usec > ramp_table[i - 1] && usec < ramp_table[i]) { in ti_lmu_common_convert_ramp_to_index() 74 if (usec - ramp_table[i - 1] < ramp_table[i] - usec) in ti_lmu_common_convert_ramp_to_index() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | ramp_controller.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Qualcomm Ramp Controller driver 32 * struct qcom_ramp_controller_desc - SoC specific parameters 36 * @cfg_ramp_en: Ramp Controller enable sequence 37 * @cfg_ramp_dis: Ramp Controller disable sequence 60 * struct qcom_ramp_controller - Main driver structure 70 * rc_wait_for_update() - Wait for Ramp Controller root update 77 const struct qcom_ramp_controller_desc *d = qrc->desc; in rc_wait_for_update() 78 struct regmap *r = qrc->regmap; in rc_wait_for_update() 82 ret = regmap_set_bits(r, d->cmd_reg, RC_ROOT_EN); in rc_wait_for_update() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
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 …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs4349.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 #define CS4349_RMPFLT 0x07 /* Ramp and Filter Control */ 21 #define CS4349_MISC 0x08 /* Power Down,Freeze Control,Pop Stop*/ 33 * If soft ramp is set it will take much longer to power down 42 /* (Digital Interface Format, De-Emphasis Control, Functional Mode */ 110 /* CS4349_RMPFLT (Ramp and Filter Control) */
|
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 27 #include <sound/soc-dapm.h> 34 { 2, 0x00 }, /* r02 - Mode Control */ 35 { 3, 0x09 }, /* r03 - Volume, Mixing and Inversion Control */ 36 { 4, 0x81 }, /* r04 - Mute Control */ 37 { 5, 0x00 }, /* r05 - Channel A Volume Control */ 38 { 6, 0x00 }, /* r06 - Channel B Volume Control */ 39 { 7, 0xB1 }, /* r07 - Ramp and Filter Control */ 40 { 8, 0x1C }, /* r08 - Misc. Control */ [all …]
|
/openbmc/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 …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * machine.h -- SoC Regulator support, machine/board driver API. 44 * DO_NOTHING_IN_SUSPEND - the default value 45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states 46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states 60 * struct regulator_state - regulator state during low power system states 72 * - DO_NOTHING_IN_SUSPEND 73 * - DISABLE_IN_SUSPEND 74 * - ENABLE_IN_SUSPEND 86 #define REGULATOR_NOTIF_LIMIT_DISABLE -1 [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap4-droid-bionic-xt875.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-common.dtsi" 8 compatible = "motorola,droid-bionic", "ti,omap4430", "ti,omap4"; 12 keypad,num-rows = <8>; 13 keypad,num-columns = <8>; 21 led-controller@38 { 23 #address-cells = <1>; 24 #size-cells = <0>; 27 enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7745-iwg22d-sodimm.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board 9 * SSI-SGTL5000 21 * You can use Volume Ramp 23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" 24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" 25 * amixer set "DVC Out Ramp" on 27 * amixer set "DVC Out" 80% // Volume Down 31 /dts-v1/; 32 #include "r8a7745-iwg22m.dtsi" [all …]
|