summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-03-24 18:00:35 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-02 09:32:53 +0200
commit9c01d10dab293fc93257a823332ecc1270ceeba3 (patch)
tree491bcf293a27dd184a8be5865ef5e45e268ceb07 /include
parent0c0fad494220e62dad35a6ed866b617b103879f1 (diff)
downloadbarebox-9c01d10dab293fc93257a823332ecc1270ceeba3.tar.gz
barebox-9c01d10dab293fc93257a823332ecc1270ceeba3.tar.xz
Rename definitions for ULPI registers
These registers can be used for any standart ULPI chip, not only for ISP1504. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/usb/ulpi.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h
index 0397fdb39f..9eed6a498e 100644
--- a/include/usb/ulpi.h
+++ b/include/usb/ulpi.h
@@ -5,19 +5,19 @@ int ulpi_set(u8 bits, int reg, void __iomem *view);
int ulpi_clear(u8 bits, int reg, void __iomem *view);
int ulpi_read(int reg, void __iomem *view);
-/* ISP 1504 register addresses */
-#define ISP1504_VID_LOW 0x00 /* Vendor ID low */
-#define ISP1504_VID_HIGH 0x01 /* Vendor ID high */
-#define ISP1504_PID_LOW 0x02 /* Product ID low */
-#define ISP1504_PID_HIGH 0x03 /* Product ID high */
-#define ISP1504_ITFCTL 0x07 /* Interface Control */
-#define ISP1504_OTGCTL 0x0A /* OTG Control */
+/* ULPI register addresses */
+#define ULPI_VID_LOW 0x00 /* Vendor ID low */
+#define ULPI_VID_HIGH 0x01 /* Vendor ID high */
+#define ULPI_PID_LOW 0x02 /* Product ID low */
+#define ULPI_PID_HIGH 0x03 /* Product ID high */
+#define ULPI_ITFCTL 0x07 /* Interface Control */
+#define ULPI_OTGCTL 0x0A /* OTG Control */
/* add to above register address to access Set/Clear functions */
-#define ISP1504_REG_SET 0x01
-#define ISP1504_REG_CLEAR 0x02
+#define ULPI_REG_SET 0x01
+#define ULPI_REG_CLEAR 0x02
-/* 1504 OTG Control Register bits */
+/* ULPI OTG Control Register bits */
#define USE_EXT_VBUS_IND (1 << 7) /* Use ext. Vbus indicator */
#define DRV_VBUS_EXT (1 << 6) /* Drive Vbus external */
#define DRV_VBUS (1 << 5) /* Drive Vbus */