From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: David Wronek <davidwronek@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Taniya Das <tdas@codeaurora.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org
Subject: Re: [PATCH 5/7] arm64: dts: qcom: pm6150: Add resin and rtc nodes
Date: Tue, 4 Jul 2023 20:06:19 +0200 [thread overview]
Message-ID: <8ba85d65-51b7-8a66-f721-edb68e7617a8@linaro.org> (raw)
In-Reply-To: <20230704163848.169853-7-davidwronek@gmail.com>
On 4.07.2023 18:31, David Wronek wrote:
> Add support for the RTC which is the same as on other PMICs and add the
> resin child node to the PM6150 PON device and disable it by default.
>
> Signed-off-by: David Wronek <davidwronek@gmail.com>
> ---
> arch/arm64/boot/dts/qcom/pm6150.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/pm6150.dtsi b/arch/arm64/boot/dts/qcom/pm6150.dtsi
> index 2e6afa296141..9a7c532f7a12 100644
> --- a/arch/arm64/boot/dts/qcom/pm6150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pm6150.dtsi
> @@ -53,6 +53,14 @@ pm6150_pwrkey: pwrkey {
> bias-pull-up;
> linux,code = <KEY_POWER>;
> };
> +
> + pm6150_resin: resin {
> + compatible = "qcom,pm8941-resin";
> + interrupts = <GIC_SPI 0x8 1 IRQ_TYPE_EDGE_BOTH>;
0x0 (GIC_SPI is a property of the ARM GIC, SPMI uses the interrupts
field in a rather hacky and specific way)
[...]
> + rtc@6000 {
> + compatible = "qcom,pm8941-rtc";
> + reg = <0x6000>, <0x6100>;
> + reg-names = "rtc", "alarm";
> + interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
IRQ_TYPE_EDGE_RISING
Konrad
> + };
> +
> pm6150_gpios: gpio@c000 {
> compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio";
> reg = <0xc000>;
next prev parent reply other threads:[~2023-07-04 18:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-04 16:31 [PATCH 0/7] Add initial support for SM7125 and Xiaomi SM7125 platform David Wronek
2023-07-04 16:31 ` [PATCH 1/7] dt-bindings: arm: qcom,ids: Add SoC ID for SM7125 David Wronek
2023-07-05 9:46 ` Krzysztof Kozlowski
2023-07-05 15:48 ` David Wronek
2023-07-06 6:09 ` Krzysztof Kozlowski
2023-07-04 16:31 ` [PATCH 2/7] dt-bindings: arm: qcom: Document SM7125 and xiaomi,joyeuse board David Wronek
2023-07-05 9:47 ` Krzysztof Kozlowski
2023-07-04 16:31 ` [PATCH 3/7] soc: qcom: socinfo: Add SoC ID for SM7125 David Wronek
2023-07-04 16:31 ` [PATCH 4/7] clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src David Wronek
2023-07-05 4:27 ` Taniya Das
2023-07-05 10:45 ` Konrad Dybcio
2023-07-05 13:41 ` ungeskriptet
2023-07-05 9:48 ` Krzysztof Kozlowski
2023-07-04 16:31 ` [PATCH 5/7] arm64: dts: qcom: pm6150: Add resin and rtc nodes David Wronek
2023-07-04 18:06 ` Konrad Dybcio [this message]
2023-07-04 16:31 ` [PATCH 6/7] arm64: dts: qcom: Add SM7125 device tree David Wronek
2023-07-05 9:50 ` Krzysztof Kozlowski
2023-07-04 16:32 ` [PATCH 7/7] arm64: dts: qcom: Add support for the Xiaomi SM7125 platform David Wronek
2023-07-04 18:10 ` Konrad Dybcio
2023-07-05 9:54 ` Krzysztof Kozlowski
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=8ba85d65-51b7-8a66-f721-edb68e7617a8@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=davidwronek@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=phone-devel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=tdas@codeaurora.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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).