1*de461c52SPiotr WilczekExynos MIPI-DSIM Controller 2*de461c52SPiotr Wilczek========================= 3*de461c52SPiotr Wilczek 4*de461c52SPiotr WilczekRequired properties: 5*de461c52SPiotr WilczekSOC specific: 6*de461c52SPiotr Wilczek compatible: should be "samsung,exynos-mipi-dsi" 7*de461c52SPiotr Wilczek reg: Base address of MIPI-DSIM IP. 8*de461c52SPiotr Wilczek 9*de461c52SPiotr WilczekBoard specific: 10*de461c52SPiotr Wilczek samsung,dsim-config-e-interface: interface to be used (RGB interface 11*de461c52SPiotr Wilczek for main display or CPU interface for main or sub display). 12*de461c52SPiotr Wilczek samsung,dsim-config-e-virtual-ch: virtual channel number that main 13*de461c52SPiotr Wilczek or sub display uses. 14*de461c52SPiotr Wilczek samsung,dsim-config-e-pixel-format: pixel stream format for main 15*de461c52SPiotr Wilczek or sub display. 16*de461c52SPiotr Wilczek samsung,dsim-config-e-burst-mode: selects Burst mode in Video mode. 17*de461c52SPiotr Wilczek in Non-burst mode, RGB data area is filled with RGB data and 18*de461c52SPiotr Wilczek NULL packets, according to input bandwidth of RGB interface. 19*de461c52SPiotr Wilczek samsung,dsim-config-e-no-data-lane: data lane count used by Master. 20*de461c52SPiotr Wilczek samsung,dsim-config-e-byte-clk: select byte clock source. 21*de461c52SPiotr Wilczek It must be DSIM_PLL_OUT_DIV8. 22*de461c52SPiotr Wilczek DSIM_EXT_CLK_DIV8 and DSIM_EXT_CLK_BYPASSS are not supported. 23*de461c52SPiotr Wilczek samsung,dsim-config-hfp: HFP disable mode. 24*de461c52SPiotr Wilczek If set, DSI master ignores HFP area in VIDEO mode. 25*de461c52SPiotr Wilczek In command mode, this variable is ignored. 26*de461c52SPiotr Wilczek samsung,dsim-config-p: P value for PMS setting. 27*de461c52SPiotr Wilczek samsung,dsim-config-m: M value for PMS setting. 28*de461c52SPiotr Wilczek samsung,dsim-config-s: S value for PMS setting. 29*de461c52SPiotr Wilczek samsung,dsim-config-pll-stable-time: the PLL Timer for stability 30*de461c52SPiotr Wilczek of the ganerated clock. 31*de461c52SPiotr Wilczek samsung,dsim-config-esc-clk: escape clock frequency for getting 32*de461c52SPiotr Wilczek the escape clock prescaler value. 33*de461c52SPiotr Wilczek samsung,dsim-config-stop-holding-cnt: the interval value between 34*de461c52SPiotr Wilczek transmitting read packet (or write "set_tear_on" command) 35*de461c52SPiotr Wilczek and BTA request. After transmitting read packet or write 36*de461c52SPiotr Wilczek "set_tear_on" command, BTA requests to D-PHY automatically. 37*de461c52SPiotr Wilczek This counter value specifies the interval between them. 38*de461c52SPiotr Wilczek samsung,dsim-config-bta-timeout: the timer for BTA. This register 39*de461c52SPiotr Wilczek specifies time out from BTA request to change the direction 40*de461c52SPiotr Wilczek with respect to Tx escape clock. 41*de461c52SPiotr Wilczek samsung,dsim-config-rx-timeout: the timer for LP Rx mode timeout. 42*de461c52SPiotr Wilczek this register specifies time out on how long RxValid deasserts, 43*de461c52SPiotr Wilczek after RxLpdt asserts with respect to Tx escape clock. 44*de461c52SPiotr Wilczek - RxValid specifies Rx data valid indicator. 45*de461c52SPiotr Wilczek - RxLpdt specifies an indicator that D-PHY is under RxLpdt mode 46*de461c52SPiotr Wilczek - RxValid and RxLpdt specifies signal from D-PHY. 47*de461c52SPiotr Wilczek samsung,dsim-device-name: name of the device. 48*de461c52SPiotr Wilczek samsung,dsim-device-id: unique device id. 49*de461c52SPiotr Wilczek samsung,dsim-device-bus_id: bus id for identifing connected bus 50*de461c52SPiotr Wilczek and this bus id should be same as id of mipi_dsim_device. 51*de461c52SPiotr Wilczek 52*de461c52SPiotr WilczekOptional properties: 53*de461c52SPiotr Wilczek samsung,dsim-device-reverse-panel: reverse panel. 54*de461c52SPiotr Wilczek 55*de461c52SPiotr WilczekExample: 56*de461c52SPiotr Wilczek mipidsi@11c80000 { 57*de461c52SPiotr Wilczek compatible = "samsung,exynos-mipi-dsi"; 58*de461c52SPiotr Wilczek reg = <0x11c80000 0x5c>; 59*de461c52SPiotr Wilczek 60*de461c52SPiotr Wilczek samsung,dsim-config-e-interface = <1>; 61*de461c52SPiotr Wilczek samsung,dsim-config-e-virtual-ch = <0>; 62*de461c52SPiotr Wilczek samsung,dsim-config-e-pixel-format = <7>; 63*de461c52SPiotr Wilczek samsung,dsim-config-e-burst-mode = <1>; 64*de461c52SPiotr Wilczek samsung,dsim-config-e-no-data-lane = <3>; 65*de461c52SPiotr Wilczek samsung,dsim-config-e-byte-clk = <0>; 66*de461c52SPiotr Wilczek samsung,dsim-config-hfp = <1>; 67*de461c52SPiotr Wilczek 68*de461c52SPiotr Wilczek samsung,dsim-config-p = <3>; 69*de461c52SPiotr Wilczek samsung,dsim-config-m = <120>; 70*de461c52SPiotr Wilczek samsung,dsim-config-s = <1>; 71*de461c52SPiotr Wilczek 72*de461c52SPiotr Wilczek samsung,dsim-config-pll-stable-time = <500>; 73*de461c52SPiotr Wilczek samsung,dsim-config-esc-clk = <20000000>; 74*de461c52SPiotr Wilczek samsung,dsim-config-stop-holding-cnt = <0x7ff>; 75*de461c52SPiotr Wilczek samsung,dsim-config-bta-timeout = <0xff>; 76*de461c52SPiotr Wilczek samsung,dsim-config-rx-timeout = <0xffff>; 77*de461c52SPiotr Wilczek 78*de461c52SPiotr Wilczek samsung,dsim-device-id = <0xffffffff>; 79*de461c52SPiotr Wilczek samsung,dsim-device-bus-id = <0>; 80*de461c52SPiotr Wilczek 81*de461c52SPiotr Wilczek samsung,dsim-device-reverse-panel = <1>; 82*de461c52SPiotr Wilczek }; 83