All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] DT/ARCH updates for MFC
@ 2013-08-14 11:41 Arun Kumar K
  2013-08-14 11:41 ` [PATCH v3 1/4] ARM: dts: Update clocks entry in MFC binding documentation Arun Kumar K
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Arun Kumar K @ 2013-08-14 11:41 UTC (permalink / raw)
  To: linux-samsung-soc, devicetree
  Cc: kgene.kim, k.debski, s.nawrocki, sachin.kamat, arun.kk

The patch series updates the DT nodes of MFC in Exynos4,
Exynos 5250 and creates node in 5420.
The memory reservation patch for MFC v7 firmware is omitted
in this series as its no longer needed after the new CMA DT
framework by Marek Szyprowski.

Changes from v2:
- Removed register and interrupt properties from common
exynos5.dtsi file as per Kukjin Kim's suggestion.
- Dropped v7 memory reservation patch

Changes from v1:
- Made status disabled in dtsi and enable in dts
as suggested by Sachin Kamat.
- Moved common properties to exynos5.dtsi as
suggested by Chander.
- Updated binding documentation for special clk removal
- Updated exynos4 dtsi

Arun Kumar K (4):
  ARM: dts: Update clocks entry in MFC binding documentation
  ARM: dts: Remove unsused MFC clock from exynos4
  ARM: dts: Update 5250 MFC node
  ARM: dts: Add MFC node for exynos 5420

 .../devicetree/bindings/media/s5p-mfc.txt          |   10 +++++-----
 arch/arm/boot/dts/exynos4.dtsi                     |    4 ++--
 arch/arm/boot/dts/exynos5250.dtsi                  |    2 ++
 arch/arm/boot/dts/exynos5420.dtsi                  |    8 ++++++++
 4 files changed, 17 insertions(+), 7 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v3 1/4] ARM: dts: Update clocks entry in MFC binding documentation
  2013-08-14 11:41 [PATCH v3 0/4] DT/ARCH updates for MFC Arun Kumar K
@ 2013-08-14 11:41 ` Arun Kumar K
  2013-08-14 11:41 ` [PATCH v3 2/4] ARM: dts: Remove unsused MFC clock from exynos4 Arun Kumar K
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Arun Kumar K @ 2013-08-14 11:41 UTC (permalink / raw)
  To: linux-samsung-soc, devicetree
  Cc: kgene.kim, k.debski, s.nawrocki, sachin.kamat, arun.kk

MFC driver is updated to use only one clock instead of
two. Correcting this in the binding documentation.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
---
 .../devicetree/bindings/media/s5p-mfc.txt          |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/s5p-mfc.txt b/Documentation/devicetree/bindings/media/s5p-mfc.txt
index df37b02..d75c3e5 100644
--- a/Documentation/devicetree/bindings/media/s5p-mfc.txt
+++ b/Documentation/devicetree/bindings/media/s5p-mfc.txt
@@ -15,9 +15,9 @@ Required properties:
 	  mapped region.
 
   - interrupts : MFC interrupt number to the CPU.
-  - clocks : from common clock binding: handle to mfc clocks.
-  - clock-names : from common clock binding: must contain "sclk_mfc" and "mfc",
-		  corresponding to entries in the clocks property.
+  - clocks : from common clock binding: handle to mfc clock.
+  - clock-names : from common clock binding: must contain "mfc",
+		  corresponding to entry in the clocks property.
 
   - samsung,mfc-r : Base address of the first memory bank used by MFC
 		    for DMA contiguous memory allocation and its size.
@@ -37,8 +37,8 @@ mfc: codec@13400000 {
 	reg = <0x13400000 0x10000>;
 	interrupts = <0 94 0>;
 	samsung,power-domain = <&pd_mfc>;
-	clocks = <&clock 170>, <&clock 273>;
-	clock-names = "sclk_mfc", "mfc";
+	clocks = <&clock 273>;
+	clock-names = "mfc";
 };
 
 Board specific DT entry:
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v3 2/4] ARM: dts: Remove unsused MFC clock from exynos4
  2013-08-14 11:41 [PATCH v3 0/4] DT/ARCH updates for MFC Arun Kumar K
  2013-08-14 11:41 ` [PATCH v3 1/4] ARM: dts: Update clocks entry in MFC binding documentation Arun Kumar K
@ 2013-08-14 11:41 ` Arun Kumar K
  2013-08-14 11:41 ` [PATCH v3 3/4] ARM: dts: Update 5250 MFC node Arun Kumar K
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Arun Kumar K @ 2013-08-14 11:41 UTC (permalink / raw)
  To: linux-samsung-soc, devicetree
  Cc: kgene.kim, k.debski, s.nawrocki, sachin.kamat, arun.kk

Removes the unused sclk_mfc from exynos4 dtsi file.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
---
 arch/arm/boot/dts/exynos4.dtsi |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
index 597cfcf..42aa0c9 100644
--- a/arch/arm/boot/dts/exynos4.dtsi
+++ b/arch/arm/boot/dts/exynos4.dtsi
@@ -248,8 +248,8 @@
 		reg = <0x13400000 0x10000>;
 		interrupts = <0 94 0>;
 		samsung,power-domain = <&pd_mfc>;
-		clocks = <&clock 170>, <&clock 273>;
-		clock-names = "sclk_mfc", "mfc";
+		clocks = <&clock 273>;
+		clock-names = "mfc";
 		status = "disabled";
 	};
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v3 3/4] ARM: dts: Update 5250 MFC node
  2013-08-14 11:41 [PATCH v3 0/4] DT/ARCH updates for MFC Arun Kumar K
  2013-08-14 11:41 ` [PATCH v3 1/4] ARM: dts: Update clocks entry in MFC binding documentation Arun Kumar K
  2013-08-14 11:41 ` [PATCH v3 2/4] ARM: dts: Remove unsused MFC clock from exynos4 Arun Kumar K
