1*c66ec88fSEmmanuel VadotOMAP 3 ISP Device Tree bindings 2*c66ec88fSEmmanuel Vadot=============================== 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotThe DT definitions can be found in include/dt-bindings/media/omap3-isp.h. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties 7*c66ec88fSEmmanuel Vadot=================== 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotcompatible : must contain "ti,omap3-isp" 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadotreg : the two registers sets (physical address and length) for the 12*c66ec88fSEmmanuel Vadot ISP. The first set contains the core ISP registers up to 13*c66ec88fSEmmanuel Vadot the end of the SBL block. The second set contains the 14*c66ec88fSEmmanuel Vadot CSI PHYs and receivers registers. 15*c66ec88fSEmmanuel Vadotinterrupts : the ISP interrupt specifier 16*c66ec88fSEmmanuel Vadotiommus : phandle and IOMMU specifier for the IOMMU that serves the ISP 17*c66ec88fSEmmanuel Vadotsyscon : the phandle and register offset to the Complex I/O or CSI-PHY 18*c66ec88fSEmmanuel Vadot register 19*c66ec88fSEmmanuel Vadotti,phy-type : 0 -- OMAP3ISP_PHY_TYPE_COMPLEX_IO (e.g. 3430) 20*c66ec88fSEmmanuel Vadot 1 -- OMAP3ISP_PHY_TYPE_CSIPHY (e.g. 3630) 21*c66ec88fSEmmanuel Vadot#clock-cells : Must be 1 --- the ISP provides two external clocks, 22*c66ec88fSEmmanuel Vadot cam_xclka and cam_xclkb, at indices 0 and 1, 23*c66ec88fSEmmanuel Vadot respectively. Please find more information on common 24*c66ec88fSEmmanuel Vadot clock bindings in ../clock/clock-bindings.txt. 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotPort nodes (optional) 27*c66ec88fSEmmanuel Vadot--------------------- 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel VadotMore documentation on these bindings is available in 30*c66ec88fSEmmanuel Vadotvideo-interfaces.txt in the same directory. 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadotreg : The interface: 33*c66ec88fSEmmanuel Vadot 0 - parallel (CCDC) 34*c66ec88fSEmmanuel Vadot 1 - CSIPHY1 -- CSI2C / CCP2B on 3630; 35*c66ec88fSEmmanuel Vadot CSI1 -- CSIb on 3430 36*c66ec88fSEmmanuel Vadot 2 - CSIPHY2 -- CSI2A / CCP2B on 3630; 37*c66ec88fSEmmanuel Vadot CSI2 -- CSIa on 3430 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel VadotOptional properties 40*c66ec88fSEmmanuel Vadot=================== 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel Vadotvdd-csiphy1-supply : voltage supply of the CSI-2 PHY 1 43*c66ec88fSEmmanuel Vadotvdd-csiphy2-supply : voltage supply of the CSI-2 PHY 2 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel VadotEndpoint nodes 46*c66ec88fSEmmanuel Vadot-------------- 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadotlane-polarities : lane polarity (required on CSI-2) 49*c66ec88fSEmmanuel Vadot 0 -- not inverted; 1 -- inverted 50*c66ec88fSEmmanuel Vadotdata-lanes : an array of data lanes from 1 to 3. The length can 51*c66ec88fSEmmanuel Vadot be either 1 or 2. (required on CSI-2) 52*c66ec88fSEmmanuel Vadotclock-lanes : the clock lane (from 1 to 3). (required on CSI-2) 53*c66ec88fSEmmanuel Vadot 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel VadotExample 56*c66ec88fSEmmanuel Vadot======= 57*c66ec88fSEmmanuel Vadot 58*c66ec88fSEmmanuel Vadot isp@480bc000 { 59*c66ec88fSEmmanuel Vadot compatible = "ti,omap3-isp"; 60*c66ec88fSEmmanuel Vadot reg = <0x480bc000 0x12fc 61*c66ec88fSEmmanuel Vadot 0x480bd800 0x0600>; 62*c66ec88fSEmmanuel Vadot interrupts = <24>; 63*c66ec88fSEmmanuel Vadot iommus = <&mmu_isp>; 64*c66ec88fSEmmanuel Vadot syscon = <&scm_conf 0x2f0>; 65*c66ec88fSEmmanuel Vadot ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>; 66*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 67*c66ec88fSEmmanuel Vadot ports { 68*c66ec88fSEmmanuel Vadot #address-cells = <1>; 69*c66ec88fSEmmanuel Vadot #size-cells = <0>; 70*c66ec88fSEmmanuel Vadot }; 71*c66ec88fSEmmanuel Vadot }; 72