From patchwork Thu Nov 16 20:18:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10062081 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F2820604D3 for ; Thu, 16 Nov 2017 20:18:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3CDA2ABE5 for ; Thu, 16 Nov 2017 20:18:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7F422ABEE; Thu, 16 Nov 2017 20:18:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56A4A2ABE5 for ; Thu, 16 Nov 2017 20:18:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936818AbdKPUSs (ORCPT ); Thu, 16 Nov 2017 15:18:48 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:36313 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932144AbdKPUSr (ORCPT ); Thu, 16 Nov 2017 15:18:47 -0500 Received: by mail-lf0-f67.google.com with SMTP id k66so280175lfg.3 for ; Thu, 16 Nov 2017 12:18:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:user-agent:date:to:cc:subject:mime-version :content-disposition; bh=O+5oM+ahmfWGKPfPOVjzFssMGjzYKyii0LjPY0PoivA=; b=Bn1f52peWk5aID5N579hT7pje5FiirN4/OdzMUcmXXATch1BTsebJjMSu2W7UADwms HZL490CwBJaTG+P66YhztLeBrDcgaNaZBaEyUdGnh74jpuAN5pxNHT6sQ2GvWqbnzeHB rRzQ++C/AUBgNeHzCdo6q4DCYT9J8oxy/Y0v0lS2Iq2qs7jWJu9lYq2hcrRs9NJOxYZK I9TIUDRqShp9Vp5wFkmLqcrJgXiS2E7wAWzqomnsfktsGzE6xGu8vzXWH1QfG7D19jKf 5kerBtQD9oPpviWwC//qUCQ5t7cWJFb69S4l7dgOEIb892S1VW9WYab3RcNnp5IsSTev A4xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:user-agent:date:to:cc:subject :mime-version:content-disposition; bh=O+5oM+ahmfWGKPfPOVjzFssMGjzYKyii0LjPY0PoivA=; b=mlS/pksRPnCeYUgOAPoH/2D6EX3xLlr1bvinIB0K7K1z8Z3EpRVG0Kblbcn739IWJ0 f12vb4YS5XjgtD1KCMnQ2xJ+pqNQPxSnJJsckF8WA7NBtc98h3uncEEFIFzd11HcUSa7 kjGJLtx0TBc9f6e3Ny2uJTgeSbtTpEylceWdOGhf+9lyOnu8Dva0ATWPTBOmx/rcVILg 9urczpeRn4AzXi0YDUDzLekiVlX3AXrYYhSnbpVE2PGgw2zpU0HlmlHBA5AHbC/C74kt MgA72YRwHarCqfEaJs+MhRQHMV7MXuof021bLDHuevVmTHFovW1EGiZPz4Bs2w3kNg/E W8Rw== X-Gm-Message-State: AJaThX56d/aK8aQcq8Pd9kjnzX46L889mGTwkZ6Xzzotk27z9lBOLm9C 5aSck6e1ziOH6ltuKtwIYXpn+g== X-Google-Smtp-Source: AGs4zMa0IhiX4brNlTgJkbdI9gYzP69VVKB7iQ0gNBaN4mUJjuTcJWB0L4Df/ph/vdBF2iS4YthJOQ== X-Received: by 10.25.203.20 with SMTP id b20mr16881lfg.197.1510863526193; Thu, 16 Nov 2017 12:18:46 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.87.127]) by smtp.gmail.com with ESMTPSA id r80sm367612lfe.1.2017.11.16.12.18.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 12:18:44 -0800 (PST) From: Sergei Shtylyov X-Google-Original-From: "Sergei Shtylyov" Received: by wasted.cogentembedded.com (sSMTP sendmail emulation); Thu, 16 Nov 2017 23:18:42 +0300 Message-Id: <20171116201842.006310882@cogentembedded.com> User-Agent: quilt/0.64 Date: Thu, 16 Nov 2017 23:18:32 +0300 To: Linus Walleij , Rob Herring , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Rutland , linux-renesas-soc@vger.kernel.org, Sergei Shtylyov Subject: [PATCH] gpio: pca953x: fix vendor prefix for PCA9654 MIME-Version: 1.0 Content-Disposition: inline; filename=gpio-pca953x-fix-vendor-prefix-for-PCA9654.patch Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Despite commit 55020c8056a8 ("of: Add vendor prefix for ON Semiconductor Corp.") was made long ago, the latter commit 9f49f6dd0473 ("gpio: pca953x: add onsemi,pca9654 id") made use of another, undocumented vendor prefix. Since such prefix doesn't seem to be used in any device trees, I think we can just fix the "compatible" string in the driver and the bindings and be done with that... Fixes: 9f49f6dd0473 ("gpio: pca953x: add onsemi,pca9654 id") Signed-off-by: Sergei Shtylyov Acked-by: Rob Herring --- The patch is against the 'fixes' branch of LinusW's 'linux-gpio.git' repo. Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 2 +- drivers/gpio/gpio-pca953x.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-gpio/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt =================================================================== --- linux-gpio.orig/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt +++ linux-gpio/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt @@ -27,7 +27,7 @@ Required properties: ti,tca6424 ti,tca9539 ti,tca9554 - onsemi,pca9654 + onnn,pca9654 exar,xra1202 Optional properties: Index: linux-gpio/drivers/gpio/gpio-pca953x.c =================================================================== --- linux-gpio.orig/drivers/gpio/gpio-pca953x.c +++ linux-gpio/drivers/gpio/gpio-pca953x.c @@ -947,7 +947,7 @@ static const struct of_device_id pca953x { .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), }, { .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), }, - { .compatible = "onsemi,pca9654", .data = OF_953X( 8, PCA_INT), }, + { .compatible = "onnn,pca9654", .data = OF_953X( 8, PCA_INT), }, { .compatible = "exar,xra1202", .data = OF_953X( 8, 0), }, { }