[linux-yocto] : [kernel v5.2/standard/bcm-2xxx-rpi]: bcm-2xxx-rpi: add patches for improving raspberrypi 4b platform

Bruce Ashfield bruce.ashfield at gmail.com
Thu Sep 19 21:42:22 PDT 2019


In message: [linux-yocto]: [kernel v5.2/standard/bcm-2xxx-rpi]: bcm-2xxx-rpi: add patches for improving raspberrypi 4b platform
on 17/09/2019 Meng.Li at windriver.com wrote:

> From: Limeng <Meng.Li at windriver.com>
> 
> Hi Bruce,
> 
> I am working on BSP bcm-2xxx-rpi platform, and intend to merge this BSP supporting into yocto community.
> Some days ago, I submit a pull request for this BSP.
> Now, there are still 81 below patches for improve this BSP
> 
> Could you please help to merge the 81 patches into linux-ycoto-5.2 kernel, branch v5.2/standard/bcm-2xxx-rpi?

I've pulled the branch into linux-yocto v5.2/standard/bcm-2xxx-rpi.

I assume that this branch contains the contents of your other pull request as
well, so I haven't done anything more that fetch and merge what you have
in this request.

If that is not correct, send more patches and pull requests to the list.

Bruce


> 
> 
> The following changes since commit 69ce9ac46cd152ce73456e8cca5520e3cb0d6157:
> 
>   build/arm64: Add rules for .dtbo files for dts overlays (2019-09-16 14:50:55 +0800)
> 
> are available in the Git repository at:
> 
>   https://github.com/limeng-linux/linux-yocto-5.2.git v5.2/standard/bcm-2xxx-rpi
> 
> for you to fetch changes up to 4b7ea76eac44bb3d07b53d24cbe578c47a074b93:
> 
>   arm64: dma-mapping: Fix IOMMU breakage (2019-09-17 18:49:42 +0800)
> 
> ----------------------------------------------------------------
> Aman Gupta (2):
>       staging: bcm2835-codec: add support for V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME
>       staging: bcm2835-codec: remove unnecessary padding on encoder input
> 
> Chen-Yu Tsai (3):
>       staging: bcm2835-codec: switch to multi-planar API
>       staging: bcm2835-codec: implement V4L2_CID_MIN_BUFFERS_FOR_CAPTURE
>       staging: bcm2835-codec: set device_caps in struct video_device
> 
> Dave Stevenson (24):
>       staging: bcm2835_camera: Ensure all buffers are returned on disable
>       drm/vc4: Query firmware for custom HDMI mode
>       drm/vc4: Pass the drm vrefresh to the firmware on mode set
>       drm/vc4: Add support for margins to fkms
>       drm/vc4: Ensure zpos is always initialised
>       drm/vc4: Add "Broadcast RGB" connector property
>       drm/vc4: fkms: Set default state margin at reset
>       drm/modes: Don't apply cmdline's rotation if it wasn't specified
>       configs: Add CONFIG_FRAMEBUFFER_CONSOLE_ROTATION to Pi configs
>       drm/vc4: Resolve the vblank warnings on mode switching
>       drm/vc4: Remove unused mode variable
>       staging:bcm2835-codec: Expand logging on format setting
>       staging: bcm2835-codec: Correct bytesperline on format changed
>       drm/vc4: Add missing NULL check to vc4_crtc_consume_event
>       media: dt-bindings: Add binding for the Sony IMX219 sensor
>       media: i2c: Add driver for Sony IMX219 sensor
>       defconfigs: Add Sony IMX219 driver to RPi defconfigs
>       dtoverlays: Add overlay for the Sony IMX219 image sensor.
>       overlays: mcp23017: rename the GPIO pins node with the device
>       overlays: mcp23017: Add option for not connecting the int GPIO
>       v4l2: Add a Greyworld AWB mode.
>       staging: bcm2835-camera: Add greyworld AWB mode
>       staging: bcm2835-codec: Allow height of 1920.
>       staging: bcm2835-codec: Correct g/s_selection API MPLANE support
> 
> James Hughes (3):
>       Fixup FKMS interrupt handing for non-existent display
>       Add HDMI1 facility to the driver.
>       drm/vc4: Fix for margins in composite/SDTV mode (#3223)
> 
> Joerg Schambacher (1):
>       adds the Hifiberry DAC+ADC PRO version
> 
> Jonathan Bell (3):
>       dts: bcm2838: add missing properties for pmu and gic nodes
>       hid: usb: Add device quirks for Freeway Airmouse T3 and MX3
>       xhci: Use more event ring segment table entries
> 
> Jörg Schambacher (1):
>       Add Hifiberry DAC+DSP soundcard driver (#3224)
> 
> Kieran Bingham (7):
>       staging: bcm2835-codec: Fix non-documentation comment block
>       staging: bcm2835-codec: Fix declaration of roles
>       staging: bcm2835-codec: Add role to device name
>       staging: bcm2835-codec: Pass driver context to create entities
>       staging: bcm2835-codec: add media controller support
>       media: bcm2835: unicam: Reduce scope of local function
>       media: bcm2835: unicam: add media controller support
> 
> Maxime Ripard (8):
>       drm/connector: Add documentation for drm_cmdline_mode
>       drm/modes: Rewrite the command line parser
>       drm/modes: Support modes names on the command line
>       drm/modes: Allow to specify rotation and reflection on the commandline
>       drm/connector: Introduce a TV margins structure
>       drm/modes: Parse overscan properties
>       drm/atomic: Add a function to reset connector TV properties
>       drm/vc4: hdmi: Set default state margin at reset
> 
> P33M (1):
>       dwc_otg: use align_buf for small IN control transfers (#3150)
> 
> Phil Elwell (20):
>       overlays: audremap: Support GPIOs 18 & 19
>       drm/vc4: A present but empty dmas disables audio
>       overlays: Add audio parameter to vc4-kms-v3d
>       overlays: Update the upstream overlay
>       can: mcp251x: Allow more time after a reset
>       drivers: char: Use correct name for the Raspberry Pi video decoder
>       driver: char: rpivid - also support legacy name
>       overlays: Add baudrate parameter to i2c3-i2c6
>       net: bcmgenet: Workaround #2 for Pi4 Ethernet fail
>       configs: Regenerate the defconfigs
>       configs: Enable building the DS28E17 driver module
>       ARM: dts: bcm2711-rpi-4-b: I2C aliases and pulls
>       configs: arm64/vcm2711: Enable V3D
>       overlays: sc16ic752-i2c: Fix xtal parameter
>       arch/arm: Add model string to cpuinfo
>       arch/arm64: Add Revision, Serial, Model to cpuinfo
>       configs: Add GPIO_PCA953X, LEDS_PCA9532/PCA955X
>       configs: Set VIDEO_V4L2_SUBDEV_API=y on arm64/bcm2711
>       arm/dts: Give v3dbus a 16GB DMA address range
>       arm64: dma-mapping: Fix IOMMU breakage
> 
> Trevor Stiles (1):
>       Add support for the Audio Injector Ultra in 64-bit land.
> 
> Yaroslav Rosomakho (2):
>       Limit max_req_size under arm64 (or any other platform that uses swiotlb) to prevent potential buffer overflow due to bouncing.
>       Add missing dma_unmap_sg calls to free relevant swiotlb bounce buffers. This prevents DMA leaks.
> 
> allo-com (1):
>       codecs: Correct Katana minimum volume
> 
> popcornmix (2):
>       vc-sm-cma: Fix compatibility ioctl
>       configs: Add TINYDRM modules
> 
> yaroslavros (1):
>       Ported pcie-brcmstb bounce buffer implementation to ARM64. (#3144)
> 
> Álvaro Fernández Rojas (1):
>       arm: dts: add missing Raspberry Pi model names
> 
>  Documentation/devicetree/bindings/media/i2c/imx219.txt           |   59 ++++++
>  Documentation/fb/modedb.txt                                      |   14 ++
>  arch/arm/boot/dts/bcm2708-rpi-b-plus.dts                         |    1 +
>  arch/arm/boot/dts/bcm2708-rpi-b.dts                              |    1 +
>  arch/arm/boot/dts/bcm2708-rpi-cm.dts                             |    1 +
>  arch/arm/boot/dts/bcm2710-rpi-cm3.dts                            |    1 +
>  arch/arm/boot/dts/bcm2711-rpi-4-b.dts                            |   10 ++
>  arch/arm/boot/dts/bcm2838.dtsi                                   |   31 ++--
>  arch/arm/boot/dts/overlays/Makefile                              |    3 +
>  arch/arm/boot/dts/overlays/README                                |   53 +++++-
>  arch/arm/boot/dts/overlays/audremap-overlay.dts                  |   16 ++
>  arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts   |   64 +++++++
>  arch/arm/boot/dts/overlays/hifiberry-dacplusdsp-overlay.dts      |   34 ++++
>  arch/arm/boot/dts/overlays/i2c3-overlay.dts                      |   15 +-
>  arch/arm/boot/dts/overlays/i2c4-overlay.dts                      |   15 +-
>  arch/arm/boot/dts/overlays/i2c5-overlay.dts                      |   15 +-
>  arch/arm/boot/dts/overlays/i2c6-overlay.dts                      |   15 +-
>  arch/arm/boot/dts/overlays/imx219-overlay.dts                    |  129 +++++++++++++
>  arch/arm/boot/dts/overlays/mcp23017-overlay.dts                  |   25 ++-
>  arch/arm/boot/dts/overlays/sc16is752-i2c-overlay.dts             |    2 +-
>  arch/arm/boot/dts/overlays/upstream-overlay.dts                  |    6 +
>  arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts               |    8 +
>  arch/arm/configs/bcm2709_defconfig                               |   14 +-
>  arch/arm/configs/bcm2711_defconfig                               |   26 ++-
>  arch/arm/configs/bcmrpi_defconfig                                |   12 ++
>  arch/arm/kernel/setup.c                                          |   10 ++
>  arch/arm64/configs/bcm2711_defconfig                             |   17 +-
>  arch/arm64/configs/bcmrpi3_defconfig                             |    6 +
>  arch/arm64/kernel/cpuinfo.c                                      |   25 +++
>  arch/arm64/mm/dma-mapping.c                                      |   92 +++++++++-
>  drivers/char/broadcom/Kconfig                                    |    8 +-
>  drivers/char/broadcom/Makefile                                   |    2 +-
>  drivers/char/broadcom/{argon-mem.c => rpivid-mem.c}              |  125 +++++++------
>  drivers/gpu/drm/drm_atomic_state_helper.c                        |   18 ++
>  drivers/gpu/drm/drm_connector.c                                  |    3 +-
>  drivers/gpu/drm/drm_fb_helper.c                                  |   34 ++++
>  drivers/gpu/drm/drm_modes.c                                      |  473 ++++++++++++++++++++++++++++++++++++------------
>  drivers/gpu/drm/v3d/Kconfig                                      |    2 +-
>  drivers/gpu/drm/vc4/vc4_firmware_kms.c                           |  631 +++++++++++++++++++++++++++++++++++++++++++++++++---------------
>  drivers/gpu/drm/vc4/vc4_hdmi.c                                   |   14 +-
>  drivers/hid/hid-ids.h                                            |    6 +
>  drivers/hid/hid-quirks.c                                         |    2 +
>  drivers/media/i2c/Kconfig                                        |   11 ++
>  drivers/media/i2c/Makefile                                       |    1 +
>  drivers/media/i2c/imx219.c                                       | 1093 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/media/platform/bcm2835/Kconfig                           |    2 +-
>  drivers/media/platform/bcm2835/bcm2835-unicam.c                  |   48 ++++-
>  drivers/media/v4l2-core/v4l2-ctrls.c                             |    1 +
>  drivers/mfd/bcm2835-pm.c                                         |   12 +-
>  drivers/mmc/host/bcm2835-mmc.c                                   |   21 ++-
>  drivers/net/can/spi/mcp251x.c                                    |   15 +-
>  drivers/net/ethernet/broadcom/genet/bcmgenet.c                   |    9 +
>  drivers/pci/controller/Makefile                                  |    3 +
>  drivers/pci/controller/pcie-brcmstb-bounce.h                     |    2 +-
>  drivers/pci/controller/pcie-brcmstb-bounce64.c                   |  568 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/pci/controller/pcie-brcmstb.c                            |   30 +---
>  drivers/soc/bcm/bcm2835-power.c                                  |    6 +-
>  drivers/staging/vc04_services/bcm2835-audio/bcm2835.c            |   29 ++-
>  drivers/staging/vc04_services/bcm2835-audio/bcm2835.h            |    4 +-
>  drivers/staging/vc04_services/bcm2835-camera/controls.c          |    8 +-
>  drivers/staging/vc04_services/bcm2835-codec/Kconfig              |    2 +-
>  drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c |  320 ++++++++++++++++++++++-----------
>  drivers/staging/vc04_services/vc-sm-cma/vc_sm.c                  |   12 +-
>  drivers/staging/vc04_services/vchiq-mmal/mmal-parameters.h       |    1 +
>  drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c            |    2 +
>  drivers/usb/host/dwc_otg/dwc_otg_hcd.c                           |   18 ++
>  drivers/usb/host/xhci-mem.c                                      |    8 +-
>  drivers/usb/host/xhci.h                                          |    4 +-
>  include/drm/drm_atomic_state_helper.h                            |    1 +
>  include/drm/drm_connector.h                                      |  149 +++++++++++++--
>  include/linux/mfd/bcm2835-pm.h                                   |    2 +-
>  include/uapi/linux/v4l2-controls.h                               |    1 +
>  sound/soc/bcm/Kconfig                                            |   15 ++
>  sound/soc/bcm/Makefile                                           |    4 +
>  sound/soc/bcm/allo-katana-codec.c                                |    2 +-
>  sound/soc/bcm/hifiberry_dacplusadcpro.c                          |  538 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  sound/soc/bcm/hifiberry_dacplusdsp.c                             |   90 ++++++++++
>  sound/soc/bcm/rpi-simple-soundcard.c                             |   19 ++
>  78 files changed, 4520 insertions(+), 569 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/media/i2c/imx219.txt
>  create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts
>  create mode 100644 arch/arm/boot/dts/overlays/hifiberry-dacplusdsp-overlay.dts
>  create mode 100644 arch/arm/boot/dts/overlays/imx219-overlay.dts
>  rename drivers/char/broadcom/{argon-mem.c => rpivid-mem.c} (66%)
>  create mode 100644 drivers/media/i2c/imx219.c
>  create mode 100644 drivers/pci/controller/pcie-brcmstb-bounce64.c
>  create mode 100644 sound/soc/bcm/hifiberry_dacplusadcpro.c
>  create mode 100644 sound/soc/bcm/hifiberry_dacplusdsp.c
> 
> 
> 
> thanks,
> Limeng


More information about the linux-yocto mailing list