Re: [PATCH v3] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-29 Thread Linus Walleij
On Thu, May 22, 2014 at 6:59 AM, Zhu, Lejun 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

Re: [PATCH v3] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-29 Thread Linus Walleij
On Thu, May 22, 2014 at 6:59 AM, Zhu, Lejun lejun@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

Re: [PATCH v3] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-22 Thread Zhu, Lejun
On 5/22/2014 7:15 PM, Mika Westerberg wrote: > I suppose this is dependent on the MFD driver right? If so, this should > probably be merged along with that patch. > The MFD driver has been submitted on LKML as well. I think these two drivers can be pulled into corresponding trees, and meet each

Re: [PATCH v3] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-22 Thread Mika Westerberg
On Thu, May 22, 2014 at 12:59:03PM +0800, Zhu, Lejun wrote: > +static int crystalcove_gpio_probe(struct platform_device *pdev) > +{ > + int irq = platform_get_irq(pdev, 0); > + struct crystalcove_gpio *cg; > + int retval; > + struct device *dev = pdev->dev.parent; > + > + cg =

Re: [PATCH v3] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-22 Thread Mika Westerberg
On Thu, May 22, 2014 at 12:59:03PM +0800, Zhu, Lejun wrote: +static int crystalcove_gpio_probe(struct platform_device *pdev) +{ + int irq = platform_get_irq(pdev, 0); + struct crystalcove_gpio *cg; + int retval; + struct device *dev = pdev-dev.parent; + + cg =

Re: [PATCH v3] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-22 Thread Zhu, Lejun
On 5/22/2014 7:15 PM, Mika Westerberg wrote: I suppose this is dependent on the MFD driver right? If so, this should probably be merged along with that patch. The MFD driver has been submitted on LKML as well. I think these two drivers can be pulled into corresponding trees, and meet each

[PATCH v3] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-21 Thread Zhu, Lejun
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. v2: -

[PATCH v3] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-21 Thread Zhu, Lejun
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. v2: -