All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yassine Oudjana <y.oudjana@protonmail.com>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: "agross@kernel.org" <agross@kernel.org>,
	"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH] arm64: dts: qcom: pm8994: Add resin node to PON
Date: Fri, 05 Feb 2021 04:51:54 +0000	[thread overview]
Message-ID: <qlZLjlncIG-fOtti8ZUSOF9ct71-oaDKMJQmDUYXvUoCJMkstc1Gjyuigwo6uK5Q4E2ZKCv70No663d-_qqD0HOnNYEKuWjOByYbG_g4jqE=@protonmail.com> (raw)
In-Reply-To: <YBnYi2eMl0xtMcfq@builder.lan>

On Wednesday, February 3, 2021 2:56 AM, Bjorn Andersson <bjorn.andersson@linaro.org> wrote:

> On Tue 29 Dec 06:47 CST 2020, Yassine Oudjana wrote:
>
> > From: Yassine Oudjana y.oudjana@protonmail.com
> > Date: Sun, 27 Dec 2020 21:23:40 +0400
> > Add resin as a child node of PON.
> >
> > Signed-off-by: Yassine Oudjana y.oudjana@protonmail.com
> >
> > --------------------------------------------------------
> >
> > arch/arm64/boot/dts/qcom/pm8994.dtsi | 8 ++++++++
> > 1 file changed, 8 insertions(+)
> > diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi
> > index 5ffdf37d8e31..334774a38602 100644
> > --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi
> > @@ -58,6 +58,14 @@ pwrkey {
> > linux,code = <KEY_POWER>;
> > };
> >
> > -       	resin {
> >
> >
> > -       		compatible = "qcom,pm8941-resin";
> >
> >
> > -       		interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
> >
> >
> > -       		debounce = <15625>;
> >
> >
> > -       		bias-pull-up;
> >
> >
> > -       		linux,code = <KEY_VOLUMEDOWN>;
> >
> >
>
> Is resin always volume down?

I'm not sure, but I haven't found a device that uses it and sets it as anything else.

> Also this node is already defined in apq8096-db820c.dtsi, so how about
> moving the common properties here, but leave it status = "disabled" and
> then in the device specific file make it status = okay?

Sounds good. So have everything other than linux,code defined there, then
add status = "disabled" and a label to it?

> Regards,
> Bjorn
>
> > -       	};
> >
> >
> > -       };
> >
> >         pm8994_temp: temp-alarm@2400 {
> >
> >
> >
> > --
> > 2.29.2

  reply	other threads:[~2021-02-05  4:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29 12:47 [PATCH] arm64: dts: qcom: pm8994: Add resin node to PON Yassine Oudjana
2021-02-02 22:56 ` Bjorn Andersson
2021-02-05  4:51   ` Yassine Oudjana [this message]
2021-02-05  5:47     ` 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='qlZLjlncIG-fOtti8ZUSOF9ct71-oaDKMJQmDUYXvUoCJMkstc1Gjyuigwo6uK5Q4E2ZKCv70No663d-_qqD0HOnNYEKuWjOByYbG_g4jqE=@protonmail.com' \
    --to=y.oudjana@protonmail.com \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=linux-arm-msm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.