About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / i2c / i2c-omap.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:01 EST.

1	I2C for OMAP platforms
2	
3	Required properties :
4	- compatible : Must be "ti,omap2420-i2c", "ti,omap2430-i2c", "ti,omap3-i2c"
5	  or "ti,omap4-i2c"
6	- ti,hwmods : Must be "i2c<n>", n being the instance number (1-based)
7	- #address-cells = <1>;
8	- #size-cells = <0>;
9	
10	Recommended properties :
11	- clock-frequency : Desired I2C bus clock frequency in Hz. Otherwise
12	  the default 100 kHz frequency will be used.
13	
14	Optional properties:
15	- Child nodes conforming to i2c bus binding
16	
17	Note: Current implementation will fetch base address, irq and dma
18	from omap hwmod data base during device registration.
19	Future plan is to migrate hwmod data base contents into device tree
20	blob so that, all the required data will be used from device tree dts
21	file.
22	
23	Examples :
24	
25	i2c1: i2c@0 {
26	    compatible = "ti,omap3-i2c";
27	    #address-cells = <1>;
28	    #size-cells = <0>;
29	    ti,hwmods = "i2c1";
30	    clock-frequency = <400000>;
31	};
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.