[PATCH v2 00/18] MIPS: intel: add initial support for Intel MIPS SoCs
From: Songjun Wu
Date: Thu Aug 02 2018 - 23:03:30 EST
This patch series is for adding the support for Intel MIPS
interAptiv SoC GRX500 family. It includes CCF support, serial
driver optimization and DTS modification.
This patch series is applied on top of linux v4.18-rc7.
Basic verification is performed on GRX500 board.
We propose merging this patch series into MIPS Linux tree.
Changes in v2:
- Remove unused _END macros
- Remove the redundant check and not accurate comments
- Replace the get_counter_resolution function with fixed value 2
- Use obj-y and split into per line per .o
- Add EVA mapping description in code comments
- Remove unused include header file
- Do a clean-up for grx500_defconfig
- Rewrite clock driver, add platform clock description details in
clock driver.
- Rewrite clock driver's dt-binding document according to Rob Herring's
comments.
- Simplify device tree docoment, remove some clock description.
- New patch split from previous patch
- The memory address is changed to @20000000
- Update to obj-$(CONFIG_BUILTIN_DTB) as per commit fca3aa166422
- New patch split from previous patch
- Add the board and chip compatible in dt document
- New patch to reorder the head files according to the coding style.
Hua Ma (3):
MIPS: intel: Add initial support for Intel MIPS SoCs
MIPS: dts: Add initial support for Intel MIPS SoCs
dt-binding: MIPS: Add documentation of Intel MIPS SoCs
Songjun Wu (13):
MIPS: dts: Change upper case to lower case
MIPS: dts: Add aliases node for lantiq danube serial
serial: intel: Get serial id from dts
serial: intel: Change ltq_w32_mask to asc_update_bits
MIPS: lantiq: Unselect SWAP_IO_SPACE when LANTIQ is selected
serial: intel: Use readl/writel instead of ltq_r32/ltq_w32
serial: intel: Rename fpiclk to freqclk
serial: intel: Replace clk_enable/clk_disable with clk generic API
serial: intel: Add CCF support
serial: intel: Support more platform
serial: intel: Reorder the head files
serial: intel: Change init_lqasc to static declaration
dt-bindings: serial: lantiq: Add optional properties for CCF
Yixin Zhu (2):
clk: intel: Add clock driver for Intel MIPS SoCs
dt-bindings: clk: Add documentation of grx500 clock controller
.../devicetree/bindings/clock/intel,grx500-clk.txt | 39 ++
Documentation/devicetree/bindings/mips/intel.txt | 17 +
.../devicetree/bindings/serial/lantiq_asc.txt | 15 +
arch/mips/Kbuild.platforms | 1 +
arch/mips/Kconfig | 30 +-
arch/mips/boot/dts/Makefile | 1 +
arch/mips/boot/dts/intel-mips/Makefile | 4 +
arch/mips/boot/dts/intel-mips/easy350_anywan.dts | 26 ++
arch/mips/boot/dts/intel-mips/xrx500.dtsi | 66 +++
arch/mips/boot/dts/lantiq/danube.dtsi | 42 +-
arch/mips/boot/dts/lantiq/easy50712.dts | 18 +-
arch/mips/configs/grx500_defconfig | 138 ++++++
.../asm/mach-intel-mips/cpu-feature-overrides.h | 61 +++
arch/mips/include/asm/mach-intel-mips/ioremap.h | 39 ++
arch/mips/include/asm/mach-intel-mips/irq.h | 17 +
.../asm/mach-intel-mips/kernel-entry-init.h | 104 +++++
arch/mips/include/asm/mach-intel-mips/spaces.h | 27 ++
arch/mips/include/asm/mach-intel-mips/war.h | 18 +
arch/mips/intel-mips/Kconfig | 22 +
arch/mips/intel-mips/Makefile | 5 +
arch/mips/intel-mips/Platform | 12 +
arch/mips/intel-mips/irq.c | 35 ++
arch/mips/intel-mips/prom.c | 172 ++++++++
arch/mips/intel-mips/time.c | 42 ++
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 3 +
drivers/clk/intel/Kconfig | 20 +
drivers/clk/intel/Makefile | 7 +
drivers/clk/intel/clk-cgu-pll.c | 166 ++++++++
drivers/clk/intel/clk-cgu-pll.h | 34 ++
drivers/clk/intel/clk-cgu.c | 470 +++++++++++++++++++++
drivers/clk/intel/clk-cgu.h | 259 ++++++++++++
drivers/clk/intel/clk-grx500.c | 168 ++++++++
drivers/tty/serial/Kconfig | 2 +-
drivers/tty/serial/lantiq.c | 143 ++++---
include/dt-bindings/clock/intel,grx500-clk.h | 69 +++
36 files changed, 2206 insertions(+), 87 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/intel,grx500-clk.txt
create mode 100644 Documentation/devicetree/bindings/mips/intel.txt
create mode 100644 arch/mips/boot/dts/intel-mips/Makefile
create mode 100644 arch/mips/boot/dts/intel-mips/easy350_anywan.dts
create mode 100644 arch/mips/boot/dts/intel-mips/xrx500.dtsi
create mode 100644 arch/mips/configs/grx500_defconfig
create mode 100644 arch/mips/include/asm/mach-intel-mips/cpu-feature-overrides.h
create mode 100644 arch/mips/include/asm/mach-intel-mips/ioremap.h
create mode 100644 arch/mips/include/asm/mach-intel-mips/irq.h
create mode 100644 arch/mips/include/asm/mach-intel-mips/kernel-entry-init.h
create mode 100644 arch/mips/include/asm/mach-intel-mips/spaces.h
create mode 100644 arch/mips/include/asm/mach-intel-mips/war.h
create mode 100644 arch/mips/intel-mips/Kconfig
create mode 100644 arch/mips/intel-mips/Makefile
create mode 100644 arch/mips/intel-mips/Platform
create mode 100644 arch/mips/intel-mips/irq.c
create mode 100644 arch/mips/intel-mips/prom.c
create mode 100644 arch/mips/intel-mips/time.c
create mode 100644 drivers/clk/intel/Kconfig
create mode 100644 drivers/clk/intel/Makefile
create mode 100644 drivers/clk/intel/clk-cgu-pll.c
create mode 100644 drivers/clk/intel/clk-cgu-pll.h
create mode 100644 drivers/clk/intel/clk-cgu.c
create mode 100644 drivers/clk/intel/clk-cgu.h
create mode 100644 drivers/clk/intel/clk-grx500.c
create mode 100644 include/dt-bindings/clock/intel,grx500-clk.h
--
2.11.0