From: Jeremy McNicoll <jmcnicol@redhat.com>
To: robh+dt@kernel.org, andy.gross@linaro.org, sboyd@codeaurora.org,
arnd@arndb.de, bjorn.andersson@linaro.org, git@kchr.de
Cc: jeremymc@redhat.com, linux-arm-msm@vger.kernel.org,
linux-soc@vger.kernel.org, devicetree@vger.kernel.org
Subject: [RFC V2 PATCH 06/12] arm64: dts: msm8992 issolate non standard bootloader/LK entries
Date: Sat, 1 Oct 2016 19:38:33 -0700 [thread overview]
Message-ID: <1475375919-618-7-git-send-email-jmcnicol@redhat.com> (raw)
In-Reply-To: <1475375919-618-1-git-send-email-jmcnicol@redhat.com>
These non standard DT entries need to be cast aside as to not
pollute the main device tree bindings. Without these essential
DT items the bootloader/LK will not pass control over to the kernel
and thus never boot.
Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com>
---
.../boot/dts/qcom/msm8992-bullhead-rev-101.dts | 1 -
arch/arm64/boot/dts/qcom/msm8992.dtsi | 2 +-
.../boot/dts/qcom/nexus5x_bootloader_bits.dtsi | 24 ++++++++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
create mode 100644 arch/arm64/boot/dts/qcom/nexus5x_bootloader_bits.dtsi
diff --git a/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
index 93b643b..7f7f4a6 100644
--- a/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
+++ b/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts
@@ -18,7 +18,6 @@
/ {
model = "LGE MSM8992 BULLHEAD rev-1.01";
compatible = "qcom,msm8992";
- qcom,board-id = <0xb64 0>;
};
/ {
diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi
index 2b9f2ee..00c9334 100644
--- a/arch/arm64/boot/dts/qcom/msm8992.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi
@@ -12,11 +12,11 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-msm8994.h>
+#include "nexus5x_bootloader_bits.dtsi"
/ {
model = "Qualcomm Technologies, Inc. MSM 8992";
compatible = "qcom,msm8992";
- qcom,msm-id = <251 0>, <252 0>;
interrupt-parent = <&intc>;
#address-cells = <2>;
diff --git a/arch/arm64/boot/dts/qcom/nexus5x_bootloader_bits.dtsi b/arch/arm64/boot/dts/qcom/nexus5x_bootloader_bits.dtsi
new file mode 100644
index 0000000..dd09134
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/nexus5x_bootloader_bits.dtsi
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2016, Red Hat, Inc.
+ * Author: Jeremy McNicoll <jeremymc@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+/* WARNING: This file and these DTS nodes are non-standard and their
+ use should be avoided (special case). If this code is
+ referenced in any way you put yourself at great risk of
+ catching Ebola virus. */
+
+/ {
+ qcom,board-id = <0xb64 0>;
+ qcom,msm-id = <251 0>, <252 0>;
+ qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
+};
--
2.6.1
next prev parent reply other threads:[~2016-10-02 2:38 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-02 2:38 [RFC V2 PATCH 00/12] msm8992/msm8994: Google Nexus 5X/6P initial board support Jeremy McNicoll
2016-10-02 2:38 ` [RFC V2 PATCH 01/12] msm8994 clocks: global clock support Global clock support for the msm8994 SOC Jeremy McNicoll
2016-10-09 1:28 ` Rob Herring
2016-10-21 8:31 ` Jeremy McNicoll
2016-10-02 2:38 ` [RFC V2 PATCH 02/12] arm64: configs: enable 8994/8992 GCC by default Jeremy McNicoll
2016-10-02 2:38 ` [RFC V2 PATCH 03/12] msm8994 clocks: fix mapping Jeremy McNicoll
[not found] ` <1475375919-618-4-git-send-email-jmcnicol-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-09 1:28 ` Rob Herring
2016-10-10 22:04 ` Jeremy McNicoll
[not found] ` <228eb3b0-6c4e-230a-1750-0f97ec5c024f-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-10 22:47 ` Jeremy McNicoll
2016-10-02 2:38 ` [RFC V2 PATCH 05/12] msm8992: defconfig updates to support initrd Jeremy McNicoll
2016-10-09 1:28 ` Rob Herring
2016-10-11 5:19 ` [RFC V3 PATCH] " Jeremy McNicoll
2016-10-11 5:20 ` [RFC V2 PATCH 05/12] " Jeremy McNicoll
2016-10-02 2:38 ` Jeremy McNicoll [this message]
[not found] ` <1475375919-618-1-git-send-email-jmcnicol-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-02 2:38 ` [RFC V2 PATCH 04/12] dt-bindings: qcom: Add msm8992 bindings Jeremy McNicoll
[not found] ` <1475375919-618-5-git-send-email-jmcnicol-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-09 1:28 ` Rob Herring
2016-10-11 0:52 ` [RFC V3 PATCH] dt-bindings: qcom: Add msm899(2/4) bindings Jeremy McNicoll
[not found] ` <1476147156-4474-1-git-send-email-jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-11 16:42 ` Bjorn Andersson
2016-10-11 21:25 ` Jeremy McNicoll
[not found] ` <ab018442-c929-e328-11a3-6e7fd21e56b8-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-12 0:32 ` [RFC V4 " Jeremy McNicoll
2016-10-19 1:13 ` [RFC V3 " Stephen Boyd
2016-10-02 2:38 ` [RFC V2 PATCH 07/12] arm64: dts: msm8992 default serial config Jeremy McNicoll
2016-10-02 2:38 ` [RFC V2 PATCH 08/12] arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support Jeremy McNicoll
2016-10-02 2:38 ` [RFC V2 PATCH 09/12] arm64: dts: move Huawei Angler (Nexus 6P) to qcom directory Jeremy McNicoll
[not found] ` <1475375919-618-10-git-send-email-jmcnicol-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-09 1:28 ` Rob Herring
2016-10-10 22:21 ` Jeremy McNicoll
[not found] ` <4611eab0-84b3-3c6f-2df0-87fe21afc8df-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-12 0:32 ` Rob Herring
2016-10-02 2:38 ` [RFC V2 PATCH 10/12] arm64: dts: msm8994 issolate non standard bootloader/LK entries Jeremy McNicoll
[not found] ` <1475375919-618-11-git-send-email-jmcnicol-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-12 0:41 ` Rob Herring
[not found] ` <CAL_Jsq+ew7p6OYPzdTDmB9LAoGOOKasioYzmU=R+jLza2hWQFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-12 10:39 ` Arnd Bergmann
2016-10-12 12:11 ` Rob Herring
2016-10-13 0:59 ` Jeremy McNicoll
[not found] ` <17447be1-4357-0eca-a242-69576d3e2799-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-19 14:56 ` Arnd Bergmann
2016-10-19 21:46 ` Andy Gross
[not found] ` <20161019214643.GC3145-3KkwrOJo9xYlRp7syxWybdHuzzzSOjJt@public.gmane.org>
2016-10-20 1:07 ` Rob Herring
[not found] ` <CAL_Jsq+wjnEByg2vgx-P+bLJaQm+s=UX7nj=KwviagnQDG_3hQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-20 3:17 ` Andy Gross
[not found] ` <20161020031712.GD3145-3KkwrOJo9xYlRp7syxWybdHuzzzSOjJt@public.gmane.org>
2016-10-21 19:44 ` Bjorn Andersson
2016-10-21 20:04 ` Stephen Boyd
2016-10-21 20:25 ` Arnd Bergmann
2016-10-21 21:52 ` Bjorn Andersson
2016-10-22 0:07 ` Stephen Boyd
[not found] ` <20161022000733.GO26139-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-10-22 1:14 ` Bjorn Andersson
2016-10-21 22:42 ` Bjorn Andersson
2016-10-22 0:36 ` Stephen Boyd
2016-10-02 2:38 ` [RFC V2 PATCH 11/12] arm64: msm8994 / Nexus 6P remove defconfig Jeremy McNicoll
2016-10-02 2:38 ` [RFC V2 PATCH 12/12] arm64: dts: msm8994 default serial config Jeremy McNicoll
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=1475375919-618-7-git-send-email-jmcnicol@redhat.com \
--to=jmcnicol@redhat.com \
--cc=andy.gross@linaro.org \
--cc=arnd@arndb.de \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=git@kchr.de \
--cc=jeremymc@redhat.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.org \
/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;
as well as URLs for NNTP newsgroup(s).