devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
To: Shirish S <s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Cc: "dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
	"inki.dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org"
	<inki.dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org"
	<seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
	"sw0312.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org"
	<sw0312.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	"shirish-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org"
	<shirish-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Subject: Re: [PATCH 4/4] drm: exynos: hdmi: Add dt support for hdmiphy settings
Date: Fri, 15 Nov 2013 16:17:32 +0000	[thread overview]
Message-ID: <20131115161732.GG24831@e106331-lin.cambridge.arm.com> (raw)
In-Reply-To: <1383034352-15494-5-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>

On Tue, Oct 29, 2013 at 08:12:32AM +0000, Shirish S wrote:
> This patch adds dt support to hdmiphy config settings
> as it is board specific and depends on the signal pattern
> of board.
> 
> Signed-off-by: Shirish S <s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> ---
>  .../devicetree/bindings/video/exynos_hdmi.txt      |   34 +++++++++
>  drivers/gpu/drm/exynos/exynos_hdmi.c               |   79 +++++++++++++++++++-
>  2 files changed, 109 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/video/exynos_hdmi.txt b/Documentation/devicetree/bindings/video/exynos_hdmi.txt
> index 323983b..c685c90 100644
> --- a/Documentation/devicetree/bindings/video/exynos_hdmi.txt
> +++ b/Documentation/devicetree/bindings/video/exynos_hdmi.txt
> @@ -13,6 +13,32 @@ Required properties:
>  	b) pin number within the gpio controller.
>  	c) optional flags and pull up/down.
>  
> +- hdmiphy-configs: following information about the hdmiphy config settings.
> +        a) "nr-configs" specifies the number of pixel clocks supported.

I really don't see why this is necessary. It's redundant, and it's easy
for the driver to derive this from the number of config<N> nodes, which
it can count.

> +	b) "config<N>: config<N>" specifies the phy configuration settings,
> +		wher 'N' denotes the number of iteration.

The number of iteration?

> +		"pixel-clock" specifies the pixel clock
> +		"conifig-de-emphasis-level" specifies the 8 bit configuration
> +		of Data De-emphasis levels,below shown is example for
> +		data de-emphasis register at address 0x145D0040.
> +			hdmiphy@38[16] for bits[3:0] permitted values:
> +				0000 means 760 mVdiff && 1111 means 1400 mVdiff
> +				1LSB corresponds to 20mVdiff
> +			hdmiphy@38[16] for bits[7:4] permitted values:
> +				0000 	0dB
> +				0001	-0.25dB
> +				0010	-0.7dB
> +				0011	-1.15dB
> +				1111	-7.45dB
> +		"config-clock-level" specifies the 8 bit configuration for
> +		the corresponding clock level, for example if 0x145D005C
> +		is the address of clock level register.

I don't understand what this intended to mean.

> +			hdmiphy@38[23] for bits [1:0] permitted values:
> +				00 means 0 mVdiff && 11 means 60 mVdiff
> +			hdmiphy@38[23] for bits [7:3] permitted values:
> +				00000 is 790 mVdiff
> +				11111 is 1430 mVdiff
> +				1LSB corresponds to 20mVdiff

That last line was confusing. Why not state that this is a value between
790 and 1430 mV in 20mV increments?

Thanks,
Mark.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-11-15 16:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29  8:12 [PATCH 0/4] Add dt support for exynos hdmiphy settings Shirish S
     [not found] ` <1383034352-15494-1-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-10-29  8:12   ` [PATCH 1/4] ARM: dts: smdk5250: Add hdmi phy settings Shirish S
2013-10-29  8:12   ` [PATCH 2/4] ARM: dts: arndale: " Shirish S
2013-10-29  8:12   ` [PATCH 3/4] ARM: exynos: dts: cros5250: " Shirish S
2013-10-29  8:12   ` [PATCH 4/4] drm: exynos: hdmi: Add dt support for hdmiphy settings Shirish S
     [not found]     ` <1383034352-15494-5-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-11-15 16:17       ` Mark Rutland [this message]
     [not found]         ` <20131115161732.GG24831-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-11-18  6:07           ` Shirish S
     [not found]             ` <CAHvYUDB3RxudtcBRnH1iyfPVHUE4cAkfq_DoXB3UCs_b16fL4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-19  4:20               ` Shirish S
  -- strict thread matches above, loose matches on Subject: below --
2013-11-18  6:35 [PATCH 0/4] Add dt support for exynos " Shirish S
     [not found] ` <1384756563-17097-1-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-11-18  6:36   ` [PATCH 4/4] drm: exynos: hdmi: Add dt support for " Shirish S
2013-11-18  8:38 [PATCH 0/4] Add dt support for exynos " Shirish S
     [not found] ` <1384763916-31868-1-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-11-18  8:38   ` [PATCH 4/4] drm: exynos: hdmi: Add dt support for " Shirish S
2013-11-25  8:54 [PATCH 0/4] Add dt support for exynos " Shirish S
     [not found] ` <1385369679-4337-1-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-11-25  8:54   ` [PATCH 4/4] drm: exynos: hdmi: Add dt support for " Shirish S
     [not found]     ` <1385369679-4337-6-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-11-26  1:00       ` Inki Dae
     [not found]         ` <CAAQKjZNGHX2wsoBguhYnrQxg56x0BqTtfce7a6=Lp_MugN=feA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-26  3:40           ` Shirish S
2013-11-29 17:26     ` Tomasz Figa
2013-12-04  4:35       ` Shirish S
2013-12-19 12:08         ` Shirish S
2013-11-26  9:57 [PATCH 0/4] Add dt support for exynos " Shirish S
     [not found] ` <1385459858-3972-1-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-11-26  9:57   ` [PATCH 4/4] drm: exynos: hdmi: Add dt support for " Shirish S
2013-12-04  4:44 [PATCH 0/4] Add dt support for exynos " Shirish S
     [not found] ` <1386132300-29558-1-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-12-04  4:45   ` [PATCH 4/4] drm: exynos: hdmi: Add dt support for " Shirish S
2013-12-19 12:12 [PATCH 0/4] Add dt support for exynos " Shirish S
     [not found] ` <1387455148-22999-1-git-send-email-s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-12-19 12:12   ` [PATCH 4/4] drm: exynos: hdmi: Add dt support for " Shirish S
2013-12-19 13:19     ` Tomasz Figa
2014-01-08  6:04       ` Shirish S

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=20131115161732.GG24831@e106331-lin.cambridge.arm.com \
    --to=mark.rutland-5wv7dgnigg8@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=inki.dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=s.shirish-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=shirish-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=sw0312.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    /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).