From patchwork Tue Jul 29 07:24:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Pargmann X-Patchwork-Id: 4638851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F0F6AC0338 for ; Tue, 29 Jul 2014 07:28:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 36030201BA for ; Tue, 29 Jul 2014 07:28:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 29A3D2018E for ; Tue, 29 Jul 2014 07:28:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XC1o5-0005sj-Uw; Tue, 29 Jul 2014 07:26:45 +0000 Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XC1nl-0005gU-5X for linux-arm-kernel@lists.infradead.org; Tue, 29 Jul 2014 07:26:26 +0000 Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:a236:9fff:fe00:814]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XC1mz-0005q8-QZ; Tue, 29 Jul 2014 09:25:37 +0200 Received: from mpa by dude.hi.pengutronix.de with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1XC1mx-0004Ll-81; Tue, 29 Jul 2014 09:25:35 +0200 From: Markus Pargmann To: Linus Walleij Subject: [PATCH 3/4] gpio: pca953x: Add pca9506 as DT compatible Date: Tue, 29 Jul 2014 09:24:45 +0200 Message-Id: <1406618686-22385-4-git-send-email-mpa@pengutronix.de> X-Mailer: git-send-email 2.0.1 In-Reply-To: <1406618686-22385-1-git-send-email-mpa@pengutronix.de> References: <1406618686-22385-1-git-send-email-mpa@pengutronix.de> X-SA-Exim-Connect-IP: 2001:6f8:1178:2:a236:9fff:fe00:814 X-SA-Exim-Mail-From: mpa@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140729_002625_430172_8F25D7BE X-CRM114-Status: GOOD ( 11.21 ) X-Spam-Score: -0.7 (/) Cc: Alexandre Courbot , linux-gpio@vger.kernel.org, kernel@pengutronix.de, Markus Pargmann , Aaron Sierra , Toby Smith , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This driver can also be used for the nxp,pca9506 device. Signed-off-by: Markus Pargmann --- Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + drivers/gpio/gpio-pca953x.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt index b9a42f294dd0..eb65157d47f6 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt @@ -3,6 +3,7 @@ Required properties: - compatible: Has to contain one of the following: nxp,pca9505 + nxp,pca9506 nxp,pca9534 nxp,pca9535 nxp,pca9536 diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index fda3eae835d0..df5eb6e6be1e 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -729,6 +729,7 @@ static int pca953x_remove(struct i2c_client *client) static const struct of_device_id pca953x_dt_ids[] = { { .compatible = "nxp,pca9505", }, + { .compatible = "nxp,pca9506", }, { .compatible = "nxp,pca9534", }, { .compatible = "nxp,pca9535", }, { .compatible = "nxp,pca9536", },