From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
To: Chris Packham <Chris.Packham@alliedtelesis.co.nz>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Cc: Kalyan Kinthada <Kalyan.Kinthada@alliedtelesis.co.nz>,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
Laxman Dewangan <ldewangan@nvidia.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCHv4 3/5] pinctrl: mvebu: pinctrl driver for 98DX3236 SoC
Date: Fri, 20 Jan 2017 00:19:13 +0100 [thread overview]
Message-ID: <42aa88b1-4807-245b-6107-0f1db28679b8@gmail.com> (raw)
In-Reply-To: <66c205acea6046978bf17e6d8fc1959f@svr-chch-ex1.atlnz.lc>
On 19.01.2017 22:12, Chris Packham wrote:
> On 14/01/17 20:50, Chris Packham wrote:
>> On 13/01/17 22:54, Sebastian Hesselbarth wrote:
>>> On 13.01.2017 10:12, Chris Packham wrote:
>>>> From: Kalyan Kinthada <kalyan.kinthada@alliedtelesis.co.nz>
>>>>
>>>> This pinctrl driver supports the 98DX3236, 98DX3336 and 98DX4251 SoCs
>>>> from Marvell.
>>>>
>>>> Signed-off-by: Kalyan Kinthada <kalyan.kinthada@alliedtelesis.co.nz>
>>>> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
>>>> Acked-by: Rob Herring <robh@kernel.org>
>>>> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
>>>> ---
>>>>
>>>> Notes:
>>>> Changes in v2:
>>>> - include sdio support for the 98DX4251
>>>> Changes in v3:
>>>> - None
>>>> Changes in v4:
>>>> - Correct some discrepencies between binding and driver.
>>>
>>> Well, unfortunately I still see differences between the "gpio" in
>>> the binding and "gpo" in the driver.
>>>
>>> Please go back to that list I sent you yesterday and fix them all.
>>>
>>
>> I think you may have missed my initial reply [1]. Or I have missed your
>> response to it. Long story short "gpo" is intentional because some of
>> those pins can't be used as inputs. But if you still want me to change
>> it I will.
>>
>> [1] - https://lkml.org/lkml/2017/1/12/117
>>
>
> Did you get a chance to consider this. Do you still want me to change
> gpo -> gpio given the information above?
Chris,
sorry if I wasn't clear enough. I don't want you to change every gpo
into gpio. All I was referring to is the _difference_ between driver
implementation and device tree binding - and soley resolve that.
So, for the gpo's I see that the binding doc still says "gpio" for the
available functions where the driver expects "gpo".
e.g. the binding has this:
mpp6 6 gpio, sd0(clk), dev(a2)
if you change it to
mpp6 6 gpo, sd0(clk), dev(a2)
both binding and driver are the same, right?
I do understand that the hardware is gp-output only and you correctly
reflected that in the pinctrl driver - but the binding doc does not
reflect that for those mpps in the list.
Did I make it clearer now or am I still missing the point?
Sebastian
next prev parent reply other threads:[~2017-01-19 23:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-13 9:12 [PATCHv4 0/5] Support for Marvell switches with integrated CPUs Chris Packham
2017-01-13 9:12 ` [PATCHv4 1/5] clk: mvebu: support for 98DX3236 SoC Chris Packham
2017-01-18 22:25 ` Rob Herring
2017-01-19 3:24 ` Chris Packham
2017-01-21 0:48 ` Stephen Boyd
2017-01-23 7:53 ` Chris Packham
2017-01-23 23:53 ` Stephen Boyd
2017-01-13 9:12 ` [PATCHv4 2/5] arm: mvebu: support for SMP on 98DX3336 SoC Chris Packham
2017-01-19 0:47 ` Stephen Boyd
2017-01-19 3:23 ` Chris Packham
2017-01-13 9:12 ` [PATCHv4 3/5] pinctrl: mvebu: pinctrl driver for 98DX3236 SoC Chris Packham
2017-01-13 9:54 ` Sebastian Hesselbarth
2017-01-14 7:50 ` Chris Packham
2017-01-19 21:12 ` Chris Packham
2017-01-19 23:19 ` Sebastian Hesselbarth [this message]
2017-01-19 23:36 ` Chris Packham
2017-01-19 10:02 ` Russell King - ARM Linux
2017-01-19 21:10 ` Chris Packham
2017-01-23 8:18 ` Chris Packham
2017-01-26 14:11 ` Linus Walleij
2017-01-13 9:12 ` [PATCHv4 4/5] arm: mvebu: Add device tree for 98DX3236 SoCs Chris Packham
2017-01-13 9:12 ` [PATCHv4 5/5] arm: mvebu: Add device tree for db-dxbc2 and db-xc3-24g4xg boards Chris Packham
2017-01-26 15:17 ` [PATCHv4 0/5] Support for Marvell switches with integrated CPUs Gregory CLEMENT
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=42aa88b1-4807-245b-6107-0f1db28679b8@gmail.com \
--to=sebastian.hesselbarth@gmail.com \
--cc=Chris.Packham@alliedtelesis.co.nz \
--cc=Kalyan.Kinthada@alliedtelesis.co.nz \
--cc=devicetree@vger.kernel.org \
--cc=ldewangan@nvidia.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@free-electrons.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®