@ 2013-08-14 11:41 ` Arun Kumar K
  2013-08-14 11:41 ` [PATCH v3 4/4] ARM: dts: Add MFC node for exynos 5420 Arun Kumar K
  2013-08-18 19:47 ` [PATCH v3 0/4] DT/ARCH updates for MFC Kukjin Kim
  4 siblings, 0 replies; 6+ messages in thread
From: Arun Kumar K @ 2013-08-14 11:41 UTC (permalink / raw)
  To: linux-samsung-soc, devicetree
  Cc: kgene.kim, k.debski, s.nawrocki, sachin.kamat, arun.kk

The patch adds the MFC clock entry for the 5250 SoC.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
---
 arch/arm/boot/dts/exynos5250.dtsi |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 88589b7..7c7b0d2 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -176,6 +176,8 @@
 		reg = <0x11000000 0x10000>;
 		interrupts = <0 96 0>;
 		samsung,power-domain = <&pd_mfc>;
+		clocks = <&clock 266>;
+		clock-names = "mfc";
 	};
 
 	rtc {
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v3 4/4] ARM: dts: Add MFC node for exynos 5420
  2013-08-14 11:41 [PATCH v3 0/4] DT/ARCH updates for MFC Arun Kumar K
                   ` (2 preceding siblings ...)
  2013-08-14 11:41 ` [PATCH v3 3/4] ARM: dts: Update 5250 MFC node Arun Kumar K
@ 2013-08-14 11:41 ` Arun Kumar K
  2013-08-18 19:47 ` [PATCH v3 0/4] DT/ARCH updates for MFC Kukjin Kim
  4 siblings, 0 replies; 6+ messages in thread
From: Arun Kumar K @ 2013-08-14 11:41 UTC (permalink / raw)
  To: linux-samsung-soc, devicetree
  Cc: kgene.kim, k.debski, s.nawrocki, sachin.kamat, arun.kk

The patch adds MFC nodes for exynos 5420.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
---
 arch/arm/boot/dts/exynos5420.dtsi |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 9e90d1e..bbf71e9 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -65,6 +65,14 @@
 		#clock-cells = <1>;
 	};
 
+	codec@11000000 {
+		compatible = "samsung,mfc-v7";
+		reg = <0x11000000 0x10000>;
+		interrupts = <0 96 0>;
+		clocks = <&clock 401>;
+		clock-names = "mfc";
+	};
+
 	mct@101C0000 {
 		compatible = "samsung,exynos4210-mct";
 		reg = <0x101C0000 0x800>;
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v3 0/4] DT/ARCH updates for MFC
  2013-08-14 11:41 [PATCH v3 0/4] DT/ARCH updates for MFC Arun Kumar K
                   ` (3 preceding siblings ...)
  2013-08-14 11:41 ` [PATCH v3 4/4] ARM: dts: Add MFC node for exynos 5420 Arun Kumar K
@ 2013-08-18 19:47 ` Kukjin Kim
  4 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2013-08-18 19:47 UTC (permalink / raw)
  To: Arun Kumar K
  Cc: linux-samsung-soc, devicetree, kgene.kim, k.debski, s.nawrocki,
	sachin.kamat

On 08/14/13 20:41, Arun Kumar K wrote:
> The patch series updates the DT nodes of MFC in Exynos4,
> Exynos 5250 and creates node in 5420.
> The memory reservation patch for MFC v7 firmware is omitted
> in this series as its no longer needed after the new CMA DT
> framework by Marek Szyprowski.
>
> Changes from v2:
> - Removed register and interrupt properties from common
> exynos5.dtsi file as per Kukjin Kim's suggestion.
> - Dropped v7 memory reservation patch
>
> Changes from v1:
> - Made status disabled in dtsi and enable in dts
> as suggested by Sachin Kamat.
> - Moved common properties to exynos5.dtsi as
> suggested by Chander.
> - Updated binding documentation for special clk removal
> - Updated exynos4 dtsi
>
> Arun Kumar K (4):
>    ARM: dts: Update clocks entry in MFC binding documentation
>    ARM: dts: Remove unsused MFC clock from exynos4
>    ARM: dts: Update 5250 MFC node
>    ARM: dts: Add MFC node for exynos 5420
>
>   .../devicetree/bindings/media/s5p-mfc.txt          |   10 +++++-----
>   arch/arm/boot/dts/exynos4.dtsi                     |    4 ++--
>   arch/arm/boot/dts/exynos5250.dtsi                  |    2 ++
>   arch/arm/boot/dts/exynos5420.dtsi                  |    8 ++++++++
>   4 files changed, 17 insertions(+), 7 deletions(-)
>

Applied this whole series, thanks.

Kukjin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-18 19:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 11:41 [PATCH v3 0/4] DT/ARCH updates for MFC Arun Kumar K
2013-08-14 11:41 ` [PATCH v3 1/4] ARM: dts: Update clocks entry in MFC binding documentation Arun Kumar K
2013-08-14 11:41 ` [PATCH v3 2/4] ARM: dts: Remove unsused MFC clock from exynos4 Arun Kumar K
2013-08-14 11:41 ` [PATCH v3 3/4] ARM: dts: Update 5250 MFC node Arun Kumar K
2013-08-14 11:41 ` [PATCH v3 4/4] ARM: dts: Add MFC node for exynos 5420 Arun Kumar K
2013-08-18 19:47 ` [PATCH v3 0/4] DT/ARCH updates for MFC Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.