From: Chen-Yu Tsai <wens@csie.org>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RFC v2 0/2] simplefb: Add regulator handling support
Date: Wed, 21 Oct 2015 05:58:59 +0000 [thread overview]
Message-ID: <1445407141-16459-1-git-send-email-wens@csie.org> (raw)
Hi everyone,
This is v2 of the simplefb regulator support series. This series adds
regulator claiming and enabling support for simplefb.
Sometimes the simplefb display output path consits of external conversion
chips and/or LCD drivers and backlights. These devices normally have
GPIOs to turn them on and/or bring them out of reset, and regulators
supplying power to them.
While the kernel does not touch unclaimed GPIOs, the regulator core
happily disables unused regulators. Thus we need simplefb to claim
and enable the regulators used throughout the display pipeline.
Instead of the unnamed "vinN-supply" properties, v2 supports any named
regulator supplies under its device node. It will look through its
properties, and claim any regulators by matching "*-supply", as Mark
suggested.
I've not done a generic helper in the regulator core yet, instead doing
the regulator property handling in the simplefb code for now.
Patch 1 adds the regulator properties to the DT binding.
Patch 2 adds code to the simplefb driver to claim and enable regulators.
Regards
ChenYu
Chen-Yu Tsai (2):
dt-bindings: simplefb: Support a list of regulator supply properties
simplefb: Claim and enable regulators
.../bindings/video/simple-framebuffer.txt | 13 ++-
drivers/video/fbdev/simplefb.c | 122 ++++++++++++++++++++-
2 files changed, 130 insertions(+), 5 deletions(-)
--
2.6.1
next reply other threads:[~2015-10-21 5:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 5:58 Chen-Yu Tsai [this message]
2015-10-21 5:59 ` [PATCH RFC v2 1/2] dt-bindings: simplefb: Support a list of regulator supply properties Chen-Yu Tsai
2015-10-21 7:50 ` Hans de Goede
2015-10-21 5:59 ` [PATCH RFC v2 2/2] simplefb: Claim and enable regulators Chen-Yu Tsai
2015-10-21 7:54 ` Hans de Goede
2015-10-21 8:04 ` Chen-Yu Tsai
2015-10-21 8:09 ` Hans de Goede
2015-10-22 16:53 ` [PATCH RFC v2 0/2] simplefb: Add regulator handling support Mark Brown
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=1445407141-16459-1-git-send-email-wens@csie.org \
--to=wens@csie.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;
as well as URLs for NNTP newsgroup(s).