Difference between revisions of "RPi Upstreaming"

From eLinux.org
Jump to: navigation, search
(more 4.5 updates)
(update for current merges)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== MOVED: Building an Upstream Kernel for Raspberry Pi ==
 
== MOVED: Building an Upstream Kernel for Raspberry Pi ==
  
Please see [[RPi_Upstream_Kernel_Compilation]] instead.
+
Please see [[RPi_Upstream_Kernel_Compilation]] or [https://github.com/anholt/linux/wiki/Raspberry-Pi-development-environment Raspberry-Pi-development-environment] instead.
  
 
== Contact ==
 
== Contact ==
Line 19: Line 19:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!  Component  !!    Status     !!  Assigned To  !!          Comments                              !!          Meta Comments
+
!  Component  !!    Status       !!  Assigned To  !!          Comments
 
|-
 
|-
| SPI1/2        || driver in 4.4, need to merge [http://lists.infradead.org/pipermail/linux-rpi-kernel/2015-September/002284.html DT] in 4.6. || msperl ||  ||  
+
| RPi3 GPIO expander || [https://github.com/anholt/linux/commit/bc8dd6a272f0eda801ee24e91bcb8a36c92f4f12 WIP] || anholt
 
|-
 
|-
| UART1        || needs [http://lists.infradead.org/pipermail/linux-rpi-kernel/2015-September/002290.html review feedback] handling || msperl || ||
+
| MMC DMA      || Downstream only ||  || drivers/mmc/host/sdhci-iproc.c
 
|-
 
|-
| one-shot DMA  || [http://lists.infradead.org/pipermail/linux-rpi-kernel/2015-April/001568.html in review] || notro || ||
+
| thermal      || reviewed for 4.9 || anholt || [https://www.spinics.net/lists/arm-kernel/msg566217.html]
 
|-
 
|-
| thermal       || [http://lists.infradead.org/pipermail/linux-rpi-kernel/2015-October/002404.html in review] || lkundrak     || Current implementation RPi-only ||
+
| cpufreq       || [http://lists.infradead.org/pipermail/linux-rpi-kernel/2015-October/002402.html in review] || lkundrak || Current implementation RPi-only
 
|-
 
|-
| cpufreq      || [http://lists.infradead.org/pipermail/linux-rpi-kernel/2015-October/002402.html in review] || lkundrak      || Current implementation RPi-only ||
+
| PWM analog audio || mzoran || [https://www.spinics.net/lists/alsa-devel/msg60674.html]
 +
|}
 +
 
 +
== Done ==
 +
{| class="wikitable"
 +
|-
 +
!  Component  !! Version !!          Comments
 
|-
 
|-
| Audio        ||                 ||               || Depends on DMA and/or Mailbox (codec/digi/dac) || Which one(s)
+
| SDHOST MMC    || 4.12 || everything but the last DT bits in 4.12.
 
|-
 
|-
| VCHIQ        ||                 || lkundrak      || Depends on mailbox. Requires big clean-up. Staging candidate? || Does this depend on DMA?
+
| Camera        || 4.11 ||
 
|-
 
|-
| Sound        ||                 || lkundrak      || I2S is already in. Depends on VCHIQ    || Does this depend on DMA?
+
| VCHI          || 4.9 || driver now in staging, needs porting to 64-bit (WIP by Electron752)
 
|-
 
|-
| MMC          || Semi-Upstreamed || pietrushnic  || drivers/mmc/host/sdhci-bcm2835.c - lacking DMA || Depends on DMA slave_sg transfer mode
+
| RPi3 (64-bit) || 4.9 ||
 
|-
 
|-
| SDHOST MMC    || Needs cleanup  ||| anholt      || [https://github.com/anholt/linux/tree/bcm2835-mmc WIP cleanups]
+
| one-shot DMA  || 4.7 ||
 
|-
 
|-
| Camera        || || || Needs VCHIQ for MMAL ||
+
| UART1        || 4.6 ||
 
|-
 
|-
| Video decode       || || || Needs VCHIQ for MMAL ||
+
| SPI1/2       || 4.6 ||
| || || || ||
 
 
|-
 
|-
| RPi2          || Upstreamed (4.5)    || anholt ||
+
| RPi2          || 4.5 ||
 
|-
 
|-
| GPU (DRM)    || Upstreamed (4.5) || anholt || See also  [http://dri.freedesktop.org/wiki/VC4/ Instructions]. ||  
+
| GPU (DRM)    || 4.7 ||
 
|-
 
|-
| Power        || Upstreamed (4.5)  || anholt        || Current implementation RPi-only, requires current firmware for full functionality ||
+
| Power        || 4.5 || Current implementation RPi-only, requires current firmware for full functionality
 
|-
 
|-
| Framebuffer  || Deprecated, use DRM instead ||  || Depends on Mailbox                            ||
+
| Framebuffer  || Deprecated, use DRM instead ||
 
|-
 
|-
| mailbox      || Upstream (4.4)  || anholt        || Mailbox driver landed in 4.3, 4.4 will have firmware interfaces built on it ||
+
| mailbox      || 4.4 ||
 
|-
 
|-
| clocks-aux    || Upstream (4.5) || anholt ||  Supports setting SPI1, SPI2, UART1 clocks ||
+
| clocks-aux    || 4.5 || drivers/clk/bcm/clk-bcm2835-aux.c
 
|-
 
|-
| clocks-audio  || Upstreamed (4.4) || anholt        ||  Native support for setting most clocks on the system. ||
+
| clocks-audio  || 4.4 || drivers/clk/bcm/clk-bcm2835.c
 
|-
 
|-
| Clock Source  || Upstreamed      ||              || drivers/clocksource/bcm2835_timer.c           ||             
+
| Clock Source  || Done || drivers/clocksource/bcm2835_timer.c
 
|-
 
|-
| DMA          || Upstreamed      ||              || drivers/dma/bcm2835-dma.c - less FIQ sup't     ||             
+
| DMA          || Done || drivers/dma/bcm2835-dma.c - less FIQ sup't
 
|-
 
|-
| I2C          || Upstreamed      ||              || drivers/i2c/busses/i2c-bcm2835.c               ||             
+
| I2C          || Done || drivers/i2c/busses/i2c-bcm2835.c
 
|-
 
|-
| IRQ          || Upstreamed      ||              || drivers/irqchip/irq-bcm2835.c                 ||             
+
| IRQ          || Done || drivers/irqchip/irq-bcm2835.c
 
|-
 
|-
| I2S (Audio)  || Upstreamed      ||              || sound/soc/bcm/bcm2835-i2s.c                   ||             
+
| I2S (Audio)  || Done || sound/soc/bcm/bcm2835-i2s.c
 
|-
 
|-
| Pinctrl      || Upstreamed      ||              || drivers/pinctrl/pinctrl-bcm2835.c             ||
+
| Pinctrl      || Done || drivers/pinctrl/pinctrl-bcm2835.c
 
|-
 
|-
| Random NG    || Upstreamed      ||              || drivers/char/hw_random/bcm2835-rng.c           ||             
+
| Random NG    || Done || drivers/char/hw_random/bcm2835-rng.c
 
|-
 
|-
| SPI          || Upstreamed      ||              || drivers/spi/spi-bcm2835.c                     ||             
+
| SPI          || Done || drivers/spi/spi-bcm2835.c
 
|-
 
|-
| Watchdog      || Upstreamed      ||              || drivers/watchdog/bcm2835_wdt.c                 ||             
+
| Watchdog      || Done || drivers/watchdog/bcm2835_wdt.c
 
|-
 
|-
| LEDs          || Upstreamed      || matthiasklein || arch/arm/boot/dts/bcm2835-*                   || Device Tree for B+
+
| LEDs          || Done || arch/arm/boot/dts/bcm2835-*
 
|-
 
|-
| Serial        || Pre-Upstreamed  ||              || drivers/tty/serial/amba-pl011.c               ||                               
+
| Serial        || Done || drivers/tty/serial/amba-pl011.c
 
|}
 
|}

Latest revision as of 17:23, 17 March 2017

MOVED: Building an Upstream Kernel for Raspberry Pi

Please see RPi_Upstream_Kernel_Compilation or Raspberry-Pi-development-environment instead.

Contact

You can find us in #raspberrypi-kernel @ Freenode IRC.

Documentation

BCM2835 ARM Peripherals Reference Manual [PDF]

BCM2836 New ARM-local control registers [PDF]]

VideoCore Mailbox Interface

Status

Component Status Assigned To Comments
RPi3 GPIO expander WIP anholt
MMC DMA Downstream only drivers/mmc/host/sdhci-iproc.c
thermal reviewed for 4.9 anholt [1]
cpufreq in review lkundrak Current implementation RPi-only
PWM analog audio mzoran [2]

Done

Component Version Comments
SDHOST MMC 4.12 everything but the last DT bits in 4.12.
Camera 4.11
VCHI 4.9 driver now in staging, needs porting to 64-bit (WIP by Electron752)
RPi3 (64-bit) 4.9
one-shot DMA 4.7
UART1 4.6
SPI1/2 4.6
RPi2 4.5
GPU (DRM) 4.7
Power 4.5 Current implementation RPi-only, requires current firmware for full functionality
Framebuffer Deprecated, use DRM instead
mailbox 4.4
clocks-aux 4.5 drivers/clk/bcm/clk-bcm2835-aux.c
clocks-audio 4.4 drivers/clk/bcm/clk-bcm2835.c
Clock Source Done drivers/clocksource/bcm2835_timer.c
DMA Done drivers/dma/bcm2835-dma.c - less FIQ sup't
I2C Done drivers/i2c/busses/i2c-bcm2835.c
IRQ Done drivers/irqchip/irq-bcm2835.c
I2S (Audio) Done sound/soc/bcm/bcm2835-i2s.c
Pinctrl Done drivers/pinctrl/pinctrl-bcm2835.c
Random NG Done drivers/char/hw_random/bcm2835-rng.c
SPI Done drivers/spi/spi-bcm2835.c
Watchdog Done drivers/watchdog/bcm2835_wdt.c
LEDs Done arch/arm/boot/dts/bcm2835-*
Serial Done drivers/tty/serial/amba-pl011.c