From patchwork Fri Sep 17 06:46:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathew McBride X-Patchwork-Id: 514167 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1944050jao; Thu, 16 Sep 2021 23:47:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhnqS1avLsMAPwEBCB5gjiVLeaKGLdI61t9m7KYgZGt78Ni5PbS5vKDnVUU5ybk74pBXpF X-Received: by 2002:a17:906:e0d8:: with SMTP id gl24mr10503144ejb.413.1631861220687; Thu, 16 Sep 2021 23:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631861220; cv=none; d=google.com; s=arc-20160816; b=h0i8YEBifAEGkd5MO+cqKrSShDEmeKp0R64LLyTIuwm1tbYy9sgljrIMcvoe8estdO Vgb/i5ixw14wyIIxewvaPbbX13+37/C6IWfv+KLNoGfoeY2zP+KCoiJeHBWIj9t6YpFH lT2ErzW47MA+yRwOSvr6jyV+3NG5P24L88AU2seo9C/jpDJP4grZaLrU3QbUODLHfuc9 vEcXpOnWidIl+kArfu8/73DaqcCzX8YtBOISSV/61UrDAkQOrJtRBki4icphoRtMFPGz 84V9brEGRwwKD0tlI6djJeWurAA3Vyno3PNz6t0eyXAMn8YxzSReRisWbESzBNLlIPSA OlRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dkim-signature; bh=A9ACoiZOX8yep5PHo5W4HoGO6zwUptth8ukMl/7R408=; b=XfYc5hTUg4egJxS9n6huIHCC9B+qHyuVOj1SVfNsMARlDE2rKEDO9vDZ6PeyxW3JIY w7NAbppaG8sJUVLRExAoWuZmhlVLeE+VnNrvFL3xXbh/wITk6ZxCtsxS9Xbg5JHqMf2Y n2v/Lz8krPU0FmYB6vJ0mDrYCVOR26GuvThC3w+XrKxMjAARVhPuWgc4X1TnD2rE5vFo gxIA/FuLFcdu+879LPnkpcU8ldvuzWDRfPxTCfsMcGNp3fPjEe5s+WSumXX63aBPAbZx 8a3NgSKXglf39lZlxU80CGIVrDhtcbQVP14JgBIoDWf3BwG1oviRVauBiaEPXQzfaxfg FecA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@traverse.com.au header.s=fm1 header.b=Vsgh9E4l; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=F1Vctxxp; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 13si1695386ejg.193.2021.09.16.23.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 23:47:00 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@traverse.com.au header.s=fm1 header.b=Vsgh9E4l; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=F1Vctxxp; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E55DD83205; Fri, 17 Sep 2021 08:46:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=traverse.com.au 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=traverse.com.au header.i=@traverse.com.au header.b="Vsgh9E4l"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="F1Vctxxp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A051382F34; Fri, 17 Sep 2021 08:46:31 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EC14082EE0 for ; Fri, 17 Sep 2021 08:46:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matt@traverse.com.au Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C63515C010E; Fri, 17 Sep 2021 02:46:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 17 Sep 2021 02:46:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=A9ACoiZOX8yep5PHo5W4HoGO6z wUptth8ukMl/7R408=; b=Vsgh9E4lRWsBSMhIoVFzJ8x3jktScOHUyeyOWxRBiO JroypqLx1i0c+cJlS/dlsdwjf9hv7yRDtuamNF8J3drNHr9Sce2ZA57koTt4qQ5f fy302vwx+DWATpvs7TwTqSXFYDP01oVm0iYc6107/K1fer8H7waBo92CafehpFLI pEBjqqfJKdOBBKMxt1LRjv/6BDr0XEUxc/oIrxJMDnqHBkoz5Ore9bkH/BiBJSly yXl2hIvR6fBfqgvOaulD3Iz7y7f4pYfBko7pgzkS/czvdr/UKsI+E+1W5WUWS1EZ cBThZ2Ym5eM9NYNy4YltljubJDoXzw+6ZTJz68uarBlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=A9ACoiZOX8yep5PHo 5W4HoGO6zwUptth8ukMl/7R408=; b=F1VctxxpdIaDvK+FVWuW1Acmf8Zj3ifcc O/2n6HdpZU3m9+2gnowQlbAMLJrqoWM2syMk+VI1oXjUScZZ0uLvx4q8wkQl6U2l hlGJ7vKT4ZKtQ1hrT9AsraqdheimlGw6NubyPoMo0YuvQbHDK6LRKPkkOaykEpQg 8M+9e0CkEl3sxL2xJeQeCxm7ZCw1GWKlHBe51FIGD0SAKhNGyKDXDBguvl1GAuRp gO5y7i1AL2RY09fDSt/OBFkv8gaJ6P9NfDl5iQrKs6uOLIA9FZQfa92REm2Y7tRu bxUdwDRWz2rZqo/ocOSmcVsaGV75dAfmKbYsum4okldoyR769XuAg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehhedguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpeforghthhgvficuofgtuehrihguvgcuoehmrghtthesthhrrghv vghrshgvrdgtohhmrdgruheqnecuggftrfgrthhtvghrnhepgfekhefgieehffetudehve evudeutddtteeiffeugfevuedttddtgeelfeekledvnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrthhtsehtrhgrvhgvrhhsvgdrtghomh drrghu X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Sep 2021 02:46:16 -0400 (EDT) From: Mathew McBride To: u-boot@lists.denx.de Cc: Mathew McBride Subject: [PATCH 0/4] Add EPSON RX8035 RTC support Date: Fri, 17 Sep 2021 06:46:00 +0000 Message-Id: <20210917064604.3912-1-matt@traverse.com.au> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 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.103.2 at phobos.denx.de X-Virus-Status: Clean This patchset adds support for the EPSON RX8035 real time clock to the rx8025 driver. The two devices are very similar and with only minor differences for basic real time clock functions. Some issues have been identified with the handling of date setting and clock reset with the U-Boot driver which are resolved with these patches. It appears only one board (socrates) in the U-Boot tree uses this driver at present, the other users either not in tree or removed under previous cleanups, so take this opportunity to remove non_DM-RTC support as well, and vestiges of previous board specific hacks. The Traverse Technologies Ten64 board will be introduced in the near future and it will use this driver. Mathew McBride (4): rtc: rx8025: drop non-DM support rtc: rx8025: add support for EPSON RX8035. rtc: rx8025: set date in a single i2c transaction rtc: rx8025: revise single register write to use offset drivers/rtc/Kconfig | 1 + drivers/rtc/rx8025.c | 166 ++++++++++++++++--------------------------- 2 files changed, 63 insertions(+), 104 deletions(-) -- 2.30.1