diff mbox

[5/5] ARM: dts: update binding documentation for hdmi subsystem

Message ID 1371706911-27016-6-git-send-email-rahul.sharma@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rahul Sharma June 20, 2013, 5:41 a.m. UTC
Adding information about clocks to mixer and hdmi dt
nodes. Also removed the updated fields for hpd property.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
---
 .../devicetree/bindings/video/exynos_hdmi.txt         |   17 ++++++++++++++---
 .../devicetree/bindings/video/exynos_mixer.txt        |    4 ++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Comments

Sachin Kamat June 20, 2013, 6:37 a.m. UTC | #1
On 20 June 2013 11:11, Rahul Sharma <rahul.sharma@samsung.com> wrote:
> Adding information about clocks to mixer and hdmi dt
> nodes. Also removed the updated fields for hpd property.
>
> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>

Please rebase you patch on top of [1] or fold this into it.

[1] http://permalink.gmane.org/gmane.linux.drivers.devicetree/36162


> ---
>  .../devicetree/bindings/video/exynos_hdmi.txt         |   17 ++++++++++++++---
>  .../devicetree/bindings/video/exynos_mixer.txt        |    4 ++++
>  2 files changed, 18 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/video/exynos_hdmi.txt b/Documentation/devicetree/bindings/video/exynos_hdmi.txt
> index 589edee..5dca3af 100644
> --- a/Documentation/devicetree/bindings/video/exynos_hdmi.txt
> +++ b/Documentation/devicetree/bindings/video/exynos_hdmi.txt
> @@ -8,9 +8,20 @@ Required properties:
>  - hpd-gpio: following information about the hotplug gpio pin.
>         a) phandle of the gpio controller node.
>         b) pin number within the gpio controller.
> -       c) pin function mode.
> -       d) optional flags and pull up/down.
> -       e) drive strength.
> +       c) optional flags and pull up/down.
> +- clocks: list of clock IDs from SoC clock driver.
> +       a) hdmi: It is required for gate operation on aclk_200_disp1 clock
> +               which clocks the display1 block.
> +       b) sclk_hdmi: It is required for gate operation on sclk_hdmi clock
> +               which clocks hdmi IP.
> +       c) sclk_pixel: Parent for mux mout_hdmi.
> +       d) sclk_hdmiphy: Parent for mux mout_hdmi.
> +       e) mout_hdmi: It is required by the driver to switch between the 2
> +               parents i.e. sclk_pixel and sclk_hdmiphy. If hdmiphy is stable
> +               after configuration, parent is set to sclk_hdmiphy else
> +               sclk_pixel.
> +- clock-names: aliases as per driver requirements for above clock IDs:
> +       "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy" and "mout_hdmi".
>
>  Example:
>
> diff --git a/Documentation/devicetree/bindings/video/exynos_mixer.txt b/Documentation/devicetree/bindings/video/exynos_mixer.txt
> index 9b2ea03..54790a2 100644
> --- a/Documentation/devicetree/bindings/video/exynos_mixer.txt
> +++ b/Documentation/devicetree/bindings/video/exynos_mixer.txt
> @@ -5,6 +5,10 @@ Required properties:
>  - reg: physical base address of the mixer and length of memory mapped
>         region.
>  - interrupts: interrupt number to the cpu.
> +- clocks: list of clock IDs from SoC clock driver.
> +       a) mixer: It is required for gate operation on aclk_200_disp1 clock
> +               which clocks the display1 block.
> +       b) sclk_hdmi: Parent for mux mout_mixer.
>
>  Example:
>
> --
> 1.7.10.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/video/exynos_hdmi.txt b/Documentation/devicetree/bindings/video/exynos_hdmi.txt
index 589edee..5dca3af 100644
--- a/Documentation/devicetree/bindings/video/exynos_hdmi.txt
+++ b/Documentation/devicetree/bindings/video/exynos_hdmi.txt
@@ -8,9 +8,20 @@  Required properties:
 - hpd-gpio: following information about the hotplug gpio pin.
 	a) phandle of the gpio controller node.
 	b) pin number within the gpio controller.
-	c) pin function mode.
-	d) optional flags and pull up/down.
-	e) drive strength.
+	c) optional flags and pull up/down.
+- clocks: list of clock IDs from SoC clock driver.
+	a) hdmi: It is required for gate operation on aclk_200_disp1 clock
+		which clocks the display1 block.
+	b) sclk_hdmi: It is required for gate operation on sclk_hdmi clock
+		which clocks hdmi IP.
+	c) sclk_pixel: Parent for mux mout_hdmi.
+	d) sclk_hdmiphy: Parent for mux mout_hdmi.
+	e) mout_hdmi: It is required by the driver to switch between the 2
+		parents i.e. sclk_pixel and sclk_hdmiphy. If hdmiphy is stable
+		after configuration, parent is set to sclk_hdmiphy else
+		sclk_pixel.
+- clock-names: aliases as per driver requirements for above clock IDs:
+	"hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy" and "mout_hdmi".
 
 Example:
 
diff --git a/Documentation/devicetree/bindings/video/exynos_mixer.txt b/Documentation/devicetree/bindings/video/exynos_mixer.txt
index 9b2ea03..54790a2 100644
--- a/Documentation/devicetree/bindings/video/exynos_mixer.txt
+++ b/Documentation/devicetree/bindings/video/exynos_mixer.txt
@@ -5,6 +5,10 @@  Required properties:
 - reg: physical base address of the mixer and length of memory mapped
 	region.
 - interrupts: interrupt number to the cpu.
+- clocks: list of clock IDs from SoC clock driver.
+	a) mixer: It is required for gate operation on aclk_200_disp1 clock
+		which clocks the display1 block.
+	b) sclk_hdmi: Parent for mux mout_mixer.
 
 Example: