Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp776678rwe; Wed, 24 Aug 2022 08:49:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR6n6pmNNDWsNMLnm/SWOcMEVhtHGLPvWOi8Ucp3huaqogQGj+jb4da4c4BT3LXnwXvkZQGg X-Received: by 2002:a05:6402:353:b0:446:2d2c:3854 with SMTP id r19-20020a056402035300b004462d2c3854mr8159747edw.193.1661356157018; Wed, 24 Aug 2022 08:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661356157; cv=none; d=google.com; s=arc-20160816; b=bmNeDp6ecfhITFuc2Vb7UOt9wXRGZS66qBlq/YnGd1/P8fgzhPpdfjUJ5NiKsVf5cg 8rLIN8CewTucmbTK1JHMx2b0LNIF7mPk3xiIGf+YEIOKp7hT4E6EFZxNxDqzcN9qlY8x g2okfMEbfjv1zyIRqg9cxeI2R4nRz+nuDUTpUvE4uCJHlT0pTUyx1VJ6UI1TC5OTsBsp MHJ3k+6FiqZOY9PxZ1VU25aqcz79hWe8TFVaS2WolAUU+0RSx/K2QrYOk/ccNkV5lkpx WAS5xEzK8cfVn6Xip2Teb80Yud8jvJzd9IZffPteP+5tmPGfqRQhEqx8ytLypKRwVt92 Pe4Q== 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=CVvG9u5fZgNaOo7ULIGJkLzIljQ//NxCzX6yHS/62rg=; b=F5LKkt5MuhNtpjvEZYCvbJLpLlk7jy6RdBQSTCZWUtRNJKTPYrNwIYT+RYAjysj955 BacgEyDkore/A7/9hLpYr+yOb0OGMjbvB3+L584GUvcxOPAaGciuG3f/EJElBS2p4lQx Yed6nHFkL58Xh7WBqb5WZ+W0xvq+xfVhKmGc0QX0h9XbcwwcuevofCoV2oePyPoxcYHS OHj13uKj3i6c0R2Qa+q7RgmKf4tQJEDwm+Da+5cmt47/cvuhjKLQ0VUMC61Y6aNKxA3F kloGUTwtYzGdcqahaTmILC/ZVbyj6wcKoNZZjNwO1RtLXcR5f+Hn6dDNsAO4hruOuRgd 8wbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NR7CNznf; 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 sc29-20020a1709078a1d00b0072b3a316cc6si2384368ejc.977.2022.08.24.08.48.49; Wed, 24 Aug 2022 08:49:17 -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=NR7CNznf; 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 S239329AbiHXOyi (ORCPT + 99 others); Wed, 24 Aug 2022 10:54:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236283AbiHXOyg (ORCPT ); Wed, 24 Aug 2022 10:54:36 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC7D6792EF; Wed, 24 Aug 2022 07:54:35 -0700 (PDT) Received: from [10.3.2.12] (zone.collabora.co.uk [167.235.23.81]) (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 94B596601E78; Wed, 24 Aug 2022 15:54:33 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661352874; bh=CVvG9u5fZgNaOo7ULIGJkLzIljQ//NxCzX6yHS/62rg=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=NR7CNznfTPjbBb6Ysl26B0Dw9uhrILYohGczNHFHvapI7yJufzs8OtN84tqRAnA/G 6H9BUd7yACXyNZgjw6iGl+ukq0+5dDfO5ICfre3puaM6NKFBF6rBAWeDbnRHc18ndy FCASu+2JCVK2RpNizY8Dmu+TTJN8qyADhHchH3pA/mIdLXVzAbnbA3pgOyS9vKaXc3 a0DeUsG6SejB8qoohy2Y3Kqny/JCkOi3lH7Ra90ttntGvYQACjXgM3IaiE1Hl8dGEi AM441ay1cffjemUG1UE9Q6N+Y0kU+MRtQPz0JjSB5n8JKyxN/IUkt3jX+pptqIB1wW sjR161ZHWLEzw== Message-ID: <8d8413be9ec10852ca40e091a26db19436d23b71.camel@collabora.com> Subject: Re: [RFC PATCH] gpio: pca953x: Support for pcal6534 From: Martyn Welch To: Andy Shevchenko Cc: Linus Walleij , Bartosz Golaszewski , Collabora Kernel ML , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List Date: Wed, 24 Aug 2022 15:54:30 +0100 In-Reply-To: References: <20220817112818.787771-1-martyn.welch@collabora.com> <370beac7c85da4f1b57d8d78715d2a0676d19cf9.camel@collabora.com> 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,URIBL_BLOCKED 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 T24gTW9uLCAyMDIyLTA4LTIyIGF0IDExOjU2ICswMzAwLCBBbmR5IFNoZXZjaGVua28gd3JvdGU6 Cj4gCj4gCj4gT24gTW9uZGF5LCBBdWd1c3QgMjIsIDIwMjIsIE1hcnR5biBXZWxjaCA8bWFydHlu LndlbGNoQGNvbGxhYm9yYS5jb20+Cj4gd3JvdGU6Cj4gPiBPbiBTYXQsIDIwMjItMDgtMjAgYXQg MDE6MzUgKzAzMDAsIEFuZHkgU2hldmNoZW5rbyB3cm90ZToKPiA+ID4gT24gV2VkLCBBdWcgMTcs IDIwMjIgYXQgMjoyOSBQTSBNYXJ0eW4gV2VsY2gKPiA+ID4gPG1hcnR5bi53ZWxjaEBjb2xsYWJv cmEuY29tPiB3cm90ZToKPiA+ID4gPiDCoAo+ID4gPiA+IC3CoMKgwqDCoMKgwqAgaW50IGJhbmtf c2hpZnQgPSBwY2E5NTN4X2Jhbmtfc2hpZnQoY2hpcCk7Cj4gPiA+ID4gLcKgwqDCoMKgwqDCoCBp bnQgYmFuayA9IChyZWcgJiBSRUdfQUREUl9NQVNLKSA+PiBiYW5rX3NoaWZ0Owo+ID4gPiA+IC3C oMKgwqDCoMKgwqAgaW50IG9mZnNldCA9IHJlZyAmIChCSVQoYmFua19zaGlmdCkgLSAxKTsKPiA+ ID4gPiArwqDCoMKgwqDCoMKgIGludCBiYW5rOwo+ID4gPiA+ICvCoMKgwqDCoMKgwqAgaW50IG9m ZnNldDsKPiA+ID4gPiArCj4gPiA+ID4gK8KgwqDCoMKgwqDCoCBpZiAoY2hpcC0+ZHJpdmVyX2Rh dGEgJiBQQ0FMNjUzNF9BTElHTikgewo+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