18c2ecf20Sopenharmony_ciOMAP 3 ISP Device Tree bindings
28c2ecf20Sopenharmony_ci===============================
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciThe DT definitions can be found in include/dt-bindings/media/omap3-isp.h.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired properties
78c2ecf20Sopenharmony_ci===================
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cicompatible	: must contain "ti,omap3-isp"
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cireg		: the two registers sets (physical address and length) for the
128c2ecf20Sopenharmony_ci		  ISP. The first set contains the core ISP registers up to
138c2ecf20Sopenharmony_ci		  the end of the SBL block. The second set contains the
148c2ecf20Sopenharmony_ci		  CSI PHYs and receivers registers.
158c2ecf20Sopenharmony_ciinterrupts	: the ISP interrupt specifier
168c2ecf20Sopenharmony_ciiommus		: phandle and IOMMU specifier for the IOMMU that serves the ISP
178c2ecf20Sopenharmony_cisyscon		: the phandle and register offset to the Complex I/O or CSI-PHY
188c2ecf20Sopenharmony_ci		  register
198c2ecf20Sopenharmony_citi,phy-type	: 0 -- OMAP3ISP_PHY_TYPE_COMPLEX_IO (e.g. 3430)
208c2ecf20Sopenharmony_ci		  1 -- OMAP3ISP_PHY_TYPE_CSIPHY (e.g. 3630)
218c2ecf20Sopenharmony_ci#clock-cells	: Must be 1 --- the ISP provides two external clocks,
228c2ecf20Sopenharmony_ci		  cam_xclka and cam_xclkb, at indices 0 and 1,
238c2ecf20Sopenharmony_ci		  respectively. Please find more information on common
248c2ecf20Sopenharmony_ci		  clock bindings in ../clock/clock-bindings.txt.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciPort nodes (optional)
278c2ecf20Sopenharmony_ci---------------------
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciMore documentation on these bindings is available in
308c2ecf20Sopenharmony_civideo-interfaces.txt in the same directory.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_cireg		: The interface:
338c2ecf20Sopenharmony_ci		  0 - parallel (CCDC)
348c2ecf20Sopenharmony_ci		  1 - CSIPHY1 -- CSI2C / CCP2B on 3630;
358c2ecf20Sopenharmony_ci		      CSI1 -- CSIb on 3430
368c2ecf20Sopenharmony_ci		  2 - CSIPHY2 -- CSI2A / CCP2B on 3630;
378c2ecf20Sopenharmony_ci		      CSI2 -- CSIa on 3430
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciOptional properties
408c2ecf20Sopenharmony_ci===================
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_civdd-csiphy1-supply : voltage supply of the CSI-2 PHY 1
438c2ecf20Sopenharmony_civdd-csiphy2-supply : voltage supply of the CSI-2 PHY 2
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciEndpoint nodes
468c2ecf20Sopenharmony_ci--------------
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_cilane-polarities	: lane polarity (required on CSI-2)
498c2ecf20Sopenharmony_ci		  0 -- not inverted; 1 -- inverted
508c2ecf20Sopenharmony_cidata-lanes	: an array of data lanes from 1 to 3. The length can
518c2ecf20Sopenharmony_ci		  be either 1 or 2. (required on CSI-2)
528c2ecf20Sopenharmony_ciclock-lanes	: the clock lane (from 1 to 3). (required on CSI-2)
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ciExample
568c2ecf20Sopenharmony_ci=======
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci		isp@480bc000 {
598c2ecf20Sopenharmony_ci			compatible = "ti,omap3-isp";
608c2ecf20Sopenharmony_ci			reg = <0x480bc000 0x12fc
618c2ecf20Sopenharmony_ci			       0x480bd800 0x0600>;
628c2ecf20Sopenharmony_ci			interrupts = <24>;
638c2ecf20Sopenharmony_ci			iommus = <&mmu_isp>;
648c2ecf20Sopenharmony_ci			syscon = <&scm_conf 0x2f0>;
658c2ecf20Sopenharmony_ci			ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>;
668c2ecf20Sopenharmony_ci			#clock-cells = <1>;
678c2ecf20Sopenharmony_ci			ports {
688c2ecf20Sopenharmony_ci				#address-cells = <1>;
698c2ecf20Sopenharmony_ci				#size-cells = <0>;
708c2ecf20Sopenharmony_ci			};
718c2ecf20Sopenharmony_ci		};
72