Searched +full:imx1 +full:- +full:pwm (Results 1 – 3 of 3) sorted by relevance
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 the34 aitc: aitc-interrupt-controller@223000 {35 compatible = "fsl,imx1-aitc", "fsl,avic";[all …]
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 controller10 - Philipp Zabel <p.zabel@pengutronix.de>13 - $ref: pwm.yaml#16 "#pwm-cells":19 PWM_POLARITY_INVERTED. fsl,imx1-pwm does not support this flags.24 - enum:[all …]
1 // SPDX-License-Identifier: GPL-2.03 * simple driver for PWM (Pulse Width Modulator) controller5 * Derived from pxa PWM driver by eric miao <eric.miao@marvell.com>18 #include <linux/pwm.h>21 #define MX1_PWMC 0x00 /* PWM Control Register */22 #define MX1_PWMS 0x04 /* PWM Sample Register */23 #define MX1_PWMP 0x08 /* PWM Period Register */43 ret = clk_prepare_enable(imx->clk_ipg); in pwm_imx1_clk_prepare_enable()47 ret = clk_prepare_enable(imx->clk_per); in pwm_imx1_clk_prepare_enable()49 clk_disable_unprepare(imx->clk_ipg); in pwm_imx1_clk_prepare_enable()[all …]