^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Samsung Exynos5 G-Scaler device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) G-Scaler is used for scaling and color space conversion on Exynos5 SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - compatible: should be one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) "samsung,exynos5250-gsc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) "samsung,exynos5420-gsc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) "samsung,exynos5433-gsc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) "samsung,exynos5-gsc" (deprecated)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - reg: should contain G-Scaler physical address location and length.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - interrupts: should contain G-Scaler interrupt number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - samsung,sysreg: handle to syscon used to control the system registers to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) set writeback input and destination
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) gsc_0: gsc@13e00000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) compatible = "samsung,exynos5250-gsc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reg = <0x13e00000 0x1000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) interrupts = <0 85 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Aliases:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Each G-Scaler node should have a numbered alias in the aliases node,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) in the form of gscN, N = 0...3. G-Scaler driver uses these aliases
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) to retrieve the device IDs using "of_alias_get_id()" call.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) aliases {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) gsc0 =&gsc_0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) gsc1 =&gsc_1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) gsc2 =&gsc_2;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) gsc3 =&gsc_3;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) };