Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp321132imm; Thu, 2 Aug 2018 20:04:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcEEgxntSCdy1Xu4JvH+09BinGfiednfH1vobXv/Uk79pNNgHhkfyPff3k/JZj1nOc0fE51 X-Received: by 2002:a63:6b03:: with SMTP id g3-v6mr1920159pgc.57.1533265473244; Thu, 02 Aug 2018 20:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533265473; cv=none; d=google.com; s=arc-20160816; b=ts4zne3xCN5V+G0aPm2XbwzWJTZQ3X4+o0k5f+0DHgf3tqh94t5rcazB+APH80X64Q EnzxwuzREWcEX8CknbTfzjeGPqHwKdm1K8cDHv9XNfegO2AOKm/xDnLDLCJyyV0kNB+x KKo+S1/TAJvaenrEqZCuysPXrjl/1kBPPAMoLCkU9AV6KsJjYl1vOdFqVuT6MiPSeRBa rJVhcgcp4cQe//kRk7Cuz2WpQu0vR1GUakovihQ/vhDh40gPmUA8evOiEosrynNjUOcl wi8AMtwmH2QqlzV3slUA78QjE2fMDAgwDH74WuWBEGq7XvIr8/gxFHgr7lDG3lVO2+jq nFqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=4RczU6RCxEB1AAvu5BbAAF97PlA3Cu/J+3DkTvAyJ+A=; b=DNKiIHRzZU4cfFdxNhsFO4gCA4OFvDLuFtnwYYO7+hyKq2twkHmKrS0xRV9nzU1Phn +YQH/nHQyiWmVKeFEf0kal57UW71GZ4y8u/m2FCxV0oDEm1IdKfAtdYPm8kG8Qtqwpeq ijqt+wTSkcRpjkI9K6D7mZMVJeWijGJSb5mHLUuaNJb5FJF5Bfoi9UjcuQNW2JQoEpcq SB1okzydOl8rFBab0F3aPQm2vDvlKU7lux5bCQs/OeEpHUYUXX2oVb3QNC7SB6Nos7iX OBMy1OHdqWKFMZLNLSaH8P67f+iaJffkZ65ZvMVECJ+orGpq4pyfyO+PdwPkYeF2HtNp 25nA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z127-v6si3989028pgb.455.2018.08.02.20.04.18; Thu, 02 Aug 2018 20:04:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727343AbeHCE5f (ORCPT + 99 others); Fri, 3 Aug 2018 00:57:35 -0400 Received: from mga03.intel.com ([134.134.136.65]:28329 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbeHCE5f (ORCPT ); Fri, 3 Aug 2018 00:57:35 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 20:03:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,437,1526367600"; d="scan'208";a="59343604" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by fmsmga007.fm.intel.com with ESMTP; 02 Aug 2018 20:03:22 -0700 From: Songjun Wu To: hua.ma@linux.intel.com, yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, qi-ming.wu@intel.com Cc: linux-mips@linux-mips.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, Songjun Wu , Michael Turquette , James Hogan , Stephen Boyd , Jiri Slaby , linux-kernel@vger.kernel.org, Thomas Gleixner , Paul Burton , Rob Herring , Kate Stewart , Greg Kroah-Hartman , Ralf Baechle , Philippe Ombredanne , Mark Rutland Subject: [PATCH v2 00/18] MIPS: intel: add initial support for Intel MIPS SoCs Date: Fri, 3 Aug 2018 11:02:19 +0800 Message-Id: <20180803030237.3366-1-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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