linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: "Zhu, Lejun" <lejun.zhu@linux.intel.com>,
	Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	bin.yang@intel.com, Darren Hart <dvhart@linux.intel.com>,
	"Holmberg, Hans" <hans.holmberg@intel.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>
Subject: Re: [PATCH] gpio: Add support for Intel SoC PMIC (Crystal Cove)
Date: Mon, 19 May 2014 17:13:14 +0300	[thread overview]
Message-ID: <537A117A.7050802@linux.intel.com> (raw)
In-Reply-To: <53794FDC.6080908@linux.intel.com>

On 05/19/2014 03:27 AM, Zhu, Lejun wrote:
> 
> 
> On 5/17/2014 1:33 AM, Linus Walleij wrote:
>> On Wed, May 14, 2014 at 5:44 PM, Zhu, Lejun <lejun.zhu@linux.intel.com> wrote:
>>
>>> Devices based on Intel SoC products such as Baytrail have a Power
>>> Management IC. In the PMIC there are subsystems for voltage regulation,
>>> A/D conversion, GPIO and PWMs. The PMIC in Baytrail-T platform is called
>>> Crystal Cove.
>>>
>>> This patch adds support for the GPIO function in Crystal Cove.
>>>
>>> Signed-off-by: Yang, Bin <bin.yang@intel.com>
>>> Signed-off-by: Zhu, Lejun <lejun.zhu@linux.intel.com>
>>
>> (...)
>>
>>> +config GPIO_INTEL_SOC_PMIC
>>> +       bool "GPIO on Intel SoC PMIC"
>>> +       depends on INTEL_SOC_PMIC
> 
> Thank you. That's a long list and all of them indeed need to be fixed.
> I'll work on them and submit v2 when ready.
> 

Shouldn't there be a .remove function undoing everything probe did?
Freeing interrupts, removing irq domains, calling gpiochip_remove etc.

Or is there something I'm missing?
I see there's no option to compile this as module, but It might be added later so
proper remove function would still be nice.

-Mathias






  reply	other threads:[~2014-05-19 14:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-14 15:44 [PATCH] gpio: Add support for Intel SoC PMIC (Crystal Cove) Zhu, Lejun
2014-05-16 17:33 ` Linus Walleij
2014-05-19  0:27   ` Zhu, Lejun
2014-05-19 14:13     ` Mathias Nyman [this message]
2014-05-20  9:16       ` Zhu, Lejun
2014-05-16 17:46 ` Daniel Glöckner
2014-05-19  1:46   ` Zhu, Lejun
2014-05-17 14:37 ` [PATCH] " Alexandre Courbot
2014-05-19  0:28   ` Zhu, Lejun
2014-05-27  9:01   ` Linus Walleij
2014-05-19 10:39 ` Mika Westerberg
2014-05-20  8:30   ` Mika Westerberg
2014-05-20  9:15     ` Zhu, Lejun

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=537A117A.7050802@linux.intel.com \
    --to=mathias.nyman@linux.intel.com \
    --cc=bin.yang@intel.com \
    --cc=dvhart@linux.intel.com \
    --cc=gnurou@gmail.com \
    --cc=hans.holmberg@intel.com \
    --cc=lejun.zhu@linux.intel.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    /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).