From 54c8c685f67515cbddc1231f5e925e1786798c24 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Thu, 21 Apr 2016 20:12:46 +0100 Subject: [PATCH 1/2] RPi/RPi2: update linux support patches for linux 4.4.7 --- .../patches/linux/linux-01-RPi_support.patch | 2331 ++++++++++++++--- .../patches/linux/linux-01-RPi_support.patch | 2331 ++++++++++++++--- 2 files changed, 3832 insertions(+), 830 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 13300ecc69..fce60a62ce 100644 --- a/projects/RPi/patches/linux/linux-01-RPi_support.patch +++ b/projects/RPi/patches/linux/linux-01-RPi_support.patch @@ -1,7 +1,7 @@ From 3cc8c1beb520133149f9cb5d394cbc1c8bbb01b0 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/234] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/251] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -39,7 +39,7 @@ index 66b3ab9..b544181 From d41a067375e9d557ee14ad6ecefbc559b724087c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Apr 2015 16:58:45 +0100 -Subject: [PATCH 002/234] smsc95xx: Disable turbo mode by default +Subject: [PATCH 002/251] smsc95xx: Disable turbo mode by default --- drivers/net/usb/smsc95xx.c | 2 +- @@ -62,7 +62,7 @@ index b544181..9c0da18 100755 From 52a67e5a346e7dfcd6af9115800108d6c9fca84e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Jun 2014 13:42:01 +0100 -Subject: [PATCH 003/234] vmstat: Workaround for issue where dirty page count +Subject: [PATCH 003/251] vmstat: Workaround for issue where dirty page count goes negative See: @@ -92,7 +92,7 @@ index 3e5d907..2539068 100644 From 5956e14120ab88b53fe2f68f7de6c197eae4a811 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 004/234] BCM2835_DT: Fix I2S register map +Subject: [PATCH 004/251] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -149,7 +149,7 @@ index aef64de..864a3ef 100644 From bd8d0148b99e3281aaa294257961377c93a9381d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 005/234] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 005/251] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -183,7 +183,7 @@ index f687082..4cd8ebe 100644 From 2311742728ef10f5d7ed17debc4065e90cb25c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 006/234] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 006/251] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -315,7 +315,7 @@ index bf9cc5f..3f601f9 100644 From 60f12c460c71c04609a23be23df6eb986481c365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 007/234] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 007/251] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -414,7 +414,7 @@ index 3f601f9..20deb28 100644 From 8de2ecc5c42ae0a909fbc23da58ef2fa552d4c5b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 008/234] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 008/251] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -437,7 +437,7 @@ index 3912646..b51a59c 100644 From 2567dee80cdc0654788137d07308fa428d3dc8fb Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 009/234] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 009/251] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -462,7 +462,7 @@ index 17dd8fe..613be28 100644 From f23532983c575cac8b55c4bceb1e45a1439f7e0e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 010/234] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 010/251] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -611,7 +611,7 @@ index 613be28..a06cf9e 100644 From fe30b946aef6315884bd029f889f6eb3692705e5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 011/234] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 011/251] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -641,7 +641,7 @@ index a06cf9e..32f779e 100644 From cc544ca7cb8b033c7bf3d884277f32887a1417a7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 012/234] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 012/251] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -725,7 +725,7 @@ index cf04960..a2b1f45 100644 From 8cf07dd13a251b72f28805060d58b942b582feef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 013/234] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 013/251] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -786,7 +786,7 @@ index 0f7b9ea..1e6f1cf 100644 From 902ceaaea891e7883c141d45e52dde7d859e2324 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 16:44:05 +0200 -Subject: [PATCH 014/234] bcm2835-i2s: get base address for DMA from devicetree +Subject: [PATCH 014/251] bcm2835-i2s: get base address for DMA from devicetree Code copied from spi-bcm2835. Get physical address from devicetree instead of using hardcoded constant. @@ -854,7 +854,7 @@ index 8c435be..0bc4f47 100644 From c89c8dc0cde738e6d2a5d07dbfd2aaa72f4a07d0 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:21:16 +0200 -Subject: [PATCH 015/234] bcm2835-i2s: add 24bit support, update bclk_ratio to +Subject: [PATCH 015/251] bcm2835-i2s: add 24bit support, update bclk_ratio to more correct values Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -936,7 +936,7 @@ index 0bc4f47..cf60390 100644 From da23963f1f4c8999ec76bb99234aec3864b0e56f Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:25:51 +0200 -Subject: [PATCH 016/234] bcm2835-i2s: setup clock only if CPU is clock master +Subject: [PATCH 016/251] bcm2835-i2s: setup clock only if CPU is clock master Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -994,7 +994,7 @@ index cf60390..4ac4e92 100644 From 611d61511eefc080a178187b36c9d86aec9bb8b0 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:49:51 +0200 -Subject: [PATCH 017/234] bcm2835-i2s: Eliminate debugfs directory error +Subject: [PATCH 017/251] bcm2835-i2s: Eliminate debugfs directory error Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -1033,7 +1033,7 @@ index 4ac4e92..aab3df9 100644 From bb6885bf7549495ca00d9a839954dcd35c4b9e61 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:35:20 +0200 -Subject: [PATCH 018/234] bcm2835-i2s: Register PCM device +Subject: [PATCH 018/251] bcm2835-i2s: Register PCM device Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -1099,7 +1099,7 @@ index aab3df9..0e5c787 100644 From 7eced106f678f81b479e3f4fcc0de5b0c8e1dbd9 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:55:21 +0200 -Subject: [PATCH 019/234] bcm2835-i2s: Enable MMAP support via a DT property +Subject: [PATCH 019/251] bcm2835-i2s: Enable MMAP support via a DT property Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -1146,7 +1146,7 @@ index 0e5c787..04c1d13 100644 From 6de25eb4521167e2d9d5a9c777333cec1542192f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 9 Apr 2015 12:34:11 +0200 -Subject: [PATCH 020/234] dmaengine: bcm2835: Add slave dma support +Subject: [PATCH 020/251] dmaengine: bcm2835: Add slave dma support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1469,7 +1469,7 @@ index 996c4b0..b278c66 100644 From 6090e63c27886fcd841ba451d8646c093a179b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 15:58:59 +0200 -Subject: [PATCH 021/234] dmaengine: bcm2835: set residue_granularity field +Subject: [PATCH 021/251] dmaengine: bcm2835: set residue_granularity field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1501,7 +1501,7 @@ index b278c66..696fb30 100644 From ea0d9861bde9e049f8d5e43ae89dcf7844cb5e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 022/234] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 022/251] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1604,7 +1604,7 @@ index 696fb30..5db0a95 100644 From 8947371bab57f6f0adb8c9519ceeba017fa5fc6a Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sat, 10 Oct 2015 12:29:18 +0200 -Subject: [PATCH 023/234] bcm2835-dma: Fix dreq not set for slave transfers +Subject: [PATCH 023/251] bcm2835-dma: Fix dreq not set for slave transfers Set dreq to slave_id if it is not set like in bcm2708-dmaengine. --- @@ -1628,7 +1628,7 @@ index 5db0a95..fe1fd60 100644 From 22399cbc5ece0905650012b73e51a366d1c754e6 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 12:28:30 +0200 -Subject: [PATCH 024/234] bcm2835-dma: Limit cyclic transfers on lite channels +Subject: [PATCH 024/251] bcm2835-dma: Limit cyclic transfers on lite channels to 32k Transfers larger than 32k cause repeated clicking with I2S soundcards. @@ -1668,7 +1668,7 @@ index fe1fd60..0adc347 100644 From 1e8033be36dd0c3b000c014245cc45f94118faa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 15 Aug 2015 20:50:02 +0200 -Subject: [PATCH 025/234] bcm2835: Add support for uart1 +Subject: [PATCH 025/251] bcm2835: Add support for uart1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1728,7 +1728,7 @@ index 1e6f1cf..ea36eec 100644 From d97842cc1aac3d0ff132500fad402068743d08df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:21:20 +0200 -Subject: [PATCH 026/234] firmware: bcm2835: Add missing property tags +Subject: [PATCH 026/251] firmware: bcm2835: Add missing property tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1793,7 +1793,7 @@ index c07d74a..525816d 100644 From f01f5606b8fe5e7ea7d70f4f2e0e7435040cabaa Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 027/234] Main bcm2708/bcm2709 linux port +Subject: [PATCH 027/251] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -4311,7 +4311,7 @@ index 8673ffe..ad22ebb 100644 From cc5bcfaa350113324f7433660c9a3dfc0229bcdd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 11 Nov 2015 21:01:15 +0000 -Subject: [PATCH 028/234] squash: include ARCH_BCM2708 / ARCH_BCM2709 +Subject: [PATCH 028/251] squash: include ARCH_BCM2708 / ARCH_BCM2709 --- drivers/char/hw_random/Kconfig | 2 +- @@ -4466,7 +4466,7 @@ index 6a834e1..c5070ae 100644 From d23b18d79e915fa0a5820230ee7a35d682e7af42 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 029/234] Add dwc_otg driver +Subject: [PATCH 029/251] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -65448,7 +65448,7 @@ index 0000000..cdc9963 From 09d89e5bb8c9adc39556accbf5bb118e1609fb80 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 030/234] bcm2708 framebuffer driver +Subject: [PATCH 030/251] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68913,7 +68913,7 @@ index 3c14e43..7626beb 100644 From 185a83f51686987a770243702f0c54304c60cca2 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 031/234] dmaengine: Add support for BCM2708 +Subject: [PATCH 031/251] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69536,7 +69536,7 @@ index 0000000..99cc7fd From dd0f809dccd2522c01727b2822f484ce8e9ce23a Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 032/234] MMC: added alternative MMC driver +Subject: [PATCH 032/251] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -71237,7 +71237,7 @@ index 0000000..43aed6e From e15ccca87e0a679797cbcaf24bbf2304b1e8eba3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 033/234] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 033/251] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -73267,7 +73267,7 @@ index 0000000..da08998 From a5a139f18bcc782f2cc3a1de66c936ce2dbb6ffb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 034/234] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 034/251] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -74613,7 +74613,7 @@ index 0000000..be2819d From 79708ff24769bfa53cc800dd05f951340829cc5d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 035/234] bcm2708: alsa sound driver +Subject: [PATCH 035/251] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77314,7 +77314,7 @@ index 0000000..af3e6eb From 522686ae5036c50971853fee0fdb371ed8309222 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 036/234] bcm2708 vchiq driver +Subject: [PATCH 036/251] bcm2708 vchiq driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -90622,7 +90622,7 @@ index 0000000..b6bfa21 From a4ad9bf42376a39e5314f41ecd1ea8fbafb4ca46 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 16:07:06 +0100 -Subject: [PATCH 037/234] vc_mem: Add vc_mem driver +Subject: [PATCH 037/251] vc_mem: Add vc_mem driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -91630,7 +91630,7 @@ index 0000000..20a4753 From c18ab896c13c1824cdc4c8c544f2576e778d4595 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 038/234] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 038/251] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96049,7 +96049,7 @@ index 0000000..334f36d From d778ec78cbc50597690495a4767dad44d9329547 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 039/234] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 039/251] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -96363,7 +96363,7 @@ index 0000000..911f5b7 From 684fa35717d47554b4e019f45e513b58823b50dc Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 040/234] Add SMI driver +Subject: [PATCH 040/251] Add SMI driver Signed-off-by: Luke Wren --- @@ -98317,7 +98317,7 @@ index 0000000..ee3a75e From d6893b8f68df96a0dd728a1ea8518af748d3de55 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 041/234] Add SMI NAND driver +Subject: [PATCH 041/251] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -98686,7 +98686,7 @@ index 0000000..b747326 From 90d547aa8fc1259726f56f404af4ecf9dff6ba0e Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 042/234] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 042/251] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -99538,7 +99538,7 @@ index 0000000..fb69624 From c220c109c1a18cf786523a205b85a4ebca638624 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 043/234] Add cpufreq driver +Subject: [PATCH 043/251] Add cpufreq driver Signed-off-by: popcornmix --- @@ -99803,7 +99803,7 @@ index 0000000..3eb9e93 From 1184f7bb9072fe8b453e3c9a71938a16943a708f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 044/234] Added hwmon/thermal driver for reporting core +Subject: [PATCH 044/251] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -100004,7 +100004,7 @@ index 0000000..08d8dc7 From 418bd7563b83b568046489b0f4b8c67391d31445 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 045/234] Add Chris Boot's i2c driver +Subject: [PATCH 045/251] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -100647,7 +100647,7 @@ index 0000000..85f411c From 3c15dbca1ea1cf9b6843cb55e2fd01d4701ef874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 046/234] char: broadcom: Add vcio module +Subject: [PATCH 046/251] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -100876,7 +100876,7 @@ index 0000000..c19bc20 From 8481c7c7094e5395ab47c8ecc6c7c12d654baf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 047/234] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 047/251] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -100985,7 +100985,7 @@ index dd506cd..b980d53 100644 From 7e74c5de1a6c613a28ee5a5cc871661ceadd0fcd Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 048/234] bcm2835: add v4l2 camera device +Subject: [PATCH 048/251] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -108373,7 +108373,7 @@ index 0000000..9d1d11e From 2a1cb83a705ce839581fbabeb9a8db3dad478ccf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 049/234] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 049/251] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -108841,7 +108841,7 @@ index 0000000..3998d43 From 3c9e2867950ad9a36623e07c2d1641445bab50dd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 5 Dec 2014 17:26:26 +0000 -Subject: [PATCH 050/234] fdt: Add support for the CONFIG_CMDLINE_EXTEND option +Subject: [PATCH 050/251] fdt: Add support for the CONFIG_CMDLINE_EXTEND option --- drivers/of/fdt.c | 29 ++++++++++++++++++++++++----- @@ -108899,7 +108899,7 @@ index 655f79d..fdc4501 100644 From 336ecbfbddc122378578b727f46bfe71858aaa05 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 051/234] BCM2708: Add core Device Tree support +Subject: [PATCH 051/251] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -113628,7 +113628,7 @@ index 0000000..66a98f6 From 83d747d78be86190ad18c8c49e0d5518ac6bf83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 15 Aug 2015 20:47:07 +0200 -Subject: [PATCH 052/234] bcm2835: Match with BCM2708 Device Trees +Subject: [PATCH 052/251] bcm2835: Match with BCM2708 Device Trees MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -114149,7 +114149,7 @@ index 864a3ef..3256bff 100644 From 1b4ab4d431eed3ced1dfdcb4ac14ce3937b74244 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 053/234] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 053/251] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -114242,10 +114242,10 @@ index fb795c3..fa72af0 100644 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From 3b5139c9458b2665a229f83876d02329577f6c6f Mon Sep 17 00:00:00 2001 +From 25f558f2cb3b7c357c2b3fff66afca442b8462f9 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 054/234] Speed up console framebuffer imageblit function +Subject: [PATCH 054/251] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing @@ -114454,10 +114454,10 @@ index a2bb276..436494f 100644 start_index, pitch_index); } else -From 15afa9ccdb6c5e15d3b646e203dcd20b44fffb48 Mon Sep 17 00:00:00 2001 +From 0490dab9480fa92983af098b472d6a6e6e573e29 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 055/234] Allow mac address to be set in smsc95xx +Subject: [PATCH 055/251] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -114548,10 +114548,10 @@ index 9c0da18..3244a90 100755 if (smsc95xx_read_eeprom(dev, EEPROM_MAC_OFFSET, ETH_ALEN, dev->net->dev_addr) == 0) { -From 68aca36345f6d2a31124161d2971ed2ec1138fa7 Mon Sep 17 00:00:00 2001 +From 5f3d302d1cd2e2684c1a4a21953c4677809a2f87 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 056/234] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 056/251] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -114801,10 +114801,10 @@ index d58594a..feae942 100644 unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 715498e3ade34ee0329faa23ce35ce3ae117c0b0 Mon Sep 17 00:00:00 2001 +From bc26cb5ca41caddb82d291450e32b27e56d9b87f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 057/234] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 057/251] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -114853,10 +114853,10 @@ index dc94f8b..3dda8a8 100644 * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From 54a1f8fa679c406f256540302a8d0555d11bdbd5 Mon Sep 17 00:00:00 2001 +From 22689d60a6ca6191119ef7ab70c5b23991a41e16 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:59:51 +0100 -Subject: [PATCH 058/234] ASoC: Add support for PCM5102A codec +Subject: [PATCH 058/251] ASoC: Add support for PCM5102A codec Some definitions to support the PCM5102A codec by Texas Instruments. @@ -114989,10 +114989,10 @@ index 0000000..7c6598e +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From e825f277a64734a8761848618d706ed28cb7bc8c Mon Sep 17 00:00:00 2001 +From 26aeeecaac62fdee4bff333a743680693009f15a Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 059/234] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 059/251] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -115162,10 +115162,10 @@ index 0000000..3ab0f47 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 275e998fab80613632ecf2def47916cf39866abd Mon Sep 17 00:00:00 2001 +From 5bf2d31cda2340e5d7d73c35ea876225d2f8e9a1 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:21:34 +0100 -Subject: [PATCH 060/234] ASoC: Add support for Rpi-DAC +Subject: [PATCH 060/251] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -115452,10 +115452,10 @@ index 0000000..afe1b41 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From b26742d1b3bb01fb18689245463c445ef89a2563 Mon Sep 17 00:00:00 2001 +From 2b8d51c50a053f52a94bf0965ad472d7e411a737 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 061/234] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 061/251] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -115495,10 +115495,10 @@ index 8d91470..5795fb1 100644 #define WM8804_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | \ -From 53ee6d9b8df8dee73efc8eb9c4a2a933709f996a Mon Sep 17 00:00:00 2001 +From ef7ccc94b42ad0827735d8fadac43b23548a0b35 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 062/234] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 062/251] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -115785,10 +115785,10 @@ index 0000000..80732b8 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 7a49ce152226bdc88cb60ce77ba271a6d20ec522 Mon Sep 17 00:00:00 2001 +From 9871f390c47d90a75d21d20be88e88aa49536fd5 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:36:35 +0100 -Subject: [PATCH 063/234] ASoC: wm8804: Set idle_bias_off to false Idle bias +Subject: [PATCH 063/251] ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup Signed-off-by: Daniel Matuschek @@ -115810,10 +115810,10 @@ index 5795fb1..c846716 100644 .dapm_widgets = wm8804_dapm_widgets, .num_dapm_widgets = ARRAY_SIZE(wm8804_dapm_widgets), -From 997d633a18686b13447445bae2efedf75d1d4655 Mon Sep 17 00:00:00 2001 +From bad079610353ec3b8632ca9109da462435b41ba3 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 064/234] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 064/251] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -115996,10 +115996,10 @@ index 0000000..37038d4 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From e19d94cbff54cd07ece267c118e1626319d041dd Mon Sep 17 00:00:00 2001 +From a5a08b66a1ac4a02bc9aaac168e363dd45f28087 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 065/234] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 065/251] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -116035,10 +116035,10 @@ index 5dd426f..9ae0cd5 100644 ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From f5aa12666cbbddc0669ccdce0a5268cad467bbf8 Mon Sep 17 00:00:00 2001 +From 6181933c3fb422cf92cf1f2720064e48d1f93955 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 066/234] Added support for HiFiBerry DAC+ +Subject: [PATCH 066/251] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -116233,10 +116233,10 @@ index 0000000..11e4f39 +MODULE_DESCRIPTION("ASoC Driver for HiFiBerry DAC+"); +MODULE_LICENSE("GPL v2"); -From 0d5bec6303e174c3d58412a2a43c054a5b0ea9f8 Mon Sep 17 00:00:00 2001 +From 2804c1880d7b34b85e35eaa503fee6d648c243de Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 067/234] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 067/251] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -117067,10 +117067,10 @@ index 0000000..8f019e0 + +#endif /* _TAS5713_H */ -From 3a732a5723ad9d452c3da2720e9129dbe7aa8c5f Mon Sep 17 00:00:00 2001 +From cb468b5a1270e4819be26c8cacfd0cb6c70be776 Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 068/234] Update ds1307 driver for device-tree support +Subject: [PATCH 068/251] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -117097,10 +117097,10 @@ index aa705bb..1cb13fe 100644 .driver = { .name = "rtc-ds1307", -From 7a7ff0be55b1e3a67326d3c03c65b45434dd320d Mon Sep 17 00:00:00 2001 +From e545dfb5383a8d5d775818282c7f95ae7a2e1f72 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 069/234] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 069/251] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -117279,10 +117279,10 @@ index fa359c7..4b25a1a 100644 /* Set LED brightness level */ /* Must not sleep, use a workqueue if needed */ -From 43b58f47b9e73a5fd2c9a9ca2e278fb89d31b6ec Mon Sep 17 00:00:00 2001 +From f6d9d6ba910f1604a3d488091f052a57f14cd998 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 27 Feb 2015 15:10:24 +0000 -Subject: [PATCH 070/234] enc28j60: Add device tree compatible string and an +Subject: [PATCH 070/251] enc28j60: Add device tree compatible string and an overlay --- @@ -117311,10 +117311,10 @@ index 86ea17e..a1b20c1 100644 .probe = enc28j60_probe, .remove = enc28j60_remove, -From e00b8af19b9249285aa8519b5666a7296b15f360 Mon Sep 17 00:00:00 2001 +From 68eb237af6a1c15b68fb1eff1596d152f06eeaa5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 071/234] Add driver for rpi-proto +Subject: [PATCH 071/251] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -117529,10 +117529,10 @@ index 0000000..c6e45a0 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From d09a261738801b95a8a97cdf32c181f0dc64eb7a Mon Sep 17 00:00:00 2001 +From d76384c130898ee68885a8cddfbe4686ad41aa0f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 072/234] config: Add default configs +Subject: [PATCH 072/251] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1254 +++++++++++++++++++++++++++++++++++ @@ -120073,10 +120073,10 @@ index 0000000..1d1b799 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 0dd8b9878937bb33b785671b5ab80940e48f96fe Mon Sep 17 00:00:00 2001 +From 704b0ef1532a29776c5a9df0fe8d93eabdff6f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 29 Apr 2015 17:24:02 +0200 -Subject: [PATCH 073/234] bcm2835: bcm2835_defconfig +Subject: [PATCH 073/251] bcm2835: bcm2835_defconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -121502,10 +121502,10 @@ index 31cb073..fdb2e2a 100644 # CONFIG_XZ_DEC_ARM is not set # CONFIG_XZ_DEC_ARMTHUMB is not set -From f8527a3c8859d7eb69d8e8229f92a7265cafaf4b Mon Sep 17 00:00:00 2001 +From e3d855ae8766391b2c35d6c61b852e79ca9f9047 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 074/234] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 074/251] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -121800,10 +121800,10 @@ index 0000000..b27dbee +MODULE_DESCRIPTION("Touchscreen driver for memory based FT5406"); +MODULE_LICENSE("GPL"); -From bab36a045c0c34ec0ca5e6fa194a300017be3ebd Mon Sep 17 00:00:00 2001 +From 7298b88fd999f55dc6dde8cb6288562f68b05e56 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 075/234] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 075/251] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -123342,10 +123342,10 @@ index 588bbc2..c29df92 100644 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From 25cdd0781ca4965cc732e7eec445d90a6f691737 Mon Sep 17 00:00:00 2001 +From e8f27792e51eda819e6918697a67dc85a2d2fc13 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 076/234] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 076/251] gpio-poweroff: Allow it to work on Raspberry Pi The Raspberry Pi firmware manages the power-down and reboot process. To do this it installs a pm_power_off handler, causing @@ -123380,10 +123380,10 @@ index be3d81f..a030ae9 100644 "%s: pm_power_off function already registered", __func__); -From 87d17dbd873e7d849c31fbbb8dd691fb388a1587 Mon Sep 17 00:00:00 2001 +From e1cb11c1118f942ad55724ec8036065cbba41a62 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 077/234] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 077/251] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -123404,10 +123404,10 @@ index d0e7dfc..57b0760 100644 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 76e6d5dc690a0ffc2b3fab99e4b77eca53cfe760 Mon Sep 17 00:00:00 2001 +From e74c88c3ce4685417d4a3aee8ce6cd22092c5315 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 17:00:18 +0100 -Subject: [PATCH 078/234] scripts/dtc: Add overlay support +Subject: [PATCH 078/251] scripts/dtc: Add overlay support --- scripts/dtc/checks.c | 119 ++- @@ -127812,10 +127812,10 @@ index 5b8c7d5..86b7338 100644 -#define DTC_VERSION "DTC 1.4.1-g9d3649bd" +#define DTC_VERSION "DTC 1.4.1-g9d3649bd-dirty" -From fabdcf971d60696f0cd1bcaa5eadcae1bcb356cd Mon Sep 17 00:00:00 2001 +From 682bf3cce9aab7644697e66b2a3e3e9ae5ccdf1c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 079/234] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 079/251] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -128681,10 +128681,10 @@ index 0000000..56196dc + +#endif -From 5edc06a3760e5529a8855c96321e93ebca877703 Mon Sep 17 00:00:00 2001 +From 28fda0b00b2fe4e5a5151024124e57a3821c1ec4 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 080/234] RaspiDAC3 support +Subject: [PATCH 080/251] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -128932,10 +128932,10 @@ index 0000000..3cabf5b +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From e44922dbe04bdf51bddcbded96743327197dbb30 Mon Sep 17 00:00:00 2001 +From 852162b9ea81d2a87bd17ad36b1e347dd02039e2 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:02:34 +0100 -Subject: [PATCH 081/234] tpa6130a2: Add headphone switch control +Subject: [PATCH 081/251] tpa6130a2: Add headphone switch control Signed-off-by: Jan Grulich --- @@ -129026,10 +129026,10 @@ index 11d85c5..3caaa17 100644 /* -From 381630753b8967478d2a95f51db08bd451b3063a Mon Sep 17 00:00:00 2001 +From a75c4939c66e03c683d86b01d793d28c074818eb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Sep 2015 23:38:59 +0100 -Subject: [PATCH 082/234] irq-bcm2835: Fix building with 2708 +Subject: [PATCH 082/251] irq-bcm2835: Fix building with 2708 --- drivers/irqchip/irq-bcm2835.c | 3 ++- @@ -129057,10 +129057,10 @@ index 20deb28..c02bf8a 100644 } init_FIQ(FIQ_START); -From b2703a8df5d90bf399e23828a0a423b6ec1d0cba Mon Sep 17 00:00:00 2001 +From ef612ffab83e04751eca4f4d4a5017fecaab9cae Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 083/234] rpi_display: add backlight driver and overlay +Subject: [PATCH 083/251] rpi_display: add backlight driver and overlay Add a mailbox-driven backlight controller for the Raspberry Pi DSI touchscreen display. Requires updated GPU firmware to recognise the @@ -129328,10 +129328,10 @@ index 525816d..b011489 100644 RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 802d883971b550c25165c1fb86ff5f8122a9614b Mon Sep 17 00:00:00 2001 +From 9e683aed13baf656729ca37b7efb70d595781f85 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Mon, 16 Nov 2015 14:05:35 +0000 -Subject: [PATCH 084/234] bcm2835-dma: Fix up convert to DMA pool +Subject: [PATCH 084/251] bcm2835-dma: Fix up convert to DMA pool --- drivers/dma/bcm2835-dma.c | 36 ++++++++++++++++++++++++++---------- @@ -129416,10 +129416,10 @@ index 0adc347..985019b 100644 /* Next block is empty. */ control_block->next = 0; -From ee13bd5c60aeca7fd55cd1a68d5007421fd5be67 Mon Sep 17 00:00:00 2001 +From 17d171c260c02491c27b1d89e84c09053f825ac2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 Nov 2015 11:38:59 +0000 -Subject: [PATCH 085/234] scripts: Multi-platform support for mkknlimg and +Subject: [PATCH 085/251] scripts: Multi-platform support for mkknlimg and knlinfo The firmware uses tags in the kernel trailer to choose which dtb file @@ -129668,10 +129668,10 @@ index 3998d43..005f404 100755 - return (($val eq 'y') || ($val eq '1')); -} -From 62f21e00ac669231c5a9ba3e73e45d68e4e9ccb7 Mon Sep 17 00:00:00 2001 +From 3daa279385ccf4297bb8beb5b1f770ea535e7245 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 2 Mar 2015 13:01:12 -0800 -Subject: [PATCH 086/234] drm/vc4: Add suport for 3D rendering using the V3D +Subject: [PATCH 086/251] drm/vc4: Add suport for 3D rendering using the V3D engine. This is a squash of the out-of-tree development series. Since that @@ -135276,10 +135276,10 @@ index 0000000..499daae + +#endif /* _UAPI_VC4_DRM_H_ */ -From 730955cd10b747167ce0315ca1f65af5446d3f61 Mon Sep 17 00:00:00 2001 +From 666602424fba993b28229ce2133ff8d2a16b248e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Oct 2015 11:32:14 -0700 -Subject: [PATCH 087/234] drm/vc4: Force HDMI to connected. +Subject: [PATCH 087/251] drm/vc4: Force HDMI to connected. For some reason on the downstream tree, the HPD GPIO isn't working. @@ -135302,10 +135302,10 @@ index da9a36d..d15c529 100644 if (gpio_get_value(vc4->hdmi->hpd_gpio)) return connector_status_connected; -From dc6c82b433488ea27069410bb1d95e1b4855e854 Mon Sep 17 00:00:00 2001 +From 83244506ffc629eb672d74f1e075d25188b4d081 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:23:18 -0700 -Subject: [PATCH 088/234] drm/vc4: bo cache locking fixes. +Subject: [PATCH 088/251] drm/vc4: bo cache locking fixes. Signed-off-by: Eric Anholt --- @@ -135454,10 +135454,10 @@ index 8cc89d1..c079b82 100644 /* Sequence number for the last job queued in job_list. * Starts at 0 (no jobs emitted). -From 114a74d272f9c13744574ff1ab1c84db68b5824c Mon Sep 17 00:00:00 2001 +From 149b9d3feccb3fcc379d91cacc35fa8e6ce59dd1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:29:41 -0700 -Subject: [PATCH 089/234] drm/vc4: bo cache locking cleanup. +Subject: [PATCH 089/251] drm/vc4: bo cache locking cleanup. Signed-off-by: Eric Anholt --- @@ -135549,10 +135549,10 @@ index af0fde6..acd360c 100644 static void vc4_bo_cache_time_timer(unsigned long data) -From 14ca113d8c53efafbd5af98c4d37210873302b18 Mon Sep 17 00:00:00 2001 +From 7a42f6a5addb1961f016f14ef9010bdc19565a77 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:32:24 -0700 -Subject: [PATCH 090/234] drm/vc4: Use job_lock to protect seqno_cb_list. +Subject: [PATCH 090/251] drm/vc4: Use job_lock to protect seqno_cb_list. We're (mostly) not supposed to be using struct_mutex in drivers these days. @@ -135606,10 +135606,10 @@ index 361390b..b1853b2 100644 return ret; } -From 4c95c3951ee48334fba5c60c17612c2955372d2a Mon Sep 17 00:00:00 2001 +From bf31c306877aef83b109356b8471a69590d0a915 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:44:35 -0700 -Subject: [PATCH 091/234] drm/vc4: Drop struct_mutex around CL validation. +Subject: [PATCH 091/251] drm/vc4: Drop struct_mutex around CL validation. We were using it so that we could make sure that shader validation state didn't change while we were validating, but now shader @@ -135672,10 +135672,10 @@ index b1853b2..32f375a 100644 } -From a7e0e7e5878fe920c674abb567159c07673ca118 Mon Sep 17 00:00:00 2001 +From 90604ba9389fd34efcd5c4266fd9d4604f1543e4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:44:35 -0700 -Subject: [PATCH 092/234] drm/vc4: Drop struct_mutex around CL validation. +Subject: [PATCH 092/251] drm/vc4: Drop struct_mutex around CL validation. We were using it so that we could make sure that shader validation state didn't change while we were validating, but now shader @@ -135749,10 +135749,10 @@ index 32f375a..55551ea 100644 return ret; } -From 466cf8e66d585dc067b4a7b6a43992abb469df9f Mon Sep 17 00:00:00 2001 +From dcdfacf7cbb2ad8feb6c11326919b7482b2ac3cd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 20 Oct 2015 13:59:15 +0100 -Subject: [PATCH 093/234] drm/vc4: Add support for more display plane formats. +Subject: [PATCH 093/251] drm/vc4: Add support for more display plane formats. Signed-off-by: Eric Anholt --- @@ -135787,10 +135787,10 @@ index 65e5455..0f85eb5 100644 static const struct hvs_format *vc4_get_hvs_format(u32 drm_format) -From 3d670774388611d6a536e68e6e37e6639c3782b9 Mon Sep 17 00:00:00 2001 +From 4f981196d46dcd9576c87c957b15acc0a68dcca8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 23 Oct 2015 12:31:56 +0100 -Subject: [PATCH 094/234] drm/vc4: No need to stop the stopped threads. +Subject: [PATCH 094/251] drm/vc4: No need to stop the stopped threads. This was leftover debug code from the hackdriver. We never submit unless the thread is already idle. @@ -135816,10 +135816,10 @@ index 55551ea..eeb0925 100644 barrier(); -From 09bea25699571cffdb44d00c1b1a25d82284c1d4 Mon Sep 17 00:00:00 2001 +From adb820489d061187ae01daa98ab1a404dbe5cd86 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 23 Oct 2015 12:33:43 +0100 -Subject: [PATCH 095/234] drm/vc4: Remove extra barrier()s aroudn CTnCA/CTnEA +Subject: [PATCH 095/251] drm/vc4: Remove extra barrier()s aroudn CTnCA/CTnEA setup. The writel() that these expand to already does barriers. @@ -135852,10 +135852,10 @@ index eeb0925..0cea723 100644 int -From 326f7bdb649e45e334296a773cf3a64061186b35 Mon Sep 17 00:00:00 2001 +From 90058bcf1d4a588a3ddba5e78e1f998a33d2d5b1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 23 Oct 2015 14:57:22 +0100 -Subject: [PATCH 096/234] drm/vc4: Fix a typo in a V3D debug register. +Subject: [PATCH 096/251] drm/vc4: Fix a typo in a V3D debug register. Signed-off-by: Eric Anholt --- @@ -135890,10 +135890,10 @@ index b9cb7cf..cf35f58 100644 REGDEF(V3D_FDBGB), REGDEF(V3D_FDBGR), -From 4b67a9e16b70a7bf3fa151dcffc5b94e30be985b Mon Sep 17 00:00:00 2001 +From fa03eea2a7fd499bd9254430e4396cf91aa96d39 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 2 Nov 2015 17:07:33 +0000 -Subject: [PATCH 097/234] drm/vc4: Enable VC4 modules, and increase CMA size +Subject: [PATCH 097/251] drm/vc4: Enable VC4 modules, and increase CMA size with overlay If using the overlay, be careful not to boot to GUI or run startx, @@ -136053,10 +136053,10 @@ index 146add9..d6aa058 100644 CONFIG_FB_BCM2708=y CONFIG_FB_UDL=m -From 8d63e6f4ff2e2d8b65f5af4bd507a9cca1608325 Mon Sep 17 00:00:00 2001 +From de2afd5a8db4a62e65057ace15fe15b498074dff Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Nov 2015 18:29:58 +0000 -Subject: [PATCH 098/234] squash: fixups +Subject: [PATCH 098/251] squash: fixups --- drivers/gpu/drm/vc4/Kconfig | 2 +- @@ -136103,10 +136103,10 @@ index c83287a..2082713 100644 drm_atomic_helper_commit_modeset_enables(dev, state); -From cfdc9afe86512c58e1175f1744b3eb4872eac05d Mon Sep 17 00:00:00 2001 +From 454534cc445c73a8d95814b1bf8e2ef67f3c4f41 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Nov 2015 20:26:03 +0000 -Subject: [PATCH 099/234] squash: add missing vc4-kms-v3d-overlay.dtb to +Subject: [PATCH 099/251] squash: add missing vc4-kms-v3d-overlay.dtb to makefile --- @@ -136126,10 +136126,10 @@ index fb7ac49..fc09bfb 100644 dtb-$(RPI_DT_OVERLAYS) += w1-gpio-overlay.dtb dtb-$(RPI_DT_OVERLAYS) += w1-gpio-pullup-overlay.dtb -From 3199b5f30db4ac952b1edc14c395150f1862d4fd Mon Sep 17 00:00:00 2001 +From 971c63d209cdcdeec8eba9211e9f75add0c6b10b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 12 Oct 2015 11:23:34 -0700 -Subject: [PATCH 100/234] clk: bcm2835: Also build the driver for downstream +Subject: [PATCH 100/251] clk: bcm2835: Also build the driver for downstream kernels. Signed-off-by: Eric Anholt @@ -136151,10 +136151,10 @@ index 3fc9506..a1b4cbc 100644 obj-$(CONFIG_ARCH_BCM_CYGNUS) += clk-cygnus.o obj-$(CONFIG_ARCH_BCM_NSP) += clk-nsp.o -From 18b004997924daa2670a41daf8f99645fa306000 Mon Sep 17 00:00:00 2001 +From 64297bcfecf13b8fa1939fc725b772875157b0a4 Mon Sep 17 00:00:00 2001 From: Holger Steinhaus Date: Sat, 14 Nov 2015 18:37:43 +0100 -Subject: [PATCH 101/234] dts: Added overlay for gpio_ir_recv driver +Subject: [PATCH 101/251] dts: Added overlay for gpio_ir_recv driver --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -136263,10 +136263,10 @@ index 0000000..a2d6bc7 + }; +}; -From 4e046619d2140c6e63c5d06e3c98c12ccb979a01 Mon Sep 17 00:00:00 2001 +From 1cb2b31fb379d569dd28ef81a69b04e748aa0a7e Mon Sep 17 00:00:00 2001 From: Alistair Buxton Date: Sun, 1 Nov 2015 22:27:56 +0000 -Subject: [PATCH 102/234] Build i2c_gpio module and add a device tree overlay +Subject: [PATCH 102/251] Build i2c_gpio module and add a device tree overlay to configure it. --- @@ -136375,10 +136375,10 @@ index d6aa058..51dc019 100644 CONFIG_SPI_BCM2835=m CONFIG_SPI_SPIDEV=y -From e76a0190ca7aef27bc9cb71fa5973e34c5e74651 Mon Sep 17 00:00:00 2001 +From d8810f6aa46773aab926661593de341c6bd77cae Mon Sep 17 00:00:00 2001 From: mwilliams03 Date: Sun, 18 Oct 2015 17:07:24 -0700 -Subject: [PATCH 103/234] New overlay for PiScreen2r +Subject: [PATCH 103/251] New overlay for PiScreen2r --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -136531,10 +136531,10 @@ index 0000000..7c018e0 +}; + -From 037e1879901fcb2be1344d5775c0685ead051b1a Mon Sep 17 00:00:00 2001 +From f2812d3b0fa2cda5f79e89235222c787bce2adac Mon Sep 17 00:00:00 2001 From: Ondrej Wisniewski Date: Fri, 6 Nov 2015 15:01:28 +0100 -Subject: [PATCH 104/234] dts: Added overlay for Adafruit PiTFT 2.8" capacitive +Subject: [PATCH 104/251] dts: Added overlay for Adafruit PiTFT 2.8" capacitive touch screen --- @@ -136684,10 +136684,10 @@ index 0000000..48920e9 + }; +}; -From ad77c59223d9ff5f68f52275fa02268e3fcbcea1 Mon Sep 17 00:00:00 2001 +From bc31b90ccadb0bfeaefbe40b460be9e7fa20b7f2 Mon Sep 17 00:00:00 2001 From: Stuart MacLean Date: Fri, 2 Oct 2015 15:12:59 +0100 -Subject: [PATCH 105/234] Add support for the HiFiBerry DAC+ Pro. +Subject: [PATCH 105/251] Add support for the HiFiBerry DAC+ Pro. The HiFiBerry DAC+ and DAC+ Pro products both use the existing bcm sound driver with the DAC+ Pro having a special clock device driver representing the two high precision oscillators. @@ -137235,10 +137235,10 @@ index 047c489..090fe0e 100644 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 832f1f8854b159b771a1dd5602793f4ddeb531f0 Mon Sep 17 00:00:00 2001 +From 0ef9ae2d5aba6fea2fe0520a24296a8fa4b858e5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 5 Oct 2015 10:47:45 +0100 -Subject: [PATCH 106/234] BCM270X_DT: Add at86rf233 overlay +Subject: [PATCH 106/251] BCM270X_DT: Add at86rf233 overlay Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. @@ -137373,10 +137373,10 @@ index 0000000..0460269 + }; +}; -From 91fa81779b1f5d1f8bd2caf180676a794c813eb1 Mon Sep 17 00:00:00 2001 +From 45d717abcc94edabe07e5909f1d984a392198921 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 107/234] mm: Remove the PFN busy warning +Subject: [PATCH 107/251] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -137401,10 +137401,10 @@ index c69531a..dc484d3 100644 goto done; } -From 1615d4ace228c85f2b188d4fc7b2f0a8a0e18ae1 Mon Sep 17 00:00:00 2001 +From 11a46a37a0da7f87fc9e278178f294047110f6ab Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 19 Nov 2014 12:06:38 -0800 -Subject: [PATCH 108/234] drm: Put an optional field in the driver struct for +Subject: [PATCH 108/251] drm: Put an optional field in the driver struct for GEM obj struct size. This allows a driver to derive from the CMA object without copying all @@ -137446,10 +137446,10 @@ index 0a271ca..54f5469 100644 int num_ioctls; const struct file_operations *fops; -From 63e2a58b2213550f7233563ed132f32e6b1ab866 Mon Sep 17 00:00:00 2001 +From b28efa9d1051537449004db1bfaf083429144d1b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 30 Oct 2015 10:09:02 -0700 -Subject: [PATCH 109/234] drm/vc4: Add an interface for capturing the GPU state +Subject: [PATCH 109/251] drm/vc4: Add an interface for capturing the GPU state after a hang. This can be parsed with vc4-gpu-tools tools for trying to figure out @@ -137790,10 +137790,10 @@ index 499daae..4a8d19f 100644 + #endif /* _UAPI_VC4_DRM_H_ */ -From 43fa373eaca4fa25761ce66ff2a282d1e6cd163e Mon Sep 17 00:00:00 2001 +From 341ad4b0afa7154311296be071b39f42f18fe228 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 4 Dec 2015 11:35:34 -0800 -Subject: [PATCH 110/234] drm/vc4: Update a bunch of code to match upstream +Subject: [PATCH 110/251] drm/vc4: Update a bunch of code to match upstream submission. This gets almost everything matching, except for the MSAA support and @@ -139713,10 +139713,10 @@ index 54f5469..987c25a 100644 int num_ioctls; const struct file_operations *fops; -From e7ddfe837c680dc154a0e50e6bead26de19c7953 Mon Sep 17 00:00:00 2001 +From 527fa9469f0876bade592e985a6c973ca8c84839 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 11 Dec 2015 19:45:03 -0800 -Subject: [PATCH 111/234] drm: Use the driver's gem_object_free function from +Subject: [PATCH 111/251] drm: Use the driver's gem_object_free function from CMA helpers. VC4 wraps the CMA objects in its own structures, so it needs to do its @@ -139777,10 +139777,10 @@ index 0f7b00b..e5df53b 100644 return ERR_PTR(ret); } -From 246b87d77b04074fc59517b99da4479aa7f5cf86 Mon Sep 17 00:00:00 2001 +From d5d7b446f3dc3c30886937f4750b96d5c40a0904 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 17 Jul 2015 13:15:50 -0700 -Subject: [PATCH 112/234] drm/vc4: Add support for MSAA rendering. +Subject: [PATCH 112/251] drm/vc4: Add support for MSAA rendering. For MSAA, you set a bit in the binner that halves the size of tiles in each direction, so you can pack 4 samples per pixel in the tile @@ -140304,10 +140304,10 @@ index 4a8d19f..49cd992 100644 uint32_t clear_z; uint8_t clear_s; -From 5332f64a451df183c738c0ae1ff9788ff85c9fa7 Mon Sep 17 00:00:00 2001 +From 8c5854914cb7ffd1d418a4013b2089eec87600d2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 8 Dec 2015 14:00:43 -0800 -Subject: [PATCH 113/234] drm/vc4: A few more non-functional changes to sync to +Subject: [PATCH 113/251] drm/vc4: A few more non-functional changes to sync to upstream. At this point all that's left is the force-enable of HDMI connector, @@ -140651,10 +140651,10 @@ index 49cd992..eeb37e3 100644 #endif /* _UAPI_VC4_DRM_H_ */ -From fc05e310790b52529e29028e9f42712873c1c1fe Mon Sep 17 00:00:00 2001 +From 96201e14bde5eadd0a63d291930c6931206dd945 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 15 Dec 2015 23:46:32 +0000 -Subject: [PATCH 114/234] drm/vc4: Use "hpd-gpios" for HDMI GPIO, like what +Subject: [PATCH 114/251] drm/vc4: Use "hpd-gpios" for HDMI GPIO, like what landed upstream. Signed-off-by: Eric Anholt @@ -140676,10 +140676,10 @@ index cf5d5c9..da37483 100644 <&cprman BCM2835_CLOCK_HSM>; clock-names = "pixel", "hdmi"; -From 96acf7d2b12a0e270c669a3b8dbeb3b34795284a Mon Sep 17 00:00:00 2001 +From c23f3c3bbf31b734f44040207eda9db1fdb3d565 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 7 Dec 2015 12:35:01 -0800 -Subject: [PATCH 115/234] drm/vc4: Synchronize validation code for v2 +Subject: [PATCH 115/251] drm/vc4: Synchronize validation code for v2 submission upstream. Signed-off-by: Eric Anholt @@ -141296,10 +141296,10 @@ index 2f22f19..0fb5b99 100644 return ret; } -From 4b68e80c46f80c31384ee5e56acb968edd6ad7f7 Mon Sep 17 00:00:00 2001 +From 677855b754d34a5fc02b572d3605e0a6ff754843 Mon Sep 17 00:00:00 2001 From: janluca Date: Sun, 27 Dec 2015 14:34:04 +0100 -Subject: [PATCH 116/234] MMC: Do not use mmc_debug if CONFIG_MMC_BCM2835 is +Subject: [PATCH 116/251] MMC: Do not use mmc_debug if CONFIG_MMC_BCM2835 is not set If CONFIG_MMC_BCM2835 was not set the compiling of the kernel failed @@ -141336,10 +141336,10 @@ index 87ae2e9..b79fe14 100644 } EXPORT_SYMBOL(mmc_fixup_device); -From 5c3ab466619cbcfd96b70baf8cd906d61d80bc70 Mon Sep 17 00:00:00 2001 +From 6c2f1c57e559b53e84735f0a38ad50e8177b3f4d Mon Sep 17 00:00:00 2001 From: Devon Fyson Date: Wed, 30 Dec 2015 16:40:47 -0500 -Subject: [PATCH 117/234] Extend clock timeout, fix modprobe baudrate +Subject: [PATCH 117/251] Extend clock timeout, fix modprobe baudrate parameter. Set the BSC_CLKT clock streching timeout to 35ms as per SMBus specs.\n- Increase priority of baudrate parameter passed to modprobe (in /etc/modprobe.d/*.conf or command line). Currently custom baudrates don't work because they are overridden by clock-frequency in the platform_device passed to the function. @@ -141447,10 +141447,10 @@ index 85f411c..b152639 100644 dev_info(&pdev->dev, "BSC%d Controller at 0x%08lx (irq %d) (baudrate %d)\n", pdev->id, (unsigned long)regs->start, irq, baudrate); -From 1f5a6afed627adfed60b98c81b11e17ea1dd2254 Mon Sep 17 00:00:00 2001 +From 138eda1c8216d04356fa821fe6500771bf14fb10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 31 Dec 2015 16:44:58 +0100 -Subject: [PATCH 118/234] bcm270x_dt: Add dwc2 and dwc-otg overlays +Subject: [PATCH 118/251] bcm270x_dt: Add dwc2 and dwc-otg overlays --- arch/arm/boot/dts/overlays/Makefile | 2 ++ @@ -141568,10 +141568,10 @@ index 0000000..90c9811 + }; +}; -From 5f7d31ed88d778829a00ead2c3ce6058e8428cae Mon Sep 17 00:00:00 2001 +From 534a6b55b445527c1a8aef9f0328987cb2c1c1d4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 4 Jan 2016 14:42:17 +0000 -Subject: [PATCH 119/234] BCM270X_DT: Add the sdtweak overlay, for tuning +Subject: [PATCH 119/251] BCM270X_DT: Add the sdtweak overlay, for tuning sdhost The sdhost overlay declares the sdhost interface and allows parameters @@ -141650,10 +141650,10 @@ index 0000000..74c168d + }; +}; -From 18ada5eca56619ab579dd6c65e53d00e9c5a736b Mon Sep 17 00:00:00 2001 +From baed92c64a0b70434069ec7f8cb906e33f7d50b4 Mon Sep 17 00:00:00 2001 From: Andrew Litt Date: Mon, 11 Jan 2016 07:54:21 +0000 -Subject: [PATCH 120/234] bcm2835-mmc: Don't override bus width capabilities +Subject: [PATCH 120/251] bcm2835-mmc: Don't override bus width capabilities from devicetree Take out the force setting of the MMC_CAP_4_BIT_DATA host capability @@ -141677,10 +141677,10 @@ index 43aed6e..104f93e 100644 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; -From e3155ceee9ab00cab356e6d9f96b018ae7eca51c Mon Sep 17 00:00:00 2001 +From 2a12d02d01ad199df7c17296243ddef8a9ca6c33 Mon Sep 17 00:00:00 2001 From: Andrew Litt Date: Mon, 11 Jan 2016 07:55:54 +0000 -Subject: [PATCH 121/234] SDIO-overlay: add bus_width parameter +Subject: [PATCH 121/251] SDIO-overlay: add bus_width parameter Allow setting of the SDIO bus width capability of the bcm2835-mmc host. This is helpful when only a 1 bit wide bus is connected @@ -141724,10 +141724,10 @@ index afc8742..7935e7a 100644 }; }; -From 5bd58d52212f161c84da2662266f07bca2470773 Mon Sep 17 00:00:00 2001 +From 1589aee29dc9d1fafe145b75a018771ed993e869 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:41:45 +0100 -Subject: [PATCH 122/234] bcm2835: extend allowed range of channels and +Subject: [PATCH 122/251] bcm2835: extend allowed range of channels and samplerates Allow everything the videocore accepts. @@ -141764,10 +141764,10 @@ index 8c86375..31e3131 100755 .period_bytes_min = 1 * 1024, .period_bytes_max = 128 * 1024, -From 69fa2ce9d89de099868f04720cec37cec024e040 Mon Sep 17 00:00:00 2001 +From 768a8ae2b4eebe250c3872901caae49ecf92b483 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:42:18 +0100 -Subject: [PATCH 123/234] bcm2835: restrict channels*rate to 8*960000 +Subject: [PATCH 123/251] bcm2835: restrict channels*rate to 8*960000 This is required at least for SPDIF. If the bitrate goes above, videocore will either resample the audio or corrupt it due to @@ -141847,10 +141847,10 @@ index 31e3131..b17ed32 100755 chip->opened |= (1 << idx); -From 29fd7c86e93a48c3cd10ab22f2c794cd946b38ef Mon Sep 17 00:00:00 2001 +From 19d09a4d7b66ffed44ec5b9da81304f3a11f4586 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:42:48 +0100 -Subject: [PATCH 124/234] rpi: update vc_vchi_audioserv_defs.h +Subject: [PATCH 124/251] rpi: update vc_vchi_audioserv_defs.h Add audioserv 3 extensions. The changes were taken from the paste linked here: @@ -141916,10 +141916,10 @@ index af3e6eb..5f4409f 100644 +#endif // _VC_AUDIO_DEFS_H_ \ No newline at end of file -From b3283c09906705a7234676beff768e1f9fcb19b4 Mon Sep 17 00:00:00 2001 +From c507443d3266d9f0cbdc1832089ad90b8943f48b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:43:12 +0100 -Subject: [PATCH 125/234] bcm2835: implement channel map API +Subject: [PATCH 125/251] bcm2835: implement channel map API Report all layouts supported by the HDMI protocol to userspace. Make the videocore set the correct layout according to the @@ -142346,10 +142346,10 @@ index 0f71c5d..997fb69 100755 int bcm2835_audio_close(bcm2835_alsa_stream_t * alsa_stream); int bcm2835_audio_set_params(bcm2835_alsa_stream_t * alsa_stream, -From 96c6db5e6de3afcd7b8d88d3d8fd663423706d25 Mon Sep 17 00:00:00 2001 +From 9e7ef4d08f6e2dbcdca8f7f2833f2eb38bee78e1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:43:35 +0100 -Subject: [PATCH 126/234] bcm2835: access controls under the audio mutex +Subject: [PATCH 126/251] bcm2835: access controls under the audio mutex I don't think the ALSA framework provides any kind of automatic synchronization within the control callbacks. We most likely need @@ -142588,10 +142588,10 @@ index 1067460..48da3bb 100755 return 0; } -From 0ac97ee604b5488d21417c16eadc03005ef848e2 Mon Sep 17 00:00:00 2001 +From 04d7228226398968e0fc67ec3722760f729dbfc9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:44:03 +0100 -Subject: [PATCH 127/234] bcm2835: always use 2/4/8 channels for multichannel +Subject: [PATCH 127/251] bcm2835: always use 2/4/8 channels for multichannel layouts Pad the unused channels with NA. This means userspace needs to write @@ -142730,10 +142730,10 @@ index 5b8e6bd..dec052b 100755 }; -From e030b22f402a99a3b63c0bacbb50beffe316c473 Mon Sep 17 00:00:00 2001 +From 7a65c83035dbea9a9ac43867cc82167d64e5c233 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:44:24 +0100 -Subject: [PATCH 128/234] bcm2835: only allow stereo if analogue jack is +Subject: [PATCH 128/251] bcm2835: only allow stereo if analogue jack is selected Sending more than 2 channels to videocore while outputting to analogue @@ -142795,10 +142795,10 @@ index dec052b..e930718 100755 for (x = 0; x < substream->runtime->channels; x++) { int sp = ucontrol->value.integer.value[x]; -From 3ac0c0dc4bce4aceb42c68fb5652c52c61bd8fb4 Mon Sep 17 00:00:00 2001 +From 1009b70932a4980e21de9429c596dbdccac1ecdb Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:44:47 +0100 -Subject: [PATCH 129/234] bcm2835: interpolate audio delay +Subject: [PATCH 129/251] bcm2835: interpolate audio delay It appears the GPU only sends us a message all 10ms to update the playback progress. Other than this, the playback position @@ -142890,10 +142890,10 @@ index 997fb69..20ef108 100755 uint32_t enable_fifo_irq; irq_handler_t fifo_irq_handler; -From a442aa73f934181904d8d33abbe18578aa197f6e Mon Sep 17 00:00:00 2001 +From fb73e06c694d16d8be119e08e71bf5601f386352 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 Jan 2016 17:16:38 +0000 -Subject: [PATCH 130/234] bcm2835-sdhost: Add workaround for odd behaviour on +Subject: [PATCH 130/251] bcm2835-sdhost: Add workaround for odd behaviour on some cards For reasons not understood, the sdhost driver fails when reading @@ -143030,10 +143030,10 @@ index da08998..309633c 100644 } -From 6ac321e20227b0361e650f751e0b3b2906e1ae02 Mon Sep 17 00:00:00 2001 +From 6671675d3a1a7df0f838121c8166b57f0fd6f0c3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 22 Jan 2016 16:03:24 +0000 -Subject: [PATCH 131/234] bcm2835-sdhost: Add debug_flags dtparam +Subject: [PATCH 131/251] bcm2835-sdhost: Add debug_flags dtparam Bit zero disables the single-read-sectors map: @@ -143157,10 +143157,10 @@ index 309633c..ef9b1e6 100644 if (node) { host->dma_chan_tx = -From 72b03ddd9d4fb66065ea28b6d97f019c7bcc85bc Mon Sep 17 00:00:00 2001 +From 559103cc40fb480a58ff12002ac79dc204c5c19d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 25 Jan 2016 09:12:06 +0000 -Subject: [PATCH 132/234] BCM270X_DT: Add sdio_overclock parameter to sdio +Subject: [PATCH 132/251] BCM270X_DT: Add sdio_overclock parameter to sdio overlay The sdio_overclock parameter is like the overclock_50 parameter, i.e. @@ -143231,10 +143231,10 @@ index 7935e7a..398bd81 100644 }; }; -From 5f7c000de9e55ad3bf6e3dcae31343bbec2c1724 Mon Sep 17 00:00:00 2001 +From 73ad066f76a5c18c621dbc86b02ff90d3adc814a Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 21 Jan 2016 18:10:16 +0100 -Subject: [PATCH 133/234] rtc: ds1307: add support for the DT property +Subject: [PATCH 133/251] rtc: ds1307: add support for the DT property 'wakeup-source' For RTC chips with no IRQ directly connected to the SoC, the RTC chip @@ -143328,10 +143328,10 @@ index 1cb13fe..28ca4bf 100644 err = devm_request_threaded_irq(&client->dev, client->irq, NULL, irq_handler, -From 65d99e381d375d6dc8da36b19261dcd265876ed8 Mon Sep 17 00:00:00 2001 +From 4f6fbb96cdcdc9e66c0521d1b0a46ca0b1d2c47d Mon Sep 17 00:00:00 2001 From: vitalogy Date: Tue, 19 Jan 2016 07:02:02 +0100 -Subject: [PATCH 134/234] dt-overlay: add wittypi-overlay.dts +Subject: [PATCH 134/251] dt-overlay: add wittypi-overlay.dts --- arch/arm/boot/dts/overlays/wittypi-overlay.dts | 44 ++++++++++++++++++++++++++ @@ -143389,10 +143389,10 @@ index 0000000..be5987d + +}; -From 182d80ba104dcd33de5a9a517e214890e5b3d71f Mon Sep 17 00:00:00 2001 +From ed208e16047972bbaf88000ab35b61fa82293247 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 Jan 2016 16:28:05 +0000 -Subject: [PATCH 135/234] FIXUP i2c_bcm2708: Don't change module baudrate +Subject: [PATCH 135/251] FIXUP i2c_bcm2708: Don't change module baudrate parameter Overwriting the baudrate module parameter creates an apparent @@ -143491,10 +143491,10 @@ index b152639..c9b8e5c 100644 return 0; -From ecbb995a27f844890cb596f55b6c162bd503c3c1 Mon Sep 17 00:00:00 2001 +From 1172f40b76155e169d23802f5bfd81555571cb7e Mon Sep 17 00:00:00 2001 From: Digital Dreamtime Date: Thu, 4 Feb 2016 14:14:44 +0000 -Subject: [PATCH 136/234] Allow up to 24dB digital gain to be applied when +Subject: [PATCH 136/251] Allow up to 24dB digital gain to be applied when using IQAudIO DAC+ 24db_digital_gain DT param can be used to specify that PCM512x @@ -143597,10 +143597,10 @@ index 37038d4..124d7a9 100644 ret = snd_soc_register_card(&snd_rpi_iqaudio_dac); -From 2b5de011997270039c921001eac6a08da664da83 Mon Sep 17 00:00:00 2001 +From d87eb9396da3d0cf59346531fb93cfaa452760d8 Mon Sep 17 00:00:00 2001 From: Digital Dreamtime Date: Thu, 4 Feb 2016 20:04:00 +0000 -Subject: [PATCH 137/234] Limit PCM512x "Digital" gain to 0dB by default with +Subject: [PATCH 137/251] Limit PCM512x "Digital" gain to 0dB by default with HiFiBerry DAC+ 24db_digital_gain DT param can be used to specify that PCM512x @@ -143702,10 +143702,10 @@ index a6b651c..153dbcd 100644 ret = snd_soc_register_card(&snd_rpi_hifiberry_dacplus); -From 4229a7006381d75e1a79f2b2214811946ef4646d Mon Sep 17 00:00:00 2001 +From f279fd3295cc2407f05e56fafb77edc800148547 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 Feb 2016 09:46:33 +0000 -Subject: [PATCH 138/234] BCM270X_DT: Adjust overlay README formatting +Subject: [PATCH 138/251] BCM270X_DT: Adjust overlay README formatting --- arch/arm/boot/dts/overlays/README | 414 +++++++++++++++++++------------------- @@ -144434,10 +144434,10 @@ index 296184f..f987565 100644 Troubleshooting -From 5187f0c81288df33fb8aa9950fe2df568600b238 Mon Sep 17 00:00:00 2001 +From 414077cd3a0694b0a49a8e1bc92b574290aa8fcf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 11 Feb 2016 16:51:01 +0000 -Subject: [PATCH 139/234] bcm2835-sdhost: Major revision +Subject: [PATCH 139/251] bcm2835-sdhost: Major revision This is a significant revision of the bcm2835-sdhost driver. It improves on the original in a number of ways: @@ -146506,10 +146506,10 @@ index ef9b1e6..262180b 100644 .probe = bcm2835_sdhost_probe, .remove = bcm2835_sdhost_remove, -From a89d94f78da2a6e4c2df2a8206ed61d841143161 Mon Sep 17 00:00:00 2001 +From 28749d393c5f8b68c20ab5827c0e519eb96c89fe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 12 Feb 2016 15:38:00 +0000 -Subject: [PATCH 140/234] BCM270X_DT: Add dtparams for the SD interface +Subject: [PATCH 140/251] BCM270X_DT: Add dtparams for the SD interface Add new base dtparams sd_overclock, sd_force_pio, sd_pio_limit and sd_debug. @@ -146762,10 +146762,10 @@ index b0b208c..e4a4677 100644 }; }; -From 050e65853a2a95ba2835a85f5b79e722a768a3ff Mon Sep 17 00:00:00 2001 +From bad7a004e1e990eefa9f402684b19021baa81812 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Feb 2016 14:50:25 +0000 -Subject: [PATCH 141/234] dcw_otg: trim xfer length when buffer larger than +Subject: [PATCH 141/251] dcw_otg: trim xfer length when buffer larger than allocated size is received --- @@ -146802,10 +146802,10 @@ index 8db3dfc..d672a76 100644 if (hc->align_buff && bytes_transferred && hc->ep_is_in) { dwc_memcpy(urb->buf + urb->actual_length, hc->qh->dw_align_buf, -From 517b68ff48633e45cf1179e75bdcb5cd92caa470 Mon Sep 17 00:00:00 2001 +From 3f19b475b6394511ee22af77c8287ea1c1b8295a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 15 Feb 2016 10:00:27 +0000 -Subject: [PATCH 142/234] bcm2835-sdhost: Restore ATOMIC flag to PIO sg mapping +Subject: [PATCH 142/251] bcm2835-sdhost: Restore ATOMIC flag to PIO sg mapping Allocation problems have been seen in a wireless driver, and this is the only change which might have been responsible. @@ -146837,10 +146837,10 @@ index 262180b..d66385c 100644 host->blocks = data->blocks; } -From 4b95330d1365c7045e283b0c0cb5f5d93a136dea Mon Sep 17 00:00:00 2001 +From 962dfa8efd816762704046d501b703eb153fca3f Mon Sep 17 00:00:00 2001 From: Craig Roberts Date: Tue, 16 Feb 2016 10:03:42 +0000 -Subject: [PATCH 143/234] Updated smsc95xx driver to check for a valid MAC +Subject: [PATCH 143/251] Updated smsc95xx driver to check for a valid MAC address in eeprom before using smsc95xx.macaddr parameter passed on command line. @@ -146880,10 +146880,10 @@ index 3244a90..7483222 100755 netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); } -From f117931be1708330fd5fab0d9f0a99b7c091745d Mon Sep 17 00:00:00 2001 +From 0139c7899ec18de29f16b6dad11ea5cddd06ae62 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Feb 2016 19:02:31 +0000 -Subject: [PATCH 144/234] dcw_otg: Make trimming messages less noisy +Subject: [PATCH 144/251] dcw_otg: Make trimming messages less noisy --- drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 6 ++++-- @@ -146914,10 +146914,10 @@ index d672a76..e6b38ac 100644 } -From 473fe36c4e0c683b9c41c069f779b58a37a8ab6d Mon Sep 17 00:00:00 2001 +From e41f1f667f3d2f4e6e22dc585a6d4dabbc5aafd7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 Feb 2016 15:28:14 +0000 -Subject: [PATCH 145/234] BCM270X_DT: at86rf233 overlay - drop to 3MHz +Subject: [PATCH 145/251] BCM270X_DT: at86rf233 overlay - drop to 3MHz The consensus is that 6MHz is too fast, but that 3MHz is OK. @@ -146955,10 +146955,10 @@ index 0460269..eab4052 100644 }; }; -From 00fe3603a076b0f869f8f6e4cecbaa41e775b134 Mon Sep 17 00:00:00 2001 +From 61f20e3098ef685f6a14238c58b7158e637652bc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Feb 2016 12:04:48 +0000 -Subject: [PATCH 146/234] bcm2835-sdhost: Downgrade log message status +Subject: [PATCH 146/251] bcm2835-sdhost: Downgrade log message status --- drivers/mmc/host/bcm2835-sdhost.c | 4 ++-- @@ -146980,10 +146980,10 @@ index d66385c..4f6cab5 100644 if (!timer_base) pr_err("sdhost: failed to remap timer\n"); -From 477518bb3f87ec9bbb069aeb96dd1d35c0f7a621 Mon Sep 17 00:00:00 2001 +From 8d7f055a36864ccb388a526cca31a4e416125ac6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 15 Jan 2016 16:48:27 +0000 -Subject: [PATCH 147/234] config: Enable HCI over UARTs +Subject: [PATCH 147/251] config: Enable HCI over UARTs --- arch/arm/configs/bcm2709_defconfig | 3 +++ @@ -147018,10 +147018,10 @@ index 51dc019..4368f0d 100644 CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBFUSB=m -From b0252043429f6c50c745f43afc9c231d2961480f Mon Sep 17 00:00:00 2001 +From 4e80e74fc12bf2b3f75908afce3fe399323ccb90 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 148/234] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 148/251] hci_h5: Don't send conf_req when ACTIVE Without this patch, a modem and kernel can continuously bombard each other with conf_req and conf_rsp messages, in a demented game of tag. @@ -147044,10 +147044,10 @@ index abee221..2825833 100644 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 7); -From b564003a5d4ea674a920e2021ab25a0522911543 Mon Sep 17 00:00:00 2001 +From 7ea16aeff2daf97ada8b68b9acad503f5a922c61 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 149/234] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 149/251] amba_pl011: Don't use DT aliases for numbering The pl011 driver looks for DT aliases of the form "serial", and if found uses as the device ID. This can cause @@ -147076,10 +147076,10 @@ index 899a771..68b3353 100644 uap->old_cr = 0; uap->port.dev = dev; -From 3dc30aa2b86ef70ffda8a8a5e57ddc653b1fb2d3 Mon Sep 17 00:00:00 2001 +From cce16b3c1c46f74a3178029ac894c89aea751af4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 15 Dec 2015 15:35:57 -0800 -Subject: [PATCH 150/234] clk: bcm2835: Add bindings for the auxiliary +Subject: [PATCH 150/251] clk: bcm2835: Add bindings for the auxiliary peripheral clock gates. These will be used for enabling UART1, SPI1, and SPI2. @@ -147155,10 +147155,10 @@ index 0000000..d91156e +#define BCM2835_AUX_CLOCK_SPI2 2 +#define BCM2835_AUX_CLOCK_COUNT 3 -From 4334bbc4f8aa283d7e470500bf42b146c0bf2029 Mon Sep 17 00:00:00 2001 +From 16aac0eab690fbafcf6cb70a19ceffd848cc8ee8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 15 Dec 2015 15:35:58 -0800 -Subject: [PATCH 151/234] clk: bcm2835: Add a driver for the auxiliary +Subject: [PATCH 151/251] clk: bcm2835: Add a driver for the auxiliary peripheral clock gates. There are a pair of SPI masters and a mini UART that were last minute @@ -147279,10 +147279,10 @@ index 0000000..e4f89e2 +MODULE_DESCRIPTION("BCM2835 auxiliary peripheral clock driver"); +MODULE_LICENSE("GPL v2"); -From 4567f48c8cea336f6c69e4244624b504e0e35272 Mon Sep 17 00:00:00 2001 +From c7b36d3709441f04c40763f17c82e6734cc14fc1 Mon Sep 17 00:00:00 2001 From: Fraser Date: Tue, 23 Feb 2016 10:04:37 +1100 -Subject: [PATCH 152/234] Aux SPI 1&2 implementation +Subject: [PATCH 152/251] Aux SPI 1&2 implementation Adds aux spi 1 & 2 devices to compatible raspberry PIs. * Minor config of the driver build environment to ensure they get built @@ -148012,10 +148012,10 @@ index e842e86..c9d1558 100644 help This selects a driver for the Broadcom BCM2835 SPI aux master. -From 5ff0e7a7d133b1ec4ab95f44bf8575178d3cd8bd Mon Sep 17 00:00:00 2001 +From 9c53b072c7283c02625434a42fbc2aaa3b2b4bbc Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 23 Feb 2016 17:28:23 +0100 -Subject: [PATCH 153/234] ASoC: bcm: add missing .owner fields in sound card +Subject: [PATCH 153/251] ASoC: bcm: add missing .owner fields in sound card drivers If snd_soc_card.owner is not set the kernel won't do usage refcounting @@ -148137,10 +148137,10 @@ index c6e45a0..9db678e 100644 .num_links = ARRAY_SIZE(snd_rpi_proto_dai), }; -From 474200011a4fb8f7174ce074092c4bf83eed5ee6 Mon Sep 17 00:00:00 2001 +From 797d7607625bed287bdadcee2471a247ced1ded5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 20 Jan 2016 17:50:09 +0000 -Subject: [PATCH 154/234] smsx95xx: Add option to disable the crimes against +Subject: [PATCH 154/251] smsx95xx: Add option to disable the crimes against truesize fix It may improve iperf numbers on Pi 1, but may generate dmesg warnings and possibly cause network issues @@ -148186,10 +148186,10 @@ index 7483222..a61bd08 usbnet_skb_return(dev, ax_skb); } -From 763d1c355b6995358eb162c8d14414c680ae5397 Mon Sep 17 00:00:00 2001 +From 93c08f5b50bbb8181c4d34bb40fc57e4e3142f8f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 155/234] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 155/251] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -148442,10 +148442,10 @@ index b011489..c844968 100644 RPI_FIRMWARE_FRAMEBUFFER_TEST_PHYSICAL_WIDTH_HEIGHT = 0x00044003, RPI_FIRMWARE_FRAMEBUFFER_TEST_VIRTUAL_WIDTH_HEIGHT = 0x00044004, -From 1c56eb666d63752162efc53df92069aec66fdb6d Mon Sep 17 00:00:00 2001 +From 686310b3289232a8ae9d21061318e2ee3ca65c3d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 21 Jan 2016 17:57:49 +0000 -Subject: [PATCH 156/234] BCM270X_DT: Add Pi3 support +Subject: [PATCH 156/251] BCM270X_DT: Add Pi3 support --- arch/arm/boot/dts/Makefile | 1 + @@ -148774,10 +148774,10 @@ index 0000000..1a48686 + interrupts = <8>; +}; -From 74e67294379f309acfdc52f3594c8c964711a376 Mon Sep 17 00:00:00 2001 +From 5704ec08a597c580de377bb0fca760fa30b927b0 Mon Sep 17 00:00:00 2001 From: Dave Stevenson <6by9@users.noreply.github.com> Date: Mon, 8 Feb 2016 23:49:41 +0000 -Subject: [PATCH 157/234] DT: Add overlays to configure I2C pins +Subject: [PATCH 157/251] DT: Add overlays to configure I2C pins Lifted from https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=120938&p=825883 @@ -148919,10 +148919,10 @@ index 0000000..e303b9c + }; +}; -From e520168fb0bf9c5beb98703122f21dd6bdf16a73 Mon Sep 17 00:00:00 2001 +From c0d707957191b16ee951b09e3b2d28e5a5cda0f3 Mon Sep 17 00:00:00 2001 From: Dhiraj Goel Date: Thu, 3 Mar 2016 21:10:50 -0800 -Subject: [PATCH 158/234] bcm2835-camera: fix a bug in computation of frame +Subject: [PATCH 158/251] bcm2835-camera: fix a bug in computation of frame timestamp Fixes #1318 @@ -148945,10 +148945,10 @@ index e83334c..98a892e 100644 dev->capture.kernel_start_ts.tv_usec + rem; -From 0569e24890ce6458b8e89393d81ff912af4518f4 Mon Sep 17 00:00:00 2001 +From e16268752be460f8d65e4d613c690508ce985f3f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 2 Mar 2016 10:59:05 +0000 -Subject: [PATCH 159/234] BCM270X_DT: Add pi3-disable-bt overlay +Subject: [PATCH 159/251] BCM270X_DT: Add pi3-disable-bt overlay Disable Bluetooth and restore UART0/ttyAMA0 over GPIOs 14 & 15. To disable the systemd service that initialises the modem so it doesn't use the UART: @@ -149049,10 +149049,10 @@ index 0000000..05403e2 + }; +}; -From d2bda5ca90aae84491f8c967122de1b910183837 Mon Sep 17 00:00:00 2001 +From 59b04f45fe08783a5564c784869cfc93cd40c109 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 09:53:03 +0000 -Subject: [PATCH 160/234] BCM270X_DT: Add pi3-miniuart-bt DT overlay +Subject: [PATCH 160/251] BCM270X_DT: Add pi3-miniuart-bt DT overlay Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore UART0/ttyAMA0 over GPIOs 14 & 15. Note that this may reduce the maximum @@ -149174,10 +149174,10 @@ index 0000000..ae1292a + }; +}; -From 612299645d40261b3ad51c1be30abf3786bc8eaa Mon Sep 17 00:00:00 2001 +From 7c539311298d0f848ba5e300d251572d4f02a891 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 13:38:39 +0000 -Subject: [PATCH 161/234] Pi3 DT: Add dtparams for the SD interface +Subject: [PATCH 161/251] Pi3 DT: Add dtparams for the SD interface Add new base dtparams sd_overclock, sd_force_pio, sd_pio_limit and sd_debug. These were missed out of the initial Pi3 DTB. @@ -149202,10 +149202,10 @@ index cc06089..36972d8 100644 }; }; -From c6b607df8df72e40f649a26f3f17530c4d6f80e7 Mon Sep 17 00:00:00 2001 +From a852495aa0826899b7cf9b7c341ef4c5baea1073 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 15:05:11 +0000 -Subject: [PATCH 162/234] vchiq_arm: Tweak the logging output +Subject: [PATCH 162/251] vchiq_arm: Tweak the logging output Signed-off-by: Phil Elwell --- @@ -149280,10 +149280,10 @@ index 2c98da4..160db24 100644 switch (type) { -From 0309d20fa78d21417424ac2a29f7021005103a95 Mon Sep 17 00:00:00 2001 +From e7f05008cced2d27c9b221614ca469dd48f5bc81 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 16:46:39 +0000 -Subject: [PATCH 163/234] bcm2835-sdhost: Only claim one DMA channel +Subject: [PATCH 163/251] bcm2835-sdhost: Only claim one DMA channel With both MMC controllers enabled there are few DMA channels left. The bcm2835-sdhost driver only uses DMA in one direction at a time, so it @@ -149445,10 +149445,10 @@ index 4f6cab5..4cc4272 100644 } } -From 85475f3bb5c999db424e476fd34db78dd2f620e7 Mon Sep 17 00:00:00 2001 +From afe2e242d78005f19d1611ad15124ce576225778 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Mar 2016 09:49:16 +0000 -Subject: [PATCH 164/234] bcm2835-mmc: Only claim one DMA channel +Subject: [PATCH 164/251] bcm2835-mmc: Only claim one DMA channel With both MMC controllers enabled there are few DMA channels left. The bcm2835-mmc driver only uses DMA in one direction at a time, so it @@ -149620,10 +149620,10 @@ index 104f93e..ceb3793 100644 #endif clk = devm_clk_get(dev, NULL); -From 09b4efc16a0683e3483fca04c29ab50acd77ea35 Mon Sep 17 00:00:00 2001 +From ba461323859e90843ed2a65dd223a60244782814 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 8 Mar 2016 17:08:39 +0000 -Subject: [PATCH 165/234] config: rebuild with savedefconfig +Subject: [PATCH 165/251] config: rebuild with savedefconfig --- arch/arm/configs/bcm2709_defconfig | 3 +-- @@ -149651,10 +149651,10 @@ index 6d6b519..116002b 100644 CONFIG_MCP320X=m CONFIG_DHT11=m -From b0b658052a1bbcb915e1461e785e2ada1de92747 Mon Sep 17 00:00:00 2001 +From 226c823c6dde5546476a22be8d681712924ad6ef Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 8 Mar 2016 17:06:33 +0000 -Subject: [PATCH 166/234] config: Add module for mcp3422 ADC +Subject: [PATCH 166/251] config: Add module for mcp3422 ADC --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -149686,10 +149686,10 @@ index 1ca1695..f09be87 100644 CONFIG_PWM_BCM2835=m CONFIG_RASPBERRYPI_FIRMWARE=y -From 13f3cb2aa11e7f35437ef94b643ec18c4216afa7 Mon Sep 17 00:00:00 2001 +From f27ae7ba1432ab3604faaf8ca79ed31a5edc8d42 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Mar 2016 16:18:57 +0000 -Subject: [PATCH 167/234] Pi3 DT: Add pull-ups on the UART RX lines +Subject: [PATCH 167/251] Pi3 DT: Add pull-ups on the UART RX lines Signed-off-by: Phil Elwell --- @@ -149731,10 +149731,10 @@ index ae1292a..0b8f0ca 100644 }; }; -From 40b7ff1151cda094b243d68e04afea524f5f91e1 Mon Sep 17 00:00:00 2001 +From e5b66ba646a96ad37ea4c7cc240c34e9d77f0eea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 17:25:59 +0000 -Subject: [PATCH 168/234] brcmfmac: Disable power management +Subject: [PATCH 168/251] brcmfmac: Disable power management Disable wireless power saving in the brcmfmac WLAN driver. This is a temporary measure until the connectivity loss resulting from power @@ -149759,10 +149759,10 @@ index deb5f78..90f65d9 100644 if (!check_vif_up(ifp->vif)) { -From 4c066381ff2a904adfcbff623cb686b6d47e82d4 Mon Sep 17 00:00:00 2001 +From 6be841fb1dc54f49488ac814034726a0eecb26c7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 21:28:52 +0000 -Subject: [PATCH 169/234] BCM270X_DT: rpi-display overlay - add swapxy param +Subject: [PATCH 169/251] BCM270X_DT: rpi-display overlay - add swapxy param Signed-off-by: Phil Elwell --- @@ -149802,10 +149802,10 @@ index a8fa974..ccb296e 100644 }; }; -From 7a9843abb04b72adb5b0fd6e04053b217dbea4a0 Mon Sep 17 00:00:00 2001 +From 0775a4eb95034a3460293cbd08bc7c6ebbe47a0f Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Fri, 11 Mar 2016 11:44:35 +0000 -Subject: [PATCH 170/234] Remove I2S config from bt_pins. +Subject: [PATCH 170/251] Remove I2S config from bt_pins. Remove I2S config from bt_pins. Causes issues with clock alignment when I2S is used by an external DAC via GPIO header. @@ -149845,10 +149845,10 @@ index 0b8f0ca..f07afcb 100644 }; }; -From ed964142cfe7d2949fe10cb39cf897c216f42d8d Mon Sep 17 00:00:00 2001 +From c80d4e337d289f911bc3d9c972cbcc85c0bf758c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:44:59 +0100 -Subject: [PATCH 171/234] Revert "scripts/dtc: Add overlay support" +Subject: [PATCH 171/251] Revert "scripts/dtc: Add overlay support" This reverts commit fa6d1755c2fdd9451077d8248e3804f0619f19b9. --- @@ -154253,10 +154253,10 @@ index 86b7338..5b8c7d5 100644 -#define DTC_VERSION "DTC 1.4.1-g9d3649bd-dirty" +#define DTC_VERSION "DTC 1.4.1-g9d3649bd" -From f8ba4ced67c24170cc9a8beb8d41678a10c79cca Mon Sep 17 00:00:00 2001 +From 4db35c3559c7b70c617593f51cdde1e6a9f75376 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 172/234] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 172/251] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -157010,10 +157010,10 @@ index 5b8c7d5..2595dfd 100644 -#define DTC_VERSION "DTC 1.4.1-g9d3649bd" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From 0b913e25d5d9d0290cc63a6d6b2154d440da56c2 Mon Sep 17 00:00:00 2001 +From 04317cda235aa8627422fd132fe4bbb19036f4a5 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Thu, 22 Oct 2015 23:30:04 +0300 -Subject: [PATCH 173/234] configfs: implement binary attributes +Subject: [PATCH 173/251] configfs: implement binary attributes ConfigFS lacked binary attributes up until now. This patch introduces support for binary attributes in a somewhat similar @@ -157662,10 +157662,10 @@ index 758a029..f7300d0 100644 * If allow_link() exists, the item can symlink(2) out to other * items. If the item is a group, it may support mkdir(2). -From 53622946808fde54db459134af4d03e094883840 Mon Sep 17 00:00:00 2001 +From 15c5929aef0ebd49a3afc31a307b0fa3e24a2923 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 174/234] OF: DT-Overlay configfs interface +Subject: [PATCH 174/251] OF: DT-Overlay configfs interface This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes. @@ -158081,10 +158081,10 @@ index 0000000..7b66deb +} +late_initcall(of_cfs_init); -From 18cfeae5235132b5db6c49ed966fbddc447b5c89 Mon Sep 17 00:00:00 2001 +From ee377daa5f1e9811fa04bbf254f4930ed5c7c9c5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 175/234] Protect __release_resource against resources without +Subject: [PATCH 175/251] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -158112,10 +158112,10 @@ index 249b1eb..eb973a5 100644 for (;;) { tmp = *p; -From 992eefefd8d6a5ef59491bc900d13747068dab3c Mon Sep 17 00:00:00 2001 +From fa4cb194572f56c3ab11913af77d31084b8f40e5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 20:00:21 +0000 -Subject: [PATCH 176/234] BCM270X_DT: Add a .dtbo target, use for overlays +Subject: [PATCH 176/251] BCM270X_DT: Add a .dtbo target, use for overlays Change the filenames and extensions to keep the pre-DDT style of overlay (-overlay.dtb) distinct from new ones that use a @@ -158312,10 +158312,10 @@ index 79e8661..7209d62 100644 # Bzip2 -From d467a9ff0718d4c2cac2d6bbd273be4c81f5ffaf Mon Sep 17 00:00:00 2001 +From 3c760a6a8f336bfb891214091b71bc3408c93b6f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 May 2015 11:18:58 +0100 -Subject: [PATCH 177/234] scripts/knlinfo: Decode DDTK atom +Subject: [PATCH 177/251] scripts/knlinfo: Decode DDTK atom Show the DDTK atom as being a boolean. @@ -158346,10 +158346,10 @@ index b9ef124..263ec93 100755 sub format_int -From 569826fad285415f3f662f467c0e6d70ba6e24b0 Mon Sep 17 00:00:00 2001 +From 2db1009fef8b23bac3b3ae61dd1382bffb0827b1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 May 2015 11:48:59 +0100 -Subject: [PATCH 178/234] Enable Dynamic Device Tree for bcmrpi_defconfig and +Subject: [PATCH 178/251] Enable Dynamic Device Tree for bcmrpi_defconfig and bcm2709_defconfig Signed-off-by: Phil Elwell @@ -158391,10 +158391,10 @@ index f09be87..2db41e6 100644 CONFIG_ZRAM_LZ4_COMPRESS=y CONFIG_BLK_DEV_LOOP=y -From b5c6d0cfa66fd1dfb8a39f8e80187d13aef072cf Mon Sep 17 00:00:00 2001 +From efe315038fd3581998bf6c93f432ac6cf85bb53f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 13 Mar 2016 16:14:44 +0000 -Subject: [PATCH 179/234] SQUASH: Add CONFIG_OF_CONFIGFS to bcmrpi_defconfig +Subject: [PATCH 179/251] SQUASH: Add CONFIG_OF_CONFIGFS to bcmrpi_defconfig Signed-off-by: Phil Elwell --- @@ -158423,10 +158423,10 @@ index 2db41e6..74149cf 100644 CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m -From 2407bd2c947d9d588976ccb4bfafd0ba3ee02a6d Mon Sep 17 00:00:00 2001 +From 558d3a84b6363b021f77f138615cbf7b72c6f38c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 14 Mar 2016 16:56:54 +0000 -Subject: [PATCH 180/234] dts, kbuild: dtbs_install installs .dtbo files too +Subject: [PATCH 180/251] dts, kbuild: dtbs_install installs .dtbo files too Signed-off-by: Phil Elwell --- @@ -158468,10 +158468,10 @@ index 1c15717..43647b3 100644 .PHONY: $(PHONY) -From df9a9b056dc720c57f8444bf177c01cba0549d94 Mon Sep 17 00:00:00 2001 +From 3df4e691dcda317e661b026201c28db902be6830 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Mar 2016 14:10:29 +0000 -Subject: [PATCH 181/234] bcm2835-sdhost: Workaround for "slow" sectors +Subject: [PATCH 181/251] bcm2835-sdhost: Workaround for "slow" sectors Some cards have been seen to cause timeouts after certain sectors are read. This workaround enforces a minimum delay between the stop after @@ -158589,10 +158589,10 @@ index 4cc4272..f43aae0 100644 } } else { -From df34119f3390421137e5fd4a27a54c54299fb152 Mon Sep 17 00:00:00 2001 +From 16f0b8c220be3459c873578037994693c7e025d1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Mar 2016 15:49:16 +0000 -Subject: [PATCH 182/234] BCM270X_DT: Add labels to spidev nodes +Subject: [PATCH 182/251] BCM270X_DT: Add labels to spidev nodes Signed-off-by: Phil Elwell --- @@ -158714,10 +158714,10 @@ index 2cb7d43..1ce4ea2 100644 reg = <1>; /* CE1 */ #address-cells = <1>; -From 40a8cebad2744813005953f297e5bc96416d0186 Mon Sep 17 00:00:00 2001 +From 320ed2194edfdcd5fcc93772a353b7480fd4aa5a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Mar 2016 16:27:26 +0000 -Subject: [PATCH 183/234] BCM270X_DT: Use spidev labels in overlays +Subject: [PATCH 183/251] BCM270X_DT: Use spidev labels in overlays --- arch/arm/boot/dts/overlays/ads7846-overlay.dts | 22 ++++++++++------- @@ -159371,10 +159371,10 @@ index f7102c8..33c0651 100644 __overlay__ { keypad: keypad { -From 4378886deeb169b11164e5514339242ec22d3d08 Mon Sep 17 00:00:00 2001 +From 19da6ff34954c7a0c2aecef0451463522ea24ca1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Mar 2016 16:41:37 +0000 -Subject: [PATCH 184/234] BCM270X_DT: Build and document the wittypi overlay +Subject: [PATCH 184/251] BCM270X_DT: Build and document the wittypi overlay Signed-off-by: Phil Elwell --- @@ -159428,10 +159428,10 @@ index be5987d..8498134 100644 }; -From be3805c1c13fc147e3f31122370b7aaf8088ebc2 Mon Sep 17 00:00:00 2001 +From e45f33c187edcda0e4affe6930068deadebf8b6c Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 15 Mar 2016 21:13:39 +0100 -Subject: [PATCH 185/234] scripts/dtc: Fix UMR causing corrupt dtbo overlay +Subject: [PATCH 185/251] scripts/dtc: Fix UMR causing corrupt dtbo overlay files struct fixup_entry is allocated from the heap but it's member @@ -159458,10 +159458,10 @@ index 540a3ea..2b3b3a7 100644 /* append it to the local fixups */ fep = &dt->local_fixups; -From 56bd21103cd7b57b1377f291b88cb894249ff4d4 Mon Sep 17 00:00:00 2001 +From e45af7e57db63c4bd5d0ad7fe400cfdd36df42d4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 16 Mar 2016 08:35:06 +0000 -Subject: [PATCH 186/234] BCM270X_DT: Add dtparam for uart1 +Subject: [PATCH 186/251] BCM270X_DT: Add dtparam for uart1 Signed-off-by: Phil Elwell --- @@ -159548,10 +159548,10 @@ index d939739..4ce7921 100644 (default "off") -From d3315968f5772cb7736266382772a4188c9915a7 Mon Sep 17 00:00:00 2001 +From 3f7271f5e6747663f2db11f01721ee60961e0178 Mon Sep 17 00:00:00 2001 From: Przemek Rudy Date: Fri, 11 Mar 2016 22:41:26 +0100 -Subject: [PATCH 187/234] dwc-overlay: Use label so overrides can apply. +Subject: [PATCH 187/251] dwc-overlay: Use label so overrides can apply. --- arch/arm/boot/dts/overlays/dwc2-overlay.dts | 10 +++++----- @@ -159585,10 +159585,10 @@ index 90c9811..527abc9 100644 }; }; -From f55f58faaa81f7149b790c50e6a2a0b569eba7aa Mon Sep 17 00:00:00 2001 +From 5b7b03b9220d45e9fa99c2f9c73a08792cc4684b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 22 Jan 2016 13:06:39 -0800 -Subject: [PATCH 188/234] drm/vc4: Add a debugfs node for tracking execution +Subject: [PATCH 188/251] drm/vc4: Add a debugfs node for tracking execution state. Signed-off-by: Eric Anholt @@ -159648,10 +159648,10 @@ index 39f29e7..1243f4e 100644 vc4_queue_hangcheck(struct drm_device *dev) { -From db80fdfab4984ebddef8b2af3ace7af51dfd72f1 Mon Sep 17 00:00:00 2001 +From 04fb589070fd36693251a40ceb61743bb3a0c2c6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:03:33 -0800 -Subject: [PATCH 189/234] drm/vc4: Include vc4_drm.h in uapi in downstream +Subject: [PATCH 189/251] drm/vc4: Include vc4_drm.h in uapi in downstream build. Signed-off-by: Eric Anholt @@ -159672,10 +159672,10 @@ index 38d4370..23381b5 100644 header-y += vmwgfx_drm.h header-y += msm_drm.h -From 7326e457847d09cd6becc34523e13fdebce82083 Mon Sep 17 00:00:00 2001 +From 3472309b991f5f8c75a655d2f077a1eb632af3cf Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:05:00 -0800 -Subject: [PATCH 190/234] drm/vc4: Validate that WAIT_BO padding is cleared. +Subject: [PATCH 190/251] drm/vc4: Validate that WAIT_BO padding is cleared. This is ABI future-proofing if we ever want to extend the pad to mean something. @@ -159700,10 +159700,10 @@ index 1243f4e..849d374 100644 if (!gem_obj) { DRM_ERROR("Failed to look up GEM BO %d\n", args->handle); -From dc2af742af507ba0594902be52296d191a3ebfae Mon Sep 17 00:00:00 2001 +From fc63883845d0d69d746b00a54d8cf2aaf2db30a5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:52:41 -0800 -Subject: [PATCH 191/234] drm/vc4: Fix the clear color for the first tile +Subject: [PATCH 191/251] drm/vc4: Fix the clear color for the first tile rendered. Apparently in hardware (as opposed to simulation), the clear colors @@ -159752,10 +159752,10 @@ index 8a2a312..dea97f4 100644 for (x = min_x_tile; x <= max_x_tile; x++) { bool first = (x == min_x_tile && y == min_y_tile); -From 583809919eca83b08415654e13f6a86013898ebf Mon Sep 17 00:00:00 2001 +From 6128659e9deeb8f7b15a0e8bb9e4e974afe39064 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 14:13:12 -0800 -Subject: [PATCH 192/234] drm/vc4: Return an ERR_PTR from BO creation instead +Subject: [PATCH 192/251] drm/vc4: Return an ERR_PTR from BO creation instead of NULL. Fixes igt vc4_create_bo/create-bo-0 by returning -EINVAL from the @@ -159900,10 +159900,10 @@ index 0fb5b99..8396960 100644 /* tile alloc address. */ -From 8ed27b5631519f044dcf975413884aaaa8088fb6 Mon Sep 17 00:00:00 2001 +From e62f39b87fb3577d0c154ee50459a8d0b83865ca Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 14:32:41 -0800 -Subject: [PATCH 193/234] drm/vc4: Fix -ERESTARTSYS error return from BO waits. +Subject: [PATCH 193/251] drm/vc4: Fix -ERESTARTSYS error return from BO waits. This caused the wait ioctls to claim that waiting had completed when we actually got interrupted by a signal before it was done. Fixes @@ -159935,10 +159935,10 @@ index f8c003a..dc3044d 100644 static void -From 47358baecb8cf02bd4145b2f5c1aa1b8431519df Mon Sep 17 00:00:00 2001 +From 7942d03413ee330d2fb041dc62dabc8ce738cc0c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 14:33:50 -0800 -Subject: [PATCH 194/234] drm/vc4: Drop error message on seqno wait timeouts. +Subject: [PATCH 194/251] drm/vc4: Drop error message on seqno wait timeouts. These ioctls end up getting exposed to userspace, and having normal user requests print DRM errors is obviously wrong. The message was @@ -159965,10 +159965,10 @@ index dc3044d..a6fa63f 100644 } -From aeaf5cc198e41bfeea81a41173b0ed3e6765f9ac Mon Sep 17 00:00:00 2001 +From 9ceac017a764704d9919a494590e8fea0e458adc Mon Sep 17 00:00:00 2001 From: campag Date: Wed, 24 Feb 2016 16:45:42 +0000 -Subject: [PATCH 195/234] BCM270X_DT: Add 1-bit SDIO using minimal pins... +Subject: [PATCH 195/251] BCM270X_DT: Add 1-bit SDIO using minimal pins... ... for that mode: GPIOs 22-25. --- @@ -160052,10 +160052,10 @@ index 0000000..46d4538 + }; +}; -From 786a7be1c732a5d54c6d72bd58bfbd07d6a1310d Mon Sep 17 00:00:00 2001 +From 6dd9dc84456f9341739f6c6d2c7d5b1f08d5c8fe Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 196/234] brcm: adds support for BCM43341 wifi +Subject: [PATCH 196/251] brcm: adds support for BCM43341 wifi --- drivers/net/wireless/brcm80211/brcmfmac/sdio.c | 5 +++++ @@ -160105,10 +160105,10 @@ index aa06ea2..f3ae83d 100644 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From 5f13d4fdf83a21813e952e9eb4d9571f32190d36 Mon Sep 17 00:00:00 2001 +From 0702cbfdf586a8c1b67d28cdfc84a0623c8b12f1 Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Fri, 29 Jan 2016 12:00:37 +0100 -Subject: [PATCH 197/234] Add overlay and enable support for QCA7000 board +Subject: [PATCH 197/251] Add overlay and enable support for QCA7000 board This adds a device tree overlay for the QCA7000 which can be used when attaching an I2SE's PLC Stamp micro EVK to the Raspberry Pi. @@ -160244,10 +160244,10 @@ index 74149cf..e720c74 100644 CONFIG_PPP=m CONFIG_PPP_BSDCOMP=m -From c8a7d7fd820fc9c3983f1ada46f70272bc80984c Mon Sep 17 00:00:00 2001 +From 5fbc1847fdefcf563be0c51ffc07de6666036ba6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 13:28:24 +0000 -Subject: [PATCH 198/234] serial: Take care starting a hung-up tty's port +Subject: [PATCH 198/251] serial: Take care starting a hung-up tty's port tty_port_hangup sets a port's tty field to NULL (holding the port lock), but uart_tx_stopped, called from __uart_start (with the port lock), @@ -160275,10 +160275,10 @@ index 297d4fa..00ce6c6 100644 return 0; } -From 2f146ce902d611f142d2e868d46ade1376b9c3cc Mon Sep 17 00:00:00 2001 +From b8127d80609179210ae5ceea4929391991dbce9a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Mar 2016 10:16:16 +0000 -Subject: [PATCH 199/234] pi3-miniuart-bt-overlay: Correct and clarify info +Subject: [PATCH 199/251] pi3-miniuart-bt-overlay: Correct and clarify info Signed-off-by: Phil Elwell --- @@ -160321,10 +160321,10 @@ index f07afcb..38ed33b 100644 If cmdline.txt uses the alias serial0 to refer to the user-accessable port then the firmware will replace with the appropriate port whether or not -From 757f32b50c7ba8b7f30c4d7dcf3898577320c9b3 Mon Sep 17 00:00:00 2001 +From ee65eba2fa76dc0ca35f2c74ec655f89d9d33b13 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Mar 2016 10:41:56 +0000 -Subject: [PATCH 200/234] pwm overlays: Params must have in-overlay targets +Subject: [PATCH 200/251] pwm overlays: Params must have in-overlay targets --- arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts | 9 ++++++++- @@ -160378,10 +160378,10 @@ index ddd67ff..bf030a6 100644 }; }; -From 797a49072e2732377e4ffd24632bfcc6668e41ab Mon Sep 17 00:00:00 2001 +From 62279457d4e5c3a132a0c8fe60c0d9c51c3edd9d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 18 Mar 2016 13:06:29 +0000 -Subject: [PATCH 201/234] BCM270X_DT: Switch Compute Module to MMC +Subject: [PATCH 201/251] BCM270X_DT: Switch Compute Module to MMC Signed-off-by: Phil Elwell --- @@ -160434,10 +160434,10 @@ index e09e499..90e330d 100644 }; }; -From 98fe5a7c56282fdca645293b66dca84fc9328a87 Mon Sep 17 00:00:00 2001 +From 82ecf79397939c59b5b50cd683b823e1233568f7 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 18 Mar 2016 17:38:37 +0000 -Subject: [PATCH 202/234] dwc_otg: Don't free qh align buffers in atomic +Subject: [PATCH 202/251] dwc_otg: Don't free qh align buffers in atomic context --- @@ -160481,10 +160481,10 @@ index acd0dd7..3b2a607 100644 } -From e98dcafb381c113931135382f12a532f23844b27 Mon Sep 17 00:00:00 2001 +From 6e02745d8e2fc480d3442e6adaf4547e100611b5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 21 Mar 2016 15:38:38 +0000 -Subject: [PATCH 203/234] dwc_otg: Enable the hack for Split Interrupt +Subject: [PATCH 203/251] dwc_otg: Enable the hack for Split Interrupt transactions by default dwc_otg.fiq_fsm_mask=0xF has long been a suggestion for users with audio stutters or other USB bandwidth issues. @@ -160512,10 +160512,10 @@ index 95edadf..cb060a7 100644 /** * This function shows the Driver Version. -From 1b1b27f51fb1e3fcb84bb943b5479cb04e8ec26a Mon Sep 17 00:00:00 2001 +From 6a2fc8f71762aab14aee7311f8b7cd94aa316773 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 19 Mar 2016 16:51:37 +0000 -Subject: [PATCH 204/234] BCM270X_DT: Remove explicit claiming of UART pins +Subject: [PATCH 204/251] BCM270X_DT: Remove explicit claiming of UART pins It is convenient to be able to map a different function to the UART pins (e.g. DPI for vga666) without having to disable the UART first. @@ -160608,10 +160608,10 @@ index 38ed33b..17d04cf 100644 __overlay__ { serial0 = "/soc/uart@7e201000"; -From e737973b851afacf68ad47469e18f24737b2a7a6 Mon Sep 17 00:00:00 2001 +From 403390e94d98b9f7b6f41397b04b2f29900cdcb0 Mon Sep 17 00:00:00 2001 From: Rodrigo Freire Date: Tue, 22 Mar 2016 12:40:33 -0300 -Subject: [PATCH 205/234] lirc_rpi: Lower IR reception error to debug +Subject: [PATCH 205/251] lirc_rpi: Lower IR reception error to debug Lowers a IR reception error condition message to KERNEL_DEBUG --- @@ -160632,10 +160632,10 @@ index cd09c99..0624439 100644 signal, sense, tv.tv_sec, lasttv.tv_sec, tv.tv_usec, lasttv.tv_usec); -From da7c5fdbb291ead09fb343ee0637baa41531f336 Mon Sep 17 00:00:00 2001 +From 0fb8769fe60a8bba6f871ff6d91a04fb7950b67d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 14:16:25 +0000 -Subject: [PATCH 206/234] vchiq_arm: Access the dequeue_pending flag locked +Subject: [PATCH 206/251] vchiq_arm: Access the dequeue_pending flag locked Reading through this code looking for another problem (now found in userland) the use of dequeue_pending outside a lock didn't seem safe. @@ -160693,10 +160693,10 @@ index e11c0e0..71883e5 100644 return add_completion(instance, reason, header, user_service, -From 2c4d8a6860d02b367d8812216d904e5de0ff0018 Mon Sep 17 00:00:00 2001 +From 797c1c2110ba155df9fbdb44a7c052f7beeb0a50 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 15:57:14 +0000 -Subject: [PATCH 207/234] BCM270X_DT: Add pi3-act-led overlay +Subject: [PATCH 207/251] BCM270X_DT: Add pi3-act-led overlay Signed-off-by: Phil Elwell --- @@ -160795,10 +160795,10 @@ index 0000000..14a59dc + }; +}; -From 4b406588ecc5e136f67c35b3ba5e6c831023d1a1 Mon Sep 17 00:00:00 2001 +From 6de376456d86ba0211a2e8c10cf50fda9f3b6e20 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 20:53:47 +0000 -Subject: [PATCH 208/234] vchiq_arm: Service callbacks must not fail +Subject: [PATCH 208/251] vchiq_arm: Service callbacks must not fail Service callbacks are not allowed to return an error. The internal callback that delivers events and messages to user tasks does not enqueue them if @@ -160824,10 +160824,10 @@ index 71883e5..a5cc385 100644 DEBUG_TRACE(SERVICE_CALLBACK_LINE); } -From a1144c5ebde67a6380ee115b089477ff135c8442 Mon Sep 17 00:00:00 2001 +From 4793b34f7a3f71b1acfcd769b8d25fdcbb01b2cd Mon Sep 17 00:00:00 2001 From: Dave Stevenson <6by9@users.noreply.github.com> Date: Thu, 17 Mar 2016 18:16:16 +0000 -Subject: [PATCH 209/234] Add configs and overlay for PCA9548 I2C mux +Subject: [PATCH 209/251] Add configs and overlay for PCA9548 I2C mux Adds kernel configs for I2C muxes and a dt overlay for PCA9548 that adds the 8 muxed I2C buses and mux device. @@ -160969,10 +160969,10 @@ index e720c74..f6e2d84 100644 CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m -From 3473f0de2273bcc8921dbf51d4bdecfd3df83d39 Mon Sep 17 00:00:00 2001 +From 77700bbcd5dc6285892ea67acba46e45c3341b66 Mon Sep 17 00:00:00 2001 From: Nicolas Boullis Date: Wed, 23 Mar 2016 23:40:15 +0100 -Subject: [PATCH 210/234] BCM270X_DT: Add DS1339 to i2c-rtc overlay +Subject: [PATCH 210/251] BCM270X_DT: Add DS1339 to i2c-rtc overlay --- arch/arm/boot/dts/overlays/README | 4 ++++ @@ -161032,10 +161032,10 @@ index fed4bd8..eecec16 100644 }; }; -From dad9bd19647609da9823dca157737537b2372d3f Mon Sep 17 00:00:00 2001 +From c17b3228544635d56826292c0989d2e944917148 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 29 Mar 2016 15:32:30 +0100 -Subject: [PATCH 211/234] copy_from_user: CPU_SW_DOMAIN_PAN compatibility +Subject: [PATCH 211/251] copy_from_user: CPU_SW_DOMAIN_PAN compatibility The downstream copy_from_user acceleration must also play nice with CONFIG_CPU_SW_DOMAIN_PAN. @@ -161088,10 +161088,10 @@ index c29df92..6681df5 100644 static unsigned long noinline -From ef1e082fb7d83d867ca9a24f8236ec42c6c73951 Mon Sep 17 00:00:00 2001 +From 6abb732a5e79d2ab8384b6b70fd17e5347f59d0e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 16:33:09 +0100 -Subject: [PATCH 212/234] bcm2835-sdhost: Adjust to core clock changes +Subject: [PATCH 212/251] bcm2835-sdhost: Adjust to core clock changes The SDHOST block uses the core clock, so previously it has been necessary to prevent the core clock from changing in order to maintain @@ -161432,10 +161432,10 @@ index f43aae0..1deecef 100644 bcm2835_sdhost_set_power(host, false); -From 3d5fd3b064b7f284caaf71734be701d7222ab92b Mon Sep 17 00:00:00 2001 +From 788985576c5b7f413466d4ea5e1b9c471ff2b7fc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 17:07:15 +0100 -Subject: [PATCH 213/234] BCM270X_DT: Document hazards of sdhost overlay +Subject: [PATCH 213/251] BCM270X_DT: Document hazards of sdhost overlay Signed-off-by: Phil Elwell --- @@ -161469,10 +161469,10 @@ index e88e7c8..337be4a 100644 Params: overclock_50 Clock (in MHz) to use when the MMC framework requests 50MHz -From 2e65d41c01b25c2f0c492d08e075e73652487482 Mon Sep 17 00:00:00 2001 +From 58fb42a1ecf4bec15d3236183955f4b54f199e75 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 17:23:15 +0100 -Subject: [PATCH 214/234] cpufreq: Temporarily ignore io_is_busy=1 +Subject: [PATCH 214/251] cpufreq: Temporarily ignore io_is_busy=1 To speed testing of the new sdhost driver that adapts to changes in core_freq, hack the on-demand governor to treat io_is_busy=1 as @@ -161503,10 +161503,10 @@ index 03ac6ce..99a9610 100644 /* we need to re-evaluate prev_cpu_idle */ for_each_online_cpu(j) { -From 8bfcac27c6e044ce4b8575fcaec2c6a0e81caa27 Mon Sep 17 00:00:00 2001 +From 8bf41d1b2f41d6af2c196497168d3cc8f97a0071 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 20:18:38 +0100 -Subject: [PATCH 215/234] Revert "cpufreq: Temporarily ignore io_is_busy=1" +Subject: [PATCH 215/251] Revert "cpufreq: Temporarily ignore io_is_busy=1" This reverts commit 2af1218a8a0220fec526f64d03977b8451afb4c8. --- @@ -161532,10 +161532,10 @@ index 99a9610..03ac6ce 100644 /* we need to re-evaluate prev_cpu_idle */ for_each_online_cpu(j) { -From 6c18ab269d6fecd2af4592eef76d736673ee6e5c Mon Sep 17 00:00:00 2001 +From f9634b17e0d05988abbe329efd4b9eee59aadb0c Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Thu, 7 Jan 2016 15:50:22 +0100 -Subject: [PATCH 216/234] net, sched: add skb_at_tc_ingress helper +Subject: [PATCH 216/251] net, sched: add skb_at_tc_ingress helper Add a skb_at_tc_ingress() as this will be needed elsewhere as well and can hide the ugly ifdef. @@ -161587,10 +161587,10 @@ index 5faaa54..b3c8bb4 100644 if (unlikely(!skb_mac_header_was_set(skb))) -From 0d1b178dacce1dd75fc5bf4b7ff493a46736e70c Mon Sep 17 00:00:00 2001 +From de42773e4545e48e35472cdf01f1bcb7af1f27cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Wed, 24 Feb 2016 04:21:42 +0100 -Subject: [PATCH 217/234] net: fix bridge multicast packet checksum validation +Subject: [PATCH 217/251] net: fix bridge multicast packet checksum validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -161665,10 +161665,10 @@ index 5bf88f5..8616d11 100644 if (ret) goto err; -From 4d5955a2a51ca2caf2d703832aaeee0953e21490 Mon Sep 17 00:00:00 2001 +From 2c0f60ed53c5a180397b2b740bbf796e09471012 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Thu, 7 Jan 2016 15:50:23 +0100 -Subject: [PATCH 218/234] bpf: add skb_postpush_rcsum and fix dev_forward_skb +Subject: [PATCH 218/251] bpf: add skb_postpush_rcsum and fix dev_forward_skb occasions Add a small helper skb_postpush_rcsum() and fix up redirect locations @@ -161794,10 +161794,10 @@ index 37157c4..6e337ea 100644 skb->dev = dev; skb_sender_cpu_clear(skb); -From 4cc63615777c6bc447eb9a7175f663f9fc39983d Mon Sep 17 00:00:00 2001 +From 67ba5d253f79ddbf1c28d7e3cb48efd0b845f87c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 31 Mar 2016 15:44:53 +0100 -Subject: [PATCH 219/234] bcm2835-sdhost: Precalc divisors and overclocks +Subject: [PATCH 219/251] bcm2835-sdhost: Precalc divisors and overclocks Recalculating the clock divisors when the core clock changes is wasteful and makes it harder to manage the overclock settings. Instead, @@ -162068,10 +162068,10 @@ index 1deecef..cc18ec8 100644 pr_debug("bcm2835_sdhost_probe -> OK\n"); -From 14e3b7b73d1f16d98516c803af1e1ca0e51038f0 Mon Sep 17 00:00:00 2001 +From 7a21e0c9d567d27b000ef8350ee503776720852d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 4 Apr 2016 12:35:32 +0100 -Subject: [PATCH 220/234] Revert "bcm2835-sdhost: Precalc divisors and +Subject: [PATCH 220/251] Revert "bcm2835-sdhost: Precalc divisors and overclocks" This reverts commit 20260462773366a5734e5268dae0a4c179a21a2d. @@ -162339,10 +162339,10 @@ index cc18ec8..1deecef 100644 pr_debug("bcm2835_sdhost_probe -> OK\n"); -From 4c77ab3471804f1f051b004369152a7b0759c506 Mon Sep 17 00:00:00 2001 +From a44f96721ff123198ef527c1471425cc5e2ee1b1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 4 Apr 2016 12:35:51 +0100 -Subject: [PATCH 221/234] Revert "bcm2835-sdhost: Adjust to core clock changes" +Subject: [PATCH 221/251] Revert "bcm2835-sdhost: Adjust to core clock changes" This reverts commit 4b89d07fd299a0f4e25321920cb74416ba2e638e. --- @@ -162671,10 +162671,10 @@ index 1deecef..f43aae0 100644 bcm2835_sdhost_set_power(host, false); -From 18886054f90b47848c81b1cc786ec809d97b6b01 Mon Sep 17 00:00:00 2001 +From 99a50a0418f27f7b894ee9668b2ed02b435c9113 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 4 Apr 2016 16:03:18 +0100 -Subject: [PATCH 222/234] bcm2835-sdhost: Firmware manages the clock divisor +Subject: [PATCH 222/251] bcm2835-sdhost: Firmware manages the clock divisor The bcm2835-sdhost driver hands control of the CDIV clock divisor register to matching firmware, allowing it to adjust to a changing @@ -162900,10 +162900,10 @@ index c844968..e312e9c 100644 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 2cc0c036570e76548d3d54d7e1c02443380280e7 Mon Sep 17 00:00:00 2001 +From 3a3bd335bf71e17af13de24423c806f9a26480b7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 4 Apr 2016 19:52:27 +0100 -Subject: [PATCH 223/234] Revert "Revert "cpufreq: Temporarily ignore +Subject: [PATCH 223/251] Revert "Revert "cpufreq: Temporarily ignore io_is_busy=1"" This reverts commit c353af0f83220068c10f6593b1767576b9b6cc18. @@ -162930,10 +162930,10 @@ index 03ac6ce..99a9610 100644 /* we need to re-evaluate prev_cpu_idle */ for_each_online_cpu(j) { -From 9436ca6258a029365e97604158214324914f43c8 Mon Sep 17 00:00:00 2001 +From 82caca6544d42613722befb52dd121bd9c7d8159 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 31 Mar 2016 16:49:52 +0100 -Subject: [PATCH 224/234] config: Enabled IPV6_SUBTREES +Subject: [PATCH 224/251] config: Enabled IPV6_SUBTREES --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -162965,10 +162965,10 @@ index f6e2d84..060ec5f 100644 CONFIG_IP_ROUTE_VERBOSE=y CONFIG_IP_PNP=y -From a92cb9e6067e9e599a5c559d77909929a99854fd Mon Sep 17 00:00:00 2001 +From 67cf7c950c17a731c934a3b30b474cb8886744c5 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 225/234] add smsc95xx packetsize module_param +Subject: [PATCH 225/251] add smsc95xx packetsize module_param Signed-off-by: Sam Nazarko --- @@ -163010,10 +163010,10 @@ index a61bd08..3c23b11 100644 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 2aee7f4935f5b7d808ac81d4ec4c0588143cb27e Mon Sep 17 00:00:00 2001 +From fd1df6d4b4d6ebf352da378dcca5965297b242ec Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 226/234] reboot: Use power off rather than busy spinning when +Subject: [PATCH 226/251] reboot: Use power off rather than busy spinning when halt is requested --- @@ -163038,10 +163038,10 @@ index 3826935..2cd6af2 100644 /* -From c927274d3b5f1da9a457a57bbd1b2860777faf48 Mon Sep 17 00:00:00 2001 +From d1766b543e9362da3ed16d5b03828a67214e7476 Mon Sep 17 00:00:00 2001 From: HiassofT Date: Wed, 6 Apr 2016 21:45:01 +0200 -Subject: [PATCH 227/234] Revert "bcm2835-dma: Fix dreq not set for slave +Subject: [PATCH 227/251] Revert "bcm2835-dma: Fix dreq not set for slave transfers" This reverts commit 8ad957e866a1fe1450f663f2b00a57d7de44904c. @@ -163073,10 +163073,10 @@ index 985019b..d26b6bd 100644 return 0; } -From 08d5dba5adf90fbcbd4a480c9be2d701710e5206 Mon Sep 17 00:00:00 2001 +From 68172482aa367aa118a7a46537206c817669b10c Mon Sep 17 00:00:00 2001 From: Dave Stevenson <6by9@users.noreply.github.com> Date: Fri, 1 Apr 2016 15:28:46 +0100 -Subject: [PATCH 228/234] RPi config: Add CONFIG_PWM_PCA9685 for NXP PCA9685 +Subject: [PATCH 228/251] RPi config: Add CONFIG_PWM_PCA9685 for NXP PCA9685 driver over I2C Includes DT overlay to configure it. @@ -163177,10 +163177,10 @@ index 060ec5f..acda16b 100644 CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y -From 621c9797f5e53c515f436ff8d4386083872b3531 Mon Sep 17 00:00:00 2001 +From 3d3c095375d6ac4508dc49a80d615b1fd56eb12a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 8 Apr 2016 17:43:27 +0100 -Subject: [PATCH 229/234] BCM270X_DT: Don't generate "linux,phandle" props +Subject: [PATCH 229/251] BCM270X_DT: Don't generate "linux,phandle" props The EPAPR standard says to use "phandle" properties to store phandles, rather than the deprecated "linux,phandle" version. By default, dtc @@ -163218,10 +163218,10 @@ index 7209d62..3079c4f 100644 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -From dff9d538a4b43b3f37beb13767692c0e8c4ca7ac Mon Sep 17 00:00:00 2001 +From 5cec9f4a5fb37bc1041c351ab309001c4f9f9d1d Mon Sep 17 00:00:00 2001 From: 6by9 <6by9@users.noreply.github.com> Date: Fri, 8 Apr 2016 18:15:43 +0100 -Subject: [PATCH 230/234] V4L2 driver updates (#1393) +Subject: [PATCH 230/251] V4L2 driver updates (#1393) * BCM2835-V4L2: Correct ISO control and add V4L2_CID_ISO_SENSITIVITY_AUTO @@ -163944,10 +163944,10 @@ index aa0fd18..f6abb5c 100644 + flashes[MMAL_PARAMETER_CAMERA_INFO_MAX_FLASHES]; +}; -From d81fdb740f3dde1fc4a2a32c71c31ddb24a285e0 Mon Sep 17 00:00:00 2001 +From 4366809281c7cf500e97f9a113cb1234d273aed3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 Apr 2016 12:50:58 +0100 -Subject: [PATCH 231/234] bcm2835-sdhost: Reset the clock in task context +Subject: [PATCH 231/251] bcm2835-sdhost: Reset the clock in task context Since reprogramming the clock can now involve a round-trip to the firmware it must not be done at atomic context, and a tasklet @@ -164054,10 +164054,10 @@ index 54087b2..a57faed 100644 host->pio_limit = 1; host->max_delay = 1; /* Warn if over 1ms */ -From 8408669aa8e6eb61ef750d6f3b233d727f8c3025 Mon Sep 17 00:00:00 2001 +From 37e270746e49ee6bf0e7a8404503e67364519ce2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 7 Apr 2016 12:44:24 +0100 -Subject: [PATCH 232/234] config: Enable CONFIG_IPV6_ROUTER_PREF for networks +Subject: [PATCH 232/251] config: Enable CONFIG_IPV6_ROUTER_PREF for networks with multiple routers --- @@ -164090,10 +164090,10 @@ index acda16b..59026b3 100644 CONFIG_INET6_ESP=m CONFIG_INET6_IPCOMP=m -From c7a28efacd9fd4b26554c661d819c1c35ed93c05 Mon Sep 17 00:00:00 2001 +From aa9f1aedb9a495b6688cc30a17a0b01c3ab03f8c Mon Sep 17 00:00:00 2001 From: jochenberger Date: Thu, 7 Apr 2016 21:38:46 +0200 -Subject: [PATCH 233/234] Enable hid-betopff module +Subject: [PATCH 233/251] Enable hid-betopff module Add force feedback support for Betop based devices https://github.com/raspberrypi/linux/blob/rpi-4.1.y/drivers/hid/hid-betopff.c @@ -164127,10 +164127,10 @@ index 59026b3..ac9287f 100644 CONFIG_HID_CHICONY=m CONFIG_HID_CYPRESS=m -From 258d5112d854cb9c2e302378ad20c1798a32b43c Mon Sep 17 00:00:00 2001 +From 51edceabf0a57229b0ccb3742640aefe4fcb161d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 12 Apr 2016 12:45:16 +0100 -Subject: [PATCH 234/234] config: Make IPV6 a module and regenerate with +Subject: [PATCH 234/251] config: Make IPV6 a module and regenerate with defconfig --- @@ -164201,3 +164201,1504 @@ index ac9287f..852751e 100644 CONFIG_SPI=y CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m + +From 037a9e0fd0cb7eeb947bb4dbff674833419dd7f7 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 5 Apr 2016 13:01:54 +0100 +Subject: [PATCH 235/251] BCM270X_DT: Add dpi24 overlay + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 8 +++++++ + arch/arm/boot/dts/overlays/dpi24-overlay.dts | 31 ++++++++++++++++++++++++++++ + 3 files changed, 40 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/dpi24-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 239c6a1..688ba0b 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -15,6 +15,7 @@ endif + dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo + dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo + dtbo-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += dpi24.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dwc2.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dwc-otg.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dht11.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 9df71a4..1438908 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -213,6 +213,14 @@ Params: gpiopin GPIO connected to the sensor's DATA output. + (default 4) + + ++Name: dpi24 ++Info: Overlay for a generic 24-bit DPI display ++ This uses GPIOs 0-27 (so no I2C, uart etc.), and activates the output ++ 2-3 seconds after the kernel has started. ++Load: dtoverlay=dpi24 ++Params: ++ ++ + Name: dwc-otg + Info: Selects the dwc_otg USB controller driver which has fiq support. This + is the default on all except the Pi Zero which defaults to dwc2. +diff --git a/arch/arm/boot/dts/overlays/dpi24-overlay.dts b/arch/arm/boot/dts/overlays/dpi24-overlay.dts +new file mode 100644 +index 0000000..e4dbe40 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/dpi24-overlay.dts +@@ -0,0 +1,31 @@ ++/dts-v1/; ++/plugin/; ++ ++/{ ++ compatible = "brcm,bcm2708"; ++ ++ // There is no DPI driver module, but we need a platform device ++ // node (that doesn't already use pinctrl) to hang the pinctrl ++ // reference on - leds will do ++ ++ fragment@0 { ++ target = <&leds>; ++ __overlay__ { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&dpi24_pins>; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&gpio>; ++ __overlay__ { ++ dpi24_pins: dpi24_pins { ++ brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11 ++ 12 13 14 15 16 17 18 19 20 ++ 21 22 23 24 25 26 27>; ++ brcm,function = <6>; /* alt2 */ ++ brcm,pull = <0>; /* no pull */ ++ }; ++ }; ++ }; ++}; + +From 8e95bfba2bfc4186ee007176c9d2f7c42c369312 Mon Sep 17 00:00:00 2001 +From: DigitalDreamtime +Date: Thu, 14 Apr 2016 00:57:33 +0100 +Subject: [PATCH 236/251] Modify IQAudIO DAC+ ASoC driver to set card/dai + config from dt + +Add the ability to set the card name, dai name and dai stream name, from +dt config. + +Signed-off-by: DigitalDreamtime +--- + sound/soc/bcm/iqaudio-dac.c | 13 ++++++++++--- + 1 file changed, 10 insertions(+), 3 deletions(-) + +diff --git a/sound/soc/bcm/iqaudio-dac.c b/sound/soc/bcm/iqaudio-dac.c +index a5eaa9e..b6b6dcf 100644 +--- a/sound/soc/bcm/iqaudio-dac.c ++++ b/sound/soc/bcm/iqaudio-dac.c +@@ -61,8 +61,6 @@ static struct snd_soc_ops snd_rpi_iqaudio_dac_ops = { + + static struct snd_soc_dai_link snd_rpi_iqaudio_dac_dai[] = { + { +- .name = "IQaudIO DAC", +- .stream_name = "IQaudIO DAC HiFi", + .cpu_dai_name = "bcm2708-i2s.0", + .codec_dai_name = "pcm512x-hifi", + .platform_name = "bcm2708-i2s.0", +@@ -76,7 +74,6 @@ static struct snd_soc_dai_link snd_rpi_iqaudio_dac_dai[] = { + + /* audio machine driver */ + static struct snd_soc_card snd_rpi_iqaudio_dac = { +- .name = "IQaudIODAC", + .owner = THIS_MODULE, + .dai_link = snd_rpi_iqaudio_dac_dai, + .num_links = ARRAY_SIZE(snd_rpi_iqaudio_dac_dai), +@@ -90,6 +87,7 @@ static int snd_rpi_iqaudio_dac_probe(struct platform_device *pdev) + + if (pdev->dev.of_node) { + struct device_node *i2s_node; ++ struct snd_soc_card *card = &snd_rpi_iqaudio_dac; + struct snd_soc_dai_link *dai = &snd_rpi_iqaudio_dac_dai[0]; + i2s_node = of_parse_phandle(pdev->dev.of_node, + "i2s-controller", 0); +@@ -103,6 +101,15 @@ static int snd_rpi_iqaudio_dac_probe(struct platform_device *pdev) + + digital_gain_0db_limit = !of_property_read_bool(pdev->dev.of_node, + "iqaudio,24db_digital_gain"); ++ if (of_property_read_string(pdev->dev.of_node, "card_name", ++ &card->name)) ++ card->name = "IQaudIODAC"; ++ if (of_property_read_string(pdev->dev.of_node, "dai_name", ++ &dai->name)) ++ dai->name = "IQaudIO DAC"; ++ if (of_property_read_string(pdev->dev.of_node, "dai_stream_name", ++ &dai->stream_name)) ++ dai->stream_name = "IQaudIO DAC HiFi"; + } + + ret = snd_soc_register_card(&snd_rpi_iqaudio_dac); + +From 7ea9f79b042605984245d4a0387f0e667fdc947c Mon Sep 17 00:00:00 2001 +From: DigitalDreamtime +Date: Thu, 14 Apr 2016 01:00:58 +0100 +Subject: [PATCH 237/251] Add support for the Digital Dreamtime Akkordion music + player. + +Support the Digital Dreamtime Akkordion using the OEM IQAudIO DAC+ or +DACZero modules. Set ALSA card name, ("Akkordion"), from dt config. + +Signed-off-by: DigitalDreamtime +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 20 ++++++++++ + .../dts/overlays/akkordion-iqdacplus-overlay.dts | 46 ++++++++++++++++++++++ + 3 files changed, 67 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 688ba0b..6bd6048 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -13,6 +13,7 @@ ifeq ($(CONFIG_ARCH_BCM2835),y) + endif + + dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += akkordion-iqdacplus.dtbo + dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo + dtbo-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dpi24.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 1438908..5d0887f 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -186,6 +186,26 @@ Params: cs SPI bus Chip Select (default 1) + www.kernel.org/doc/Documentation/devicetree/bindings/input/ads7846.txt + + ++Name: akkordion-iqdacplus ++Info: Configures the Digital Dreamtime Akkordion Music Player (based on the ++ OEM IQAudIO DAC+ or DAC Zero module). ++Load: dtoverlay=akkordion-iqdacplus,= ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. Enable with ++ dtoverlay=akkordion-iqdacplus,24db_digital_gain ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24db_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ + Name: at86rf233 + Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver, + connected to spi0.0 +diff --git a/arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts b/arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts +new file mode 100644 +index 0000000..47c7664 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts +@@ -0,0 +1,46 @@ ++// Definitions for Digital Dreamtime Akkordion using IQaudIO DAC+ or DACZero ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&sound>; ++ frag0: __overlay__ { ++ compatible = "iqaudio,iqaudio-dac"; ++ card_name = "Akkordion"; ++ dai_name = "IQaudIO DAC"; ++ dai_stream_name = "IQaudIO DAC HiFi"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&i2c1>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ pcm5122@4c { ++ #sound-dai-cells = <0>; ++ compatible = "ti,pcm5122"; ++ reg = <0x4c>; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ __overrides__ { ++ 24db_digital_gain = <&frag0>,"iqaudio,24db_digital_gain?"; ++ }; ++}; + +From 2544f9707d98c5d4251e0d6792a5a40016adedcb Mon Sep 17 00:00:00 2001 +From: Aaron Shaw +Date: Thu, 7 Apr 2016 21:26:21 +0100 +Subject: [PATCH 238/251] Add Support for BoomBerry Audio boards + +--- + arch/arm/boot/dts/overlays/Makefile | 2 + + arch/arm/boot/dts/overlays/README | 26 +++ + .../boot/dts/overlays/boomberry-dac-overlay.dts | 43 +++++ + .../boot/dts/overlays/boomberry-digi-overlay.dts | 39 ++++ + arch/arm/configs/bcm2709_defconfig | 2 + + arch/arm/configs/bcmrpi_defconfig | 2 + + sound/soc/bcm/Kconfig | 14 ++ + sound/soc/bcm/Makefile | 4 + + sound/soc/bcm/boomberry-dac.c | 163 ++++++++++++++++ + sound/soc/bcm/boomberry-digi.c | 215 +++++++++++++++++++++ + 10 files changed, 510 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/boomberry-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/boomberry-digi-overlay.dts + create mode 100644 sound/soc/bcm/boomberry-dac.c + create mode 100644 sound/soc/bcm/boomberry-digi.c + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 6bd6048..4842dc1 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -16,6 +16,8 @@ dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo + dtbo-$(RPI_DT_OVERLAYS) += akkordion-iqdacplus.dtbo + dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo + dtbo-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += boomberry-dac.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += boomberry-digi.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dpi24.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dwc2.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dwc-otg.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 5d0887f..eb5fc04 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -225,6 +225,32 @@ Load: dtoverlay=bmp085_i2c-sensor + Params: + + ++Name: boomberry-dac ++Info: Configures the BoomBerry DAC HAT, Amp HAT, DAC Zero and Amp Zero audio ++ cards ++Load: dtoverlay=boomberry-dac,= ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. Enable with ++ "dtoverlay=boomberry-dac,24db_digital_gain" ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24dB_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ ++Name: boomberry-digi ++Info: Configures the BoomBerry Digi HAT and Digi Zero audio cards ++Load: dtoverlay=boomberry-digi ++Params: ++ ++ + Name: dht11 + Info: Overlay for the DHT11/DHT21/DHT22 humidity/temperature sensors + Also sometimes found with the part number(s) AM230x. +diff --git a/arch/arm/boot/dts/overlays/boomberry-dac-overlay.dts b/arch/arm/boot/dts/overlays/boomberry-dac-overlay.dts +new file mode 100644 +index 0000000..0f7c9b0 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/boomberry-dac-overlay.dts +@@ -0,0 +1,43 @@ ++// Definitions for BoomBerry DAC ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&sound>; ++ frag0: __overlay__ { ++ compatible = "boomberry,boomberry-dac"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&i2c1>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ pcm5122@4d { ++ #sound-dai-cells = <0>; ++ compatible = "ti,pcm5122"; ++ reg = <0x4d>; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ __overrides__ { ++ 24db_digital_gain = <&frag0>,"boomberry,24db_digital_gain?"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/overlays/boomberry-digi-overlay.dts b/arch/arm/boot/dts/overlays/boomberry-digi-overlay.dts +new file mode 100644 +index 0000000..a86e1d0 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/boomberry-digi-overlay.dts +@@ -0,0 +1,39 @@ ++// Definitions for BoomBerry Digi ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&sound>; ++ __overlay__ { ++ compatible = "boomberry,boomberry-digi"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&i2c1>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ wm8804@3b { ++ #sound-dai-cells = <0>; ++ compatible = "wlf,wm8804"; ++ reg = <0x3b>; ++ status = "okay"; ++ }; ++ }; ++ }; ++}; +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 5a8ab1e..84ec380 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -853,6 +853,8 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m ++CONFIG_SNG_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 852751e..603ba04 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -845,6 +845,8 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m +diff --git a/sound/soc/bcm/Kconfig b/sound/soc/bcm/Kconfig +index 1a3f826..3383381 100644 +--- a/sound/soc/bcm/Kconfig ++++ b/sound/soc/bcm/Kconfig +@@ -50,6 +50,20 @@ config SND_BCM2708_SOC_RPI_PROTO + help + Say Y or M if you want to add support for Audio Codec Board PROTO (WM8731). + ++config SND_BCM2708_SOC_BOOMBERRY_DAC ++ tristate "Support for BoomBerry DAC" ++ depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S ++ select SND_SOC_PCM512x ++ help ++ Say Y or M if you want to add support for BoomBerry DAC. ++ ++config SND_BCM2708_SOC_BOOMBERRY_DIGI ++ tristate "Support for BoomBerry Digi" ++ depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S ++ select SND_SOC_WM8804 ++ help ++ Say Y or M if you want to add support for BoomBerry Digi. ++ + config SND_BCM2708_SOC_IQAUDIO_DAC + tristate "Support for IQaudIO-DAC" + depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S +diff --git a/sound/soc/bcm/Makefile b/sound/soc/bcm/Makefile +index b21e11e..b04b0d2 100644 +--- a/sound/soc/bcm/Makefile ++++ b/sound/soc/bcm/Makefile +@@ -8,6 +8,8 @@ snd-soc-hifiberry-dac-objs := hifiberry_dac.o + snd-soc-hifiberry-dacplus-objs := hifiberry_dacplus.o + snd-soc-hifiberry-digi-objs := hifiberry_digi.o + snd-soc-hifiberry-amp-objs := hifiberry_amp.o ++snd-soc-boomberry-dac-objs := boomberry-dac.o ++snd-soc-boomberry-digi-objs := boomberry-digi.o + snd-soc-rpi-dac-objs := rpi-dac.o + snd-soc-rpi-proto-objs := rpi-proto.o + snd-soc-iqaudio-dac-objs := iqaudio-dac.o +@@ -17,6 +19,8 @@ obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC) += snd-soc-hifiberry-dac.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS) += snd-soc-hifiberry-dacplus.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI) += snd-soc-hifiberry-digi.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP) += snd-soc-hifiberry-amp.o ++obj-$(CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC) += snd-soc-boomberry-dac.o ++obj-$(CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI) += snd-soc-boomberry-digi.o + obj-$(CONFIG_SND_BCM2708_SOC_RPI_DAC) += snd-soc-rpi-dac.o + obj-$(CONFIG_SND_BCM2708_SOC_RPI_PROTO) += snd-soc-rpi-proto.o + obj-$(CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC) += snd-soc-iqaudio-dac.o +diff --git a/sound/soc/bcm/boomberry-dac.c b/sound/soc/bcm/boomberry-dac.c +new file mode 100644 +index 0000000..08845ad +--- /dev/null ++++ b/sound/soc/bcm/boomberry-dac.c +@@ -0,0 +1,163 @@ ++/* ++ * ASoC Driver for BoomBerry DAC Raspberry Pi HAT Sound Card ++ * ++ * Author: Milan Neskovic ++ * Copyright 2016 ++ * based on code by Daniel Matuschek ++ * based on code by Florian Meier ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * version 2 as published by the Free Software Foundation. ++ * ++ * This program is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ */ ++ ++#include ++#include ++ ++#include ++#include ++#include ++#include ++#include ++ ++#include "../codecs/pcm512x.h" ++ ++static bool digital_gain_0db_limit = true; ++ ++static int snd_rpi_boomberry_dac_init(struct snd_soc_pcm_runtime *rtd) ++{ ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, PCM512x_GPIO_EN, 0x08, 0x08); ++ snd_soc_update_bits(codec, PCM512x_GPIO_OUTPUT_4, 0xf, 0x02); ++ snd_soc_update_bits(codec, PCM512x_GPIO_CONTROL_1, 0x08,0x08); ++ ++ if (digital_gain_0db_limit) ++ { ++ int ret; ++ struct snd_soc_card *card = rtd->card; ++ struct snd_soc_codec *codec = rtd->codec; ++ ++ ret = snd_soc_limit_volume(codec, "Digital Playback Volume", 207); ++ if (ret < 0) ++ dev_warn(card->dev, "Failed to set volume limit: %d\n", ret); ++ } ++ ++ return 0; ++} ++ ++static int snd_rpi_boomberry_dac_hw_params(struct snd_pcm_substream *substream, ++ struct snd_pcm_hw_params *params) ++{ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_dai *cpu_dai = rtd->cpu_dai; ++ /*return snd_soc_dai_set_bclk_ratio(cpu_dai, 64);*/ ++ unsigned int sample_bits = ++ snd_pcm_format_physical_width(params_format(params)); ++ return snd_soc_dai_set_bclk_ratio(cpu_dai, sample_bits * 2); ++} ++ ++static int snd_rpi_boomberry_dac_startup(struct snd_pcm_substream *substream) { ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, PCM512x_GPIO_CONTROL_1, 0x08,0x08); ++ return 0; ++} ++ ++static void snd_rpi_boomberry_dac_shutdown(struct snd_pcm_substream *substream) { ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, PCM512x_GPIO_CONTROL_1, 0x08,0x00); ++} ++ ++/* machine stream operations */ ++static struct snd_soc_ops snd_rpi_boomberry_dac_ops = { ++ .hw_params = snd_rpi_boomberry_dac_hw_params, ++ .startup = snd_rpi_boomberry_dac_startup, ++ .shutdown = snd_rpi_boomberry_dac_shutdown, ++}; ++ ++static struct snd_soc_dai_link snd_rpi_boomberry_dac_dai[] = { ++{ ++ .name = "BoomBerry DAC", ++ .stream_name = "BoomBerry DAC HiFi", ++ .cpu_dai_name = "bcm2708-i2s.0", ++ .codec_dai_name = "pcm512x-hifi", ++ .platform_name = "bcm2708-i2s.0", ++ .codec_name = "pcm512x.1-004d", ++ .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBS_CFS, ++ .ops = &snd_rpi_boomberry_dac_ops, ++ .init = snd_rpi_boomberry_dac_init, ++}, ++}; ++ ++/* audio machine driver */ ++static struct snd_soc_card snd_rpi_boomberry_dac = { ++ .name = "snd_rpi_boomberry_dac", ++ .owner = THIS_MODULE, ++ .dai_link = snd_rpi_boomberry_dac_dai, ++ .num_links = ARRAY_SIZE(snd_rpi_boomberry_dac_dai), ++}; ++ ++static int snd_rpi_boomberry_dac_probe(struct platform_device *pdev) ++{ ++ int ret = 0; ++ ++ snd_rpi_boomberry_dac.dev = &pdev->dev; ++ ++ if (pdev->dev.of_node) { ++ struct device_node *i2s_node; ++ struct snd_soc_dai_link *dai = &snd_rpi_boomberry_dac_dai[0]; ++ i2s_node = of_parse_phandle(pdev->dev.of_node, ++ "i2s-controller", 0); ++ ++ if (i2s_node) { ++ dai->cpu_dai_name = NULL; ++ dai->cpu_of_node = i2s_node; ++ dai->platform_name = NULL; ++ dai->platform_of_node = i2s_node; ++ } ++ ++ digital_gain_0db_limit = !of_property_read_bool( ++ pdev->dev.of_node, "boomberry,24db_digital_gain"); ++ } ++ ++ ret = snd_soc_register_card(&snd_rpi_boomberry_dac); ++ if (ret) ++ dev_err(&pdev->dev, ++ "snd_soc_register_card() failed: %d\n", ret); ++ ++ return ret; ++} ++ ++static int snd_rpi_boomberry_dac_remove(struct platform_device *pdev) ++{ ++ return snd_soc_unregister_card(&snd_rpi_boomberry_dac); ++} ++ ++static const struct of_device_id snd_rpi_boomberry_dac_of_match[] = { ++ { .compatible = "boomberry,boomberry-dac", }, ++ {}, ++}; ++MODULE_DEVICE_TABLE(of, snd_rpi_boomberry_dac_of_match); ++ ++static struct platform_driver snd_rpi_boomberry_dac_driver = { ++ .driver = { ++ .name = "snd-rpi-boomberry-dac", ++ .owner = THIS_MODULE, ++ .of_match_table = snd_rpi_boomberry_dac_of_match, ++ }, ++ .probe = snd_rpi_boomberry_dac_probe, ++ .remove = snd_rpi_boomberry_dac_remove, ++}; ++ ++module_platform_driver(snd_rpi_boomberry_dac_driver); ++ ++MODULE_AUTHOR("Milan Neskovic "); ++MODULE_DESCRIPTION("ASoC Driver for BoomBerry PI DAC HAT Sound Card"); ++MODULE_LICENSE("GPL v2"); +diff --git a/sound/soc/bcm/boomberry-digi.c b/sound/soc/bcm/boomberry-digi.c +new file mode 100644 +index 0000000..3d5b5ff +--- /dev/null ++++ b/sound/soc/bcm/boomberry-digi.c +@@ -0,0 +1,215 @@ ++/* ++ * ASoC Driver for BoomBerry Raspberry Pi Digi HAT Sound Card ++ * ++ * Author: Milan Neskovic ++ * Copyright 2016 ++ * based on code by Daniel Matuschek ++ * based on code by Florian Meier ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * version 2 as published by the Free Software Foundation. ++ * ++ * This program is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ */ ++ ++#include ++#include ++ ++#include ++#include ++#include ++#include ++#include ++ ++#include "../codecs/wm8804.h" ++ ++static int snd_rpi_boomberry_digi_init(struct snd_soc_pcm_runtime *rtd) ++{ ++ struct snd_soc_codec *codec = rtd->codec; ++ ++ /* enable TX output */ ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x4, 0x0); ++ ++ return 0; ++} ++ ++static int snd_rpi_boomberry_digi_startup(struct snd_pcm_substream *substream) { ++ /* turn on digital output */ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x3c, 0x00); ++ return 0; ++} ++ ++static void snd_rpi_boomberry_digi_shutdown(struct snd_pcm_substream *substream) { ++ /* turn off output */ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x3c, 0x3c); ++} ++ ++static int snd_rpi_boomberry_digi_hw_params(struct snd_pcm_substream *substream, ++ struct snd_pcm_hw_params *params) ++{ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_dai *codec_dai = rtd->codec_dai; ++ struct snd_soc_codec *codec = rtd->codec; ++ struct snd_soc_dai *cpu_dai = rtd->cpu_dai; ++ ++ int sysclk = 27000000; /* This is fixed on this board */ ++ ++ long mclk_freq=0; ++ int mclk_div=1; ++ int sampling_freq=1; ++ ++ int ret; ++ ++ int samplerate = params_rate(params); ++ ++ if (samplerate<=96000) { ++ mclk_freq=samplerate*256; ++ mclk_div=WM8804_MCLKDIV_256FS; ++ } else { ++ mclk_freq=samplerate*128; ++ mclk_div=WM8804_MCLKDIV_128FS; ++ } ++ ++ switch (samplerate) { ++ case 32000: ++ sampling_freq=0x03; ++ break; ++ case 44100: ++ sampling_freq=0x00; ++ break; ++ case 48000: ++ sampling_freq=0x02; ++ break; ++ case 88200: ++ sampling_freq=0x08; ++ break; ++ case 96000: ++ sampling_freq=0x0a; ++ break; ++ case 176400: ++ sampling_freq=0x0c; ++ break; ++ case 192000: ++ sampling_freq=0x0e; ++ break; ++ default: ++ dev_err(codec->dev, ++ "Failed to set WM8804 SYSCLK, unsupported samplerate %d\n", ++ samplerate); ++ } ++ ++ snd_soc_dai_set_clkdiv(codec_dai, WM8804_MCLK_DIV, mclk_div); ++ snd_soc_dai_set_pll(codec_dai, 0, 0, sysclk, mclk_freq); ++ ++ ret = snd_soc_dai_set_sysclk(codec_dai, WM8804_TX_CLKSRC_PLL, ++ sysclk, SND_SOC_CLOCK_OUT); ++ if (ret < 0) { ++ dev_err(codec->dev, ++ "Failed to set WM8804 SYSCLK: %d\n", ret); ++ return ret; ++ } ++ ++ /* Enable TX output */ ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x4, 0x0); ++ ++ /* Power on */ ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x9, 0); ++ ++ /* set sampling frequency status bits */ ++ snd_soc_update_bits(codec, WM8804_SPDTX4, 0x0f, sampling_freq); ++ ++ return snd_soc_dai_set_bclk_ratio(cpu_dai,64); ++} ++ ++/* machine stream operations */ ++static struct snd_soc_ops snd_rpi_boomberry_digi_ops = { ++ .hw_params = snd_rpi_boomberry_digi_hw_params, ++ .startup = snd_rpi_boomberry_digi_startup, ++ .shutdown = snd_rpi_boomberry_digi_shutdown, ++}; ++ ++static struct snd_soc_dai_link snd_rpi_boomberry_digi_dai[] = { ++{ ++ .name = "BoomBerry Digi", ++ .stream_name = "BoomBerry Digi HiFi", ++ .cpu_dai_name = "bcm2708-i2s.0", ++ .codec_dai_name = "wm8804-spdif", ++ .platform_name = "bcm2708-i2s.0", ++ .codec_name = "wm8804.1-003b", ++ .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBM_CFM, ++ .ops = &snd_rpi_boomberry_digi_ops, ++ .init = snd_rpi_boomberry_digi_init, ++}, ++}; ++ ++/* audio machine driver */ ++static struct snd_soc_card snd_rpi_boomberry_digi = { ++ .name = "snd_rpi_boomberry_digi", ++ .owner = THIS_MODULE, ++ .dai_link = snd_rpi_boomberry_digi_dai, ++ .num_links = ARRAY_SIZE(snd_rpi_boomberry_digi_dai), ++}; ++ ++static int snd_rpi_boomberry_digi_probe(struct platform_device *pdev) ++{ ++ int ret = 0; ++ ++ snd_rpi_boomberry_digi.dev = &pdev->dev; ++ ++ if (pdev->dev.of_node) { ++ struct device_node *i2s_node; ++ struct snd_soc_dai_link *dai = &snd_rpi_boomberry_digi_dai[0]; ++ i2s_node = of_parse_phandle(pdev->dev.of_node, ++ "i2s-controller", 0); ++ ++ if (i2s_node) { ++ dai->cpu_dai_name = NULL; ++ dai->cpu_of_node = i2s_node; ++ dai->platform_name = NULL; ++ dai->platform_of_node = i2s_node; ++ } ++ } ++ ++ ret = snd_soc_register_card(&snd_rpi_boomberry_digi); ++ if (ret) ++ dev_err(&pdev->dev, ++ "snd_soc_register_card() failed: %d\n", ret); ++ ++ return ret; ++} ++ ++static int snd_rpi_boomberry_digi_remove(struct platform_device *pdev) ++{ ++ return snd_soc_unregister_card(&snd_rpi_boomberry_digi); ++} ++ ++static const struct of_device_id snd_rpi_boomberry_digi_of_match[] = { ++ { .compatible = "boomberry,boomberry-digi", }, ++ {}, ++}; ++MODULE_DEVICE_TABLE(of, snd_rpi_boomberry_digi_of_match); ++ ++static struct platform_driver snd_rpi_boomberry_digi_driver = { ++ .driver = { ++ .name = "snd-rpi-boomberry-digi", ++ .owner = THIS_MODULE, ++ .of_match_table = snd_rpi_boomberry_digi_of_match, ++ }, ++ .probe = snd_rpi_boomberry_digi_probe, ++ .remove = snd_rpi_boomberry_digi_remove, ++}; ++ ++module_platform_driver(snd_rpi_boomberry_digi_driver); ++ ++MODULE_AUTHOR("Milan Neskovic "); ++MODULE_DESCRIPTION("ASoC Driver for BoomBerry PI Digi HAT Sound Card"); ++MODULE_LICENSE("GPL v2"); + +From e3ea2e74ce1c734d3bbfd1270e8934cb3de80431 Mon Sep 17 00:00:00 2001 +From: Aaron Shaw +Date: Fri, 8 Apr 2016 00:06:00 +0100 +Subject: [PATCH 239/251] Add support for mcp7940x family of RTC + +--- + arch/arm/boot/dts/overlays/README | 2 ++ + arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 6 ++++++ + 2 files changed, 8 insertions(+) + +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index eb5fc04..6a62e6f 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -435,6 +435,8 @@ Params: ds1307 Select the DS1307 device + + ds3231 Select the DS3231 device + ++ mcp7940x Select the MCP7940x device ++ + mcp7941x Select the MCP7941x device + + pcf2127 Select the PCF2127 device +diff --git a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts +index eecec16..4065647 100644 +--- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts ++++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts +@@ -23,6 +23,11 @@ + reg = <0x68>; + status = "disable"; + }; ++ mcp7940x: mcp7940x@6f { ++ compatible = "microchip,mcp7940x"; ++ reg = <0x6f>; ++ status = "disable"; ++ }; + mcp7941x: mcp7941x@6f { + compatible = "microchip,mcp7941x"; + reg = <0x6f>; +@@ -54,6 +59,7 @@ + ds1307 = <&ds1307>,"status"; + ds1339 = <&ds1339>,"status"; + ds3231 = <&ds3231>,"status"; ++ mcp7940x = <&mcp7940x>,"status"; + mcp7941x = <&mcp7941x>,"status"; + pcf2127 = <&pcf2127>,"status"; + pcf8523 = <&pcf8523>,"status"; + +From a10d74e309c02ad451678e59c320d62208944605 Mon Sep 17 00:00:00 2001 +From: Jeremy McDermond +Date: Thu, 14 Apr 2016 09:39:20 -0700 +Subject: [PATCH 240/251] bcm2709_defconfig: Fix typo on BoomBerry + configuration directive + +The BoomBerry configuration directive in bcm2709_defconfig has a typo. +--- + arch/arm/configs/bcm2709_defconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 84ec380..7353332 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -854,7 +854,7 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m + CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m +-CONFIG_SNG_BCM2708_SOC_BOOMBERRY_DIGI=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m + +From eb62c144a47bbc7d0015d65629fad05884aa654b Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 15 Apr 2016 10:48:39 +0100 +Subject: [PATCH 241/251] boomberry-dac: Adjust for ALSA API change + +As of 4.4, snd_soc_limit_volume now takes a struct snd_soc_card * +rather than a struct snd_soc_codec *. + +Signed-off-by: Phil Elwell +--- + sound/soc/bcm/boomberry-dac.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/sound/soc/bcm/boomberry-dac.c b/sound/soc/bcm/boomberry-dac.c +index 08845ad..8d39de2 100644 +--- a/sound/soc/bcm/boomberry-dac.c ++++ b/sound/soc/bcm/boomberry-dac.c +@@ -40,9 +40,8 @@ static int snd_rpi_boomberry_dac_init(struct snd_soc_pcm_runtime *rtd) + { + int ret; + struct snd_soc_card *card = rtd->card; +- struct snd_soc_codec *codec = rtd->codec; + +- ret = snd_soc_limit_volume(codec, "Digital Playback Volume", 207); ++ ret = snd_soc_limit_volume(card, "Digital Playback Volume", 207); + if (ret < 0) + dev_warn(card->dev, "Failed to set volume limit: %d\n", ret); + } + +From d113d5842f6896cdcdd7c7c2e5733fe0ed0a5b06 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 17 Apr 2016 04:44:47 -0700 +Subject: [PATCH 242/251] vmcs: Remove unused sm_cache_map_vector definition + (#1411) + +The code using it also ifdef'ed with 0, anyyd gcc 6 +complains + +error: 'sm_cache_map_vector' defined but not used + +The code using it also ifdef'ed out + +Signed-off-by: Khem Raj +--- + drivers/char/broadcom/vc_sm/vmcs_sm.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c +index 5d16e35..1db6716 100644 +--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c ++++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c +@@ -197,12 +197,14 @@ struct SM_STATE_T { + static struct SM_STATE_T *sm_state; + static int sm_inited; + ++#if 0 + static const char *const sm_cache_map_vector[] = { + "(null)", + "host", + "videocore", + "host+videocore", + }; ++#endif + + /* ---- Private Function Prototypes -------------------------------------- */ + + +From 8842f5b24445286359d13b8f85230384a361f26b Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 18 Apr 2016 11:56:53 +0100 +Subject: [PATCH 243/251] scripts/mkknlimg: Append a trailer for all input + +Now that the firmware assumes an unsigned kernel is DT-capable, it is +helpful to be able to mark a kernel as being non-DT-capable. + +Signed-off-by: Phil Elwell +--- + scripts/mkknlimg | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) + +diff --git a/scripts/mkknlimg b/scripts/mkknlimg +index 005f404..78c5845 100755 +--- a/scripts/mkknlimg ++++ b/scripts/mkknlimg +@@ -98,7 +98,7 @@ my $append_trailer; + my $trailer; + my $kver = '?'; + +-$append_trailer = $dtok; ++$append_trailer = 1; + + if ($res) + { +@@ -108,7 +108,6 @@ if ($res) + + if ($flags & FLAG_PI) + { +- $append_trailer = 1; + $dtok ||= ($flags & FLAG_DTOK) != 0; + $is_270x ||= ($flags & FLAG_270X) != 0; + $is_283x ||= ($flags & FLAG_283X) != 0; +@@ -116,18 +115,18 @@ if ($res) + } + else + { +- print ("* This doesn't look like a Raspberry Pi kernel. In pass-through mode.\n"); ++ print ("* This doesn't look like a Raspberry Pi kernel.\n"); + } + } + elsif (!$dtok) + { +- print ("* Is this a valid kernel? In pass-through mode.\n"); ++ print ("* Is this a valid kernel?\n"); + } + + if ($append_trailer) + { + printf("DT: %s\n", $dtok ? "y" : "n"); +- printf("DDT: %s\n", $ddtk ? "y" : "n") if ($ddtk); ++ printf("DDT: %s\n", $ddtk ? "y" : "n"); + printf("270x: %s\n", $is_270x ? "y" : "n"); + printf("283x: %s\n", $is_283x ? "y" : "n"); + +@@ -136,7 +135,7 @@ if ($append_trailer) + push @atoms, [ $trailer_magic, pack('V', 0) ]; + push @atoms, [ 'KVer', $kver ]; + push @atoms, [ 'DTOK', pack('V', $dtok) ]; +- push @atoms, [ 'DDTK', pack('V', $ddtk) ] if ($ddtk); ++ push @atoms, [ 'DDTK', pack('V', $ddtk) ]; + push @atoms, [ '270X', pack('V', $is_270x) ]; + push @atoms, [ '283X', pack('V', $is_283x) ]; + push @atoms, [ '283x', pack('V', $is_283x && !$is_270x) ]; + +From 4713de1914febfd095de6c68d7152c10ba60a475 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 19 Apr 2016 13:55:29 +0100 +Subject: [PATCH 244/251] scripts/dtc: Only emit local fixups for overlays + +Signed-off-by: Phil Elwell +--- + scripts/dtc/checks.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c +index 2b3b3a7..fedfa79 100644 +--- a/scripts/dtc/checks.c ++++ b/scripts/dtc/checks.c +@@ -514,7 +514,7 @@ static void fixup_phandle_references(struct check *c, struct node *dt, + } + + /* if it's a local reference, we need to record it */ +- if (symbol_fixup_support) { ++ if (symbol_fixup_support && dt->is_plugin) { + + /* allocate a new local fixup entry */ + fe = xmalloc(sizeof(*fe)); + +From 8f691a8d8e5dd4a0e48f3fcc766936215a0efb27 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Tue, 19 Apr 2016 12:57:52 +0100 +Subject: [PATCH 245/251] bcm2835_thermal: Don't report unsupported trip type + +--- + drivers/thermal/bcm2835-thermal.c | 34 +--------------------------------- + 1 file changed, 1 insertion(+), 33 deletions(-) + +diff --git a/drivers/thermal/bcm2835-thermal.c b/drivers/thermal/bcm2835-thermal.c +index 08d8dc7..c63fb9f 100644 +--- a/drivers/thermal/bcm2835-thermal.c ++++ b/drivers/thermal/bcm2835-thermal.c +@@ -49,38 +49,8 @@ static int bcm2835_thermal_get_temp(struct thermal_zone_device *tz, + RPI_FIRMWARE_GET_TEMPERATURE); + } + +-static int bcm2835_thermal_get_max_temp(struct thermal_zone_device *tz, +- int trip, int *temp) +-{ +- /* +- * The maximum safe temperature of the SoC. +- * Overclock may be disabled above this temperature. +- */ +- return bcm2835_thermal_get_property(tz, temp, +- RPI_FIRMWARE_GET_MAX_TEMPERATURE); +-} +- +-static int bcm2835_thermal_get_trip_type(struct thermal_zone_device *tz, +- int trip, enum thermal_trip_type *type) +-{ +- *type = THERMAL_TRIP_HOT; +- +- return 0; +-} +- +-static int bcm2835_thermal_get_mode(struct thermal_zone_device *tz, +- enum thermal_device_mode *mode) +-{ +- *mode = THERMAL_DEVICE_ENABLED; +- +- return 0; +-} +- + static struct thermal_zone_device_ops ops = { + .get_temp = bcm2835_thermal_get_temp, +- .get_trip_temp = bcm2835_thermal_get_max_temp, +- .get_trip_type = bcm2835_thermal_get_trip_type, +- .get_mode = bcm2835_thermal_get_mode, + }; + + static int bcm2835_thermal_probe(struct platform_device *pdev) +@@ -90,17 +60,15 @@ static int bcm2835_thermal_probe(struct platform_device *pdev) + struct thermal_zone_device *tz; + + fw_np = of_parse_phandle(pdev->dev.of_node, "firmware", 0); +-/* Remove comment when booting without Device Tree is no longer supported + if (!fw_np) { + dev_err(&pdev->dev, "Missing firmware node\n"); + return -ENOENT; + } +-*/ + fw = rpi_firmware_get(fw_np); + if (!fw) + return -EPROBE_DEFER; + +- tz = thermal_zone_device_register("bcm2835_thermal", 1, 0, fw, &ops, ++ tz = thermal_zone_device_register("bcm2835_thermal", 0, 0, fw, &ops, + NULL, 0, 0); + if (IS_ERR(tz)) { + dev_err(&pdev->dev, "Failed to register the thermal device\n"); + +From f92bda16cd790cb612920ed266d19c6ae2620c22 Mon Sep 17 00:00:00 2001 +From: wm4 +Date: Tue, 19 Apr 2016 16:08:35 +0200 +Subject: [PATCH 246/251] bcm2835: do not require substream for accessing chmap + ctl + +Fixes alsasctl store/restore operation. +--- + sound/arm/bcm2835-ctl.c | 10 +--------- + 1 file changed, 1 insertion(+), 9 deletions(-) + +diff --git a/sound/arm/bcm2835-ctl.c b/sound/arm/bcm2835-ctl.c +index e930718..8b855f9 100755 +--- a/sound/arm/bcm2835-ctl.c ++++ b/sound/arm/bcm2835-ctl.c +@@ -489,8 +489,6 @@ static int snd_bcm2835_chmap_ctl_get(struct snd_kcontrol *kcontrol, + { + struct snd_pcm_chmap *info = snd_kcontrol_chip(kcontrol); + bcm2835_chip_t *chip = info->private_data; +- unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); +- struct snd_pcm_substream *substream = snd_pcm_chmap_substream(info, idx); + struct cea_channel_speaker_allocation *ch = NULL; + int res = 0; + int cur = 0; +@@ -499,11 +497,6 @@ static int snd_bcm2835_chmap_ctl_get(struct snd_kcontrol *kcontrol, + if (mutex_lock_interruptible(&chip->audio_mutex)) + return -EINTR; + +- if (!substream || !substream->runtime) { +- res = -ENODEV; +- goto unlock; +- } +- + for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { + if (channel_allocations[i].ca_index == chip->cea_chmap) + ch = &channel_allocations[i]; +@@ -521,7 +514,6 @@ static int snd_bcm2835_chmap_ctl_get(struct snd_kcontrol *kcontrol, + while (cur < 8) + ucontrol->value.integer.value[cur++] = SNDRV_CHMAP_NA; + +-unlock: + mutex_unlock(&chip->audio_mutex); + return res; + } +@@ -541,7 +533,7 @@ static int snd_bcm2835_chmap_ctl_put(struct snd_kcontrol *kcontrol, + return -EINTR; + + if (!substream || !substream->runtime) { +- res = -ENODEV; ++ /* ignore and return success for the sake of alsactl */ + goto unlock; + } + + +From 2c9ca7ae6ac79df824b94224936d378d725b7bb7 Mon Sep 17 00:00:00 2001 +From: wm4 +Date: Tue, 19 Apr 2016 16:29:41 +0200 +Subject: [PATCH 247/251] bcm2835: add fallback channel layouts if channel map + API is not used + +Should be more useful than just forcing stereo. + +We can't match the exact legacy ALSA channel layouts, so this is a +"best effort" hack. + +I'm not sure what happens if the application requests channel counts +that are not power-of-2s. The channel map API hopefully forces +applications which use the channel map API to request the correct +count by adding padding channels, but the bare API enforces +nothing. Possibly this could be added to rate_hw_constraint_channels +at a later point. +--- + sound/arm/bcm2835-vchiq.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/sound/arm/bcm2835-vchiq.c b/sound/arm/bcm2835-vchiq.c +index 8ecd2d7..9371073 100755 +--- a/sound/arm/bcm2835-vchiq.c ++++ b/sound/arm/bcm2835-vchiq.c +@@ -598,7 +598,16 @@ int bcm2835_audio_set_params(bcm2835_alsa_stream_t * alsa_stream, + if (alsa_stream->chip->cea_chmap >= 0) { + chmap_value = (unsigned)alsa_stream->chip->cea_chmap << 24; + } else { +- chmap_value = 0; /* force stereo */ ++ /* fallback layouts for applications which do not use chmap API */ ++ chmap_value = 0x00; ++ switch (channels) { ++ case 3: chmap_value = 0x01; break; ++ case 4: chmap_value = 0x03; break; ++ case 5: chmap_value = 0x07; break; ++ case 6: chmap_value = 0x0b; break; ++ case 7: chmap_value = 0x0f; break; ++ case 8: chmap_value = 0x13; break; ++ } + for (i = 0; i < 8; i++) + alsa_stream->chip->map_channels[i] = i; + } + +From a9670f6cc4cd89aa953d6240b037ebfa161e552b Mon Sep 17 00:00:00 2001 +From: wm4 +Date: Tue, 19 Apr 2016 16:38:03 +0200 +Subject: [PATCH 248/251] bcm2835: log which channel map is set + +--- + sound/arm/bcm2835-vchiq.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/sound/arm/bcm2835-vchiq.c b/sound/arm/bcm2835-vchiq.c +index 9371073..876986d 100755 +--- a/sound/arm/bcm2835-vchiq.c ++++ b/sound/arm/bcm2835-vchiq.c +@@ -596,8 +596,11 @@ int bcm2835_audio_set_params(bcm2835_alsa_stream_t * alsa_stream, + instance->result = -1; + + if (alsa_stream->chip->cea_chmap >= 0) { ++ LOG_INFO("Using application requested channel map: %d\n", ++ alsa_stream->chip->cea_chmap); + chmap_value = (unsigned)alsa_stream->chip->cea_chmap << 24; + } else { ++ LOG_INFO("Using fallback channel map.\n"); + /* fallback layouts for applications which do not use chmap API */ + chmap_value = 0x00; + switch (channels) { +@@ -614,6 +617,8 @@ int bcm2835_audio_set_params(bcm2835_alsa_stream_t * alsa_stream, + for (i = 0; i < 8; i++) + chmap_value |= alsa_stream->chip->map_channels[i] << (i * 3); + ++ LOG_INFO("Requesting AUDS channel map: 0x%lx\n", (long)chmap_value); ++ + m.type = VC_AUDIO_MSG_TYPE_CONFIG; + m.u.config.channels = channels; + m.u.config.samplerate = samplerate; + +From 9135f5620348b62310684d40896ae21d993a563d Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 21 Apr 2016 13:49:32 +0100 +Subject: [PATCH 249/251] vchiq_arm: Add completion records under the mutex + +An issue was observed when flushing openmax components +which generate a large number of messages returning +buffers to host. + +We occasionally found a duplicate message from 16 +messages prior, resulting in a buffer returned twice. + +While only one thread adds completions, without the +mutex you don't get the protection of the automatic +memory barrier you get with synchronisation objects. + +Signed-off-by: Phil Elwell +--- + drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +diff --git a/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c +index a5cc385..4886236 100644 +--- a/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c ++++ b/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c +@@ -210,6 +210,8 @@ add_completion(VCHIQ_INSTANCE_T instance, VCHIQ_REASON_T reason, + VCHIQ_COMPLETION_DATA_T *completion; + DEBUG_INITIALISE(g_state.local) + ++ mutex_lock(&instance->completion_mutex); ++ + while (instance->completion_insert == + (instance->completion_remove + MAX_COMPLETIONS)) { + /* Out of space - wait for the client */ +@@ -217,11 +219,17 @@ add_completion(VCHIQ_INSTANCE_T instance, VCHIQ_REASON_T reason, + vchiq_log_trace(vchiq_arm_log_level, + "add_completion - completion queue full"); + DEBUG_COUNT(COMPLETION_QUEUE_FULL_COUNT); ++ ++ mutex_unlock(&instance->completion_mutex); + if (down_interruptible(&instance->remove_event) != 0) { + vchiq_log_info(vchiq_arm_log_level, + "service_callback interrupted"); + return VCHIQ_RETRY; +- } else if (instance->closing) { ++ } ++ ++ mutex_lock(&instance->completion_mutex); ++ if (instance->closing) { ++ mutex_unlock(&instance->completion_mutex); + vchiq_log_info(vchiq_arm_log_level, + "service_callback closing"); + return VCHIQ_SUCCESS; +@@ -254,8 +262,11 @@ add_completion(VCHIQ_INSTANCE_T instance, VCHIQ_REASON_T reason, + if (reason == VCHIQ_MESSAGE_AVAILABLE) + user_service->message_available_pos = + instance->completion_insert; ++ + instance->completion_insert++; + ++ mutex_unlock(&instance->completion_mutex); ++ + up(&instance->insert_event); + + return VCHIQ_SUCCESS; + +From 14ba3016c66394dca226fc4fd66b2fd2e677497c Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 21 Apr 2016 16:07:15 +0100 +Subject: [PATCH 250/251] config: Add DRM_UDL module + +See: https://github.com/raspberrypi/linux/issues/1422 + +Signed-off-by: Phil Elwell +--- + arch/arm/configs/bcm2709_defconfig | 5 +++-- + arch/arm/configs/bcmrpi_defconfig | 5 +++-- + 2 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 7353332..7788ecb 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -814,6 +814,7 @@ CONFIG_VIDEO_TW9906=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m + CONFIG_DRM=m ++CONFIG_DRM_UDL=m + CONFIG_DRM_VC4=m + CONFIG_FB=y + CONFIG_FB_BCM2708=y +@@ -853,10 +854,10 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m +-CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m +-CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m + CONFIG_SND_BCM2708_SOC_RASPIDAC3=m + CONFIG_SND_SOC_ADAU1701=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 603ba04..5b8b19a 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -806,6 +806,7 @@ CONFIG_VIDEO_TW9906=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m + CONFIG_DRM=m ++CONFIG_DRM_UDL=m + CONFIG_DRM_VC4=m + CONFIG_FB=y + CONFIG_FB_BCM2708=y +@@ -845,10 +846,10 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m +-CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m +-CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m + CONFIG_SND_BCM2708_SOC_RASPIDAC3=m + CONFIG_SND_SOC_ADAU1701=m + +From a114d1bd49a30b9b3aa31d4b18069986e0335e12 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 21 Apr 2016 15:44:14 +0100 +Subject: [PATCH 251/251] bcm2835-i2s: Reduce the TX DREQ threshold + +TX FIFO overrun is thought to be the cause of channel swapping, so +reducing the DREQ threshold seems reasonable and appears to be +effective. + +See: https://github.com/raspberrypi/linux/issues/1417 + +Signed-off-by: Phil Elwell +--- + sound/soc/bcm/bcm2835-i2s.c | 21 ++++++++++++++------- + 1 file changed, 14 insertions(+), 7 deletions(-) + +diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c +index 04c1d13..aedb01f 100644 +--- a/sound/soc/bcm/bcm2835-i2s.c ++++ b/sound/soc/bcm/bcm2835-i2s.c +@@ -555,15 +555,22 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, + + /* Setup the DMA parameters */ + regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_CS_A_REG, +- BCM2835_I2S_RXTHR(1) +- | BCM2835_I2S_TXTHR(1) +- | BCM2835_I2S_DMAEN, 0xffffffff); ++ BCM2835_I2S_RXTHR(3) ++ | BCM2835_I2S_TXTHR(3) ++ | BCM2835_I2S_DMAEN, ++ BCM2835_I2S_RXTHR(1) ++ | BCM2835_I2S_TXTHR(1) ++ | BCM2835_I2S_DMAEN); + + regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_DREQ_A_REG, +- BCM2835_I2S_TX_PANIC(0x10) +- | BCM2835_I2S_RX_PANIC(0x30) +- | BCM2835_I2S_TX(0x30) +- | BCM2835_I2S_RX(0x20), 0xffffffff); ++ BCM2835_I2S_TX_PANIC(0x7f) ++ | BCM2835_I2S_RX_PANIC(0x7f) ++ | BCM2835_I2S_TX(0x7f) ++ | BCM2835_I2S_RX(0x7f), ++ BCM2835_I2S_TX_PANIC(0x10) ++ | BCM2835_I2S_RX_PANIC(0x30) ++ | BCM2835_I2S_TX(0x20) ++ | BCM2835_I2S_RX(0x20)); + + /* Clear FIFOs */ + bcm2835_i2s_clear_fifos(dev, true, true); diff --git a/projects/RPi2/patches/linux/linux-01-RPi_support.patch b/projects/RPi2/patches/linux/linux-01-RPi_support.patch index 13300ecc69..fce60a62ce 100644 --- a/projects/RPi2/patches/linux/linux-01-RPi_support.patch +++ b/projects/RPi2/patches/linux/linux-01-RPi_support.patch @@ -1,7 +1,7 @@ From 3cc8c1beb520133149f9cb5d394cbc1c8bbb01b0 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/234] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/251] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -39,7 +39,7 @@ index 66b3ab9..b544181 From d41a067375e9d557ee14ad6ecefbc559b724087c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Apr 2015 16:58:45 +0100 -Subject: [PATCH 002/234] smsc95xx: Disable turbo mode by default +Subject: [PATCH 002/251] smsc95xx: Disable turbo mode by default --- drivers/net/usb/smsc95xx.c | 2 +- @@ -62,7 +62,7 @@ index b544181..9c0da18 100755 From 52a67e5a346e7dfcd6af9115800108d6c9fca84e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Jun 2014 13:42:01 +0100 -Subject: [PATCH 003/234] vmstat: Workaround for issue where dirty page count +Subject: [PATCH 003/251] vmstat: Workaround for issue where dirty page count goes negative See: @@ -92,7 +92,7 @@ index 3e5d907..2539068 100644 From 5956e14120ab88b53fe2f68f7de6c197eae4a811 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 004/234] BCM2835_DT: Fix I2S register map +Subject: [PATCH 004/251] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -149,7 +149,7 @@ index aef64de..864a3ef 100644 From bd8d0148b99e3281aaa294257961377c93a9381d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 005/234] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 005/251] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -183,7 +183,7 @@ index f687082..4cd8ebe 100644 From 2311742728ef10f5d7ed17debc4065e90cb25c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 006/234] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 006/251] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -315,7 +315,7 @@ index bf9cc5f..3f601f9 100644 From 60f12c460c71c04609a23be23df6eb986481c365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 007/234] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 007/251] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -414,7 +414,7 @@ index 3f601f9..20deb28 100644 From 8de2ecc5c42ae0a909fbc23da58ef2fa552d4c5b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 008/234] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 008/251] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -437,7 +437,7 @@ index 3912646..b51a59c 100644 From 2567dee80cdc0654788137d07308fa428d3dc8fb Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 009/234] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 009/251] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -462,7 +462,7 @@ index 17dd8fe..613be28 100644 From f23532983c575cac8b55c4bceb1e45a1439f7e0e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 010/234] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 010/251] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -611,7 +611,7 @@ index 613be28..a06cf9e 100644 From fe30b946aef6315884bd029f889f6eb3692705e5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 011/234] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 011/251] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -641,7 +641,7 @@ index a06cf9e..32f779e 100644 From cc544ca7cb8b033c7bf3d884277f32887a1417a7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 012/234] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 012/251] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -725,7 +725,7 @@ index cf04960..a2b1f45 100644 From 8cf07dd13a251b72f28805060d58b942b582feef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 013/234] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 013/251] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -786,7 +786,7 @@ index 0f7b9ea..1e6f1cf 100644 From 902ceaaea891e7883c141d45e52dde7d859e2324 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 16:44:05 +0200 -Subject: [PATCH 014/234] bcm2835-i2s: get base address for DMA from devicetree +Subject: [PATCH 014/251] bcm2835-i2s: get base address for DMA from devicetree Code copied from spi-bcm2835. Get physical address from devicetree instead of using hardcoded constant. @@ -854,7 +854,7 @@ index 8c435be..0bc4f47 100644 From c89c8dc0cde738e6d2a5d07dbfd2aaa72f4a07d0 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:21:16 +0200 -Subject: [PATCH 015/234] bcm2835-i2s: add 24bit support, update bclk_ratio to +Subject: [PATCH 015/251] bcm2835-i2s: add 24bit support, update bclk_ratio to more correct values Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -936,7 +936,7 @@ index 0bc4f47..cf60390 100644 From da23963f1f4c8999ec76bb99234aec3864b0e56f Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:25:51 +0200 -Subject: [PATCH 016/234] bcm2835-i2s: setup clock only if CPU is clock master +Subject: [PATCH 016/251] bcm2835-i2s: setup clock only if CPU is clock master Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -994,7 +994,7 @@ index cf60390..4ac4e92 100644 From 611d61511eefc080a178187b36c9d86aec9bb8b0 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:49:51 +0200 -Subject: [PATCH 017/234] bcm2835-i2s: Eliminate debugfs directory error +Subject: [PATCH 017/251] bcm2835-i2s: Eliminate debugfs directory error Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -1033,7 +1033,7 @@ index 4ac4e92..aab3df9 100644 From bb6885bf7549495ca00d9a839954dcd35c4b9e61 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:35:20 +0200 -Subject: [PATCH 018/234] bcm2835-i2s: Register PCM device +Subject: [PATCH 018/251] bcm2835-i2s: Register PCM device Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -1099,7 +1099,7 @@ index aab3df9..0e5c787 100644 From 7eced106f678f81b479e3f4fcc0de5b0c8e1dbd9 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 15:55:21 +0200 -Subject: [PATCH 019/234] bcm2835-i2s: Enable MMAP support via a DT property +Subject: [PATCH 019/251] bcm2835-i2s: Enable MMAP support via a DT property Code ported from bcm2708-i2s driver in Raspberry Pi tree. @@ -1146,7 +1146,7 @@ index 0e5c787..04c1d13 100644 From 6de25eb4521167e2d9d5a9c777333cec1542192f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 9 Apr 2015 12:34:11 +0200 -Subject: [PATCH 020/234] dmaengine: bcm2835: Add slave dma support +Subject: [PATCH 020/251] dmaengine: bcm2835: Add slave dma support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1469,7 +1469,7 @@ index 996c4b0..b278c66 100644 From 6090e63c27886fcd841ba451d8646c093a179b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 15:58:59 +0200 -Subject: [PATCH 021/234] dmaengine: bcm2835: set residue_granularity field +Subject: [PATCH 021/251] dmaengine: bcm2835: set residue_granularity field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1501,7 +1501,7 @@ index b278c66..696fb30 100644 From ea0d9861bde9e049f8d5e43ae89dcf7844cb5e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 022/234] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 022/251] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1604,7 +1604,7 @@ index 696fb30..5db0a95 100644 From 8947371bab57f6f0adb8c9519ceeba017fa5fc6a Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sat, 10 Oct 2015 12:29:18 +0200 -Subject: [PATCH 023/234] bcm2835-dma: Fix dreq not set for slave transfers +Subject: [PATCH 023/251] bcm2835-dma: Fix dreq not set for slave transfers Set dreq to slave_id if it is not set like in bcm2708-dmaengine. --- @@ -1628,7 +1628,7 @@ index 5db0a95..fe1fd60 100644 From 22399cbc5ece0905650012b73e51a366d1c754e6 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 11 Oct 2015 12:28:30 +0200 -Subject: [PATCH 024/234] bcm2835-dma: Limit cyclic transfers on lite channels +Subject: [PATCH 024/251] bcm2835-dma: Limit cyclic transfers on lite channels to 32k Transfers larger than 32k cause repeated clicking with I2S soundcards. @@ -1668,7 +1668,7 @@ index fe1fd60..0adc347 100644 From 1e8033be36dd0c3b000c014245cc45f94118faa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 15 Aug 2015 20:50:02 +0200 -Subject: [PATCH 025/234] bcm2835: Add support for uart1 +Subject: [PATCH 025/251] bcm2835: Add support for uart1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1728,7 +1728,7 @@ index 1e6f1cf..ea36eec 100644 From d97842cc1aac3d0ff132500fad402068743d08df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:21:20 +0200 -Subject: [PATCH 026/234] firmware: bcm2835: Add missing property tags +Subject: [PATCH 026/251] firmware: bcm2835: Add missing property tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1793,7 +1793,7 @@ index c07d74a..525816d 100644 From f01f5606b8fe5e7ea7d70f4f2e0e7435040cabaa Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 027/234] Main bcm2708/bcm2709 linux port +Subject: [PATCH 027/251] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -4311,7 +4311,7 @@ index 8673ffe..ad22ebb 100644 From cc5bcfaa350113324f7433660c9a3dfc0229bcdd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 11 Nov 2015 21:01:15 +0000 -Subject: [PATCH 028/234] squash: include ARCH_BCM2708 / ARCH_BCM2709 +Subject: [PATCH 028/251] squash: include ARCH_BCM2708 / ARCH_BCM2709 --- drivers/char/hw_random/Kconfig | 2 +- @@ -4466,7 +4466,7 @@ index 6a834e1..c5070ae 100644 From d23b18d79e915fa0a5820230ee7a35d682e7af42 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 029/234] Add dwc_otg driver +Subject: [PATCH 029/251] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -65448,7 +65448,7 @@ index 0000000..cdc9963 From 09d89e5bb8c9adc39556accbf5bb118e1609fb80 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 030/234] bcm2708 framebuffer driver +Subject: [PATCH 030/251] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68913,7 +68913,7 @@ index 3c14e43..7626beb 100644 From 185a83f51686987a770243702f0c54304c60cca2 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 031/234] dmaengine: Add support for BCM2708 +Subject: [PATCH 031/251] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69536,7 +69536,7 @@ index 0000000..99cc7fd From dd0f809dccd2522c01727b2822f484ce8e9ce23a Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 032/234] MMC: added alternative MMC driver +Subject: [PATCH 032/251] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -71237,7 +71237,7 @@ index 0000000..43aed6e From e15ccca87e0a679797cbcaf24bbf2304b1e8eba3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 033/234] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 033/251] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -73267,7 +73267,7 @@ index 0000000..da08998 From a5a139f18bcc782f2cc3a1de66c936ce2dbb6ffb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 034/234] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 034/251] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -74613,7 +74613,7 @@ index 0000000..be2819d From 79708ff24769bfa53cc800dd05f951340829cc5d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 035/234] bcm2708: alsa sound driver +Subject: [PATCH 035/251] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77314,7 +77314,7 @@ index 0000000..af3e6eb From 522686ae5036c50971853fee0fdb371ed8309222 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 036/234] bcm2708 vchiq driver +Subject: [PATCH 036/251] bcm2708 vchiq driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -90622,7 +90622,7 @@ index 0000000..b6bfa21 From a4ad9bf42376a39e5314f41ecd1ea8fbafb4ca46 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 16:07:06 +0100 -Subject: [PATCH 037/234] vc_mem: Add vc_mem driver +Subject: [PATCH 037/251] vc_mem: Add vc_mem driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -91630,7 +91630,7 @@ index 0000000..20a4753 From c18ab896c13c1824cdc4c8c544f2576e778d4595 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 038/234] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 038/251] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96049,7 +96049,7 @@ index 0000000..334f36d From d778ec78cbc50597690495a4767dad44d9329547 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 039/234] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 039/251] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -96363,7 +96363,7 @@ index 0000000..911f5b7 From 684fa35717d47554b4e019f45e513b58823b50dc Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 040/234] Add SMI driver +Subject: [PATCH 040/251] Add SMI driver Signed-off-by: Luke Wren --- @@ -98317,7 +98317,7 @@ index 0000000..ee3a75e From d6893b8f68df96a0dd728a1ea8518af748d3de55 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 041/234] Add SMI NAND driver +Subject: [PATCH 041/251] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -98686,7 +98686,7 @@ index 0000000..b747326 From 90d547aa8fc1259726f56f404af4ecf9dff6ba0e Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 042/234] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 042/251] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -99538,7 +99538,7 @@ index 0000000..fb69624 From c220c109c1a18cf786523a205b85a4ebca638624 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 043/234] Add cpufreq driver +Subject: [PATCH 043/251] Add cpufreq driver Signed-off-by: popcornmix --- @@ -99803,7 +99803,7 @@ index 0000000..3eb9e93 From 1184f7bb9072fe8b453e3c9a71938a16943a708f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 044/234] Added hwmon/thermal driver for reporting core +Subject: [PATCH 044/251] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -100004,7 +100004,7 @@ index 0000000..08d8dc7 From 418bd7563b83b568046489b0f4b8c67391d31445 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 045/234] Add Chris Boot's i2c driver +Subject: [PATCH 045/251] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -100647,7 +100647,7 @@ index 0000000..85f411c From 3c15dbca1ea1cf9b6843cb55e2fd01d4701ef874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 046/234] char: broadcom: Add vcio module +Subject: [PATCH 046/251] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -100876,7 +100876,7 @@ index 0000000..c19bc20 From 8481c7c7094e5395ab47c8ecc6c7c12d654baf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 047/234] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 047/251] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -100985,7 +100985,7 @@ index dd506cd..b980d53 100644 From 7e74c5de1a6c613a28ee5a5cc871661ceadd0fcd Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 048/234] bcm2835: add v4l2 camera device +Subject: [PATCH 048/251] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -108373,7 +108373,7 @@ index 0000000..9d1d11e From 2a1cb83a705ce839581fbabeb9a8db3dad478ccf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 049/234] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 049/251] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -108841,7 +108841,7 @@ index 0000000..3998d43 From 3c9e2867950ad9a36623e07c2d1641445bab50dd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 5 Dec 2014 17:26:26 +0000 -Subject: [PATCH 050/234] fdt: Add support for the CONFIG_CMDLINE_EXTEND option +Subject: [PATCH 050/251] fdt: Add support for the CONFIG_CMDLINE_EXTEND option --- drivers/of/fdt.c | 29 ++++++++++++++++++++++++----- @@ -108899,7 +108899,7 @@ index 655f79d..fdc4501 100644 From 336ecbfbddc122378578b727f46bfe71858aaa05 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 051/234] BCM2708: Add core Device Tree support +Subject: [PATCH 051/251] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -113628,7 +113628,7 @@ index 0000000..66a98f6 From 83d747d78be86190ad18c8c49e0d5518ac6bf83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 15 Aug 2015 20:47:07 +0200 -Subject: [PATCH 052/234] bcm2835: Match with BCM2708 Device Trees +Subject: [PATCH 052/251] bcm2835: Match with BCM2708 Device Trees MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -114149,7 +114149,7 @@ index 864a3ef..3256bff 100644 From 1b4ab4d431eed3ced1dfdcb4ac14ce3937b74244 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 053/234] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 053/251] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -114242,10 +114242,10 @@ index fb795c3..fa72af0 100644 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From 3b5139c9458b2665a229f83876d02329577f6c6f Mon Sep 17 00:00:00 2001 +From 25f558f2cb3b7c357c2b3fff66afca442b8462f9 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 054/234] Speed up console framebuffer imageblit function +Subject: [PATCH 054/251] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing @@ -114454,10 +114454,10 @@ index a2bb276..436494f 100644 start_index, pitch_index); } else -From 15afa9ccdb6c5e15d3b646e203dcd20b44fffb48 Mon Sep 17 00:00:00 2001 +From 0490dab9480fa92983af098b472d6a6e6e573e29 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 055/234] Allow mac address to be set in smsc95xx +Subject: [PATCH 055/251] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -114548,10 +114548,10 @@ index 9c0da18..3244a90 100755 if (smsc95xx_read_eeprom(dev, EEPROM_MAC_OFFSET, ETH_ALEN, dev->net->dev_addr) == 0) { -From 68aca36345f6d2a31124161d2971ed2ec1138fa7 Mon Sep 17 00:00:00 2001 +From 5f3d302d1cd2e2684c1a4a21953c4677809a2f87 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 056/234] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 056/251] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -114801,10 +114801,10 @@ index d58594a..feae942 100644 unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 715498e3ade34ee0329faa23ce35ce3ae117c0b0 Mon Sep 17 00:00:00 2001 +From bc26cb5ca41caddb82d291450e32b27e56d9b87f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 057/234] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 057/251] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -114853,10 +114853,10 @@ index dc94f8b..3dda8a8 100644 * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From 54a1f8fa679c406f256540302a8d0555d11bdbd5 Mon Sep 17 00:00:00 2001 +From 22689d60a6ca6191119ef7ab70c5b23991a41e16 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:59:51 +0100 -Subject: [PATCH 058/234] ASoC: Add support for PCM5102A codec +Subject: [PATCH 058/251] ASoC: Add support for PCM5102A codec Some definitions to support the PCM5102A codec by Texas Instruments. @@ -114989,10 +114989,10 @@ index 0000000..7c6598e +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From e825f277a64734a8761848618d706ed28cb7bc8c Mon Sep 17 00:00:00 2001 +From 26aeeecaac62fdee4bff333a743680693009f15a Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 059/234] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 059/251] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -115162,10 +115162,10 @@ index 0000000..3ab0f47 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 275e998fab80613632ecf2def47916cf39866abd Mon Sep 17 00:00:00 2001 +From 5bf2d31cda2340e5d7d73c35ea876225d2f8e9a1 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:21:34 +0100 -Subject: [PATCH 060/234] ASoC: Add support for Rpi-DAC +Subject: [PATCH 060/251] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -115452,10 +115452,10 @@ index 0000000..afe1b41 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From b26742d1b3bb01fb18689245463c445ef89a2563 Mon Sep 17 00:00:00 2001 +From 2b8d51c50a053f52a94bf0965ad472d7e411a737 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 061/234] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 061/251] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -115495,10 +115495,10 @@ index 8d91470..5795fb1 100644 #define WM8804_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | \ -From 53ee6d9b8df8dee73efc8eb9c4a2a933709f996a Mon Sep 17 00:00:00 2001 +From ef7ccc94b42ad0827735d8fadac43b23548a0b35 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 062/234] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 062/251] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -115785,10 +115785,10 @@ index 0000000..80732b8 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 7a49ce152226bdc88cb60ce77ba271a6d20ec522 Mon Sep 17 00:00:00 2001 +From 9871f390c47d90a75d21d20be88e88aa49536fd5 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:36:35 +0100 -Subject: [PATCH 063/234] ASoC: wm8804: Set idle_bias_off to false Idle bias +Subject: [PATCH 063/251] ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup Signed-off-by: Daniel Matuschek @@ -115810,10 +115810,10 @@ index 5795fb1..c846716 100644 .dapm_widgets = wm8804_dapm_widgets, .num_dapm_widgets = ARRAY_SIZE(wm8804_dapm_widgets), -From 997d633a18686b13447445bae2efedf75d1d4655 Mon Sep 17 00:00:00 2001 +From bad079610353ec3b8632ca9109da462435b41ba3 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 064/234] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 064/251] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -115996,10 +115996,10 @@ index 0000000..37038d4 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From e19d94cbff54cd07ece267c118e1626319d041dd Mon Sep 17 00:00:00 2001 +From a5a08b66a1ac4a02bc9aaac168e363dd45f28087 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 065/234] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 065/251] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -116035,10 +116035,10 @@ index 5dd426f..9ae0cd5 100644 ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From f5aa12666cbbddc0669ccdce0a5268cad467bbf8 Mon Sep 17 00:00:00 2001 +From 6181933c3fb422cf92cf1f2720064e48d1f93955 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 066/234] Added support for HiFiBerry DAC+ +Subject: [PATCH 066/251] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -116233,10 +116233,10 @@ index 0000000..11e4f39 +MODULE_DESCRIPTION("ASoC Driver for HiFiBerry DAC+"); +MODULE_LICENSE("GPL v2"); -From 0d5bec6303e174c3d58412a2a43c054a5b0ea9f8 Mon Sep 17 00:00:00 2001 +From 2804c1880d7b34b85e35eaa503fee6d648c243de Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 067/234] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 067/251] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -117067,10 +117067,10 @@ index 0000000..8f019e0 + +#endif /* _TAS5713_H */ -From 3a732a5723ad9d452c3da2720e9129dbe7aa8c5f Mon Sep 17 00:00:00 2001 +From cb468b5a1270e4819be26c8cacfd0cb6c70be776 Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 068/234] Update ds1307 driver for device-tree support +Subject: [PATCH 068/251] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -117097,10 +117097,10 @@ index aa705bb..1cb13fe 100644 .driver = { .name = "rtc-ds1307", -From 7a7ff0be55b1e3a67326d3c03c65b45434dd320d Mon Sep 17 00:00:00 2001 +From e545dfb5383a8d5d775818282c7f95ae7a2e1f72 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 069/234] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 069/251] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -117279,10 +117279,10 @@ index fa359c7..4b25a1a 100644 /* Set LED brightness level */ /* Must not sleep, use a workqueue if needed */ -From 43b58f47b9e73a5fd2c9a9ca2e278fb89d31b6ec Mon Sep 17 00:00:00 2001 +From f6d9d6ba910f1604a3d488091f052a57f14cd998 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 27 Feb 2015 15:10:24 +0000 -Subject: [PATCH 070/234] enc28j60: Add device tree compatible string and an +Subject: [PATCH 070/251] enc28j60: Add device tree compatible string and an overlay --- @@ -117311,10 +117311,10 @@ index 86ea17e..a1b20c1 100644 .probe = enc28j60_probe, .remove = enc28j60_remove, -From e00b8af19b9249285aa8519b5666a7296b15f360 Mon Sep 17 00:00:00 2001 +From 68eb237af6a1c15b68fb1eff1596d152f06eeaa5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 071/234] Add driver for rpi-proto +Subject: [PATCH 071/251] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -117529,10 +117529,10 @@ index 0000000..c6e45a0 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From d09a261738801b95a8a97cdf32c181f0dc64eb7a Mon Sep 17 00:00:00 2001 +From d76384c130898ee68885a8cddfbe4686ad41aa0f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 072/234] config: Add default configs +Subject: [PATCH 072/251] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1254 +++++++++++++++++++++++++++++++++++ @@ -120073,10 +120073,10 @@ index 0000000..1d1b799 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 0dd8b9878937bb33b785671b5ab80940e48f96fe Mon Sep 17 00:00:00 2001 +From 704b0ef1532a29776c5a9df0fe8d93eabdff6f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 29 Apr 2015 17:24:02 +0200 -Subject: [PATCH 073/234] bcm2835: bcm2835_defconfig +Subject: [PATCH 073/251] bcm2835: bcm2835_defconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -121502,10 +121502,10 @@ index 31cb073..fdb2e2a 100644 # CONFIG_XZ_DEC_ARM is not set # CONFIG_XZ_DEC_ARMTHUMB is not set -From f8527a3c8859d7eb69d8e8229f92a7265cafaf4b Mon Sep 17 00:00:00 2001 +From e3d855ae8766391b2c35d6c61b852e79ca9f9047 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 074/234] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 074/251] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -121800,10 +121800,10 @@ index 0000000..b27dbee +MODULE_DESCRIPTION("Touchscreen driver for memory based FT5406"); +MODULE_LICENSE("GPL"); -From bab36a045c0c34ec0ca5e6fa194a300017be3ebd Mon Sep 17 00:00:00 2001 +From 7298b88fd999f55dc6dde8cb6288562f68b05e56 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 075/234] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 075/251] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -123342,10 +123342,10 @@ index 588bbc2..c29df92 100644 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From 25cdd0781ca4965cc732e7eec445d90a6f691737 Mon Sep 17 00:00:00 2001 +From e8f27792e51eda819e6918697a67dc85a2d2fc13 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 076/234] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 076/251] gpio-poweroff: Allow it to work on Raspberry Pi The Raspberry Pi firmware manages the power-down and reboot process. To do this it installs a pm_power_off handler, causing @@ -123380,10 +123380,10 @@ index be3d81f..a030ae9 100644 "%s: pm_power_off function already registered", __func__); -From 87d17dbd873e7d849c31fbbb8dd691fb388a1587 Mon Sep 17 00:00:00 2001 +From e1cb11c1118f942ad55724ec8036065cbba41a62 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 077/234] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 077/251] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -123404,10 +123404,10 @@ index d0e7dfc..57b0760 100644 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 76e6d5dc690a0ffc2b3fab99e4b77eca53cfe760 Mon Sep 17 00:00:00 2001 +From e74c88c3ce4685417d4a3aee8ce6cd22092c5315 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 17:00:18 +0100 -Subject: [PATCH 078/234] scripts/dtc: Add overlay support +Subject: [PATCH 078/251] scripts/dtc: Add overlay support --- scripts/dtc/checks.c | 119 ++- @@ -127812,10 +127812,10 @@ index 5b8c7d5..86b7338 100644 -#define DTC_VERSION "DTC 1.4.1-g9d3649bd" +#define DTC_VERSION "DTC 1.4.1-g9d3649bd-dirty" -From fabdcf971d60696f0cd1bcaa5eadcae1bcb356cd Mon Sep 17 00:00:00 2001 +From 682bf3cce9aab7644697e66b2a3e3e9ae5ccdf1c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 079/234] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 079/251] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -128681,10 +128681,10 @@ index 0000000..56196dc + +#endif -From 5edc06a3760e5529a8855c96321e93ebca877703 Mon Sep 17 00:00:00 2001 +From 28fda0b00b2fe4e5a5151024124e57a3821c1ec4 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 080/234] RaspiDAC3 support +Subject: [PATCH 080/251] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -128932,10 +128932,10 @@ index 0000000..3cabf5b +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From e44922dbe04bdf51bddcbded96743327197dbb30 Mon Sep 17 00:00:00 2001 +From 852162b9ea81d2a87bd17ad36b1e347dd02039e2 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:02:34 +0100 -Subject: [PATCH 081/234] tpa6130a2: Add headphone switch control +Subject: [PATCH 081/251] tpa6130a2: Add headphone switch control Signed-off-by: Jan Grulich --- @@ -129026,10 +129026,10 @@ index 11d85c5..3caaa17 100644 /* -From 381630753b8967478d2a95f51db08bd451b3063a Mon Sep 17 00:00:00 2001 +From a75c4939c66e03c683d86b01d793d28c074818eb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Sep 2015 23:38:59 +0100 -Subject: [PATCH 082/234] irq-bcm2835: Fix building with 2708 +Subject: [PATCH 082/251] irq-bcm2835: Fix building with 2708 --- drivers/irqchip/irq-bcm2835.c | 3 ++- @@ -129057,10 +129057,10 @@ index 20deb28..c02bf8a 100644 } init_FIQ(FIQ_START); -From b2703a8df5d90bf399e23828a0a423b6ec1d0cba Mon Sep 17 00:00:00 2001 +From ef612ffab83e04751eca4f4d4a5017fecaab9cae Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 083/234] rpi_display: add backlight driver and overlay +Subject: [PATCH 083/251] rpi_display: add backlight driver and overlay Add a mailbox-driven backlight controller for the Raspberry Pi DSI touchscreen display. Requires updated GPU firmware to recognise the @@ -129328,10 +129328,10 @@ index 525816d..b011489 100644 RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 802d883971b550c25165c1fb86ff5f8122a9614b Mon Sep 17 00:00:00 2001 +From 9e683aed13baf656729ca37b7efb70d595781f85 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Mon, 16 Nov 2015 14:05:35 +0000 -Subject: [PATCH 084/234] bcm2835-dma: Fix up convert to DMA pool +Subject: [PATCH 084/251] bcm2835-dma: Fix up convert to DMA pool --- drivers/dma/bcm2835-dma.c | 36 ++++++++++++++++++++++++++---------- @@ -129416,10 +129416,10 @@ index 0adc347..985019b 100644 /* Next block is empty. */ control_block->next = 0; -From ee13bd5c60aeca7fd55cd1a68d5007421fd5be67 Mon Sep 17 00:00:00 2001 +From 17d171c260c02491c27b1d89e84c09053f825ac2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 Nov 2015 11:38:59 +0000 -Subject: [PATCH 085/234] scripts: Multi-platform support for mkknlimg and +Subject: [PATCH 085/251] scripts: Multi-platform support for mkknlimg and knlinfo The firmware uses tags in the kernel trailer to choose which dtb file @@ -129668,10 +129668,10 @@ index 3998d43..005f404 100755 - return (($val eq 'y') || ($val eq '1')); -} -From 62f21e00ac669231c5a9ba3e73e45d68e4e9ccb7 Mon Sep 17 00:00:00 2001 +From 3daa279385ccf4297bb8beb5b1f770ea535e7245 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 2 Mar 2015 13:01:12 -0800 -Subject: [PATCH 086/234] drm/vc4: Add suport for 3D rendering using the V3D +Subject: [PATCH 086/251] drm/vc4: Add suport for 3D rendering using the V3D engine. This is a squash of the out-of-tree development series. Since that @@ -135276,10 +135276,10 @@ index 0000000..499daae + +#endif /* _UAPI_VC4_DRM_H_ */ -From 730955cd10b747167ce0315ca1f65af5446d3f61 Mon Sep 17 00:00:00 2001 +From 666602424fba993b28229ce2133ff8d2a16b248e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Oct 2015 11:32:14 -0700 -Subject: [PATCH 087/234] drm/vc4: Force HDMI to connected. +Subject: [PATCH 087/251] drm/vc4: Force HDMI to connected. For some reason on the downstream tree, the HPD GPIO isn't working. @@ -135302,10 +135302,10 @@ index da9a36d..d15c529 100644 if (gpio_get_value(vc4->hdmi->hpd_gpio)) return connector_status_connected; -From dc6c82b433488ea27069410bb1d95e1b4855e854 Mon Sep 17 00:00:00 2001 +From 83244506ffc629eb672d74f1e075d25188b4d081 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:23:18 -0700 -Subject: [PATCH 088/234] drm/vc4: bo cache locking fixes. +Subject: [PATCH 088/251] drm/vc4: bo cache locking fixes. Signed-off-by: Eric Anholt --- @@ -135454,10 +135454,10 @@ index 8cc89d1..c079b82 100644 /* Sequence number for the last job queued in job_list. * Starts at 0 (no jobs emitted). -From 114a74d272f9c13744574ff1ab1c84db68b5824c Mon Sep 17 00:00:00 2001 +From 149b9d3feccb3fcc379d91cacc35fa8e6ce59dd1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:29:41 -0700 -Subject: [PATCH 089/234] drm/vc4: bo cache locking cleanup. +Subject: [PATCH 089/251] drm/vc4: bo cache locking cleanup. Signed-off-by: Eric Anholt --- @@ -135549,10 +135549,10 @@ index af0fde6..acd360c 100644 static void vc4_bo_cache_time_timer(unsigned long data) -From 14ca113d8c53efafbd5af98c4d37210873302b18 Mon Sep 17 00:00:00 2001 +From 7a42f6a5addb1961f016f14ef9010bdc19565a77 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:32:24 -0700 -Subject: [PATCH 090/234] drm/vc4: Use job_lock to protect seqno_cb_list. +Subject: [PATCH 090/251] drm/vc4: Use job_lock to protect seqno_cb_list. We're (mostly) not supposed to be using struct_mutex in drivers these days. @@ -135606,10 +135606,10 @@ index 361390b..b1853b2 100644 return ret; } -From 4c95c3951ee48334fba5c60c17612c2955372d2a Mon Sep 17 00:00:00 2001 +From bf31c306877aef83b109356b8471a69590d0a915 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:44:35 -0700 -Subject: [PATCH 091/234] drm/vc4: Drop struct_mutex around CL validation. +Subject: [PATCH 091/251] drm/vc4: Drop struct_mutex around CL validation. We were using it so that we could make sure that shader validation state didn't change while we were validating, but now shader @@ -135672,10 +135672,10 @@ index b1853b2..32f375a 100644 } -From a7e0e7e5878fe920c674abb567159c07673ca118 Mon Sep 17 00:00:00 2001 +From 90604ba9389fd34efcd5c4266fd9d4604f1543e4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Oct 2015 08:44:35 -0700 -Subject: [PATCH 092/234] drm/vc4: Drop struct_mutex around CL validation. +Subject: [PATCH 092/251] drm/vc4: Drop struct_mutex around CL validation. We were using it so that we could make sure that shader validation state didn't change while we were validating, but now shader @@ -135749,10 +135749,10 @@ index 32f375a..55551ea 100644 return ret; } -From 466cf8e66d585dc067b4a7b6a43992abb469df9f Mon Sep 17 00:00:00 2001 +From dcdfacf7cbb2ad8feb6c11326919b7482b2ac3cd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 20 Oct 2015 13:59:15 +0100 -Subject: [PATCH 093/234] drm/vc4: Add support for more display plane formats. +Subject: [PATCH 093/251] drm/vc4: Add support for more display plane formats. Signed-off-by: Eric Anholt --- @@ -135787,10 +135787,10 @@ index 65e5455..0f85eb5 100644 static const struct hvs_format *vc4_get_hvs_format(u32 drm_format) -From 3d670774388611d6a536e68e6e37e6639c3782b9 Mon Sep 17 00:00:00 2001 +From 4f981196d46dcd9576c87c957b15acc0a68dcca8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 23 Oct 2015 12:31:56 +0100 -Subject: [PATCH 094/234] drm/vc4: No need to stop the stopped threads. +Subject: [PATCH 094/251] drm/vc4: No need to stop the stopped threads. This was leftover debug code from the hackdriver. We never submit unless the thread is already idle. @@ -135816,10 +135816,10 @@ index 55551ea..eeb0925 100644 barrier(); -From 09bea25699571cffdb44d00c1b1a25d82284c1d4 Mon Sep 17 00:00:00 2001 +From adb820489d061187ae01daa98ab1a404dbe5cd86 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 23 Oct 2015 12:33:43 +0100 -Subject: [PATCH 095/234] drm/vc4: Remove extra barrier()s aroudn CTnCA/CTnEA +Subject: [PATCH 095/251] drm/vc4: Remove extra barrier()s aroudn CTnCA/CTnEA setup. The writel() that these expand to already does barriers. @@ -135852,10 +135852,10 @@ index eeb0925..0cea723 100644 int -From 326f7bdb649e45e334296a773cf3a64061186b35 Mon Sep 17 00:00:00 2001 +From 90058bcf1d4a588a3ddba5e78e1f998a33d2d5b1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 23 Oct 2015 14:57:22 +0100 -Subject: [PATCH 096/234] drm/vc4: Fix a typo in a V3D debug register. +Subject: [PATCH 096/251] drm/vc4: Fix a typo in a V3D debug register. Signed-off-by: Eric Anholt --- @@ -135890,10 +135890,10 @@ index b9cb7cf..cf35f58 100644 REGDEF(V3D_FDBGB), REGDEF(V3D_FDBGR), -From 4b67a9e16b70a7bf3fa151dcffc5b94e30be985b Mon Sep 17 00:00:00 2001 +From fa03eea2a7fd499bd9254430e4396cf91aa96d39 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 2 Nov 2015 17:07:33 +0000 -Subject: [PATCH 097/234] drm/vc4: Enable VC4 modules, and increase CMA size +Subject: [PATCH 097/251] drm/vc4: Enable VC4 modules, and increase CMA size with overlay If using the overlay, be careful not to boot to GUI or run startx, @@ -136053,10 +136053,10 @@ index 146add9..d6aa058 100644 CONFIG_FB_BCM2708=y CONFIG_FB_UDL=m -From 8d63e6f4ff2e2d8b65f5af4bd507a9cca1608325 Mon Sep 17 00:00:00 2001 +From de2afd5a8db4a62e65057ace15fe15b498074dff Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Nov 2015 18:29:58 +0000 -Subject: [PATCH 098/234] squash: fixups +Subject: [PATCH 098/251] squash: fixups --- drivers/gpu/drm/vc4/Kconfig | 2 +- @@ -136103,10 +136103,10 @@ index c83287a..2082713 100644 drm_atomic_helper_commit_modeset_enables(dev, state); -From cfdc9afe86512c58e1175f1744b3eb4872eac05d Mon Sep 17 00:00:00 2001 +From 454534cc445c73a8d95814b1bf8e2ef67f3c4f41 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Nov 2015 20:26:03 +0000 -Subject: [PATCH 099/234] squash: add missing vc4-kms-v3d-overlay.dtb to +Subject: [PATCH 099/251] squash: add missing vc4-kms-v3d-overlay.dtb to makefile --- @@ -136126,10 +136126,10 @@ index fb7ac49..fc09bfb 100644 dtb-$(RPI_DT_OVERLAYS) += w1-gpio-overlay.dtb dtb-$(RPI_DT_OVERLAYS) += w1-gpio-pullup-overlay.dtb -From 3199b5f30db4ac952b1edc14c395150f1862d4fd Mon Sep 17 00:00:00 2001 +From 971c63d209cdcdeec8eba9211e9f75add0c6b10b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 12 Oct 2015 11:23:34 -0700 -Subject: [PATCH 100/234] clk: bcm2835: Also build the driver for downstream +Subject: [PATCH 100/251] clk: bcm2835: Also build the driver for downstream kernels. Signed-off-by: Eric Anholt @@ -136151,10 +136151,10 @@ index 3fc9506..a1b4cbc 100644 obj-$(CONFIG_ARCH_BCM_CYGNUS) += clk-cygnus.o obj-$(CONFIG_ARCH_BCM_NSP) += clk-nsp.o -From 18b004997924daa2670a41daf8f99645fa306000 Mon Sep 17 00:00:00 2001 +From 64297bcfecf13b8fa1939fc725b772875157b0a4 Mon Sep 17 00:00:00 2001 From: Holger Steinhaus Date: Sat, 14 Nov 2015 18:37:43 +0100 -Subject: [PATCH 101/234] dts: Added overlay for gpio_ir_recv driver +Subject: [PATCH 101/251] dts: Added overlay for gpio_ir_recv driver --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -136263,10 +136263,10 @@ index 0000000..a2d6bc7 + }; +}; -From 4e046619d2140c6e63c5d06e3c98c12ccb979a01 Mon Sep 17 00:00:00 2001 +From 1cb2b31fb379d569dd28ef81a69b04e748aa0a7e Mon Sep 17 00:00:00 2001 From: Alistair Buxton Date: Sun, 1 Nov 2015 22:27:56 +0000 -Subject: [PATCH 102/234] Build i2c_gpio module and add a device tree overlay +Subject: [PATCH 102/251] Build i2c_gpio module and add a device tree overlay to configure it. --- @@ -136375,10 +136375,10 @@ index d6aa058..51dc019 100644 CONFIG_SPI_BCM2835=m CONFIG_SPI_SPIDEV=y -From e76a0190ca7aef27bc9cb71fa5973e34c5e74651 Mon Sep 17 00:00:00 2001 +From d8810f6aa46773aab926661593de341c6bd77cae Mon Sep 17 00:00:00 2001 From: mwilliams03 Date: Sun, 18 Oct 2015 17:07:24 -0700 -Subject: [PATCH 103/234] New overlay for PiScreen2r +Subject: [PATCH 103/251] New overlay for PiScreen2r --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -136531,10 +136531,10 @@ index 0000000..7c018e0 +}; + -From 037e1879901fcb2be1344d5775c0685ead051b1a Mon Sep 17 00:00:00 2001 +From f2812d3b0fa2cda5f79e89235222c787bce2adac Mon Sep 17 00:00:00 2001 From: Ondrej Wisniewski Date: Fri, 6 Nov 2015 15:01:28 +0100 -Subject: [PATCH 104/234] dts: Added overlay for Adafruit PiTFT 2.8" capacitive +Subject: [PATCH 104/251] dts: Added overlay for Adafruit PiTFT 2.8" capacitive touch screen --- @@ -136684,10 +136684,10 @@ index 0000000..48920e9 + }; +}; -From ad77c59223d9ff5f68f52275fa02268e3fcbcea1 Mon Sep 17 00:00:00 2001 +From bc31b90ccadb0bfeaefbe40b460be9e7fa20b7f2 Mon Sep 17 00:00:00 2001 From: Stuart MacLean Date: Fri, 2 Oct 2015 15:12:59 +0100 -Subject: [PATCH 105/234] Add support for the HiFiBerry DAC+ Pro. +Subject: [PATCH 105/251] Add support for the HiFiBerry DAC+ Pro. The HiFiBerry DAC+ and DAC+ Pro products both use the existing bcm sound driver with the DAC+ Pro having a special clock device driver representing the two high precision oscillators. @@ -137235,10 +137235,10 @@ index 047c489..090fe0e 100644 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 832f1f8854b159b771a1dd5602793f4ddeb531f0 Mon Sep 17 00:00:00 2001 +From 0ef9ae2d5aba6fea2fe0520a24296a8fa4b858e5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 5 Oct 2015 10:47:45 +0100 -Subject: [PATCH 106/234] BCM270X_DT: Add at86rf233 overlay +Subject: [PATCH 106/251] BCM270X_DT: Add at86rf233 overlay Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. @@ -137373,10 +137373,10 @@ index 0000000..0460269 + }; +}; -From 91fa81779b1f5d1f8bd2caf180676a794c813eb1 Mon Sep 17 00:00:00 2001 +From 45d717abcc94edabe07e5909f1d984a392198921 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 107/234] mm: Remove the PFN busy warning +Subject: [PATCH 107/251] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -137401,10 +137401,10 @@ index c69531a..dc484d3 100644 goto done; } -From 1615d4ace228c85f2b188d4fc7b2f0a8a0e18ae1 Mon Sep 17 00:00:00 2001 +From 11a46a37a0da7f87fc9e278178f294047110f6ab Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 19 Nov 2014 12:06:38 -0800 -Subject: [PATCH 108/234] drm: Put an optional field in the driver struct for +Subject: [PATCH 108/251] drm: Put an optional field in the driver struct for GEM obj struct size. This allows a driver to derive from the CMA object without copying all @@ -137446,10 +137446,10 @@ index 0a271ca..54f5469 100644 int num_ioctls; const struct file_operations *fops; -From 63e2a58b2213550f7233563ed132f32e6b1ab866 Mon Sep 17 00:00:00 2001 +From b28efa9d1051537449004db1bfaf083429144d1b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 30 Oct 2015 10:09:02 -0700 -Subject: [PATCH 109/234] drm/vc4: Add an interface for capturing the GPU state +Subject: [PATCH 109/251] drm/vc4: Add an interface for capturing the GPU state after a hang. This can be parsed with vc4-gpu-tools tools for trying to figure out @@ -137790,10 +137790,10 @@ index 499daae..4a8d19f 100644 + #endif /* _UAPI_VC4_DRM_H_ */ -From 43fa373eaca4fa25761ce66ff2a282d1e6cd163e Mon Sep 17 00:00:00 2001 +From 341ad4b0afa7154311296be071b39f42f18fe228 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 4 Dec 2015 11:35:34 -0800 -Subject: [PATCH 110/234] drm/vc4: Update a bunch of code to match upstream +Subject: [PATCH 110/251] drm/vc4: Update a bunch of code to match upstream submission. This gets almost everything matching, except for the MSAA support and @@ -139713,10 +139713,10 @@ index 54f5469..987c25a 100644 int num_ioctls; const struct file_operations *fops; -From e7ddfe837c680dc154a0e50e6bead26de19c7953 Mon Sep 17 00:00:00 2001 +From 527fa9469f0876bade592e985a6c973ca8c84839 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 11 Dec 2015 19:45:03 -0800 -Subject: [PATCH 111/234] drm: Use the driver's gem_object_free function from +Subject: [PATCH 111/251] drm: Use the driver's gem_object_free function from CMA helpers. VC4 wraps the CMA objects in its own structures, so it needs to do its @@ -139777,10 +139777,10 @@ index 0f7b00b..e5df53b 100644 return ERR_PTR(ret); } -From 246b87d77b04074fc59517b99da4479aa7f5cf86 Mon Sep 17 00:00:00 2001 +From d5d7b446f3dc3c30886937f4750b96d5c40a0904 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 17 Jul 2015 13:15:50 -0700 -Subject: [PATCH 112/234] drm/vc4: Add support for MSAA rendering. +Subject: [PATCH 112/251] drm/vc4: Add support for MSAA rendering. For MSAA, you set a bit in the binner that halves the size of tiles in each direction, so you can pack 4 samples per pixel in the tile @@ -140304,10 +140304,10 @@ index 4a8d19f..49cd992 100644 uint32_t clear_z; uint8_t clear_s; -From 5332f64a451df183c738c0ae1ff9788ff85c9fa7 Mon Sep 17 00:00:00 2001 +From 8c5854914cb7ffd1d418a4013b2089eec87600d2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 8 Dec 2015 14:00:43 -0800 -Subject: [PATCH 113/234] drm/vc4: A few more non-functional changes to sync to +Subject: [PATCH 113/251] drm/vc4: A few more non-functional changes to sync to upstream. At this point all that's left is the force-enable of HDMI connector, @@ -140651,10 +140651,10 @@ index 49cd992..eeb37e3 100644 #endif /* _UAPI_VC4_DRM_H_ */ -From fc05e310790b52529e29028e9f42712873c1c1fe Mon Sep 17 00:00:00 2001 +From 96201e14bde5eadd0a63d291930c6931206dd945 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 15 Dec 2015 23:46:32 +0000 -Subject: [PATCH 114/234] drm/vc4: Use "hpd-gpios" for HDMI GPIO, like what +Subject: [PATCH 114/251] drm/vc4: Use "hpd-gpios" for HDMI GPIO, like what landed upstream. Signed-off-by: Eric Anholt @@ -140676,10 +140676,10 @@ index cf5d5c9..da37483 100644 <&cprman BCM2835_CLOCK_HSM>; clock-names = "pixel", "hdmi"; -From 96acf7d2b12a0e270c669a3b8dbeb3b34795284a Mon Sep 17 00:00:00 2001 +From c23f3c3bbf31b734f44040207eda9db1fdb3d565 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 7 Dec 2015 12:35:01 -0800 -Subject: [PATCH 115/234] drm/vc4: Synchronize validation code for v2 +Subject: [PATCH 115/251] drm/vc4: Synchronize validation code for v2 submission upstream. Signed-off-by: Eric Anholt @@ -141296,10 +141296,10 @@ index 2f22f19..0fb5b99 100644 return ret; } -From 4b68e80c46f80c31384ee5e56acb968edd6ad7f7 Mon Sep 17 00:00:00 2001 +From 677855b754d34a5fc02b572d3605e0a6ff754843 Mon Sep 17 00:00:00 2001 From: janluca Date: Sun, 27 Dec 2015 14:34:04 +0100 -Subject: [PATCH 116/234] MMC: Do not use mmc_debug if CONFIG_MMC_BCM2835 is +Subject: [PATCH 116/251] MMC: Do not use mmc_debug if CONFIG_MMC_BCM2835 is not set If CONFIG_MMC_BCM2835 was not set the compiling of the kernel failed @@ -141336,10 +141336,10 @@ index 87ae2e9..b79fe14 100644 } EXPORT_SYMBOL(mmc_fixup_device); -From 5c3ab466619cbcfd96b70baf8cd906d61d80bc70 Mon Sep 17 00:00:00 2001 +From 6c2f1c57e559b53e84735f0a38ad50e8177b3f4d Mon Sep 17 00:00:00 2001 From: Devon Fyson Date: Wed, 30 Dec 2015 16:40:47 -0500 -Subject: [PATCH 117/234] Extend clock timeout, fix modprobe baudrate +Subject: [PATCH 117/251] Extend clock timeout, fix modprobe baudrate parameter. Set the BSC_CLKT clock streching timeout to 35ms as per SMBus specs.\n- Increase priority of baudrate parameter passed to modprobe (in /etc/modprobe.d/*.conf or command line). Currently custom baudrates don't work because they are overridden by clock-frequency in the platform_device passed to the function. @@ -141447,10 +141447,10 @@ index 85f411c..b152639 100644 dev_info(&pdev->dev, "BSC%d Controller at 0x%08lx (irq %d) (baudrate %d)\n", pdev->id, (unsigned long)regs->start, irq, baudrate); -From 1f5a6afed627adfed60b98c81b11e17ea1dd2254 Mon Sep 17 00:00:00 2001 +From 138eda1c8216d04356fa821fe6500771bf14fb10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 31 Dec 2015 16:44:58 +0100 -Subject: [PATCH 118/234] bcm270x_dt: Add dwc2 and dwc-otg overlays +Subject: [PATCH 118/251] bcm270x_dt: Add dwc2 and dwc-otg overlays --- arch/arm/boot/dts/overlays/Makefile | 2 ++ @@ -141568,10 +141568,10 @@ index 0000000..90c9811 + }; +}; -From 5f7d31ed88d778829a00ead2c3ce6058e8428cae Mon Sep 17 00:00:00 2001 +From 534a6b55b445527c1a8aef9f0328987cb2c1c1d4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 4 Jan 2016 14:42:17 +0000 -Subject: [PATCH 119/234] BCM270X_DT: Add the sdtweak overlay, for tuning +Subject: [PATCH 119/251] BCM270X_DT: Add the sdtweak overlay, for tuning sdhost The sdhost overlay declares the sdhost interface and allows parameters @@ -141650,10 +141650,10 @@ index 0000000..74c168d + }; +}; -From 18ada5eca56619ab579dd6c65e53d00e9c5a736b Mon Sep 17 00:00:00 2001 +From baed92c64a0b70434069ec7f8cb906e33f7d50b4 Mon Sep 17 00:00:00 2001 From: Andrew Litt Date: Mon, 11 Jan 2016 07:54:21 +0000 -Subject: [PATCH 120/234] bcm2835-mmc: Don't override bus width capabilities +Subject: [PATCH 120/251] bcm2835-mmc: Don't override bus width capabilities from devicetree Take out the force setting of the MMC_CAP_4_BIT_DATA host capability @@ -141677,10 +141677,10 @@ index 43aed6e..104f93e 100644 mmc->caps2 |= MMC_CAP2_SDIO_IRQ_NOTHREAD; -From e3155ceee9ab00cab356e6d9f96b018ae7eca51c Mon Sep 17 00:00:00 2001 +From 2a12d02d01ad199df7c17296243ddef8a9ca6c33 Mon Sep 17 00:00:00 2001 From: Andrew Litt Date: Mon, 11 Jan 2016 07:55:54 +0000 -Subject: [PATCH 121/234] SDIO-overlay: add bus_width parameter +Subject: [PATCH 121/251] SDIO-overlay: add bus_width parameter Allow setting of the SDIO bus width capability of the bcm2835-mmc host. This is helpful when only a 1 bit wide bus is connected @@ -141724,10 +141724,10 @@ index afc8742..7935e7a 100644 }; }; -From 5bd58d52212f161c84da2662266f07bca2470773 Mon Sep 17 00:00:00 2001 +From 1589aee29dc9d1fafe145b75a018771ed993e869 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:41:45 +0100 -Subject: [PATCH 122/234] bcm2835: extend allowed range of channels and +Subject: [PATCH 122/251] bcm2835: extend allowed range of channels and samplerates Allow everything the videocore accepts. @@ -141764,10 +141764,10 @@ index 8c86375..31e3131 100755 .period_bytes_min = 1 * 1024, .period_bytes_max = 128 * 1024, -From 69fa2ce9d89de099868f04720cec37cec024e040 Mon Sep 17 00:00:00 2001 +From 768a8ae2b4eebe250c3872901caae49ecf92b483 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:42:18 +0100 -Subject: [PATCH 123/234] bcm2835: restrict channels*rate to 8*960000 +Subject: [PATCH 123/251] bcm2835: restrict channels*rate to 8*960000 This is required at least for SPDIF. If the bitrate goes above, videocore will either resample the audio or corrupt it due to @@ -141847,10 +141847,10 @@ index 31e3131..b17ed32 100755 chip->opened |= (1 << idx); -From 29fd7c86e93a48c3cd10ab22f2c794cd946b38ef Mon Sep 17 00:00:00 2001 +From 19d09a4d7b66ffed44ec5b9da81304f3a11f4586 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:42:48 +0100 -Subject: [PATCH 124/234] rpi: update vc_vchi_audioserv_defs.h +Subject: [PATCH 124/251] rpi: update vc_vchi_audioserv_defs.h Add audioserv 3 extensions. The changes were taken from the paste linked here: @@ -141916,10 +141916,10 @@ index af3e6eb..5f4409f 100644 +#endif // _VC_AUDIO_DEFS_H_ \ No newline at end of file -From b3283c09906705a7234676beff768e1f9fcb19b4 Mon Sep 17 00:00:00 2001 +From c507443d3266d9f0cbdc1832089ad90b8943f48b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:43:12 +0100 -Subject: [PATCH 125/234] bcm2835: implement channel map API +Subject: [PATCH 125/251] bcm2835: implement channel map API Report all layouts supported by the HDMI protocol to userspace. Make the videocore set the correct layout according to the @@ -142346,10 +142346,10 @@ index 0f71c5d..997fb69 100755 int bcm2835_audio_close(bcm2835_alsa_stream_t * alsa_stream); int bcm2835_audio_set_params(bcm2835_alsa_stream_t * alsa_stream, -From 96c6db5e6de3afcd7b8d88d3d8fd663423706d25 Mon Sep 17 00:00:00 2001 +From 9e7ef4d08f6e2dbcdca8f7f2833f2eb38bee78e1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:43:35 +0100 -Subject: [PATCH 126/234] bcm2835: access controls under the audio mutex +Subject: [PATCH 126/251] bcm2835: access controls under the audio mutex I don't think the ALSA framework provides any kind of automatic synchronization within the control callbacks. We most likely need @@ -142588,10 +142588,10 @@ index 1067460..48da3bb 100755 return 0; } -From 0ac97ee604b5488d21417c16eadc03005ef848e2 Mon Sep 17 00:00:00 2001 +From 04d7228226398968e0fc67ec3722760f729dbfc9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:44:03 +0100 -Subject: [PATCH 127/234] bcm2835: always use 2/4/8 channels for multichannel +Subject: [PATCH 127/251] bcm2835: always use 2/4/8 channels for multichannel layouts Pad the unused channels with NA. This means userspace needs to write @@ -142730,10 +142730,10 @@ index 5b8e6bd..dec052b 100755 }; -From e030b22f402a99a3b63c0bacbb50beffe316c473 Mon Sep 17 00:00:00 2001 +From 7a65c83035dbea9a9ac43867cc82167d64e5c233 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:44:24 +0100 -Subject: [PATCH 128/234] bcm2835: only allow stereo if analogue jack is +Subject: [PATCH 128/251] bcm2835: only allow stereo if analogue jack is selected Sending more than 2 channels to videocore while outputting to analogue @@ -142795,10 +142795,10 @@ index dec052b..e930718 100755 for (x = 0; x < substream->runtime->channels; x++) { int sp = ucontrol->value.integer.value[x]; -From 3ac0c0dc4bce4aceb42c68fb5652c52c61bd8fb4 Mon Sep 17 00:00:00 2001 +From 1009b70932a4980e21de9429c596dbdccac1ecdb Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jan 2016 19:44:47 +0100 -Subject: [PATCH 129/234] bcm2835: interpolate audio delay +Subject: [PATCH 129/251] bcm2835: interpolate audio delay It appears the GPU only sends us a message all 10ms to update the playback progress. Other than this, the playback position @@ -142890,10 +142890,10 @@ index 997fb69..20ef108 100755 uint32_t enable_fifo_irq; irq_handler_t fifo_irq_handler; -From a442aa73f934181904d8d33abbe18578aa197f6e Mon Sep 17 00:00:00 2001 +From fb73e06c694d16d8be119e08e71bf5601f386352 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 Jan 2016 17:16:38 +0000 -Subject: [PATCH 130/234] bcm2835-sdhost: Add workaround for odd behaviour on +Subject: [PATCH 130/251] bcm2835-sdhost: Add workaround for odd behaviour on some cards For reasons not understood, the sdhost driver fails when reading @@ -143030,10 +143030,10 @@ index da08998..309633c 100644 } -From 6ac321e20227b0361e650f751e0b3b2906e1ae02 Mon Sep 17 00:00:00 2001 +From 6671675d3a1a7df0f838121c8166b57f0fd6f0c3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 22 Jan 2016 16:03:24 +0000 -Subject: [PATCH 131/234] bcm2835-sdhost: Add debug_flags dtparam +Subject: [PATCH 131/251] bcm2835-sdhost: Add debug_flags dtparam Bit zero disables the single-read-sectors map: @@ -143157,10 +143157,10 @@ index 309633c..ef9b1e6 100644 if (node) { host->dma_chan_tx = -From 72b03ddd9d4fb66065ea28b6d97f019c7bcc85bc Mon Sep 17 00:00:00 2001 +From 559103cc40fb480a58ff12002ac79dc204c5c19d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 25 Jan 2016 09:12:06 +0000 -Subject: [PATCH 132/234] BCM270X_DT: Add sdio_overclock parameter to sdio +Subject: [PATCH 132/251] BCM270X_DT: Add sdio_overclock parameter to sdio overlay The sdio_overclock parameter is like the overclock_50 parameter, i.e. @@ -143231,10 +143231,10 @@ index 7935e7a..398bd81 100644 }; }; -From 5f7c000de9e55ad3bf6e3dcae31343bbec2c1724 Mon Sep 17 00:00:00 2001 +From 73ad066f76a5c18c621dbc86b02ff90d3adc814a Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 21 Jan 2016 18:10:16 +0100 -Subject: [PATCH 133/234] rtc: ds1307: add support for the DT property +Subject: [PATCH 133/251] rtc: ds1307: add support for the DT property 'wakeup-source' For RTC chips with no IRQ directly connected to the SoC, the RTC chip @@ -143328,10 +143328,10 @@ index 1cb13fe..28ca4bf 100644 err = devm_request_threaded_irq(&client->dev, client->irq, NULL, irq_handler, -From 65d99e381d375d6dc8da36b19261dcd265876ed8 Mon Sep 17 00:00:00 2001 +From 4f6fbb96cdcdc9e66c0521d1b0a46ca0b1d2c47d Mon Sep 17 00:00:00 2001 From: vitalogy Date: Tue, 19 Jan 2016 07:02:02 +0100 -Subject: [PATCH 134/234] dt-overlay: add wittypi-overlay.dts +Subject: [PATCH 134/251] dt-overlay: add wittypi-overlay.dts --- arch/arm/boot/dts/overlays/wittypi-overlay.dts | 44 ++++++++++++++++++++++++++ @@ -143389,10 +143389,10 @@ index 0000000..be5987d + +}; -From 182d80ba104dcd33de5a9a517e214890e5b3d71f Mon Sep 17 00:00:00 2001 +From ed208e16047972bbaf88000ab35b61fa82293247 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 Jan 2016 16:28:05 +0000 -Subject: [PATCH 135/234] FIXUP i2c_bcm2708: Don't change module baudrate +Subject: [PATCH 135/251] FIXUP i2c_bcm2708: Don't change module baudrate parameter Overwriting the baudrate module parameter creates an apparent @@ -143491,10 +143491,10 @@ index b152639..c9b8e5c 100644 return 0; -From ecbb995a27f844890cb596f55b6c162bd503c3c1 Mon Sep 17 00:00:00 2001 +From 1172f40b76155e169d23802f5bfd81555571cb7e Mon Sep 17 00:00:00 2001 From: Digital Dreamtime Date: Thu, 4 Feb 2016 14:14:44 +0000 -Subject: [PATCH 136/234] Allow up to 24dB digital gain to be applied when +Subject: [PATCH 136/251] Allow up to 24dB digital gain to be applied when using IQAudIO DAC+ 24db_digital_gain DT param can be used to specify that PCM512x @@ -143597,10 +143597,10 @@ index 37038d4..124d7a9 100644 ret = snd_soc_register_card(&snd_rpi_iqaudio_dac); -From 2b5de011997270039c921001eac6a08da664da83 Mon Sep 17 00:00:00 2001 +From d87eb9396da3d0cf59346531fb93cfaa452760d8 Mon Sep 17 00:00:00 2001 From: Digital Dreamtime Date: Thu, 4 Feb 2016 20:04:00 +0000 -Subject: [PATCH 137/234] Limit PCM512x "Digital" gain to 0dB by default with +Subject: [PATCH 137/251] Limit PCM512x "Digital" gain to 0dB by default with HiFiBerry DAC+ 24db_digital_gain DT param can be used to specify that PCM512x @@ -143702,10 +143702,10 @@ index a6b651c..153dbcd 100644 ret = snd_soc_register_card(&snd_rpi_hifiberry_dacplus); -From 4229a7006381d75e1a79f2b2214811946ef4646d Mon Sep 17 00:00:00 2001 +From f279fd3295cc2407f05e56fafb77edc800148547 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 Feb 2016 09:46:33 +0000 -Subject: [PATCH 138/234] BCM270X_DT: Adjust overlay README formatting +Subject: [PATCH 138/251] BCM270X_DT: Adjust overlay README formatting --- arch/arm/boot/dts/overlays/README | 414 +++++++++++++++++++------------------- @@ -144434,10 +144434,10 @@ index 296184f..f987565 100644 Troubleshooting -From 5187f0c81288df33fb8aa9950fe2df568600b238 Mon Sep 17 00:00:00 2001 +From 414077cd3a0694b0a49a8e1bc92b574290aa8fcf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 11 Feb 2016 16:51:01 +0000 -Subject: [PATCH 139/234] bcm2835-sdhost: Major revision +Subject: [PATCH 139/251] bcm2835-sdhost: Major revision This is a significant revision of the bcm2835-sdhost driver. It improves on the original in a number of ways: @@ -146506,10 +146506,10 @@ index ef9b1e6..262180b 100644 .probe = bcm2835_sdhost_probe, .remove = bcm2835_sdhost_remove, -From a89d94f78da2a6e4c2df2a8206ed61d841143161 Mon Sep 17 00:00:00 2001 +From 28749d393c5f8b68c20ab5827c0e519eb96c89fe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 12 Feb 2016 15:38:00 +0000 -Subject: [PATCH 140/234] BCM270X_DT: Add dtparams for the SD interface +Subject: [PATCH 140/251] BCM270X_DT: Add dtparams for the SD interface Add new base dtparams sd_overclock, sd_force_pio, sd_pio_limit and sd_debug. @@ -146762,10 +146762,10 @@ index b0b208c..e4a4677 100644 }; }; -From 050e65853a2a95ba2835a85f5b79e722a768a3ff Mon Sep 17 00:00:00 2001 +From bad7a004e1e990eefa9f402684b19021baa81812 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Feb 2016 14:50:25 +0000 -Subject: [PATCH 141/234] dcw_otg: trim xfer length when buffer larger than +Subject: [PATCH 141/251] dcw_otg: trim xfer length when buffer larger than allocated size is received --- @@ -146802,10 +146802,10 @@ index 8db3dfc..d672a76 100644 if (hc->align_buff && bytes_transferred && hc->ep_is_in) { dwc_memcpy(urb->buf + urb->actual_length, hc->qh->dw_align_buf, -From 517b68ff48633e45cf1179e75bdcb5cd92caa470 Mon Sep 17 00:00:00 2001 +From 3f19b475b6394511ee22af77c8287ea1c1b8295a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 15 Feb 2016 10:00:27 +0000 -Subject: [PATCH 142/234] bcm2835-sdhost: Restore ATOMIC flag to PIO sg mapping +Subject: [PATCH 142/251] bcm2835-sdhost: Restore ATOMIC flag to PIO sg mapping Allocation problems have been seen in a wireless driver, and this is the only change which might have been responsible. @@ -146837,10 +146837,10 @@ index 262180b..d66385c 100644 host->blocks = data->blocks; } -From 4b95330d1365c7045e283b0c0cb5f5d93a136dea Mon Sep 17 00:00:00 2001 +From 962dfa8efd816762704046d501b703eb153fca3f Mon Sep 17 00:00:00 2001 From: Craig Roberts Date: Tue, 16 Feb 2016 10:03:42 +0000 -Subject: [PATCH 143/234] Updated smsc95xx driver to check for a valid MAC +Subject: [PATCH 143/251] Updated smsc95xx driver to check for a valid MAC address in eeprom before using smsc95xx.macaddr parameter passed on command line. @@ -146880,10 +146880,10 @@ index 3244a90..7483222 100755 netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); } -From f117931be1708330fd5fab0d9f0a99b7c091745d Mon Sep 17 00:00:00 2001 +From 0139c7899ec18de29f16b6dad11ea5cddd06ae62 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Feb 2016 19:02:31 +0000 -Subject: [PATCH 144/234] dcw_otg: Make trimming messages less noisy +Subject: [PATCH 144/251] dcw_otg: Make trimming messages less noisy --- drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 6 ++++-- @@ -146914,10 +146914,10 @@ index d672a76..e6b38ac 100644 } -From 473fe36c4e0c683b9c41c069f779b58a37a8ab6d Mon Sep 17 00:00:00 2001 +From e41f1f667f3d2f4e6e22dc585a6d4dabbc5aafd7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 Feb 2016 15:28:14 +0000 -Subject: [PATCH 145/234] BCM270X_DT: at86rf233 overlay - drop to 3MHz +Subject: [PATCH 145/251] BCM270X_DT: at86rf233 overlay - drop to 3MHz The consensus is that 6MHz is too fast, but that 3MHz is OK. @@ -146955,10 +146955,10 @@ index 0460269..eab4052 100644 }; }; -From 00fe3603a076b0f869f8f6e4cecbaa41e775b134 Mon Sep 17 00:00:00 2001 +From 61f20e3098ef685f6a14238c58b7158e637652bc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Feb 2016 12:04:48 +0000 -Subject: [PATCH 146/234] bcm2835-sdhost: Downgrade log message status +Subject: [PATCH 146/251] bcm2835-sdhost: Downgrade log message status --- drivers/mmc/host/bcm2835-sdhost.c | 4 ++-- @@ -146980,10 +146980,10 @@ index d66385c..4f6cab5 100644 if (!timer_base) pr_err("sdhost: failed to remap timer\n"); -From 477518bb3f87ec9bbb069aeb96dd1d35c0f7a621 Mon Sep 17 00:00:00 2001 +From 8d7f055a36864ccb388a526cca31a4e416125ac6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 15 Jan 2016 16:48:27 +0000 -Subject: [PATCH 147/234] config: Enable HCI over UARTs +Subject: [PATCH 147/251] config: Enable HCI over UARTs --- arch/arm/configs/bcm2709_defconfig | 3 +++ @@ -147018,10 +147018,10 @@ index 51dc019..4368f0d 100644 CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBFUSB=m -From b0252043429f6c50c745f43afc9c231d2961480f Mon Sep 17 00:00:00 2001 +From 4e80e74fc12bf2b3f75908afce3fe399323ccb90 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 148/234] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 148/251] hci_h5: Don't send conf_req when ACTIVE Without this patch, a modem and kernel can continuously bombard each other with conf_req and conf_rsp messages, in a demented game of tag. @@ -147044,10 +147044,10 @@ index abee221..2825833 100644 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 7); -From b564003a5d4ea674a920e2021ab25a0522911543 Mon Sep 17 00:00:00 2001 +From 7ea16aeff2daf97ada8b68b9acad503f5a922c61 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 149/234] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 149/251] amba_pl011: Don't use DT aliases for numbering The pl011 driver looks for DT aliases of the form "serial", and if found uses as the device ID. This can cause @@ -147076,10 +147076,10 @@ index 899a771..68b3353 100644 uap->old_cr = 0; uap->port.dev = dev; -From 3dc30aa2b86ef70ffda8a8a5e57ddc653b1fb2d3 Mon Sep 17 00:00:00 2001 +From cce16b3c1c46f74a3178029ac894c89aea751af4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 15 Dec 2015 15:35:57 -0800 -Subject: [PATCH 150/234] clk: bcm2835: Add bindings for the auxiliary +Subject: [PATCH 150/251] clk: bcm2835: Add bindings for the auxiliary peripheral clock gates. These will be used for enabling UART1, SPI1, and SPI2. @@ -147155,10 +147155,10 @@ index 0000000..d91156e +#define BCM2835_AUX_CLOCK_SPI2 2 +#define BCM2835_AUX_CLOCK_COUNT 3 -From 4334bbc4f8aa283d7e470500bf42b146c0bf2029 Mon Sep 17 00:00:00 2001 +From 16aac0eab690fbafcf6cb70a19ceffd848cc8ee8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 15 Dec 2015 15:35:58 -0800 -Subject: [PATCH 151/234] clk: bcm2835: Add a driver for the auxiliary +Subject: [PATCH 151/251] clk: bcm2835: Add a driver for the auxiliary peripheral clock gates. There are a pair of SPI masters and a mini UART that were last minute @@ -147279,10 +147279,10 @@ index 0000000..e4f89e2 +MODULE_DESCRIPTION("BCM2835 auxiliary peripheral clock driver"); +MODULE_LICENSE("GPL v2"); -From 4567f48c8cea336f6c69e4244624b504e0e35272 Mon Sep 17 00:00:00 2001 +From c7b36d3709441f04c40763f17c82e6734cc14fc1 Mon Sep 17 00:00:00 2001 From: Fraser Date: Tue, 23 Feb 2016 10:04:37 +1100 -Subject: [PATCH 152/234] Aux SPI 1&2 implementation +Subject: [PATCH 152/251] Aux SPI 1&2 implementation Adds aux spi 1 & 2 devices to compatible raspberry PIs. * Minor config of the driver build environment to ensure they get built @@ -148012,10 +148012,10 @@ index e842e86..c9d1558 100644 help This selects a driver for the Broadcom BCM2835 SPI aux master. -From 5ff0e7a7d133b1ec4ab95f44bf8575178d3cd8bd Mon Sep 17 00:00:00 2001 +From 9c53b072c7283c02625434a42fbc2aaa3b2b4bbc Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 23 Feb 2016 17:28:23 +0100 -Subject: [PATCH 153/234] ASoC: bcm: add missing .owner fields in sound card +Subject: [PATCH 153/251] ASoC: bcm: add missing .owner fields in sound card drivers If snd_soc_card.owner is not set the kernel won't do usage refcounting @@ -148137,10 +148137,10 @@ index c6e45a0..9db678e 100644 .num_links = ARRAY_SIZE(snd_rpi_proto_dai), }; -From 474200011a4fb8f7174ce074092c4bf83eed5ee6 Mon Sep 17 00:00:00 2001 +From 797d7607625bed287bdadcee2471a247ced1ded5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 20 Jan 2016 17:50:09 +0000 -Subject: [PATCH 154/234] smsx95xx: Add option to disable the crimes against +Subject: [PATCH 154/251] smsx95xx: Add option to disable the crimes against truesize fix It may improve iperf numbers on Pi 1, but may generate dmesg warnings and possibly cause network issues @@ -148186,10 +148186,10 @@ index 7483222..a61bd08 usbnet_skb_return(dev, ax_skb); } -From 763d1c355b6995358eb162c8d14414c680ae5397 Mon Sep 17 00:00:00 2001 +From 93c08f5b50bbb8181c4d34bb40fc57e4e3142f8f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 155/234] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 155/251] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -148442,10 +148442,10 @@ index b011489..c844968 100644 RPI_FIRMWARE_FRAMEBUFFER_TEST_PHYSICAL_WIDTH_HEIGHT = 0x00044003, RPI_FIRMWARE_FRAMEBUFFER_TEST_VIRTUAL_WIDTH_HEIGHT = 0x00044004, -From 1c56eb666d63752162efc53df92069aec66fdb6d Mon Sep 17 00:00:00 2001 +From 686310b3289232a8ae9d21061318e2ee3ca65c3d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 21 Jan 2016 17:57:49 +0000 -Subject: [PATCH 156/234] BCM270X_DT: Add Pi3 support +Subject: [PATCH 156/251] BCM270X_DT: Add Pi3 support --- arch/arm/boot/dts/Makefile | 1 + @@ -148774,10 +148774,10 @@ index 0000000..1a48686 + interrupts = <8>; +}; -From 74e67294379f309acfdc52f3594c8c964711a376 Mon Sep 17 00:00:00 2001 +From 5704ec08a597c580de377bb0fca760fa30b927b0 Mon Sep 17 00:00:00 2001 From: Dave Stevenson <6by9@users.noreply.github.com> Date: Mon, 8 Feb 2016 23:49:41 +0000 -Subject: [PATCH 157/234] DT: Add overlays to configure I2C pins +Subject: [PATCH 157/251] DT: Add overlays to configure I2C pins Lifted from https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=120938&p=825883 @@ -148919,10 +148919,10 @@ index 0000000..e303b9c + }; +}; -From e520168fb0bf9c5beb98703122f21dd6bdf16a73 Mon Sep 17 00:00:00 2001 +From c0d707957191b16ee951b09e3b2d28e5a5cda0f3 Mon Sep 17 00:00:00 2001 From: Dhiraj Goel Date: Thu, 3 Mar 2016 21:10:50 -0800 -Subject: [PATCH 158/234] bcm2835-camera: fix a bug in computation of frame +Subject: [PATCH 158/251] bcm2835-camera: fix a bug in computation of frame timestamp Fixes #1318 @@ -148945,10 +148945,10 @@ index e83334c..98a892e 100644 dev->capture.kernel_start_ts.tv_usec + rem; -From 0569e24890ce6458b8e89393d81ff912af4518f4 Mon Sep 17 00:00:00 2001 +From e16268752be460f8d65e4d613c690508ce985f3f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 2 Mar 2016 10:59:05 +0000 -Subject: [PATCH 159/234] BCM270X_DT: Add pi3-disable-bt overlay +Subject: [PATCH 159/251] BCM270X_DT: Add pi3-disable-bt overlay Disable Bluetooth and restore UART0/ttyAMA0 over GPIOs 14 & 15. To disable the systemd service that initialises the modem so it doesn't use the UART: @@ -149049,10 +149049,10 @@ index 0000000..05403e2 + }; +}; -From d2bda5ca90aae84491f8c967122de1b910183837 Mon Sep 17 00:00:00 2001 +From 59b04f45fe08783a5564c784869cfc93cd40c109 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 09:53:03 +0000 -Subject: [PATCH 160/234] BCM270X_DT: Add pi3-miniuart-bt DT overlay +Subject: [PATCH 160/251] BCM270X_DT: Add pi3-miniuart-bt DT overlay Switch Pi3 Bluetooth function to use the mini-UART (ttyS0) and restore UART0/ttyAMA0 over GPIOs 14 & 15. Note that this may reduce the maximum @@ -149174,10 +149174,10 @@ index 0000000..ae1292a + }; +}; -From 612299645d40261b3ad51c1be30abf3786bc8eaa Mon Sep 17 00:00:00 2001 +From 7c539311298d0f848ba5e300d251572d4f02a891 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 13:38:39 +0000 -Subject: [PATCH 161/234] Pi3 DT: Add dtparams for the SD interface +Subject: [PATCH 161/251] Pi3 DT: Add dtparams for the SD interface Add new base dtparams sd_overclock, sd_force_pio, sd_pio_limit and sd_debug. These were missed out of the initial Pi3 DTB. @@ -149202,10 +149202,10 @@ index cc06089..36972d8 100644 }; }; -From c6b607df8df72e40f649a26f3f17530c4d6f80e7 Mon Sep 17 00:00:00 2001 +From a852495aa0826899b7cf9b7c341ef4c5baea1073 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 15:05:11 +0000 -Subject: [PATCH 162/234] vchiq_arm: Tweak the logging output +Subject: [PATCH 162/251] vchiq_arm: Tweak the logging output Signed-off-by: Phil Elwell --- @@ -149280,10 +149280,10 @@ index 2c98da4..160db24 100644 switch (type) { -From 0309d20fa78d21417424ac2a29f7021005103a95 Mon Sep 17 00:00:00 2001 +From e7f05008cced2d27c9b221614ca469dd48f5bc81 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 16:46:39 +0000 -Subject: [PATCH 163/234] bcm2835-sdhost: Only claim one DMA channel +Subject: [PATCH 163/251] bcm2835-sdhost: Only claim one DMA channel With both MMC controllers enabled there are few DMA channels left. The bcm2835-sdhost driver only uses DMA in one direction at a time, so it @@ -149445,10 +149445,10 @@ index 4f6cab5..4cc4272 100644 } } -From 85475f3bb5c999db424e476fd34db78dd2f620e7 Mon Sep 17 00:00:00 2001 +From afe2e242d78005f19d1611ad15124ce576225778 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Mar 2016 09:49:16 +0000 -Subject: [PATCH 164/234] bcm2835-mmc: Only claim one DMA channel +Subject: [PATCH 164/251] bcm2835-mmc: Only claim one DMA channel With both MMC controllers enabled there are few DMA channels left. The bcm2835-mmc driver only uses DMA in one direction at a time, so it @@ -149620,10 +149620,10 @@ index 104f93e..ceb3793 100644 #endif clk = devm_clk_get(dev, NULL); -From 09b4efc16a0683e3483fca04c29ab50acd77ea35 Mon Sep 17 00:00:00 2001 +From ba461323859e90843ed2a65dd223a60244782814 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 8 Mar 2016 17:08:39 +0000 -Subject: [PATCH 165/234] config: rebuild with savedefconfig +Subject: [PATCH 165/251] config: rebuild with savedefconfig --- arch/arm/configs/bcm2709_defconfig | 3 +-- @@ -149651,10 +149651,10 @@ index 6d6b519..116002b 100644 CONFIG_MCP320X=m CONFIG_DHT11=m -From b0b658052a1bbcb915e1461e785e2ada1de92747 Mon Sep 17 00:00:00 2001 +From 226c823c6dde5546476a22be8d681712924ad6ef Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 8 Mar 2016 17:06:33 +0000 -Subject: [PATCH 166/234] config: Add module for mcp3422 ADC +Subject: [PATCH 166/251] config: Add module for mcp3422 ADC --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -149686,10 +149686,10 @@ index 1ca1695..f09be87 100644 CONFIG_PWM_BCM2835=m CONFIG_RASPBERRYPI_FIRMWARE=y -From 13f3cb2aa11e7f35437ef94b643ec18c4216afa7 Mon Sep 17 00:00:00 2001 +From f27ae7ba1432ab3604faaf8ca79ed31a5edc8d42 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Mar 2016 16:18:57 +0000 -Subject: [PATCH 167/234] Pi3 DT: Add pull-ups on the UART RX lines +Subject: [PATCH 167/251] Pi3 DT: Add pull-ups on the UART RX lines Signed-off-by: Phil Elwell --- @@ -149731,10 +149731,10 @@ index ae1292a..0b8f0ca 100644 }; }; -From 40b7ff1151cda094b243d68e04afea524f5f91e1 Mon Sep 17 00:00:00 2001 +From e5b66ba646a96ad37ea4c7cc240c34e9d77f0eea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 17:25:59 +0000 -Subject: [PATCH 168/234] brcmfmac: Disable power management +Subject: [PATCH 168/251] brcmfmac: Disable power management Disable wireless power saving in the brcmfmac WLAN driver. This is a temporary measure until the connectivity loss resulting from power @@ -149759,10 +149759,10 @@ index deb5f78..90f65d9 100644 if (!check_vif_up(ifp->vif)) { -From 4c066381ff2a904adfcbff623cb686b6d47e82d4 Mon Sep 17 00:00:00 2001 +From 6be841fb1dc54f49488ac814034726a0eecb26c7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 21:28:52 +0000 -Subject: [PATCH 169/234] BCM270X_DT: rpi-display overlay - add swapxy param +Subject: [PATCH 169/251] BCM270X_DT: rpi-display overlay - add swapxy param Signed-off-by: Phil Elwell --- @@ -149802,10 +149802,10 @@ index a8fa974..ccb296e 100644 }; }; -From 7a9843abb04b72adb5b0fd6e04053b217dbea4a0 Mon Sep 17 00:00:00 2001 +From 0775a4eb95034a3460293cbd08bc7c6ebbe47a0f Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Fri, 11 Mar 2016 11:44:35 +0000 -Subject: [PATCH 170/234] Remove I2S config from bt_pins. +Subject: [PATCH 170/251] Remove I2S config from bt_pins. Remove I2S config from bt_pins. Causes issues with clock alignment when I2S is used by an external DAC via GPIO header. @@ -149845,10 +149845,10 @@ index 0b8f0ca..f07afcb 100644 }; }; -From ed964142cfe7d2949fe10cb39cf897c216f42d8d Mon Sep 17 00:00:00 2001 +From c80d4e337d289f911bc3d9c972cbcc85c0bf758c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:44:59 +0100 -Subject: [PATCH 171/234] Revert "scripts/dtc: Add overlay support" +Subject: [PATCH 171/251] Revert "scripts/dtc: Add overlay support" This reverts commit fa6d1755c2fdd9451077d8248e3804f0619f19b9. --- @@ -154253,10 +154253,10 @@ index 86b7338..5b8c7d5 100644 -#define DTC_VERSION "DTC 1.4.1-g9d3649bd-dirty" +#define DTC_VERSION "DTC 1.4.1-g9d3649bd" -From f8ba4ced67c24170cc9a8beb8d41678a10c79cca Mon Sep 17 00:00:00 2001 +From 4db35c3559c7b70c617593f51cdde1e6a9f75376 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 172/234] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 172/251] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -157010,10 +157010,10 @@ index 5b8c7d5..2595dfd 100644 -#define DTC_VERSION "DTC 1.4.1-g9d3649bd" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From 0b913e25d5d9d0290cc63a6d6b2154d440da56c2 Mon Sep 17 00:00:00 2001 +From 04317cda235aa8627422fd132fe4bbb19036f4a5 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Thu, 22 Oct 2015 23:30:04 +0300 -Subject: [PATCH 173/234] configfs: implement binary attributes +Subject: [PATCH 173/251] configfs: implement binary attributes ConfigFS lacked binary attributes up until now. This patch introduces support for binary attributes in a somewhat similar @@ -157662,10 +157662,10 @@ index 758a029..f7300d0 100644 * If allow_link() exists, the item can symlink(2) out to other * items. If the item is a group, it may support mkdir(2). -From 53622946808fde54db459134af4d03e094883840 Mon Sep 17 00:00:00 2001 +From 15c5929aef0ebd49a3afc31a307b0fa3e24a2923 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 174/234] OF: DT-Overlay configfs interface +Subject: [PATCH 174/251] OF: DT-Overlay configfs interface This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes. @@ -158081,10 +158081,10 @@ index 0000000..7b66deb +} +late_initcall(of_cfs_init); -From 18cfeae5235132b5db6c49ed966fbddc447b5c89 Mon Sep 17 00:00:00 2001 +From ee377daa5f1e9811fa04bbf254f4930ed5c7c9c5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 175/234] Protect __release_resource against resources without +Subject: [PATCH 175/251] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -158112,10 +158112,10 @@ index 249b1eb..eb973a5 100644 for (;;) { tmp = *p; -From 992eefefd8d6a5ef59491bc900d13747068dab3c Mon Sep 17 00:00:00 2001 +From fa4cb194572f56c3ab11913af77d31084b8f40e5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 20:00:21 +0000 -Subject: [PATCH 176/234] BCM270X_DT: Add a .dtbo target, use for overlays +Subject: [PATCH 176/251] BCM270X_DT: Add a .dtbo target, use for overlays Change the filenames and extensions to keep the pre-DDT style of overlay (-overlay.dtb) distinct from new ones that use a @@ -158312,10 +158312,10 @@ index 79e8661..7209d62 100644 # Bzip2 -From d467a9ff0718d4c2cac2d6bbd273be4c81f5ffaf Mon Sep 17 00:00:00 2001 +From 3c760a6a8f336bfb891214091b71bc3408c93b6f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 May 2015 11:18:58 +0100 -Subject: [PATCH 177/234] scripts/knlinfo: Decode DDTK atom +Subject: [PATCH 177/251] scripts/knlinfo: Decode DDTK atom Show the DDTK atom as being a boolean. @@ -158346,10 +158346,10 @@ index b9ef124..263ec93 100755 sub format_int -From 569826fad285415f3f662f467c0e6d70ba6e24b0 Mon Sep 17 00:00:00 2001 +From 2db1009fef8b23bac3b3ae61dd1382bffb0827b1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 May 2015 11:48:59 +0100 -Subject: [PATCH 178/234] Enable Dynamic Device Tree for bcmrpi_defconfig and +Subject: [PATCH 178/251] Enable Dynamic Device Tree for bcmrpi_defconfig and bcm2709_defconfig Signed-off-by: Phil Elwell @@ -158391,10 +158391,10 @@ index f09be87..2db41e6 100644 CONFIG_ZRAM_LZ4_COMPRESS=y CONFIG_BLK_DEV_LOOP=y -From b5c6d0cfa66fd1dfb8a39f8e80187d13aef072cf Mon Sep 17 00:00:00 2001 +From efe315038fd3581998bf6c93f432ac6cf85bb53f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 13 Mar 2016 16:14:44 +0000 -Subject: [PATCH 179/234] SQUASH: Add CONFIG_OF_CONFIGFS to bcmrpi_defconfig +Subject: [PATCH 179/251] SQUASH: Add CONFIG_OF_CONFIGFS to bcmrpi_defconfig Signed-off-by: Phil Elwell --- @@ -158423,10 +158423,10 @@ index 2db41e6..74149cf 100644 CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m -From 2407bd2c947d9d588976ccb4bfafd0ba3ee02a6d Mon Sep 17 00:00:00 2001 +From 558d3a84b6363b021f77f138615cbf7b72c6f38c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 14 Mar 2016 16:56:54 +0000 -Subject: [PATCH 180/234] dts, kbuild: dtbs_install installs .dtbo files too +Subject: [PATCH 180/251] dts, kbuild: dtbs_install installs .dtbo files too Signed-off-by: Phil Elwell --- @@ -158468,10 +158468,10 @@ index 1c15717..43647b3 100644 .PHONY: $(PHONY) -From df9a9b056dc720c57f8444bf177c01cba0549d94 Mon Sep 17 00:00:00 2001 +From 3df4e691dcda317e661b026201c28db902be6830 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Mar 2016 14:10:29 +0000 -Subject: [PATCH 181/234] bcm2835-sdhost: Workaround for "slow" sectors +Subject: [PATCH 181/251] bcm2835-sdhost: Workaround for "slow" sectors Some cards have been seen to cause timeouts after certain sectors are read. This workaround enforces a minimum delay between the stop after @@ -158589,10 +158589,10 @@ index 4cc4272..f43aae0 100644 } } else { -From df34119f3390421137e5fd4a27a54c54299fb152 Mon Sep 17 00:00:00 2001 +From 16f0b8c220be3459c873578037994693c7e025d1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Mar 2016 15:49:16 +0000 -Subject: [PATCH 182/234] BCM270X_DT: Add labels to spidev nodes +Subject: [PATCH 182/251] BCM270X_DT: Add labels to spidev nodes Signed-off-by: Phil Elwell --- @@ -158714,10 +158714,10 @@ index 2cb7d43..1ce4ea2 100644 reg = <1>; /* CE1 */ #address-cells = <1>; -From 40a8cebad2744813005953f297e5bc96416d0186 Mon Sep 17 00:00:00 2001 +From 320ed2194edfdcd5fcc93772a353b7480fd4aa5a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Mar 2016 16:27:26 +0000 -Subject: [PATCH 183/234] BCM270X_DT: Use spidev labels in overlays +Subject: [PATCH 183/251] BCM270X_DT: Use spidev labels in overlays --- arch/arm/boot/dts/overlays/ads7846-overlay.dts | 22 ++++++++++------- @@ -159371,10 +159371,10 @@ index f7102c8..33c0651 100644 __overlay__ { keypad: keypad { -From 4378886deeb169b11164e5514339242ec22d3d08 Mon Sep 17 00:00:00 2001 +From 19da6ff34954c7a0c2aecef0451463522ea24ca1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 15 Mar 2016 16:41:37 +0000 -Subject: [PATCH 184/234] BCM270X_DT: Build and document the wittypi overlay +Subject: [PATCH 184/251] BCM270X_DT: Build and document the wittypi overlay Signed-off-by: Phil Elwell --- @@ -159428,10 +159428,10 @@ index be5987d..8498134 100644 }; -From be3805c1c13fc147e3f31122370b7aaf8088ebc2 Mon Sep 17 00:00:00 2001 +From e45f33c187edcda0e4affe6930068deadebf8b6c Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 15 Mar 2016 21:13:39 +0100 -Subject: [PATCH 185/234] scripts/dtc: Fix UMR causing corrupt dtbo overlay +Subject: [PATCH 185/251] scripts/dtc: Fix UMR causing corrupt dtbo overlay files struct fixup_entry is allocated from the heap but it's member @@ -159458,10 +159458,10 @@ index 540a3ea..2b3b3a7 100644 /* append it to the local fixups */ fep = &dt->local_fixups; -From 56bd21103cd7b57b1377f291b88cb894249ff4d4 Mon Sep 17 00:00:00 2001 +From e45af7e57db63c4bd5d0ad7fe400cfdd36df42d4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 16 Mar 2016 08:35:06 +0000 -Subject: [PATCH 186/234] BCM270X_DT: Add dtparam for uart1 +Subject: [PATCH 186/251] BCM270X_DT: Add dtparam for uart1 Signed-off-by: Phil Elwell --- @@ -159548,10 +159548,10 @@ index d939739..4ce7921 100644 (default "off") -From d3315968f5772cb7736266382772a4188c9915a7 Mon Sep 17 00:00:00 2001 +From 3f7271f5e6747663f2db11f01721ee60961e0178 Mon Sep 17 00:00:00 2001 From: Przemek Rudy Date: Fri, 11 Mar 2016 22:41:26 +0100 -Subject: [PATCH 187/234] dwc-overlay: Use label so overrides can apply. +Subject: [PATCH 187/251] dwc-overlay: Use label so overrides can apply. --- arch/arm/boot/dts/overlays/dwc2-overlay.dts | 10 +++++----- @@ -159585,10 +159585,10 @@ index 90c9811..527abc9 100644 }; }; -From f55f58faaa81f7149b790c50e6a2a0b569eba7aa Mon Sep 17 00:00:00 2001 +From 5b7b03b9220d45e9fa99c2f9c73a08792cc4684b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 22 Jan 2016 13:06:39 -0800 -Subject: [PATCH 188/234] drm/vc4: Add a debugfs node for tracking execution +Subject: [PATCH 188/251] drm/vc4: Add a debugfs node for tracking execution state. Signed-off-by: Eric Anholt @@ -159648,10 +159648,10 @@ index 39f29e7..1243f4e 100644 vc4_queue_hangcheck(struct drm_device *dev) { -From db80fdfab4984ebddef8b2af3ace7af51dfd72f1 Mon Sep 17 00:00:00 2001 +From 04fb589070fd36693251a40ceb61743bb3a0c2c6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:03:33 -0800 -Subject: [PATCH 189/234] drm/vc4: Include vc4_drm.h in uapi in downstream +Subject: [PATCH 189/251] drm/vc4: Include vc4_drm.h in uapi in downstream build. Signed-off-by: Eric Anholt @@ -159672,10 +159672,10 @@ index 38d4370..23381b5 100644 header-y += vmwgfx_drm.h header-y += msm_drm.h -From 7326e457847d09cd6becc34523e13fdebce82083 Mon Sep 17 00:00:00 2001 +From 3472309b991f5f8c75a655d2f077a1eb632af3cf Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:05:00 -0800 -Subject: [PATCH 190/234] drm/vc4: Validate that WAIT_BO padding is cleared. +Subject: [PATCH 190/251] drm/vc4: Validate that WAIT_BO padding is cleared. This is ABI future-proofing if we ever want to extend the pad to mean something. @@ -159700,10 +159700,10 @@ index 1243f4e..849d374 100644 if (!gem_obj) { DRM_ERROR("Failed to look up GEM BO %d\n", args->handle); -From dc2af742af507ba0594902be52296d191a3ebfae Mon Sep 17 00:00:00 2001 +From fc63883845d0d69d746b00a54d8cf2aaf2db30a5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:52:41 -0800 -Subject: [PATCH 191/234] drm/vc4: Fix the clear color for the first tile +Subject: [PATCH 191/251] drm/vc4: Fix the clear color for the first tile rendered. Apparently in hardware (as opposed to simulation), the clear colors @@ -159752,10 +159752,10 @@ index 8a2a312..dea97f4 100644 for (x = min_x_tile; x <= max_x_tile; x++) { bool first = (x == min_x_tile && y == min_y_tile); -From 583809919eca83b08415654e13f6a86013898ebf Mon Sep 17 00:00:00 2001 +From 6128659e9deeb8f7b15a0e8bb9e4e974afe39064 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 14:13:12 -0800 -Subject: [PATCH 192/234] drm/vc4: Return an ERR_PTR from BO creation instead +Subject: [PATCH 192/251] drm/vc4: Return an ERR_PTR from BO creation instead of NULL. Fixes igt vc4_create_bo/create-bo-0 by returning -EINVAL from the @@ -159900,10 +159900,10 @@ index 0fb5b99..8396960 100644 /* tile alloc address. */ -From 8ed27b5631519f044dcf975413884aaaa8088fb6 Mon Sep 17 00:00:00 2001 +From e62f39b87fb3577d0c154ee50459a8d0b83865ca Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 14:32:41 -0800 -Subject: [PATCH 193/234] drm/vc4: Fix -ERESTARTSYS error return from BO waits. +Subject: [PATCH 193/251] drm/vc4: Fix -ERESTARTSYS error return from BO waits. This caused the wait ioctls to claim that waiting had completed when we actually got interrupted by a signal before it was done. Fixes @@ -159935,10 +159935,10 @@ index f8c003a..dc3044d 100644 static void -From 47358baecb8cf02bd4145b2f5c1aa1b8431519df Mon Sep 17 00:00:00 2001 +From 7942d03413ee330d2fb041dc62dabc8ce738cc0c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 14:33:50 -0800 -Subject: [PATCH 194/234] drm/vc4: Drop error message on seqno wait timeouts. +Subject: [PATCH 194/251] drm/vc4: Drop error message on seqno wait timeouts. These ioctls end up getting exposed to userspace, and having normal user requests print DRM errors is obviously wrong. The message was @@ -159965,10 +159965,10 @@ index dc3044d..a6fa63f 100644 } -From aeaf5cc198e41bfeea81a41173b0ed3e6765f9ac Mon Sep 17 00:00:00 2001 +From 9ceac017a764704d9919a494590e8fea0e458adc Mon Sep 17 00:00:00 2001 From: campag Date: Wed, 24 Feb 2016 16:45:42 +0000 -Subject: [PATCH 195/234] BCM270X_DT: Add 1-bit SDIO using minimal pins... +Subject: [PATCH 195/251] BCM270X_DT: Add 1-bit SDIO using minimal pins... ... for that mode: GPIOs 22-25. --- @@ -160052,10 +160052,10 @@ index 0000000..46d4538 + }; +}; -From 786a7be1c732a5d54c6d72bd58bfbd07d6a1310d Mon Sep 17 00:00:00 2001 +From 6dd9dc84456f9341739f6c6d2c7d5b1f08d5c8fe Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 196/234] brcm: adds support for BCM43341 wifi +Subject: [PATCH 196/251] brcm: adds support for BCM43341 wifi --- drivers/net/wireless/brcm80211/brcmfmac/sdio.c | 5 +++++ @@ -160105,10 +160105,10 @@ index aa06ea2..f3ae83d 100644 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From 5f13d4fdf83a21813e952e9eb4d9571f32190d36 Mon Sep 17 00:00:00 2001 +From 0702cbfdf586a8c1b67d28cdfc84a0623c8b12f1 Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Fri, 29 Jan 2016 12:00:37 +0100 -Subject: [PATCH 197/234] Add overlay and enable support for QCA7000 board +Subject: [PATCH 197/251] Add overlay and enable support for QCA7000 board This adds a device tree overlay for the QCA7000 which can be used when attaching an I2SE's PLC Stamp micro EVK to the Raspberry Pi. @@ -160244,10 +160244,10 @@ index 74149cf..e720c74 100644 CONFIG_PPP=m CONFIG_PPP_BSDCOMP=m -From c8a7d7fd820fc9c3983f1ada46f70272bc80984c Mon Sep 17 00:00:00 2001 +From 5fbc1847fdefcf563be0c51ffc07de6666036ba6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 13:28:24 +0000 -Subject: [PATCH 198/234] serial: Take care starting a hung-up tty's port +Subject: [PATCH 198/251] serial: Take care starting a hung-up tty's port tty_port_hangup sets a port's tty field to NULL (holding the port lock), but uart_tx_stopped, called from __uart_start (with the port lock), @@ -160275,10 +160275,10 @@ index 297d4fa..00ce6c6 100644 return 0; } -From 2f146ce902d611f142d2e868d46ade1376b9c3cc Mon Sep 17 00:00:00 2001 +From b8127d80609179210ae5ceea4929391991dbce9a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Mar 2016 10:16:16 +0000 -Subject: [PATCH 199/234] pi3-miniuart-bt-overlay: Correct and clarify info +Subject: [PATCH 199/251] pi3-miniuart-bt-overlay: Correct and clarify info Signed-off-by: Phil Elwell --- @@ -160321,10 +160321,10 @@ index f07afcb..38ed33b 100644 If cmdline.txt uses the alias serial0 to refer to the user-accessable port then the firmware will replace with the appropriate port whether or not -From 757f32b50c7ba8b7f30c4d7dcf3898577320c9b3 Mon Sep 17 00:00:00 2001 +From ee65eba2fa76dc0ca35f2c74ec655f89d9d33b13 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Mar 2016 10:41:56 +0000 -Subject: [PATCH 200/234] pwm overlays: Params must have in-overlay targets +Subject: [PATCH 200/251] pwm overlays: Params must have in-overlay targets --- arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts | 9 ++++++++- @@ -160378,10 +160378,10 @@ index ddd67ff..bf030a6 100644 }; }; -From 797a49072e2732377e4ffd24632bfcc6668e41ab Mon Sep 17 00:00:00 2001 +From 62279457d4e5c3a132a0c8fe60c0d9c51c3edd9d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 18 Mar 2016 13:06:29 +0000 -Subject: [PATCH 201/234] BCM270X_DT: Switch Compute Module to MMC +Subject: [PATCH 201/251] BCM270X_DT: Switch Compute Module to MMC Signed-off-by: Phil Elwell --- @@ -160434,10 +160434,10 @@ index e09e499..90e330d 100644 }; }; -From 98fe5a7c56282fdca645293b66dca84fc9328a87 Mon Sep 17 00:00:00 2001 +From 82ecf79397939c59b5b50cd683b823e1233568f7 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 18 Mar 2016 17:38:37 +0000 -Subject: [PATCH 202/234] dwc_otg: Don't free qh align buffers in atomic +Subject: [PATCH 202/251] dwc_otg: Don't free qh align buffers in atomic context --- @@ -160481,10 +160481,10 @@ index acd0dd7..3b2a607 100644 } -From e98dcafb381c113931135382f12a532f23844b27 Mon Sep 17 00:00:00 2001 +From 6e02745d8e2fc480d3442e6adaf4547e100611b5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 21 Mar 2016 15:38:38 +0000 -Subject: [PATCH 203/234] dwc_otg: Enable the hack for Split Interrupt +Subject: [PATCH 203/251] dwc_otg: Enable the hack for Split Interrupt transactions by default dwc_otg.fiq_fsm_mask=0xF has long been a suggestion for users with audio stutters or other USB bandwidth issues. @@ -160512,10 +160512,10 @@ index 95edadf..cb060a7 100644 /** * This function shows the Driver Version. -From 1b1b27f51fb1e3fcb84bb943b5479cb04e8ec26a Mon Sep 17 00:00:00 2001 +From 6a2fc8f71762aab14aee7311f8b7cd94aa316773 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 19 Mar 2016 16:51:37 +0000 -Subject: [PATCH 204/234] BCM270X_DT: Remove explicit claiming of UART pins +Subject: [PATCH 204/251] BCM270X_DT: Remove explicit claiming of UART pins It is convenient to be able to map a different function to the UART pins (e.g. DPI for vga666) without having to disable the UART first. @@ -160608,10 +160608,10 @@ index 38ed33b..17d04cf 100644 __overlay__ { serial0 = "/soc/uart@7e201000"; -From e737973b851afacf68ad47469e18f24737b2a7a6 Mon Sep 17 00:00:00 2001 +From 403390e94d98b9f7b6f41397b04b2f29900cdcb0 Mon Sep 17 00:00:00 2001 From: Rodrigo Freire Date: Tue, 22 Mar 2016 12:40:33 -0300 -Subject: [PATCH 205/234] lirc_rpi: Lower IR reception error to debug +Subject: [PATCH 205/251] lirc_rpi: Lower IR reception error to debug Lowers a IR reception error condition message to KERNEL_DEBUG --- @@ -160632,10 +160632,10 @@ index cd09c99..0624439 100644 signal, sense, tv.tv_sec, lasttv.tv_sec, tv.tv_usec, lasttv.tv_usec); -From da7c5fdbb291ead09fb343ee0637baa41531f336 Mon Sep 17 00:00:00 2001 +From 0fb8769fe60a8bba6f871ff6d91a04fb7950b67d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 14:16:25 +0000 -Subject: [PATCH 206/234] vchiq_arm: Access the dequeue_pending flag locked +Subject: [PATCH 206/251] vchiq_arm: Access the dequeue_pending flag locked Reading through this code looking for another problem (now found in userland) the use of dequeue_pending outside a lock didn't seem safe. @@ -160693,10 +160693,10 @@ index e11c0e0..71883e5 100644 return add_completion(instance, reason, header, user_service, -From 2c4d8a6860d02b367d8812216d904e5de0ff0018 Mon Sep 17 00:00:00 2001 +From 797c1c2110ba155df9fbdb44a7c052f7beeb0a50 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 15:57:14 +0000 -Subject: [PATCH 207/234] BCM270X_DT: Add pi3-act-led overlay +Subject: [PATCH 207/251] BCM270X_DT: Add pi3-act-led overlay Signed-off-by: Phil Elwell --- @@ -160795,10 +160795,10 @@ index 0000000..14a59dc + }; +}; -From 4b406588ecc5e136f67c35b3ba5e6c831023d1a1 Mon Sep 17 00:00:00 2001 +From 6de376456d86ba0211a2e8c10cf50fda9f3b6e20 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 20:53:47 +0000 -Subject: [PATCH 208/234] vchiq_arm: Service callbacks must not fail +Subject: [PATCH 208/251] vchiq_arm: Service callbacks must not fail Service callbacks are not allowed to return an error. The internal callback that delivers events and messages to user tasks does not enqueue them if @@ -160824,10 +160824,10 @@ index 71883e5..a5cc385 100644 DEBUG_TRACE(SERVICE_CALLBACK_LINE); } -From a1144c5ebde67a6380ee115b089477ff135c8442 Mon Sep 17 00:00:00 2001 +From 4793b34f7a3f71b1acfcd769b8d25fdcbb01b2cd Mon Sep 17 00:00:00 2001 From: Dave Stevenson <6by9@users.noreply.github.com> Date: Thu, 17 Mar 2016 18:16:16 +0000 -Subject: [PATCH 209/234] Add configs and overlay for PCA9548 I2C mux +Subject: [PATCH 209/251] Add configs and overlay for PCA9548 I2C mux Adds kernel configs for I2C muxes and a dt overlay for PCA9548 that adds the 8 muxed I2C buses and mux device. @@ -160969,10 +160969,10 @@ index e720c74..f6e2d84 100644 CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m -From 3473f0de2273bcc8921dbf51d4bdecfd3df83d39 Mon Sep 17 00:00:00 2001 +From 77700bbcd5dc6285892ea67acba46e45c3341b66 Mon Sep 17 00:00:00 2001 From: Nicolas Boullis Date: Wed, 23 Mar 2016 23:40:15 +0100 -Subject: [PATCH 210/234] BCM270X_DT: Add DS1339 to i2c-rtc overlay +Subject: [PATCH 210/251] BCM270X_DT: Add DS1339 to i2c-rtc overlay --- arch/arm/boot/dts/overlays/README | 4 ++++ @@ -161032,10 +161032,10 @@ index fed4bd8..eecec16 100644 }; }; -From dad9bd19647609da9823dca157737537b2372d3f Mon Sep 17 00:00:00 2001 +From c17b3228544635d56826292c0989d2e944917148 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 29 Mar 2016 15:32:30 +0100 -Subject: [PATCH 211/234] copy_from_user: CPU_SW_DOMAIN_PAN compatibility +Subject: [PATCH 211/251] copy_from_user: CPU_SW_DOMAIN_PAN compatibility The downstream copy_from_user acceleration must also play nice with CONFIG_CPU_SW_DOMAIN_PAN. @@ -161088,10 +161088,10 @@ index c29df92..6681df5 100644 static unsigned long noinline -From ef1e082fb7d83d867ca9a24f8236ec42c6c73951 Mon Sep 17 00:00:00 2001 +From 6abb732a5e79d2ab8384b6b70fd17e5347f59d0e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 16:33:09 +0100 -Subject: [PATCH 212/234] bcm2835-sdhost: Adjust to core clock changes +Subject: [PATCH 212/251] bcm2835-sdhost: Adjust to core clock changes The SDHOST block uses the core clock, so previously it has been necessary to prevent the core clock from changing in order to maintain @@ -161432,10 +161432,10 @@ index f43aae0..1deecef 100644 bcm2835_sdhost_set_power(host, false); -From 3d5fd3b064b7f284caaf71734be701d7222ab92b Mon Sep 17 00:00:00 2001 +From 788985576c5b7f413466d4ea5e1b9c471ff2b7fc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 17:07:15 +0100 -Subject: [PATCH 213/234] BCM270X_DT: Document hazards of sdhost overlay +Subject: [PATCH 213/251] BCM270X_DT: Document hazards of sdhost overlay Signed-off-by: Phil Elwell --- @@ -161469,10 +161469,10 @@ index e88e7c8..337be4a 100644 Params: overclock_50 Clock (in MHz) to use when the MMC framework requests 50MHz -From 2e65d41c01b25c2f0c492d08e075e73652487482 Mon Sep 17 00:00:00 2001 +From 58fb42a1ecf4bec15d3236183955f4b54f199e75 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 17:23:15 +0100 -Subject: [PATCH 214/234] cpufreq: Temporarily ignore io_is_busy=1 +Subject: [PATCH 214/251] cpufreq: Temporarily ignore io_is_busy=1 To speed testing of the new sdhost driver that adapts to changes in core_freq, hack the on-demand governor to treat io_is_busy=1 as @@ -161503,10 +161503,10 @@ index 03ac6ce..99a9610 100644 /* we need to re-evaluate prev_cpu_idle */ for_each_online_cpu(j) { -From 8bfcac27c6e044ce4b8575fcaec2c6a0e81caa27 Mon Sep 17 00:00:00 2001 +From 8bf41d1b2f41d6af2c196497168d3cc8f97a0071 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 20:18:38 +0100 -Subject: [PATCH 215/234] Revert "cpufreq: Temporarily ignore io_is_busy=1" +Subject: [PATCH 215/251] Revert "cpufreq: Temporarily ignore io_is_busy=1" This reverts commit 2af1218a8a0220fec526f64d03977b8451afb4c8. --- @@ -161532,10 +161532,10 @@ index 99a9610..03ac6ce 100644 /* we need to re-evaluate prev_cpu_idle */ for_each_online_cpu(j) { -From 6c18ab269d6fecd2af4592eef76d736673ee6e5c Mon Sep 17 00:00:00 2001 +From f9634b17e0d05988abbe329efd4b9eee59aadb0c Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Thu, 7 Jan 2016 15:50:22 +0100 -Subject: [PATCH 216/234] net, sched: add skb_at_tc_ingress helper +Subject: [PATCH 216/251] net, sched: add skb_at_tc_ingress helper Add a skb_at_tc_ingress() as this will be needed elsewhere as well and can hide the ugly ifdef. @@ -161587,10 +161587,10 @@ index 5faaa54..b3c8bb4 100644 if (unlikely(!skb_mac_header_was_set(skb))) -From 0d1b178dacce1dd75fc5bf4b7ff493a46736e70c Mon Sep 17 00:00:00 2001 +From de42773e4545e48e35472cdf01f1bcb7af1f27cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Wed, 24 Feb 2016 04:21:42 +0100 -Subject: [PATCH 217/234] net: fix bridge multicast packet checksum validation +Subject: [PATCH 217/251] net: fix bridge multicast packet checksum validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -161665,10 +161665,10 @@ index 5bf88f5..8616d11 100644 if (ret) goto err; -From 4d5955a2a51ca2caf2d703832aaeee0953e21490 Mon Sep 17 00:00:00 2001 +From 2c0f60ed53c5a180397b2b740bbf796e09471012 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Thu, 7 Jan 2016 15:50:23 +0100 -Subject: [PATCH 218/234] bpf: add skb_postpush_rcsum and fix dev_forward_skb +Subject: [PATCH 218/251] bpf: add skb_postpush_rcsum and fix dev_forward_skb occasions Add a small helper skb_postpush_rcsum() and fix up redirect locations @@ -161794,10 +161794,10 @@ index 37157c4..6e337ea 100644 skb->dev = dev; skb_sender_cpu_clear(skb); -From 4cc63615777c6bc447eb9a7175f663f9fc39983d Mon Sep 17 00:00:00 2001 +From 67ba5d253f79ddbf1c28d7e3cb48efd0b845f87c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 31 Mar 2016 15:44:53 +0100 -Subject: [PATCH 219/234] bcm2835-sdhost: Precalc divisors and overclocks +Subject: [PATCH 219/251] bcm2835-sdhost: Precalc divisors and overclocks Recalculating the clock divisors when the core clock changes is wasteful and makes it harder to manage the overclock settings. Instead, @@ -162068,10 +162068,10 @@ index 1deecef..cc18ec8 100644 pr_debug("bcm2835_sdhost_probe -> OK\n"); -From 14e3b7b73d1f16d98516c803af1e1ca0e51038f0 Mon Sep 17 00:00:00 2001 +From 7a21e0c9d567d27b000ef8350ee503776720852d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 4 Apr 2016 12:35:32 +0100 -Subject: [PATCH 220/234] Revert "bcm2835-sdhost: Precalc divisors and +Subject: [PATCH 220/251] Revert "bcm2835-sdhost: Precalc divisors and overclocks" This reverts commit 20260462773366a5734e5268dae0a4c179a21a2d. @@ -162339,10 +162339,10 @@ index cc18ec8..1deecef 100644 pr_debug("bcm2835_sdhost_probe -> OK\n"); -From 4c77ab3471804f1f051b004369152a7b0759c506 Mon Sep 17 00:00:00 2001 +From a44f96721ff123198ef527c1471425cc5e2ee1b1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 4 Apr 2016 12:35:51 +0100 -Subject: [PATCH 221/234] Revert "bcm2835-sdhost: Adjust to core clock changes" +Subject: [PATCH 221/251] Revert "bcm2835-sdhost: Adjust to core clock changes" This reverts commit 4b89d07fd299a0f4e25321920cb74416ba2e638e. --- @@ -162671,10 +162671,10 @@ index 1deecef..f43aae0 100644 bcm2835_sdhost_set_power(host, false); -From 18886054f90b47848c81b1cc786ec809d97b6b01 Mon Sep 17 00:00:00 2001 +From 99a50a0418f27f7b894ee9668b2ed02b435c9113 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 4 Apr 2016 16:03:18 +0100 -Subject: [PATCH 222/234] bcm2835-sdhost: Firmware manages the clock divisor +Subject: [PATCH 222/251] bcm2835-sdhost: Firmware manages the clock divisor The bcm2835-sdhost driver hands control of the CDIV clock divisor register to matching firmware, allowing it to adjust to a changing @@ -162900,10 +162900,10 @@ index c844968..e312e9c 100644 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 2cc0c036570e76548d3d54d7e1c02443380280e7 Mon Sep 17 00:00:00 2001 +From 3a3bd335bf71e17af13de24423c806f9a26480b7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 4 Apr 2016 19:52:27 +0100 -Subject: [PATCH 223/234] Revert "Revert "cpufreq: Temporarily ignore +Subject: [PATCH 223/251] Revert "Revert "cpufreq: Temporarily ignore io_is_busy=1"" This reverts commit c353af0f83220068c10f6593b1767576b9b6cc18. @@ -162930,10 +162930,10 @@ index 03ac6ce..99a9610 100644 /* we need to re-evaluate prev_cpu_idle */ for_each_online_cpu(j) { -From 9436ca6258a029365e97604158214324914f43c8 Mon Sep 17 00:00:00 2001 +From 82caca6544d42613722befb52dd121bd9c7d8159 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 31 Mar 2016 16:49:52 +0100 -Subject: [PATCH 224/234] config: Enabled IPV6_SUBTREES +Subject: [PATCH 224/251] config: Enabled IPV6_SUBTREES --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -162965,10 +162965,10 @@ index f6e2d84..060ec5f 100644 CONFIG_IP_ROUTE_VERBOSE=y CONFIG_IP_PNP=y -From a92cb9e6067e9e599a5c559d77909929a99854fd Mon Sep 17 00:00:00 2001 +From 67cf7c950c17a731c934a3b30b474cb8886744c5 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 225/234] add smsc95xx packetsize module_param +Subject: [PATCH 225/251] add smsc95xx packetsize module_param Signed-off-by: Sam Nazarko --- @@ -163010,10 +163010,10 @@ index a61bd08..3c23b11 100644 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 2aee7f4935f5b7d808ac81d4ec4c0588143cb27e Mon Sep 17 00:00:00 2001 +From fd1df6d4b4d6ebf352da378dcca5965297b242ec Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 226/234] reboot: Use power off rather than busy spinning when +Subject: [PATCH 226/251] reboot: Use power off rather than busy spinning when halt is requested --- @@ -163038,10 +163038,10 @@ index 3826935..2cd6af2 100644 /* -From c927274d3b5f1da9a457a57bbd1b2860777faf48 Mon Sep 17 00:00:00 2001 +From d1766b543e9362da3ed16d5b03828a67214e7476 Mon Sep 17 00:00:00 2001 From: HiassofT Date: Wed, 6 Apr 2016 21:45:01 +0200 -Subject: [PATCH 227/234] Revert "bcm2835-dma: Fix dreq not set for slave +Subject: [PATCH 227/251] Revert "bcm2835-dma: Fix dreq not set for slave transfers" This reverts commit 8ad957e866a1fe1450f663f2b00a57d7de44904c. @@ -163073,10 +163073,10 @@ index 985019b..d26b6bd 100644 return 0; } -From 08d5dba5adf90fbcbd4a480c9be2d701710e5206 Mon Sep 17 00:00:00 2001 +From 68172482aa367aa118a7a46537206c817669b10c Mon Sep 17 00:00:00 2001 From: Dave Stevenson <6by9@users.noreply.github.com> Date: Fri, 1 Apr 2016 15:28:46 +0100 -Subject: [PATCH 228/234] RPi config: Add CONFIG_PWM_PCA9685 for NXP PCA9685 +Subject: [PATCH 228/251] RPi config: Add CONFIG_PWM_PCA9685 for NXP PCA9685 driver over I2C Includes DT overlay to configure it. @@ -163177,10 +163177,10 @@ index 060ec5f..acda16b 100644 CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y -From 621c9797f5e53c515f436ff8d4386083872b3531 Mon Sep 17 00:00:00 2001 +From 3d3c095375d6ac4508dc49a80d615b1fd56eb12a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 8 Apr 2016 17:43:27 +0100 -Subject: [PATCH 229/234] BCM270X_DT: Don't generate "linux,phandle" props +Subject: [PATCH 229/251] BCM270X_DT: Don't generate "linux,phandle" props The EPAPR standard says to use "phandle" properties to store phandles, rather than the deprecated "linux,phandle" version. By default, dtc @@ -163218,10 +163218,10 @@ index 7209d62..3079c4f 100644 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -From dff9d538a4b43b3f37beb13767692c0e8c4ca7ac Mon Sep 17 00:00:00 2001 +From 5cec9f4a5fb37bc1041c351ab309001c4f9f9d1d Mon Sep 17 00:00:00 2001 From: 6by9 <6by9@users.noreply.github.com> Date: Fri, 8 Apr 2016 18:15:43 +0100 -Subject: [PATCH 230/234] V4L2 driver updates (#1393) +Subject: [PATCH 230/251] V4L2 driver updates (#1393) * BCM2835-V4L2: Correct ISO control and add V4L2_CID_ISO_SENSITIVITY_AUTO @@ -163944,10 +163944,10 @@ index aa0fd18..f6abb5c 100644 + flashes[MMAL_PARAMETER_CAMERA_INFO_MAX_FLASHES]; +}; -From d81fdb740f3dde1fc4a2a32c71c31ddb24a285e0 Mon Sep 17 00:00:00 2001 +From 4366809281c7cf500e97f9a113cb1234d273aed3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 Apr 2016 12:50:58 +0100 -Subject: [PATCH 231/234] bcm2835-sdhost: Reset the clock in task context +Subject: [PATCH 231/251] bcm2835-sdhost: Reset the clock in task context Since reprogramming the clock can now involve a round-trip to the firmware it must not be done at atomic context, and a tasklet @@ -164054,10 +164054,10 @@ index 54087b2..a57faed 100644 host->pio_limit = 1; host->max_delay = 1; /* Warn if over 1ms */ -From 8408669aa8e6eb61ef750d6f3b233d727f8c3025 Mon Sep 17 00:00:00 2001 +From 37e270746e49ee6bf0e7a8404503e67364519ce2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 7 Apr 2016 12:44:24 +0100 -Subject: [PATCH 232/234] config: Enable CONFIG_IPV6_ROUTER_PREF for networks +Subject: [PATCH 232/251] config: Enable CONFIG_IPV6_ROUTER_PREF for networks with multiple routers --- @@ -164090,10 +164090,10 @@ index acda16b..59026b3 100644 CONFIG_INET6_ESP=m CONFIG_INET6_IPCOMP=m -From c7a28efacd9fd4b26554c661d819c1c35ed93c05 Mon Sep 17 00:00:00 2001 +From aa9f1aedb9a495b6688cc30a17a0b01c3ab03f8c Mon Sep 17 00:00:00 2001 From: jochenberger Date: Thu, 7 Apr 2016 21:38:46 +0200 -Subject: [PATCH 233/234] Enable hid-betopff module +Subject: [PATCH 233/251] Enable hid-betopff module Add force feedback support for Betop based devices https://github.com/raspberrypi/linux/blob/rpi-4.1.y/drivers/hid/hid-betopff.c @@ -164127,10 +164127,10 @@ index 59026b3..ac9287f 100644 CONFIG_HID_CHICONY=m CONFIG_HID_CYPRESS=m -From 258d5112d854cb9c2e302378ad20c1798a32b43c Mon Sep 17 00:00:00 2001 +From 51edceabf0a57229b0ccb3742640aefe4fcb161d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 12 Apr 2016 12:45:16 +0100 -Subject: [PATCH 234/234] config: Make IPV6 a module and regenerate with +Subject: [PATCH 234/251] config: Make IPV6 a module and regenerate with defconfig --- @@ -164201,3 +164201,1504 @@ index ac9287f..852751e 100644 CONFIG_SPI=y CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m + +From 037a9e0fd0cb7eeb947bb4dbff674833419dd7f7 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 5 Apr 2016 13:01:54 +0100 +Subject: [PATCH 235/251] BCM270X_DT: Add dpi24 overlay + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 8 +++++++ + arch/arm/boot/dts/overlays/dpi24-overlay.dts | 31 ++++++++++++++++++++++++++++ + 3 files changed, 40 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/dpi24-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 239c6a1..688ba0b 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -15,6 +15,7 @@ endif + dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo + dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo + dtbo-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += dpi24.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dwc2.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dwc-otg.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dht11.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 9df71a4..1438908 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -213,6 +213,14 @@ Params: gpiopin GPIO connected to the sensor's DATA output. + (default 4) + + ++Name: dpi24 ++Info: Overlay for a generic 24-bit DPI display ++ This uses GPIOs 0-27 (so no I2C, uart etc.), and activates the output ++ 2-3 seconds after the kernel has started. ++Load: dtoverlay=dpi24 ++Params: ++ ++ + Name: dwc-otg + Info: Selects the dwc_otg USB controller driver which has fiq support. This + is the default on all except the Pi Zero which defaults to dwc2. +diff --git a/arch/arm/boot/dts/overlays/dpi24-overlay.dts b/arch/arm/boot/dts/overlays/dpi24-overlay.dts +new file mode 100644 +index 0000000..e4dbe40 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/dpi24-overlay.dts +@@ -0,0 +1,31 @@ ++/dts-v1/; ++/plugin/; ++ ++/{ ++ compatible = "brcm,bcm2708"; ++ ++ // There is no DPI driver module, but we need a platform device ++ // node (that doesn't already use pinctrl) to hang the pinctrl ++ // reference on - leds will do ++ ++ fragment@0 { ++ target = <&leds>; ++ __overlay__ { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&dpi24_pins>; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&gpio>; ++ __overlay__ { ++ dpi24_pins: dpi24_pins { ++ brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11 ++ 12 13 14 15 16 17 18 19 20 ++ 21 22 23 24 25 26 27>; ++ brcm,function = <6>; /* alt2 */ ++ brcm,pull = <0>; /* no pull */ ++ }; ++ }; ++ }; ++}; + +From 8e95bfba2bfc4186ee007176c9d2f7c42c369312 Mon Sep 17 00:00:00 2001 +From: DigitalDreamtime +Date: Thu, 14 Apr 2016 00:57:33 +0100 +Subject: [PATCH 236/251] Modify IQAudIO DAC+ ASoC driver to set card/dai + config from dt + +Add the ability to set the card name, dai name and dai stream name, from +dt config. + +Signed-off-by: DigitalDreamtime +--- + sound/soc/bcm/iqaudio-dac.c | 13 ++++++++++--- + 1 file changed, 10 insertions(+), 3 deletions(-) + +diff --git a/sound/soc/bcm/iqaudio-dac.c b/sound/soc/bcm/iqaudio-dac.c +index a5eaa9e..b6b6dcf 100644 +--- a/sound/soc/bcm/iqaudio-dac.c ++++ b/sound/soc/bcm/iqaudio-dac.c +@@ -61,8 +61,6 @@ static struct snd_soc_ops snd_rpi_iqaudio_dac_ops = { + + static struct snd_soc_dai_link snd_rpi_iqaudio_dac_dai[] = { + { +- .name = "IQaudIO DAC", +- .stream_name = "IQaudIO DAC HiFi", + .cpu_dai_name = "bcm2708-i2s.0", + .codec_dai_name = "pcm512x-hifi", + .platform_name = "bcm2708-i2s.0", +@@ -76,7 +74,6 @@ static struct snd_soc_dai_link snd_rpi_iqaudio_dac_dai[] = { + + /* audio machine driver */ + static struct snd_soc_card snd_rpi_iqaudio_dac = { +- .name = "IQaudIODAC", + .owner = THIS_MODULE, + .dai_link = snd_rpi_iqaudio_dac_dai, + .num_links = ARRAY_SIZE(snd_rpi_iqaudio_dac_dai), +@@ -90,6 +87,7 @@ static int snd_rpi_iqaudio_dac_probe(struct platform_device *pdev) + + if (pdev->dev.of_node) { + struct device_node *i2s_node; ++ struct snd_soc_card *card = &snd_rpi_iqaudio_dac; + struct snd_soc_dai_link *dai = &snd_rpi_iqaudio_dac_dai[0]; + i2s_node = of_parse_phandle(pdev->dev.of_node, + "i2s-controller", 0); +@@ -103,6 +101,15 @@ static int snd_rpi_iqaudio_dac_probe(struct platform_device *pdev) + + digital_gain_0db_limit = !of_property_read_bool(pdev->dev.of_node, + "iqaudio,24db_digital_gain"); ++ if (of_property_read_string(pdev->dev.of_node, "card_name", ++ &card->name)) ++ card->name = "IQaudIODAC"; ++ if (of_property_read_string(pdev->dev.of_node, "dai_name", ++ &dai->name)) ++ dai->name = "IQaudIO DAC"; ++ if (of_property_read_string(pdev->dev.of_node, "dai_stream_name", ++ &dai->stream_name)) ++ dai->stream_name = "IQaudIO DAC HiFi"; + } + + ret = snd_soc_register_card(&snd_rpi_iqaudio_dac); + +From 7ea9f79b042605984245d4a0387f0e667fdc947c Mon Sep 17 00:00:00 2001 +From: DigitalDreamtime +Date: Thu, 14 Apr 2016 01:00:58 +0100 +Subject: [PATCH 237/251] Add support for the Digital Dreamtime Akkordion music + player. + +Support the Digital Dreamtime Akkordion using the OEM IQAudIO DAC+ or +DACZero modules. Set ALSA card name, ("Akkordion"), from dt config. + +Signed-off-by: DigitalDreamtime +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 20 ++++++++++ + .../dts/overlays/akkordion-iqdacplus-overlay.dts | 46 ++++++++++++++++++++++ + 3 files changed, 67 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 688ba0b..6bd6048 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -13,6 +13,7 @@ ifeq ($(CONFIG_ARCH_BCM2835),y) + endif + + dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += akkordion-iqdacplus.dtbo + dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo + dtbo-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dpi24.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 1438908..5d0887f 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -186,6 +186,26 @@ Params: cs SPI bus Chip Select (default 1) + www.kernel.org/doc/Documentation/devicetree/bindings/input/ads7846.txt + + ++Name: akkordion-iqdacplus ++Info: Configures the Digital Dreamtime Akkordion Music Player (based on the ++ OEM IQAudIO DAC+ or DAC Zero module). ++Load: dtoverlay=akkordion-iqdacplus,= ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. Enable with ++ dtoverlay=akkordion-iqdacplus,24db_digital_gain ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24db_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ + Name: at86rf233 + Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver, + connected to spi0.0 +diff --git a/arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts b/arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts +new file mode 100644 +index 0000000..47c7664 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/akkordion-iqdacplus-overlay.dts +@@ -0,0 +1,46 @@ ++// Definitions for Digital Dreamtime Akkordion using IQaudIO DAC+ or DACZero ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&sound>; ++ frag0: __overlay__ { ++ compatible = "iqaudio,iqaudio-dac"; ++ card_name = "Akkordion"; ++ dai_name = "IQaudIO DAC"; ++ dai_stream_name = "IQaudIO DAC HiFi"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&i2c1>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ pcm5122@4c { ++ #sound-dai-cells = <0>; ++ compatible = "ti,pcm5122"; ++ reg = <0x4c>; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ __overrides__ { ++ 24db_digital_gain = <&frag0>,"iqaudio,24db_digital_gain?"; ++ }; ++}; + +From 2544f9707d98c5d4251e0d6792a5a40016adedcb Mon Sep 17 00:00:00 2001 +From: Aaron Shaw +Date: Thu, 7 Apr 2016 21:26:21 +0100 +Subject: [PATCH 238/251] Add Support for BoomBerry Audio boards + +--- + arch/arm/boot/dts/overlays/Makefile | 2 + + arch/arm/boot/dts/overlays/README | 26 +++ + .../boot/dts/overlays/boomberry-dac-overlay.dts | 43 +++++ + .../boot/dts/overlays/boomberry-digi-overlay.dts | 39 ++++ + arch/arm/configs/bcm2709_defconfig | 2 + + arch/arm/configs/bcmrpi_defconfig | 2 + + sound/soc/bcm/Kconfig | 14 ++ + sound/soc/bcm/Makefile | 4 + + sound/soc/bcm/boomberry-dac.c | 163 ++++++++++++++++ + sound/soc/bcm/boomberry-digi.c | 215 +++++++++++++++++++++ + 10 files changed, 510 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/boomberry-dac-overlay.dts + create mode 100644 arch/arm/boot/dts/overlays/boomberry-digi-overlay.dts + create mode 100644 sound/soc/bcm/boomberry-dac.c + create mode 100644 sound/soc/bcm/boomberry-digi.c + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 6bd6048..4842dc1 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -16,6 +16,8 @@ dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo + dtbo-$(RPI_DT_OVERLAYS) += akkordion-iqdacplus.dtbo + dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo + dtbo-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += boomberry-dac.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += boomberry-digi.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dpi24.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dwc2.dtbo + dtbo-$(RPI_DT_OVERLAYS) += dwc-otg.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 5d0887f..eb5fc04 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -225,6 +225,32 @@ Load: dtoverlay=bmp085_i2c-sensor + Params: + + ++Name: boomberry-dac ++Info: Configures the BoomBerry DAC HAT, Amp HAT, DAC Zero and Amp Zero audio ++ cards ++Load: dtoverlay=boomberry-dac,= ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. Enable with ++ "dtoverlay=boomberry-dac,24db_digital_gain" ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24dB_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ ++Name: boomberry-digi ++Info: Configures the BoomBerry Digi HAT and Digi Zero audio cards ++Load: dtoverlay=boomberry-digi ++Params: ++ ++ + Name: dht11 + Info: Overlay for the DHT11/DHT21/DHT22 humidity/temperature sensors + Also sometimes found with the part number(s) AM230x. +diff --git a/arch/arm/boot/dts/overlays/boomberry-dac-overlay.dts b/arch/arm/boot/dts/overlays/boomberry-dac-overlay.dts +new file mode 100644 +index 0000000..0f7c9b0 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/boomberry-dac-overlay.dts +@@ -0,0 +1,43 @@ ++// Definitions for BoomBerry DAC ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&sound>; ++ frag0: __overlay__ { ++ compatible = "boomberry,boomberry-dac"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&i2c1>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ pcm5122@4d { ++ #sound-dai-cells = <0>; ++ compatible = "ti,pcm5122"; ++ reg = <0x4d>; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ __overrides__ { ++ 24db_digital_gain = <&frag0>,"boomberry,24db_digital_gain?"; ++ }; ++}; +diff --git a/arch/arm/boot/dts/overlays/boomberry-digi-overlay.dts b/arch/arm/boot/dts/overlays/boomberry-digi-overlay.dts +new file mode 100644 +index 0000000..a86e1d0 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/boomberry-digi-overlay.dts +@@ -0,0 +1,39 @@ ++// Definitions for BoomBerry Digi ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&sound>; ++ __overlay__ { ++ compatible = "boomberry,boomberry-digi"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&i2c1>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ wm8804@3b { ++ #sound-dai-cells = <0>; ++ compatible = "wlf,wm8804"; ++ reg = <0x3b>; ++ status = "okay"; ++ }; ++ }; ++ }; ++}; +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 5a8ab1e..84ec380 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -853,6 +853,8 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m ++CONFIG_SNG_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 852751e..603ba04 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -845,6 +845,8 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m +diff --git a/sound/soc/bcm/Kconfig b/sound/soc/bcm/Kconfig +index 1a3f826..3383381 100644 +--- a/sound/soc/bcm/Kconfig ++++ b/sound/soc/bcm/Kconfig +@@ -50,6 +50,20 @@ config SND_BCM2708_SOC_RPI_PROTO + help + Say Y or M if you want to add support for Audio Codec Board PROTO (WM8731). + ++config SND_BCM2708_SOC_BOOMBERRY_DAC ++ tristate "Support for BoomBerry DAC" ++ depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S ++ select SND_SOC_PCM512x ++ help ++ Say Y or M if you want to add support for BoomBerry DAC. ++ ++config SND_BCM2708_SOC_BOOMBERRY_DIGI ++ tristate "Support for BoomBerry Digi" ++ depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S ++ select SND_SOC_WM8804 ++ help ++ Say Y or M if you want to add support for BoomBerry Digi. ++ + config SND_BCM2708_SOC_IQAUDIO_DAC + tristate "Support for IQaudIO-DAC" + depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S +diff --git a/sound/soc/bcm/Makefile b/sound/soc/bcm/Makefile +index b21e11e..b04b0d2 100644 +--- a/sound/soc/bcm/Makefile ++++ b/sound/soc/bcm/Makefile +@@ -8,6 +8,8 @@ snd-soc-hifiberry-dac-objs := hifiberry_dac.o + snd-soc-hifiberry-dacplus-objs := hifiberry_dacplus.o + snd-soc-hifiberry-digi-objs := hifiberry_digi.o + snd-soc-hifiberry-amp-objs := hifiberry_amp.o ++snd-soc-boomberry-dac-objs := boomberry-dac.o ++snd-soc-boomberry-digi-objs := boomberry-digi.o + snd-soc-rpi-dac-objs := rpi-dac.o + snd-soc-rpi-proto-objs := rpi-proto.o + snd-soc-iqaudio-dac-objs := iqaudio-dac.o +@@ -17,6 +19,8 @@ obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC) += snd-soc-hifiberry-dac.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS) += snd-soc-hifiberry-dacplus.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI) += snd-soc-hifiberry-digi.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP) += snd-soc-hifiberry-amp.o ++obj-$(CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC) += snd-soc-boomberry-dac.o ++obj-$(CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI) += snd-soc-boomberry-digi.o + obj-$(CONFIG_SND_BCM2708_SOC_RPI_DAC) += snd-soc-rpi-dac.o + obj-$(CONFIG_SND_BCM2708_SOC_RPI_PROTO) += snd-soc-rpi-proto.o + obj-$(CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC) += snd-soc-iqaudio-dac.o +diff --git a/sound/soc/bcm/boomberry-dac.c b/sound/soc/bcm/boomberry-dac.c +new file mode 100644 +index 0000000..08845ad +--- /dev/null ++++ b/sound/soc/bcm/boomberry-dac.c +@@ -0,0 +1,163 @@ ++/* ++ * ASoC Driver for BoomBerry DAC Raspberry Pi HAT Sound Card ++ * ++ * Author: Milan Neskovic ++ * Copyright 2016 ++ * based on code by Daniel Matuschek ++ * based on code by Florian Meier ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * version 2 as published by the Free Software Foundation. ++ * ++ * This program is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ */ ++ ++#include ++#include ++ ++#include ++#include ++#include ++#include ++#include ++ ++#include "../codecs/pcm512x.h" ++ ++static bool digital_gain_0db_limit = true; ++ ++static int snd_rpi_boomberry_dac_init(struct snd_soc_pcm_runtime *rtd) ++{ ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, PCM512x_GPIO_EN, 0x08, 0x08); ++ snd_soc_update_bits(codec, PCM512x_GPIO_OUTPUT_4, 0xf, 0x02); ++ snd_soc_update_bits(codec, PCM512x_GPIO_CONTROL_1, 0x08,0x08); ++ ++ if (digital_gain_0db_limit) ++ { ++ int ret; ++ struct snd_soc_card *card = rtd->card; ++ struct snd_soc_codec *codec = rtd->codec; ++ ++ ret = snd_soc_limit_volume(codec, "Digital Playback Volume", 207); ++ if (ret < 0) ++ dev_warn(card->dev, "Failed to set volume limit: %d\n", ret); ++ } ++ ++ return 0; ++} ++ ++static int snd_rpi_boomberry_dac_hw_params(struct snd_pcm_substream *substream, ++ struct snd_pcm_hw_params *params) ++{ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_dai *cpu_dai = rtd->cpu_dai; ++ /*return snd_soc_dai_set_bclk_ratio(cpu_dai, 64);*/ ++ unsigned int sample_bits = ++ snd_pcm_format_physical_width(params_format(params)); ++ return snd_soc_dai_set_bclk_ratio(cpu_dai, sample_bits * 2); ++} ++ ++static int snd_rpi_boomberry_dac_startup(struct snd_pcm_substream *substream) { ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, PCM512x_GPIO_CONTROL_1, 0x08,0x08); ++ return 0; ++} ++ ++static void snd_rpi_boomberry_dac_shutdown(struct snd_pcm_substream *substream) { ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, PCM512x_GPIO_CONTROL_1, 0x08,0x00); ++} ++ ++/* machine stream operations */ ++static struct snd_soc_ops snd_rpi_boomberry_dac_ops = { ++ .hw_params = snd_rpi_boomberry_dac_hw_params, ++ .startup = snd_rpi_boomberry_dac_startup, ++ .shutdown = snd_rpi_boomberry_dac_shutdown, ++}; ++ ++static struct snd_soc_dai_link snd_rpi_boomberry_dac_dai[] = { ++{ ++ .name = "BoomBerry DAC", ++ .stream_name = "BoomBerry DAC HiFi", ++ .cpu_dai_name = "bcm2708-i2s.0", ++ .codec_dai_name = "pcm512x-hifi", ++ .platform_name = "bcm2708-i2s.0", ++ .codec_name = "pcm512x.1-004d", ++ .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBS_CFS, ++ .ops = &snd_rpi_boomberry_dac_ops, ++ .init = snd_rpi_boomberry_dac_init, ++}, ++}; ++ ++/* audio machine driver */ ++static struct snd_soc_card snd_rpi_boomberry_dac = { ++ .name = "snd_rpi_boomberry_dac", ++ .owner = THIS_MODULE, ++ .dai_link = snd_rpi_boomberry_dac_dai, ++ .num_links = ARRAY_SIZE(snd_rpi_boomberry_dac_dai), ++}; ++ ++static int snd_rpi_boomberry_dac_probe(struct platform_device *pdev) ++{ ++ int ret = 0; ++ ++ snd_rpi_boomberry_dac.dev = &pdev->dev; ++ ++ if (pdev->dev.of_node) { ++ struct device_node *i2s_node; ++ struct snd_soc_dai_link *dai = &snd_rpi_boomberry_dac_dai[0]; ++ i2s_node = of_parse_phandle(pdev->dev.of_node, ++ "i2s-controller", 0); ++ ++ if (i2s_node) { ++ dai->cpu_dai_name = NULL; ++ dai->cpu_of_node = i2s_node; ++ dai->platform_name = NULL; ++ dai->platform_of_node = i2s_node; ++ } ++ ++ digital_gain_0db_limit = !of_property_read_bool( ++ pdev->dev.of_node, "boomberry,24db_digital_gain"); ++ } ++ ++ ret = snd_soc_register_card(&snd_rpi_boomberry_dac); ++ if (ret) ++ dev_err(&pdev->dev, ++ "snd_soc_register_card() failed: %d\n", ret); ++ ++ return ret; ++} ++ ++static int snd_rpi_boomberry_dac_remove(struct platform_device *pdev) ++{ ++ return snd_soc_unregister_card(&snd_rpi_boomberry_dac); ++} ++ ++static const struct of_device_id snd_rpi_boomberry_dac_of_match[] = { ++ { .compatible = "boomberry,boomberry-dac", }, ++ {}, ++}; ++MODULE_DEVICE_TABLE(of, snd_rpi_boomberry_dac_of_match); ++ ++static struct platform_driver snd_rpi_boomberry_dac_driver = { ++ .driver = { ++ .name = "snd-rpi-boomberry-dac", ++ .owner = THIS_MODULE, ++ .of_match_table = snd_rpi_boomberry_dac_of_match, ++ }, ++ .probe = snd_rpi_boomberry_dac_probe, ++ .remove = snd_rpi_boomberry_dac_remove, ++}; ++ ++module_platform_driver(snd_rpi_boomberry_dac_driver); ++ ++MODULE_AUTHOR("Milan Neskovic "); ++MODULE_DESCRIPTION("ASoC Driver for BoomBerry PI DAC HAT Sound Card"); ++MODULE_LICENSE("GPL v2"); +diff --git a/sound/soc/bcm/boomberry-digi.c b/sound/soc/bcm/boomberry-digi.c +new file mode 100644 +index 0000000..3d5b5ff +--- /dev/null ++++ b/sound/soc/bcm/boomberry-digi.c +@@ -0,0 +1,215 @@ ++/* ++ * ASoC Driver for BoomBerry Raspberry Pi Digi HAT Sound Card ++ * ++ * Author: Milan Neskovic ++ * Copyright 2016 ++ * based on code by Daniel Matuschek ++ * based on code by Florian Meier ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * version 2 as published by the Free Software Foundation. ++ * ++ * This program is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ */ ++ ++#include ++#include ++ ++#include ++#include ++#include ++#include ++#include ++ ++#include "../codecs/wm8804.h" ++ ++static int snd_rpi_boomberry_digi_init(struct snd_soc_pcm_runtime *rtd) ++{ ++ struct snd_soc_codec *codec = rtd->codec; ++ ++ /* enable TX output */ ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x4, 0x0); ++ ++ return 0; ++} ++ ++static int snd_rpi_boomberry_digi_startup(struct snd_pcm_substream *substream) { ++ /* turn on digital output */ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x3c, 0x00); ++ return 0; ++} ++ ++static void snd_rpi_boomberry_digi_shutdown(struct snd_pcm_substream *substream) { ++ /* turn off output */ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_codec *codec = rtd->codec; ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x3c, 0x3c); ++} ++ ++static int snd_rpi_boomberry_digi_hw_params(struct snd_pcm_substream *substream, ++ struct snd_pcm_hw_params *params) ++{ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_dai *codec_dai = rtd->codec_dai; ++ struct snd_soc_codec *codec = rtd->codec; ++ struct snd_soc_dai *cpu_dai = rtd->cpu_dai; ++ ++ int sysclk = 27000000; /* This is fixed on this board */ ++ ++ long mclk_freq=0; ++ int mclk_div=1; ++ int sampling_freq=1; ++ ++ int ret; ++ ++ int samplerate = params_rate(params); ++ ++ if (samplerate<=96000) { ++ mclk_freq=samplerate*256; ++ mclk_div=WM8804_MCLKDIV_256FS; ++ } else { ++ mclk_freq=samplerate*128; ++ mclk_div=WM8804_MCLKDIV_128FS; ++ } ++ ++ switch (samplerate) { ++ case 32000: ++ sampling_freq=0x03; ++ break; ++ case 44100: ++ sampling_freq=0x00; ++ break; ++ case 48000: ++ sampling_freq=0x02; ++ break; ++ case 88200: ++ sampling_freq=0x08; ++ break; ++ case 96000: ++ sampling_freq=0x0a; ++ break; ++ case 176400: ++ sampling_freq=0x0c; ++ break; ++ case 192000: ++ sampling_freq=0x0e; ++ break; ++ default: ++ dev_err(codec->dev, ++ "Failed to set WM8804 SYSCLK, unsupported samplerate %d\n", ++ samplerate); ++ } ++ ++ snd_soc_dai_set_clkdiv(codec_dai, WM8804_MCLK_DIV, mclk_div); ++ snd_soc_dai_set_pll(codec_dai, 0, 0, sysclk, mclk_freq); ++ ++ ret = snd_soc_dai_set_sysclk(codec_dai, WM8804_TX_CLKSRC_PLL, ++ sysclk, SND_SOC_CLOCK_OUT); ++ if (ret < 0) { ++ dev_err(codec->dev, ++ "Failed to set WM8804 SYSCLK: %d\n", ret); ++ return ret; ++ } ++ ++ /* Enable TX output */ ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x4, 0x0); ++ ++ /* Power on */ ++ snd_soc_update_bits(codec, WM8804_PWRDN, 0x9, 0); ++ ++ /* set sampling frequency status bits */ ++ snd_soc_update_bits(codec, WM8804_SPDTX4, 0x0f, sampling_freq); ++ ++ return snd_soc_dai_set_bclk_ratio(cpu_dai,64); ++} ++ ++/* machine stream operations */ ++static struct snd_soc_ops snd_rpi_boomberry_digi_ops = { ++ .hw_params = snd_rpi_boomberry_digi_hw_params, ++ .startup = snd_rpi_boomberry_digi_startup, ++ .shutdown = snd_rpi_boomberry_digi_shutdown, ++}; ++ ++static struct snd_soc_dai_link snd_rpi_boomberry_digi_dai[] = { ++{ ++ .name = "BoomBerry Digi", ++ .stream_name = "BoomBerry Digi HiFi", ++ .cpu_dai_name = "bcm2708-i2s.0", ++ .codec_dai_name = "wm8804-spdif", ++ .platform_name = "bcm2708-i2s.0", ++ .codec_name = "wm8804.1-003b", ++ .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBM_CFM, ++ .ops = &snd_rpi_boomberry_digi_ops, ++ .init = snd_rpi_boomberry_digi_init, ++}, ++}; ++ ++/* audio machine driver */ ++static struct snd_soc_card snd_rpi_boomberry_digi = { ++ .name = "snd_rpi_boomberry_digi", ++ .owner = THIS_MODULE, ++ .dai_link = snd_rpi_boomberry_digi_dai, ++ .num_links = ARRAY_SIZE(snd_rpi_boomberry_digi_dai), ++}; ++ ++static int snd_rpi_boomberry_digi_probe(struct platform_device *pdev) ++{ ++ int ret = 0; ++ ++ snd_rpi_boomberry_digi.dev = &pdev->dev; ++ ++ if (pdev->dev.of_node) { ++ struct device_node *i2s_node; ++ struct snd_soc_dai_link *dai = &snd_rpi_boomberry_digi_dai[0]; ++ i2s_node = of_parse_phandle(pdev->dev.of_node, ++ "i2s-controller", 0); ++ ++ if (i2s_node) { ++ dai->cpu_dai_name = NULL; ++ dai->cpu_of_node = i2s_node; ++ dai->platform_name = NULL; ++ dai->platform_of_node = i2s_node; ++ } ++ } ++ ++ ret = snd_soc_register_card(&snd_rpi_boomberry_digi); ++ if (ret) ++ dev_err(&pdev->dev, ++ "snd_soc_register_card() failed: %d\n", ret); ++ ++ return ret; ++} ++ ++static int snd_rpi_boomberry_digi_remove(struct platform_device *pdev) ++{ ++ return snd_soc_unregister_card(&snd_rpi_boomberry_digi); ++} ++ ++static const struct of_device_id snd_rpi_boomberry_digi_of_match[] = { ++ { .compatible = "boomberry,boomberry-digi", }, ++ {}, ++}; ++MODULE_DEVICE_TABLE(of, snd_rpi_boomberry_digi_of_match); ++ ++static struct platform_driver snd_rpi_boomberry_digi_driver = { ++ .driver = { ++ .name = "snd-rpi-boomberry-digi", ++ .owner = THIS_MODULE, ++ .of_match_table = snd_rpi_boomberry_digi_of_match, ++ }, ++ .probe = snd_rpi_boomberry_digi_probe, ++ .remove = snd_rpi_boomberry_digi_remove, ++}; ++ ++module_platform_driver(snd_rpi_boomberry_digi_driver); ++ ++MODULE_AUTHOR("Milan Neskovic "); ++MODULE_DESCRIPTION("ASoC Driver for BoomBerry PI Digi HAT Sound Card"); ++MODULE_LICENSE("GPL v2"); + +From e3ea2e74ce1c734d3bbfd1270e8934cb3de80431 Mon Sep 17 00:00:00 2001 +From: Aaron Shaw +Date: Fri, 8 Apr 2016 00:06:00 +0100 +Subject: [PATCH 239/251] Add support for mcp7940x family of RTC + +--- + arch/arm/boot/dts/overlays/README | 2 ++ + arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 6 ++++++ + 2 files changed, 8 insertions(+) + +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index eb5fc04..6a62e6f 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -435,6 +435,8 @@ Params: ds1307 Select the DS1307 device + + ds3231 Select the DS3231 device + ++ mcp7940x Select the MCP7940x device ++ + mcp7941x Select the MCP7941x device + + pcf2127 Select the PCF2127 device +diff --git a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts +index eecec16..4065647 100644 +--- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts ++++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts +@@ -23,6 +23,11 @@ + reg = <0x68>; + status = "disable"; + }; ++ mcp7940x: mcp7940x@6f { ++ compatible = "microchip,mcp7940x"; ++ reg = <0x6f>; ++ status = "disable"; ++ }; + mcp7941x: mcp7941x@6f { + compatible = "microchip,mcp7941x"; + reg = <0x6f>; +@@ -54,6 +59,7 @@ + ds1307 = <&ds1307>,"status"; + ds1339 = <&ds1339>,"status"; + ds3231 = <&ds3231>,"status"; ++ mcp7940x = <&mcp7940x>,"status"; + mcp7941x = <&mcp7941x>,"status"; + pcf2127 = <&pcf2127>,"status"; + pcf8523 = <&pcf8523>,"status"; + +From a10d74e309c02ad451678e59c320d62208944605 Mon Sep 17 00:00:00 2001 +From: Jeremy McDermond +Date: Thu, 14 Apr 2016 09:39:20 -0700 +Subject: [PATCH 240/251] bcm2709_defconfig: Fix typo on BoomBerry + configuration directive + +The BoomBerry configuration directive in bcm2709_defconfig has a typo. +--- + arch/arm/configs/bcm2709_defconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 84ec380..7353332 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -854,7 +854,7 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m + CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m +-CONFIG_SNG_BCM2708_SOC_BOOMBERRY_DIGI=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m + +From eb62c144a47bbc7d0015d65629fad05884aa654b Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 15 Apr 2016 10:48:39 +0100 +Subject: [PATCH 241/251] boomberry-dac: Adjust for ALSA API change + +As of 4.4, snd_soc_limit_volume now takes a struct snd_soc_card * +rather than a struct snd_soc_codec *. + +Signed-off-by: Phil Elwell +--- + sound/soc/bcm/boomberry-dac.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/sound/soc/bcm/boomberry-dac.c b/sound/soc/bcm/boomberry-dac.c +index 08845ad..8d39de2 100644 +--- a/sound/soc/bcm/boomberry-dac.c ++++ b/sound/soc/bcm/boomberry-dac.c +@@ -40,9 +40,8 @@ static int snd_rpi_boomberry_dac_init(struct snd_soc_pcm_runtime *rtd) + { + int ret; + struct snd_soc_card *card = rtd->card; +- struct snd_soc_codec *codec = rtd->codec; + +- ret = snd_soc_limit_volume(codec, "Digital Playback Volume", 207); ++ ret = snd_soc_limit_volume(card, "Digital Playback Volume", 207); + if (ret < 0) + dev_warn(card->dev, "Failed to set volume limit: %d\n", ret); + } + +From d113d5842f6896cdcdd7c7c2e5733fe0ed0a5b06 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 17 Apr 2016 04:44:47 -0700 +Subject: [PATCH 242/251] vmcs: Remove unused sm_cache_map_vector definition + (#1411) + +The code using it also ifdef'ed with 0, anyyd gcc 6 +complains + +error: 'sm_cache_map_vector' defined but not used + +The code using it also ifdef'ed out + +Signed-off-by: Khem Raj +--- + drivers/char/broadcom/vc_sm/vmcs_sm.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c +index 5d16e35..1db6716 100644 +--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c ++++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c +@@ -197,12 +197,14 @@ struct SM_STATE_T { + static struct SM_STATE_T *sm_state; + static int sm_inited; + ++#if 0 + static const char *const sm_cache_map_vector[] = { + "(null)", + "host", + "videocore", + "host+videocore", + }; ++#endif + + /* ---- Private Function Prototypes -------------------------------------- */ + + +From 8842f5b24445286359d13b8f85230384a361f26b Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 18 Apr 2016 11:56:53 +0100 +Subject: [PATCH 243/251] scripts/mkknlimg: Append a trailer for all input + +Now that the firmware assumes an unsigned kernel is DT-capable, it is +helpful to be able to mark a kernel as being non-DT-capable. + +Signed-off-by: Phil Elwell +--- + scripts/mkknlimg | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) + +diff --git a/scripts/mkknlimg b/scripts/mkknlimg +index 005f404..78c5845 100755 +--- a/scripts/mkknlimg ++++ b/scripts/mkknlimg +@@ -98,7 +98,7 @@ my $append_trailer; + my $trailer; + my $kver = '?'; + +-$append_trailer = $dtok; ++$append_trailer = 1; + + if ($res) + { +@@ -108,7 +108,6 @@ if ($res) + + if ($flags & FLAG_PI) + { +- $append_trailer = 1; + $dtok ||= ($flags & FLAG_DTOK) != 0; + $is_270x ||= ($flags & FLAG_270X) != 0; + $is_283x ||= ($flags & FLAG_283X) != 0; +@@ -116,18 +115,18 @@ if ($res) + } + else + { +- print ("* This doesn't look like a Raspberry Pi kernel. In pass-through mode.\n"); ++ print ("* This doesn't look like a Raspberry Pi kernel.\n"); + } + } + elsif (!$dtok) + { +- print ("* Is this a valid kernel? In pass-through mode.\n"); ++ print ("* Is this a valid kernel?\n"); + } + + if ($append_trailer) + { + printf("DT: %s\n", $dtok ? "y" : "n"); +- printf("DDT: %s\n", $ddtk ? "y" : "n") if ($ddtk); ++ printf("DDT: %s\n", $ddtk ? "y" : "n"); + printf("270x: %s\n", $is_270x ? "y" : "n"); + printf("283x: %s\n", $is_283x ? "y" : "n"); + +@@ -136,7 +135,7 @@ if ($append_trailer) + push @atoms, [ $trailer_magic, pack('V', 0) ]; + push @atoms, [ 'KVer', $kver ]; + push @atoms, [ 'DTOK', pack('V', $dtok) ]; +- push @atoms, [ 'DDTK', pack('V', $ddtk) ] if ($ddtk); ++ push @atoms, [ 'DDTK', pack('V', $ddtk) ]; + push @atoms, [ '270X', pack('V', $is_270x) ]; + push @atoms, [ '283X', pack('V', $is_283x) ]; + push @atoms, [ '283x', pack('V', $is_283x && !$is_270x) ]; + +From 4713de1914febfd095de6c68d7152c10ba60a475 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 19 Apr 2016 13:55:29 +0100 +Subject: [PATCH 244/251] scripts/dtc: Only emit local fixups for overlays + +Signed-off-by: Phil Elwell +--- + scripts/dtc/checks.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c +index 2b3b3a7..fedfa79 100644 +--- a/scripts/dtc/checks.c ++++ b/scripts/dtc/checks.c +@@ -514,7 +514,7 @@ static void fixup_phandle_references(struct check *c, struct node *dt, + } + + /* if it's a local reference, we need to record it */ +- if (symbol_fixup_support) { ++ if (symbol_fixup_support && dt->is_plugin) { + + /* allocate a new local fixup entry */ + fe = xmalloc(sizeof(*fe)); + +From 8f691a8d8e5dd4a0e48f3fcc766936215a0efb27 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Tue, 19 Apr 2016 12:57:52 +0100 +Subject: [PATCH 245/251] bcm2835_thermal: Don't report unsupported trip type + +--- + drivers/thermal/bcm2835-thermal.c | 34 +--------------------------------- + 1 file changed, 1 insertion(+), 33 deletions(-) + +diff --git a/drivers/thermal/bcm2835-thermal.c b/drivers/thermal/bcm2835-thermal.c +index 08d8dc7..c63fb9f 100644 +--- a/drivers/thermal/bcm2835-thermal.c ++++ b/drivers/thermal/bcm2835-thermal.c +@@ -49,38 +49,8 @@ static int bcm2835_thermal_get_temp(struct thermal_zone_device *tz, + RPI_FIRMWARE_GET_TEMPERATURE); + } + +-static int bcm2835_thermal_get_max_temp(struct thermal_zone_device *tz, +- int trip, int *temp) +-{ +- /* +- * The maximum safe temperature of the SoC. +- * Overclock may be disabled above this temperature. +- */ +- return bcm2835_thermal_get_property(tz, temp, +- RPI_FIRMWARE_GET_MAX_TEMPERATURE); +-} +- +-static int bcm2835_thermal_get_trip_type(struct thermal_zone_device *tz, +- int trip, enum thermal_trip_type *type) +-{ +- *type = THERMAL_TRIP_HOT; +- +- return 0; +-} +- +-static int bcm2835_thermal_get_mode(struct thermal_zone_device *tz, +- enum thermal_device_mode *mode) +-{ +- *mode = THERMAL_DEVICE_ENABLED; +- +- return 0; +-} +- + static struct thermal_zone_device_ops ops = { + .get_temp = bcm2835_thermal_get_temp, +- .get_trip_temp = bcm2835_thermal_get_max_temp, +- .get_trip_type = bcm2835_thermal_get_trip_type, +- .get_mode = bcm2835_thermal_get_mode, + }; + + static int bcm2835_thermal_probe(struct platform_device *pdev) +@@ -90,17 +60,15 @@ static int bcm2835_thermal_probe(struct platform_device *pdev) + struct thermal_zone_device *tz; + + fw_np = of_parse_phandle(pdev->dev.of_node, "firmware", 0); +-/* Remove comment when booting without Device Tree is no longer supported + if (!fw_np) { + dev_err(&pdev->dev, "Missing firmware node\n"); + return -ENOENT; + } +-*/ + fw = rpi_firmware_get(fw_np); + if (!fw) + return -EPROBE_DEFER; + +- tz = thermal_zone_device_register("bcm2835_thermal", 1, 0, fw, &ops, ++ tz = thermal_zone_device_register("bcm2835_thermal", 0, 0, fw, &ops, + NULL, 0, 0); + if (IS_ERR(tz)) { + dev_err(&pdev->dev, "Failed to register the thermal device\n"); + +From f92bda16cd790cb612920ed266d19c6ae2620c22 Mon Sep 17 00:00:00 2001 +From: wm4 +Date: Tue, 19 Apr 2016 16:08:35 +0200 +Subject: [PATCH 246/251] bcm2835: do not require substream for accessing chmap + ctl + +Fixes alsasctl store/restore operation. +--- + sound/arm/bcm2835-ctl.c | 10 +--------- + 1 file changed, 1 insertion(+), 9 deletions(-) + +diff --git a/sound/arm/bcm2835-ctl.c b/sound/arm/bcm2835-ctl.c +index e930718..8b855f9 100755 +--- a/sound/arm/bcm2835-ctl.c ++++ b/sound/arm/bcm2835-ctl.c +@@ -489,8 +489,6 @@ static int snd_bcm2835_chmap_ctl_get(struct snd_kcontrol *kcontrol, + { + struct snd_pcm_chmap *info = snd_kcontrol_chip(kcontrol); + bcm2835_chip_t *chip = info->private_data; +- unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); +- struct snd_pcm_substream *substream = snd_pcm_chmap_substream(info, idx); + struct cea_channel_speaker_allocation *ch = NULL; + int res = 0; + int cur = 0; +@@ -499,11 +497,6 @@ static int snd_bcm2835_chmap_ctl_get(struct snd_kcontrol *kcontrol, + if (mutex_lock_interruptible(&chip->audio_mutex)) + return -EINTR; + +- if (!substream || !substream->runtime) { +- res = -ENODEV; +- goto unlock; +- } +- + for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { + if (channel_allocations[i].ca_index == chip->cea_chmap) + ch = &channel_allocations[i]; +@@ -521,7 +514,6 @@ static int snd_bcm2835_chmap_ctl_get(struct snd_kcontrol *kcontrol, + while (cur < 8) + ucontrol->value.integer.value[cur++] = SNDRV_CHMAP_NA; + +-unlock: + mutex_unlock(&chip->audio_mutex); + return res; + } +@@ -541,7 +533,7 @@ static int snd_bcm2835_chmap_ctl_put(struct snd_kcontrol *kcontrol, + return -EINTR; + + if (!substream || !substream->runtime) { +- res = -ENODEV; ++ /* ignore and return success for the sake of alsactl */ + goto unlock; + } + + +From 2c9ca7ae6ac79df824b94224936d378d725b7bb7 Mon Sep 17 00:00:00 2001 +From: wm4 +Date: Tue, 19 Apr 2016 16:29:41 +0200 +Subject: [PATCH 247/251] bcm2835: add fallback channel layouts if channel map + API is not used + +Should be more useful than just forcing stereo. + +We can't match the exact legacy ALSA channel layouts, so this is a +"best effort" hack. + +I'm not sure what happens if the application requests channel counts +that are not power-of-2s. The channel map API hopefully forces +applications which use the channel map API to request the correct +count by adding padding channels, but the bare API enforces +nothing. Possibly this could be added to rate_hw_constraint_channels +at a later point. +--- + sound/arm/bcm2835-vchiq.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/sound/arm/bcm2835-vchiq.c b/sound/arm/bcm2835-vchiq.c +index 8ecd2d7..9371073 100755 +--- a/sound/arm/bcm2835-vchiq.c ++++ b/sound/arm/bcm2835-vchiq.c +@@ -598,7 +598,16 @@ int bcm2835_audio_set_params(bcm2835_alsa_stream_t * alsa_stream, + if (alsa_stream->chip->cea_chmap >= 0) { + chmap_value = (unsigned)alsa_stream->chip->cea_chmap << 24; + } else { +- chmap_value = 0; /* force stereo */ ++ /* fallback layouts for applications which do not use chmap API */ ++ chmap_value = 0x00; ++ switch (channels) { ++ case 3: chmap_value = 0x01; break; ++ case 4: chmap_value = 0x03; break; ++ case 5: chmap_value = 0x07; break; ++ case 6: chmap_value = 0x0b; break; ++ case 7: chmap_value = 0x0f; break; ++ case 8: chmap_value = 0x13; break; ++ } + for (i = 0; i < 8; i++) + alsa_stream->chip->map_channels[i] = i; + } + +From a9670f6cc4cd89aa953d6240b037ebfa161e552b Mon Sep 17 00:00:00 2001 +From: wm4 +Date: Tue, 19 Apr 2016 16:38:03 +0200 +Subject: [PATCH 248/251] bcm2835: log which channel map is set + +--- + sound/arm/bcm2835-vchiq.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/sound/arm/bcm2835-vchiq.c b/sound/arm/bcm2835-vchiq.c +index 9371073..876986d 100755 +--- a/sound/arm/bcm2835-vchiq.c ++++ b/sound/arm/bcm2835-vchiq.c +@@ -596,8 +596,11 @@ int bcm2835_audio_set_params(bcm2835_alsa_stream_t * alsa_stream, + instance->result = -1; + + if (alsa_stream->chip->cea_chmap >= 0) { ++ LOG_INFO("Using application requested channel map: %d\n", ++ alsa_stream->chip->cea_chmap); + chmap_value = (unsigned)alsa_stream->chip->cea_chmap << 24; + } else { ++ LOG_INFO("Using fallback channel map.\n"); + /* fallback layouts for applications which do not use chmap API */ + chmap_value = 0x00; + switch (channels) { +@@ -614,6 +617,8 @@ int bcm2835_audio_set_params(bcm2835_alsa_stream_t * alsa_stream, + for (i = 0; i < 8; i++) + chmap_value |= alsa_stream->chip->map_channels[i] << (i * 3); + ++ LOG_INFO("Requesting AUDS channel map: 0x%lx\n", (long)chmap_value); ++ + m.type = VC_AUDIO_MSG_TYPE_CONFIG; + m.u.config.channels = channels; + m.u.config.samplerate = samplerate; + +From 9135f5620348b62310684d40896ae21d993a563d Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 21 Apr 2016 13:49:32 +0100 +Subject: [PATCH 249/251] vchiq_arm: Add completion records under the mutex + +An issue was observed when flushing openmax components +which generate a large number of messages returning +buffers to host. + +We occasionally found a duplicate message from 16 +messages prior, resulting in a buffer returned twice. + +While only one thread adds completions, without the +mutex you don't get the protection of the automatic +memory barrier you get with synchronisation objects. + +Signed-off-by: Phil Elwell +--- + drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +diff --git a/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c +index a5cc385..4886236 100644 +--- a/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c ++++ b/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c +@@ -210,6 +210,8 @@ add_completion(VCHIQ_INSTANCE_T instance, VCHIQ_REASON_T reason, + VCHIQ_COMPLETION_DATA_T *completion; + DEBUG_INITIALISE(g_state.local) + ++ mutex_lock(&instance->completion_mutex); ++ + while (instance->completion_insert == + (instance->completion_remove + MAX_COMPLETIONS)) { + /* Out of space - wait for the client */ +@@ -217,11 +219,17 @@ add_completion(VCHIQ_INSTANCE_T instance, VCHIQ_REASON_T reason, + vchiq_log_trace(vchiq_arm_log_level, + "add_completion - completion queue full"); + DEBUG_COUNT(COMPLETION_QUEUE_FULL_COUNT); ++ ++ mutex_unlock(&instance->completion_mutex); + if (down_interruptible(&instance->remove_event) != 0) { + vchiq_log_info(vchiq_arm_log_level, + "service_callback interrupted"); + return VCHIQ_RETRY; +- } else if (instance->closing) { ++ } ++ ++ mutex_lock(&instance->completion_mutex); ++ if (instance->closing) { ++ mutex_unlock(&instance->completion_mutex); + vchiq_log_info(vchiq_arm_log_level, + "service_callback closing"); + return VCHIQ_SUCCESS; +@@ -254,8 +262,11 @@ add_completion(VCHIQ_INSTANCE_T instance, VCHIQ_REASON_T reason, + if (reason == VCHIQ_MESSAGE_AVAILABLE) + user_service->message_available_pos = + instance->completion_insert; ++ + instance->completion_insert++; + ++ mutex_unlock(&instance->completion_mutex); ++ + up(&instance->insert_event); + + return VCHIQ_SUCCESS; + +From 14ba3016c66394dca226fc4fd66b2fd2e677497c Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 21 Apr 2016 16:07:15 +0100 +Subject: [PATCH 250/251] config: Add DRM_UDL module + +See: https://github.com/raspberrypi/linux/issues/1422 + +Signed-off-by: Phil Elwell +--- + arch/arm/configs/bcm2709_defconfig | 5 +++-- + arch/arm/configs/bcmrpi_defconfig | 5 +++-- + 2 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 7353332..7788ecb 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -814,6 +814,7 @@ CONFIG_VIDEO_TW9906=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m + CONFIG_DRM=m ++CONFIG_DRM_UDL=m + CONFIG_DRM_VC4=m + CONFIG_FB=y + CONFIG_FB_BCM2708=y +@@ -853,10 +854,10 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m +-CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m +-CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m + CONFIG_SND_BCM2708_SOC_RASPIDAC3=m + CONFIG_SND_SOC_ADAU1701=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 603ba04..5b8b19a 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -806,6 +806,7 @@ CONFIG_VIDEO_TW9906=m + CONFIG_VIDEO_OV7640=m + CONFIG_VIDEO_MT9V011=m + CONFIG_DRM=m ++CONFIG_DRM_UDL=m + CONFIG_DRM_VC4=m + CONFIG_FB=y + CONFIG_FB_BCM2708=y +@@ -845,10 +846,10 @@ CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m +-CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m +-CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_RPI_DAC=m + CONFIG_SND_BCM2708_SOC_RPI_PROTO=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DAC=m ++CONFIG_SND_BCM2708_SOC_BOOMBERRY_DIGI=m + CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m + CONFIG_SND_BCM2708_SOC_RASPIDAC3=m + CONFIG_SND_SOC_ADAU1701=m + +From a114d1bd49a30b9b3aa31d4b18069986e0335e12 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 21 Apr 2016 15:44:14 +0100 +Subject: [PATCH 251/251] bcm2835-i2s: Reduce the TX DREQ threshold + +TX FIFO overrun is thought to be the cause of channel swapping, so +reducing the DREQ threshold seems reasonable and appears to be +effective. + +See: https://github.com/raspberrypi/linux/issues/1417 + +Signed-off-by: Phil Elwell +--- + sound/soc/bcm/bcm2835-i2s.c | 21 ++++++++++++++------- + 1 file changed, 14 insertions(+), 7 deletions(-) + +diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c +index 04c1d13..aedb01f 100644 +--- a/sound/soc/bcm/bcm2835-i2s.c ++++ b/sound/soc/bcm/bcm2835-i2s.c +@@ -555,15 +555,22 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, + + /* Setup the DMA parameters */ + regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_CS_A_REG, +- BCM2835_I2S_RXTHR(1) +- | BCM2835_I2S_TXTHR(1) +- | BCM2835_I2S_DMAEN, 0xffffffff); ++ BCM2835_I2S_RXTHR(3) ++ | BCM2835_I2S_TXTHR(3) ++ | BCM2835_I2S_DMAEN, ++ BCM2835_I2S_RXTHR(1) ++ | BCM2835_I2S_TXTHR(1) ++ | BCM2835_I2S_DMAEN); + + regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_DREQ_A_REG, +- BCM2835_I2S_TX_PANIC(0x10) +- | BCM2835_I2S_RX_PANIC(0x30) +- | BCM2835_I2S_TX(0x30) +- | BCM2835_I2S_RX(0x20), 0xffffffff); ++ BCM2835_I2S_TX_PANIC(0x7f) ++ | BCM2835_I2S_RX_PANIC(0x7f) ++ | BCM2835_I2S_TX(0x7f) ++ | BCM2835_I2S_RX(0x7f), ++ BCM2835_I2S_TX_PANIC(0x10) ++ | BCM2835_I2S_RX_PANIC(0x30) ++ | BCM2835_I2S_TX(0x20) ++ | BCM2835_I2S_RX(0x20)); + + /* Clear FIFOs */ + bcm2835_i2s_clear_fifos(dev, true, true); From 40ee8427e4c07230be6625ea99b251024e0ab03f Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Thu, 21 Apr 2016 20:14:04 +0100 Subject: [PATCH 2/2] RBP: Update firmware c5e1319 --- packages/graphics/bcm2835-driver/package.mk | 2 +- packages/tools/bcm2835-bootloader/package.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/graphics/bcm2835-driver/package.mk b/packages/graphics/bcm2835-driver/package.mk index 68d36f723e..e9196c0260 100644 --- a/packages/graphics/bcm2835-driver/package.mk +++ b/packages/graphics/bcm2835-driver/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="bcm2835-driver" -PKG_VERSION="efdcf16" +PKG_VERSION="c5e1319" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="nonfree" diff --git a/packages/tools/bcm2835-bootloader/package.mk b/packages/tools/bcm2835-bootloader/package.mk index 5561a7dff4..acf0dfbceb 100644 --- a/packages/tools/bcm2835-bootloader/package.mk +++ b/packages/tools/bcm2835-bootloader/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="bcm2835-bootloader" -PKG_VERSION="efdcf16" +PKG_VERSION="c5e1319" PKG_REV="1" PKG_ARCH="arm" PKG_LICENSE="nonfree"