[PATCH 00/32] raspberry pi 3 patch series

Gerd Hoffmann kraxel at redhat.com
Wed Jun 1 14:43:09 PDT 2016


Rebased my raspberry pi 3 branch to 4.7-rc1.  Here is what I have now.

Most of the patches are picked up from Eric's git branches.  Some are
from the linux-rpi-kernel list.  I've rebased the bits to 4.7, resolved
conflics, dropped patches which landed upstream, carried over device
tree changes to the rpi3 dts, fixed some small issues.

Some of the fixups are squashed, some are left as separate patches for
now, mostly because it isn't clear to me whenever those patches are on
the way upstream already or not.

Patches 1-9 get the basics working on both 32 and 64bit.  They also
should be reasonable clean for upstream merge.

Patches 10-19 are various device tree bits.  They look reasonable to
me, I'm, not a device tree expert though.  Dunno how close they are
to mergeable state.

Patches 20-32 are for the wifi.  Mostly from Eric's bcm2837-wireless
branch.  They clearly need some more love, but do the job for now.

State of the tree:  Builds and boots on both 32bit and 64bit.  mmc
works, usb works, wifi works.  video works with simplefb.  vc4 loads
fine but doesn't detect the hdmi display.

git branch is also available here:
  git://git.kraxel.org/linux bcm2837

Take care that the git branch is a moving target though, will rebase
to newer 4.7-rcs as they arrive, possibly fixes will be added and/or
patches updated.


Eric Anholt (24):
  arm64: Add platform selection for BCM2835.
  arm64: Add BCM2835 support to the defconfig.
  irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ.
  dt-bindings: Add root properties for Raspberry Pi 3
  ARM: bcm2835: Add devicetree for the Raspberry Pi 3.
  don't force serial pins to uart0
  ARM: bcm2835: Define standard pinctrl groups in the gpio node.
  ARM: bcm2835: Replace alt0/i2s_alt[02] with standard groups.
  ARM: bcm2835: Move the emmc pin group to bcm283x.dtsi.
  ARM: bcm2835: Add a group for mapping pins 48-53 to sdhost.
  ARM: bcm2835: Move most RPi default pin groups to their devices.
  dt-bindings: Add binding for brcm,bcm2835-sdhost.
  mmc: bcm2835-sdhost: Add new driver for the internal SD controller.
  ARM: bcm2835: Include SDHOST in the device tree.
  ARM: bcm2835: Enable SDHOST by default.
  i2c: bcm2835: Don't complain on -EPROBE_DEFER from getting our clock
  enable uart1 on the BT pins
  gpio: Add support for the FXL6408 GPIO expander.
  i2c: bcm2835: Set up the rising/falling edge delays.
  ARM: bcm2835: Use i2c-gpio for the expander, instead.
  ARM: bcm2835: Add a new EMMC pin group from the downstream tree.
  enable wireless
  mmc: bcm2835: Import bcm2835-mmc and switch to it

Gerd Hoffmann (6):
  ARM: bcm2837: dt: Add the ethernet to the device trees
  bcm2837-rpi-3-b.dts for 32bit arm
  bcm2837-rpi-3-b.dts: add gpio
  bcm2837-rpi-3-b.dts: vc4 hdmi fixup
  bcm2837-rpi-3-b.dts: move the emmc pin group
  bcm2837-rpi-3-b.dts: move most RPi default pin groups to their devices

Lubomir Rintel (1):
  ARM: bcm2835: dt: Add the ethernet to the device trees

mzoran (1):
  arm64: Fix physical to DMA mappings.

 .../devicetree/bindings/arm/bcm/brcm,bcm2835.txt   |    4 +
 .../devicetree/bindings/mmc/brcm,bcm2835-sdhci.txt |    3 +
 .../bindings/mmc/brcm,bcm2835-sdhost.txt           |   24 +
 arch/arm/boot/dts/Makefile                         |    3 +-
 arch/arm/boot/dts/bcm2835-rpi-a-plus.dts           |   11 +-
 arch/arm/boot/dts/bcm2835-rpi-a.dts                |   11 +-
 arch/arm/boot/dts/bcm2835-rpi-b-plus.dts           |   12 +-
 arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts           |   12 +-
 arch/arm/boot/dts/bcm2835-rpi-b.dts                |    5 +-
 arch/arm/boot/dts/bcm2835-rpi.dtsi                 |   40 +-
 arch/arm/boot/dts/bcm2836-rpi-2-b.dts              |   12 +-
 arch/arm/boot/dts/bcm2837-rpi-3-b.dts              |    1 +
 arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi        |   19 +
 arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi        |   19 +
 arch/arm/boot/dts/bcm283x.dtsi                     |  195 ++-
 arch/arm/mach-bcm/Kconfig                          |    2 +-
 arch/arm64/Kconfig.platforms                       |   20 +
 arch/arm64/boot/dts/broadcom/Makefile              |    1 +
 arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts   |   72 +
 arch/arm64/boot/dts/broadcom/bcm2837.dtsi          |   74 +
 arch/arm64/configs/defconfig                       |   23 +-
 arch/arm64/include/asm/dma-mapping.h               |   73 +-
 arch/arm64/include/asm/memory.h                    |    8 +
 drivers/gpio/Kconfig                               |    6 +
 drivers/gpio/Makefile                              |    1 +
 drivers/gpio/gpio-fxl6408.c                        |  244 +++
 drivers/i2c/busses/i2c-bcm2835.c                   |   22 +-
 drivers/irqchip/irq-bcm2835.c                      |    3 +-
 drivers/irqchip/irq-bcm2836.c                      |    2 +-
 drivers/mmc/host/Kconfig                           |    9 +
 drivers/mmc/host/Makefile                          |    2 +
 drivers/mmc/host/bcm2835-mmc.c                     | 1559 ++++++++++++++++++
 drivers/mmc/host/bcm2835-sdhost.c                  | 1666 ++++++++++++++++++++
 33 files changed, 4088 insertions(+), 70 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt
 create mode 100644 arch/arm/boot/dts/bcm2837-rpi-3-b.dts
 create mode 100644 arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
 create mode 100644 arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2837.dtsi
 create mode 100644 drivers/gpio/gpio-fxl6408.c
 create mode 100644 drivers/mmc/host/bcm2835-mmc.c
 create mode 100644 drivers/mmc/host/bcm2835-sdhost.c


More information about the linux-rpi-kernel mailing list