Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1501548ybt; Mon, 15 Jun 2020 01:48:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5vH0JEhPD34T25XWiDIUg8yvzZePeX1Wu9aOwVe6FzpJg1ktwpSWioGqygcPEXQ7MoMDj X-Received: by 2002:a05:6402:b8a:: with SMTP id cf10mr23501159edb.138.1592210887070; Mon, 15 Jun 2020 01:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592210887; cv=none; d=google.com; s=arc-20160816; b=QSr41fIx/VXk8cWZXZLPDzcxUwG3iJrN+dZ/LnIYr0rK+Wzan87EuXjHVOc5+LPPDw UZPsLXDDeVIrAibVgDv9om07xTTD0sPB8VNgQGzwewNGe3k/aV4e99uQMx/b+TELbe6W RjaQ0bPC+9HL4QxM1D5qwhuE5n1yFi5E2Za/ixXeGzX8L6iPU/NOafAHiJ6E2IlSGyEg EOE+CVr3oP7CvRPa88G+7Cb9XRfuqJfSWRf/E1mG4C69x2yodNk9FUiOEBd8VMstAB4s 7twhhZRs1+4Ss/bJpWSsscw2nPFBP6iem+LNQzjHakQ4q2QOuh8YxJhBbiQ6o5GcVJWg IZBA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=epgKPDbapxC8fgopI5hwBsVNvH4yhtdyD8M2ZDlHf5o=; b=SANbT0GFzpIUOCIZpEMNqVKaiAkbVBM6tj/r8KhJ/7slChVmv4SzAZSyOCB1shXnN5 kCn3mKVQIZpMAtgkeDSUIBYo5FQCFSB3VgaX90iG9wZBos6/9BTPPdvaofu5LdN4rGWB qQT90szyfsXJ5UceuJ37KL4PkPQ8kxzeqDYiAQaTezgvKkL0DONnOOJbeMyrx3xSWfFP dKIH9EaFMT71SnaVwSQ1+zxzFgPHa+BBnT9gBorq9CuWraFLIYn7yCldN+Z9X+nfRGgj /Sipzob7mbxb3Giz3BWKUG4E5nDwVhU3XlZHdqeOlQ9Pbp6CVrY+7ln0W33OMQS9JKCQ 3kHg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o25si8441229ejh.304.2020.06.15.01.47.44; Mon, 15 Jun 2020 01:48:07 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729492AbgFOInG (ORCPT + 99 others); Mon, 15 Jun 2020 04:43:06 -0400 Received: from lizzard.sbs.de ([194.138.37.39]:41805 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729463AbgFOInE (ORCPT ); Mon, 15 Jun 2020 04:43:04 -0400 X-Greylist: delayed 872 seconds by postgrey-1.27 at vger.kernel.org; Mon, 15 Jun 2020 04:43:02 EDT Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 05F8SOYi002760 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 Jun 2020 10:28:24 +0200 Received: from md1f2u6c.ad001.siemens.net ([167.87.53.252]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 05F8SNgJ021930; Mon, 15 Jun 2020 10:28:24 +0200 From: Jan Kiszka To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] gpio: pca953x: Add support for the PCAL9535 Date: Mon, 15 Jun 2020 10:28:23 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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 --- 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[] = { { .compatible = "nxp,pca9505", .data = OF_953X(40, PCA_INT), }, { .compatible = "nxp,pca9534", .data = OF_953X( 8, PCA_INT), }, { .compatible = "nxp,pca9535", .data = OF_953X(16, PCA_INT), }, + { .compatible = "nxp,pcal9535", .data = OF_953X(16, PCA_LATCH_INT), }, { .compatible = "nxp,pca9536", .data = OF_953X( 4, 0), }, { .compatible = "nxp,pca9537", .data = OF_953X( 4, PCA_INT), }, { .compatible = "nxp,pca9538", .data = OF_953X( 8, PCA_INT), }, -- 2.26.2