From: Kumar Gala <galak@kernel.crashing.org>
To: avorontsov@ru.mvista.com
Cc: Jean Delvare <khali@linux-fr.org>,
i2c@lm-sensors.org, Ben Dooks <ben-linux@fluff.org>,
linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver
Date: Fri, 10 Oct 2008 09:58:44 -0500 [thread overview]
Message-ID: <CB31A54E-7518-4E26-8A5C-AC3CBB0F1384@kernel.crashing.org> (raw)
In-Reply-To: <20081010144545.GA956@oksana.dev.rtsoft.ru>
On Oct 10, 2008, at 9:45 AM, Anton Vorontsov wrote:
> On Fri, Oct 10, 2008 at 09:22:02AM -0500, Kumar Gala wrote:
>>
>> On Sep 23, 2008, at 9:13 AM, Anton Vorontsov wrote:
>>
>>> On MPC8349E-mITX, MPC8315E-RDB and MPC837x-RDB boards there is a
>>> Freescale MC9S08QG8 (MCU) chip with the custom firmware
>>> pre-programmed. The chip is used to power-off the board by the
>>> software, and to control some GPIO pins.
>>>
>>> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
>>> ---
>>> drivers/i2c/chips/Kconfig | 11 ++
>>> drivers/i2c/chips/Makefile | 1 +
>>> drivers/i2c/chips/mcu_mpc8349emitx.c | 209 +++++++++++++++++++++++
>>> ++
>>> +++++++++
>>> 3 files changed, 221 insertions(+), 0 deletions(-)
>>> create mode 100644 drivers/i2c/chips/mcu_mpc8349emitx.c
>>
>> is the plan to connect ppc_md.machine_shutdown() with this?
>
> You mean poweroff? It's already connected.
>
> + /* XXX: this is potentially racy, but there is no lock for
> ppc_md */
> + if (!ppc_md.power_off) {
> + glob_mcu = mcu;
> + ppc_md.power_off = mcu_power_off;
> + dev_info(&client->dev, "will provide power-off
> service\n");
> + }
uuh, yeah.. poweroff :)
and look at that. Is this in Jean's queue?
- k
next prev parent reply other threads:[~2008-10-10 15:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-23 14:13 [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver Anton Vorontsov
2008-10-10 14:22 ` Kumar Gala
2008-10-10 14:45 ` Anton Vorontsov
2008-10-10 14:58 ` Kumar Gala [this message]
2008-10-10 15:16 ` Anton Vorontsov
2008-10-10 18:46 ` Kumar Gala
-- strict thread matches above, loose matches on Subject: below --
2008-09-19 18:03 Anton Vorontsov
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=CB31A54E-7518-4E26-8A5C-AC3CBB0F1384@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=avorontsov@ru.mvista.com \
--cc=ben-linux@fluff.org \
--cc=i2c@lm-sensors.org \
--cc=khali@linux-fr.org \
--cc=linuxppc-dev@ozlabs.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).