About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / pwm / imx-pwm.txt




Custom Search

Based on kernel version 4.1. Page generated on 2015-06-28 12:10 EST.

1	Freescale i.MX PWM controller
2	
3	Required properties:
4	- compatible : should be "fsl,<soc>-pwm" and one of the following
5	   compatible strings:
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: should be 2. See pwm.txt in this directory for a description of
10	  the cells format.
11	- clocks : Clock specifiers for both ipg and per clocks.
12	- clock-names : Clock names should include both "ipg" and "per"
13	See the clock consumer binding,
14		Documentation/devicetree/bindings/clock/clock-bindings.txt
15	- interrupts: The interrupt for the pwm controller
16	
17	Example:
18	
19	pwm1: pwm@53fb4000 {
20		#pwm-cells = <2>;
21		compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
22		reg = <0x53fb4000 0x4000>;
23		clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
24			 <&clks IMX5_CLK_PWM1_HF_GATE>;
25		clock-names = "ipg", "per";
26		interrupts = <61>;
27	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.