Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4526367rwb; Tue, 6 Sep 2022 08:42:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR7cJnAn9aZyOqUQYT/1U4+HhktXvx/KWwtsEsRKhAUYvaaDNtmLm5HaTnm9hsnQ60SfqfEp X-Received: by 2002:a17:90b:17c7:b0:200:9e9e:a4b6 with SMTP id me7-20020a17090b17c700b002009e9ea4b6mr4027683pjb.53.1662478949591; Tue, 06 Sep 2022 08:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662478949; cv=none; d=google.com; s=arc-20160816; b=sDdgj4AT5sSyJ1+US14BvO7DfobXs1Hs4jNr79aAQPY0QMIBGa3MejFAjcQiil90a6 qHEH2IYIrN0ORuDUrjI29GMf8i3rH5kxdaOPudpFHg0PHfGIw95G60kvcUH6VUgw0/C8 KjLJKgKPyBSzYFy8HQx3z/+rmvaeEOYtTPQBxUbKV5ERg6nftKaFZ0i6wJj6vSB76bMz HXo54YOBSLS58BNZOeW0x+oLQ/pnejulYuYoXzymSfRBfrG1BMJ0ZGsfKNTzQkYTTQRj Qazj1L1F8u5IeoU3xK7I09NPKvyjDZxgM3HAroMI2o4WMh5/1v7RNKVhkty43U9gg+ME 8riA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:organization:references:in-reply-to:date :cc:to:from:subject:message-id:dkim-signature; bh=Qrr7PGGV0pTVU6MwAhf7oXMb3V+hHN/UlRCB828kcVo=; b=d/1LQw29V01VxN30Qrfk4/8ba3W08DBQD4uf/Oriuga/DeovMcd5CsjzLOehBM+xAc 7awxajTJn3HXK6EAdwzh1ffMjCZzVRWNKSk9D3zBQxj5yxNi3xDqolrbilVKkYpkaOHY IKc1+i4QJrok5/LPhipJy6+4a6oZsijdPCVi/ekrFiBQE0q/8UJao/47IS1bFss/UU1R iAc75e36gglAo+wyaCXuLFNTntgV6kDb7GPko+HAso5zX9vZ7vggy7Xx839dGbHSKG4t 790ruIxmylvGQiRvomPo/ThJFmEwlC19aaPo2AZIovveTS3NznonLBVqtCG0hQFDCC00 HL0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=EYYlPk1Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 67-20020a630046000000b0043410e2d9basi9643382pga.258.2022.09.06.08.42.17; Tue, 06 Sep 2022 08:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=EYYlPk1Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234680AbiIFOnU (ORCPT + 99 others); Tue, 6 Sep 2022 10:43:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242159AbiIFOmy (ORCPT ); Tue, 6 Sep 2022 10:42:54 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1FFF9D8CA; Tue, 6 Sep 2022 07:03:06 -0700 (PDT) Received: from [IPv6:2a00:23c6:c311:3401:414f:4149:b474:40e4] (unknown [IPv6:2a00:23c6:c311:3401:414f:4149:b474:40e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: martyn) by madras.collabora.co.uk (Postfix) with ESMTPSA id 43E7D6601F20; Tue, 6 Sep 2022 15:01:53 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1662472913; bh=Qrr7PGGV0pTVU6MwAhf7oXMb3V+hHN/UlRCB828kcVo=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=EYYlPk1QT0nPfxYgSuzYUjIraY8aePwXtC9amid/uXZklyMnPC1VrX+O5j+5OOVQ6 PSrkMuwIW4dLmBJb93K29evStyYQmZEVhZNsTkIoaOrDCvH2zu+xSiUw6oCoHMOsDn j4yJYIZKXQRWsmHWtx15aVxgFBv3GzNbFd7eUGPYgTqYPbWPC20Y2oB8VHGmWyvbqw TNa4D3cU9RLqe0hbaWqiwyWbVR6i7yzaK06aMwO6VV6TYKfHR8yOZFS1wD76ZZC5Ay HD62FS4UvhcRwjYflKg5kGxtGZzvSW4K+sUFjGrDW7c4tSzTS72RFRlDFxpwYtEYit BhqwDinCy9zXg== Message-ID: Subject: Re: [PATCH v2 5/5] gpio: pca953x: Add support for PCAL6534 From: Martyn Welch To: Andy Shevchenko Cc: Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 06 Sep 2022 15:01:51 +0100 In-Reply-To: References: <20220906082820.4030401-1-martyn.welch@collabora.co.uk> <20220906082820.4030401-5-martyn.welch@collabora.co.uk> Organization: Collabora Ltd. Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.44.4-1+b1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIyLTA5LTA2IGF0IDE1OjI0ICswMzAwLCBBbmR5IFNoZXZjaGVua28gd3JvdGU6 Cj4gT24gVHVlLCBTZXAgMDYsIDIwMjIgYXQgMDk6Mjg6MTlBTSArMDEwMCwgTWFydHluIFdlbGNo IHdyb3RlOgo+ID4gRnJvbTogTWFydHluIFdlbGNoIDxtYXJ0eW4ud2VsY2hAY29sbGFib3JhLmNv bT4KPiA+IAo+ID4gQWRkIHN1cHBvcnQgZm9yIHRoZSBOWFAgUENBTDY1MzQuIFRoaXMgZGV2aWNl IGlzIGJyb2FkbHkgYSAzNC1iaXQKPiA+IHZlcnNpb24KPiA+IG9mIHRoZSBQQ0FMNjUyNC4gSG93 ZXZlciwgd2hpbHN0IHRoZSByZWdpc3RlcnMgYXJlIGJyb2FkbHkgd2hhdAo+ID4geW91J2QKPiA+ IGV4cGVjdCBmb3IgYSAzNC1iaXQgdmVyc2lvbiBvZiB0aGUgUENBTDY1MjQsIHRoZSBzcGFjaW5n IG9mIHRoZQo+ID4gcmVnaXN0ZXJzCj4gPiBoYXMgYmVlbiBjb21wYWN0ZWQuIFRoaXMgaGFzIHRo ZSB1bmZvcnR1bmF0ZSBlZmZlY3Qgb2YgYnJlYWtpbmcgdGhlCj4gPiBiaXQKPiA+IHNoaWZ0IGJh c2VkIG1lY2hhbmlzbSB0aGF0IGlzIGVtcGxveWVkIHRvIHdvcmsgb3V0IHJlZ2lzdGVyCj4gPiBs b2NhdGlvbnMgdXNlZAo+ID4gYnkgdGhlIG90aGVyIGNoaXBzIHN1cHBvcnRlZCBieSB0aGlzIGRy aXZlci4gVG8gYWNjb21tb2RhdGUg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