lkml.org 
[lkml]   [2014]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] gpio: Add support for Intel SoC PMIC (Crystal Cove)
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







\
 
 \ /
  Last update: 2014-05-19 16:41    [W:0.138 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site