lkml.org 
[lkml]   [2013]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
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
From: Daniel Tang <dt.tangr@gmail.com>

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 <dt.tangr@gmail.com>
---
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 */ }
};

--
1.7.10.4


\
 
 \ /
  Last update: 2013-12-04 10:41    [W:0.086 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site