/linux-6.12.1/drivers/pwm/ |
D | pwm-stmpe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/mfd/stmpe.h> 15 #include <linux/pwm.h> 29 struct stmpe *stmpe; member 38 static int stmpe_24xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in stmpe_24xx_pwm_enable() argument 44 ret = stmpe_reg_read(stmpe_pwm->stmpe, STMPE24XX_PWMCS); in stmpe_24xx_pwm_enable() 46 dev_dbg(pwmchip_parent(chip), "error reading PWM#%u control\n", in stmpe_24xx_pwm_enable() 47 pwm->hwpwm); in stmpe_24xx_pwm_enable() 51 value = ret | BIT(pwm->hwpwm); in stmpe_24xx_pwm_enable() 53 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_PWM) += core.o 3 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o 4 obj-$(CONFIG_PWM_ADP5585) += pwm-adp5585.o 5 obj-$(CONFIG_PWM_APPLE) += pwm-apple.o 6 obj-$(CONFIG_PWM_ATMEL) += pwm-atmel.o 7 obj-$(CONFIG_PWM_ATMEL_HLCDC_PWM) += pwm-atmel-hlcdc.o 8 obj-$(CONFIG_PWM_ATMEL_TCB) += pwm-atmel-tcb.o 9 obj-$(CONFIG_PWM_AXI_PWMGEN) += pwm-axi-pwmgen.o 10 obj-$(CONFIG_PWM_BCM_IPROC) += pwm-bcm-iproc.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menuconfig PWM config 3 bool "Pulse-Width Modulation (PWM) Support" 5 Generic Pulse-Width Modulation (PWM) support. 7 In Pulse-Width Modulation, a variation of the width of pulses 14 This framework provides a generic interface to PWM devices 16 to register and unregister a PWM chip, an abstraction of a PWM 17 controller, that supports one or more PWM devices. Client 18 drivers can request PWM devices and use the generic framework 21 This generic framework replaces the legacy PWM framework which [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pwm/ |
D | st,stmpe-pwm.txt | 1 == ST STMPE PWM controller == 3 This is a PWM block embedded in the ST Microelectronics STMPE 4 (ST Multi-Purpose Expander) chips. The PWM is registered as a 5 subdevices of the STMPE MFD device. 8 - compatible: should be: 9 - "st,stmpe-pwm" 10 - #pwm-cells: should be 2. See pwm.yaml in this directory for a description of 15 pwm0: pwm { 16 compatible = "st,stmpe-pwm"; 17 #pwm-cells = <2>;
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/st,stmpe.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectonics Port Expander (STMPE) 9 description: STMicroelectronics Port Expander (STMPE) is a series of slow 11 touchscreen, ADC, PWM or rotator. It can contain one or several different 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | ste-nomadik-nhk15.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include "ste-nomadik-stn8815.dtsi" 13 compatible = "st,nomadik-nhk-15"; 22 stmpe-i2c0 = &stmpe0; 23 stmpe-i2c1 = &stmpe1; 71 disable-sxtalo; 72 disable-mxtalo; [all …]
|
D | spear320-hmi.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 compatible = "st,spear320-hmi", "st,spear320"; 14 #address-cells = <1>; 15 #size-cells = <1>; 23 st,pinmux-mode = <4>; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&state_default>; 107 label = "u-boot"; 129 compatible = "gpio-keys"; [all …]
|
D | stm32f429-disco.dts | 2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 /dts-v1/; 50 #include "stm32f429-pinctrl.dtsi" 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/interrupt-controller/irq.h> 53 #include <dt-bindings/gpio/gpio.h> 56 model = "STMicroelectronics STM32F429i-DISCO board"; 57 compatible = "st,stm32f429i-disco", "st,stm32f429"; [all …]
|
D | stm32429i-eval.dts | 2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 /dts-v1/; 50 #include "stm32f429-pinctrl.dtsi" 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/gpio/gpio.h> 53 #include <dt-bindings/media/video-interfaces.h> 56 model = "STMicroelectronics STM32429i-EVAL board"; 57 compatible = "st,stm32429i-eval", "st,stm32f429"; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/gpio/ |
D | st,stmpe-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/st,stmpe-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectonics Port Expander (STMPE) GPIO Block 10 STMicroelectronics Port Expander (STMPE) is a series of slow 12 touchscreen, ADC, PWM or rotator. It can contain one or several different 17 - Linus Walleij <linus.walleij@linaro.org> 21 const: st,stmpe-gpio 23 "#gpio-cells": [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | stmpe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ST Microelectronics MFD: stmpe's driver 5 * Copyright (C) ST-Ericsson SA 2010 7 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 23 #include "stmpe.h" 26 * struct stmpe_platform_data - STMPE platform data 30 * @autosleep: bool to enable/disable stmpe autosleep 41 static int __stmpe_enable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_enable() argument 43 return stmpe->variant->enable(stmpe, blocks, true); in __stmpe_enable() 46 static int __stmpe_disable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_disable() argument [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 expander, PWM and keypad controller. This includes the I2C driver and 33 the GPIO and PWM functions under the corresponding menus. 57 tristate "Active-semi ACT8945A" 62 Support for the ACT8945A PMIC from Active-semi. This device 63 features three step-down DC/DC converters and four low-dropout 79 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 82 called sun4i-gpadc. 113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 144 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6ul-phytec-segin-peb-av-02.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 9 backlight_lcd: backlight-lcd { 10 compatible = "pwm-backlight"; 11 brightness-levels = <0 4 8 16 32 64 128 255>; 12 default-brightness-level = <5>; 13 power-supply = <®_backlight_en>; 18 lcd_panel: lcd-panel { 25 remote-endpoint = <&lcdif_parallel_out>; 30 reg_backlight_en: regulator-backlight-en { 31 compatible = "regulator-fixed"; [all …]
|
D | imx6ul-isiot.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 18 stdout-path = &uart1; 22 compatible = "pwm-backlight"; 24 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 35 default-brightness-level = <100>; 38 reg_1p8v: regulator-1p8v { 39 compatible = "regulator-fixed"; 40 regulator-name = "1P8V"; [all …]
|
D | imx6qdl-phytec-mira.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 14 compatible = "pwm-backlight"; 15 brightness-levels = <0 4 8 16 32 64 128 255>; 16 default-brightness-level = <7>; 17 power-supply = <®_backlight>; 23 compatible = "gpio-leds"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_gpioleds>; 28 led-red { 29 label = "phyboard-mira:red"; [all …]
|
D | imx6qdl-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2014-2022 Toradex 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 18 /delete-property/ mmc2; 19 /delete-property/ mmc3; 23 compatible = "pwm-backlight"; 24 brightness-levels = <0 45 63 88 119 158 203 255>; 25 default-brightness-level = <4>; 26 enable-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* Colibri BL_ON */ [all …]
|
D | imx6qdl-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2014-2022 Toradex 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 19 /delete-property/ mmc3; 29 compatible = "pwm-backlight"; 30 brightness-levels = <0 45 63 88 119 158 203 255>; 31 default-brightness-level = <4>; 32 enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; 33 pinctrl-names = "default"; [all …]
|
D | mba6ulx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2018-2022 TQ-Systems GmbH 4 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 8 model = "TQ-Systems MBA6ULx Baseboard"; 18 stdout-path = &uart1; 22 compatible = "pwm-backlight"; 23 power-supply = <®_mba6ul_3v3>; 24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>; 29 compatible = "gpio-beeper"; 33 gpio_buttons: gpio-keys { [all …]
|
D | imx6q-novena.dts | 2 * Copyright 2015 Sutajio Ko-Usagi PTE LTD 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 49 /dts-v1/; 51 #include <dt-bindings/gpio/gpio.h> 52 #include <dt-bindings/input/input.h> 56 compatible = "kosagi,imx6q-novena", "fsl,imx6q"; 65 stdout-path = &uart2; 69 compatible = "pwm-backlight"; 71 pinctrl-names = "default"; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
/linux-6.12.1/arch/arm/boot/dts/renesas/ |
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 31 /dts-v1/; 32 #include "r8a7745-iwg22m.dtsi" 33 #include <dt-bindings/pwm/pwm.h> 36 model = "iWave Systems RainboW-G22D-SODIMM board based on RZ/G1E"; 47 stdout-path = "serial3:115200n8"; 51 compatible = "fixed-clock"; 52 #clock-cells = <0>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra30-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 16 nvidia,hpd-gpio = 18 pll-supply = <®_1v8_avdd_hdmi_pll>; 19 vdd-supply = <®_3v3_avdd_hdmi>; 24 lan-reset-n-hog { 25 gpio-hog; 27 output-high; 28 line-name = "LAN_RESET#"; 33 pinctrl-names = "default"; [all …]
|
D | tegra30-apalis-v1.1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 16 avdd-pexa-supply = <&vdd2_reg>; 17 avdd-pexb-supply = <&vdd2_reg>; 18 avdd-pex-pll-supply = <&vdd2_reg>; 19 avdd-plle-supply = <&ldo6_reg>; 20 hvdd-pex-supply = <®_module_3v3>; 21 vddio-pex-ctl-supply = <®_module_3v3>; 22 vdd-pexa-supply = <&vdd2_reg>; 23 vdd-pexb-supply = <&vdd2_reg>; 27 nvidia,num-lanes = <4>; [all …]
|
D | tegra30-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 avdd-pexa-supply = <&vdd2_reg>; 16 avdd-pexb-supply = <&vdd2_reg>; 17 avdd-pex-pll-supply = <&vdd2_reg>; 18 avdd-plle-supply = <&ldo6_reg>; 19 hvdd-pex-supply = <®_module_3v3>; 20 vddio-pex-ctl-supply = <®_module_3v3>; 21 vdd-pexa-supply = <&vdd2_reg>; 22 vdd-pexb-supply = <&vdd2_reg>; 26 nvidia,num-lanes = <4>; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
D | exynos4412-p4note.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * Based on exynos4412-midas.dtsi. 10 /dts-v1/; 12 #include "exynos4412-ppmu-common.dtsi" 14 #include <dt-bindings/clock/maxim,max77686.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 17 #include <dt-bindings/interrupt-controller/irq.h> 18 #include <dt-bindings/power/summit,smb347-charger.h> 19 #include "exynos-pinctrl.h" [all …]
|