# Re: \[PATCH v4 1/3\] Input: egalax\_ts: get gpio from devicetree node

- From: Hui Wang \<hidden\>
- Date: 2012-10-10 03:26:52 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2012/10/8064039
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/08/8062208/t.md

```text
Arnd Bergmann wrote:
> On Friday 17 August 2012, Shawn Guo wrote:
>   
>> On Thu, Aug 16, 2012 at 06:47:29PM +0800, Hui Wang wrote:
>>     
>>> The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework
>>> and don't support this API anymore.
>>>
>>> The i.MX6q sabrelite platform equips an egalax touchscreen controller,
>>> and this platform already transfered to GENERIC_GPIO framework, to
>>> support this driver, we use a more generic way to get gpio.
>>>
>>> Add a return value checking for waking up the controller in the probe
>>> function, this guarantee only a workable device can pass init.
>>>
>>> Signed-off-by: Hui Wang <redacted>
>>>       
>> Reviewed-by: Shawn Guo <redacted>
>>     
>
> What's the status on this patch? I'm still getting build errors from this
> driver, so I guess it was never accepted for the 3.7 merge window.
>
> 	Arnd
>
>   
I forgot to resend this patchset After Dmitry was back to the maillist. I will rebase the patchset and resend them to review.

Regards,
Hui.

```
