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: 838778 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=cogentembedded-com.20150623.gappssmtp.com header.i=@cogentembedded-com.20150623.gappssmtp.com header.b="Bn1f52pe"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3ydCHt0xgYz9rxm for ; Fri, 17 Nov 2017 07:18:50 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936817AbdKPUSs (ORCPT ); Thu, 16 Nov 2017 15:18:48 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:35656 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936815AbdKPUSr (ORCPT ); Thu, 16 Nov 2017 15:18:47 -0500 Received: by mail-lf0-f66.google.com with SMTP id o41so284183lfi.2 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=ILD8CAhJND7DSmwCsNUMMQhUrC5fLtxyF7xOpE7dLHOhJJpViPeCX9azqTnuGM/Wbn OKZrlKSUrk0HVVJdMPNG5Ai7Em7d+4h1BJh+yFVXnTceaMcFP/H3yRxDjQG0yeq60Ko9 aZRDAyQ2sywpX64+BvJ4cw/kFMenY/Vsegk0hWmcCRyDeIC8hYANvoYLru4E1MQZl+K8 y7RhAaa/vuLEN6m/vmuEZab+CcMIH89QC1OMn/PONMBXH1Hg/VevdOmMfjc+qAdUVifx 3GIkXqZcQpxmOxdVnqVNVoTkcYTJ8uZcTgr7pE3Zc99hT9bZoq8dNsYIYZI7Q1lN/3Y8 ItfA== X-Gm-Message-State: AJaThX7IeJM1Gckk1qbKu8Sxdxaf7eS94wpQmOKJqX6jUBbSGvek6jb7 fvIkzZMAs6pRrs+se9JnsDiRaw== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-) -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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), }, { }