mbox series

[v4,0/9] MIPS: Migrate pistachio to generic kernel

Message ID 20210723022543.4095-1-jiaxun.yang@flygoat.com
Headers show
Series MIPS: Migrate pistachio to generic kernel | expand

Message

Jiaxun Yang July 23, 2021, 2:25 a.m. UTC
I'm lucky enough to get a Creator CI40 board from dusts.
This patchset move it to gerneic kernel to reduce maintenance burden.
It have been tested with SD Card boot.

--
v2: Minor fixes
v3: Typo fixes and 0day testbot warning fix (Thanks to Sergei!)
v4: 01.org warning fix

Jiaxun Yang (9):
  MIPS: generic: Allow generating FIT image for Marduk board
  MIPS: DTS: Pistachio add missing cpc and cdmm
  clk: pistachio: Make it selectable for generic MIPS kernel
  clocksource/drivers/pistachio: Make it selectable for MIPS
  phy: pistachio-usb: Depend on MIPS || COMPILE_TEST
  pinctrl: pistachio: Make it as an option
  MIPS: config: generic: Add config for Marduk board
  MIPS: Retire MACH_PISTACHIO
  MIPS: Make a alias for pistachio_defconfig

 arch/mips/Kbuild.platforms                    |   1 -
 arch/mips/Kconfig                             |  30 --
 arch/mips/Makefile                            |   3 +
 arch/mips/boot/dts/Makefile                   |   2 +-
 arch/mips/boot/dts/img/Makefile               |   3 +-
 arch/mips/boot/dts/img/pistachio.dtsi         |  10 +
 arch/mips/configs/generic/board-marduk.config |  53 +++
 arch/mips/configs/pistachio_defconfig         | 316 ------------------
 arch/mips/generic/Kconfig                     |   6 +
 arch/mips/generic/Platform                    |   1 +
 arch/mips/generic/board-marduk.its.S          |  22 ++
 arch/mips/pistachio/Kconfig                   |  14 -
 arch/mips/pistachio/Makefile                  |   2 -
 arch/mips/pistachio/Platform                  |   6 -
 arch/mips/pistachio/init.c                    | 125 -------
 arch/mips/pistachio/irq.c                     |  24 --
 arch/mips/pistachio/time.c                    |  55 ---
 drivers/clk/Kconfig                           |   1 +
 drivers/clk/Makefile                          |   2 +-
 drivers/clk/pistachio/Kconfig                 |   8 +
 drivers/clocksource/Kconfig                   |   3 +-
 drivers/phy/Kconfig                           |   2 +-
 drivers/pinctrl/Kconfig                       |   5 +-
 23 files changed, 114 insertions(+), 580 deletions(-)
 create mode 100644 arch/mips/configs/generic/board-marduk.config
 delete mode 100644 arch/mips/configs/pistachio_defconfig
 create mode 100644 arch/mips/generic/board-marduk.its.S
 delete mode 100644 arch/mips/pistachio/Kconfig
 delete mode 100644 arch/mips/pistachio/Makefile
 delete mode 100644 arch/mips/pistachio/Platform
 delete mode 100644 arch/mips/pistachio/init.c
 delete mode 100644 arch/mips/pistachio/irq.c
 delete mode 100644 arch/mips/pistachio/time.c
 create mode 100644 drivers/clk/pistachio/Kconfig

Comments

Jiaxun Yang Aug. 7, 2021, 3:06 a.m. UTC | #1
在 2021/7/23 上午10:25, Jiaxun Yang 写道:
> I'm lucky enough to get a Creator CI40 board from dusts.
> This patchset move it to gerneic kernel to reduce maintenance burden.
> It have been tested with SD Card boot.

Hi Thomas,

For the series, the pinctrl one have been applied by subsystem 
maintainer and
rests have been acked by subsystem maintainers, could you please apply them
to MIPS tree?

Thanks.

- Jiaxun

