mbox series

[0/2] pinctrl: rockchip: codingstyle for pinctrl-rockchip

Message ID 20200117081358.5772-1-jay.xu@rock-chips.com (mailing list archive)
Headers show
Series pinctrl: rockchip: codingstyle for pinctrl-rockchip | expand

Message

Jianqun Xu Jan. 17, 2020, 8:13 a.m. UTC
Do codingstyle for pinctrl-rockchip by spliting driver by SoC types.

Convenienty for reviewing, the first patch only moving
pinctrl-rockchip.c from driver/pinctrl to driver/pinctrl/rockchip/ .

Jianqun Xu (2):
  pinctrl: rockchip: new rockchip dir for pinctrl-rockchip
  pinctrl: rockchip: split rockchip pinctrl driver by SoC type

 drivers/pinctrl/Kconfig                     |    7 -
 drivers/pinctrl/pinctrl-rockchip.c          | 4254 -------------------
 drivers/pinctrl/rockchip/Kconfig            |  126 +
 drivers/pinctrl/rockchip/Makefile           |   16 +
 drivers/pinctrl/rockchip/pinctrl-px30.c     |  224 +
 drivers/pinctrl/rockchip/pinctrl-rk2928.c   |   70 +
 drivers/pinctrl/rockchip/pinctrl-rk3036.c   |   69 +
 drivers/pinctrl/rockchip/pinctrl-rk3066a.c  |   72 +
 drivers/pinctrl/rockchip/pinctrl-rk3066b.c  |   51 +
 drivers/pinctrl/rockchip/pinctrl-rk3128.c   |  161 +
 drivers/pinctrl/rockchip/pinctrl-rk3188.c   |  147 +
 drivers/pinctrl/rockchip/pinctrl-rk3228.c   |  225 +
 drivers/pinctrl/rockchip/pinctrl-rk3288.c   |  210 +
 drivers/pinctrl/rockchip/pinctrl-rk3308.c   |  420 ++
 drivers/pinctrl/rockchip/pinctrl-rk3328.c   |  272 ++
 drivers/pinctrl/rockchip/pinctrl-rk3368.c   |  125 +
 drivers/pinctrl/rockchip/pinctrl-rk3399.c   |  195 +
 drivers/pinctrl/rockchip/pinctrl-rockchip.c | 2063 +++++++++
 drivers/pinctrl/rockchip/pinctrl-rockchip.h |  388 ++
 drivers/pinctrl/rockchip/pinctrl-rv1108.c   |  214 +
 20 files changed, 5048 insertions(+), 4261 deletions(-)
 delete mode 100644 drivers/pinctrl/pinctrl-rockchip.c
 create mode 100644 drivers/pinctrl/rockchip/Kconfig
 create mode 100644 drivers/pinctrl/rockchip/Makefile
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-px30.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk2928.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3036.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3066a.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3066b.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3128.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3188.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3228.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3288.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3308.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3328.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3368.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3399.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rockchip.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rockchip.h
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rv1108.c

Comments

Linus Walleij Sept. 12, 2020, 11:27 a.m. UTC | #1
Jianqun, Heiko,

On Fri, Jan 17, 2020 at 9:14 AM Jianqun Xu <jay.xu@rock-chips.com> wrote:

> Do codingstyle for pinctrl-rockchip by spliting driver by SoC types.
>
> Convenienty for reviewing, the first patch only moving
> pinctrl-rockchip.c from driver/pinctrl to driver/pinctrl/rockchip/ .
>
> Jianqun Xu (2):
>   pinctrl: rockchip: new rockchip dir for pinctrl-rockchip
>   pinctrl: rockchip: split rockchip pinctrl driver by SoC type

Why were these patches never applied? Is it my fault?

I don't even have patch 2/2 in my mailbox, possibly it was
too big!

Heiko if you're OK with this change can Jianqun just send a
rebased version?

Yours,
Linus Walleij
Heiko Stübner Sept. 12, 2020, 12:02 p.m. UTC | #2
Hi Linus,

Am Samstag, 12. September 2020, 13:27:44 CEST schrieb Linus Walleij:
> Jianqun, Heiko,
> 
> On Fri, Jan 17, 2020 at 9:14 AM Jianqun Xu <jay.xu@rock-chips.com> wrote:
> 
> > Do codingstyle for pinctrl-rockchip by spliting driver by SoC types.
> >
> > Convenienty for reviewing, the first patch only moving
> > pinctrl-rockchip.c from driver/pinctrl to driver/pinctrl/rockchip/ .
> >
> > Jianqun Xu (2):
> >   pinctrl: rockchip: new rockchip dir for pinctrl-rockchip
> >   pinctrl: rockchip: split rockchip pinctrl driver by SoC type
> 
> Why were these patches never applied? Is it my fault?

It's not your fault :-)

> I don't even have patch 2/2 in my mailbox, possibly it was
> too big!
> 
> Heiko if you're OK with this change can Jianqun just send a
> rebased version?

We agreed to split it into smaller chunks which I think is the 13-patch
series you mentioned elsewhere today. But I guess that fell through
the cracks in my review :-( .

So I guess we should do the current GKI thingy first to get that
module build and after that maybe Jianqun can find the time to rebase
the per-soc split on top of that.


Heiko
Jianqun Xu Sept. 14, 2020, 12:01 a.m. UTC | #3
Hi Heiko & Walleij

>Hi Linus,
>
>Am Samstag, 12. September 2020, 13:27:44 CEST schrieb Linus Walleij:
>> Jianqun, Heiko,
>>
>> On Fri, Jan 17, 2020 at 9:14 AM Jianqun Xu <jay.xu@rock-chips.com> wrote:
>>
>> > Do codingstyle for pinctrl-rockchip by spliting driver by SoC types.
>> >
>> > Convenienty for reviewing, the first patch only moving
>> > pinctrl-rockchip.c from driver/pinctrl to driver/pinctrl/rockchip/ .
>> >
>> > Jianqun Xu (2):
>> >   pinctrl: rockchip: new rockchip dir for pinctrl-rockchip
>> >   pinctrl: rockchip: split rockchip pinctrl driver by SoC type
>>
>> Why were these patches never applied? Is it my fault?
>
>It's not your fault :-)
>
>> I don't even have patch 2/2 in my mailbox, possibly it was
>> too big!
>>
>> Heiko if you're OK with this change can Jianqun just send a
>> rebased version?
>
>We agreed to split it into smaller chunks which I think is the 13-patch
>series you mentioned elsewhere today. But I guess that fell through
>the cracks in my review :-( .
>
>So I guess we should do the current GKI thingy first to get that
>module build and after that maybe Jianqun can find the time to rebase
>the per-soc split on top of that.
> 
Okay, I plan to do split work again after the GKI thingy, My plan including

1. applid patches about gpio populate as platform device, for GKI
2. applid patches about seperating gpio platform driver, codes outof pinctrl driver
3. applid patches about seperating pinctrl driver by soc codes and common codes, large patches

For now I will send new verison to do step 1, thank you
>
>Heiko
>
>
>
>