Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363907

[PATCH v5 16/21] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

From Chanwoo Choi <cw00.choi@samsung.com>
Newsgroups linux.kernel
Subject [PATCH v5 16/21] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12
Date 2016-03-24 05:30 +0100
Message-ID <rg54f-5DB-37@gated-at.bofh.it> (permalink)
References <rg54e-5DB-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds the bus nodes using VDD_INT for Exynos4x12 SoC.
Exynos4x12 has the following AXI buses to translate data between
DRAM and sub-blocks.

Following list specifies the detailed relation between DRAM and sub-blocks:
- ACLK100 clock for PERIL/PERIR/MFC(PCLK)
- ACLK160 clock for CAM/TV/LCD
: The minimum clock of ACLK160 should be over 160MHz.
  When drop the clock under 160MHz, show the broken image.
- ACLK133 clock for FSYS
- GDL clock for LEFTBUS
- GDR clock for RIGHTBUS
- SCLK_MFC clock for MFC

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/boot/dts/exynos4x12.dtsi | 106 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi
index 99a0f4ca3d47..e5173107ed44 100644
--- a/arch/arm/boot/dts/exynos4x12.dtsi
+++ b/arch/arm/boot/dts/exynos4x12.dtsi
@@ -349,6 +349,112 @@
 			opp-hz = /bits/ 64 <267000000>;
 		};
 	};
+
+	bus_leftbus: bus_leftbus {
+		compatible = "samsung,exynos-bus";
+		clocks = <&clock CLK_DIV_GDL>;
+		clock-names = "bus";
+		operating-points-v2 = <&bus_leftbus_opp_table>;
+		status = "disabled";
+	};
+
+	bus_rightbus: bus_rightbus {
+		compatible = "samsung,exynos-bus";
+		clocks = <&clock CLK_DIV_GDR>;
+		clock-names = "bus";
+		operating-points-v2 = <&bus_leftbus_opp_table>;
+		status = "disabled";
+	};
+
+	bus_display: bus_display {
+		compatible = "samsung,exynos-bus";
+		clocks = <&clock CLK_ACLK160>;
+		clock-names = "bus";
+		operating-points-v2 = <&bus_display_opp_table>;
+		status = "disabled";
+	};
+
+	bus_fsys: bus_fsys {
+		compatible = "samsung,exynos-bus";
+		clocks = <&clock CLK_ACLK133>;
+		clock-names = "bus";
+		operating-points-v2 = <&bus_fsys_opp_table>;
+		status = "disabled";
+	};
+
+	bus_peri: bus_peri {
+		compatible = "samsung,exynos-bus";
+		clocks = <&clock CLK_ACLK100>;
+		clock-names = "bus";
+		operating-points-v2 = <&bus_peri_opp_table>;
+		status = "disabled";
+	};
+
+	bus_mfc: bus_mfc {
+		compatible = "samsung,exynos-bus";
+		clocks = <&clock CLK_SCLK_MFC>;
+		clock-names = "bus";
+		operating-points-v2 = <&bus_leftbus_opp_table>;
+		status = "disabled";
+	};
+
+	bus_leftbus_opp_table: opp_table3 {
+		compatible = "operating-points-v2";
+		opp-shared;
+
+		opp@100000000 {
+			opp-hz = /bits/ 64 <100000000>;
+			opp-microvolt = <900000>;
+		};
+		opp@134000000 {
+			opp-hz = /bits/ 64 <134000000>;
+			opp-microvolt = <925000>;
+		};
+		opp@160000000 {
+			opp-hz = /bits/ 64 <160000000>;
+			opp-microvolt = <950000>;
+		};
+		opp@200000000 {
+			opp-hz = /bits/ 64 <200000000>;
+			opp-microvolt = <1000000>;
+		};
+	};
+
+	bus_display_opp_table: opp_table4 {
+		compatible = "operating-points-v2";
+		opp-shared;
+
+		opp@160000000 {
+			opp-hz = /bits/ 64 <160000000>;
+		};
+		opp@200000000 {
+			opp-hz = /bits/ 64 <200000000>;
+		};
+	};
+
+	bus_fsys_opp_table: opp_table5 {
+		compatible = "operating-points-v2";
+		opp-shared;
+
+		opp@100000000 {
+			opp-hz = /bits/ 64 <100000000>;
+		};
+		opp@134000000 {
+			opp-hz = /bits/ 64 <134000000>;
+		};
+	};
+
+	bus_peri_opp_table: opp_table6 {
+		compatible = "operating-points-v2";
+		opp-shared;
+
+		opp@50000000 {
+			opp-hz = /bits/ 64 <50000000>;
+		};
+		opp@100000000 {
+			opp-hz = /bits/ 64 <100000000>;
+		};
+	};
 };
 
 &combiner {
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency driver  and new passive governor Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:30 +0100
  [PATCH v5 15/21] ARM: dts: Add bus nodes using VDD_MIF for Exynos4x12 Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:30 +0100
  [PATCH v5 20/21] ARM: dts: Expand the voltage range of buck1/3  regulator for exynos4412-odroidu3 Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:30 +0100
  [PATCH v5 16/21] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12 Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:30 +0100
  [PATCH v5 02/21] PM / devfreq: exynos: Add documentation for generic  exynos bus frequency driver Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:30 +0100
  [PATCH v5 07/21] PM / devfreq: exynos: Add support of bus frequency of  sub-blocks using passive governor Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:40 +0100
  [PATCH v5 09/21] PM / devfreq: exynos: Add the detailed correlation  between sub-blocks and power line Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:40 +0100
  Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:40 +0100
    Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Markus Reichl <m.reichl@fivetechno.de> - 2016-03-24 14:50 +0100
      Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Tobias Jakobi <tjakobi@math.uni-bielefeld.de> - 2016-03-24 15:00 +0100
        Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Chanwoo Choi <cwchoi00@gmail.com> - 2016-03-24 15:20 +0100
      Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Chanwoo Choi <cwchoi00@gmail.com> - 2016-03-24 15:30 +0100
    Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Anand Moon <linux.amoon@gmail.com> - 2016-03-27 14:30 +0200
      Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Chanwoo Choi <cwchoi00@gmail.com> - 2016-03-27 16:00 +0200
  [PATCH v5 11/21] MAINTAINERS: Add samsung bus frequency driver entry Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:40 +0100
  [PATCH v5 05/21] PM / devfreq: Add governer type with unique number Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:40 +0100
  [PATCH v5 13/21] ARM: dts: Add DMC bus frequency for  exynos3250-rinato/monk Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:40 +0100
  [PATCH v5 04/21] PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER  notifier Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-24 05:40 +0100
  Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Markus Reichl <m.reichl@fivetechno.de> - 2016-03-24 15:40 +0100
    Re: [PATCH v5 00/21] PM / devferq: Add generic exynos bus frequency  driver and new passive governor Chanwoo Choi <cw00.choi@samsung.com> - 2016-03-25 00:40 +0100

csiph-web