linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Luca Weiss <luca@z3ntu.xyz>
Cc: linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 2/4] ARM: dts: msm8974-FP2: Introduce gpio-keys nodes
Date: Tue, 10 Oct 2017 23:05:11 -0700	[thread overview]
Message-ID: <20171011060511.GK1165@minitux> (raw)
In-Reply-To: <20170912084012.12725-2-luca@z3ntu.xyz>

On Tue 12 Sep 01:40 PDT 2017, Luca Weiss wrote:

> This introduces the gpio-keys nodes for keys of the FP2 and the
> associated pinctrl state.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
>  arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 50 ++++++++++++++++++++++++
>  1 file changed, 50 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> index 79a5aa8b856a..4434c45086b8 100644
> --- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> +++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> @@ -1,6 +1,10 @@
>  #include "qcom-msm8974.dtsi"
>  #include "qcom-pm8841.dtsi"
>  #include "qcom-pm8941.dtsi"
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/input/input.h>
> +#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
> +
>  
>  / {
>  	model = "Fairphone 2";
> @@ -19,4 +23,50 @@
>  	serial@f991e000 {
>  		status = "ok";
>  	};
> +
> +	gpio-keys {

As this isn't a device on the "soc bus" (i.e. it doesn't have a reg=<>)
it should not be child of &soc.

Please move it to /, i.e. right after "choosen".

Regards,
Bjorn

  reply	other threads:[~2017-10-11  6:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12  8:40 [PATCH 1/4] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone Luca Weiss
2017-09-12  8:40 ` [PATCH 2/4] ARM: dts: msm8974-FP2: Introduce gpio-keys nodes Luca Weiss
2017-10-11  6:05   ` Bjorn Andersson [this message]
2017-09-12  8:40 ` [PATCH 3/4] ARM: dts: msm8974-FP2: Add regulator nodes for FP2 Luca Weiss
2017-10-11  6:06   ` Bjorn Andersson
2017-09-12  8:40 ` [PATCH 4/4] ARM: dts: msm8974-FP2: Add sdhci1 node Luca Weiss
2017-10-11  6:07   ` Bjorn Andersson
2017-10-11  6:03 ` [PATCH 1/4] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone Bjorn Andersson

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=20171011060511.GK1165@minitux \
    --to=bjorn.andersson@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=luca@z3ntu.xyz \
    /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).