From: Stephen Warren <hidden> Date: 2013-12-27 02:43:09
From: Stefan Weil <redacted>
Replace "is use" by "is used" and remove a comma.
Signed-off-by: Stefan Weil <redacted>
Signed-off-by: Stephen Warren <redacted>
---
Since I only have 3 patches for bcm2835 this kernel cycle, and they'll
likely go into different branches, I'm just re-sending them for direct
application. These patches are already in linux-next, but since there
are no linux-next being built at the moment, I've reset bcm2835's
for-next to remove them, so there will be no conflict.
I imagine this would go into a "soc" branch in arm-soc.
arch/arm/mach-bcm2835/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Stephen Warren <hidden> Date: 2013-12-27 02:43:10
The BCM2835 SoC contains a DWC2 USB controller. Add this to the DT.
Set up the pin controller to fully enable the USB controller on the
Raspberry Pi. The GPIO setup works because the default output value for
GPIO 6 (LAN_RUN/n_reset) just happens to be 1, which enables the
USB/LAN chip.
Note that you'll need a U-Boot which enables power to the USB controller;
search for U-Boot patch "ARM: rpi_b: power on SDHCI and USB HW modules".
Signed-off-by: Stephen Warren <redacted>
---
I imagine this will go into a dt or boards branch.
arch/arm/boot/dts/bcm2835-rpi-b.dts | 9 +++++++--
arch/arm/boot/dts/bcm2835.dtsi | 6 ++++++
2 files changed, 13 insertions(+), 2 deletions(-)
From: Stephen Warren <hidden> Date: 2013-12-27 02:43:11
Rebuild bcm2835_defconfig using "make bcm2835_defconfig;
make savedefconfig", and add the following features:
* Enable the DWC2 USB controller present in the BCM2835 SoC.
* Enable drivers for various USB-hosted devices, which make the
controller useful.
Signed-off-by: Stephen Warren <redacted>
---
arch/arm/configs/bcm2835_defconfig | 37 ++++++++++++++++++++++--------------
1 file changed, 23 insertions(+), 14 deletions(-)
@@ -44,17 +44,26 @@ CONFIG_VFP=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_SUSPEND is not set CONFIG_NET=y+CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_NETWORK_SECMARK=y-# CONFIG_WIRELESS is not set+CONFIG_NETFILTER=y+CONFIG_CFG80211=y+CONFIG_MAC80211=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_STANDALONE is not set-# CONFIG_INPUT_MOUSEDEV is not set-# CONFIG_INPUT_KEYBOARD is not set-# CONFIG_INPUT_MOUSE is not set-# CONFIG_SERIO is not set+CONFIG_SCSI=y+CONFIG_BLK_DEV_SD=y+CONFIG_SCSI_MULTI_LUN=y+CONFIG_SCSI_CONSTANTS=y+CONFIG_SCSI_SCAN_ASYNC=y+CONFIG_NETDEVICES=y+CONFIG_USB_USBNET=y+CONFIG_USB_NET_SMSC95XX=y+CONFIG_ZD1211RW=y+CONFIG_INPUT_EVDEV=y # CONFIG_LEGACY_PTYS is not set # CONFIG_DEVKMEM is not set CONFIG_SERIAL_AMBA_PL011=y
@@ -71,15 +80,13 @@ CONFIG_FB=y CONFIG_FB_SIMPLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y-# CONFIG_USB_SUPPORT is not set+CONFIG_USB=y+CONFIG_USB_STORAGE=y CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_BCM2835=y-CONFIG_NEW_LEDS=y-CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y-CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_TIMER=y CONFIG_LEDS_TRIGGER_ONESHOT=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y
@@ -88,6 +95,8 @@ CONFIG_LEDS_TRIGGER_GPIO=y CONFIG_LEDS_TRIGGER_DEFAULT_ON=y CONFIG_LEDS_TRIGGER_TRANSIENT=y CONFIG_LEDS_TRIGGER_CAMERA=y+CONFIG_STAGING=y+CONFIG_USB_DWC2=y # CONFIG_IOMMU_SUPPORT is not set CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y
@@ -109,20 +118,20 @@ CONFIG_NLS_ASCII=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y CONFIG_PRINTK_TIME=y+CONFIG_BOOT_PRINTK_DELAY=y+CONFIG_DYNAMIC_DEBUG=y+CONFIG_DEBUG_INFO=y # CONFIG_ENABLE_WARN_DEPRECATED is not set # CONFIG_ENABLE_MUST_CHECK is not set CONFIG_UNUSED_SYMBOLS=y-CONFIG_LOCKUP_DETECTOR=y-CONFIG_DEBUG_INFO=y CONFIG_DEBUG_MEMORY_INIT=y-CONFIG_BOOT_PRINTK_DELAY=y+CONFIG_LOCKUP_DETECTOR=y CONFIG_SCHED_TRACER=y CONFIG_STACK_TRACER=y CONFIG_FUNCTION_PROFILER=y-CONFIG_DYNAMIC_DEBUG=y+CONFIG_TEST_KSTRTOX=y CONFIG_KGDB=y CONFIG_KGDB_KDB=y-CONFIG_TEST_KSTRTOX=y CONFIG_STRICT_DEVMEM=y CONFIG_DEBUG_LL=y CONFIG_EARLY_PRINTK=y
From: Olof Johansson <hidden> Date: 2014-01-02 20:08:40
On Thu, Dec 26, 2013 at 07:43:09PM -0700, Stephen Warren wrote:
From: Stefan Weil <redacted>
Replace "is use" by "is used" and remove a comma.
Signed-off-by: Stefan Weil <redacted>
Signed-off-by: Stephen Warren <redacted>
---
Since I only have 3 patches for bcm2835 this kernel cycle, and they'll
likely go into different branches, I'm just re-sending them for direct
application. These patches are already in linux-next, but since there
are no linux-next being built at the moment, I've reset bcm2835's
for-next to remove them, so there will be no conflict.
I imagine this would go into a "soc" branch in arm-soc.
Applied 1-3 (in next/fixes-non-critical, next/dt and next/boards respectively)
-Olof