From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752704AbaDROyW (ORCPT ); Fri, 18 Apr 2014 10:54:22 -0400 Received: from mail-yh0-f43.google.com ([209.85.213.43]:60892 "EHLO mail-yh0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbaDROyP (ORCPT ); Fri, 18 Apr 2014 10:54:15 -0400 MIME-Version: 1.0 In-Reply-To: <1397814309-32160-4-git-send-email-jjhiblot@traphandler.com> References: <1397814309-32160-1-git-send-email-jjhiblot@traphandler.com> <1397814309-32160-4-git-send-email-jjhiblot@traphandler.com> Date: Fri, 18 Apr 2014 09:48:51 -0500 Message-ID: Subject: Re: [RFC 3/3] atmel: dt: Add supports for the lcdc support on the sama5d36ek From: Robert Nelson To: Jean-Jacques Hiblot Cc: Nicolas Ferre , Boris BREZILLON , "linux-arm-kernel@lists.infradead.org" , dri-devel@lists.freedesktop.org, airlied@linux.ie, robdclark@gmail.com, Jean-Christophe PLAGNIOL-VILLARD , linux kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 18, 2014 at 4:45 AM, Jean-Jacques Hiblot wrote: > Signed-off-by: Jean-Jacques Hiblot > --- > arch/arm/boot/dts/sama5d36ek.dts | 27 ++++++++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/sama5d36ek.dts b/arch/arm/boot/dts/sama5d36ek.dts > index 59576c6..df01037 100644 > --- a/arch/arm/boot/dts/sama5d36ek.dts > +++ b/arch/arm/boot/dts/sama5d36ek.dts > @@ -11,12 +11,17 @@ > #include "sama5d3xmb.dtsi" > #include "sama5d3xdm.dtsi" > > + extra space > / { > model = "Atmel SAMA5D36-EK"; > compatible = "atmel,sama5d36ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; > > ahb { > apb { > + hlcdc: hlcdc@f0030000 { > + status = "okay"; > + }; > + > spi0: spi@f0004000 { > status = "okay"; > }; > @@ -46,7 +51,27 @@ > }; > }; > }; > - > + panel { > + compatible = "atmel,hlcdc,panel"; > + invert-hsync; > + invert-vsync; > + status = "okay"; > + display-timings { > + 800x480p60 { > + clock-frequency = <33260000>; > + hactive = <800>; > + vactive = <480>; > + hfront-porch = <168>; > + hback-porch = <88>; > + hsync-len = <64>; > + vback-porch = <8>; > + vfront-porch = <37>; > + vsync-len = <2>; > + hsync-active = <1>; > + vsync-active = <1>; > + }; > + }; > + }; > sound { > status = "okay"; > }; > -- > 1.9.1 Feel free to merge in this patch: https://github.com/RobertCNelson/armv7_devel/blob/v3.15.x-sama5-armv7/patches/drm/0005-atmel-dt-Add-supports-for-the-lcdc-support-on-the-sa.patch With this commit.. All tested with sama5d31/33/34/36ek board's.. Regards, -- Robert Nelson http://www.rcn-ee.com/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: robertcnelson@gmail.com (Robert Nelson) Date: Fri, 18 Apr 2014 09:48:51 -0500 Subject: [RFC 3/3] atmel: dt: Add supports for the lcdc support on the sama5d36ek In-Reply-To: <1397814309-32160-4-git-send-email-jjhiblot@traphandler.com> References: <1397814309-32160-1-git-send-email-jjhiblot@traphandler.com> <1397814309-32160-4-git-send-email-jjhiblot@traphandler.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Apr 18, 2014 at 4:45 AM, Jean-Jacques Hiblot wrote: > Signed-off-by: Jean-Jacques Hiblot > --- > arch/arm/boot/dts/sama5d36ek.dts | 27 ++++++++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/sama5d36ek.dts b/arch/arm/boot/dts/sama5d36ek.dts > index 59576c6..df01037 100644 > --- a/arch/arm/boot/dts/sama5d36ek.dts > +++ b/arch/arm/boot/dts/sama5d36ek.dts > @@ -11,12 +11,17 @@ > #include "sama5d3xmb.dtsi" > #include "sama5d3xdm.dtsi" > > + extra space > / { > model = "Atmel SAMA5D36-EK"; > compatible = "atmel,sama5d36ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; > > ahb { > apb { > + hlcdc: hlcdc at f0030000 { > + status = "okay"; > + }; > + > spi0: spi at f0004000 { > status = "okay"; > }; > @@ -46,7 +51,27 @@ > }; > }; > }; > - > + panel { > + compatible = "atmel,hlcdc,panel"; > + invert-hsync; > + invert-vsync; > + status = "okay"; > + display-timings { > + 800x480p60 { > + clock-frequency = <33260000>; > + hactive = <800>; > + vactive = <480>; > + hfront-porch = <168>; > + hback-porch = <88>; > + hsync-len = <64>; > + vback-porch = <8>; > + vfront-porch = <37>; > + vsync-len = <2>; > + hsync-active = <1>; > + vsync-active = <1>; > + }; > + }; > + }; > sound { > status = "okay"; > }; > -- > 1.9.1 Feel free to merge in this patch: https://github.com/RobertCNelson/armv7_devel/blob/v3.15.x-sama5-armv7/patches/drm/0005-atmel-dt-Add-supports-for-the-lcdc-support-on-the-sa.patch With this commit.. All tested with sama5d31/33/34/36ek board's.. Regards, -- Robert Nelson http://www.rcn-ee.com/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Nelson Subject: Re: [RFC 3/3] atmel: dt: Add supports for the lcdc support on the sama5d36ek Date: Fri, 18 Apr 2014 09:48:51 -0500 Message-ID: References: <1397814309-32160-1-git-send-email-jjhiblot@traphandler.com> <1397814309-32160-4-git-send-email-jjhiblot@traphandler.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-yh0-f42.google.com (mail-yh0-f42.google.com [209.85.213.42]) by gabe.freedesktop.org (Postfix) with ESMTP id 6042A6E028 for ; Fri, 18 Apr 2014 07:48:52 -0700 (PDT) Received: by mail-yh0-f42.google.com with SMTP id t59so1553436yho.1 for ; Fri, 18 Apr 2014 07:48:51 -0700 (PDT) In-Reply-To: <1397814309-32160-4-git-send-email-jjhiblot@traphandler.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Jean-Jacques Hiblot Cc: Boris BREZILLON , Nicolas Ferre , linux kernel , dri-devel@lists.freedesktop.org, Jean-Christophe PLAGNIOL-VILLARD , "linux-arm-kernel@lists.infradead.org" List-Id: dri-devel@lists.freedesktop.org On Fri, Apr 18, 2014 at 4:45 AM, Jean-Jacques Hiblot wrote: > Signed-off-by: Jean-Jacques Hiblot > --- > arch/arm/boot/dts/sama5d36ek.dts | 27 ++++++++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/sama5d36ek.dts b/arch/arm/boot/dts/sama5d36ek.dts > index 59576c6..df01037 100644 > --- a/arch/arm/boot/dts/sama5d36ek.dts > +++ b/arch/arm/boot/dts/sama5d36ek.dts > @@ -11,12 +11,17 @@ > #include "sama5d3xmb.dtsi" > #include "sama5d3xdm.dtsi" > > + extra space > / { > model = "Atmel SAMA5D36-EK"; > compatible = "atmel,sama5d36ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; > > ahb { > apb { > + hlcdc: hlcdc@f0030000 { > + status = "okay"; > + }; > + > spi0: spi@f0004000 { > status = "okay"; > }; > @@ -46,7 +51,27 @@ > }; > }; > }; > - > + panel { > + compatible = "atmel,hlcdc,panel"; > + invert-hsync; > + invert-vsync; > + status = "okay"; > + display-timings { > + 800x480p60 { > + clock-frequency = <33260000>; > + hactive = <800>; > + vactive = <480>; > + hfront-porch = <168>; > + hback-porch = <88>; > + hsync-len = <64>; > + vback-porch = <8>; > + vfront-porch = <37>; > + vsync-len = <2>; > + hsync-active = <1>; > + vsync-active = <1>; > + }; > + }; > + }; > sound { > status = "okay"; > }; > -- > 1.9.1 Feel free to merge in this patch: https://github.com/RobertCNelson/armv7_devel/blob/v3.15.x-sama5-armv7/patches/drm/0005-atmel-dt-Add-supports-for-the-lcdc-support-on-the-sa.patch With this commit.. All tested with sama5d31/33/34/36ek board's.. Regards, -- Robert Nelson http://www.rcn-ee.com/