* [Patch v2 0/5] Initial support for LG Nexus 5 phone (hammerhead)
@ 2016-07-19 5:04 Bhushan Shah
2016-07-19 5:04 ` [Patch v2 1/5] ARM: dts: qcom: Add initial DTS for LG Nexus 5 Phone Bhushan Shah
0 siblings, 1 reply; 3+ messages in thread
From: Bhushan Shah @ 2016-07-19 5:04 UTC (permalink / raw)
To: linux-arm-kernel
This patchset adds support for LG Nexus 5 phone, codenamed hammerhead.
Initial version have following supported,
- Serial console over headphone jack
- pm8841 and pm8941 regulator nodes
- Hardware keys (volume_up and volume_down)
Values for the regulator nodes are taken from following files in downstream msm
kernel tree, branch android-msm-hammerhead-3.4-marshmallow-mr2
- arch/arm/boot/dts/msm8974-regulator.dtsi
- arch/arm/boot/dts/msm8974-hammerhead/msm8974-hammerhead.dtsi
Values are verified against kmsg from downstream kernel as well.
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: David Brown <david.brown@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-arm-msm at vger.kernel.org
Changes since v1:
- Remove qcom,msm-id from dts file
- Add "lge,hammerhead" to compatible
- move vreg_boost node from honami.dts file to msm8974.dtsi
- move vph-pwr-reg node to msm8974.dtsi
Bhushan Shah (5):
ARM: dts: qcom: Add initial DTS for LG Nexus 5 Phone
ARM: dts: msm8974: Move vreg_boost node from the honami to msm8974
ARM: dts: qcom: msm8974: Add fixed regulator node for vph-pwr-reg
ARM: dts: msm8974-hammerhead: Add regulator nodes for hammerhead
ARM: dts: msm8974-hammerhead: Introduce gpio-keys nodes
arch/arm/boot/dts/Makefile | 1 +
.../dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 271 +++++++++++++++++++++
.../boot/dts/qcom-msm8974-sony-xperia-honami.dts | 18 +-
arch/arm/boot/dts/qcom-msm8974.dtsi | 21 ++
arch/arm/boot/dts/qcom-pm8941.dtsi | 6 +
5 files changed, 301 insertions(+), 16 deletions(-)
create mode 100644 arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
--
2.9.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Patch v2 1/5] ARM: dts: qcom: Add initial DTS for LG Nexus 5 Phone
2016-07-19 5:04 [Patch v2 0/5] Initial support for LG Nexus 5 phone (hammerhead) Bhushan Shah
@ 2016-07-19 5:04 ` Bhushan Shah
2016-07-28 16:55 ` Bjorn Andersson
0 siblings, 1 reply; 3+ messages in thread
From: Bhushan Shah @ 2016-07-19 5:04 UTC (permalink / raw)
To: linux-arm-kernel
This DTS file have support LG Nexus 5 (codenamed hammerhead).
Initial version have support for just serial console over headphone
jack.
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: David Brown <david.brown@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-arm-msm at vger.kernel.org
Signed-off-by: Bhushan Shah <bshah@kde.org>
---
Changes in v2
- Removed qcom,msm-id
- Added "lge,hammerhead" in the compatible
arch/arm/boot/dts/Makefile | 1 +
.../dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 23 ++++++++++++++++++++++
2 files changed, 24 insertions(+)
create mode 100644 arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 414b427..13947ec 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -584,6 +584,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
qcom-ipq8064-ap148.dtb \
qcom-msm8660-surf.dtb \
qcom-msm8960-cdp.dtb \
+ qcom-msm8974-lge-nexus5-hammerhead.dtb \
qcom-msm8974-sony-xperia-honami.dtb
dtb-$(CONFIG_ARCH_REALVIEW) += \
arm-realview-pb1176.dtb \
diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
new file mode 100644
index 0000000..68f3a8a
--- /dev/null
+++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
@@ -0,0 +1,23 @@
+#include "qcom-msm8974.dtsi"
+#include "qcom-pm8841.dtsi"
+#include "qcom-pm8941.dtsi"
+
+/ {
+ model = "LGE MSM 8974 HAMMERHEAD";
+ compatible = "lge,hammerhead", "qcom,msm8974";
+
+ aliases {
+ serial0 = &blsp1_uart1;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&soc {
+ serial at f991d000 {
+ status = "ok";
+ };
+
+};
--
2.9.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Patch v2 1/5] ARM: dts: qcom: Add initial DTS for LG Nexus 5 Phone
2016-07-19 5:04 ` [Patch v2 1/5] ARM: dts: qcom: Add initial DTS for LG Nexus 5 Phone Bhushan Shah
@ 2016-07-28 16:55 ` Bjorn Andersson
0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2016-07-28 16:55 UTC (permalink / raw)
To: linux-arm-kernel
On Mon 18 Jul 22:04 PDT 2016, Bhushan Shah wrote:
> This DTS file have support LG Nexus 5 (codenamed hammerhead).
> Initial version have support for just serial console over headphone
> jack.
>
> Cc: Andy Gross <andy.gross@linaro.org>
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: David Brown <david.brown@linaro.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Russell King <linux@armlinux.org.uk>
> Cc: devicetree at vger.kernel.org
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-arm-msm at vger.kernel.org
> Signed-off-by: Bhushan Shah <bshah@kde.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Regards,
Bjorn
> ---
> Changes in v2
> - Removed qcom,msm-id
> - Added "lge,hammerhead" in the compatible
>
> arch/arm/boot/dts/Makefile | 1 +
> .../dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 23 ++++++++++++++++++++++
> 2 files changed, 24 insertions(+)
> create mode 100644 arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 414b427..13947ec 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -584,6 +584,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
> qcom-ipq8064-ap148.dtb \
> qcom-msm8660-surf.dtb \
> qcom-msm8960-cdp.dtb \
> + qcom-msm8974-lge-nexus5-hammerhead.dtb \
> qcom-msm8974-sony-xperia-honami.dtb
> dtb-$(CONFIG_ARCH_REALVIEW) += \
> arm-realview-pb1176.dtb \
> diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> new file mode 100644
> index 0000000..68f3a8a
> --- /dev/null
> +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> @@ -0,0 +1,23 @@
> +#include "qcom-msm8974.dtsi"
> +#include "qcom-pm8841.dtsi"
> +#include "qcom-pm8941.dtsi"
> +
> +/ {
> + model = "LGE MSM 8974 HAMMERHEAD";
> + compatible = "lge,hammerhead", "qcom,msm8974";
> +
> + aliases {
> + serial0 = &blsp1_uart1;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +};
> +
> +&soc {
> + serial at f991d000 {
> + status = "ok";
> + };
> +
> +};
> --
> 2.9.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-28 16:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-19 5:04 [Patch v2 0/5] Initial support for LG Nexus 5 phone (hammerhead) Bhushan Shah
2016-07-19 5:04 ` [Patch v2 1/5] ARM: dts: qcom: Add initial DTS for LG Nexus 5 Phone Bhushan Shah
2016-07-28 16:55 ` Bjorn Andersson
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).