Re: Intel SunrisePoint GPIO used as GpioInt in ACPI stuck in "mode 1" rather then configured as GPIO?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 26, 2018 at 11:53:44PM +0200, Vivien FRASCA wrote:
>    Hello Mika.
>    I've compiled kernel 4.15.3 with your patch (I can't apply it with git
>    apply or other patch tools) so I've added the two lines manually.
>    Here the output of dmesg | grep GPIO
>    [    7.023310] acpi ELAN1200:00: GPIO at _CRS index 0=449 (IRQ 134)
>    Just to be sure, here the way I've built the kernel (Benjamin explained
>    me the commands to do so, so if you need more things to be done by me,
>    it would be great if you can give me the way to do it (I'm a kind of
>    newbie)).
>    - (downloaded kernel release 4.15.3 from [1]git.kernel.org)
>    - cp /boot/config-4.15.3-300 .config
>    - make oldconfig
>    - make -j4 && sudo make -j4 modules_install && sudo make install

Thanks, so the 449 is pin 129. Just wanted to double check.

Now, I just remembered that since i2c-hid is using the pin via irqchip
there was a bug where pinctrl-intel.c did not set the mode correctly.

This should be fixed with f5a26acf0162 ("pinctrl: intel: Initialize GPIO
properly when used through irqchip").

The fix was backported to v4.15.4 stable so could you try that and see
if it works any better?
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux