mbox series

[00/20] ARM: uniphier: various refactoring for v2017.11-rc2

Message ID 1507890129-1543-1-git-send-email-yamada.masahiro@socionext.com
Headers show
Series ARM: uniphier: various refactoring for v2017.11-rc2 | expand

Message

Masahiro Yamada Oct. 13, 2017, 10:21 a.m. UTC
- Reactor of GPIO, clk, reset drivers.
 - Clean up SOC code
 - Sync DT
 - Use more clock drivers
 - Split U-Boot specific DT property


Masahiro Yamada (20):
  ARM: uniphier: switch to CONFIG_ENV_IS_NOWHERE
  gpio: uniphier: rework single device node model
  ARM: dts: uniphier: update GPIO nodes
  pinctrl: uniphier: set PUPD_SIMPLE cap flag for PXs3
  pinctrl: uniphier: simplify input enable and delete pin arrays
  ARM: uniphier: use pr_() instead of printf() where appropriate
  usb: dwc3-uniphier: replace <common.h> with <linux/bitops.h>
  i2c: uniphier: replace debug() with dev_dbg()
  i2c: uniphier-f: replace debug() with dev_dbg()
  clk: uniphier: rework for better clock tree structure
  clk: uniphier: add PXs3 clock data
  clk: uniphier: add peripheral clock data
  reset: uniphier: fix the first argument passed to dev_err()
  i2c: uniphier: use clk for enable and get_rate
  i2c: uniphier-f: use clk for enable and get_rate
  ARM: uniphier: split u-boot,dm-pre-reloc out to
    uniphier-v7-u-boot.dtsi
  ARM: dts: uniphier: prepare to use clock for serial
  serial: uniphier: use clk for enable and get_rate
  ARM: dts: uniphier: sync DT with Linux 4.14-rc4
  ARM: uniphier: change the default of SoC select to UNIPHIER_V7_MULTI

 arch/arm/dts/uniphier-ld11.dtsi                  |  38 ++-
 arch/arm/dts/uniphier-ld20.dtsi                  |  97 ++++++-
 arch/arm/dts/uniphier-ld4-ref.dts                |   9 +-
 arch/arm/dts/uniphier-ld4.dtsi                   | 122 +--------
 arch/arm/dts/uniphier-ld6b-ref.dts               |   9 +-
 arch/arm/dts/uniphier-pinctrl.dtsi               |  15 ++
 arch/arm/dts/uniphier-pro4-ace.dts               |   9 -
 arch/arm/dts/uniphier-pro4-ref.dts               |   9 -
 arch/arm/dts/uniphier-pro4-sanji.dts             |  21 --
 arch/arm/dts/uniphier-pro4.dtsi                  | 214 +---------------
 arch/arm/dts/uniphier-pro5-4kbox.dts             |   9 -
 arch/arm/dts/uniphier-pro5.dtsi                  | 214 +---------------
 arch/arm/dts/uniphier-pxs2-gentil.dts            |  21 --
 arch/arm/dts/uniphier-pxs2-vodka.dts             |  21 --
 arch/arm/dts/uniphier-pxs2.dtsi                  | 256 ++++---------------
 arch/arm/dts/uniphier-pxs3.dtsi                  |   7 +-
 arch/arm/dts/uniphier-sld8-ref.dts               |   9 +-
 arch/arm/dts/uniphier-sld8.dtsi                  | 126 +---------
 arch/arm/dts/uniphier-v7-u-boot.dtsi             |  69 +++++
 arch/arm/dts/uniphier-v8-u-boot.dtsi             |  13 +
 arch/arm/mach-uniphier/Kconfig                   |   5 +-
 arch/arm/mach-uniphier/arm32/psci.c              |   4 +-
 arch/arm/mach-uniphier/board_late_init.c         |   4 +-
 arch/arm/mach-uniphier/boot-device/boot-device.c |   1 +
 arch/arm/mach-uniphier/cpu-info.c                |   7 +-
 arch/arm/mach-uniphier/dram/cmd_ddrmphy.c        |   4 +-
 arch/arm/mach-uniphier/dram/cmd_ddrphy.c         |   4 +-
 arch/arm/mach-uniphier/dram/ddrphy-ld4.c         |   5 +-
 arch/arm/mach-uniphier/dram/umc-pxs2.c           |  18 +-
 arch/arm/mach-uniphier/dram_init.c               |   7 +-
 drivers/clk/uniphier/Makefile                    |   2 +
 drivers/clk/uniphier/clk-uniphier-core.c         | 308 +++++++++++++++++------
 drivers/clk/uniphier/clk-uniphier-mio.c          | 118 ++++-----
 drivers/clk/uniphier/clk-uniphier-peri.c         | 113 +++++++++
 drivers/clk/uniphier/clk-uniphier-sys.c          |  52 ++--
 drivers/clk/uniphier/clk-uniphier.h              |  85 ++++---
 drivers/gpio/gpio-uniphier.c                     | 140 +++++++----
 drivers/i2c/i2c-uniphier-f.c                     | 131 +++++-----
 drivers/i2c/i2c-uniphier.c                       |  82 +++---
 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c |  17 +-
 drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c  |  16 --
 drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c |   5 -
 drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c |  15 --
 drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c |   9 -
 drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c |   3 +-
 drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c |  30 ---
 drivers/reset/reset-uniphier.c                   |   3 +-
 drivers/serial/serial_uniphier.c                 |  16 +-
 drivers/usb/dwc3/dwc3-uniphier.c                 |   2 +-
 env/Kconfig                                      |   1 -
 50 files changed, 1082 insertions(+), 1413 deletions(-)
 create mode 100644 arch/arm/dts/uniphier-v7-u-boot.dtsi
 create mode 100644 arch/arm/dts/uniphier-v8-u-boot.dtsi
 create mode 100644 drivers/clk/uniphier/clk-uniphier-peri.c

Comments

Masahiro Yamada Oct. 15, 2017, 1:36 p.m. UTC | #1
2017-10-13 19:21 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
>  - Reactor of GPIO, clk, reset drivers.
>  - Clean up SOC code
>  - Sync DT
>  - Use more clock drivers
>  - Split U-Boot specific DT property
>
>
> Masahiro Yamada (20):
>   ARM: uniphier: switch to CONFIG_ENV_IS_NOWHERE
>   gpio: uniphier: rework single device node model
>   ARM: dts: uniphier: update GPIO nodes
>   pinctrl: uniphier: set PUPD_SIMPLE cap flag for PXs3
>   pinctrl: uniphier: simplify input enable and delete pin arrays
>   ARM: uniphier: use pr_() instead of printf() where appropriate
>   usb: dwc3-uniphier: replace <common.h> with <linux/bitops.h>
>   i2c: uniphier: replace debug() with dev_dbg()
>   i2c: uniphier-f: replace debug() with dev_dbg()
>   clk: uniphier: rework for better clock tree structure
>   clk: uniphier: add PXs3 clock data
>   clk: uniphier: add peripheral clock data
>   reset: uniphier: fix the first argument passed to dev_err()
>   i2c: uniphier: use clk for enable and get_rate
>   i2c: uniphier-f: use clk for enable and get_rate
>   ARM: uniphier: split u-boot,dm-pre-reloc out to
>     uniphier-v7-u-boot.dtsi
>   ARM: dts: uniphier: prepare to use clock for serial
>   serial: uniphier: use clk for enable and get_rate
>   ARM: dts: uniphier: sync DT with Linux 4.14-rc4
>   ARM: uniphier: change the default of SoC select to UNIPHIER_V7_MULTI
>

1-11, 13, 20 applied to u-boot-uniphier.

The others have been deferred
because I found the SPL size exceeds the limit
depending on compiler.