From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: Re: [PATCH 08/14] arm64: dts: qcom: sa8775p: pmic: add the power key
Date: Mon, 20 Mar 2023 12:01:32 +0100 [thread overview]
Message-ID: <babfc91c-9c11-3dbd-d58d-55de22326656@linaro.org> (raw)
In-Reply-To: <CAMRc=McGbZVWnp6Vcp2PzNjRpkfF9RJDWU89nvC+uso+mPK2PA@mail.gmail.com>
On 20.03.2023 11:52, Bartosz Golaszewski wrote:
> On Tue, Mar 14, 2023 at 9:26 PM Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>>
>>
>>
>> On 14.03.2023 19:30, Bartosz Golaszewski wrote:
>>> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>>>
>>> Add the power key node under the PON node for PMIC #0 on sa8775p.
>>>
>>> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>>> ---
>>> arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 7 +++++++
>>> 1 file changed, 7 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
>>> index 5d73212fbd16..874460d087db 100644
>>> --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
>>> @@ -18,6 +18,13 @@ pmk8775_0_pon: pon@1200 {
>>> reg = <0x1200>, <0x800>;
>>> mode-recovery = <0x1>;
>>> mode-bootloader = <0x2>;
>>> +
>>> + pmk8775_0_pon_pwrkey: pwrkey {
>>> + compatible = "qcom,pmk8350-pwrkey";
>>> + interrupts-extended = <&spmi_bus 0x0 0x12 0x7 IRQ_TYPE_EDGE_BOTH>;
>>> + linux,code = <KEY_POWER>;
>>> + status = "disabled";
>> Does it make any sense to disable the power button?
>>
>
> Since this is an automotive platform, I'd say yes - you wouldn't
> normally have physical access to the board or even be sure for it to
> have a power button?
On Qualcomm platforms there's little different ways to turn on the
device short of giving it DC power (though that may also be config
dependent), so I'd expect *something* would be connected to PON_PWR..
>But if you prefer it the other way, I won't be
> dying on this hill.
Yeah if you could, please leave it on (unless somebody has strong
arguments against that)
Konrad
>
> Bart
>
>> Konrad
>>> + };
>>> };
>>> };
>>>
next prev parent reply other threads:[~2023-03-20 11:07 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-14 18:30 [PATCH 00/14] arm64: dts: qcom: sa8775p: add basic PMIC support Bartosz Golaszewski
2023-03-14 18:30 ` [PATCH 01/14] dt-bindings: interrupt-controller: qcom-pdc: add compatible for sa8775p Bartosz Golaszewski
2023-03-19 12:44 ` Krzysztof Kozlowski
2023-03-14 18:30 ` [PATCH 02/14] arm64: dts: qcom: sa8775p: add the pdc node Bartosz Golaszewski
2023-03-14 18:30 ` [PATCH 03/14] arm64: dts: qcom: sa8775p: add the spmi node Bartosz Golaszewski
2023-03-14 20:21 ` Konrad Dybcio
2023-03-14 18:30 ` [PATCH 04/14] dt-bindings: mfd: qcom,spmi-pmic: add compatible for pmm8654au Bartosz Golaszewski
2023-03-20 14:49 ` Rob Herring
2023-03-30 11:41 ` Lee Jones
2023-03-14 18:30 ` [PATCH 05/14] arm64: dts: qcom: sa8775p: add support for the on-board PMICs Bartosz Golaszewski
2023-03-14 20:22 ` Konrad Dybcio
2023-03-20 10:24 ` Bartosz Golaszewski
2023-03-20 10:38 ` Konrad Dybcio
2023-03-14 18:30 ` [PATCH 06/14] arm64: dts: qcom: sa8775p-ride: enable PMIC support Bartosz Golaszewski
2023-03-14 18:30 ` [PATCH 07/14] arm64: dts: qcom: sa8775p: add the Power On device node Bartosz Golaszewski
2023-03-14 20:25 ` Konrad Dybcio
2023-03-20 10:50 ` Bartosz Golaszewski
2023-03-14 18:30 ` [PATCH 08/14] arm64: dts: qcom: sa8775p: pmic: add the power key Bartosz Golaszewski
2023-03-14 20:26 ` Konrad Dybcio
2023-03-20 10:52 ` Bartosz Golaszewski
2023-03-20 11:01 ` Konrad Dybcio [this message]
2023-03-14 18:30 ` [PATCH 09/14] arm64: dts: qcom: sa8775p-ride: enable " Bartosz Golaszewski
2023-03-14 18:30 ` [PATCH 10/14] arm64: dts: qcom: sa8775p: pmic: add support for the pmm8654 RESIN input Bartosz Golaszewski
2023-03-14 20:26 ` Konrad Dybcio
2023-03-14 18:30 ` [PATCH 11/14] arm64: dts: qcom: sa8775p: pmic: add thermal zones Bartosz Golaszewski
2023-03-14 18:30 ` [PATCH 12/14] dt-bindings: pinctrl: qcom,pmic-gpio: add compatible for pmm8654au-gpio Bartosz Golaszewski
2023-03-20 15:06 ` Rob Herring
2023-03-23 8:23 ` Linus Walleij
2023-03-23 13:30 ` Bartosz Golaszewski
2023-03-28 13:23 ` Linus Walleij
2023-03-14 18:30 ` [PATCH 13/14] pinctrl: qcom: spmi-gpio: add support " Bartosz Golaszewski
2023-03-14 18:30 ` [PATCH 14/14] arm64: dts: qcom: sa8775p: add PMIC GPIO controller nodes Bartosz Golaszewski
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=babfc91c-9c11-3dbd-d58d-55de22326656@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=bartosz.golaszewski@linaro.org \
--cc=brgl@bgdev.pl \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@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 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).