Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4418989pxk; Wed, 30 Sep 2020 02:23:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgsOgXt8Bg5hAxqVXIV3I0p//MyQOSNxwcv/pCDA+OTl0Q+PtM09KBdzPTCmJIL/sirIuy X-Received: by 2002:a17:906:5611:: with SMTP id f17mr1936647ejq.427.1601457834776; Wed, 30 Sep 2020 02:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601457834; cv=none; d=google.com; s=arc-20160816; b=vzHtTBx//q1xZl3tOLGGytHT5QnB8M3R3V2VnuLcC8NUPvi+OGzif+XvQCX7ywfyCB 2Do7A18RrglaC1DnkOWBL7Ga4ylzVijSRlFcQS+VetQakHAj2/csk03mtsiI2pTwV0He jpffazAybEmrJwGHmJ+va0v37UzT9g5tbzIcKSKHpV2DoLm+s8OECfFufqJiSw+FA5k4 fpTVxembh/G2oBurd7Ej9xzi2OMPx7ArV2i50o9XldGdIe+Fj3Z1DkiiBxQ9xl47H+FQ 3jf8mxtO+g9lzrCPewWg/zZeYpzZtKCI9riX1I+erJsrj61B5Nhx8A4eZbJ6HAv+GI6q ndVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=BRZpQ9+5O61yuWCU9/OIyUZW1t9aBgK5XFEPUgVey8g=; b=SFC5rUhvE0DtJKsTH/RsUMaYJk0ewLlV6UamVfoNXo+71hrGxQ+riJVY2/ycQGaQ+/ soo8NWjzKx+zoc0LMcbiy9ydD0C059whvmDAo706hhAq6drILWcFqyx7i4zCz5TeVjav xu96CrEhBDb8eGyQe4xKUvPpGW5JR+Uqd4gUNr1IbP2F0Fh63SzBdee43nEq/6tEfJI9 qj2yQ2sDsH1LMgru3Ge04gaU3pggSItFCgcde6F1t1YYDsYLg4tWE9rwX6VESmynMfHc 4qPEhXnlUJkh4584JLJuRAlVqy7GesvF7xPnOtLjOUOcwGLz937FuF9JXzcdmceehJiL WCZQ== ARC-Authentication-Results: i=1; mx.google.com; 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 u3si663555edp.313.2020.09.30.02.23.32; Wed, 30 Sep 2020 02:23:54 -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; 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 S1729192AbgI3JVh (ORCPT + 99 others); Wed, 30 Sep 2020 05:21:37 -0400 Received: from atl4mhfb03.myregisteredsite.com ([209.17.115.119]:58934 "EHLO atl4mhfb03.myregisteredsite.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729157AbgI3JVd (ORCPT ); Wed, 30 Sep 2020 05:21:33 -0400 Received: from jax4mhob16.registeredsite.com (jax4mhob16.registeredsite.com [64.69.218.104]) by atl4mhfb03.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id 08U9LSPD029983 for ; Wed, 30 Sep 2020 05:21:31 -0400 Received: from mailpod.hostingplatform.com (atl4qobmail01pod0.registeredsite.com [10.30.71.203]) by jax4mhob16.registeredsite.com (8.14.4/8.14.4) with ESMTP id 08U9L8de036536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 30 Sep 2020 05:21:08 -0400 Received: (qmail 32270 invoked by uid 0); 30 Sep 2020 09:20:59 -0000 X-TCPREMOTEIP: 83.128.90.119 X-Authenticated-UID: mike@milosoftware.com Received: from unknown (HELO phenom.domain?not?set.invalid) (mike@milosoftware.com@83.128.90.119) by 0 with ESMTPA; 30 Sep 2020 09:20:59 -0000 From: Mike Looijmans To: linus.walleij@linaro.org, bgolaszewski@baylibre.com, linux-gpio@vger.kernel.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Looijmans Subject: [PATCH v2 2/2] gpio: pca953x: Add support for the NXP PCAL9554B/C Date: Wed, 30 Sep 2020 11:20:53 +0200 Message-Id: <20200930092053.2114-2-mike.looijmans@topic.nl> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200930092053.2114-1-mike.looijmans@topic.nl> References: <20200930092053.2114-1-mike.looijmans@topic.nl> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The NXP PCAL9554B is a variant of the PCA953x GPIO expander, with 8 GPIOs, latched interrupts and some advanced configuration options. The "C" version only differs in I2C address. Signed-off-by: Mike Looijmans --- v2: Split devicetree and code into separate patches drivers/gpio/gpio-pca953x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index bd2e96c34f82..fb946b01512d 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -90,6 +90,7 @@ static const struct i2c_device_id pca953x_id[] = { { "pcal6416", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal6524", 24 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal9535", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, + { "pcal9554b", 8 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal9555a", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, { "max7310", 8 | PCA953X_TYPE, }, @@ -1237,6 +1238,7 @@ static const struct of_device_id pca953x_dt_ids[] = { { .compatible = "nxp,pcal6416", .data = OF_953X(16, PCA_LATCH_INT), }, { .compatible = "nxp,pcal6524", .data = OF_953X(24, PCA_LATCH_INT), }, { .compatible = "nxp,pcal9535", .data = OF_953X(16, PCA_LATCH_INT), }, + { .compatible = "nxp,pcal9554b", .data = OF_953X( 8, PCA_LATCH_INT), }, { .compatible = "nxp,pcal9555a", .data = OF_953X(16, PCA_LATCH_INT), }, { .compatible = "maxim,max7310", .data = OF_953X( 8, 0), }, -- 2.17.1