All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] sunxi: add custom board
Date: Wed, 24 Oct 2018 18:59:49 +0100	[thread overview]
Message-ID: <20181024175949.a2lrl5uctqt6js62@flea> (raw)
In-Reply-To: <9fe3aa22-982b-082c-9de3-db875aa1c048@micronovasrl.com>

On Wed, Oct 24, 2018 at 03:59:56PM +0200, Giulio Benetti wrote:
> Hello Jagan and Maxime,
> 
> I've looked around a lot, but I can't find a way to use the board/sunxi:
> http://git.denx.de/?p=u-boot.git;a=tree;f=board/sunxi;h=304ee6b4cc8e075759d3bd0beb250b56f6901702;hb=HEAD
> 
> to fit what we need.
> 
> We have 5 gpios that control the max current setting on
> current-driver for Backlight biasing shunt kathode resistor, and I
> don't know where to place the code to set those pins.
> 
> I would like to avoid to create another new board if possible, since
> board/sunxi has everything we need to make our board operative.
> In general, is there some sort of __weak__ hooks to be used to extend an
> existing board?
> Because I understand that probably you wouldn't add this code I'm talking
> about inside board/sunxi.
> 
> This request is done with idea to upstream patch for this board.
> 
> Can you help me?

If that's backlight related, maybe you can just create a new backlight
driver?

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-10-24 17:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-24 13:59 [U-Boot] sunxi: add custom board Giulio Benetti
2018-10-24 17:59 ` Maxime Ripard [this message]
2018-10-25 10:57   ` Giulio Benetti
2018-10-26 11:06     ` Maxime Ripard
2018-10-26 13:40       ` Giulio Benetti

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=20181024175949.a2lrl5uctqt6js62@flea \
    --to=maxime.ripard@bootlin.com \
    --cc=u-boot@lists.denx.de \
    /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.