Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1553980
| From | André Przywara <andre.przywara@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC |
| Date | 2017-01-09 01:20 +0100 |
| Message-ID | <sXvQR-5dd-9@gated-at.bofh.it> (permalink) |
| References | <sSEL7-5Z9-11@gated-at.bofh.it> <sSEL7-5Z9-9@gated-at.bofh.it> <sU4WS-4sk-11@gated-at.bofh.it> <sWpaN-Tr-1@gated-at.bofh.it> |
| Organization | ARM Ltd. |
On 05/01/17 22:42, Maxime Ripard wrote: > On Fri, Dec 30, 2016 at 01:55:44PM +0100, Linus Walleij wrote: >> On Mon, Dec 26, 2016 at 3:33 PM, André Przywara <andre.przywara@arm.com> wrote: >> >>> So while this patch technically looks correct, I was wondering if we >>> should really explore the possibility of making the whole of sunxi >>> pinctrl DT controlled. >>> I brought this up a while ago, but people weren't overly enthusiastic >>> about it, though their argument weren't really convincing to me[1]. >>> >>> So: >>> As this "driver" here is basically a table linking GPIO bit settings >>> (the actual mux value) to names and every pin we care about needs to be >>> enumerated in the DT anyway, why not just add something like: >>> allwinner,pinmux = <4>; >>> to each pin(group) in the DT and get rid of this "driver" file here >>> entirely? >> >> I'm open to that if you can use pinctrl-single which is in the kernel >> for this purpose only, and is used with both OMAPs and HiSilicon. > > I'm not open to that, and I'm getting tired of discussing it over and > over again. Andre, if you want to be convinced again, please read the > last discussion we had on this topic. As I said: It didn't convince me back then. And frankly we didn't really discuss it back then, I just refrained from entering a discussion against _two_ maintainers at this time, since my capacity on this kind of email threads is really very limited - especially for something that is a hobby to me. It isn't the highest priority on my list, but I am still planning on sketching something, so that we can discuss about actual code. As it seems like your new patches bring some relief to the immediate copy&paste pain (though the actual DT aspect still remains), I will shut up - for now ;-) Cheers, Andre.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-06 00:00 +0100
Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC André Przywara <andre.przywara@arm.com> - 2017-01-09 01:20 +0100
Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-16 17:40 +0100
csiph-web