From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: satya priya <skakit@codeaurora.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Rob Herring <robh+dt@kernel.org>, Andy Gross <agross@kernel.org>,
Lee Jones <lee.jones@linaro.org>,
linux-rtc@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
kgunda@codeaurora.org
Subject: Re: [PATCH 1/3] rtc: pm8xxx: Add RTC support for PMIC PMK8350
Date: Thu, 11 Mar 2021 11:00:16 -0600 [thread overview]
Message-ID: <YEpMoP5Efk19YJAA@builder.lan> (raw)
In-Reply-To: <1615447798-6959-2-git-send-email-skakit@codeaurora.org>
On Thu 11 Mar 01:29 CST 2021, satya priya wrote:
> Add the comaptible string for PMIC PMK8350.
>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Regards,
Bjorn
> Signed-off-by: satya priya <skakit@codeaurora.org>
> ---
> drivers/rtc/rtc-pm8xxx.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c
> index eb20659..29a1c65 100644
> --- a/drivers/rtc/rtc-pm8xxx.c
> +++ b/drivers/rtc/rtc-pm8xxx.c
> @@ -445,6 +445,16 @@ static const struct pm8xxx_rtc_regs pm8941_regs = {
> .alarm_en = BIT(7),
> };
>
> +static const struct pm8xxx_rtc_regs pmk8350_regs = {
> + .ctrl = 0x6146,
> + .write = 0x6140,
> + .read = 0x6148,
> + .alarm_rw = 0x6240,
> + .alarm_ctrl = 0x6246,
> + .alarm_ctrl2 = 0x6248,
> + .alarm_en = BIT(7),
> +};
> +
> /*
> * Hardcoded RTC bases until IORESOURCE_REG mapping is figured out
> */
> @@ -453,6 +463,7 @@ static const struct of_device_id pm8xxx_id_table[] = {
> { .compatible = "qcom,pm8018-rtc", .data = &pm8921_regs },
> { .compatible = "qcom,pm8058-rtc", .data = &pm8058_regs },
> { .compatible = "qcom,pm8941-rtc", .data = &pm8941_regs },
> + { .compatible = "qcom,pmk8350-rtc", .data = &pmk8350_regs },
> { },
> };
> MODULE_DEVICE_TABLE(of, pm8xxx_id_table);
> --
> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
> of Code Aurora Forum, hosted by The Linux Foundation
>
next prev parent reply other threads:[~2021-03-11 17:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-11 7:29 [PATCH 0/3] Add RTC support for PMIC PMK8350 satya priya
2021-03-11 7:29 ` [PATCH 1/3] rtc: pm8xxx: " satya priya
2021-03-11 17:00 ` Bjorn Andersson [this message]
2021-03-11 7:29 ` [PATCH 2/3] dt-bindings: mfd: Convert pm8xxx bindings to yaml satya priya
2021-03-11 16:41 ` Rob Herring
2021-03-11 17:03 ` Bjorn Andersson
2021-04-07 15:37 ` skakit
2021-04-08 2:36 ` Bjorn Andersson
2021-04-08 14:28 ` Rob Herring
2021-03-11 7:29 ` [PATCH 3/3] dt-bindings: mfd: Add compatible for pmk8350 rtc satya priya
2021-03-11 17:04 ` 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=YEpMoP5Efk19YJAA@builder.lan \
--to=bjorn.andersson@linaro.org \
--cc=a.zummo@towertech.it \
--cc=agross@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=kgunda@codeaurora.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=skakit@codeaurora.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).