>
> --
> v2: Minor fixes
> v3: Typo fixes and 0day testbot warning fix (Thanks to Sergei!)
> v4: 01.org warning fix
>
> Jiaxun Yang (9):
>    MIPS: generic: Allow generating FIT image for Marduk board
>    MIPS: DTS: Pistachio add missing cpc and cdmm
>    clk: pistachio: Make it selectable for generic MIPS kernel
>    clocksource/drivers/pistachio: Make it selectable for MIPS
>    phy: pistachio-usb: Depend on MIPS || COMPILE_TEST
>    pinctrl: pistachio: Make it as an option
>    MIPS: config: generic: Add config for Marduk board
>    MIPS: Retire MACH_PISTACHIO
>    MIPS: Make a alias for pistachio_defconfig
>
>   arch/mips/Kbuild.platforms                    |   1 -
>   arch/mips/Kconfig                             |  30 --
>   arch/mips/Makefile                            |   3 +
>   arch/mips/boot/dts/Makefile                   |   2 +-
>   arch/mips/boot/dts/img/Makefile               |   3 +-
>   arch/mips/boot/dts/img/pistachio.dtsi         |  10 +
>   arch/mips/configs/generic/board-marduk.config |  53 +++
>   arch/mips/configs/pistachio_defconfig         | 316 ------------------
>   arch/mips/generic/Kconfig                     |   6 +
>   arch/mips/generic/Platform                    |   1 +
>   arch/mips/generic/board-marduk.its.S          |  22 ++
>   arch/mips/pistachio/Kconfig                   |  14 -
>   arch/mips/pistachio/Makefile                  |   2 -
>   arch/mips/pistachio/Platform                  |   6 -
>   arch/mips/pistachio/init.c                    | 125 -------
>   arch/mips/pistachio/irq.c                     |  24 --
>   arch/mips/pistachio/time.c                    |  55 ---
>   drivers/clk/Kconfig                           |   1 +
>   drivers/clk/Makefile                          |   2 +-
>   drivers/clk/pistachio/Kconfig                 |   8 +
>   drivers/clocksource/Kconfig                   |   3 +-
>   drivers/phy/Kconfig                           |   2 +-
>   drivers/pinctrl/Kconfig                       |   5 +-
>   23 files changed, 114 insertions(+), 580 deletions(-)
>   create mode 100644 arch/mips/configs/generic/board-marduk.config
>   delete mode 100644 arch/mips/configs/pistachio_defconfig
>   create mode 100644 arch/mips/generic/board-marduk.its.S
>   delete mode 100644 arch/mips/pistachio/Kconfig
>   delete mode 100644 arch/mips/pistachio/Makefile
>   delete mode 100644 arch/mips/pistachio/Platform
>   delete mode 100644 arch/mips/pistachio/init.c
>   delete mode 100644 arch/mips/pistachio/irq.c
>   delete mode 100644 arch/mips/pistachio/time.c
>   create mode 100644 drivers/clk/pistachio/Kconfig
>
Thomas Bogendoerfer Aug. 7, 2021, 9:28 a.m. UTC | #2
On Sat, Aug 07, 2021 at 11:06:12AM +0800, Jiaxun Yang wrote:
> 

> 

> 在 2021/7/23 上午10:25, Jiaxun Yang 写道:

> > I'm lucky enough to get a Creator CI40 board from dusts.

> > This patchset move it to gerneic kernel to reduce maintenance burden.

> > It have been tested with SD Card boot.

> 

> Hi Thomas,

> 

> For the series, the pinctrl one have been applied by subsystem maintainer

> and

> rests have been acked by subsystem maintainers, could you please apply them

> to MIPS tree?


sure that's my plan.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
Thomas Bogendoerfer Aug. 12, 2021, 2:09 p.m. UTC | #3
On Fri, Jul 23, 2021 at 10:25:34AM +0800, Jiaxun Yang wrote:
> I'm lucky enough to get a Creator CI40 board from dusts.

> This patchset move it to gerneic kernel to reduce maintenance burden.

> It have been tested with SD Card boot.

> 

> --

> v2: Minor fixes

> v3: Typo fixes and 0day testbot warning fix (Thanks to Sergei!)

> v4: 01.org warning fix

> 

> Jiaxun Yang (9):

>   MIPS: generic: Allow generating FIT image for Marduk board

>   MIPS: DTS: Pistachio add missing cpc and cdmm

>   clk: pistachio: Make it selectable for generic MIPS kernel

>   clocksource/drivers/pistachio: Make it selectable for MIPS

>   phy: pistachio-usb: Depend on MIPS || COMPILE_TEST

>   pinctrl: pistachio: Make it as an option

>   MIPS: config: generic: Add config for Marduk board

>   MIPS: Retire MACH_PISTACHIO

>   MIPS: Make a alias for pistachio_defconfig

> 

>  arch/mips/Kbuild.platforms                    |   1 -

>  arch/mips/Kconfig                             |  30 --

>  arch/mips/Makefile                            |   3 +

>  arch/mips/boot/dts/Makefile                   |   2 +-

>  arch/mips/boot/dts/img/Makefile               |   3 +-

>  arch/mips/boot/dts/img/pistachio.dtsi         |  10 +

>  arch/mips/configs/generic/board-marduk.config |  53 +++

>  arch/mips/configs/pistachio_defconfig         | 316 ------------------

>  arch/mips/generic/Kconfig                     |   6 +

>  arch/mips/generic/Platform                    |   1 +

>  arch/mips/generic/board-marduk.its.S          |  22 ++

>  arch/mips/pistachio/Kconfig                   |  14 -

>  arch/mips/pistachio/Makefile                  |   2 -

>  arch/mips/pistachio/Platform                  |   6 -

>  arch/mips/pistachio/init.c                    | 125 -------

>  arch/mips/pistachio/irq.c                     |  24 --

>  arch/mips/pistachio/time.c                    |  55 ---

>  drivers/clk/Kconfig                           |   1 +

>  drivers/clk/Makefile                          |   2 +-

>  drivers/clk/pistachio/Kconfig                 |   8 +

>  drivers/clocksource/Kconfig                   |   3 +-

>  drivers/phy/Kconfig                           |   2 +-

>  drivers/pinctrl/Kconfig                       |   5 +-

>  23 files changed, 114 insertions(+), 580 deletions(-)

>  create mode 100644 arch/mips/configs/generic/board-marduk.config

>  delete mode 100644 arch/mips/configs/pistachio_defconfig

>  create mode 100644 arch/mips/generic/board-marduk.its.S

>  delete mode 100644 arch/mips/pistachio/Kconfig

>  delete mode 100644 arch/mips/pistachio/Makefile

>  delete mode 100644 arch/mips/pistachio/Platform

>  delete mode 100644 arch/mips/pistachio/init.c

>  delete mode 100644 arch/mips/pistachio/irq.c

>  delete mode 100644 arch/mips/pistachio/time.c

>  create mode 100644 drivers/clk/pistachio/Kconfig


series applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]