| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | pwm-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/pwm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic PWM Regulator 10 - Brian Norris <briannorris@chromium.org> 11 - Lee Jones <lee@kernel.org> 12 - Alexandre Courbot <acourbot@nvidia.com> 19 duty-cycle values must be provided via DT. Limitations are that the 21 Intermediary duty-cycle values which would normally allow finer grained [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | pwm-regulator.txt | 1 Bindings for the Generic PWM Regulator 7 predefined voltage <=> duty-cycle values must be 10 Intermediary duty-cycle values which would normally 13 the user if the assumptions made in continuous-voltage 18 regulator-{min,max}-microvolt properties to calculate 19 appropriate duty-cycle values. This allows for a much 21 voltage-table mode above. This solution does make an 22 assumption that a %50 duty-cycle value will cause the 27 -------------------- 28 - compatible: Should be "pwm-regulator" [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | pwm-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Regulator driver for PWM Regulators 5 * Copyright (C) 2014 - STMicroelectronics Inc. 18 #include <linux/pwm.h> 29 struct pwm_device *pwm; member 48 unsigned int dutycycle; member 52 * Voltage table call-backs 58 unsigned int dutycycle; in pwm_regulator_init_state() local 61 pwm_get_state(drvdata->pwm, &pwm_state); in pwm_regulator_init_state() 62 dutycycle = pwm_get_relative_duty_cycle(&pwm_state, 100); in pwm_regulator_init_state() [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | pwm-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Regulator driver for PWM Regulators 5 * Copyright (C) 2014 - STMicroelectronics Inc. 18 #include <linux/pwm.h> 29 struct pwm_device *pwm; member 48 unsigned int dutycycle; member 52 * Voltage table call-backs 58 unsigned int dutycycle; in pwm_regulator_init_state() local 61 pwm_get_state(drvdata->pwm, &pwm_state); in pwm_regulator_init_state() 62 dutycycle = pwm_get_relative_duty_cycle(&pwm_state, 100); in pwm_regulator_init_state() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12b-khadas-vim3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 vddcpu_a: regulator-vddcpu-a { 15 compatible = "pwm-regulator"; 17 regulator-name = "VDDCPU_A"; 18 regulator-min-microvolt = <690000>; 19 regulator-max-microvolt = <1050000>; 21 pwm-supply = <&dc_in>; 24 pwm-dutycycle-range = <100 0>; 26 regulator-boot-on; 27 regulator-always-on; [all …]
|
| D | meson-g12b-w400.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b.dtsi" 11 #include "meson-g12b-s922x.dtsi" 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/gpio/meson-g12a-gpio.h> 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; [all …]
|
| D | meson-sm1-khadas-vim3l.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1.dtsi" 10 #include "meson-khadas-vim3.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 17 vddcpu: regulator-vddcpu { 21 compatible = "pwm-regulator"; 23 regulator-name = "VDDCPU"; 24 regulator-min-microvolt = <690000>; 25 regulator-max-microvolt = <1050000>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12b-khadas-vim3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 vddcpu_a: regulator-vddcpu-a { 15 compatible = "pwm-regulator"; 17 regulator-name = "VDDCPU_A"; 18 regulator-min-microvolt = <690000>; 19 regulator-max-microvolt = <1050000>; 21 pwm-supply = <&dc_in>; 24 pwm-dutycycle-range = <100 0>; 26 regulator-boot-on; 27 regulator-always-on; [all …]
|
| D | meson-g12b-bananapi-cm4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-g12b-a311d.dtsi" 7 #include <dt-bindings/gpio/meson-g12a-gpio.h> 16 stdout-path = "serial0:115200n8"; 19 emmc_pwrseq: emmc-pwrseq { 20 compatible = "mmc-pwrseq-emmc"; 21 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 29 sdio_pwrseq: sdio-pwrseq { 30 compatible = "mmc-pwrseq-simple"; 31 reset-gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_LOW>; [all …]
|
| D | meson-g12b-w400.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b.dtsi" 11 #include "meson-g12b-s922x.dtsi" 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/gpio/meson-g12a-gpio.h> 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; [all …]
|
| D | meson-g12b-odroid.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/gpio/meson-g12a-gpio.h> 9 #include <dt-bindings/sound/meson-g12a-toacodec.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 20 stdout-path = "serial0:115200n8"; 28 emmc_pwrseq: emmc-pwrseq { 29 compatible = "mmc-pwrseq-emmc"; 30 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 33 fan: gpio-fan { [all …]
|
| D | meson-sm1-khadas-vim3l.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1.dtsi" 10 #include "meson-khadas-vim3.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 17 vddcpu: regulator-vddcpu { 21 compatible = "pwm-regulator"; 23 regulator-name = "VDDCPU"; 24 regulator-min-microvolt = <690000>; 25 regulator-max-microvolt = <1050000>; [all …]
|
| D | meson-g12b-bananapi.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 stdout-path = "serial0:115200n8"; 29 adc-keys { 30 compatible = "adc-keys"; 31 io-channels = <&saradc 2>; 32 io-channel-names = "buttons"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/zte/ |
| D | zx296718-pcbox.dts | 5 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 14 compatible = "zte,zx296718-pcbox", "zte,zx296718"; 17 stdout-path = "serial0:115200n8"; 25 a53_vdd0v9: regulator-a53 { 26 compatible = "pwm-regulator"; 27 pwms = <&pwm 3 1250 PWM_POLARITY_INVERTED>; 28 regulator-name = "A53_VDD0V9"; 29 regulator-min-microvolt = <855000>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/amlogic/ |
| D | meson8b-mxq.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 22 stdout-path = "serial0:115200n8"; 30 vcck: regulator-vcck { 31 compatible = "pwm-regulator"; 33 regulator-name = "VCCK"; 34 regulator-min-microvolt = <860000>; 35 regulator-max-microvolt = <1140000>; 37 pwm-supply = <&vcc_5v>; [all …]
|
| D | meson8b-odroidc1.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 12 model = "Hardkernel ODROID-C1"; 13 compatible = "hardkernel,odroid-c1", "amlogic,meson8b"; 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; 36 compatible = "gpio-leds"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | axentia,tse850-pcm5142.txt | 1 Devicetree bindings for the Axentia TSE-850 audio complex 4 - compatible: "axentia,tse850-pcm5142" 5 - axentia,cpu-dai: The phandle of the cpu dai. 6 - axentia,audio-codec: The phandle of the PCM5142 codec. 7 - axentia,add-gpios: gpio specifier that controls the mixer. 8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1. 9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2. 10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must 11 support voltages in the 2V - 20V range, in 1V steps. 16 IN1 +---o +------------+ o---+ OUT1 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | axentia,tse850-pcm5142.txt | 1 Devicetree bindings for the Axentia TSE-850 audio complex 4 - compatible: "axentia,tse850-pcm5142" 5 - axentia,cpu-dai: The phandle of the cpu dai. 6 - axentia,audio-codec: The phandle of the PCM5142 codec. 7 - axentia,add-gpios: gpio specifier that controls the mixer. 8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1. 9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2. 10 - axentia,ana-supply: Regulator that supplies the output amplifier. Must 11 support voltages in the 2V - 20V range, in 1V steps. 16 IN1 +---o +------------+ o---+ OUT1 [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 14 stdout-path = "serial2:115200n8"; 23 * - Rails that only connect to the EC (or devices that the EC talks to) 25 * - Rails _are_ included if the rails go to the AP even if the AP 34 * - The EC controls the enable and the EC always enables a rail as 36 * - The rails are actually connected to each other by a jumper and 41 ppvar_sys: ppvar-sys { [all …]
|
| D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; 19 regulator-max-microvolt = <900000>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | meson8b-mxq.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 22 stdout-path = "serial0:115200n8"; 30 iio-hwmon { 31 compatible = "iio-hwmon"; 32 io-channels = <&saradc 8>; 35 vcck: regulator-vcck { 36 compatible = "pwm-regulator"; 38 regulator-name = "VCCK"; [all …]
|
| D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; 23 clock-output-names = "sck"; [all …]
|
| D | meson8b-odroidc1.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 12 model = "Hardkernel ODROID-C1"; 13 compatible = "hardkernel,odroid-c1", "amlogic,meson8b"; 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; 36 compatible = "gpio-leds"; [all …]
|
| D | meson8b-ec100.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; 35 gpio-keys { 36 compatible = "gpio-keys-polled"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 19 stdout-path = "serial2:115200n8"; 28 * - Rails that only connect to the EC (or devices that the EC talks to) 30 * - Rails _are_ included if the rails go to the AP even if the AP 39 * - The EC controls the enable and the EC always enables a rail as 41 * - The rails are actually connected to each other by a jumper and 46 ppvar_sys: ppvar-sys { [all …]
|