Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / media / samsung,exynos4212-fimc-lite.yaml
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/media/samsung,exynos4212-fimc-lite.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Samsung Exynos SoC series camera host interface (FIMC-LITE)
8
9 maintainers:
10   - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11   - Sylwester Nawrocki <s.nawrocki@samsung.com>
12
13 description:
14   Each FIMC device should have an alias in the aliases node, in the form of
15   fimc-lite<n>, where <n> is an integer specifying the IP block instance.
16
17 properties:
18   compatible:
19     enum:
20       - samsung,exynos4212-fimc-lite
21       - samsung,exynos5250-fimc-lite
22
23   reg:
24     maxItems: 1
25
26   clocks:
27     maxItems: 1
28
29   clock-names:
30     items:
31       - const: flite
32
33   interrupts:
34     maxItems: 1
35
36   iommus:
37     maxItems: 1
38
39   power-domains:
40     maxItems: 1
41
42 required:
43   - compatible
44   - reg
45   - clocks
46   - clock-names
47   - interrupts
48
49 additionalProperties: false
50
51 examples:
52   - |
53     #include <dt-bindings/clock/exynos4.h>
54     #include <dt-bindings/interrupt-controller/arm-gic.h>
55     fimc-lite@12390000 {
56         compatible = "samsung,exynos4212-fimc-lite";
57         reg = <0x12390000 0x1000>;
58         clocks = <&isp_clock CLK_ISP_FIMC_LITE0>;
59         clock-names = "flite";
60         interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
61         power-domains = <&pd_isp>;
62         iommus = <&sysmmu_fimc_lite0>;
63     };