From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5850DC47087 for ; Fri, 28 May 2021 11:08:00 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 140EB613C9 for ; Fri, 28 May 2021 11:07:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 140EB613C9 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=libero.it Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 788A282E3F; Fri, 28 May 2021 13:07:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.b="zCc0L/wG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D8C8682E40; Fri, 28 May 2021 13:07:54 +0200 (CEST) Received: from libero.it (smtp-33-i2.italiaonline.it [213.209.12.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 47E2882E3F for ; Fri, 28 May 2021 13:07:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dariobin@libero.it Received: from oxapps-13-074.iol.local ([10.101.8.84]) by smtp-33.iol.local with ESMTPA id maLGlifejWQBtmaLGli1aC; Fri, 28 May 2021 13:07:50 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1622200070; bh=yQUuKa1daMGVYlBhz8pQW5bYg2bNZiwBbjtV4fWEs1o=; h=From; b=zCc0L/wGhEL6gUY8L0oQZpfpOL1vMjL+3xqIK+hEb5QTnoFtfsX0t+vG3rn6NWlTW pbhnqcAi2/X0w7JZP16+TwGsC0p70GC5UZ5n4dAntYQNfxsIGPjsVwtlSGs/MjZpOO SS8IXSnigVSjXOPLndsgOqGWdCCNQI1ZAr7IMY66nwwpp5GvZBsfup1wXjPXcihm0y cvlO50bF4rhpG0zbS3Osn+BZY3jegEVTz3WdgiArZs+d4+HnQhMrV1MM8/er3caq87 SS44OUgRr20H9F6gM6PpioGwUTawWhKLB1tabtmQd4JgbdfjryVkT6bAdg7HXsAdBR AefAkKXvI/8HQ== X-CNFS-Analysis: v=2.4 cv=OsiKdwzt c=1 sm=1 tr=0 ts=60b0cf06 cx=a_exe a=+htklNqd2nUvwHGxo3khsw==:117 a=C-c6dMTymFoA:10 a=IkcTkHD0fZMA:10 a=vesc6bHxzc4A:10 a=sozttTNsAAAA:8 a=xbDv8Lm6RKZj1NcH22kA:9 a=QEXdDO2ut3YA:10 a=aeg5Gbbo78KNqacMgKqU:22 Date: Fri, 28 May 2021 13:07:50 +0200 (CEST) From: Dario Binacchi To: Lokesh Vutla , u-boot@lists.denx.de Cc: Heiko Schocher , Heinrich Schuchardt , =?UTF-8?Q?Marek_Beh=C3=BAn?= , =?UTF-8?Q?Pali_Roh=C3=A1r?= , Stefan Roese , "Ying-Chun Liu (PaulLiu)" Message-ID: <1977197547.547412.1622200070220@mail1.libero.it> In-Reply-To: <040a7deb-c827-fdb6-8215-e3adae4b6c9f@ti.com> References: <20210507041509.4928-1-dariobin@libero.it> <20210507041509.4928-2-dariobin@libero.it> <040a7deb-c827-fdb6-8215-e3adae4b6c9f@ti.com> Subject: Re: [PATCH 1/7] rtc: davinci: enable compilation for omap architectures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.3-Rev34 X-Originating-IP: 185.33.57.41 X-Originating-Client: open-xchange-appsuite x-libjamsun: udZqq93SLLUNh2IqPnEV956lGBgvM+Ur x-libjamv: pqSSaAtACig= X-CMAE-Envelope: MS4xfOd0/og07ZUJBrx7ELbt+vsKStcqsYDnKicq+tZc5AiqUH9zX206PWQhPWhff1C9vSQQuvPMZpXUeayM21aaGBDCOhyo8WQ9tFwFYnkmZ7VWLAxaMU1F R00TOs0mbVaE0UEs5YJOFIjmy1zheuFL4NDxJ1Vd75r/k2xmSlKUUrwNnVqyGFX2brjUvWBLwB2sY2anrDC51TQNR6jNdHaGtUYMOkBrhyoQk60vehBPkPZu 4tCf40Dea68unJMYYMIvwd9Zn+vd6EbVYHhNXGEIu0is2UPbT7g2f8Swnxf3+Ljr9Za0leBKfV/TB0pe30LOEA1XB8H8jeuppTzA79gSDYyFVk/AWzDXQLig QUuyeCwYosp72EsQRLZC4lpKq2Roow== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Hi Lokesh, > Il 27/05/2021 11:59 Lokesh Vutla ha scritto: > > > On 07/05/21 9:45 am, Dario Binacchi wrote: > > The Davinci's onchip RTC is also present on TI OMAP1, AM33XX, AM43XX and > > DRA7XX SOCs. So, let's enable compilation for these architectures too. > > > > Signed-off-by: Dario Binacchi > > --- > > > > drivers/rtc/Kconfig | 7 +++++++ > > drivers/rtc/davinci.c | 11 ++++++++--- > > 2 files changed, 15 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > > index c84a9d2b27..cbdfddb80f 100644 > > --- a/drivers/rtc/Kconfig > > +++ b/drivers/rtc/Kconfig > > @@ -188,4 +188,11 @@ config RTC_ABX80X > > families of ultra-low-power battery- and capacitor-backed real-time > > clock chips. > > > > +config RTC_DAVINCI > > + bool "Enable TI OMAP RTC driver" > > + depends on ARCH_DAVINCI || ARCH_OMAP2PLUS > > I assume you are converting to a Kconfig symbol? Can you keep this as a separate > patch and use tools/moveconfig.py? The CONFIG_RTC_DAVINCI symbol was only in the Makefile. I ran moveconfig.py and in fact it didn't find it in any configuration header. I'll add the Kconfig symbol in a separate patch. Thanks and regards Dario Binacchi > > Thanks and regards, > Lokesh