[X/raspi2] [SRU] [PULL] CM3 support (and misc fixes)

Paolo Pisati paolo.pisati at canonical.com
Wed May 17 11:21:37 UTC 2017


Perhaps i wasn't clear, ondra already reported the kernel to be
working on his CM3 - i wouldn't have sent a pull req to support a new
board, if the resulting kernel wouldn't have been tested on such a
board.

On Wed, May 17, 2017 at 1:08 PM, Colin Ian King
<colin.king at canonical.com> wrote:
> On 17/05/17 09:49, Paolo Pisati wrote:
>> BugLink: https://bugs.launchpad.net/bugs/1691407
>>
>> To properly support the Compute Module 3[1] we need a dtb update, and while here i
>> imported all the fixes that were sitting in the raspberry-4.4 upstream tree -
>> there are 35 patches in total, roughly splitted like this:
>>
>> ~20 patches are code fixes: 5 for clocks, 5 for drm/vc4, 1 usb, 1 for vpf (does
>> not apply to us), 1 for gpio, 4 for snd, 1 rng driver and 1 for the lirc driver
>> ~10 dts patches:
>>  -1 new dts to support the new raspberry zero w board
>>  -and a bunch of fixes for various dtb overlays (pi sound, disable-wifi, mcp
>> adc,
>> -the remaning patches are config changes for their bcm defconfig
>>
>> The resulting kernel was tested on rpi2/rpi3 with ubuntu classic and ubuntu
>> core, and on the compute module 3.
>>
>> 1: https://www.raspberrypi.org/blog/compute-module-3-launch/
>>
>>
>> The following changes since commit dea9f1f7a223b41073fbd741f251f1f2b149fd6f:
>>
>>   UBUNTU: Ubuntu-raspi2-4.4.0-1055.62 (2017-04-27 16:39:33 -0300)
>>
>> are available in the git repository at:
>>
>>   git://git.launchpad.net/~p-pisati/ubuntu/+source/linux
>>
>> for you to fetch changes up to 9343cee6d8b4b58d830b3a982856de4a73f384e2:
>>
>>   BCM270X_DT: Add bcm2708-rpi-0-w.dts (2017-05-16 11:58:41 +0200)
>>
>> ----------------------------------------------------------------
>> Aaron Shaw (1):
>>       Add driver_name properties to JustBoom drivers (#1787)
>>
>> Alan Yiding Wang (1):
>>       BCM270X_DT: Add overlay for enc28j60 on SPI2
>>
>> Alex Tucker (1):
>>       Add support for Silicon Labs Si7013/20/21 humidity/temperature sensor. (#1765)
>>
>> Boris Brezillon (4):
>>       clk: bcm2835: Fix ->fixed_divider of pllh_aux
>>       clk: bcm: Support rate change propagation on bcm2835 clocks
>>       clk: bcm: Allow rate change propagation to PLLH_AUX on VEC clock
>>       clk: bcm: Fix 'maybe-uninitialized' warning in bcm2835_clock_choose_div_and_prate()
>>
>> Claggy3 (1):
>>       Update vfpmodule.c
>>
>> Eric Anholt (5):
>>       drm/vc4: Fix sending of page flip completion events in FKMS mode.
>>       clk: bcm2835: Don't rate change PLLs on behalf of DSI PLL dividers (v2).
>>       drm/vc4: Fulfill user BO creation requests from the kernel BO cache.
>>       drm/vc4: Fix OOPSes from trying to cache a partially constructed BO.
>>       drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.
>>
>> Georgii Staroselskii (1):
>>       BCM270X_DT: overlays/*-overlay.dtb -> overlays/*.dtbo (#1752)
>>
>> Ioan-Adrian Ratiu (1):
>>       Revert "HID: dragonrise: fix HID Descriptor for 0x0006 PID"
>>
>> JamesH65 (1):
>>       gpio_mem: Remove unnecessary dev_info output (#1830)
>>
>> Marek Vasut (1):
>>       configfs: Remove ppos increment in configfs_write_bin_file
>>
>> Martin Cerveny (1):
>>       dwc_otg: fix summarize urb->actual_length for isochronous transfers
>>
>> Phil Elwell (10):
>>       lirc_rpi: Delete vestigial gpio_in_pull parameter
>>       BCM270X_DT: Add i2c-sensor overlay
>>       BCM270X_DT: Add pi3-disable-wifi overlay
>>       BCM270X_DT: Add spi0-cs overlay
>>       Revert "bcm2835-i2s: Changes for allowing asymmetric sample formats. (#1783)"
>>       BCM270X_DT: Enable UART0 on CM3
>>       config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR
>>       config: More USB config options for bcm2709_defconfig (#1805)
>>       BCM270X_DT: Add reference to audio_pins to CM dtb
>>       BCM270X_DT: Add bcm2708-rpi-0-w.dts
>>
>> Scott Ellis (1):
>>       Add overlay for mcp3008 adc (#1818)
>>
>> gtrainavicius (3):
>>       Pisound dynamic overlay (#1760)
>>       pisound improvements: (#1778)
>>       bcm2835-i2s: Changes for allowing asymmetric sample formats. (#1783)
>>
>> popcornmix (3):
>>       bcm2835-rng: Avoid initialising if already enabled
>>       config: Add CONFIG_DM_CACHE     See: https://github.com/raspberrypi/linux/issues/1793
>>       config: add slcan kernel module
>>
>>  arch/arm/boot/dts/Makefile                         |   1 +
>>  arch/arm/boot/dts/bcm2708-rpi-0-w.dts              | 200 ++++++++++++++++++++
>>  arch/arm/boot/dts/bcm2708-rpi-cm.dtsi              |   5 +
>>  arch/arm/boot/dts/bcm2710-rpi-cm3.dts              |   4 +
>>  arch/arm/boot/dts/overlays/Makefile                |   5 +
>>  arch/arm/boot/dts/overlays/README                  |  51 ++++-
>>  .../boot/dts/overlays/enc28j60-spi2-overlay.dts    |  47 +++++
>>  arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts  |  41 +++++
>>  arch/arm/boot/dts/overlays/mcp3008-overlay.dts     | 205 +++++++++++++++++++++
>>  .../boot/dts/overlays/pi3-disable-wifi-overlay.dts |  13 ++
>>  arch/arm/boot/dts/overlays/pisound-overlay.dts     |  94 +++++-----
>>  arch/arm/boot/dts/overlays/spi0-cs-overlay.dts     |  29 +++
>>  arch/arm/configs/bcm2709_defconfig                 |  19 ++
>>  arch/arm/configs/bcmrpi_defconfig                  |   4 +
>>  arch/arm/vfp/vfpmodule.c                           |  27 ++-
>>  drivers/base/dma-contiguous.c                      |   1 +
>>  drivers/char/broadcom/bcm2835-gpiomem.c            |   2 -
>>  drivers/char/hw_random/bcm2835-rng.c               |   7 +-
>>  drivers/clk/bcm/clk-bcm2835.c                      | 116 ++++++++++--
>>  drivers/gpu/drm/vc4/vc4_bo.c                       |  21 ++-
>>  drivers/gpu/drm/vc4/vc4_firmware_kms.c             |  15 ++
>>  drivers/gpu/drm/vc4/vc4_v3d.c                      |  18 ++
>>  drivers/hid/hid-dr.c                               |  58 ------
>>  drivers/staging/media/lirc/lirc_rpi.c              |   6 -
>>  drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c       |   2 +
>>  fs/configfs/file.c                                 |   2 -
>>  mm/cma.c                                           |   2 +
>>  sound/soc/bcm/justboom-dac.c                       |   1 +
>>  sound/soc/bcm/justboom-digi.c                      |   1 +
>>  sound/soc/bcm/pisound.c                            | 177 +++++++++++++++---
>>  30 files changed, 1001 insertions(+), 173 deletions(-)
>>  create mode 100644 arch/arm/boot/dts/bcm2708-rpi-0-w.dts
>>  create mode 100644 arch/arm/boot/dts/overlays/enc28j60-spi2-overlay.dts
>>  create mode 100644 arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
>>  create mode 100755 arch/arm/boot/dts/overlays/mcp3008-overlay.dts
>>  create mode 100644 arch/arm/boot/dts/overlays/pi3-disable-wifi-overlay.dts
>>  create mode 100644 arch/arm/boot/dts/overlays/spi0-cs-overlay.dts
>>
>
> Given that these are all upstream fixes and it's had suitable testing on
> rpi2/rpi3 boards with ubuntu classic and ubuntu core then I'm OK with
> these. Do we have an idea when the CM3 board will be checked? I'd rather
> see these verified as OK with the CM3 board before they applied.
>
> Colin
>
>



-- 
bye,
p.




More information about the kernel-team mailing list