/linux-6.14.4/Documentation/devicetree/bindings/pwm/ |
D | pwm-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/pwm-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic software PWM for modulating GPIOs 10 - Stefan Wahren <[email protected]> 13 - $ref: pwm.yaml# 17 const: pwm-gpio 19 "#pwm-cells": 22 See pwm.yaml in this directory for a description of the cells format. [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/mfd/ |
D | kontron,sl28cpld.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Walle <[email protected]> 14 watchdog, fan monitoring, PWM controller, interrupt controller and a 15 GPIO controller. 26 "#address-cells": 29 "#size-cells": 32 "#interrupt-cells": 38 interrupt-controller: true [all …]
|
D | lp3943.txt | 4 - compatible: "ti,lp3943" 5 - reg: I2C slave address. From 0x60 to 0x67. 7 LP3943 consists of two sub-devices, lp3943-gpio and lp3943-pwm. 9 For the LP3943 GPIO properties please refer to: 10 Documentation/devicetree/bindings/gpio/gpio-lp3943.txt 12 For the LP3943 PWM properties please refer to: 13 Documentation/devicetree/bindings/pwm/pwm-lp3943.txt 21 gpioex: gpio { 22 compatible = "ti,lp3943-gpio"; 23 gpio-controller; [all …]
|
D | airoha,en7581-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/airoha,en7581-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Airoha EN7581 GPIO System Controller 10 - Christian Marangi <[email protected]> 11 - Lorenzo Bianconi <[email protected]> 14 Airoha EN7581 SoC GPIO system controller which provided a register map 15 for controlling the GPIO, pins and PWM of the SoC. 20 - const: airoha,en7581-gpio-sysctl [all …]
|
D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 bus controllers for various expanded peripherals such as GPIO, keypad, 11 touchscreen, ADC, PWM or rotator. It can contain one or several different 15 - Linus Walleij <[email protected]> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 [all …]
|
D | adi,adp5585.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <[email protected]> 14 matrix decoder, programmable logic, reset generator, and PWM generator. 19 - enum: 20 - adi,adp5585-00 # Default 21 - adi,adp5585-01 # 11 GPIOs 22 - adi,adp5585-02 # No pull-up resistors by default on special pins 23 - adi,adp5585-03 # Alternate I2C address [all …]
|
/linux-6.14.4/drivers/pinctrl/berlin/ |
D | pinctrl-as370.c | 1 // SPDX-License-Identifier: GPL-2.0 20 BERLIN_PINCTRL_FUNCTION(0x0, "gpio"), /* GPIO0 */ 24 BERLIN_PINCTRL_FUNCTION(0x0, "gpio"), /* GPIO1 */ 30 BERLIN_PINCTRL_FUNCTION(0x3, "gpio"), /* GPIO2 */ 35 BERLIN_PINCTRL_FUNCTION(0x3, "gpio"), /* GPIO3 */ 40 BERLIN_PINCTRL_FUNCTION(0x2, "pwm"), /* PWM4 */ 41 BERLIN_PINCTRL_FUNCTION(0x3, "gpio"), /* GPIO4 */ 44 BERLIN_PINCTRL_FUNCTION(0x0, "gpio"), /* GPIO5 */ 46 BERLIN_PINCTRL_FUNCTION(0x2, "pwm"), /* PWM5 */ 51 BERLIN_PINCTRL_FUNCTION(0x0, "gpio"), /* GPIO6 */ [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/arm/bcm/ |
D | raspberrypi,bcm2835-firmware.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eric Anholt <[email protected]> 11 - Stefan Wahren <[email protected]> 17 const: raspberrypi,bcm2835-firmware 20 - compatible 25 - const: raspberrypi,bcm2835-firmware 26 - const: simple-mfd [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/backlight/ |
D | pwm-backlight.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/pwm-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: pwm-backlight 10 - Lee Jones <[email protected]> 11 - Daniel Thompson <[email protected]> 12 - Jingoo Han <[email protected]> 15 - $ref: common.yaml# 19 const: pwm-backlight [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/gpio/ |
D | gpio-mvebu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-mvebu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Marvell EBU GPIO controller 10 - Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11 - Andrew Lunn <[email protected]> 16 - enum: 17 - marvell,armada-8k-gpio 18 - marvell,orion-gpio [all …]
|
/linux-6.14.4/drivers/pwm/ |
D | pwm-pca9685.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for PCA9685 16-channel 12-bit PWM LED controller 8 * based on the pwm-twl-led.c driver 12 #include <linux/gpio/driver.h> 18 #include <linux/pwm.h> 28 * PWM channels requested afterwards must use a period that results in the same 83 struct gpio_chip gpio; member 96 /* No PWM enabled: Change allowed */ in pca9685_prescaler_can_change() 97 if (bitmap_empty(pca->pwms_enabled, PCA9685_MAXCHAN + 1)) in pca9685_prescaler_can_change() 99 /* More than one PWM enabled: Change not allowed */ in pca9685_prescaler_can_change() [all …]
|
D | pwm-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic software PWM for modulating GPIOs 15 #include <linux/gpio/consumer.h> 22 #include <linux/pwm.h> 29 struct gpio_desc *gpio; member 49 dividend = dest->period; in pwm_gpio_round() 51 dest->period -= remainder; in pwm_gpio_round() 53 dividend = dest->duty_cycle; in pwm_gpio_round() 55 dest->duty_cycle -= remainder; in pwm_gpio_round() 60 const struct pwm_state *state = &gpwm->state; in pwm_gpio_toggle() [all …]
|
/linux-6.14.4/arch/arm/boot/dts/rockchip/ |
D | rv1126.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rockchip,rv1126-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rockchip,rv1126-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 15 #address-cells = <1>; 16 #size-cells = <1>; [all …]
|
D | rv1108.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/rv1108-cru.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 15 interrupt-parent = <&gic>; [all …]
|
/linux-6.14.4/arch/arm/boot/dts/renesas/ |
D | r8a7779.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car H1 (R8A77790) SoC 9 #include <dt-bindings/clock/r8a7779-clock.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/power/r8a7779-sysc.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <1>; 18 #size-cells = <1>; 21 #address-cells = <1>; [all …]
|
/linux-6.14.4/arch/arm/boot/dts/intel/pxa/ |
D | pxa3xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #define MFP_PIN_PXA300(gpio) \ argument 6 ((gpio <= 2) ? (0x00b4 + 4 * gpio) : \ 7 (gpio <= 26) ? (0x027c + 4 * (gpio - 3)) : \ 8 (gpio <= 98) ? (0x0400 + 4 * (gpio - 27)) : \ 9 (gpio <= 127) ? (0x0600 + 4 * (gpio - 99)) : \ 11 #define MFP_PIN_PXA300_2(gpio) \ argument 12 ((gpio <= 1) ? (0x674 + 4 * gpio) : \ 13 (gpio <= 6) ? (0x2dc + 4 * gpio) : \ 16 #define MFP_PIN_PXA310(gpio) \ argument [all …]
|
D | pxa27x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include "dt-bindings/clock/pxa-clock.h" 11 pdma: dma-controller@40000000 { 12 compatible = "marvell,pdma-1.0"; 15 #dma-cells = <2>; 17 #dma-channels = <32>; 18 dma-channels = <32>; 19 #dma-requests = <75>; 20 dma-requests = <75>; 24 pxairq: interrupt-controller@40d00000 { [all …]
|
/linux-6.14.4/drivers/mfd/ |
D | lp3943.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * It can be used for a GPIO expander and PWM generators. 16 * LP3943 MFD ---- GPIO expander leds-gpio eg) HW enable pin 18 * --- PWM generator leds-pwm eg) PWM input 20 * Internal two PWM channels are used for LED dimming effect. 21 * And each output pin can be used as a GPIO as well. 23 * LEDs can be controlled with legacy leds-gpio(static brightness) or 24 * leds-pwm drivers(dynamic brightness control). 25 * Alternatively, it can be used for generic GPIO and PWM controller. 26 * For example, a GPIO is HW enable pin of a device. [all …]
|
/linux-6.14.4/drivers/leds/ |
D | leds-pca9532.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pca9532.c - 16-bit Led dimmer 18 #include <linux/leds-pca9532.h> 19 #include <linux/gpio/driver.h> 48 struct gpio_chip gpio; member 54 u8 pwm[2]; member 108 .name = "leds-pca953x", 116 /* We have two pwm/blinkers, but 16 possible leds to drive. Additionally, 117 * the clever Thecus people are using one pwm to drive the beeper. So, 118 * as a compromise we average one pwm to the values requested by all [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/freescale/ |
D | imx8-ss-lsio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 NXP 7 #include <dt-bindings/clock/imx8-lpcg.h> 8 #include <dt-bindings/firmware/imx/rsrc.h> 10 lsio_bus_clk: clock-lsio-bus { 11 compatible = "fixed-clock"; 12 #clock-cells = <0>; 13 clock-frequency = <100000000>; 14 clock-output-names = "lsio_bus_clk"; 18 compatible = "simple-bus"; [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/amlogic/ |
D | amlogic-c3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/reset/amlogic,c3-reset.h> 10 #include <dt-bindings/clock/amlogic,c3-pll-clkc.h> 11 #include <dt-bindings/clock/amlogic,c3-scmi-clkc.h> 12 #include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h> 13 #include <dt-bindings/power/amlogic,c3-pwrc.h> 14 #include <dt-bindings/gpio/amlogic-c3-gpio.h> [all …]
|
D | meson-s4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/meson-s4-gpio.h> 10 #include <dt-bindings/clock/amlogic,s4-pll-clkc.h> 11 #include <dt-bindings/clock/amlogic,s4-peripherals-clkc.h> 12 #include <dt-bindings/power/meson-s4-power.h> 13 #include <dt-bindings/reset/amlogic,meson-s4-reset.h> 17 #address-cells = <2>; [all …]
|
/linux-6.14.4/Documentation/driver-api/gpio/ |
D | drivers-on-gpio.rst | 2 Subsystem drivers using GPIO 5 Note that standard kernel drivers exist for common GPIO tasks and will provide 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 14 i.e. a LED will turn on/off in response to a GPIO line going high or low 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 21 GPIO line cannot generate interrupts, so it needs to be periodically polled [all …]
|
/linux-6.14.4/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 <[email protected]> 11 - Lee Jones <[email protected]> 12 - Alexandre Courbot <[email protected]> 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 …]
|
/linux-6.14.4/arch/arm/boot/dts/st/ |
D | stm32mp131.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/stm32mp13-clks.h> 8 #include <dt-bindings/reset/stm32mp13-resets.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "arm,cortex-a7"; [all …]
|