All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: "Martin Hundebøll" <mnhu-rjjw5hvvQKZaa/9Udqfwiw@public.gmane.org>,
	"Mika Westerberg"
	<mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	"Jarkko Nikula"
	<jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	linux-spi <linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] spi: core: use gpio_request_one for configured gpio cs
Date: Mon, 24 Jul 2017 15:26:26 +0300	[thread overview]
Message-ID: <CAHp75Vd-2iNVyYgnT9UXGPdOck6WozJ-7tC666751s5mFNxMaQ@mail.gmail.com> (raw)
In-Reply-To: <20170724120249.mpyv7f3t4q3eihrg-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>

On Mon, Jul 24, 2017 at 3:02 PM, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> On Mon, Jul 24, 2017 at 01:49:14PM +0300, Andy Shevchenko wrote:
>
>> More and more hacks around plain GPIO integers... :-(
>
> I have to say now I've looked at the patch I'm also struggling to see
> how this is a hack around anything...

In case we switch to GPIO descriptors we can do a generic CS
allocation / request. The part in the patch does something witch would
be used only in OF case, while ACPI or built-in device properties are
missing.

-- 
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2017-07-24 12:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24  9:53 [PATCH] spi: core: use gpio_request_one for configured gpio cs Martin Hundebøll
     [not found] ` <20170724095327.18602-1-mnhu-rjjw5hvvQKZaa/9Udqfwiw@public.gmane.org>
2017-07-24 10:49   ` Andy Shevchenko
     [not found]     ` <CAHp75VdQbw9rkxq0tvYquacYViZqWKAqOTKHjLPtP=uZi8zzsg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-24 12:01       ` Mark Brown
2017-07-24 21:16         ` Chris Packham
     [not found]           ` <e668b7529837444085b9df3a563c3fe3-5g7mGxlPNYb6GjIOKuZY+ItlCAj8ZROq@public.gmane.org>
2017-07-24 21:26             ` Martin Hundebøll
2017-07-24 21:44               ` Chris Packham
     [not found]                 ` <3027e39333a24fa7a4ce540d96b0e6f3-5g7mGxlPNYb6GjIOKuZY+ItlCAj8ZROq@public.gmane.org>
2017-07-27  9:47                   ` Andy Shevchenko
2017-07-27 21:01                     ` Chris Packham
2017-07-24 21:28             ` Mark Brown
2017-07-24 12:02       ` Mark Brown
     [not found]         ` <20170724120249.mpyv7f3t4q3eihrg-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2017-07-24 12:26           ` Andy Shevchenko [this message]

Reply instructions:

You may reply publicly 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=CAHp75Vd-2iNVyYgnT9UXGPdOck6WozJ-7tC666751s5mFNxMaQ@mail.gmail.com \
    --to=andy.shevchenko-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=jarkko.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=mnhu-rjjw5hvvQKZaa/9Udqfwiw@public.gmane.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.