From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy McNicoll Subject: [RFC] msm8992/msm8994: Google Nexus 5X/6P initial board support Date: Thu, 7 Jul 2016 17:41:03 -0700 Message-ID: <1467938467-21607-1-git-send-email-jmcnicol@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mx1.redhat.com ([209.132.183.28]:34321 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753132AbcGHAlZ (ORCPT ); Thu, 7 Jul 2016 20:41:25 -0400 Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: andy.gross@linaro.org, stephen.boyd@linaro.org, mail@kchr.de, jeremymc@redhat.com [RFC] msm8992/msm8994: Google Nexus 5X/6P initial board support This is a pure msm8992/msm8994 SOC (BullHead/Angler) forward port from = [1]. Only 1 CPU of 6(5X)/8(6P) is supported currently, running an initrd[4].= Serial console output is fully functional through the earjack debug cable on b= oth. [3] This will allow others to start testing and porting other pieces of the= SOC. Myself and others are planning on submitting more functionality as more common SOC components are mainlined and have been tested. Gotta start = some where! Now that the initial basic board port is complete it should make it eas= ier for others to be able to help with additional functionality and testing= =2E Global clock is common between both msm8992 and msm8994.=20 Layout and structure of the original 3.10 DTS was maintained and only c= hanges needed for mainline were made everything else got stripped out as it wa= s not validated. Further more there were no bindings and thus would not function as expected. The initrd/image creation instructions used for testing is available he= re [4]. Maintainers file update was omitted and will be updated once we get acc= eptance of these changes.=20 Updates and additions were made in boot/dts/lge rather than boot/dts/lg= as this was the location for 3.10. Alternatively the original 3.10 DTS SOC changes could have gone through gregKH's staging tree as is, followed by a number of patches to make it work correctly. But greg's tree is for drivers only, not SOCs. ;-( SOC info: --------- (Nexus 5X/bullhead): msm8992, msm808 [see 2 below] tested CPU: AArch64 Processor [410fd033] revision 3 (Nexus 6P/Angler): msm8994, msm810 [see 5 below] tested CPU: AArch64 Processor [410fd032] revision 2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [1] https://android.googlesource.com/kernel/msm.git (Nexus 5X) branch: android-msm-bullhead-3.10-marshmallow-dr1.6=20 Change-Id: I3d1ca38d518e5705b653487bfa95085873247f1c (Nexus 6P) branch: android-msm-angler-3.10-marshmallow-mr1 Commit ID: 3a7f5a4e9c0f5fd4f8ee7bc3f3a204bba9dab60a [2] http://system-on-a-chip.specout.com/l/1107/Qualcomm-Snapdragon-808-= MSM8992 [3] http://people.redhat.com/jmcnicol/nexus_debug/ [4] http://people.redhat.com/~jmcnicol/InitRD.txt [5] http://system-on-a-chip.specout.com/l/1106/Qualcomm-Snapdragon-810-= MSM8994 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Bastian K=C3=B6cher (2): msm8994 clocks: global clock support Global clock support for the msm8994 SOC. arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support Jeremy McNicoll (2): arm64: dts: msm8992 SoC and LG Bullhead (Nexus 5X) support arm64: dts: msm8992 default serial config .../devicetree/bindings/clock/qcom,gcc.txt | 2 + arch/arm64/Kconfig.platforms | 25 + arch/arm64/boot/dts/Makefile | 2 + arch/arm64/boot/dts/huawei/Makefile | 5 + .../boot/dts/huawei/msm8994-angler-rev-101.dts | 41 + arch/arm64/boot/dts/lge/Makefile | 5 + .../boot/dts/lge/msm8992-bullhead-rev-101.dts | 41 + arch/arm64/boot/dts/qcom/msm8992-pins.dtsi | 38 + arch/arm64/boot/dts/qcom/msm8992.dtsi | 221 ++ arch/arm64/boot/dts/qcom/msm8994-pins.dtsi | 38 + arch/arm64/boot/dts/qcom/msm8994-v2.0.dtsi | 31 + arch/arm64/boot/dts/qcom/msm8994.dtsi | 237 ++ arch/arm64/configs/angler_defconfig | 666 ++++++ arch/arm64/configs/bullhead_defconfig | 377 +++ arch/arm64/configs/msm8992_defconfig | 5 + drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-msm8994.c | 2501 ++++++++++++= ++++++++ include/dt-bindings/clock/qcom,gcc-msm8994.h | 145 ++ 19 files changed, 4390 insertions(+) create mode 100644 arch/arm64/boot/dts/huawei/Makefile create mode 100644 arch/arm64/boot/dts/huawei/msm8994-angler-rev-101.d= ts create mode 100644 arch/arm64/boot/dts/lge/Makefile create mode 100644 arch/arm64/boot/dts/lge/msm8992-bullhead-rev-101.dt= s create mode 100644 arch/arm64/boot/dts/qcom/msm8992-pins.dtsi create mode 100644 arch/arm64/boot/dts/qcom/msm8992.dtsi create mode 100644 arch/arm64/boot/dts/qcom/msm8994-pins.dtsi create mode 100644 arch/arm64/boot/dts/qcom/msm8994-v2.0.dtsi create mode 100644 arch/arm64/boot/dts/qcom/msm8994.dtsi create mode 100644 arch/arm64/configs/angler_defconfig create mode 100644 arch/arm64/configs/bullhead_defconfig create mode 100644 arch/arm64/configs/msm8992_defconfig create mode 100644 drivers/clk/qcom/gcc-msm8994.c create mode 100644 include/dt-bindings/clock/qcom,gcc-msm8994.h --=20 2.6.1