Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: GabrielCastillo <gcastillo@controlnet.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] Setting RGB
Date: Wed, 10 Feb 2016 09:40:39 -0800 (PST)	[thread overview]
Message-ID: <1455126039107-125494.post@n4.nabble.com> (raw)
In-Reply-To: <20160204205505.5a842de4@gmx.net>

I'm using:
- SAMA5D3x
-Atmel
- The Display is a Multiino MI0500PT-7

I don't know if on QT4 works, but i need to make an App on QT5.

I have configure a panel-simple.c with:
 
static const struct drm_display_mode multiinno_mi0500pt_mode = {               
  ????.clock = 30000,                                                            
  ????.hdisplay = 800,                                                           
  ????.hsync_start = 800 + 2,                                                    
  ????.hsync_end = 800 + 2 + 41,                                                 
  ????.htotal = 800 + 2 + 41 + 2,                                                
  ????.vdisplay = 480,                                                           
  ????.vsync_start = 480 + 2,                                                    
  ????.vsync_end = 480 + 2 + 41,                                                 
  ????.vtotal = 480 + 2 + 41 + 2,                                                
  ????.vrefresh = 60,                                                            
  ????.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,                      
  };                                                                             
                                                                                 
  static const struct panel_desc multiinno_mi0500pt = {                          
  ????.modes = &multiinno_mi0500pt_mode,                                         
  ????.num_modes = 1,                                                            
  ????.bpc = 8,                                                                  
  ????.size = {                                                                  
  ????????.width = 108,                                                          
  ????????.height = 65,                                                          
  ????},                                                                         
  ????.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
};

and i change the DTS to include it:

????panel: panel {                                                             
         compatible = "multiinno,mi0500pt", "simple-panel";             
         backlight = <&backlight>;                                      
         power-supply = <&panel_reg>;                                   
         #address-cells = <1>;                                          
         #size-cells = <0>;                                             
         status = "okay";                                               
                                                                              
         port at 0 {                                                       
                reg = <0>;                                             
                #address-cells = <1>;                                  
                #size-cells = <0>;                                     
                                                                             
                panel_input: endpoint at 0 {                              
                        reg = <0>;                                     
                        remote-endpoint = <&hlcdc_panel_output>;       
                 };                                                     
        };                                                             
};   

That is all i do to include the new display.



--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Setting-RGB-tp124903p125494.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

  reply	other threads:[~2016-02-10 17:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04 14:28 [Buildroot] Setting RGB Gabriel Andrés Castillo
2016-02-04 19:55 ` Peter Seiderer
2016-02-10 17:40   ` GabrielCastillo [this message]
2016-02-11 14:06     ` Ezequiel Garcia
2016-02-11 14:04       ` GabrielCastillo
2016-02-11 14:46         ` Ezequiel Garcia
2016-02-11 14:48           ` Ezequiel Garcia
2016-02-11 15:09       ` GabrielCastillo
2016-02-11 20:52         ` Peter Seiderer
2016-04-12 11:45           ` Leonardo Giordano
2016-04-13 13:35             ` Leonardo Giordano
2016-04-13 20:54               ` Peter Seiderer

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=1455126039107-125494.post@n4.nabble.com \
    --to=gcastillo@controlnet.com.ar \
    --cc=buildroot@busybox.net \
    /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