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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A492C433F5 for ; Sun, 3 Oct 2021 23:34:17 +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 CF7D66124F for ; Sun, 3 Oct 2021 23:34:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CF7D66124F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AFE6782E48; Mon, 4 Oct 2021 01:33:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="ZfoMUQKo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 39F3C8347C; Mon, 4 Oct 2021 01:33:39 +0200 (CEST) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4F55583476 for ; Mon, 4 Oct 2021 01:33:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82a.google.com with SMTP id e16so4216978qte.13 for ; Sun, 03 Oct 2021 16:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sVzwfVf2JodQWOOn8vs4Hw4SUewCwZkXGSbhcSdTJTQ=; b=ZfoMUQKom89rm2bSaGToPj8uVBbuls4L7K0MOP4+vP9KYDLOyXqalzDf5dCNWEQ6qw mJM1ewKRwDIchMTPLdM/0Q8yOLySl0hbBYDJTt7w38vrepZ0a+QbeTOPWeCe7ecSkPjo t8GahLhiZVzeeDdSC0LYAseDDEclRiBI1XaxQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sVzwfVf2JodQWOOn8vs4Hw4SUewCwZkXGSbhcSdTJTQ=; b=1Ffogg/+6+vu6BKhmJPpomAlCa7mVVGqnpf5hHyw1fmE2OWzEHCuzX2W/706LN0pbp +8e/HPj9HAYA+rs2X0fusk5gVk+IzK3bro7UNjs9O7eWXN02ZQV1hWBlqzk7OHwtul+4 5YR1apcNn8FkQtorOotQaTb46k7ZULEhI2kuYGKkRj26sy2tZT09ORrzlu023gGn+bj4 k9Qhb7uUkH2/v+06KSU8jrYjDINkfg6E7lt715QqOvuCKWHS0UayXsMXaTmRmWTR4t8N 7qT2hpHPrcaewSB3xyrhQ2vz/Fp1FzYIG0sEyYeRVTxkf76hWRvpwls2VC6yTs2VACHv KOVw== X-Gm-Message-State: AOAM53000kvnI3Yr59TRjVHyM82K1chw24hiFARDVvRNziTz28Ab37N7 OHVibI59rsvlhe1k5Up6RLOldflExsXc3Q== X-Google-Smtp-Source: ABdhPJy59bwY0DpQusl54y+2vB7ZLE9/aXgWkKcx3n66Sn4MxmPBhqNxgROaCmFMmrxcuSl/cixXOQ== X-Received: by 2002:aed:2791:: with SMTP id a17mr10485103qtd.295.1633304011071; Sun, 03 Oct 2021 16:33:31 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-ddc6-c860-2365-fdf8.res6.spectrum.com. [2603:6081:7b01:cbda:ddc6:c860:2365:fdf8]) by smtp.gmail.com with ESMTPSA id x79sm6782411qkb.65.2021.10.03.16.33.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Oct 2021 16:33:30 -0700 (PDT) Date: Sun, 3 Oct 2021 19:33:28 -0400 From: Tom Rini To: Mathew McBride Cc: u-boot@lists.denx.de Subject: Re: [PATCH 3/4] rtc: rx8025: set date in a single i2c transaction Message-ID: <20211003233328.GV31748@bill-the-cat> References: <20210917064604.3912-1-matt@traverse.com.au> <20210917064604.3912-4-matt@traverse.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BVBPRygDtbGal1Jh" Content-Disposition: inline In-Reply-To: <20210917064604.3912-4-matt@traverse.com.au> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --BVBPRygDtbGal1Jh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 17, 2021 at 06:46:03AM +0000, Mathew McBride wrote: > The RX8025/RX8035 does not like having it's time registers > set byte-by-byte in separate I2C transactions. >=20 > From the note at the top of the file, it appears > target-dependent workarounds have been used in the > past for this. >=20 > Resolve this by setting the time registers in a single > I2C transaction. >=20 > As part of this, also ensure the '24/12' flag in the RTC > is reset before writing the date (instead of after), otherwise > the RX8035 will clear the seconds and minutes registers. >=20 > Tested on Traverse Ten64 (NXP LS1088A) with RX8035. >=20 > Signed-off-by: Mathew McBride Applied to u-boot/next, thanks! --=20 Tom --BVBPRygDtbGal1Jh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFaPcgACgkQFHw5/5Y0 tywVCgv8CtHoXkdkFyhyjN4sjFfoVljiEKPHOAYgWGlzzw+f+w3TYlLEpSsKnOty 8FDavpZzAOttsnQX6U5LH6zlZwmISUtfYyWGt3QXF0aGb6Y53U++ee1Kz0aFEoH0 kTRJFUu0/SC6dFsXGi2ZVxwmDpUyuWpPzB6FDVrGyetGG7lznKv2jfxDueGAEoo8 gajJxFYMJcD44lCdz/nh3CrB1eK9spiHkeDwCVfnzBGls6o7pARIthLNobe8WtfM kAZp+hNZ5DdC5GgcDq+4Wa1QZlUN4DzP+5g06l8NZuknoGQfim88gFP3Y3OwJrMD KW8Sny8pdCqw95tal59kmO0OrLZ8CI612kRK5x012JxqmwezD89+X4u6+4VGDBDd 250tARJ/dZmSCVThKovb2+HY70HsDo+PgQ0kgQwz/TVon8J9/qjif607/I+BKwwi ZtZzd7CTEj3APSVY0VQf7v6JowotmB6hrWvdF5Tl6r4n58zYAVRtpZw0n0K4z3hK wlJV5k+s =lzZg -----END PGP SIGNATURE----- --BVBPRygDtbGal1Jh--