public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/12] rockchip: add support for px30
Date: Fri, 25 Oct 2019 01:27:51 +0200	[thread overview]
Message-ID: <20191024232803.10338-1-heiko@sntech.de> (raw)

From: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>

This series adds support for the px30 soc and its evaluation board.
The most interesting aspect is the sram size which is only 10kb,
so the TPL doing the DDR init needs to be really tiny, while the
SPL then should use devicemanager and all other newer features.

I'm not yet sure if there is a better solution for the first patch
but right now without it there is no way to build SPL with Framework
and TPL without.

David Wu (1):
  pinctrl: rockchip: add px30 pinctrl driver

Finley Xiao (1):
  misc: add driver for the Rockchip otp controller

Heiko Stuebner (8):
  spl: separate SPL_FRAMEWORK config for spl and tpl
  rockchip: add core px30 headers
  net: gmac_rockchip: add support for px30
  rockchip: misc: read cpuid either from efuse or otp
  rockchip: ram: add dm-based sdram driver
  rockchip: add px30 devicetrees
  rockchip: add px30-evb board

Kever Yang (2):
  rockchip: clk: add px30 clock driver
  rockchip: mkimage: add support for px30
  rockchip: add px30 architecture core

 arch/arm/dts/Makefile                         |    3 +
 arch/arm/dts/px30-evb-u-boot.dtsi             |   81 +
 arch/arm/dts/px30-evb.dts                     |  527 +++++
 arch/arm/dts/px30.dtsi                        | 2068 +++++++++++++++++
 arch/arm/include/asm/arch-px30/boot0.h        |   11 +
 arch/arm/include/asm/arch-px30/gpio.h         |   11 +
 arch/arm/include/asm/arch-rockchip/cru_px30.h |  432 ++++
 arch/arm/include/asm/arch-rockchip/grf_px30.h |  144 ++
 .../include/asm/arch-rockchip/sdram_px30.h    |  359 +++
 arch/arm/lib/Makefile                         |    2 +-
 arch/arm/lib/crt0.S                           |    2 +-
 arch/arm/lib/crt0_64.S                        |    2 +
 arch/arm/mach-rockchip/Kconfig                |   23 +
 arch/arm/mach-rockchip/Makefile               |    2 +
 arch/arm/mach-rockchip/misc.c                 |    7 +-
 arch/arm/mach-rockchip/px30-board-tpl.c       |   59 +
 arch/arm/mach-rockchip/px30/Kconfig           |   48 +
 arch/arm/mach-rockchip/px30/Makefile          |   14 +
 arch/arm/mach-rockchip/px30/clk_px30.c        |   31 +
 arch/arm/mach-rockchip/px30/px30.c            |  248 ++
 .../px30/sdram-px30-ddr3-detect-333.inc       |   70 +
 .../px30/sdram-px30-ddr4-detect-333.inc       |   73 +
 .../px30/sdram-px30-ddr_skew.inc              |  121 +
 .../px30/sdram-px30-lpddr2-detect-333.inc     |   71 +
 .../px30/sdram-px30-lpddr3-detect-333.inc     |   72 +
 arch/arm/mach-rockchip/px30/sdram_px30.c      | 1405 +++++++++++
 arch/arm/mach-rockchip/px30/syscon_px30.c     |   53 +
 arch/powerpc/lib/Makefile                     |    2 +-
 board/rockchip/evb_px30/Kconfig               |   15 +
 board/rockchip/evb_px30/MAINTAINERS           |    6 +
 board/rockchip/evb_px30/Makefile              |    7 +
 board/rockchip/evb_px30/evb_px30.c            |    4 +
 common/spl/Kconfig                            |    8 +
 common/spl/Makefile                           |    2 +-
 configs/evb-px30_defconfig                    |  113 +
 drivers/clk/rockchip/Makefile                 |    1 +
 drivers/clk/rockchip/clk_px30.c               | 1630 +++++++++++++
 drivers/misc/Kconfig                          |    9 +
 drivers/misc/Makefile                         |    1 +
 drivers/misc/rockchip-otp.c                   |  176 ++
 drivers/net/gmac_rockchip.c                   |   69 +
 drivers/pinctrl/rockchip/Makefile             |    1 +
 drivers/pinctrl/rockchip/pinctrl-px30.c       |  368 +++
 drivers/ram/rockchip/Makefile                 |    1 +
 drivers/ram/rockchip/sdram_px30.c             |   57 +
 include/configs/evb_px30.h                    |   19 +
 include/configs/px30_common.h                 |   62 +
 include/dt-bindings/clock/px30-cru.h          |  389 ++++
 include/dt-bindings/power/px30-power.h        |   27 +
 include/dt-bindings/soc/rockchip,boot-mode.h  |   16 +
 scripts/Makefile.spl                          |    4 +
 tools/rkcommon.c                              |    1 +
 52 files changed, 8922 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/dts/px30-evb-u-boot.dtsi
 create mode 100644 arch/arm/dts/px30-evb.dts
 create mode 100644 arch/arm/dts/px30.dtsi
 create mode 100644 arch/arm/include/asm/arch-px30/boot0.h
 create mode 100644 arch/arm/include/asm/arch-px30/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rockchip/cru_px30.h
 create mode 100644 arch/arm/include/asm/arch-rockchip/grf_px30.h
 create mode 100644 arch/arm/include/asm/arch-rockchip/sdram_px30.h
 create mode 100644 arch/arm/mach-rockchip/px30-board-tpl.c
 create mode 100644 arch/arm/mach-rockchip/px30/Kconfig
 create mode 100644 arch/arm/mach-rockchip/px30/Makefile
 create mode 100644 arch/arm/mach-rockchip/px30/clk_px30.c
 create mode 100644 arch/arm/mach-rockchip/px30/px30.c
 create mode 100644 arch/arm/mach-rockchip/px30/sdram-px30-ddr3-detect-333.inc
 create mode 100644 arch/arm/mach-rockchip/px30/sdram-px30-ddr4-detect-333.inc
 create mode 100644 arch/arm/mach-rockchip/px30/sdram-px30-ddr_skew.inc
 create mode 100644 arch/arm/mach-rockchip/px30/sdram-px30-lpddr2-detect-333.inc
 create mode 100644 arch/arm/mach-rockchip/px30/sdram-px30-lpddr3-detect-333.inc
 create mode 100644 arch/arm/mach-rockchip/px30/sdram_px30.c
 create mode 100644 arch/arm/mach-rockchip/px30/syscon_px30.c
 create mode 100644 board/rockchip/evb_px30/Kconfig
 create mode 100644 board/rockchip/evb_px30/MAINTAINERS
 create mode 100644 board/rockchip/evb_px30/Makefile
 create mode 100644 board/rockchip/evb_px30/evb_px30.c
 create mode 100644 configs/evb-px30_defconfig
 create mode 100644 drivers/clk/rockchip/clk_px30.c
 create mode 100644 drivers/misc/rockchip-otp.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-px30.c
 create mode 100644 drivers/ram/rockchip/sdram_px30.c
 create mode 100644 include/configs/evb_px30.h
 create mode 100644 include/configs/px30_common.h
 create mode 100644 include/dt-bindings/clock/px30-cru.h
 create mode 100644 include/dt-bindings/power/px30-power.h
 create mode 100644 include/dt-bindings/soc/rockchip,boot-mode.h

