/linux-6.12.1/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 20 regulator can only operate at the voltages supplied in the table. [all …]
|
D | tps51632-regulator.txt | 4 - compatible: Must be "ti,tps51632" 5 - reg: I2C slave address 8 - ti,enable-pwm-dvfs: Enable the DVFS voltage control through the PWM interface. 9 - ti,dvfs-step-20mV: The 20mV step voltage when PWM DVFS enabled. Missing this 10 will set 10mV step voltage in PWM DVFS mode. In normal mode, the voltage 13 Any property defined as part of the core regulator binding, defined in 14 regulator.txt, can also be used. 21 regulator-name = "tps51632-vout"; 22 regulator-min-microvolt = <500000>; 23 regulator-max-microvolt = <1500000>; [all …]
|
/linux-6.12.1/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. 14 #include <linux/regulator/driver.h> 15 #include <linux/regulator/machine.h> 16 #include <linux/regulator/of_regulator.h> 18 #include <linux/pwm.h> 29 struct pwm_device *pwm; member 37 /* regulator descriptor */ 52 * Voltage table call-backs [all …]
|
/linux-6.12.1/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 { 13 * MP8756GD Regulator. 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; [all …]
|
D | meson-g12b-radxa-zero2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-g12b-a311d.dtsi" 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/gpio/meson-g12a-gpio.h> 16 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 28 stdout-path = "serial0:115200n8"; 36 fan0: pwm-fan { 37 compatible = "pwm-fan"; [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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | twl6030.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 12 interrupt-controller; 13 #interrupt-cells = <1>; 16 compatible = "ti,twl4030-rtc"; 20 vaux1: regulator-vaux1 { 21 compatible = "ti,twl6030-vaux1"; 22 regulator-min-microvolt = <1000000>; 23 regulator-max-microvolt = <3000000>; 26 vaux2: regulator-vaux2 { [all …]
|
D | twl4030.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 11 interrupt-controller; 12 #interrupt-cells = <1>; 15 compatible = "ti,twl4030-rtc"; 20 compatible = "ti,twl4030-bci"; 22 bci3v1-supply = <&vusb3v1>; 23 io-channels = <&twl_madc 11>; 24 io-channel-names = "vac"; 28 compatible = "ti,twl4030-wdt"; [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
D | pwm-fan.rst | 1 Kernel driver pwm-fan 4 This driver enables the use of a PWM module to drive a fan. It uses the 5 generic PWM interface thus it is hardware independent. It can be used on 6 many SoCs, as long as the SoC supplies a PWM line driver that exposes 7 the generic PWM API. 12 ----------- 15 a PWM output. It uses the generic PWM interface, thus it can be used with 27 0 -> disable pwm and regulator 28 1 -> enable pwm; if pwm==0, disable pwm, keep regulator enabled 29 2 -> enable pwm; if pwm==0, keep pwm and regulator enabled [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/clock/ |
D | nvidia,tegra124-dfll.txt | 4 Documentation/devicetree/bindings/clock/clock-bindings.txt 7 the fast CPU cluster. It consists of a free-running voltage controlled 10 communicating with an off-chip PMIC either via an I2C bus or via PWM signals. 13 - compatible : should be one of: 14 - "nvidia,tegra124-dfll": for Tegra124 15 - "nvidia,tegra210-dfll": for Tegra210 16 - reg : Defines the following set of registers, in the order listed: 17 - registers for the DFLL control logic. 18 - registers for the I2C output logic. 19 - registers for the integrated I2C master controller. [all …]
|
/linux-6.12.1/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> 9 #include "rk3399-op1.dtsi" 18 stdout-path = "serial2:115200n8"; 27 * - Rails that only connect to the EC (or devices that the EC talks to) 29 * - Rails _are_ included if the rails go to the AP even if the AP 35 * view, though, we won't create a full fixed regulator. We'll just 38 * - The EC controls the enable and the EC always enables a rail as 40 * - The rails are actually connected to each other by a jumper and [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 …]
|
/linux-6.12.1/drivers/input/misc/ |
D | max8997_haptic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MAX8997-haptic controller driver 15 #include <linux/pwm.h> 17 #include <linux/mfd/max8997-private.h> 19 #include <linux/regulator/consumer.h> 36 struct regulator *regulator; member 44 struct pwm_device *pwm; member 60 if (chip->mode == MAX8997_EXTERNAL_MODE) { in max8997_haptic_set_duty_cycle() 61 unsigned int duty = chip->pwm_period * chip->level / 100; in max8997_haptic_set_duty_cycle() 62 ret = pwm_config(chip->pwm, duty, chip->pwm_period); in max8997_haptic_set_duty_cycle() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | msm8916-samsung-gt510.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-gt5-common.dtsi" 10 chassis-type = "tablet"; 12 speaker_codec: audio-codec { 14 sdmode-gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>; 15 #sound-dai-cells = <0>; 16 pinctrl-0 = <&audio_sdmode_default>; 17 pinctrl-names = "default"; 20 clk_pwm: pwm { [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | ste-ab8500.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/clock/ste-ab8500.h> 10 iio-hwmon { 11 compatible = "iio-hwmon"; 12 io-channels = <&gpadc 0x02>, /* Battery temperature */ 27 interrupt-parent = <&intc>; 29 interrupt-controller; 30 #interrupt-cells = <2>; 31 #address-cells = <1>; 32 #size-cells = <0>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6ull-colibri-iris.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2018-2022 Toradex 8 stdout-path = "serial0:115200n8"; 11 gpio-keys { 12 compatible = "gpio-keys"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_snvs_gpiokeys>; 17 label = "Wake-Up"; 20 debounce-interval = <10>; 21 wakeup-source; [all …]
|
D | imx6ull-colibri-eval-v3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2017-2022 Toradex 8 stdout-path = "serial0:115200n8"; 13 compatible = "fixed-clock"; 14 #clock-cells = <0>; 15 clock-frequency = <16000000>; 18 reg_3v3: regulator-3v3 { 19 compatible = "regulator-fixed"; 20 regulator-name = "3.3V"; 21 regulator-min-microvolt = <3300000>; [all …]
|
D | imx6ull-colibri-aster.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2017-2022 Toradex 8 stdout-path = "serial0:115200n8"; 11 gpio-keys { 12 compatible = "gpio-keys"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_snvs_gpiokeys>; 17 label = "Wake-Up"; 20 debounce-interval = <10>; 21 wakeup-source; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/allwinner/ |
D | sun5i-a13-pocketbook-touch-lux-3.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 /dts-v1/; 7 #include "sun5i-a13.dtsi" 8 #include "sunxi-common-regulators.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/pwm/pwm.h> 16 compatible = "pocketbook,touch-lux-3", "allwinner,sun5i-a13"; 26 compatible = "pwm-backlight"; [all …]
|
D | sun4i-a10-topwise-a721.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 7 #include "sun4i-a10.dtsi" 8 #include "sunxi-common-regulators.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/pwm/pwm.h> 17 compatible = "topwise,a721", "allwinner,sun4i-a10"; 24 compatible = "pwm-backlight"; [all …]
|
/linux-6.12.1/drivers/leds/ |
D | leds-lm3530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 ST-Ericsson SA. 9 * based on leds-lm3530.c by Dan Murphy <D.Murphy@motorola.com> 17 #include <linux/led-lm3530.h> 19 #include <linux/regulator/consumer.h> 22 #define LM3530_LED_DEV "lcd-backlight" 23 #define LM3530_NAME "lm3530-led" 92 { "pwm", LM3530_BL_MODE_PWM }, 100 * @mode: mode of operation - manual, ALS, PWM 101 * @regulator: regulator [all …]
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
D | exynos4412-odroidu3.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel's Exynos4412 based ODROID-U3 board device tree source 7 * Device tree source file for Hardkernel's ODROID-U3 board which is based 11 /dts-v1/; 12 #include <dt-bindings/leds/common.h> 13 #include "exynos4412-odroid-common.dtsi" 14 #include "exynos4412-prime.dtsi" 17 model = "Hardkernel ODROID-U3 board based on Exynos4412"; 18 compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4"; 29 vbus_otg_reg: regulator-1 { [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/ |
D | imx23-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /dts-v1/; 10 compatible = "fsl,imx23-evk", "fsl,imx23"; 17 reg_vddio_sd0: regulator-vddio-sd0 { 18 compatible = "regulator-fixed"; 19 regulator-name = "vddio-sd0"; 20 regulator-min-microvolt = <3300000>; 21 regulator-max-microvolt = <3300000>; 25 reg_lcd_3v3: regulator-lcd-3v3 { 26 compatible = "regulator-fixed"; [all …]
|