All of lore.kernel.org
 help / color / mirror / Atom feed
From: boris.brezillon@free-electrons.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver
Date: Thu, 26 Feb 2015 14:21:20 +0100	[thread overview]
Message-ID: <20150226142120.71fa7fe2@bbrezillon> (raw)
In-Reply-To: <1424886291-15747-1-git-send-email-nicolas.ferre@atmel.com>

On Wed, 25 Feb 2015 18:44:51 +0100
Nicolas Ferre <nicolas.ferre@atmel.com> wrote:

> Remove this configuration bit in crtc driver as the rising edge clock is widely
> used.

Applied to drm-atmel-hlcdc-fixes.

Thanks,

Boris

> 
> Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
>  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> index 0409b907de5d..b3e3068c6ec0 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> @@ -153,7 +153,7 @@ static int atmel_hlcdc_crtc_mode_set(struct drm_crtc *c,
>  		     (adj->crtc_hdisplay - 1) |
>  		     ((adj->crtc_vdisplay - 1) << 16));
>  
> -	cfg = ATMEL_HLCDC_CLKPOL;
> +	cfg = 0;
>  
>  	prate = clk_get_rate(crtc->dc->hlcdc->sys_clk);
>  	mode_rate = mode->crtc_clock * 1000;



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	dri-devel@lists.freedesktop.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver
Date: Thu, 26 Feb 2015 14:21:20 +0100	[thread overview]
Message-ID: <20150226142120.71fa7fe2@bbrezillon> (raw)
In-Reply-To: <1424886291-15747-1-git-send-email-nicolas.ferre@atmel.com>

On Wed, 25 Feb 2015 18:44:51 +0100
Nicolas Ferre <nicolas.ferre@atmel.com> wrote:

> Remove this configuration bit in crtc driver as the rising edge clock is widely
> used.

Applied to drm-atmel-hlcdc-fixes.

Thanks,

Boris

> 
> Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
>  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> index 0409b907de5d..b3e3068c6ec0 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> @@ -153,7 +153,7 @@ static int atmel_hlcdc_crtc_mode_set(struct drm_crtc *c,
>  		     (adj->crtc_hdisplay - 1) |
>  		     ((adj->crtc_vdisplay - 1) << 16));
>  
> -	cfg = ATMEL_HLCDC_CLKPOL;
> +	cfg = 0;
>  
>  	prate = clk_get_rate(crtc->dc->hlcdc->sys_clk);
>  	mode_rate = mode->crtc_clock * 1000;



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: <linux-arm-kernel@lists.infradead.org>, <airlied@linux.ie>,
	<dri-devel@lists.freedesktop.org>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver
Date: Thu, 26 Feb 2015 14:21:20 +0100	[thread overview]
Message-ID: <20150226142120.71fa7fe2@bbrezillon> (raw)
In-Reply-To: <1424886291-15747-1-git-send-email-nicolas.ferre@atmel.com>

On Wed, 25 Feb 2015 18:44:51 +0100
Nicolas Ferre <nicolas.ferre@atmel.com> wrote:

> Remove this configuration bit in crtc driver as the rising edge clock is widely
> used.

Applied to drm-atmel-hlcdc-fixes.

Thanks,

Boris

> 
> Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
>  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> index 0409b907de5d..b3e3068c6ec0 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
> @@ -153,7 +153,7 @@ static int atmel_hlcdc_crtc_mode_set(struct drm_crtc *c,
>  		     (adj->crtc_hdisplay - 1) |
>  		     ((adj->crtc_vdisplay - 1) << 16));
>  
> -	cfg = ATMEL_HLCDC_CLKPOL;
> +	cfg = 0;
>  
>  	prate = clk_get_rate(crtc->dc->hlcdc->sys_clk);
>  	mode_rate = mode->crtc_clock * 1000;



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2015-02-26 13:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 17:44 [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver Nicolas Ferre
2015-02-25 17:44 ` Nicolas Ferre
2015-02-25 17:44 ` Nicolas Ferre
2015-02-26 13:21 ` Boris Brezillon [this message]
2015-02-26 13:21   ` Boris Brezillon
2015-02-26 13:21   ` Boris Brezillon

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=20150226142120.71fa7fe2@bbrezillon \
    --to=boris.brezillon@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.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 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.