diff mbox

arm64: dts: Add Qualcomm APQ8016 SBC evaluation board dts

Message ID 1427151065-29867-1-git-send-email-galak@codeaurora.org (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Kumar Gala March 23, 2015, 10:51 p.m. UTC
Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board.
This board is also referred to as the DragonBoard 410c.

Signed-off-by: Kumar Gala <galak@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/Makefile         |  2 +-
 arch/arm64/boot/dts/qcom/apq8016-sbc.dts  | 22 +++++++++++++++++++++
 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 33 +++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc.dts
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

Comments

Olof Johansson April 3, 2015, 6:12 p.m. UTC | #1
On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote:
> Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board.
> This board is also referred to as the DragonBoard 410c.
> 
> Signed-off-by: Kumar Gala <galak@codeaurora.org>

Hi,

Patch applied but see comment below.

> ---
>  arch/arm64/boot/dts/qcom/Makefile         |  2 +-
>  arch/arm64/boot/dts/qcom/apq8016-sbc.dts  | 22 +++++++++++++++++++++
>  arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 33 +++++++++++++++++++++++++++++++
>  3 files changed, 56 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc.dts
>  create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> 
> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
> index 360ec4c..8e94af6 100644
> --- a/arch/arm64/boot/dts/qcom/Makefile
> +++ b/arch/arm64/boot/dts/qcom/Makefile
> @@ -1,4 +1,4 @@
> -dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-mtp.dtb
> +dtb-$(CONFIG_ARCH_QCOM)	+= apq8016-sbc.dtb msm8916-mtp.dtb
>  
>  always		:= $(dtb-y)
>  subdir-y	:= $(dts-dirs)
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
> new file mode 100644
> index 0000000..3c563e7
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
> @@ -0,0 +1,22 @@
> +/*
> + * Copyright (c) 2015, The Linux Foundation. All rights reserved.
> + *
> + * 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.
> + */

Your 32-bit DTS:es lack copyright headers alltogether, and this is GPLv2 only.
Given the movement to use dual GPL/X11 on DTS contents, it might be a good idea
to kick off that process with your legal team if you haven't already. Please
follow up with copyright revisions as appropriate, on both 32 and 64-bit.


-Olof

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Olof Johansson April 3, 2015, 6:14 p.m. UTC | #2
On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote:
> On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote:
> > Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board.
> > This board is also referred to as the DragonBoard 410c.
> > 
> > Signed-off-by: Kumar Gala <galak@codeaurora.org>
> 
> Hi,
> 
> Patch applied but see comment below.

You both sent us the patch and a pull request with this patch in
it. Please only send patches to arm@kernel.org that you intend for us
to apply.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Olof Johansson April 3, 2015, 6:18 p.m. UTC | #3
On Fri, Apr 03, 2015 at 11:14:01AM -0700, Olof Johansson wrote:
> On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote:
> > On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote:
> > > Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board.
> > > This board is also referred to as the DragonBoard 410c.
> > > 
> > > Signed-off-by: Kumar Gala <galak@codeaurora.org>
> > 
> > Hi,
> > 
> > Patch applied but see comment below.
> 
> You both sent us the patch and a pull request with this patch in
> it. Please only send patches to arm@kernel.org that you intend for us
> to apply.

Uh, need more coffee, please ignore. I got confused since your patch didn't
apply cleanly due to the dts/qcom directory creation.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kumar Gala April 3, 2015, 7:13 p.m. UTC | #4
On Apr 3, 2015, at 1:18 PM, Olof Johansson <olof@lixom.net> wrote:

> On Fri, Apr 03, 2015 at 11:14:01AM -0700, Olof Johansson wrote:
>> On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote:
>>> On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote:
>>>> Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board.
>>>> This board is also referred to as the DragonBoard 410c.
>>>> 
>>>> Signed-off-by: Kumar Gala <galak@codeaurora.org>
>>> 
>>> Hi,
>>> 
>>> Patch applied but see comment below.
>> 
>> You both sent us the patch and a pull request with this patch in
>> it. Please only send patches to arm@kernel.org that you intend for us
>> to apply.
> 
> Uh, need more coffee, please ignore. I got confused since your patch didn't
> apply cleanly due to the dts/qcom directory creation.
> 
> 
> -Olof

Ok, but this should be part of the 'qcom-dt-for-4.1’ so hopefully you will end up pulling all of that in as well

- k
Olof Johansson April 3, 2015, 7:19 p.m. UTC | #5
On Fri, Apr 3, 2015 at 12:13 PM, Kumar Gala <galak@codeaurora.org> wrote:
>
> On Apr 3, 2015, at 1:18 PM, Olof Johansson <olof@lixom.net> wrote:
>
>> On Fri, Apr 03, 2015 at 11:14:01AM -0700, Olof Johansson wrote:
>>> On Fri, Apr 03, 2015 at 11:12:17AM -0700, Olof Johansson wrote:
>>>> On Mon, Mar 23, 2015 at 05:51:05PM -0500, Kumar Gala wrote:
>>>>> Add initial device tree support for Qualcomm APQ8016 SBC Evaluation board.
>>>>> This board is also referred to as the DragonBoard 410c.
>>>>>
>>>>> Signed-off-by: Kumar Gala <galak@codeaurora.org>
>>>>
>>>> Hi,
>>>>
>>>> Patch applied but see comment below.
>>>
>>> You both sent us the patch and a pull request with this patch in
>>> it. Please only send patches to arm@kernel.org that you intend for us
>>> to apply.
>>
>> Uh, need more coffee, please ignore. I got confused since your patch didn't
>> apply cleanly due to the dts/qcom directory creation.
>>
>>
>> -Olof
>
> Ok, but this should be part of the 'qcom-dt-for-4.1’ so hopefully you will end up pulling all of that in as well

If you pick up a patch that you have sent us, please reply to that
email with a redaction so we don't waste time dealing with it.
Especially if some time has passed.

I'll get to your dt branch this afternoon.


-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 360ec4c..8e94af6 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -1,4 +1,4 @@ 
-dtb-$(CONFIG_ARCH_QCOM)	+= msm8916-mtp.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= apq8016-sbc.dtb msm8916-mtp.dtb
 
 always		:= $(dtb-y)
 subdir-y	:= $(dts-dirs)
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
new file mode 100644
index 0000000..3c563e7
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
@@ -0,0 +1,22 @@ 
+/*
+ * Copyright (c) 2015, The Linux Foundation. All rights reserved.
+ *
+ * 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.
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/arm/qcom-ids.h>
+#include "apq8016-sbc.dtsi"
+
+/ {
+	model = "Qualcomm Technologies, Inc. APQ 8016 SBC";
+	compatible = "qcom,apq8016-sbc", "qcom,apq8016", "qcom,sbc";
+};
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
new file mode 100644
index 0000000..703a4f1
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -0,0 +1,33 @@ 
+/*
+ * Copyright (c) 2015, The Linux Foundation. All rights reserved.
+ *
+ * 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.
+ */
+
+#include "msm8916.dtsi"
+
+/ {
+	aliases {
+		serial0 = &blsp1_uart2;
+	};
+
+	chosen {
+		stdout-path = "serial0";
+	};
+
+	soc {
+		serial@78b0000 {
+			status = "okay";
+			pinctrl-names = "default", "sleep";
+			pinctrl-0 = <&blsp1_uart2_default>;
+			pinctrl-1 = <&blsp1_uart2_sleep>;
+		};
+	};
+};