From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752654AbeDKXUK (ORCPT ); Wed, 11 Apr 2018 19:20:10 -0400 Received: from mail.micronovasrl.com ([212.103.203.10]:42914 "EHLO mail.micronovasrl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752181AbeDKXUI (ORCPT ); Wed, 11 Apr 2018 19:20:08 -0400 Authentication-Results: mail.micronovasrl.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=micronovasrl.com X-Spam-Flag: NO X-Spam-Score: -2.9 Subject: Re: [linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun7i: Add RGB666 pins definition To: Paul Kocialkowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com Cc: Mark Rutland , Maxime Ripard , Russell King , David Airlie , Chen-Yu Tsai , Rob Herring , Thierry Reding References: <20180410213129.24049-1-contact@paulk.fr> <20180410213129.24049-2-contact@paulk.fr> <588060914d3b6899f6812daa4969f61bf750c91b.camel@paulk.fr> From: Giulio Benetti Message-ID: <1f71f768-2c3d-a241-a368-e55f4677a279@micronovasrl.com> Date: Thu, 12 Apr 2018 01:19:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <588060914d3b6899f6812daa4969f61bf750c91b.camel@paulk.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Il 12/04/2018 01:09, Paul Kocialkowski ha scritto: > Hi, > > Le jeudi 12 avril 2018 à 00:22 +0200, Giulio Benetti a écrit : >> Hi, >> >> Il 10/04/2018 23:31, Paul Kocialkowski ha scritto: >>> This adds the pins definition for RGB666 LCD panels on the A20. It >>> was >>> imported from the A33 definition, that concernes the same set of >>> pins. >>> >>> Signed-off-by: Paul Kocialkowski >>> --- >>> arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi >>> b/arch/arm/boot/dts/sun7i-a20.dtsi >>> index e529e4ff2174..f46af8675cfa 100644 >>> --- a/arch/arm/boot/dts/sun7i-a20.dtsi >>> +++ b/arch/arm/boot/dts/sun7i-a20.dtsi >>> @@ -781,6 +781,14 @@ >>> function = "ir1"; >>> }; >>> >>> + lcd_rgb666_pins: lcd_rgb666@0 { >> >> I point you to this Thread and back: >> https://lists.freedesktop.org/archives/dri-devel/2018-March/170688.htm >> l >> >> I did the same for rgb888, so good part is discussed. >> >> IMHO I would: >> - call lcd0_rgb666_pins, since this is for LCD0 interface >> - same as above, call lcd0-rgb666, take care about using "-" instad >> of >> "_" that can cause DTC warnings. >> - remove @0 since only this set can achieve LCD0 RGB666, and I >> don't think there will be other combinations. > > I even responded to that discussion but overlooked these aspects when > crafting this patch. Thanks for the summary :) You're welcome, I've forgotten you've been involved discussing that patch so i've pointed you something yours :) Anyway it should help. Best regards -- Giulio Benetti CTO MICRONOVA SRL Sede: Via A. Niedda 3 - 35010 Vigonza (PD) Tel. 049/8931563 - Fax 049/8931346 Cod.Fiscale - P.IVA 02663420285 Capitale Sociale € 26.000 i.v. Iscritta al Reg. Imprese di Padova N. 02663420285 Numero R.E.A. 258642 > >> Kind regards >> >> -- >> Giulio Benetti >> CTO >> >> MICRONOVA SRL >> Sede: Via A. Niedda 3 - 35010 Vigonza (PD) >> Tel. 049/8931563 - Fax 049/8931346 >> Cod.Fiscale - P.IVA 02663420285 >> Capitale Sociale € 26.000 i.v. >> Iscritta al Reg. Imprese di Padova N. 02663420285 >> Numero R.E.A. 258642 >> >> >>> + pins = "PD2", "PD3", "PD4", "PD5", >>> "PD6", "PD7", >>> + "PD10", "PD11", "PD12", >>> "PD13", "PD14", "PD15", >>> + "PD18", "PD19", "PD20", >>> "PD21", "PD22", "PD23", >>> + "PD24", "PD25", "PD26", >>> "PD27"; >>> + function = "lcd0"; >>> + }; >>> + >>> mmc0_pins_a: mmc0@0 { >>> pins = "PF0", "PF1", "PF2", >>> "PF3", "PF4", "PF5"; >>> >> >>