From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 06/17] dm: arm: rpi: Move to driver model for USB
Date: Fri, 20 Jan 2017 07:07:41 -0700 [thread overview]
Message-ID: <20170120140752.16296-7-sjg@chromium.org> (raw)
In-Reply-To: <20170120140752.16296-1-sjg@chromium.org>
Start using driver model for USB on the Raspberry Pi. The dwc2 supports
this now so this is just a config change.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v4: None
Changes in v3: None
configs/rpi_2_defconfig | 1 +
configs/rpi_3_32b_defconfig | 1 +
configs/rpi_3_defconfig | 1 +
configs/rpi_defconfig | 1 +
include/configs/rpi.h | 5 -----
5 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig
index 9d669c92e42..4de1d206bcc 100644
--- a/configs/rpi_2_defconfig
+++ b/configs/rpi_2_defconfig
@@ -17,6 +17,7 @@ CONFIG_OF_EMBED=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_BCM2835=y
CONFIG_USB=y
+CONFIG_DM_USB=y
CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y
CONFIG_CONSOLE_SCROLL_LINES=10
diff --git a/configs/rpi_3_32b_defconfig b/configs/rpi_3_32b_defconfig
index d0f7beaa0b3..746a6e28169 100644
--- a/configs/rpi_3_32b_defconfig
+++ b/configs/rpi_3_32b_defconfig
@@ -19,6 +19,7 @@ CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_BCM2835=y
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
CONFIG_USB=y
+CONFIG_DM_USB=y
CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y
CONFIG_CONSOLE_SCROLL_LINES=10
diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig
index ce28c312832..b916ced65a1 100644
--- a/configs/rpi_3_defconfig
+++ b/configs/rpi_3_defconfig
@@ -19,6 +19,7 @@ CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_BCM2835=y
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
CONFIG_USB=y
+CONFIG_DM_USB=y
CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y
CONFIG_CONSOLE_SCROLL_LINES=10
diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig
index 4a90ca83486..514b29b5cd8 100644
--- a/configs/rpi_defconfig
+++ b/configs/rpi_defconfig
@@ -17,6 +17,7 @@ CONFIG_OF_EMBED=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_BCM2835=y
CONFIG_USB=y
+CONFIG_DM_USB=y
CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y
CONFIG_CONSOLE_SCROLL_LINES=10
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index fe0e6a060ae..a0afeadcaa2 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -71,11 +71,6 @@
#ifdef CONFIG_CMD_USB
#define CONFIG_USB_DWC2
-#ifndef CONFIG_BCM2835
-#define CONFIG_USB_DWC2_REG_ADDR 0x3f980000
-#else
-#define CONFIG_USB_DWC2_REG_ADDR 0x20980000
-#endif
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_SMSC95XX
#define CONFIG_TFTP_TSIZE
--
2.11.0.483.g087da7b7c-goog
next prev parent reply other threads:[~2017-01-20 14:07 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 14:07 [U-Boot] [PATCH v4 00/17] arm: rpi: Enable USB, Ethernet, MMC, Video driver model on Raspberry Pi Simon Glass
2017-01-20 14:07 ` [U-Boot] [PATCH v4 01/17] dm: mmc: Set up the MMC device when controller is probed Simon Glass
2017-01-24 6:21 ` Jaehoon Chung
2017-01-20 14:07 ` [U-Boot] [PATCH v4 02/17] dm: video: Correct line clearing code Simon Glass
2017-01-24 14:55 ` Anatolij Gustschin
2017-01-20 14:07 ` [U-Boot] [PATCH v4 03/17] string: Use memcpy() within memmove() when we can Simon Glass
2017-01-23 18:13 ` Tom Rini
2017-01-20 14:07 ` [U-Boot] [PATCH v4 04/17] arm: rpi: Drop the GPIO device addresses Simon Glass
2017-01-20 14:07 ` [U-Boot] [PATCH v4 05/17] arm: rpi: Drop CONFIG_CONS_INDEX Simon Glass
2017-01-20 14:07 ` Simon Glass [this message]
2017-01-20 14:07 ` [U-Boot] [PATCH v4 07/17] dm: arm: rpi: Use driver model for Ethernet Simon Glass
2017-01-20 14:07 ` [U-Boot] [PATCH v4 08/17] arm: rpi: Add a file to handle messages Simon Glass
2017-01-20 14:07 ` [U-Boot] [PATCH v4 09/17] arm: rpi: Add a function to obtain the MMC clock Simon Glass
2017-01-20 14:07 ` [U-Boot] [PATCH v4 10/17] dm: mmc: rpi: Convert Raspberry Pi to driver model for MMC Simon Glass
2017-01-24 6:51 ` Jaehoon Chung
2017-01-20 14:07 ` [U-Boot] [PATCH v4 11/17] dm: arm: rpi: Drop CONFIG_OF_EMBED Simon Glass
2017-01-20 14:07 ` [U-Boot] [PATCH v4 12/17] video: arm: rpi: Move the video query out of the driver Simon Glass
2017-01-24 14:51 ` Anatolij Gustschin
2017-01-20 14:07 ` [U-Boot] [PATCH v4 13/17] video: arm: rpi: Move the video settings " Simon Glass
2017-01-24 14:52 ` Anatolij Gustschin
2017-01-20 14:07 ` [U-Boot] [PATCH v4 14/17] dm: video: Refactor lcd_simplefb to prepare for driver model Simon Glass
2017-01-24 14:20 ` Anatolij Gustschin
2017-01-20 14:07 ` [U-Boot] [PATCH v4 15/17] dm: video: Add driver-model support to lcd_simplefb Simon Glass
2017-01-24 14:23 ` Anatolij Gustschin
2017-01-20 14:07 ` [U-Boot] [PATCH v4 16/17] dm: video: arm: rpi: Convert to use driver model for video Simon Glass
2017-01-24 14:29 ` Anatolij Gustschin
2017-01-20 14:07 ` [U-Boot] [PATCH v4 17/17] arm: rpi: Add a TODO to move all messages into the msg handler Simon Glass
2017-01-23 18:22 ` [U-Boot] [PATCH v4 00/17] arm: rpi: Enable USB, Ethernet, MMC, Video driver model on Raspberry Pi Tom Rini
2017-02-06 15:32 ` Simon Glass
2017-04-01 4:19 ` Simon Glass
2017-04-01 4:34 ` Simon Glass
2017-04-05 13:41 ` Tom Rini
2017-04-05 22:25 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170120140752.16296-7-sjg@chromium.org \
--to=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox