mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 11:06:58 +07:00
aeefb36832
This patch adds device tree support for exynos_drm_gsc. This patch also fixed build issue on non-Exynos platforms, thus dependency on !ARCH_MULTIPLATFORM can be now removed. The driver cannot be used simultaneously with V4L2 Mem2Mem GScaller driver thought. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
35 lines
852 B
Plaintext
35 lines
852 B
Plaintext
* Samsung Exynos5 G-Scaler device
|
|
|
|
G-Scaler is used for scaling and color space conversion on EXYNOS5 SoCs.
|
|
|
|
Required properties:
|
|
- compatible: should be "samsung,exynos5-gsc"
|
|
- reg: should contain G-Scaler physical address location and length.
|
|
- interrupts: should contain G-Scaler interrupt number
|
|
|
|
Optional properties:
|
|
- samsung,sysreg: handle to syscon used to control the system registers to
|
|
set writeback input and destination
|
|
|
|
Example:
|
|
|
|
gsc_0: gsc@0x13e00000 {
|
|
compatible = "samsung,exynos5-gsc";
|
|
reg = <0x13e00000 0x1000>;
|
|
interrupts = <0 85 0>;
|
|
};
|
|
|
|
Aliases:
|
|
Each G-Scaler node should have a numbered alias in the aliases node,
|
|
in the form of gscN, N = 0...3. G-Scaler driver uses these aliases
|
|
to retrieve the device IDs using "of_alias_get_id()" call.
|
|
|
|
Example:
|
|
|
|
aliases {
|
|
gsc0 =&gsc_0;
|
|
gsc1 =&gsc_1;
|
|
gsc2 =&gsc_2;
|
|
gsc3 =&gsc_3;
|
|
};
|