Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1703748rbb; Mon, 26 Feb 2024 20:22:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWffus3ZM9/k4qXLXUhqTjAUFVAUyX+PedWvXzIzrYkGXt/uu8FOkQbhRuLJ5w8YCWb330/YyjxCXx6UJ5c3b3QE0BLcVqqGqt7ehoe4w== X-Google-Smtp-Source: AGHT+IGN7c/YlkNyOVFSmDj7CWy+g90Hrat0I5gAYMcshAkBoJFI842yNas0+gvxJu57JSACsFol X-Received: by 2002:a05:6512:3f17:b0:512:aad5:bd18 with SMTP id y23-20020a0565123f1700b00512aad5bd18mr6073897lfa.17.1709007770402; Mon, 26 Feb 2024 20:22:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709007770; cv=pass; d=google.com; s=arc-20160816; b=UN19EFGIYljDWPGYS+0zzdhPJoLM+kmxuTwwZzFpYylTVoBBbRrdxiTFxJxlcpbdGM ITfDwpBA4hog6lTGxmLYLpwkui9g9/4MlJ5omfehXmy6UaU/DaAHiewFtdKvTgbeO4oj t7FGsyh4cTH6oPD38mIbVJ7IsbYDWyKEKSIM2M+/MTHC5YR1ekppQBE+495SxoM7S14x OgX3XaeYtFGYZzWwkgM0MCX9/+aCe7Hl2INCwjh2DY4DBIfcLrbf9gOWFOaxxpvSWTv5 rTIdxmcuK24GDBpcGdZMty4KzuhGQXWX5lOT2Iu8XfY+qeKfApnEcoeija0w1kbuXDhf XP/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-id:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=6jNFMRONjBC5hI101lH7xzU+lTU1NDVXO/PbyiENPmk=; fh=gb2AiOLskb5Y90FSAEqAu/LZ9M7+8kqNWOnXYhGgjrM=; b=t3EdjAnhntqEX+JkDGaJAglneoB7Dn50gPFTgoIiDuCZmC8TJ3uXuorlWWUtSARFhZ R6Dn9rXss5ZvoDL7MC908OVvOG8Rgxsabg12NQv2st/Yfc9uvxq1LqRHrMfP2kxEv0mo IGlFxd4aa69hqnTchmsh2yqKeISjs2uYHxxK1xHfXW0gkT4yuJfW4eCN9PCveRuPsGm6 re2cO4Jvwxk/XAwjtTue6JWKTqczDfcJGKx/+uDbLHMNyO9/zDeJr2IX1vuq5gISdhKG bC/YF9PFhtt+wzBJs7RL+fRe+qDTzufwQZ6yZ8AQdWZuBo6NKMXgxn6QgalU4aQCKVzq QmVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=iDThSa7G; arc=pass (i=1 spf=pass spfdomain=alliedtelesis.co.nz dkim=pass dkdomain=alliedtelesis.co.nz dmarc=pass fromdomain=alliedtelesis.co.nz); spf=pass (google.com: domain of linux-kernel+bounces-82677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 22-20020a508e56000000b00564647b7e30si369299edx.318.2024.02.26.20.22.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 20:22:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=iDThSa7G; arc=pass (i=1 spf=pass spfdomain=alliedtelesis.co.nz dkim=pass dkdomain=alliedtelesis.co.nz dmarc=pass fromdomain=alliedtelesis.co.nz); spf=pass (google.com: domain of linux-kernel+bounces-82677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 29EB51F23A67 for ; Tue, 27 Feb 2024 04:22:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B31C4D9E7; Tue, 27 Feb 2024 04:22:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="iDThSa7G" Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F31441B962 for ; Tue, 27 Feb 2024 04:22:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.36.163.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709007761; cv=none; b=ZB7jt43q8yYlU1zpoBNtgGcg1QWlJwif8cQMf+7FWWItD4E+pJei6wYsWC5LY7//cJB9+SuwG4leL3JPUr7MJ05yGmHaY5yOUEOT6SxiX/+/jaGXPzHv3HnrAzi2+EvJz4GzJEDMGaYHX8xUwVQTFOcnQ1ukiJrrD/Rc+et+fAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709007761; c=relaxed/simple; bh=6jNFMRONjBC5hI101lH7xzU+lTU1NDVXO/PbyiENPmk=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=r+CQbTG0kvwTuWf54dWvY/sPwSo9KlFAqkur1eoLwIzy4+VcI8K6lu1GlzJr1HEta7ksBFhIMnKP/GMGQUyCE6GDS1aU4Nk/hWR7qCigRN8RwgmOZFCP1O/90+n0qe0H9MTKoQMnN2/YLb0zCDkbWAbGe5KB5NswCFHZ9JcSAUk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b=iDThSa7G; arc=none smtp.client-ip=202.36.163.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alliedtelesis.co.nz Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id A4B112C0546; Tue, 27 Feb 2024 17:22:36 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1709007756; bh=6jNFMRONjBC5hI101lH7xzU+lTU1NDVXO/PbyiENPmk=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=iDThSa7GAGxVyVFYzyylfpzl7NK13suc3cJNBGsZ2Ljiluqw7jzeZJJaQ3USXreL8 +Kcn2S5R7msC1inaG9ytTxDMUaGCHiaFM5Qdy0ybvBQD/vtmUZW169xVD3SqhK5LuI zQWgPhU1Y7R1L/zzVEhVm9/jsb8DxyhzM92jRkYksdJ7IZ/dZmmzVho6ISL6VC6+pi pJEkKS9PsC1wo00CZvpQLJn3yP5svYnldDA8HlLL2I983t/NNFVfLDm54u9wDdAZHu fsZvlVB0qBQfnSp/Chiq8QocMCENhEcwqTxmLGF4JqQBgfKMAZYAexQTSE/6tE+8u9 cvNX3ZI+OW56Q== Received: from svr-chch-ex2.atlnz.lc (Not Verified[2001:df5:b000:bc8::76]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Tue, 27 Feb 2024 17:22:36 +1300 Received: from svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) by svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8:f753:6de:11c0:a008) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.40; Tue, 27 Feb 2024 17:22:36 +1300 Received: from svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8::76) by svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8:409d:36f5:8899:92e8) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 27 Feb 2024 17:22:36 +1300 Received: from svr-chch-ex2.atlnz.lc ([fe80::a9eb:c9b7:8b52:9567]) by svr-chch-ex2.atlnz.lc ([fe80::a9eb:c9b7:8b52:9567%15]) with mapi id 15.02.1118.040; Tue, 27 Feb 2024 17:22:36 +1300 From: Chris Packham To: Alexandre Belloni CC: "antoniu.miclaus@analog.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "jdelvare@suse.com" , "linux@roeck-us.net" , "linux-rtc@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hwmon@vger.kernel.org" , Ibrahim Tilki , Zeynep Arslanbenzer Subject: Re: [PATCH v8 1/2] rtc: max31335: Add support for additional chips Thread-Topic: [PATCH v8 1/2] rtc: max31335: Add support for additional chips Thread-Index: AQHaaTSXXsc2JlLE/USpTZyAh1r7Yg== Date: Tue, 27 Feb 2024 04:22:35 +0000 Message-ID: References: <20240227010312.3305966-1-chris.packham@alliedtelesis.co.nz> <20240227010312.3305966-2-chris.packham@alliedtelesis.co.nz> <20240227022919856ffa1d@mail.local> In-Reply-To: <20240227022919856ffa1d@mail.local> Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-ID: <225F68B96E1BA144A07C34DCAF01936C@atlnz.lc> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.4 cv=BKkQr0QG c=1 sm=1 tr=0 ts=65dd638c a=Xf/6aR1Nyvzi7BryhOrcLQ==:117 a=xqWC_Br6kY4A:10 a=75chYTbOgJ0A:10 a=IkcTkHD0fZMA:10 a=k7vzHIieQBIA:10 a=sVLDwT0inrkDDW06gAMA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-SEG-SpamProfiler-Score: 0 SGkgQWxleGFuZHJlLA0KDQpGaXJzdCBvZmYgYXBvbG9naWVzIGlmIEkndmUgc3RydWNrIGEgbmVy dmUsIHRoYXQgd2FzIG5ldmVyIG15IGludGVudGlvbi4gDQpJIHRob3VnaHQgY2xlYW5pbmcgdXAg YW4gaW5mbGlnaHQgcGF0Y2ggc2VyaWVzIHRvIGdldCBpdCBsYW5kZWQgd291bGQgYmUgDQphIHN0 cmFpZ2h0IGZvcndhcmQgdGhpbmcuDQoNCk9uIDI3LzAyLzI0IDE1OjI5LCBBbGV4YW5kcmUgQmVs bG9uaSB3cm90ZToNCj4gT24gMjcvMDIvMjAyNCAxNDowMzowOSsxMzAwLCBDaHJpcyBQYWNraGFt IHdyb3RlOg0KPj4gLQltYXgzMTMzNS0+Y2xrb3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