Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp390342ybt; Sat, 13 Jun 2020 07:42:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxubsP4wCK9O83qoz7tJ91Bk/D408iedJq/UhtIU6J5esphsQUpE78zvP4Hyb1okv2pRQwE X-Received: by 2002:a17:906:b817:: with SMTP id dv23mr17633485ejb.185.1592059320543; Sat, 13 Jun 2020 07:42:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592059320; cv=none; d=google.com; s=arc-20160816; b=Whl9fCoaGDo9qG7MlLdiQJJbUJDesSM2ZqMEh1ZCXj503zyHLjWPilCGqBjkI8gvhh B7p6lNcEHhnX1ZSxuRWnEkQSGLjEPAsnWe51JtHUMEWjgvODakIeydvwhvZdkdbasnGM 6j8xM40kWA5VFuIPcz6EGGu5gwYNarBSIGtuCN52iFP98LFubXE53CneE5AbHyPakK6n Gb1YUWcwO0z3t1sZQ2pujS1Qbaogf8JtShn5o0mQCXBBlo3t19p5CU9IxgBYYizirKXZ qxb85PMOLgkyiYtRIGrQQEqizhFK1U14/o7CpmXmJ20mpM6ej26CkwtVoztrHm13RI+q upMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:cc:to :subject:from:dkim-signature; bh=/06WnR5Ld3T/iB42A7E5Adri+D1FShZPcTZUF4TxpaQ=; b=hEDABnu+6r7uJ0qZj5RwxWwI8bml6nt1t4hz48sjyKuxuTNuAAeDp8JuxLMaCV/v7h IOa+0jrmq/YSwaEelK0fXBDObtj4DF16HyMuSaM4PlLcNyW0lhwxlaZE0Kx3jdTmd9V7 rFBCeK/qh19gQRe9vqdKfNuZfabK0gbTZYTMtWdDa20a1jct0fS/59HR4CEj/mgbKoQO JhFbAho5ty1jipJBx7F2ymwTVbMTQqjltjIrk4RysbdSklV0IB7/Jpc6/3qhVGrBOFMp YHBx1sniQRWrZTecd4OipShLe3nHY1JSZGJcB23aO8SMAdiZKSe7FUTUup8ZfeeRTeFe aZkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=sljE+Vlj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si5255479edr.174.2020.06.13.07.41.38; Sat, 13 Jun 2020 07:42:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=sljE+Vlj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726486AbgFMOjT (ORCPT + 99 others); Sat, 13 Jun 2020 10:39:19 -0400 Received: from mout.web.de ([217.72.192.78]:46413 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbgFMOjS (ORCPT ); Sat, 13 Jun 2020 10:39:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1592059156; bh=kgUISOdMmKx80S+QsK7f1L5ztAZevv9Jr71ZumikE6I=; h=X-UI-Sender-Class:From:Subject:To:Cc:Date; b=sljE+VljuPG5krFC9B/TACFE/+z3Ecr/6GoyCxKfD/s9c/4jZ1Bp5MdRjHKvti6Fa u6oolWiU/dR8WS5XcXqz5qQ0omILdOj8Wo0TZCUvd4ha25i350WW9mFAoQ4kYEo4z+ uRKlAZ7AOSLszu8OJdqWRG2g5eaIq7p6Ik2wPz78= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.10] ([95.157.53.180]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MEVlN-1jiBNV1Izp-00FkiM; Sat, 13 Jun 2020 16:39:16 +0200 From: Jan Kiszka Subject: [PATCH] gpio: pca953x: Add support for the PCAL9535 To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio , Linux Kernel Mailing List Message-ID: <53b5504b-dd06-c1d5-5334-d4c5525eca93@web.de> Date: Sat, 13 Jun 2020 16:39:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:d9OK0faWmrTbCao89AP45VVSNUvQ/hFJ4bgkLEx/Ype64hIF7e2 0PZ66VftVkZzWXS/81kqmYnI3RFGJ9LHPzDn4E4n4PIXc5ex187Vzuf8ayT1oWmoSW6WysY 5eBdKCqkCBlh40McJbO2SQh8RwGLL7OJKZ0VIIjF96ImjIromF/hLlkaQ3JakvdYH4vFKsu 8GAq6Fwh15vEFxy8pkwlw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Grak4s5uaFU=:/HIgdIHfojvFVETLmKW3bW sN05GIJJ44vVeFtfb/Iq0GedwG9UDnAm8AkQbSr9t6zXvbnE+FuidfANwm937G3rVEey60otv 91ZQ+v5kpd2vLCooA3lOp6rpb/FTPYeeQbLKuB+XNbmYhfXX++T7EUlUeEEMQgY3jYdcdot2S QmaCKfWm3PKa+o1fqx8ixFw2OPrSJv92PeYG5aw2bcFfSKTXbvE0iWWqD7N6R8FmvpUlHoni9 Z/s+kiwQEYBb9rjscz+B8sj8K1PDTPK1RyuNjZIlDTbZzn+5VkVEi3ZEyN2IS3eY2phpIop2z YBdURmzn6tTT6Yx9OlcVUgIwBEHtASif8v0AZJbcaK7KaGgCdq2yonFIq8Clh7WsZuA2p0wrD JVXSV1Ju8GkEyzDWbITToBB32hW7QYpyG3RUcSbQ/EV9ev54LidixEjvjvXikkvgNrA69FfPa 1GhaXtkNC078VYxjudBlnOgdi9l27vraNpL6yZUv/qeaJEv//RbEps8zI9Wzq4lTtPhhEeBeh wPXydSfNoA5OOOUXlLjzhlHjogpNPF0mlZtifdeBrKa9tA5UzZYuuD+6wfkn1BLJ1JWspWzRI W71ETUpwphxODtLynTgUD4hkv1qyvyY3S5zdQsvmsdUx4pM2SjRIAsJtbkTBOVZ+Z1/vgxNtl WwjUM70R8821M9apjOl5QMgIAMcYpeBm9Hw+PWB0u/dg5MIuJuoXfEYwPJwlcqwu5+YPmIJT4 YlX/K/+fuYdvUvxyiTQYTWdabmW/bS4lSu1okzaHRsKOT4R8b4m06+AtmtizdEW9GDsm2UlOa M5mXfkB3AOm9yu+XITFgnYL2rFpchUIRaLiXBC0lAF4i13pYusand76434T9aelFUWd0zm0JY 6BOfcfQgqIbv1tZN14CoG/7Hlf3QVY/dbs1OGgEhTbt1HVAuIMmvanS1Z1XbSHJj45fIkYw8R dVhCJqIQG0GASOVsV70RXX1tHZANB4m3hw/J0J5kDt4v9Xw6TE6xhorHnKSZ4ooN4npBoOuwl kfzOpsYccdSIeII985Sccy5D7ittgTpAw4CUQRuEVYLb3Wa5r0JnTvlUFVlgbVTvcVAkjm3fy Cn903AoW2YxO3YRBauuC+IwsQpIkUtYfgVtV0NvDQZ+qjuJ1B5mGqsl0FOZy0+aUeoDZ0tT7z 1ndU/dzeQZsBZwY55vkRYQGiJF8d7qbxVaKyXbSyk5ri4fJBzR6soTavELcpTmINHTlnxtj24 75XLwPJ4fMuCYgwpv Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka The PCAL9535 [1] is compatible to the PCA9535. Additionally, it comes with interrupt support and input latching. Other features are not supported by the GPIO subsystem. [1] https://www.nxp.com/docs/en/data-sheet/PCAL9535A.pdf Signed-off-by: Jan Kiszka =2D-- drivers/gpio/gpio-pca953x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 1fca8dd7824f..34d635e51dda 100644 =2D-- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -1131,6 +1131,7 @@ static const struct of_device_id pca953x_dt_ids[] = =3D { { .compatible =3D "nxp,pca9505", .data =3D OF_953X(40, PCA_INT), }, { .compatible =3D "nxp,pca9534", .data =3D OF_953X( 8, PCA_INT), }, { .compatible =3D "nxp,pca9535", .data =3D OF_953X(16, PCA_INT), }, + { .compatible =3D "nxp,pcal9535", .data =3D OF_953X(16, PCA_LATCH_INT), = }, { .compatible =3D "nxp,pca9536", .data =3D OF_953X( 4, 0), }, { .compatible =3D "nxp,pca9537", .data =3D OF_953X( 4, PCA_INT), }, { .compatible =3D "nxp,pca9538", .data =3D OF_953X( 8, PCA_INT), }, =2D- 2.26.2