linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc
Date: Tue, 31 Mar 2015 02:31:01 +0200	[thread overview]
Message-ID: <20150331003101.GG3849@piout.net> (raw)
In-Reply-To: <5519DE76.4080803@samsung.com>

Hi,

On 31/03/2015 at 08:38:30 +0900, Chanwoo Choi wrote :
> > diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
> > index ab757b84daa7..ac2fcd6ff4b8 100644
> > --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
> > +++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt
> > @@ -6,7 +6,8 @@ Required properties:
> >      * "samsung,s3c2416-rtc" - for controllers compatible with s3c2416 rtc.
> >      * "samsung,s3c2443-rtc" - for controllers compatible with s3c2443 rtc.
> >      * "samsung,s3c6410-rtc" - for controllers compatible with s3c6410 rtc.
> > -    * "samsung,exynos3250-rtc" - for controllers compatible with exynos3250 rtc.
> > +    * "samsung,exynos3250-rtc" - (deprecated) for controllers compatible with
> > +                                 exynos3250 rtc (use "samsung,s3c6410-rtc").
> >  - reg: physical base address of the controller and length of memory mapped
> >    region.
> >  - interrupts: Two interrupt numbers to the cpu should be specified. First
> > diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
> > index e3bfb11c6ef8..8d58b550e925 100644
> > --- a/arch/arm/boot/dts/exynos3250.dtsi
> > +++ b/arch/arm/boot/dts/exynos3250.dtsi
> > @@ -189,7 +189,7 @@
> >  		};
> >  
> >  		rtc: rtc at 10070000 {
> > -			compatible = "samsung,exynos3250-rtc";
> > +			compatible = "samsung,s3c6410-rtc";
> >  			reg = <0x10070000 0x100>;
> >  			interrupts = <0 73 0>, <0 74 0>;
> >  			interrupt-parent = <&pmu_system_controller>;
> > diff --git a/arch/arm/boot/dts/exynos4415.dtsi b/arch/arm/boot/dts/exynos4415.dtsi
> > index 5caea996e090..186cb8465683 100644
> > --- a/arch/arm/boot/dts/exynos4415.dtsi
> > +++ b/arch/arm/boot/dts/exynos4415.dtsi
> > @@ -177,7 +177,7 @@
> >  		};
> >  
> >  		rtc: rtc at 10070000 {
> > -			compatible = "samsung,exynos3250-rtc";
> > +			compatible = "samsung,s3c6410-rtc";
> >  			reg = <0x10070000 0x100>;
> >  			interrupts = <0 73 0>, <0 74 0>;
> >  			status = "disabled";
> > 
> 
> Looks good to me.
> 
> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
> 

Are you absolutely sure that the exynos3250 IP is the same as the
s3c6410 (I don't know much about the exynos family). The concern being
that if at one point you have an errata on one or ther other, you will
have to break the DT ABI by undoing this change.

Note that I'm fine with it, I'm just asking.

Regards,

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-03-31  0:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 15:19 [PATCH 0/2] ARM: EXYNOS: Minor S3C RTC cleanups Krzysztof Kozlowski
2015-03-30 15:19 ` [PATCH 1/2] drivers/rtc/rtc-s3c.c: Integrate Exynos3250 into S3C6410 Krzysztof Kozlowski
2015-03-30 23:37   ` Chanwoo Choi
2015-03-31  0:27   ` Alexandre Belloni
2015-03-31  6:49     ` Javier Martinez Canillas
2015-03-31  8:20       ` Alexandre Belloni
2015-03-31  9:00         ` [rtc-linux] " Krzysztof Kozlowski
2015-03-30 15:19 ` [PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc Krzysztof Kozlowski
2015-03-30 23:38   ` Chanwoo Choi
2015-03-31  0:31     ` Alexandre Belloni [this message]
2015-03-31  0:47       ` Chanwoo Choi
2015-03-31  8:12         ` Alexandre Belloni
2015-03-31  8:56           ` [rtc-linux] " Krzysztof Kozlowski
2015-03-31  6:43     ` Javier Martinez Canillas
2015-03-31  6:54       ` Kukjin Kim

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=20150331003101.GG3849@piout.net \
    --to=alexandre.belloni@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.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).