~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/display/samsung/samsung,fimd.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/display/samsung/samsung,fimd.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Samsung S3C/S5P/Exynos SoC Fully Interactive Mobile Display (FIMD)
  8 
  9 maintainers:
 10   - Inki Dae <inki.dae@samsung.com>
 11   - Seung-Woo Kim <sw0312.kim@samsung.com>
 12   - Kyungmin Park <kyungmin.park@samsung.com>
 13   - Krzysztof Kozlowski <krzk@kernel.org>
 14 
 15 properties:
 16   compatible:
 17     enum:
 18       - samsung,s3c2443-fimd
 19       - samsung,s3c6400-fimd
 20       - samsung,s5pv210-fimd
 21       - samsung,exynos3250-fimd
 22       - samsung,exynos4210-fimd
 23       - samsung,exynos5250-fimd
 24       - samsung,exynos5420-fimd
 25 
 26   '#address-cells':
 27     const: 1
 28 
 29   clocks:
 30     maxItems: 2
 31 
 32   clock-names:
 33     items:
 34       - const: sclk_fimd
 35       - const: fimd
 36 
 37   display-timings:
 38     $ref: ../panel/display-timings.yaml#
 39 
 40   i80-if-timings:
 41     type: object
 42     additionalProperties: false
 43     description: |
 44       Timing configuration for lcd i80 interface support.
 45       The parameters are defined as::
 46       VCLK(internal)  __|??????|_____|??????|_____|??????|_____|??????|_____|??
 47                         :            :            :            :            :
 48       Address Output  --:<XXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XX
 49                         | cs-setup+1 |            :            :            :
 50                         |<---------->|            :            :            :
 51       Chip Select     ???????????????|____________:____________:____________|??
 52                                      | wr-setup+1 |            | wr-hold+1  |
 53                                      |<---------->|            |<---------->|
 54       Write Enable    ????????????????????????????|____________|???????????????
 55                                                   | wr-active+1|
 56                                                   |<---------->|
 57       Video Data      ----------------------------<XXXXXXXXXXXXXXXXXXXXXXXXX>--
 58 
 59     properties:
 60       cs-setup:
 61         $ref: /schemas/types.yaml#/definitions/uint32
 62         description:
 63           Clock cycles for the active period of address signal is enabled until
 64           chip select is enabled.
 65         default: 0
 66 
 67       wr-active:
 68         $ref: /schemas/types.yaml#/definitions/uint32
 69         description:
 70           Clock cycles for the active period of CS is enabled.
 71         default: 1
 72 
 73       wr-hold:
 74         $ref: /schemas/types.yaml#/definitions/uint32
 75         description:
 76           Clock cycles for the active period of CS is disabled until write
 77           signal is disabled.
 78         default: 0
 79 
 80       wr-setup:
 81         $ref: /schemas/types.yaml#/definitions/uint32
 82         description:
 83           Clock cycles for the active period of CS signal is enabled until
 84           write signal is enabled.
 85         default: 0
 86 
 87   iommus:
 88     minItems: 1
 89     maxItems: 2
 90 
 91   iommu-names:
 92     items:
 93       - const: m0
 94       - const: m1
 95 
 96   interrupts:
 97     items:
 98       - description: FIFO level
 99       - description: VSYNC
100       - description: LCD system
101 
102   interrupt-names:
103     items:
104       - const: fifo
105       - const: vsync
106       - const: lcd_sys
107 
108   power-domains:
109     maxItems: 1
110 
111   reg:
112     maxItems: 1
113 
114   samsung,invert-vden:
115     type: boolean
116     description:
117       Video enable signal is inverted.
118 
119   samsung,invert-vclk:
120     type: boolean
121     description:
122       Video clock signal is inverted.
123 
124   samsung,sysreg:
125     $ref: /schemas/types.yaml#/definitions/phandle
126     description:
127       Phandle to System Register syscon.
128 
129   '#size-cells':
130     const: 0
131 
132 patternProperties:
133   "^port@[0-4]+$":
134     $ref: /schemas/graph.yaml#/properties/port
135     description: |
136       Contains ports with port with index::
137        0 - for CAMIF0 input,
138        1 - for CAMIF1 input,
139        2 - for CAMIF2 input,
140        3 - for parallel output,
141        4 - for write-back interface
142 
143 required:
144   - compatible
145   - clocks
146   - clock-names
147   - interrupts
148   - interrupt-names
149   - reg
150 
151 allOf:
152   - if:
153       properties:
154         compatible:
155           contains:
156             const: samsung,exynos5420-fimd
157     then:
158       properties:
159         iommus:
160           minItems: 2
161           maxItems: 2
162 
163 additionalProperties: false
164 
165 examples:
166   - |
167     #include <dt-bindings/clock/exynos4.h>
168 
169     fimd@11c00000 {
170         compatible = "samsung,exynos4210-fimd";
171         interrupt-parent = <&combiner>;
172         reg = <0x11c00000 0x20000>;
173         interrupt-names = "fifo", "vsync", "lcd_sys";
174         interrupts = <11 0>, <11 1>, <11 2>;
175         clocks = <&clock CLK_SCLK_FIMD0>, <&clock CLK_FIMD0>;
176         clock-names = "sclk_fimd", "fimd";
177         power-domains = <&pd_lcd0>;
178         iommus = <&sysmmu_fimd0>;
179         samsung,sysreg = <&sys_reg>;
180 
181         #address-cells = <1>;
182         #size-cells = <0>;
183 
184         samsung,invert-vden;
185         samsung,invert-vclk;
186 
187         pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
188         pinctrl-names = "default";
189 
190         port@3 {
191             reg = <3>;
192 
193             fimd_dpi_ep: endpoint {
194                 remote-endpoint = <&lcd_ep>;
195             };
196         };
197     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php