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