Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dt-bindings: samsung,exynos4212-fimc-lite: convert to dtschema

Convert the Samsung Exynos SoC series camera host interface (FIMC-LITE)
bindings to DT schema. Changes during conversion - adjust to existing
DTS and Linux driver: add iommus and power-domains.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mauro Carvalho Chehab
dce26f26 67b8786a

+64 -16
-16
Documentation/devicetree/bindings/media/exynos-fimc-lite.txt
··· 1 - Exynos4x12/Exynos5 SoC series camera host interface (FIMC-LITE) 2 - 3 - Required properties: 4 - 5 - - compatible : should be one of: 6 - "samsung,exynos4212-fimc-lite" for Exynos4212/4412 SoCs, 7 - "samsung,exynos5250-fimc-lite" for Exynos5250 compatible 8 - devices; 9 - - reg : physical base address and size of the device memory mapped 10 - registers; 11 - - interrupts : should contain FIMC-LITE interrupt; 12 - - clocks : FIMC LITE gate clock should be specified in this property. 13 - - clock-names : should contain "flite" entry. 14 - 15 - Each FIMC device should have an alias in the aliases node, in the form of 16 - fimc-lite<n>, where <n> is an integer specifying the IP block instance.
+63
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 + };
+1
MAINTAINERS
··· 18523 18523 S: Supported 18524 18524 Q: https://patchwork.linuxtv.org/project/linux-media/list/ 18525 18525 F: Documentation/devicetree/bindings/media/samsung,exynos4210-csis.yaml 18526 + F: Documentation/devicetree/bindings/media/samsung,exynos4212-fimc-lite.yaml 18526 18527 F: drivers/media/platform/samsung/exynos4-is/ 18527 18528 18528 18529 SAMSUNG SOC CLOCK DRIVERS