Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
From: "Alexander Ivanov" <amivanov@fastmail.com>
To: "Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
	"Valdis Klētnieks" <valdis.kletnieks@vt.edu>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Bj?rn Mork <bjorn@mork.no>, Jean Delvare <jdelvare@suse.de>,
	kernelnewbies@kernelnewbies.org
Subject: Re: GPIO Driver for Skylake-Y PCH
Date: Tue, 18 Jun 2019 09:17:03 -0700
Message-ID: <41071619-fa33-4745-9149-f87255120d30@www.fastmail.com> (raw)
In-Reply-To: <20190618155737.GU9224@smile.fi.intel.com>



On Tue, 18 Jun 2019 08:58 -07:00, Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> 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 :)
> 

Thank you for the info, indeed. I'm going to give it a try.


> 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".
> 

Given the amount of related (and not so much) documentation, it's hard to miss.
That's what this newsgroup for :)
Thank you for helping!

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply index

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 17:58 Alexander Ivanov
2019-06-14 18:46 ` Valdis Klētnieks
2019-06-14 19:01   ` Alexander Ivanov
2019-06-14 19:09     ` Valdis Klētnieks
2019-06-14 20:25       ` Alexander Ivanov
2019-06-14 22:40         ` Alexander Ivanov
2019-06-15  8:53           ` Bjørn Mork
2019-06-15 19:30           ` Valdis Klētnieks
2019-06-15 19:38             ` Alexander Ivanov
2019-06-15 19:56               ` Greg KH
2019-06-16  1:50               ` Valdis Klētnieks
2019-06-16  2:45                 ` Alexander Ivanov
2019-06-16  8:54                   ` Bjørn Mork
2019-06-17  8:06             ` Andy Shevchenko
2019-06-18  0:00               ` Alexander Ivanov
2019-06-18  8:40                 ` Andy Shevchenko
2019-06-18 14:48                   ` Valdis Klētnieks
2019-06-18 15:57                     ` Andy Shevchenko
2019-06-18 16:17                       ` Alexander Ivanov [this message]
2019-06-20 21:02                   ` Alexander Ivanov
2019-06-21 10:12                     ` Andy Shevchenko
2019-06-21 17:39                       ` Alexander Ivanov
2019-06-24 18:39                         ` Alexander Ivanov
2019-06-25 11:08                           ` Andy Shevchenko
2019-06-25 14:10                             ` Linus Walleij
2019-07-10 16:04                               ` Andy Shevchenko
2019-06-14 19:12   ` Bjørn Mork

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41071619-fa33-4745-9149-f87255120d30@www.fastmail.com \
    --to=amivanov@fastmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=bjorn@mork.no \
    --cc=jdelvare@suse.de \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=linus.walleij@linaro.org \
    --cc=valdis.kletnieks@vt.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox