devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma-ynQEQJNshbs@public.gmane.org>
To: Lucas Stach <l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Russell King <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 1/2] ARM: dts: Add the support for display5 equipped with Mitsubishi (800x480) display
Date: Fri, 17 Nov 2017 16:27:22 +0100	[thread overview]
Message-ID: <20171117162722.0bc19a95@jawa> (raw)
In-Reply-To: <1510931238.8104.20.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3664 bytes --]

On Fri, 17 Nov 2017 16:07:18 +0100
Lucas Stach <l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> wrote:

> Am Freitag, den 17.11.2017, 16:03 +0100 schrieb Lukasz Majewski:
> > Hi Lucas,
> >   
> > > Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski:  
> > > > Hi Shawn,
> > > >     
> > > > > On Fri, Nov 17, 2017 at 11:24:03AM +0100, Lukasz Majewski
> > > > > wrote:    
> > > > > > This is the support for aa070mc01-ca1 Mitsubishi display.
> > > > > >   
> > > > > > > > > > > Signed-off-by: Lukasz Majewski <lukma-ynQEQJNshbs@public.gmane.org>  
> > > > > > ---
> > > > > >  arch/arm/boot/dts/Makefile                         |  1 +
> > > > > >  .../imx6q-display5-mitsubishi-aa070-800x480.dts    | 51
> > > > > > ++++++++++++++++++++++ 2 files changed, 52 insertions(+)
> > > > > >  create mode 100644
> > > > > > arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts
> > > > > > 
> > > > > > diff --git a/arch/arm/boot/dts/Makefile
> > > > > > b/arch/arm/boot/dts/Makefile
> > > > > > index d9d0c82e7d20..10b3ad078dea 100644
> > > > > > --- a/arch/arm/boot/dts/Makefile
> > > > > > +++ b/arch/arm/boot/dts/Makefile
> > > > > > @@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \  
> > > > > > > > > > >  	imx6q-cm-fx6.dtb \
> > > > > > > > > > >  	imx6q-cubox-i.dtb \
> > > > > > > > > > >  	imx6q-dfi-fs700-m60.dtb \
> > > > > > > > > > > +
> > > > > > > > > > > imx6q-display5-mitsubishi-aa070-800x480.dtb \
> > > > > > > > > > > imx6q-display5-tianma-tm070-1280x768.dtb \
> > > > > > > > > > > imx6q-dmo-edmqmx6.dtb \  
> > > > > >  	imx6q-evi.dtb \      
> > > > > 
> > > > > <snip>
> > > > >     
> > > > > > +#include "imx6q-display5.dtsi"
> > > > > > +
> > > > > > +&panel {  
> > > > > > > > > > > +	compatible =
> > > > > > > > > > > "mitsubishi,aa070mc01-ca1";  
> > > > > > +};      
> > > > > 
> > > > > How many DTB files do you want to add for this display5
> > > > > board?      
> > > > 
> > > > This is a single board, which can support panels which I've
> > > > posted.
> > > > 
> > > > Those dtbs I do pack to u-boot' FIT image and don't need to
> > > > worry that
> > > > some display is not working (after setting bootloader env
> > > > variable). 
> > > > > It's
> > > > > obvious no fun to maintain a bunch of DTB files for all the
> > > > > panels this board can support.    
> > > > 
> > > > Please note that those files excessively use #include
> > > > directive, and there is not so much code added (the longest
> > > > part is license and comments).
> > > >     
> > > > >  Let's stop right here.    
> > > > 
> > > > If I may ask - how shall I proceed? What would be your
> > > > suggestion to move on (dtb overlays) ?    
> > > 
> > > The solution we use for the ZII RDU1 and RDU2 boards is to have
> > > the bootloader patch in the correct panel compatible strings.   
> > 
> > Do you mean adjusting the DTB accordingly in u-boot for each
> > display - change panel/compatible to new display name ?  
> 
> Exactly. Simply let the bootloader insert the correct panel compatible
> string into the DTB.

This would complicate a few other things :-),

but yes, this seems to be a technically better idea (in terms of final
binary size).

Thanks for help.

> 
> Regards,
> Lucas



Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd-ynQEQJNshbs@public.gmane.org

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      parent reply	other threads:[~2017-11-17 15:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-17 10:24 [PATCH 1/2] ARM: dts: Add the support for display5 equipped with Mitsubishi (800x480) display Lukasz Majewski
     [not found] ` <20171117102404.6678-1-lukma-ynQEQJNshbs@public.gmane.org>
2017-11-17 10:24   ` [PATCH 2/2] ARM: dts: Add the support for display5 equipped with Tianma " Lukasz Majewski
2017-11-17 13:10   ` [PATCH 1/2] ARM: dts: Add the support for display5 equipped with Mitsubishi " Shawn Guo
2017-11-17 14:13     ` Lukasz Majewski
2017-11-17 14:36       ` Lucas Stach
     [not found]         ` <1510929383.8104.3.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-11-17 15:03           ` Lukasz Majewski
2017-11-17 15:07             ` Lucas Stach
     [not found]               ` <1510931238.8104.20.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-11-17 15:27                 ` Lukasz Majewski [this message]

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=20171117162722.0bc19a95@jawa \
    --to=lukma-ynqeqjnshbs@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=fabio.estevam-3arQi8VN3Tc@public.gmane.org \
    --cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
    --cc=l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
    --cc=linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@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).