From: yixun.lan@amlogic.com (Yixun Lan)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/3] pinctrl: meson-g12a: add pinctrl driver support
Date: Tue, 10 Jul 2018 09:26:10 +0800 [thread overview]
Message-ID: <9fa17a38-236f-1d83-97fa-beb06046f023@amlogic.com> (raw)
In-Reply-To: <CAFBinCCZzvn5XNiPHhYK+BxGw6J7KJxEuSXF9ZeT8cFi84FjRQ@mail.gmail.com>
HI Martin:
thanks for your suggestion
On 07/10/18 06:02, Martin Blumenstingl wrote:
> Hi Yixun,
>
> On Thu, Jul 5, 2018 at 4:53 AM Yixun Lan <yixun.lan@amlogic.com> wrote:
>>
>> HI Neil
>>
>> On 07/04/18 22:57, Neil Armstrong wrote:
>>> Hi Yixun,
>>>
>>> On 05/07/2018 00:45, Yixun Lan wrote:
>>>> This patch series try to add pinctrl driver support for
>>>> the Meson-G12A SoC.
>>>
>>> Thanks for submitting these patches.
>>>
>>> Can you explicit this patchset with more details on the G12A SoC family ?
>>> It's relationship with AXG and the differences in term of pinmuxing with the other SoC families ?
>>>
>> I thought this was already discussed while we doing pinctrl driver for
>> Meson-AXG SoC.
>>
>> Anyway, here it is:
>>
>> Starting from Meson-AXG SoC, the pinctrl controller block using 4
>> continues bit to specific pin mux function, while comparing to old
>> generation SoC which kind of using various length bits for the pin mux
>> definition. The new design would greatly simplify the software model..
>>
>> for detail example, one 32bit register can describe 8 pins, and each of
>> them has 0-7 value to set, start from value 0 to 7.
>>
>> partition the register into 8 parts:
>> bit[3:0]
>> bit[7:4]
>> bit[11:8]
>> bit[15:12]
>> bit[19:16]
>> bit[23:20]
>> bit[27:24]
>> bit[31:28]
>>
>>
>> for each value:
>> value == 0, means the pin is GPIO
>> value = {1, 2, ... 7 } is one of specific PIN function
> OK, so AXG and G12A use the same register layout -> thus the same
> pinmux ops are re-used
>
Yes
>
>
>> I could put this info into cover-letter or commit message?
> if you have to resend this series anyways then it would be great if
> you could add it to the commit description
>
sure
>>> Why is there a GPIOE bank within the AO controller ?
>>>
>>
>> It actually sit in the AO domain, although it's sounds strange from the
>> naming..
>>
>> I'm not sure if it's good idea to append a AO suffix? since the
>> documentation just use the plain GPIOE
> I am fine with plain GPIOE if that's what your internal documentation uses
> it would be great if you could add a comment (or at least a note in
> the commit message) indicating that this is how the hardware is
> designed (initially I thought this was a bug since I have no
> documentation for the G12A chipset)
I can add a comment
>
> Regards
> Martin
>
> .
>
next prev parent reply other threads:[~2018-07-10 1:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-04 22:45 Yixun Lan
2018-07-04 14:57 ` Neil Armstrong
2018-07-05 2:52 ` Yixun Lan
2018-07-09 22:02 ` Martin Blumenstingl
2018-07-10 1:26 ` Yixun Lan [this message]
2018-07-04 22:45 ` [PATCH 1/3] documentation: Add compatibles for Amlogic Meson G12A pin controllers Yixun Lan
2018-07-04 22:45 ` [PATCH 2/3] dt-bindings: pinctrl: meson-g12a: document pin name Yixun Lan
2018-07-14 14:47 ` Martin Blumenstingl
2018-07-14 14:53 ` Yixun Lan
2018-07-04 22:45 ` [PATCH 3/3] pinctrl: meson-g12a: add pinctrl driver support Yixun Lan
2018-07-14 15:30 ` Martin Blumenstingl
2018-07-17 6:55 ` Yixun Lan
2018-07-09 13:35 ` [PATCH 0/3] " Linus Walleij
2018-07-09 22:07 ` Martin Blumenstingl
2018-07-10 9:19 ` Yixun Lan
2018-07-14 14:36 ` Martin Blumenstingl
2018-07-14 14:47 ` Yixun Lan
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=9fa17a38-236f-1d83-97fa-beb06046f023@amlogic.com \
--to=yixun.lan@amlogic.com \
--cc=linus-amlogic@lists.infradead.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 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®