devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rahul Sharma <r.sh.open@gmail.com>
To: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Rahul Sharma <rahul.sharma@samsung.com>,
	linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
	devicetree@vger.kernel.org, Kukjin Kim <kgene.kim@samsung.com>,
	"sw0312.kim" <sw0312.kim@samsung.com>,
	Inki Dae <inki.dae@samsung.com>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	sunil joshi <joshi@samsung.com>
Subject: Re: [PATCH v5 6/6] of/documentation: update with clock information for exynos hdmi subsystem
Date: Tue, 27 Aug 2013 10:35:36 +0530	[thread overview]
Message-ID: <CAPdUM4OKB00KuB+_Go8b0bGJthy1tXF-RuCVyCOLpKRbUtP_Sg@mail.gmail.com> (raw)
In-Reply-To: <9840790.B5asg6Si2U@flatron>

On 27 August 2013 05:10, Tomasz Figa <tomasz.figa@gmail.com> wrote:
> Hi Rahul,
>
> On Monday 26 of August 2013 15:08:21 Rahul Sharma wrote:
>> Adding information about clocks to the binding documentation
>> for exynos mixer and hdmi.
>>
>> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
>> ---
>>  Documentation/devicetree/bindings/video/exynos_hdmi.txt  |   14
>> +++++++++++++- Documentation/devicetree/bindings/video/exynos_mixer.txt
>> |    4 ++++ 2 files changed, 17 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/video/exynos_hdmi.txt
>> b/Documentation/devicetree/bindings/video/exynos_hdmi.txt index
>> 323983b..94aaa7d 100644
>> --- a/Documentation/devicetree/bindings/video/exynos_hdmi.txt
>> +++ b/Documentation/devicetree/bindings/video/exynos_hdmi.txt
>> @@ -12,7 +12,19 @@ Required properties:
>>       a) phandle of the gpio controller node.
>>       b) pin number within the gpio controller.
>>       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.
>
> Isn't aclk_200_disp1 a name specific to Exynos5 SoCs? AFAIK this binding
> is also used for other SoCs, including Exynos4 and probably S5PV210, so it
> should be written to either be SoC-agnostic or account for all supported
> SoCs. What about following descriptions:
>
> Gate of HDMI IP block bus clock.
>
>> +     b) sclk_hdmi: It is required for gate operation on sclk_hdmi clock
>> +             which clocks hdmi IP.
>
> Gate of HDMI special clock.
>
>> +     c) sclk_pixel: Parent for mux mout_hdmi.
>
> Pixel special clock, one of two possible inputs of HDMI clock mux.
>
>> +     d) sclk_hdmiphy: Parent for mux mout_hdmi.
>
> HDMI PHY clock output, one of two possible inputs of HDMI clock mux.
>
>> +     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.
>
> HDMI clock mux, used to select between clock generated by HDMI PHY and
> alternative clock source that can be used until HDMI PHY is set up.
>
>> +- clock-names: aliases as per driver requirements for above clock IDs:
>> +     "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy" and "mout_hdmi".
>>  Example:
>>
>>       hdmi {
>> diff --git a/Documentation/devicetree/bindings/video/exynos_mixer.txt
>> b/Documentation/devicetree/bindings/video/exynos_mixer.txt index
>> 3334b0a..94b40b6 100644
>> --- a/Documentation/devicetree/bindings/video/exynos_mixer.txt
>> +++ b/Documentation/devicetree/bindings/video/exynos_mixer.txt
>> @@ -10,6 +10,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
>
> Gate of Mixer IP bus clock.
>
>> +             which clocks the display1 block.
>> +     b) sclk_hdmi: Parent for mux mout_mixer.
>
> I'm not sure why this clock is needed here. Could you explain what role it
> plays in functioning of the Mixer IP?
>
I have done above rephrasing.

For exynos4 socs, sclk_mixer can have sclk_hdmi or sclk_dac as inputs.
mout_mixer
is configured to select sclk_hdmi. I am not sure that how sclk_mixer
is utilized inside
mixer hardware.

regards,
Rahul Sharma.

> Best regards,
> Tomasz
>

  reply	other threads:[~2013-08-27  5:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26  9:38 [PATCH v5 0/6] ARM: dts: add support for exynos hdmi subsystem Rahul Sharma
2013-08-26  9:38 ` [PATCH v5 1/6] ARM: dts: add mixer clocks to mixer node for Exynos5250 Rahul Sharma
2013-08-26  9:38 ` [PATCH v5 2/6] ARM: dts: add clocks to hdmi dt node for exynos5250 Rahul Sharma
2013-08-26  9:38 ` [PATCH v5 3/6] ARM: dts: add i2c device nodes for Exynos5420 Rahul Sharma
2013-08-26  9:38 ` [PATCH v5 4/6] ARM: dts: add dt nodes for exynos5420 hdmi subsystem Rahul Sharma
2013-08-26 23:29   ` Tomasz Figa
2013-08-27  3:56     ` Rahul Sharma
2013-08-26  9:38 ` [PATCH v5 5/6] ARM: dts: add hdmi hpd gpio pinctrl node for exynos5420 Rahul Sharma
2013-08-26  9:38 ` [PATCH v5 6/6] of/documentation: update with clock information for exynos hdmi subsystem Rahul Sharma
2013-08-26 23:40   ` Tomasz Figa
2013-08-27  5:05     ` Rahul Sharma [this message]
2013-08-26 23:42 ` [PATCH v5 0/6] ARM: dts: add support " Tomasz Figa
2013-08-27  5:29   ` Rahul Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPdUM4OKB00KuB+_Go8b0bGJthy1tXF-RuCVyCOLpKRbUtP_Sg@mail.gmail.com \
    --to=r.sh.open@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=inki.dae@samsung.com \
    --cc=joshi@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=rahul.sharma@samsung.com \
    --cc=s.nawrocki@samsung.com \
    --cc=sw0312.kim@samsung.com \
    --cc=tomasz.figa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).