lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA8EJpq4FW_k0NzVrA9qpmNc_8tfVrSh2kNNLc1VdniHb2A-Hg@mail.gmail.com>
Date:   Fri, 12 Mar 2021 21:16:48 +0300
From:   Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To:     Bjorn Andersson <bjorn.andersson@...aro.org>
Cc:     Andy Gross <agross@...nel.org>, Rob Herring <robh+dt@...nel.org>,
        "open list:DRM DRIVER FOR MSM ADRENO GPU" 
        <linux-arm-msm@...r.kernel.org>,
        "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 
        <devicetree@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm64: dts: qcom: pm8150: Enable RTC

On Wed, 6 Jan 2021 at 03:09, Bjorn Andersson <bjorn.andersson@...aro.org> wrote:
>
> The PM8150 comes with everything the RTC needs, so let's just leave it
> enabled instead of having to explicitly enable it for all boards.
> In effect this patch enables the RTC on the SM8150 MTP and the SM8250
> HDK.

Acked-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>

>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@...aro.org>
> ---
>  arch/arm64/boot/dts/qcom/pm8150.dtsi     | 4 +---
>  arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 4 ----
>  arch/arm64/boot/dts/qcom/sm8250-mtp.dts  | 4 ----
>  3 files changed, 1 insertion(+), 11 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi
> index a53eccf2b695..027f55d53584 100644
> --- a/arch/arm64/boot/dts/qcom/pm8150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi
> @@ -97,13 +97,11 @@ die-temp@6 {
>                         };
>                 };
>
> -               pm8150_rtc: rtc@...0 {
> +               rtc@...0 {
>                         compatible = "qcom,pm8941-rtc";
>                         reg = <0x6000>;
>                         reg-names = "rtc", "alarm";
>                         interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
> -
> -                       status = "disabled";
>                 };
>
>                 pm8150_gpios: gpio@...0 {
> diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> index d7799a6fb489..546b7fb9cf55 100644
> --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> @@ -609,10 +609,6 @@ lt9611_rst_pin: lt9611-rst-pin {
>         };
>  };
>
> -&pm8150_rtc {
> -       status = "okay";
> -};
> -
>  &qupv3_id_0 {
>         status = "okay";
>  };
> diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts
> index 767a2e446248..c291422fa096 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts
> @@ -392,10 +392,6 @@ &i2c15 {
>         /* rtc6226 @ 64 */
>  };
>
> -&pm8150_rtc {
> -       status = "okay";
> -};
> -
>  &qupv3_id_0 {
>         status = "okay";
>  };
> --
> 2.29.2
>


-- 
With best wishes
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