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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT 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 A6E6EC4708F for ; Wed, 2 Jun 2021 20:38:59 +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 AE112613DA for ; Wed, 2 Jun 2021 20:38:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE112613DA 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 AC43382F47; Wed, 2 Jun 2021 22:38:36 +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="GSccS/EL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0394482F36; Wed, 2 Jun 2021 22:38:30 +0200 (CEST) Received: from libero.it (smtp-35.italiaonline.it [213.209.10.35]) (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 0353782F3A for ; Wed, 2 Jun 2021 22:38:24 +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 passgat-Modern-14-A10M.homenet.telecomitalia.it ([79.17.119.101]) by smtp-35.iol.local with ESMTPA id oXctlNwhysptioXd8lNDfx; Wed, 02 Jun 2021 22:38:24 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1622666304; bh=bwpszrxPiDvBzHaTjt4UemmH/hAqkNDbTCBia9aoMOc=; h=From; b=GSccS/ELeCHQE+ND58qrg6EcYcUd8E4zXATmI+faAW5R+YyLQy9wh74OYe3KC52xE lsecIQbvAvOnMEn/RjIv/4fI9HET2OUhI7C01XJFZqQE7gyw3k4SewwZ/cfskPnejb ZBInydQ3V7u/Gzx2kosnocj0b4HcZnwi8BWCFXSPdKTNrEz/OoqlD0Xm2yN9fxerZ4 0v9/eo4OaDTHnp/H/1RjTgpGo+NN7sv4IbmD4R5rKdAvOzhsa7ewO00lSi0yRzyINS hIc2tvMfyLh/0kPsLTC0ze9EOtjMg78mbTvf0M9Nf7F0xyQoa1NsraGVfnn3EGUIya QUb1zxrrPxPMw== X-CNFS-Analysis: v=2.4 cv=Bo1Yfab5 c=1 sm=1 tr=0 ts=60b7ec40 cx=a_exe a=do1bHx4A/kh2kuTIUQHSxQ==:117 a=do1bHx4A/kh2kuTIUQHSxQ==:17 a=IkcTkHD0fZMA:10 a=9TJHrCirLnanYhN9Ky8A:9 a=QEXdDO2ut3YA:10 From: Dario Binacchi To: u-boot@lists.denx.de Cc: Dario Binacchi , Heiko Schocher , Heinrich Schuchardt , Lokesh Vutla , =?UTF-8?q?Marek=20Beh=C3=BAn?= , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Stefan Roese , Tom Rini , "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v2 0/8] rtc: davinci: add driver model support Date: Wed, 2 Jun 2021 22:37:57 +0200 Message-Id: <20210602203805.11494-1-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfLfUe4cQgLAlbAYV6Ac39NkUDWJndRZIXnJhLIfaHBR3BBBG2HvO7ZGD6la23Yu7CiEdTnRQUIcqxIk2gcJHrpePrWioyuIADZFVRh1hYyNf8ernHAmI Q4X4F/jdQ6IdUkZMcv785it69DCNjR1V8XpSN+5tajEVIVR/6wIIFLL6AxC7Yp1uyU2lHJ9kvEk5ksVHE0i7ud7KkMxMzSS23iPbIZrMaibEyTM3m0dXVsa1 90pdoQEIk3sD7XiWkl90Pw0/ufIHM6thQKQIiNLtFqoZxXBnT9zoP1Q2SOAUJKvwiDcLwcef+dlbIZcVKBmPIKqP9eDrC5JwPtpEhQz3jpXaCytHa3989Sll 9f2CgN2ObyUAamR+iik+MR1AsmlIOncnIhwladULGcIYqz6/16y3HD+KfxEjYTsC5tN6wLkgw02T6lXAr96/lxj4E3vb6T6KI+Jcpw4OmxyXneMY1OLwMdid t5vyVyTcHl1U65Pe 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 The series adds driver model support for omap RTC plus some fixes. Changes in v2: - Separated from Kconfig patch - Use consistent naming (omap_rtc_. - Remove non-DM support. It's no more used. Dario Binacchi (8): rtc: davinci: enable compilation for omap architectures rtc: davinci: fix compiler errors rtc: davinci: replace 32bit access with 8bit access rtc: davinci: check BUSY bit before set TC registers rtc: davinci: use unlock/lock mechanism arm: dts: sync rtc node of am335x boards with Linux 5.9-rc7 rtc: davinci: add driver model support rtc: davinci: fix date loaded on reset arch/arm/dts/am335x-bone-common.dtsi | 5 + arch/arm/dts/am335x-evm.dts | 5 + arch/arm/dts/am335x-evmsk.dts | 5 + arch/arm/dts/am335x-osd335x-common.dtsi | 6 + drivers/rtc/Kconfig | 7 + drivers/rtc/davinci.c | 460 +++++++++++++++++++++--- 6 files changed, 439 insertions(+), 49 deletions(-) -- 2.17.1