Home
last modified time | relevance | path

Searched +full:vsel +full:- +full:state +full:- +full:high (Results 1 – 25 of 92) sorted by relevance

1234

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dact8945a-regulator.txt1 Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device
4 - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt.
7 - active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high.
8 If this property is missing, assume the VSEL pin is set to logic-low.
11 - vp1-supply: The input supply for REG_DCDC1
12 - vp2-supply: The input supply for REG_DCDC2
13 - vp3-supply: The input supply for REG_DCDC3
14 - inl45-supply: The input supply for REG_LDO1 and REG_LDO2
15 - inl67-supply: The input supply for REG_LDO3 and REG_LDO4
18 regulator-initial-mode, regulator-allowed-modes and regulator-mode could be
[all …]
H A Dact8865-regulator.txt2 -------------------
5 - compatible: "active-semi,act8846" or "active-semi,act8865" or "active-semi,act8600"
6 - reg: I2C slave address
9 - system-power-controller: Telling whether or not this pmic is controlling
10 the system power. See Documentation/devicetree/bindings/power/power-controller.txt .
11 - active-semi,vsel-high: Indicates the VSEL pin is high.
12 If this property is missing, assume the VSEL pin is low(0).
15 - for act8600:
16 - vp1-supply: The input supply for DCDC_REG1
17 - vp2-supply: The input supply for DCDC_REG2
[all …]
H A Dsilergy,sy8827n.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jisheng Zhang <jszhang@kernel.org>
15 - silergy,sy8827n
20 enable-gpios:
24 silergy,vsel-state-high:
27 Indicates if the VSEL pin is set to high.
28 If this property is missing, assume the VSEL pin is set to low.
31 - compatible
[all …]
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dwm831x-dcdc.c1 // SPDX-License-Identifier: GPL-2.0+
3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series
63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode()
64 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_get_mode()
84 return -EINVAL; in wm831x_dcdc_get_mode()
107 return -EINVAL; in wm831x_dcdc_set_mode_int()
117 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_mode()
118 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_set_mode()
127 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_suspend_mode()
128 u16 reg = dcdc->base + WM831X_DCDC_SLEEP_CONTROL; in wm831x_dcdc_set_suspend_mode()
[all …]
H A Dtps62360-regulator.c2 * tps62360.c -- TI tps62360
22 * 02111-1307, USA
86 * - If it is already there then it will make that register as most
90 * - If requested voltage is not found then it will use the least
100 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register()
104 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
105 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register()
113 for (i = found_index; i > 0; i--) in find_voltage_set_register()
114 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
116 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register()
[all …]
H A Dsy8827n.c1 // SPDX-License-Identifier: GPL-2.0
41 regmap_update_bits(rdev->regmap, di->vsel_reg, in sy8827n_set_mode()
45 regmap_update_bits(rdev->regmap, di->vsel_reg, in sy8827n_set_mode()
49 return -EINVAL; in sy8827n_set_mode()
60 ret = regmap_read(rdev->regmap, di->vsel_reg, &val); in sy8827n_get_mode()
85 struct regulator_desc *rdesc = &di->desc; in sy8827n_regulator_register()
88 rdesc->name = "sy8827n-reg"; in sy8827n_regulator_register()
89 rdesc->supply_name = "vin"; in sy8827n_regulator_register()
90 rdesc->ops = &sy8827n_regulator_ops; in sy8827n_regulator_register()
91 rdesc->type = REGULATOR_VOLTAGE; in sy8827n_regulator_register()
[all …]
H A Dlp872x.c1 // SPDX-License-Identifier: GPL-2.0-only
93 /* dump registers in regmap-debugfs */
161 ret = regmap_read(lp->regmap, addr, &val); in lp872x_read_byte()
163 dev_err(lp->dev, "failed to read 0x%.2x\n", addr); in lp872x_read_byte()
173 return regmap_write(lp->regmap, addr, data); in lp872x_write_byte()
179 return regmap_update_bits(lp->regmap, addr, mask, data); in lp872x_update_bits()
184 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec()
204 return -EINVAL; in lp872x_get_timestep_usec()
213 return -EINVAL; in lp872x_get_timestep_usec()
234 addr = LP872X_LDO1_VOUT + rid - LP8725_ID_BASE; in lp872x_regulator_enable_time()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3399pro-npu-evb-v10.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include "rk3399pro-npu.dtsi"
12 model = "Rockchip RK3399pro-npu EVB V10 Board";
13 compatible = "rockchip,rk3399pro-npu-evb-v10", "rockchip,rk3399pro-npu";
19 keys: gpio-keys {
20 compatible = "gpio-keys";
21 pinctrl-names = "default";
[all …]
H A Drk3368-sheep.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/pwm/pwm.h>
10 #include "rk3368-android.dtsi"
17 compatible = "simple-audio-card";
18 simple-audio-card,format = "i2s";
19 simple-audio-card,name = "rockchip,rt5640-codec";
20 simple-audio-card,mclk-fs = <256>;
21 simple-audio-card,widgets =
24 simple-audio-card,routing =
[all …]
H A Drk3399-box.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/pwm/pwm.h>
8 #include <dt-bindings/input/input.h>
10 #include "rk3399-android.dtsi"
11 #include "rk3399-opp.dtsi"
14 compatible = "rockchip,rk3399-box","rockchip,rk3399";
16 vcc1v8_s0: vcc1v8-s0 {
17 compatible = "regulator-fixed";
18 regulator-name = "vcc1v8_s0";
19 regulator-min-microvolt = <1800000>;
[all …]
H A Drk3368a-817-tablet-bnd.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/sensor-dev.h>
11 #include "rk3368-android.dtsi"
16 adc_keys: adc-keys {
17 compatible = "adc-keys";
18 io-channels = <&saradc 1>;
19 io-channel-names = "buttons";
[all …]
H A Drk1808-evb.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 #include <dt-bindings/display/media-bus-format.h>
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include <dt-bindings/sensor-dev.h>
13 compatible = "rockchip,rk1808-evb", "rockchip,rk1808";
15 adc_key: adc-keys {
16 compatible = "adc-keys";
18 io-channels = <&saradc 2>;
[all …]
H A Drk3368-r88-dcdc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include "rk3368-android.dtsi"
10 #include <dt-bindings/input/input.h>
16 hdmi_sound: hdmi-sound {
18 compatible = "simple-audio-card";
19 simple-audio-card,format = "i2s";
20 simple-audio-card,mclk-fs = <256>;
21 simple-audio-card,name = "rockchip,hdmi";
22 simple-audio-card,cpu {
[all …]
H A Drk3368-p9.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/sensor-dev.h>
11 #include "rk3368-android.dtsi"
14 es8316-sound {
15 compatible = "simple-audio-card";
16 simple-audio-card,format = "i2s";
17 simple-audio-card,name = "rockchip,rk-es8316-codec";
18 simple-audio-card,mclk-fs = <256>;
[all …]
H A Drk3368-xikp.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pwm/pwm.h>
10 #include <dt-bindings/sensor-dev.h>
12 #include "rk3368-android.dtsi"
15 es8316-sound {
16 compatible = "simple-audio-card";
17 simple-audio-card,format = "i2s";
18 simple-audio-card,name = "rockchip,rk-es8316-codec";
[all …]
H A Drk3399pro-evb-v11-linux.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/display/drm_mipi_dsi.h>
9 #include <dt-bindings/sensor-dev.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include "dt-bindings/usb/pd.h"
13 #include "rk3399-linux.dtsi"
[all …]
H A Drk3368a-817-tablet.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/sensor-dev.h>
11 #include "rk3368-android.dtsi"
16 adc_keys: adc-keys {
17 compatible = "adc-keys";
18 io-channels = <&saradc 1>;
19 io-channel-names = "buttons";
[all …]
H A Drk3399pro-evb-v11.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/display/drm_mipi_dsi.h>
9 #include <dt-bindings/sensor-dev.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include "dt-bindings/usb/pd.h"
13 #include "rk3399-android.dtsi"
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drk3399-puma.dtsi4 * SPDX-License-Identifier: GPL-2.0+ X11
7 #include <dt-bindings/pwm/pwm.h>
11 model = "Theobroma Systems RK3399-Q7 SoM";
12 compatible = "tsd,rk3399-q7", "tsd,puma", "rockchip,rk3399";
15 u-boot,spl-payload-offset = <0x40000>; /* @ 256KB */
16 u-boot,mmc-env-offset = <0x4000>; /* @ 16KB */
17 u-boot,efi-partition-entries-offset = <0x200000>; /* 2MB */
18 u-boot,boot-led = "module_led";
19 sysreset-gpio = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
23 stdout-path = "serial0:115200n8";
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Des8396.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * ES8396.h -- ES8396 ALSA SoC Audio Codec
28 /* Register 0x05-0x07 for PLL k cofficient*/
210 /* Register 0x53 for ADC CHIP STATE MACHINE and Digital Control*/
214 /* Register 0x55 for ADC HIGH PASS FILTER,U-LAW/A-LAW COMPMODE,DATA SELECTION*/
250 /* Register 0x66 for DAC CHIP STATE MACHINE AND MUTE CONTROL*/
256 /* Register 0x69 for DAC JACK DETECTION AND U/A-LAW COMPRESS */
277 /* Register 0x72 for VSEL 1 */
279 /* Register 0x73 for VSEL 2 */
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3288-evb-android-rk818-lvds.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "rk3288-evb.dtsi"
45 #include "rk3288-android.dtsi"
48 compatible = "rockchip,rk3288-evb-android-rk818", "rockchip,rk3288";
50 sdio_pwrseq: sdio-pwrseq {
51 compatible = "mmc-pwrseq-simple";
53 clock-names = "ext_clock";
58 * - SDIO_RESET_L_WL_REG_ON
59 * - PDN (power down when low)
[all …]
H A Drk3288-evb-android-rk818-edp.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "rk3288-evb.dtsi"
45 #include "rk3288-android.dtsi"
48 compatible = "rockchip,rk3288-evb-android-rk818", "rockchip,rk3288";
50 sdio_pwrseq: sdio-pwrseq {
51 compatible = "mmc-pwrseq-simple";
53 clock-names = "ext_clock";
58 * - SDIO_RESET_L_WL_REG_ON
59 * - PDN (power down when low)
[all …]
H A Drk3288-evb-android-rk818-hdmi.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "rk3288-evb.dtsi"
45 #include "rk3288-android.dtsi"
48 compatible = "rockchip,rk3288-evb-android-rk818-hdmi", "rockchip,rk3288";
50 sdio_pwrseq: sdio-pwrseq {
51 compatible = "mmc-pwrseq-simple";
53 clock-names = "ext_clock";
58 * - SDIO_RESET_L_WL_REG_ON
59 * - PDN (power down when low)
[all …]
H A Drk3288-evb-android-rk818-mipi.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "rk3288-evb.dtsi"
45 #include "rk3288-android.dtsi"
48 compatible = "rockchip,rk3288-evb-android-rk818", "rockchip,rk3288";
50 sdio_pwrseq: sdio-pwrseq {
51 compatible = "mmc-pwrseq-simple";
53 clock-names = "ext_clock";
58 * - SDIO_RESET_L_WL_REG_ON
59 * - PDN (power down when low)
[all …]
H A Drk3288-evb-android-rk818-mipi-edp.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "rk3288-evb.dtsi"
45 #include "rk3288-android.dtsi"
48 compatible = "rockchip,rk3288-evb-android-rk818", "rockchip,rk3288";
50 sdio_pwrseq: sdio-pwrseq {
51 compatible = "mmc-pwrseq-simple";
53 clock-names = "ext_clock";
58 * - SDIO_RESET_L_WL_REG_ON
59 * - PDN (power down when low)
[all …]

1234