Searched +full:imx1 +full:- +full:pwm (Results 1 – 10 of 10) sorted by relevance
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | imx1-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/imx1-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexander Shiyan <shc_work@mail.ru> 14 ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h 19 const: fsl,imx1-ccm 24 '#clock-cells': 28 - compatible 29 - reg [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/ |
| D | imx1-clock.txt | 4 - compatible: Should be "fsl,imx1-ccm". 5 - reg: Address and length of the register set. 6 - #clock-cells: Should be <1>. 9 ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h 14 #clock-cells = <1>; 15 compatible = "fsl,imx1-ccm"; 19 pwm: pwm@208000 { 20 #pwm-cells = <2>; 21 compatible = "fsl,imx1-pwm"; 25 clock-names = "ipg", "per";
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | imx1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include "imx1-pinfunc.h" 7 #include <dt-bindings/clock/imx1-clock.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 34 aitc: aitc-interrupt-controller@223000 { 35 compatible = "fsl,imx1-aitc", "fsl,avic"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include "imx1-pinfunc.h" 7 #include <dt-bindings/clock/imx1-clock.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 * pre-existing /chosen node to be available to insert the 34 aitc: aitc-interrupt-controller@223000 { 35 compatible = "fsl,imx1-aitc", "fsl,avic"; [all …]
|
| /kernel/linux/linux-5.10/drivers/pwm/ |
| D | pwm-imx1.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * simple driver for PWM (Pulse Width Modulator) controller 5 * Derived from pxa PWM driver by eric miao <eric.miao@marvell.com> 19 #include <linux/pwm.h> 22 #define MX1_PWMC 0x00 /* PWM Control Register */ 23 #define MX1_PWMS 0x04 /* PWM Sample Register */ 24 #define MX1_PWMP 0x08 /* PWM Period Register */ 42 ret = clk_prepare_enable(imx->clk_ipg); in pwm_imx1_clk_prepare_enable() 46 ret = clk_prepare_enable(imx->clk_per); in pwm_imx1_clk_prepare_enable() 48 clk_disable_unprepare(imx->clk_ipg); in pwm_imx1_clk_prepare_enable() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_PWM) += core.o 3 obj-$(CONFIG_PWM_SYSFS) += sysfs.o 4 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o 5 obj-$(CONFIG_PWM_ATMEL) += pwm-atmel.o 6 obj-$(CONFIG_PWM_ATMEL_HLCDC_PWM) += pwm-atmel-hlcdc.o 7 obj-$(CONFIG_PWM_ATMEL_TCB) += pwm-atmel-tcb.o 8 obj-$(CONFIG_PWM_BCM_IPROC) += pwm-bcm-iproc.o 9 obj-$(CONFIG_PWM_BCM_KONA) += pwm-bcm-kona.o 10 obj-$(CONFIG_PWM_BCM2835) += pwm-bcm2835.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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pwm/ |
| D | imx-pwm.txt | 1 Freescale i.MX PWM controller 4 - compatible : should be "fsl,<soc>-pwm" and one of the following 6 - "fsl,imx1-pwm" for PWM compatible with the one integrated on i.MX1 7 - "fsl,imx27-pwm" for PWM compatible with the one integrated on i.MX27 8 - reg: physical base address and length of the controller's registers 9 - #pwm-cells: 2 for i.MX1 and 3 for i.MX27 and newer SoCs. See pwm.txt 11 - clocks : Clock specifiers for both ipg and per clocks. 12 - clock-names : Clock names should include both "ipg" and "per" 14 Documentation/devicetree/bindings/clock/clock-bindings.txt 15 - interrupts: The interrupt for the pwm controller [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/ |
| D | imx-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/imx-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX PWM controller 10 - Philipp Zabel <p.zabel@pengutronix.de> 13 "#pwm-cells": 15 Should be 2 for i.MX1 and 3 for i.MX27 and newer SoCs. See pwm.yaml 18 - 2 19 - 3 [all …]
|
| /kernel/linux/linux-4.19/drivers/pwm/ |
| D | pwm-imx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * simple driver for PWM (Pulse Width Modulator) controller 5 * Derived from pxa PWM driver by eric miao <eric.miao@marvell.com> 16 #include <linux/pwm.h> 20 /* i.MX1 and i.MX21 share the same PWM function block: */ 22 #define MX1_PWMC 0x00 /* PWM Control Register */ 23 #define MX1_PWMS 0x04 /* PWM Sample Register */ 24 #define MX1_PWMP 0x08 /* PWM Period Register */ 28 /* i.MX27, i.MX31, i.MX35 share the same PWM function block: */ 30 #define MX3_PWMCR 0x00 /* PWM Control Register */ [all …]
|