-- 
2.23.0

             reply	other threads:[~2019-10-24 23:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24 23:27 Heiko Stuebner [this message]
2019-10-24 23:27 ` [U-Boot] [PATCH 01/12] spl: separate SPL_FRAMEWORK config for spl and tpl Heiko Stuebner
2019-10-25  1:55   ` Kever Yang
2019-10-24 23:27 ` [U-Boot] [PATCH 02/12] rockchip: add core px30 headers Heiko Stuebner
2019-10-25  2:04   ` Kever Yang
2019-10-24 23:27 ` [U-Boot] [PATCH 03/12] pinctrl: rockchip: add px30 pinctrl driver Heiko Stuebner
2019-10-25  2:07   ` Kever Yang
2019-10-24 23:27 ` [U-Boot] [PATCH 04/12] rockchip: clk: add px30 clock driver Heiko Stuebner
2019-10-24 23:27 ` [U-Boot] [PATCH 05/12] net: gmac_rockchip: add support for px30 Heiko Stuebner
2019-10-25  2:09   ` Kever Yang
2019-10-24 23:27 ` [U-Boot] [PATCH 06/12] rockchip: mkimage: " Heiko Stuebner
2019-10-25  2:09   ` Kever Yang
2019-10-24 23:27 ` [U-Boot] [PATCH 07/12] misc: add driver for the Rockchip otp controller Heiko Stuebner
2019-10-25  2:10   ` Kever Yang
2019-10-24 23:27 ` [U-Boot] [PATCH 08/12] rockchip: misc: read cpuid either from efuse or otp Heiko Stuebner
2019-10-25  2:11   ` Kever Yang
2019-10-24 23:28 ` [U-Boot] [PATCH 09/12] rockchip: ram: add dm-based sdram driver Heiko Stuebner
2019-10-24 23:28 ` [U-Boot] [PATCH 10/12] rockchip: add px30 devicetrees Heiko Stuebner
2019-10-25  2:39   ` Kever Yang
2019-10-24 23:28 ` [U-Boot] [PATCH 11/12] rockchip: add px30 architecture core Heiko Stuebner
2019-10-25  2:49   ` Kever Yang
2019-10-25  7:47     ` Heiko Stübner
2019-11-10 14:13       ` Kever Yang
2019-11-10 14:46         ` Heiko Stuebner
2019-10-24 23:28 ` [U-Boot] [PATCH 12/12] rockchip: add px30-evb board Heiko Stuebner
2019-10-25  2:51   ` Kever Yang
2019-10-25  1:44 ` [U-Boot] [PATCH 00/12] rockchip: add support for px30 Kever Yang
2019-11-18  2:57 ` Kever Yang

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=20191024232803.10338-1-heiko@sntech.de \
    --to=heiko@sntech.de \
    --cc=u-boot@lists.denx.de \
    /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