From patchwork Wed Dec 4 09:20:07 2013
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Daniel Tang
X-Patchwork-Id: 296458
Return-Path:
X-Original-To: incoming-dt@patchwork.ozlabs.org
Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by ozlabs.org (Postfix) with ESMTP id 3F9822C009F
for ;
Wed, 4 Dec 2013 20:20:32 +1100 (EST)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1754889Ab3LDJUa (ORCPT
);
Wed, 4 Dec 2013 04:20:30 -0500
Received: from mail-pd0-f176.google.com ([209.85.192.176]:38470 "EHLO
mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S1753738Ab3LDJU2 (ORCPT
); Wed, 4 Dec 2013 04:20:28 -0500
Received: by mail-pd0-f176.google.com with SMTP id w10so21886830pde.21
for ; Wed, 04 Dec 2013 01:20:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=from:to:cc:subject:date:message-id;
bh=Y+JFBhTNJtTF4U4CWVqbDBijzr2ePidgIaVNr7R38lU=;
b=l+W33ck0myFgmn7fMA5D5nBn6wTxorHuyGe8OO7tNdueeHYPYzpomBB4ru2mHgfobz
Syr/omHEkbP6Sw7wAVIRJ3zQI5WQ8OvRLwnT2+WiA0fZkegamU+gqxHAXlxty5LuLjYs
SRFZNgPXRl4rLdZV/ykoEwMJy/Uc1VR8nL58JLJAwOsZnFhqOuBugIbCIfYCKCuIkg/1
kML7Fuub4LHothTDWHHYNXxIX2UkXdIe+jjHZMnIzMIY1yjbmK+pkBRmhdBMRgWmxJTp
fOlFcYkIx1SoSQDEB5oE+1Lk973KcvRLFQ3MW8gIJ6yQGdGqv9aFrXApbmjqB5+GgNoo
EMdA==
X-Received: by 10.66.180.200 with SMTP id dq8mr81439019pac.104.1386148824115;
Wed, 04 Dec 2013 01:20:24 -0800 (PST)
Received: from localhost.localdomain (110-175-69-66.static.tpgi.com.au.
[110.175.69.66]) by mx.google.com with ESMTPSA id
er3sm135878882pbb.40.2013.12.04.01.20.20 for
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Wed, 04 Dec 2013 01:20:23 -0800 (PST)
From: dt.tangr@gmail.com
To: linux-usb@vger.kernel.org
Cc: Daniel Tang , linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org
Subject: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of
nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'
Date: Wed, 4 Dec 2013 20:20:07 +1100
Message-Id: <1386148808-15065-1-git-send-email-dt.tangr@gmail.com>
X-Mailer: git-send-email 1.7.10.4
Sender: devicetree-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: devicetree@vger.kernel.org
From: Daniel Tang
The SoC name was mistakenly used instead of the vendor name in the
device tree binding for nspire-usb.
This patch fixes this before the driver becomes widely adopted.
Signed-off-by: Daniel Tang
---
Documentation/devicetree/bindings/usb/ci-hdrc-nspire.txt | 4 ++--
drivers/usb/chipidea/ci_hdrc_nspire.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-nspire.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-nspire.txt
index 5ba8e90..ef1fcbf 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-nspire.txt
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-nspire.txt
@@ -1,7 +1,7 @@
* TI-Nspire USB OTG Controller
Required properties:
-- compatible: Should be "zevio,nspire-usb"
+- compatible: Should be "lsi,nspire-usb"
- reg: Should contain registers location and length
- interrupts: Should contain controller interrupt
@@ -11,7 +11,7 @@ Recommended properies:
Examples:
usb0: usb@B0000000 {
reg = <0xB0000000 0x1000>;
- compatible = "zevio,nspire-usb";
+ compatible = "lsi,nspire-usb";
interrupts = <8>;
vbus-supply = <&vbus_reg>;
};
diff --git a/drivers/usb/chipidea/ci_hdrc_nspire.c b/drivers/usb/chipidea/ci_hdrc_nspire.c
index 517ce41..c5c2dde 100644
--- a/drivers/usb/chipidea/ci_hdrc_nspire.c
+++ b/drivers/usb/chipidea/ci_hdrc_nspire.c
@@ -52,7 +52,7 @@ static int ci_hdrc_nspire_remove(struct platform_device *pdev)
}
static const struct of_device_id ci_hdrc_nspire_dt_ids[] = {
- { .compatible = "zevio,nspire-usb", },
+ { .compatible = "lsi,nspire-usb", },
{ /* sentinel */ }
};