From: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
To: Keerthy <a0393675-l0cyMroinI0@public.gmane.org>
Cc: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
pawel.moll-5wv7dgnIgG8@public.gmane.org,
galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org,
alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org,
akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org,
johan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
grygorii.strashko-l0cyMroinI0@public.gmane.org,
rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org,
nm-l0cyMroinI0@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
t-kristo-l0cyMroinI0@public.gmane.org
Subject: Re: [PATCH v2 3/6] ARM: AM43xx: Introduce a separate soc_is function for am438x series of SoCs
Date: Thu, 13 Aug 2015 02:59:15 -0700 [thread overview]
Message-ID: <20150813095915.GD4215@atomide.com> (raw)
In-Reply-To: <55CC5DB4.7040704-l0cyMroinI0@public.gmane.org>
* Keerthy <a0393675-l0cyMroinI0@public.gmane.org> [150813 02:08]:
>
>
> On Wednesday 12 August 2015 02:07 PM, Tony Lindgren wrote:
> >* Keerthy <a0393675-l0cyMroinI0@public.gmane.org> [150811 10:57]:
> >>
> >>
> >>On Tuesday 11 August 2015 06:25 PM, Tony Lindgren wrote:
> >>>* Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org> [150810 02:31]:
> >>>>@@ -371,8 +372,10 @@ IS_OMAP_TYPE(3430, 0x3430)
> >>>> #ifdef CONFIG_SOC_AM43XX
> >>>> # undef soc_is_am43xx
> >>>> # undef soc_is_am437x
> >>>>-# define soc_is_am43xx() is_am43xx()
> >>>>-# define soc_is_am437x() is_am437x()
> >>>>+# undef soc_is_am438x
> >>>>+# define soc_is_am43xx() of_machine_is_compatible("ti,am43")
> >>>>+# define soc_is_am437x() of_machine_is_compatible("ti,am4372")
> >>>>+# define soc_is_am438x() of_machine_is_compatible("ti,am438x")
> >>>> #endif
> >>>
> >>>Hmm didn't I already comment on this change? I don't want to do it
> >>>for one SoC. Please add the SoC detection the old way for am43xx,
> >>>then do another series that changes all the DT only SoCs to use
> >>>of_machine_is_compatible() after it's been properly tested so now
> >>>regressions are caused for the early init code.
> >>
> >>Okay. I misinterpreted your earlier comment. Thanks for clarifying.
> >>I will re-do.
> >
> >Actually, can you please do the following patches first while at it:
> >
> >1. Change dra7 SoC detection to intialize soc_name and soc_rev
> > registers based on the of_machine_is_compatible so we don't
> > do pointless string comparisons with the current code
>
> just another confirmation. So the intent here is to directly do
> of_machine_is_compatible checks instead if soc_is_dra* and try to remove
> soc_is calls from mach-omap2 code right?
Only do of_machine_is_compatible check once to initialize
the necessary variables for soc_is_* to use.
Rgarads,
Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: Keerthy <a0393675@ti.com>
Cc: Keerthy <j-keerthy@ti.com>,
linux-omap@vger.kernel.org, pawel.moll@arm.com,
galak@codeaurora.org, paul@pwsan.com,
alexandre.belloni@free-electrons.com, akpm@linux-foundation.org,
johan@kernel.org, grygorii.strashko@ti.com,
rtc-linux@googlegroups.com, bcousson@baylibre.com, nm@ti.com,
devicetree@vger.kernel.org, t-kristo@ti.com
Subject: [rtc-linux] Re: [PATCH v2 3/6] ARM: AM43xx: Introduce a separate soc_is function for am438x series of SoCs
Date: Thu, 13 Aug 2015 02:59:15 -0700 [thread overview]
Message-ID: <20150813095915.GD4215@atomide.com> (raw)
In-Reply-To: <55CC5DB4.7040704@ti.com>
* Keerthy <a0393675@ti.com> [150813 02:08]:
>
>
> On Wednesday 12 August 2015 02:07 PM, Tony Lindgren wrote:
> >* Keerthy <a0393675@ti.com> [150811 10:57]:
> >>
> >>
> >>On Tuesday 11 August 2015 06:25 PM, Tony Lindgren wrote:
> >>>* Keerthy <j-keerthy@ti.com> [150810 02:31]:
> >>>>@@ -371,8 +372,10 @@ IS_OMAP_TYPE(3430, 0x3430)
> >>>> #ifdef CONFIG_SOC_AM43XX
> >>>> # undef soc_is_am43xx
> >>>> # undef soc_is_am437x
> >>>>-# define soc_is_am43xx() is_am43xx()
> >>>>-# define soc_is_am437x() is_am437x()
> >>>>+# undef soc_is_am438x
> >>>>+# define soc_is_am43xx() of_machine_is_compatible("ti,am43")
> >>>>+# define soc_is_am437x() of_machine_is_compatible("ti,am4372")
> >>>>+# define soc_is_am438x() of_machine_is_compatible("ti,am438x")
> >>>> #endif
> >>>
> >>>Hmm didn't I already comment on this change? I don't want to do it
> >>>for one SoC. Please add the SoC detection the old way for am43xx,
> >>>then do another series that changes all the DT only SoCs to use
> >>>of_machine_is_compatible() after it's been properly tested so now
> >>>regressions are caused for the early init code.
> >>
> >>Okay. I misinterpreted your earlier comment. Thanks for clarifying.
> >>I will re-do.
> >
> >Actually, can you please do the following patches first while at it:
> >
> >1. Change dra7 SoC detection to intialize soc_name and soc_rev
> > registers based on the of_machine_is_compatible so we don't
> > do pointless string comparisons with the current code
>
> just another confirmation. So the intent here is to directly do
> of_machine_is_compatible checks instead if soc_is_dra* and try to remove
> soc_is calls from mach-omap2 code right?
Only do of_machine_is_compatible check once to initialize
the necessary variables for soc_is_* to use.
Rgarads,
Tony
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2015-08-13 9:59 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 9:28 [PATCH v2 0/6] ARM: AM4372: Enable RTC Keerthy
2015-08-10 9:28 ` [rtc-linux] " Keerthy
[not found] ` <1439198906-31189-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2015-08-10 9:28 ` [PATCH v2 1/6] ARM: dts: AM43XX: Add clk_32k_rtc node Keerthy
2015-08-10 9:28 ` [rtc-linux] " Keerthy
2015-08-10 9:28 ` [PATCH v2 2/6] rtc: omap: Add external clock enabling support Keerthy
2015-08-10 9:28 ` [rtc-linux] " Keerthy
[not found] ` <1439198906-31189-3-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2015-08-11 14:00 ` Alexandre Belloni
2015-08-11 14:00 ` [rtc-linux] " Alexandre Belloni
2015-08-12 14:27 ` Paul Walmsley
2015-08-12 14:27 ` [rtc-linux] " Paul Walmsley
[not found] ` <alpine.DEB.2.02.1508121422020.7154-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2015-08-12 19:08 ` Keerthy
2015-08-12 19:08 ` [rtc-linux] " Keerthy
[not found] ` <55CB99C2.7010007-l0cyMroinI0@public.gmane.org>
2015-08-12 20:16 ` Alexandre Belloni
2015-08-12 20:16 ` [rtc-linux] " Alexandre Belloni
[not found] ` <20150812201636.GJ3411-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org>
2015-08-13 20:17 ` Paul Walmsley
2015-08-13 20:17 ` [rtc-linux] " Paul Walmsley
[not found] ` <alpine.DEB.2.02.1508131822510.1009-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2015-08-14 4:55 ` Keerthy
2015-08-14 4:55 ` [rtc-linux] " Keerthy
2015-08-14 8:29 ` Alexandre Belloni
2015-08-14 8:29 ` [rtc-linux] " Alexandre Belloni
2015-08-10 9:28 ` [PATCH v2 3/6] ARM: AM43xx: Introduce a separate soc_is function for am438x series of SoCs Keerthy
2015-08-10 9:28 ` [rtc-linux] " Keerthy
[not found] ` <1439198906-31189-4-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2015-08-11 12:55 ` Tony Lindgren
2015-08-11 12:55 ` [rtc-linux] " Tony Lindgren
[not found] ` <20150811125515.GN4215-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-08-11 17:54 ` Keerthy
2015-08-11 17:54 ` [rtc-linux] " Keerthy
[not found] ` <55CA36D2.3080509-l0cyMroinI0@public.gmane.org>
2015-08-12 8:37 ` Tony Lindgren
2015-08-12 8:37 ` [rtc-linux] " Tony Lindgren
[not found] ` <20150812083718.GS4215-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-08-13 6:59 ` Keerthy
2015-08-13 6:59 ` [rtc-linux] " Keerthy
2015-08-13 9:04 ` Keerthy
2015-08-13 9:04 ` [rtc-linux] " Keerthy
[not found] ` <55CC5DB4.7040704-l0cyMroinI0@public.gmane.org>
2015-08-13 9:59 ` Tony Lindgren [this message]
2015-08-13 9:59 ` Tony Lindgren
2015-08-10 9:28 ` [PATCH v2 4/6] ARM: dts: am43x-epos-evm: Add the am438 compatible string Keerthy
2015-08-10 9:28 ` [rtc-linux] " Keerthy
2015-08-10 9:28 ` [PATCH v2 5/6] ARM: AM43XX: HWMOD: Add rtc hwmod Keerthy
2015-08-10 9:28 ` [rtc-linux] " Keerthy
[not found] ` <1439198906-31189-6-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2015-08-12 14:39 ` Paul Walmsley
2015-08-12 14:39 ` [rtc-linux] " Paul Walmsley
[not found] ` <alpine.DEB.2.02.1508121434190.7154-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2015-08-13 6:39 ` Tero Kristo
2015-08-13 6:39 ` [rtc-linux] " Tero Kristo
2015-08-10 9:28 ` [PATCH v2 6/6] ARM: dts: AM437X-GP-EVM: Enable rtc Keerthy
2015-08-10 9:28 ` [rtc-linux] " Keerthy
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=20150813095915.GD4215@atomide.com \
--to=tony-4v6ys6ai5vpbdgjk7y7tuq@public.gmane.org \
--cc=a0393675-l0cyMroinI0@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=grygorii.strashko-l0cyMroinI0@public.gmane.org \
--cc=j-keerthy-l0cyMroinI0@public.gmane.org \
--cc=johan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=nm-l0cyMroinI0@public.gmane.org \
--cc=paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=t-kristo-l0cyMroinI0@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.