From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 1/5] rtc: rtc-sh: add support for rza series Date: Fri, 17 Mar 2017 09:22:53 +0100 Message-ID: References: <20170316175112.27913-1-chris.brandt@renesas.com> <20170316175112.27913-2-chris.brandt@renesas.com> Reply-To: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: geert.uytterhoeven-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org In-Reply-To: <20170316175112.27913-2-chris.brandt-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Chris Brandt Cc: Alessandro Zummo , Alexandre Belloni , Rob Herring , Mark Rutland , Simon Horman , RTCLINUX , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Linux-Renesas List-Id: devicetree@vger.kernel.org Hi Chris, On Thu, Mar 16, 2017 at 6:51 PM, Chris Brandt wrote: > This same RTC is used in RZ/A series MPUs, therefore with some slight > changes, this driver can be reused. Additionally, since ARM architectures > require Device Tree configurations, device tree support has been added. Thanks for your patch! > Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > @@ -1303,10 +1303,10 @@ config RTC_DRV_SA1100 > > config RTC_DRV_SH > tristate "SuperH On-Chip RTC" > - depends on SUPERH && HAVE_CLK > + depends on (SUPERH || ARCH_RENESAS) && HAVE_CLK I believe the dependency on HAVE_CLK is not needed. SuperH selects CLKDEV_LOOKUP, which selects HAVE_CLK. ARM (and ARM64) selects COMMON_CLK, which selects HAVE_CLK. interestingly, SuperH already did so at the time the dependency was added... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.