public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: viresh.kumar@linaro.org (Viresh Kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V6 Resend 00/13] drivers: Boot Constraint core
Date: Thu, 25 Jan 2018 16:31:25 +0530	[thread overview]
Message-ID: <20180125110125.GA3307@vireshk-i7> (raw)
In-Reply-To: <CAL_Jsq+CtWCKENTQmiveoubxU4cDi9QBcpgvYZVfxPNsT-VX+g@mail.gmail.com>

On 10-01-18, 17:13, Rob Herring wrote:
> On Tue, Jan 9, 2018 at 9:47 PM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> > A typical example of that can be the LCD controller, which is used by
> > the bootloaders to show image(s) while the platform is booting into
> > Linux.  The LCD controller can be using some resources, like clk,
> > regulators, etc, that are shared between several devices. These shared
> > resources should be configured to satisfy need of all the users.  If
> > another device's (X) driver gets probed before the LCD controller driver
> > in this case, then it may end up disabling or reconfiguring these
> > resources to ranges satisfying the current users (only device X) and
> > that can make the LCD screen unstable.
> 
> We already have simple fb and a binding for it. It only handles clocks
> I think, but could be extended to other things. I rather not extend
> it, but it is there already and we don't need different solutions for
> this.

Got a bit busy lately and wasn't able to look into the details of it.

So AFAICT the basic problem I was trying to solve still exists with simple-fb
as well. And the problem is that nothing prevents another driver to get probed
before the display driver (or simple-fb) and reconfigure the resources. Even if
we let simple-fb come up really early, the resources like clk/regulator may not
be available. And so the ordering thing is still unsolved for me.

-- 
viresh

  parent reply	other threads:[~2018-01-25 11:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10  3:47 [PATCH V6 Resend 00/13] drivers: Boot Constraint core Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 01/13] of: platform: Add of_find_any_device_by_node() Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 02/13] of: platform: Make of_platform_bus_create() global Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 03/13] drivers: Add boot constraints core Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 04/13] boot_constraint: Add support for supply constraints Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 05/13] boot_constraint: Add support for clk constraints Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 06/13] boot_constraint: Add support for PM constraints Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 07/13] boot_constraint: Add debugfs support Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 08/13] boot_constraint: Manage deferrable constraints Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 09/13] boot_constraint: Add support for Hisilicon platforms Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 10/13] boot_constraint: Add support for IMX platform Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 11/13] boot_constraint: Add Qualcomm display controller constraints Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 12/13] boot_constraint: Update MAINTAINERS Viresh Kumar
2018-01-10  3:47 ` [PATCH V6 13/13] boot_constraint: Add documentation Viresh Kumar
2018-01-10 23:13 ` [PATCH V6 Resend 00/13] drivers: Boot Constraint core Rob Herring
2018-01-11  2:07   ` Chen-Yu Tsai
2018-01-11 13:45     ` Rob Herring
2018-01-25 11:01   ` Viresh Kumar [this message]
2018-02-12  7:10     ` Viresh Kumar

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=20180125110125.GA3307@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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