GPIO Driver for Skylake-Y PCH

Andy Shevchenko andriy.shevchenko at linux.intel.com
Tue Jun 18 11:57:37 EDT 2019


On Tue, Jun 18, 2019 at 10:48:45AM -0400, Valdis Klētnieks wrote:
> On Tue, 18 Jun 2019 11:40:34 +0300, Andy Shevchenko said:
> 
> > Yes. Most of the SoCs from Intel use GPIO IP based on Chassis specification,
> > the drivers for which are available under drivers/pinctrl/intel. What you are
> > looking for is located under PINCTRL_SUNRISEPOINT configuration option.
> 
> Thanks for the info, it's often unclear where to look - when the hardware has
> a PCH and documentation that says it has GPIO, and there's an in-tree driver
> called gpio_pch, it's easy to fail to look in the right place :)

Citing in-kernel documentation:

--- 8< --- 8< ---- 8< ---

Electrical properties of the pin such as biasing and drive strength
may be placed at some pin-specific register in all cases or as part
of the GPIO register in case (B) especially. This doesn't mean that such
properties necessarily pertain to what the Linux kernel calls "GPIO".

-- 
With Best Regards,
Andy Shevchenko





More information about the Kernelnewbies mailing list