From 8e96d1ddceb73c12b45a6928aa03098b66523c8c Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sat, 29 Jul 2017 21:24:08 +0100 Subject: [PATCH] RPi: update linux support patch for linux 4.12.3 --- .../patches/linux/linux-01-RPi_support.patch | 1001 +++++++++++------ 1 file changed, 652 insertions(+), 349 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 351b804a99..974a63b488 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 51c3916ef6fc3a4e950320f477a4536de019c87a Mon Sep 17 00:00:00 2001 +From 0bd1225fc3944b6ef3d99b7f93474d2cb037ff92 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/172] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/179] 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. @@ -48,10 +48,10 @@ index 2dfca96a63b60283b89efab676932a711024a499..88843b36182f0f12175df06e3a6fb55a usbnet_skb_return(dev, ax_skb); } -From 4d530707e6dbebedd509f3b9930037658c855df6 Mon Sep 17 00:00:00 2001 +From 7a2351a2bbce26f304f9f83d12d0e39c76a56055 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/172] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/179] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index 88843b36182f0f12175df06e3a6fb55a3a8f47e5..27813c57707c4b001646a26d8b1174a0 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 06f35eabee6c7d65cf9ea854f0fe8f7e741ba448 Mon Sep 17 00:00:00 2001 +From 13ea18b4f3aaccbbd33a472b45f85d0a383ca1f3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/172] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/179] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 27813c57707c4b001646a26d8b1174a0162c55ec..fac7a5f8642030a7dca7807e6c4808ea eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From 22bd41971ea73d2d31890930a4222ca40278d5c0 Mon Sep 17 00:00:00 2001 +From 8322637b8abaef3116bdcb3e1f7d0e6c55927c7b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/172] Protect __release_resource against resources without +Subject: [PATCH 004/179] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -224,10 +224,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From d71924886ead9003c1147f67a1781d983b19e0db Mon Sep 17 00:00:00 2001 +From 0d8b07913bd7c6288dc1c2299bfde0c8b2788561 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/172] mm: Remove the PFN busy warning +Subject: [PATCH 005/179] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -252,10 +252,10 @@ index 2302f250d6b1ba150e3c2e4e17cfb6c99574ab5b..f434dbb4aaa8845318e2d40153339b08 goto done; } -From baea03ed01bc652c0db1efdd15dc879515b63d33 Mon Sep 17 00:00:00 2001 +From 4d106c90e6bb29af22ded843e1006b196ed380b6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/172] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/179] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -282,10 +282,10 @@ index e7463e3c08143acae3e8cc5682f918c6a0b07ebd..a8db33b50ad9ff83d284fa54fe4d3b65 #endif } else if (stat) { -From 59f43bc6d488841f649539cfb388a4be5c0c97f9 Mon Sep 17 00:00:00 2001 +From d53d1c13479ae1de2313ae48c0d3fd93cb620d1b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 007/172] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 007/179] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -309,10 +309,10 @@ index a8db33b50ad9ff83d284fa54fe4d3b65f859df0f..c4e151451cf8c8ebde5225515eac2786 static void -From 0c8bd2ebf5349f1dc17b950a7104cebd431498ea Mon Sep 17 00:00:00 2001 +From 71b846004482596140107785af0a6c723845a767 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 008/172] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 008/179] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -441,10 +441,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From 33a9ef7e72ee3f154b20760531d5cf6412a9841e Mon Sep 17 00:00:00 2001 +From 3404b58fd1aba56292bc999c678ba74604015e45 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 009/172] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 009/179] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -543,10 +543,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From 192022d591544fbbd3362a49b1d91350f2005550 Mon Sep 17 00:00:00 2001 +From 82690090231658c5a90b30286c788bca0d339e7c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 010/172] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 010/179] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -567,10 +567,10 @@ index 9a2a79a871ba009fcfa8b7e2b52002c8845d94ce..4ffd24e8c50fd0df03cbb1257448c202 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From fdad75ee75c56c670b51f7418907bc5e96b12bf2 Mon Sep 17 00:00:00 2001 +From ebcf8cd78c941f2ad40e78063ce68af0e923789b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Jan 2017 18:25:01 +0000 -Subject: [PATCH 011/172] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" +Subject: [PATCH 011/179] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" This reverts commit 85ae9e512f437cd09bf61564bdba29ab88bab3e3. --- @@ -864,10 +864,10 @@ index 85d0091128644c446aed878e87769e82c77c3ebf..4f2621272bfd5cbc0d691d2fabe89e2e if (IS_ERR(pc->pctl_dev)) { gpiochip_remove(&pc->gpio_chip); -From 7e0134606329bceb547f863bc20a027bcc4d081f Mon Sep 17 00:00:00 2001 +From fed1cd55a7645512fc9cc889a6ca50ca7deb593d Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 012/172] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 012/179] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -889,10 +889,10 @@ index 4f2621272bfd5cbc0d691d2fabe89e2ee428d6db..5b7cb4c415e19f98e25b221ab0ad36b6 .can_sleep = false, }; -From 9063d7e5aa547f34d0f140c4240eb018f3eea205 Mon Sep 17 00:00:00 2001 +From 177dd0044cf604ccf5b79026ccf66818e95f9f09 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/172] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/179] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -919,10 +919,10 @@ index 5b7cb4c415e19f98e25b221ab0ad36b6885dae4c..6351fe7f8e314ac5ebb102dd20847b38 pc->irq_data[i].irqgroup = i; -From 1497182289f0c9ecce6ab7b4d39256bd272c90ae Mon Sep 17 00:00:00 2001 +From ecea7044813db2e1403f33eb78da5687efddb516 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 014/172] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 014/179] 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 @@ -1003,10 +1003,10 @@ index f35cc10772f6670397ea923ad30158270dd68578..5dfe20ffc2866fa6789825016c585175 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From fe8707f5fa918fb633dc0ff190e4e0e8af0a9c28 Mon Sep 17 00:00:00 2001 +From b2aaed9656c082a78dba203f5c35f7d0776af68f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 015/172] spi-bcm2835: Disable forced software CS +Subject: [PATCH 015/179] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -1040,10 +1040,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 9ff1b3143761f8b1f377b7dfe8728186d21cd2e8 Mon Sep 17 00:00:00 2001 +From 6a1ab4549e27c04b91bd1a46cd6a7db4b3b054e3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 016/172] spi-bcm2835: Remove unused code +Subject: [PATCH 016/179] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1131,10 +1131,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 0030bcf340aab764e9635c66e96bb4519f0398c7 Mon Sep 17 00:00:00 2001 +From 1ad1911086bbe952972b25073a46b62f595311d6 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 017/172] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 017/179] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1187,10 +1187,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From d8125b0f23d944111e5c4335052561aa590daa5c Mon Sep 17 00:00:00 2001 +From 8a9e093669d1a08cd50b38bf4f033d2ac8ef9619 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 018/172] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 018/179] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1293,10 +1293,10 @@ index 6204cc32d09c5096df8aec304c3c37b3bcb6be44..599c218dc8a73172dd4bd4a058fc8f95 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From 49e3e2d1c3e2534c174bcbea9a8186c29696610a Mon Sep 17 00:00:00 2001 +From c2b158ee929acda6a958b837489d479a3f74f0f4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 019/172] firmware: Updated mailbox header +Subject: [PATCH 019/179] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1357,10 +1357,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 35ead45646e22e137dc151024df9427d4b78b3de Mon Sep 17 00:00:00 2001 +From fc49e09a62ca14bef148359b1a78f6ccfcabc0a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 020/172] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 020/179] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1380,10 +1380,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From e059ba3d3e52060a5df18958ef1bd7fb6d38ef4c Mon Sep 17 00:00:00 2001 +From 6fc02da4301b1b7be7d33be2a5c7f076c91d7cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 16:50:59 +0200 -Subject: [PATCH 021/172] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 021/179] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1485,10 +1485,10 @@ index b339e0e67b4c1275fd4992fea4f1e24c0575b783..26b7177573fac2af1cd4ab5488d2686f static int bcm2835_wdt_probe(struct platform_device *pdev) -From 4a59c9a2588d4c2f5619e36aa5ee857248c12269 Mon Sep 17 00:00:00 2001 +From 7d48365075ef995332a4c91818fdf1d0ecf49771 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 022/172] reboot: Use power off rather than busy spinning when +Subject: [PATCH 022/179] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1511,10 +1511,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From e1f1c69fe45ca1a02c7965665b27b7ab5623f8fd Mon Sep 17 00:00:00 2001 +From cf794231017cba89e8111f4dfcf690469657cf4c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 023/172] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 023/179] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1533,10 +1533,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..e037a6dd79d1881a09e3ca9115782709 help This enables support for the RPi power domains which can be enabled -From 42eb7200daf5e32f926136f5cfbe04001c2c62c2 Mon Sep 17 00:00:00 2001 +From 51dea0fc12ef996b2244ff53a7fd3bde2c87147d Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 024/172] Register the clocks early during the boot process, so +Subject: [PATCH 024/179] Register the clocks early during the boot process, so that special/critical clocks can get enabled early on in the boot process avoiding the risk of disabling a clock, pll_divider or pll when a claiming driver fails to install propperly - maybe it needs to defer. @@ -1581,10 +1581,10 @@ index 02585387061967ac9408e18ac1bce67e9e9414c0..283d2de45e4f29406d01f24ab1cae3f9 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From 0cf3f9bedd00c378d2990ff9b0fa38c9682f941d Mon Sep 17 00:00:00 2001 +From c1fb9a5e06485f985bd5da16b3f413b8cba81d17 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 025/172] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 025/179] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1610,10 +1610,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From 0a1a09b6e41ac2dd7a4f7809ffb0ee8ad3369625 Mon Sep 17 00:00:00 2001 +From 0ab713222dd5552d94af9cd0031db2ebf13011f0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 026/172] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 026/179] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1633,10 +1633,10 @@ index 61f87a99bf0a1c512e572d3cbdcf4b4b5d7ae785..0a5e36778eacf7dc589486f8bc8033f5 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 86c7497837b047e28ab94340a657012df24912fc Mon Sep 17 00:00:00 2001 +From d486402bbad32185e5c3c155c357c894f6892097 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 027/172] BCM2835_DT: Fix I2S register map +Subject: [PATCH 027/179] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1674,10 +1674,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 7388fd8345e24b4e42bff74715160a2a8a33e4ea Mon Sep 17 00:00:00 2001 +From a6537bfaada7b0908bd8e25d79dffcc0164fe00a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 028/172] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 028/179] clk-bcm2835: Mark used PLLs and dividers CRITICAL The VPU configures and relies on several PLLs and dividers. Mark all enabled dividers and their PLLs as CRITICAL to prevent the kernel from @@ -1705,10 +1705,10 @@ index 283d2de45e4f29406d01f24ab1cae3f9f879234a..85df8c74a309f0b877ef65f1c55b086f divider->data = data; -From fccc53f92a93dc316d07375c0d1c4ea84b7964fe Mon Sep 17 00:00:00 2001 +From c51bbb5286ef2d6dba7facfd75ebd44f7b1ec221 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 029/172] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 029/179] clk-bcm2835: Add claim-clocks property The claim-clocks property can be used to prevent PLLs and dividers from being marked as critical. It contains a vector of clock IDs, @@ -1810,10 +1810,10 @@ index 85df8c74a309f0b877ef65f1c55b086f1bb774a1..eec6735505c074c0a76ae647bf0e1bb6 sizeof(cprman_parent_names)); of_clk_parent_fill(dev->of_node, cprman->real_parent_names, -From db40d78188ddea746ebb916f7c3832df53664f4c Mon Sep 17 00:00:00 2001 +From ac23496ebf20cee463ef1536814c776fa260e070 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:06:53 +0000 -Subject: [PATCH 030/172] clk-bcm2835: Correct the prediv logic +Subject: [PATCH 030/179] clk-bcm2835: Correct the prediv logic If a clock has the prediv flag set, both the integer and fractional parts must be scaled when calculating the resulting frequency. @@ -1840,10 +1840,10 @@ index eec6735505c074c0a76ae647bf0e1bb68ab3a488..e0d28add45efdf70d1eba590282a3a26 return bcm2835_pll_rate_from_divisors(parent_rate, ndiv, fdiv, pdiv); } -From e9543ab9fe09783e33008fe6f475fa4aa55bc54c Mon Sep 17 00:00:00 2001 +From eb5de817ae25da091773f8786da4977b890f5e9d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 031/172] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 031/179] clk-bcm2835: Read max core clock from firmware The VPU is responsible for managing the core clock, usually under direction from the bcm2835-cpufreq driver but not via the clk-bcm2835 @@ -1958,10 +1958,10 @@ index e0d28add45efdf70d1eba590282a3a2654af328d..39f72da6ba1f6ec6ec41d5dc1bf46344 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From b7b4a852b14c42f972a68de489b12a59717ce7f8 Mon Sep 17 00:00:00 2001 +From 89c7bd4938213ec86380248f7452c30c4c86bbd3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 032/172] sound: Demote deferral errors to INFO level +Subject: [PATCH 032/179] sound: Demote deferral errors to INFO level At present there is no mechanism to specify driver load order, which can lead to deferrals and repeated retries until successful. @@ -1996,10 +1996,10 @@ index 754e3ef8d7ae1b8b188c3e52986f2c306fb7b763..90b385d1f79b63ccc43a8d4ba849084a goto _err_defer; } -From 6735b348e962509412c3f366231e633ec05bdfab Mon Sep 17 00:00:00 2001 +From 47cc2f6e3643dfaed85c6d444e1a8dd1401845a2 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 033/172] Update vfpmodule.c +Subject: [PATCH 033/179] Update vfpmodule.c Christopher Alexander Tobias Schulze - May 2, 2015, 11:57 a.m. This patch fixes a problem with VFP state save and restore related @@ -2136,10 +2136,10 @@ index a71a48e71fffa8626fe90106815376c44bbe679b..d6c0a5a0a5ae3510db3ace5e3f5d3410 /* * Save the userland NEON/VFP state. Under UP, -From e4f30af31f4d8b99204da1e7b2fc384da99b8144 Mon Sep 17 00:00:00 2001 +From a005be1f5c2cc14767935522de9b68f6200ccd95 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 034/172] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 034/179] ASoC: bcm2835_i2s.c: relax the ch2 register setting for 8 channels This patch allows ch2 registers to be set for 8 channels of audio. @@ -2160,10 +2160,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From 278fc44930d69edcade60e776c9dae6371ee9fc5 Mon Sep 17 00:00:00 2001 +From f6cb31f9180b5545851755fc47c6af9d4f65153b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:15:41 +0100 -Subject: [PATCH 035/172] i2c: bcm2835: Add debug support +Subject: [PATCH 035/179] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2352,10 +2352,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From d3e194f254efc8a306b455e995f75fd021c3e5e5 Mon Sep 17 00:00:00 2001 +From 3076213eadfe814dfc60ee493b4820d8e9f04c1f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 036/172] Main bcm2708/bcm2709 linux port +Subject: [PATCH 036/179] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2543,10 +2543,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From 0b84392a8b7450bf0266457e359f1b0863fee819 Mon Sep 17 00:00:00 2001 +From f23b958b7891b3b6e7ccb934695fd83fd7a9da67 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 037/172] Add dwc_otg driver +Subject: [PATCH 037/179] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -63688,10 +63688,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From f6e58e69a328fbfe7bbdf88a616d6572d9888e3c Mon Sep 17 00:00:00 2001 +From 7767f75a3a49e3d07c1b34f44ad7b21371337ec7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 038/172] bcm2708 framebuffer driver +Subject: [PATCH 038/179] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67150,10 +67150,10 @@ index 3c14e43b82fefe1d32f591d1b2f61d2cd28d0fa8..7626beb6a5bb8df601ddf0f6e6909d1f +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From 4af83fe0e4c0a5f44c56656a76a7abfd98652810 Mon Sep 17 00:00:00 2001 +From e4b76efc8843819694fd22d988201e101978f5aa Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 039/172] dmaengine: Add support for BCM2708 +Subject: [PATCH 039/179] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67784,10 +67784,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From 60dc1d272509e6d57a7fad0d65107d18dc2300a6 Mon Sep 17 00:00:00 2001 +From d9f2b1a2893236b0827386c2ddb2adc0c2a6d2cb Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 040/172] MMC: added alternative MMC driver +Subject: [PATCH 040/179] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69509,10 +69509,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From 2e299e2cfde02f4da7f2a17a3f13ac98a60bf2e2 Mon Sep 17 00:00:00 2001 +From 036ef5cbe9eb9479cc0c43094b4b1229e494c569 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 041/172] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 041/179] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71918,10 +71918,10 @@ index 0000000000000000000000000000000000000000..9c6f199a7830959f31012d86bc1f8b1a +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 8b1a629f60f4b559b5cd26d381ad726419447af1 Mon Sep 17 00:00:00 2001 +From 3b310175f27b2050596a17b2b53e5f75f3f1c202 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 042/172] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 042/179] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72446,10 +72446,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 96ee036f36ec0b0ceaf2317657e87e99d4f0fd06 Mon Sep 17 00:00:00 2001 +From e3e41e9df6e8aee22001f0f81f8c9f41b6e2dd3a Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 043/172] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 043/179] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -76904,10 +76904,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 00aad629848857916edd9dfb9d7dd4b5e01ee07a Mon Sep 17 00:00:00 2001 +From 07bf1615919736b5a6cfe214451a391a5f2d4445 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 044/172] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 044/179] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -77215,10 +77215,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 51b79943db12447ae73c681c485bf1cef7e28593 Mon Sep 17 00:00:00 2001 +From a532306db856b151d008824d98e6d85c31dd01bf Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 045/172] Add SMI driver +Subject: [PATCH 045/179] Add SMI driver Signed-off-by: Luke Wren --- @@ -79169,10 +79169,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From d9df0c768086d0a66876f980c74a522249ef8455 Mon Sep 17 00:00:00 2001 +From 514ec25c957fda218328359de502495fe9e2bc9a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 046/172] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 046/179] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -79342,10 +79342,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From 331158cb47483603c564ebf4250643ce029dc9ab Mon Sep 17 00:00:00 2001 +From e55231dd30d3e3f0795265c3aafe712fa619918d Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 047/172] Add SMI NAND driver +Subject: [PATCH 047/179] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -79710,10 +79710,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 88fc50d780dab54838d0fba7fc9515b5df760c12 Mon Sep 17 00:00:00 2001 +From 7c479ddd59474213a677be483b962a988f046161 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 048/172] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 048/179] 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 @@ -80574,10 +80574,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From 158f70c30a9f92c87a619baa23d0ee7eb013f812 Mon Sep 17 00:00:00 2001 +From f499e752d1e892d62f668125ee6776b918aeac5c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 049/172] Add cpufreq driver +Subject: [PATCH 049/179] Add cpufreq driver Signed-off-by: popcornmix --- @@ -80844,10 +80844,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 56da5adb6596e030252e8ec43af73672cf2f13a2 Mon Sep 17 00:00:00 2001 +From aeff8aab29047a6bb9dad893f07e321105c9059e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 050/172] Added hwmon/thermal driver for reporting core +Subject: [PATCH 050/179] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -81030,10 +81030,10 @@ index 0000000000000000000000000000000000000000..25b78c3eac1503fbc9e679b963a6284b +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 7cf02cdae4ef0bcacb3c64374cad6a60cc2665b6 Mon Sep 17 00:00:00 2001 +From 3e3242c67254093ca7ef06274bdfd48337b11d6b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 051/172] Add Chris Boot's i2c driver +Subject: [PATCH 051/179] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81698,10 +81698,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From da3462d2ba3119c929a578f9a33a2dd6190821e0 Mon Sep 17 00:00:00 2001 +From 18625630f3e3457ae01dfd7fac751c7644504940 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 052/172] char: broadcom: Add vcio module +Subject: [PATCH 052/179] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81926,10 +81926,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 3ca9b855dc1af3cb6025cd946716117406f8922a Mon Sep 17 00:00:00 2001 +From e41cb8e328832a756fe63efd82915b6472b74b07 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 053/172] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 053/179] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82012,10 +82012,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From a7f9f9342ec6b3e159b1bf3e2a0e017e8c39df3b Mon Sep 17 00:00:00 2001 +From a43658e1b2ed176fdec59e6e0aa8b073d87fa004 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 054/172] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 054/179] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -82542,10 +82542,10 @@ index 0000000000000000000000000000000000000000..84be2593ec1de8f97b0167ff06b3e05d + return $trailer; +} -From 4eac1c133b109ea4a8a0cff1deacac0a3042f206 Mon Sep 17 00:00:00 2001 +From 53c903703e22c018d4bfec5200bdd5cbd067f887 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 055/172] BCM2708: Add core Device Tree support +Subject: [PATCH 055/179] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -93990,10 +93990,10 @@ index 58c05e5d9870b6c18a72da7dc44ff3112994946d..9842523b225a88505d796cc689c04f40 # Bzip2 -From fb9a70cd157da7fd8c6bed02ac851d94f06fcc3c Mon Sep 17 00:00:00 2001 +From f5eaa28b187feae2ea043c6315692f03cb7078b5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 056/172] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 056/179] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -94168,10 +94168,10 @@ index 64c56d454f7df9f864a5242ce4212df586f66886..3fd74c8737871cb56f0355c858fc135e /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From 70e03b914d3c12e611fcc6f3d90e2d7424a6ecd5 Mon Sep 17 00:00:00 2001 +From 3788146ffae0d0584e10149f43718613699f7d40 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 057/172] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 057/179] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -94439,10 +94439,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From 0cb64783486d3ab92da2b740b18534f9aeee6952 Mon Sep 17 00:00:00 2001 +From 6884defa44085fb7b22cef28050e65e92d5921ea Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 058/172] Speed up console framebuffer imageblit function +Subject: [PATCH 058/179] 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 @@ -94651,10 +94651,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From f669f65ca5fd8e987753481999b44759aa6e5ba1 Mon Sep 17 00:00:00 2001 +From 28b8e175565c10770245bcc48b643c2e39c3dd90 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 059/172] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 059/179] 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 @@ -94904,10 +94904,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 86c4e89805406e5020346eaf7eea5c136f232ccc Mon Sep 17 00:00:00 2001 +From e1db960d992320d575176685f9fee54134bbbe3c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/172] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/179] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -94939,10 +94939,10 @@ index 83772fa7d92a6f6178cd3a4a5c0fea28350040b5..3f4a7e34b3f775e712b1b4d6afe27a2a break; case HID_GD_JOYSTICK: -From dc791cb23c4e3ef0a55d99bb3444782dfd84485f Mon Sep 17 00:00:00 2001 +From 1e24765ee957def2b38dbb3ad2b1d5f75b92edab Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/172] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/179] 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 @@ -95300,10 +95300,10 @@ index 30fb37fe175df604a738258a2a632bca3bfff33f..4a3d79d3b48eb483a4e4bf498f617515 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 2072c420c03966ea53af5392cebb3ece3c24f8df Mon Sep 17 00:00:00 2001 +From cb144277acec19656c06832ae3b73e14c64ae9f1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 062/172] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/179] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -96878,10 +96878,10 @@ index 567601148318bf4a5fbc581d6c9881d9e190c409..45ea7866761a71470bd335f6f37ea603 bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 7eb4f63b220be13fcf93402a34df6d8024a805d8 Mon Sep 17 00:00:00 2001 +From c054d409b2e939ca57a581ff0eb8f258d3bb8bd5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/172] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/179] 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 @@ -96916,10 +96916,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From bf9fb734b108edb687ef2b651ae854b32171bb4e Mon Sep 17 00:00:00 2001 +From c5561793fd4cdcac7e225d25d4e96f1c958443b2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/172] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/179] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -97784,10 +97784,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 9938b3e1ba061451195bab2a0c2029c061f71736 Mon Sep 17 00:00:00 2001 +From 65370eb13a9d704d5fb55c2217b6bac52a63828a Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/172] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/179] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -97962,10 +97962,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 7282ff2e096175e690cf21c87a73fa5b48e074c5 Mon Sep 17 00:00:00 2001 +From 6f76f5bd76743a74d6f79843510370c460aaaeb3 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/172] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/179] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -98249,10 +98249,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 86d6afdd95bafe6c87ff17cf432e6e4327bca4b3 Mon Sep 17 00:00:00 2001 +From c2c563f0150457e07410b844b5234c9ec64abbf9 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/172] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/179] 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 @@ -98301,10 +98301,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From 398ee1b2ce7a90f423089836591cd2bb924bad84 Mon Sep 17 00:00:00 2001 +From 947bd43182c8d31173a1e4993780cf7fee7164b7 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/172] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/179] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -98648,10 +98648,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 12c9c069dc97fd8c309b238bd687205dbe65f914 Mon Sep 17 00:00:00 2001 +From 96e55f5fef982c3774caad908e6805146d68a60e Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/172] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/179] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -98986,10 +98986,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 81290059d1107e24f7ef5db393c147703709d76f Mon Sep 17 00:00:00 2001 +From 93eeb13cfde6952d4a1191f47700fcfd3ca119a9 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 070/172] Added support for HiFiBerry DAC+ +Subject: [PATCH 070/179] 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. @@ -99619,10 +99619,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 1ac2ecf2486cbcd7cf474d9dce96e3cf547064d6 Mon Sep 17 00:00:00 2001 +From 40b8fa67c15ee1c2d1843eb5d876fac3a6731bfc Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 071/172] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 071/179] 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. @@ -100457,10 +100457,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From df130e200fa24bb1868d3e66b3d16d8ed7546055 Mon Sep 17 00:00:00 2001 +From 49be83970175cf04b3a9ec2e2eb5d90c08763cc3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 072/172] Add driver for rpi-proto +Subject: [PATCH 072/179] 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 @@ -100675,10 +100675,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From b267f82ec2c0495bf2c2543f78b336bd152ffc13 Mon Sep 17 00:00:00 2001 +From 292c7df726190c2240a2bedc74693565f0f571f0 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 073/172] RaspiDAC3 support +Subject: [PATCH 073/179] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -100921,10 +100921,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 1553abec999aaa26f19da161528870d2f63e59f6 Mon Sep 17 00:00:00 2001 +From fa04d626c07c1e98c09176a3db784578b870b780 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 074/172] Add Support for JustBoom Audio boards +Subject: [PATCH 074/179] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -101380,10 +101380,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 73c7fd2f804e92e2a514ad943614c404f1ee9e8a Mon Sep 17 00:00:00 2001 +From 8da68598dd5ac36ca36499abbfd2e2316cd2877a Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 075/172] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 075/179] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -101565,10 +101565,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From c36b2166e79c73593ed90f938729b85eb148937f Mon Sep 17 00:00:00 2001 +From 9439ae7e9d448c4a8ab37b7f5b28523f8f719ad5 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 076/172] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 076/179] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. @@ -101819,10 +101819,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 5defb81956e67aada7acdcc4abbdd62c108f5a8a Mon Sep 17 00:00:00 2001 +From 86624e5b8d1f1369a63017a3f1eee2225ff00f98 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 077/172] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 077/179] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -102122,10 +102122,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 73cac070f9199ef12421e8ac2c82c238695b8f1e Mon Sep 17 00:00:00 2001 +From 64ce2ddff24efe8bfd7c46ee5089012f713e0985 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 078/172] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 078/179] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -102598,10 +102598,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 95930c618554db459e2a3e52e3d24e42f2c27987 Mon Sep 17 00:00:00 2001 +From a7b6d9b7ef9db7a4bf1a6ff0233a72c797dc1525 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 079/172] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 079/179] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -102774,10 +102774,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From d04ec8b53f5a6f39e5046cac17c9fe4534ce161e Mon Sep 17 00:00:00 2001 +From 4b0b8602b6275bfa42c345151af9a71d912a5a2e Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 080/172] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 080/179] Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645) Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, @@ -102984,10 +102984,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 16f56d2f6ff33179958c6b8b164cb62abb7f0f72 Mon Sep 17 00:00:00 2001 +From 2b8083e9b2d8084ece24dc756b663221b320870a Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 081/172] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 081/179] Add support for Allo Piano DAC 2.1 plus add-on board for Raspberry Pi. The Piano DAC 2.1 has support for 4 channels with subwoofer. @@ -103732,10 +103732,10 @@ index 0000000000000000000000000000000000000000..56e43f98846b41e487b3089813f7edc3 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From 707c7c51caf149951b0c074c6d4d216819e2215e Mon Sep 17 00:00:00 2001 +From a74a4c32bddfdc2f66fb7861338f0b4bf374797a Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 082/172] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 082/179] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -104438,10 +104438,10 @@ index 0000000000000000000000000000000000000000..203ab76c7045b081578e23bda1099dd1 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From 9ef0dfb7588e6c22579fbaf863c617400efee2f9 Mon Sep 17 00:00:00 2001 +From a45640588df12bd48c2c99e373bd90d73d05b778 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 083/172] Support for Blokas Labs pisound board +Subject: [PATCH 083/179] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -105640,10 +105640,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 41acf52730e19f5936d693112a31962f8eedc580 Mon Sep 17 00:00:00 2001 +From 917597bb44f836c23469f9aa5b21410ae0d0883b Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 084/172] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 084/179] ASoC: Add driver for Cirrus Logic Audio Card Note: due to problems with deferred probing of regulators the following softdep should be added to a modprobe.d file @@ -106708,10 +106708,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From 8879090c5cd8676514a2293593d11fa3b1d3bb42 Mon Sep 17 00:00:00 2001 +From 18a03a692a237c8c6ea58104c045d813d57d83e7 Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 085/172] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 085/179] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -106906,10 +106906,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From 48a42511514c38d0c816a6a8b11ef50630aecbd0 Mon Sep 17 00:00:00 2001 +From cec1a2614f59f0d523dc2ba6fbd69699cd587c0e Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 086/172] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 086/179] Add support for Fe-Pi audio sound card. (#1867) Fe-Pi Audio Sound Card is based on NXP SGTL5000 codec. Mechanical specification of the board is the same the Raspberry Pi Zero. @@ -107123,10 +107123,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From e29cb692ef9997b631287889cec893f213ecfc9e Mon Sep 17 00:00:00 2001 +From 8679d0a1a0cc582849224094a7e7ab8deafeaf40 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 087/172] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 087/179] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset @@ -107528,10 +107528,10 @@ index 0000000000000000000000000000000000000000..dcf403ab37639ba79e38278d7e4b1ade +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From 4554a4785bca8a54d533e22c951f6fe1fcad65e8 Mon Sep 17 00:00:00 2001 +From 561bd52a128def715081e9d4d27d6c4f7041d664 Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 088/172] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 088/179] Driver support for Google voiceHAT soundcard. --- sound/soc/bcm/Kconfig | 7 ++ @@ -107922,10 +107922,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From a64f3ba9c8d867924bc4db005b2d8f5c12c4025b Mon Sep 17 00:00:00 2001 +From da2603b49363d6bd76a3653d12d6b74d9ccb83cd Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 089/172] rpi_display: add backlight driver and overlay +Subject: [PATCH 089/179] 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 @@ -108094,10 +108094,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 95e68fbd0e1b3b0c1dc94b524bc2fbf6c213a982 Mon Sep 17 00:00:00 2001 +From a0cf11541053cd16901e17ea208e1790d85259c8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 090/172] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 090/179] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -108371,10 +108371,10 @@ index 4a3d79d3b48eb483a4e4bf498f617515e3ad158f..5f34e1257117fb48013c9926a8a223d6 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 835ac5b425c364d9f4d13ea7aafb5d2dea28b6a2 Mon Sep 17 00:00:00 2001 +From 258041d2d25f9a8c79da9c969732f222b1628b99 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 091/172] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 091/179] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -108700,10 +108700,10 @@ index 5f34e1257117fb48013c9926a8a223d64a598ab7..c819c21b0158a59c1308882e5a40e3f3 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From e538a0aa67d77bb70fda03f52d86113847bb5960 Mon Sep 17 00:00:00 2001 +From 3bd51d35d3a6bc01629dcb682f656b704e09072b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 092/172] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 092/179] 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 @@ -108732,10 +108732,10 @@ index 8a857bb34fbb26c6d60784d3fe7576730a9aa5b3..0afd6f3ee7e8d021d6e324915af4dc7c uap->old_cr = 0; uap->port.dev = dev; -From eeb40fb409def89aed27089ab7910d723a969112 Mon Sep 17 00:00:00 2001 +From f9df972486053728683771851510acc3d78bca96 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 093/172] amba_pl011: Round input clock up +Subject: [PATCH 093/179] amba_pl011: Round input clock up The UART clock is initialised to be as close to the requested frequency as possible without exceeding it. Now that there is a @@ -108821,10 +108821,10 @@ index 0afd6f3ee7e8d021d6e324915af4dc7c7db56083..be4aa91bac66982b1fd9a13e9f971b3b /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From 41c7cf9c554262563ad6dd4c5476da1e784e7904 Mon Sep 17 00:00:00 2001 +From 0794591ca7f02e33073d64da3e7b299761f3a591 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 094/172] OF: DT-Overlay configfs interface +Subject: [PATCH 094/179] 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. @@ -109256,10 +109256,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 1023766fc0243a23b7f95af6aad1c59683df0112 Mon Sep 17 00:00:00 2001 +From 2d818e85a06965ca2c8df904201186c8b39865cf Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 095/172] brcm: adds support for BCM43341 wifi +Subject: [PATCH 095/179] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -109305,7 +109305,7 @@ Signed-off-by: Phil Elwell 3 files changed, 26 insertions(+), 10 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -index 617199c0e5a0e644576b3c73be0808878d4c102b..e1bfd47ae97923a9f14689d8a0e5f45f5efa5650 100644 +index 210f2dc58b74a08f3893c06a1a05d364e4045c99..bc78593a611b6704aa88cc280cdaccd0873fc102 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -2745,6 +2745,8 @@ brcmf_cfg80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *ndev, @@ -109336,7 +109336,7 @@ index 617199c0e5a0e644576b3c73be0808878d4c102b..e1bfd47ae97923a9f14689d8a0e5f45f if (brcmf_feat_is_enabled(ifp, BRCMF_FEAT_MBSS)) brcmf_fil_iovar_int_set(ifp, "mbss", 0); brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_REGULATORY, -@@ -6710,12 +6715,18 @@ static s32 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], +@@ -6715,12 +6720,18 @@ static s32 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], struct brcmfmac_pd_cc *country_codes; struct brcmfmac_pd_cc_entry *cc; s32 found_index; @@ -109357,7 +109357,7 @@ index 617199c0e5a0e644576b3c73be0808878d4c102b..e1bfd47ae97923a9f14689d8a0e5f45f } if ((alpha2[0] == ccreq->country_abbrev[0]) && -@@ -6739,10 +6750,14 @@ static s32 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], +@@ -6744,10 +6755,14 @@ static s32 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], brcmf_dbg(TRACE, "No country code match found\n"); return -EINVAL; } @@ -109410,10 +109410,10 @@ index 5653d6dd38f6fe5c5132f2d7940facd31bef6549..7cde9835bcf38e7cffdf3dae0c33d2c9 BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From 578da83b570d1d338ca9421c9ec72282dc83fe2c Mon Sep 17 00:00:00 2001 +From f1c1d741514ebd2ace6bc4b80b33a5b634a05a89 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 096/172] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 096/179] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -109424,10 +109424,10 @@ Signed-off-by: Phil Elwell 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -index e1bfd47ae97923a9f14689d8a0e5f45f5efa5650..e8637fe8026eab77902c9322fe0e4d4334e3cbb2 100644 +index bc78593a611b6704aa88cc280cdaccd0873fc102..604744f7af9bd465822a93276088c96cf48e5c35 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -@@ -6781,6 +6781,8 @@ static void brcmf_cfg80211_reg_notifier(struct wiphy *wiphy, +@@ -6786,6 +6786,8 @@ static void brcmf_cfg80211_reg_notifier(struct wiphy *wiphy, /* ignore non-ISO3166 country codes */ for (i = 0; i < sizeof(req->alpha2); i++) if (req->alpha2[i] < 'A' || req->alpha2[i] > 'Z') { @@ -109437,10 +109437,10 @@ index e1bfd47ae97923a9f14689d8a0e5f45f5efa5650..e8637fe8026eab77902c9322fe0e4d43 req->alpha2[0], req->alpha2[1]); return; -From f902568be23393405e9ecbc46452d97fd993d8e4 Mon Sep 17 00:00:00 2001 +From 872d0eaeac95e661f431deef9b513d4865e72609 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 097/172] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 097/179] 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. @@ -109463,10 +109463,10 @@ index 90d0456b67446bcc624fab4b1542c4eaf21531b1..f9adeac3bbba6418dcca298c55706356 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 7b4a06376b84e7ed4af584f777e66efdf9427d39 Mon Sep 17 00:00:00 2001 +From 237183ac3244f56ef609a77acb4cef61740fc99b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 098/172] config: Add default configs +Subject: [PATCH 098/179] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1314 +++++++++++++++++++++++++++++++++++ @@ -112124,10 +112124,10 @@ index 0000000000000000000000000000000000000000..ace19d6f5bc04091130bd28b65ce25e8 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 3cdbeba26cb9926c0f07dd61692cf0e901e86a90 Mon Sep 17 00:00:00 2001 +From f58618acfdaada8c70ee633dc83b5cc6859d51fa Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 099/172] Add arm64 configuration and device tree differences. +Subject: [PATCH 099/179] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -113541,10 +113541,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From 1b48e1d13be33adda2d53ec3966c8f22d6857e9f Mon Sep 17 00:00:00 2001 +From d124fd3f6d6a99642352192d269474f58e2e03d8 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 100/172] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 100/179] ARM64: Make it work again on 4.9 (#1790) * Invoke the dtc compiler with the same options used in arm mode. * ARM64 now uses the bcm2835 platform just like ARM32. @@ -113947,10 +113947,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From 8f970e8850366dc7c6371ef70a695bc58cc7206a Mon Sep 17 00:00:00 2001 +From ba02fe0f83a36c147c706ca9093ac90f5e3ac3b9 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 101/172] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 101/179] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -113979,10 +113979,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From 3a5f08fd96b9163713c80b7d05d89b3747fe595a Mon Sep 17 00:00:00 2001 +From a672b4ac92b2c2bc375e584e86f7340205c1dea4 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 102/172] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 102/179] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -114027,10 +114027,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From aa53a55da1cbae1dc4736e3af58211aadcbcb756 Mon Sep 17 00:00:00 2001 +From f83ed4af326b834de316669ed067e73cc0a3023b Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 103/172] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 103/179] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -114062,10 +114062,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From d58386c597e48c14b8c41621e701bd6c35af6eb5 Mon Sep 17 00:00:00 2001 +From c44b0f972b3773f7191abcc924832bd702ba3cad Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 104/172] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 104/179] ARM64: Enable RTL8187/RTL8192CU wifi in build config These drivers build now, so they can be enabled back in the build configuration just like they are for @@ -114090,10 +114090,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From 2ce525c232467bd5e04dc966dd222bd666e36dde Mon Sep 17 00:00:00 2001 +From 84aca0cd3b3206cbf25dd0732b7a2669e74dc92a Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 105/172] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 105/179] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 In ARM64, the FIQ mechanism used by this driver is not current implemented. As a workaround, reqular IRQ is used instead @@ -114436,10 +114436,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From 73b802c20fe91dcf6e73f55d444bd8d28b55e2b3 Mon Sep 17 00:00:00 2001 +From 3dac15d96bc393210b7ec946582aa384f7241904 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 106/172] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 106/179] ARM64: Round-Robin dispatch IRQs between CPUs. IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced @@ -114513,10 +114513,10 @@ index c4e151451cf8c8ebde5225515eac2786d6f61d46..9a7ee04ee0d9b7aa734cf3159ed59c19 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From e16295f434c2e61349afbe2fb560dce6e4eaa28e Mon Sep 17 00:00:00 2001 +From 174be7d058757c5ccc55185e891a9fe94772fe46 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 107/172] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 107/179] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -114537,10 +114537,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From 0067660786289f28115ac64ec7b33e9d0140398f Mon Sep 17 00:00:00 2001 +From 76eedfc4605b87cffe911fd018771d5360cd29de Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 108/172] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 108/179] ARM64: Force hardware emulation of deprecated instructions. --- @@ -114568,10 +114568,10 @@ index f0e6d717885b1fcf3b22f64c10c38f19c25f809d..0cb830d30fb6d2bd26ab572efe893649 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From 9706de2193af55157276e6969c705ad2799aa4da Mon Sep 17 00:00:00 2001 +From d5f1055ddd0bfe0b1acf0510bffa84418108c48e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 109/172] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 109/179] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -114596,10 +114596,10 @@ index f839ecd919f934c54a73d8e9f8179aff3d3cba26..a4010b3cc8ef11d449bcff8018522667 dtbs: prepare scripts -From c964659e6e4f8003b3c5f7ad66519ee6351c879f Mon Sep 17 00:00:00 2001 +From 66c17c68f23bab862185a4d7adea20d51fa2abcb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 110/172] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 110/179] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -114637,10 +114637,10 @@ index 39f72da6ba1f6ec6ec41d5dc1bf46344aab008da..fe3298b54cdfb96bd90fb4f39e13921d * rate changes on at least of the parents. */ -From 3c4fab12b14060808d85dc3a646f3f8cfcd6ffcb Mon Sep 17 00:00:00 2001 +From b8fb19e1d2aa07871601844311e9dbd2e0bfece7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 111/172] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 111/179] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -114673,10 +114673,10 @@ index 6351fe7f8e314ac5ebb102dd20847b383fd5b857..28745af5aadf3cb91fa7ff39118385c3 }, }; -From 0185b41227893339e2ef6303d0cd0494834b9045 Mon Sep 17 00:00:00 2001 +From 2b5fec15cf0ef1e84f655718ab637acecdb53a1d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 112/172] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 112/179] ASoC: Add prompt for ICS43432 codec Without a prompt string, a config setting can't be included in a defconfig. Give CONFIG_SND_SOC_ICS43432 a prompt so that Pi soundcards @@ -114701,10 +114701,10 @@ index adf3b7b75e303430d6a03a2b457d389596f39c1a..ba4a36dd0196e8eece5e22ad6717c189 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From 99a1631a82e601c1fdc0539dab2d1023819cc4f0 Mon Sep 17 00:00:00 2001 +From b82c0a0c826519e64805dd6e1e400b5c8ee09cae Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 113/172] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 113/179] bcm2835-aux: Add aux interrupt controller The AUX block has a shared interrupt line with a register indicating which devices have active IRQs. Expose this as a nested interrupt @@ -114868,10 +114868,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From f4a3bee8141939616e5d78425d8f56953880b8e8 Mon Sep 17 00:00:00 2001 +From 83c5a4b78fa50ec457b63c2045a3d7134746fb5c Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 29 Apr 2016 10:32:17 -0700 -Subject: [PATCH 114/172] mmc: read mmc alias from device tree +Subject: [PATCH 114/179] mmc: read mmc alias from device tree To get the SD/MMC host device ID, read the alias from the device tree. @@ -114928,10 +114928,10 @@ index 3f8c85d5aa094b43666904c7dbbe5e62c9763c19..4dbd0e8e27a496bfbe67d188cf795ecc kfree(host); return NULL; -From 79d32952f8dc9458d7c84dcbe8e859a5c4e225fd Mon Sep 17 00:00:00 2001 +From fed1c0b6f92819c340a235a6b5771270e36e6b3e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 115/172] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 115/179] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -115071,10 +115071,10 @@ index aad015e0152b7f1d32f92c500825b723498d1be9..d44a9c84a90a02388c05a427814fb8fc unsigned int erase_size; /* erase size in sectors */ -From 2594916f4cdf4c12a09cb32f8459ccc1b06ef4ae Mon Sep 17 00:00:00 2001 +From efa5b42827d1ccdcbfa93bd48b6ea042019d23fc Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 116/172] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 116/179] This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. It includes the CXD2880 driver and the CXD2880 SPI adapter. The current CXD2880 driver version is 1.4.1 - 1.0.1 released on April 13, 2017. @@ -131206,10 +131206,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From 7df92ba2060070d18ac1a830cd60b75b93231068 Mon Sep 17 00:00:00 2001 +From 2829f38f9a56b78f30c35cd0930f5c5d516dccf9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 117/172] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 117/179] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -131231,10 +131231,10 @@ index c819c21b0158a59c1308882e5a40e3f3fe73cbdf..de2a3dcd562beb752266eaf0070e5586 enum rpi_firmware_property_status { -From ce422207404f5bcd0958323f558d728a58d8f42c Mon Sep 17 00:00:00 2001 +From 14579ac3d70d62d8f44b957ba29ae0344765d5e9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 118/172] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 118/179] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -131278,10 +131278,10 @@ index de2a3dcd562beb752266eaf0070e55861d553f5f..dc7fd58afd5dddebf9b17065bb069a1d #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From f5d5d3841d30014dd6d01c6f14659c7d0b26748f Mon Sep 17 00:00:00 2001 +From f05b203576b76cfad4905c3b889c454cd9ff726d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 119/172] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 119/179] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -132054,10 +132054,10 @@ index 0000000000000000000000000000000000000000..1e09980c61a91246156c4ab661c03779 + }, +}; -From 0cb88388b260b2d874310d03d785839aec608cc8 Mon Sep 17 00:00:00 2001 +From dc39e3c6f9ceb5b6979771ab130f53638a6dddc7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 120/172] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 120/179] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -132081,10 +132081,10 @@ index 1e09980c61a91246156c4ab661c03779baa1fc97..174a2f90c5bd78798ed47cca243b68a9 if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From cf96826077714fdb3af63a4f24689430041864fe Mon Sep 17 00:00:00 2001 +From 097ffea21efd78b05d073e156d1c9d97b318c2a0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 121/172] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 121/179] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -132154,10 +132154,10 @@ index 174a2f90c5bd78798ed47cca243b68a968e6e735..611a3c6d622deb9b511fe70c363d201b RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From bd90b087087e85700a7baaf5a18b83ebb6f09a51 Mon Sep 17 00:00:00 2001 +From e03b4820e614d20a38f9f0c2a6a02849ec36351a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 122/172] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 122/179] drm/vc4: Fix sending of page flip completion events in FKMS mode. In the rewrite of vc4_crtc.c for fkms, I dropped the part of the @@ -132199,10 +132199,10 @@ index 611a3c6d622deb9b511fe70c363d201b091c414a..eb97443533c5a8fb5e142541adb1165b static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From a5b076b021b269b853e07e68995ee9367a95c976 Mon Sep 17 00:00:00 2001 +From ab6de92296334307c67955d5a6320302ca91d7c0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 123/172] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 123/179] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -132259,10 +132259,10 @@ index eb97443533c5a8fb5e142541adb1165b55e32aea..aa0ab7bcd904b775f64045c4d5baf39a return 0; -From 3428a5d8e5c91b2643d9e30c0ce74b7c835cb0ff Mon Sep 17 00:00:00 2001 +From a07e9ea22bb89e4301592c621198c5540ed67e46 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 15 May 2017 09:28:36 -0700 -Subject: [PATCH 124/172] drm/vc4: Mark the device as active when enabling +Subject: [PATCH 124/179] drm/vc4: Mark the device as active when enabling runtime PM. Failing to do so meant that we got a resume() callback on first use of @@ -132288,10 +132288,10 @@ index 7cc346ad9b0baed63701d1fae8f0306aa7713129..c82326ff994d03719a66d42f8f9ac0e2 pm_runtime_set_autosuspend_delay(dev, 40); /* a little over 2 frames. */ pm_runtime_enable(dev); -From db4162c1c580352da3eed562b1a65d75f312ffe9 Mon Sep 17 00:00:00 2001 +From a40ec49a8e6661bda86ebcbba195a2a8b11b1542 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 16 May 2017 14:39:49 +0100 -Subject: [PATCH 125/172] mmc: Change downstream MMC driver CONFIG option +Subject: [PATCH 125/179] mmc: Change downstream MMC driver CONFIG option The upstream SDHOST driver has now claimed CONFIG_MMC_BCM2835, which clashes with the downstream MMC driver. Rename the downstream option to @@ -132339,10 +132339,10 @@ index f4b8951af214fd0b0392d4fb38b29a0b41c7340e..d352fabf6b61c803fef3e10f974214bf obj-$(CONFIG_MMC_WBSD) += wbsd.o obj-$(CONFIG_MMC_AU1X) += au1xmmc.o -From 1808a5b45f1756d56164475a792288bd58f4da52 Mon Sep 17 00:00:00 2001 +From a8db9affe22163b9c099ada492dd8d3d3743c3f2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 19:34:52 +0100 -Subject: [PATCH 126/172] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF +Subject: [PATCH 126/179] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132374,10 +132374,10 @@ index ace19d6f5bc04091130bd28b65ce25e863117a43..17952377907afac28fd982ca2f910206 CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m -From d4d8edc59c0deb8a289c46fbfd630ddd5f949267 Mon Sep 17 00:00:00 2001 +From 81a423fdc5fef82b0bb0e447425f9bb19c1000f4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 18 May 2017 11:40:43 +0100 -Subject: [PATCH 127/172] config: Add FB_TFT_ST7789V module +Subject: [PATCH 127/179] config: Add FB_TFT_ST7789V module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132409,10 +132409,10 @@ index 17952377907afac28fd982ca2f9102067a062d6e..ef7bfc431c43eec6deb7c52e8cdac317 CONFIG_FB_TFT_TLS8204=m CONFIG_FB_TFT_UC1701=m -From 3e0db95a8fec7794b1dce926f94bd20333d53efa Mon Sep 17 00:00:00 2001 +From 9dd7c72eed0f355f76cf3b95537749fe4186a74c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 May 2017 15:36:46 +0100 -Subject: [PATCH 128/172] staging: bcm2835-audio: Fix memory corruption +Subject: [PATCH 128/179] staging: bcm2835-audio: Fix memory corruption I'm all for fixing memory leaks, but freeing a block while it is still being used is a recipe for hard-to-debug kernel exeptions. @@ -132447,10 +132447,10 @@ index 5f3d8f2339e34834d11edfa8de1d5819e3e32b4f..89f96f3c02805f4114ec9b488e18d00e return ret; } -From 7859e3da2c9757bca19fe7bd68a848923d0f8b99 Mon Sep 17 00:00:00 2001 +From e7c39097dcf676426deb8c994976d1ad210c9c93 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 May 2017 16:40:05 +0100 -Subject: [PATCH 129/172] config: Add CONFIG_TOUCHSCREEN_GOODIX +Subject: [PATCH 129/179] config: Add CONFIG_TOUCHSCREEN_GOODIX --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132482,10 +132482,10 @@ index ef7bfc431c43eec6deb7c52e8cdac31794ccccbe..573cbd71ca0990b7a7e48fa3bbc98eec CONFIG_TOUCHSCREEN_RPI_FT5406=m CONFIG_TOUCHSCREEN_USB_COMPOSITE=m -From 69f0b4a40c0e9441235c5547f9815da701ec529f Mon Sep 17 00:00:00 2001 +From f62b27c541852481d66348bf6ea4bab5a1ca152c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 15:58:00 +0100 -Subject: [PATCH 130/172] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 +Subject: [PATCH 130/179] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132517,10 +132517,10 @@ index 573cbd71ca0990b7a7e48fa3bbc98eec2d3d776f..6c4d62cdea7e4ed642e265861c6f1c1a CONFIG_TOUCHSCREEN_USB_COMPOSITE=m CONFIG_TOUCHSCREEN_STMPE=m -From 23d6cdf08a9f0aced4fd822145c200ad947b7f6e Mon Sep 17 00:00:00 2001 +From d27abd88a3662de16e20ad9a8b3d48b8b8543fe5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 13:35:28 +0100 -Subject: [PATCH 131/172] config: Add CONFIG_IPV6_SIT_6RD +Subject: [PATCH 131/179] config: Add CONFIG_IPV6_SIT_6RD --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132552,10 +132552,10 @@ index 6c4d62cdea7e4ed642e265861c6f1c1a964e331c..676dfebfbab8f1cba521bc032b8d2137 CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=y -From cd19589d8c147d40fb0c69c5633c185dc3f574b1 Mon Sep 17 00:00:00 2001 +From 58af49a4720ecba86e5c9ef3fd631fdbf9c35871 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 15:28:27 +0100 -Subject: [PATCH 132/172] config: Add CONFIG_IPV6_ROUTE_INFO +Subject: [PATCH 132/179] config: Add CONFIG_IPV6_ROUTE_INFO --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132587,10 +132587,10 @@ index 676dfebfbab8f1cba521bc032b8d21371c38abfa..4ae560370a972b9c56e8af38a537b1db CONFIG_INET6_ESP=m CONFIG_INET6_IPCOMP=m -From 4b75b348da14e74193693ba481b08a94590d419f Mon Sep 17 00:00:00 2001 +From 9ee67919c408dadda65493fa8711b840e22f3674 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 26 Apr 2017 17:28:47 +0100 -Subject: [PATCH 133/172] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER +Subject: [PATCH 133/179] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER It is unwise to use sources other than the oscillator and PLLD_PER for the PCM peripheral (and perhaps others - TBD) because their rate can @@ -132635,10 +132635,10 @@ index fe3298b54cdfb96bd90fb4f39e13921d2e1d4356..c24b4defb2b046e4ecdc109befc2b224 [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( .name = "pwm", -From 8ca4b4696804c26a012433970bc2cd15a97cfb5a Mon Sep 17 00:00:00 2001 +From 46f2cf54d1e113a1556211456213c789e87cbec2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 May 2017 13:56:41 +0100 -Subject: [PATCH 134/172] clk: bcm2835: Minimise clock jitter for PCM clock +Subject: [PATCH 134/179] clk: bcm2835: Minimise clock jitter for PCM clock Fractional clock dividers generate accurate average frequencies but with jitter, particularly when the integer divisor is small. @@ -132763,10 +132763,10 @@ index c24b4defb2b046e4ecdc109befc2b22497060647..db3ba74acf78f4dfec0d2206b58bc7c3 .tcnt_mux = 23), [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( -From 12734ee4e7b371bdf3f30b132ce5dc8845975809 Mon Sep 17 00:00:00 2001 +From 66f5ee37e6fb5a4245b3d72ed2ea41b0bc6dfbcb Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 25 May 2017 16:04:53 +0100 -Subject: [PATCH 135/172] dwc_otg: make periodic scheduling behave properly for +Subject: [PATCH 135/179] dwc_otg: make periodic scheduling behave properly for FS buses If the root port is in full-speed mode, transfer times at 12mbit/s @@ -132937,10 +132937,10 @@ index 85a6d431ca54b47dc10573aa72d1ad69d06f2e36..4b1dd9de99e9e08b2e006fb5f8a7ef92 status = check_max_xfer_size(hcd, qh); if (status) { -From 880dbb6827a203323015c1b8f40224d8f76104d5 Mon Sep 17 00:00:00 2001 +From a74993fb3cae721562e874612900dd0c705ad367 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 May 2017 16:07:23 +0100 -Subject: [PATCH 136/172] serial: 8250: Add CAP_MINI, set for bcm2835aux +Subject: [PATCH 136/179] serial: 8250: Add CAP_MINI, set for bcm2835aux commit d087e7a991f1f61ee2c07db1be7c5cc2aa373f5d upstream. @@ -133013,10 +133013,10 @@ index 68fd045a7025047726860547ecd661b95d61ac80..af954e278d78002cc5d07086dcc69608 baud = serial8250_get_baud_rate(port, termios, old); -From a262525ba2a0ac8f35a10a8497a87cb5aa943fd1 Mon Sep 17 00:00:00 2001 +From 8d30f6483c896bea8ca74fdba60bc255ff303c2d Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 26 May 2017 12:50:31 +0100 -Subject: [PATCH 137/172] dwc_otg: fiq_fsm: Make isochronous compatibility +Subject: [PATCH 137/179] dwc_otg: fiq_fsm: Make isochronous compatibility checks work properly Get rid of the spammy printk and local pointer mangling. @@ -133080,10 +133080,10 @@ index 38bf5fc792d32352f9e208e0e90f968599b9bc31..71834cf365e67d7ad995bba7869216c4 return 1; } -From 9b90031347231c891ad942bbe3f167094cbd3636 Mon Sep 17 00:00:00 2001 +From 5fae24813aba7c3c5453d73db9cb1f45f9203d0c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 Jun 2017 13:05:43 +0100 -Subject: [PATCH 138/172] config: Add CONFIG_CAN_GS_USB +Subject: [PATCH 138/179] config: Add CONFIG_CAN_GS_USB --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -133115,10 +133115,10 @@ index 4ae560370a972b9c56e8af38a537b1dbebd5488a..8894ef2ed78968ea56d83d56ba4d770b CONFIG_IRLAN=m CONFIG_IRNET=m -From 0487fc74b7b24bb4c0891fe4ebc55100fb63cb31 Mon Sep 17 00:00:00 2001 +From df9e1e92e3ec7dc735b71da6893a49de10bccd25 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 12 Jun 2017 16:10:03 +0100 -Subject: [PATCH 139/172] dwc_otg: add module parameter int_ep_interval_min +Subject: [PATCH 139/179] dwc_otg: add module parameter int_ep_interval_min Add a module parameter (defaulting to ignored) that clamps the polling rate of high-speed Interrupt endpoints to a minimum microframe interval. @@ -133200,10 +133200,10 @@ index 4b1dd9de99e9e08b2e006fb5f8a7ef92f20c2553..fe8e8f841f03660c2ad49ab8e66193be DWC_DEBUGPL(DBG_HCD, "DWC OTG HCD QH Initialized\n"); -From fd2f19e2fb509bbb9abdc1b17c06159186e921fc Mon Sep 17 00:00:00 2001 +From 17922eede36da2f761f3cef63b7d37df231aa0d1 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 20 Jun 2017 13:44:01 +0100 -Subject: [PATCH 140/172] dwc_otg: fiq_fsm: Add non-periodic TT exclusivity +Subject: [PATCH 140/179] dwc_otg: fiq_fsm: Add non-periodic TT exclusivity constraints Certain hub types do not discriminate between pipe direction (IN or OUT) @@ -133370,10 +133370,10 @@ index 71834cf365e67d7ad995bba7869216c4091c3a74..7710370b30363e3170bf9bf522597c5f st->fsm = FIQ_PER_SSPLIT_STARTED; } else { -From f8737000db15f0b1b0ec066b96add275e2fb57c4 Mon Sep 17 00:00:00 2001 +From 101bbe08403a353962e55f73aec9b2a69181b5a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 21 Jun 2017 17:19:04 +0100 -Subject: [PATCH 141/172] serial: 8250: Fix THRE flag usage for CAP_MINI +Subject: [PATCH 141/179] serial: 8250: Fix THRE flag usage for CAP_MINI The BCM2835 MINI UART has non-standard THRE semantics. Conventionally the bit means that the FIFO is empty (although there may still be a @@ -133417,10 +133417,10 @@ index af954e278d78002cc5d07086dcc69608ac3019ee..877b1a848b5a44e196cab5bfd435467b if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) -From 5ade64c738440dc2eedd4230df7df84fb6470647 Mon Sep 17 00:00:00 2001 +From e189cc7d23ef83a0feac573969321080f77eba60 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 May 2017 13:03:41 +0100 -Subject: [PATCH 142/172] BCM270X_DT: Add midi-uart1 overlay +Subject: [PATCH 142/179] BCM270X_DT: Add midi-uart1 overlay Add a scaler to the ttyS0 clock so that requesting 38400 baud results in an approximately 31250 baud signal. This is analagous to @@ -133518,10 +133518,10 @@ index 0000000000000000000000000000000000000000..e0bc410acbff3a7a175dd5d53b3ab0d0 + }; +}; -From 8008ed1432701e58388fdf71b1622649f7118d49 Mon Sep 17 00:00:00 2001 +From d7a9ffc785603deaadac66df03fb210e55c03059 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 20 May 2017 22:10:14 +0100 -Subject: [PATCH 143/172] overlays: README: remove vestigial SDIO parameters +Subject: [PATCH 143/179] overlays: README: remove vestigial SDIO parameters Signed-off-by: Phil Elwell --- @@ -133575,10 +133575,10 @@ index ec9e7b1941678796facf625b3770c20ed0b15b25..499cd1920fd373702cfbc9f6e0fcaebc (default on: polling once at boot-time) -From ddae37bf82208ff44425af7fb37c48da0bbc925a Mon Sep 17 00:00:00 2001 +From 6363c4cd653a37b97978daf1cb40a6bfaf881ec8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 27 Jun 2017 15:07:14 +0100 -Subject: [PATCH 144/172] SQUASH: mmc: Apply ERASE_BROKEN quirks correctly +Subject: [PATCH 144/179] SQUASH: mmc: Apply ERASE_BROKEN quirks correctly Squash with: mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards @@ -133608,10 +133608,10 @@ index 05c8d7381fff5ae88531129d9a5ddd554bddb43e..c9d5d644688c1509d7febcff0322fbab END_FIXUP }; -From 5c86b40f78185bbdfb49cd736236cf974f5c4c61 Mon Sep 17 00:00:00 2001 +From 006fadf8b05cfe8898ba6c9a98a9e85cfbd45759 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 11:34:26 +0200 -Subject: [PATCH 145/172] ASoC: bcm2835: Add support for TDM modes +Subject: [PATCH 145/179] ASoC: bcm2835: Add support for TDM modes bcm2835 supports arbitrary positioning of channel data within a frame and thus is capable of supporting TDM modes. Since @@ -134013,10 +134013,10 @@ index 56df7d8a43d0aac055a91b0d24aca8e1b4e308e4..dcacf7f83c9371df539a788ea33fedcf dev->dev = &pdev->dev; dev_set_drvdata(&pdev->dev, dev); -From 9fe2068af051cf3f9c5e3be6c24627495b9ebfb0 Mon Sep 17 00:00:00 2001 +From c688eb49f23ece78b878234249389d1394b23906 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 15:30:50 +0200 -Subject: [PATCH 146/172] ASoC: bcm2835: Support left/right justified and DSP +Subject: [PATCH 146/179] ASoC: bcm2835: Support left/right justified and DSP modes DSP modes and left/right justified modes can be supported @@ -134262,10 +134262,10 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 } -From e1f09aa6ff541dfc6e29c7376e52b86efff30fad Mon Sep 17 00:00:00 2001 +From b94f30478a44245ae2b7a1c184af50c90a46f8cf Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:19:54 +0200 -Subject: [PATCH 147/172] ASoC: bcm2835: Support additional samplerates up to +Subject: [PATCH 147/179] ASoC: bcm2835: Support additional samplerates up to 384kHz Sample rates are only restricted by the capabilities of the @@ -134308,10 +134308,10 @@ index 3a706fda4f39e42efbe12f19d87af9b100a348a5..43f5715a0d5dda851731ecf7ff27e76c | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE -From 08c6499c6362bc0b8274e558e2bd14e08ed67678 Mon Sep 17 00:00:00 2001 +From b34025f12281b7893937c23e15b022adcb062a61 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:24:57 +0200 -Subject: [PATCH 148/172] ASoC: bcm2835: Enforce full symmetry +Subject: [PATCH 148/179] ASoC: bcm2835: Enforce full symmetry bcm2835's configuration registers can't be changed when a stream is running, which means asymmetric configurations aren't supported. @@ -134347,10 +134347,10 @@ index 43f5715a0d5dda851731ecf7ff27e76c48fb6e57..2e449d7173fcecbcd647f90a26bd58b6 static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg) -From 72206f050f4c173679e230bd93c12414df523bdf Mon Sep 17 00:00:00 2001 +From 37abc5eedd66ccd84407b28d826e9b4d44044bf4 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 6 Jul 2017 18:52:16 +0200 -Subject: [PATCH 149/172] config: add missing arizona regulator modules +Subject: [PATCH 149/179] config: add missing arizona regulator modules In kernel 4.12 CONFIG_REGULATOR_ARIZONA was replaced by 2 separate options for LDO1 and MICSUPP regulators. Enable these, they are @@ -134400,10 +134400,10 @@ index 8894ef2ed78968ea56d83d56ba4d770b45bba5c2..7362d1a6e5759e45ebef3ba84a4454b8 CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_ANALOG_TV_SUPPORT=y -From 7183b1a6e937f18496981b3cc0af5a49af618630 Mon Sep 17 00:00:00 2001 +From 15c95277e0d1756c114ef280c33280f1ed879cc1 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Tue, 4 Apr 2017 19:20:59 +1000 -Subject: [PATCH 150/172] Audioinjector : make the octo and pi sound cards have +Subject: [PATCH 150/179] Audioinjector : make the octo and pi sound cards have different driver names This patch gives the audioinjector octo and pi soundcards different driver @@ -134440,10 +134440,10 @@ index ef54e0f07ea03f59e9957b5d98f3e7fdc998e469..491906bbf446826e55dd843f28e4860f .of_match_table = audioinjector_pi_soundcard_of_match, }, -From e904282646c05b0453045bfa782ff856797eba17 Mon Sep 17 00:00:00 2001 +From 3f7e88de36ecc35576c3fa4b8021d03090cb4277 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Tue, 4 Apr 2017 19:23:04 +1000 -Subject: [PATCH 151/172] Audioinjector octo : Make the playback and capture +Subject: [PATCH 151/179] Audioinjector octo : Make the playback and capture symmetric This patch ensures that the sample rate and channel count of the audioinjector @@ -134466,10 +134466,10 @@ index 49115c8e20ce1a2ba5a99feb8983a1cafb052ca2..5e79f4eff93a21ed3495c77a90f73525 }; -From 830bca12fcfabed02fbaa849d7a1f4def0b9d4de Mon Sep 17 00:00:00 2001 +From 4b2a9fd55febcbe78a6db89f574d99a018daec73 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 23 Apr 2017 19:36:53 +0100 -Subject: [PATCH 152/172] BCM270X_DT: Add bme280 and bmp180 to i2c-sensor +Subject: [PATCH 152/179] BCM270X_DT: Add bme280 and bmp180 to i2c-sensor overlay Signed-off-by: Phil Elwell @@ -134543,10 +134543,10 @@ index 606b2d5012abf2e85712be631c42ea40a0b512c5..e23e34b32a0a8927c14203d7384e8008 lm75 = <&lm75>,"status"; lm75addr = <&lm75>,"reg:0"; -From d85441e1f79ad9fa8e84742bba68803f0d0745d4 Mon Sep 17 00:00:00 2001 +From f051a1308368ada4ae5af35f93ff130528863ade Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sun, 23 Apr 2017 19:38:06 +0100 -Subject: [PATCH 153/172] config: Add CONFIG_BMP280 (and CONFIG_BMP280_I2C) +Subject: [PATCH 153/179] config: Add CONFIG_BMP280 (and CONFIG_BMP280_I2C) Signed-off-by: Phil Elwell --- @@ -134579,10 +134579,10 @@ index 7362d1a6e5759e45ebef3ba84a4454b86e69a901..fab31f0fed0ec068e5249f4cebc34e48 CONFIG_PWM_PCA9685=m CONFIG_RASPBERRYPI_FIRMWARE=y -From 50f934aa95c69126d90dd6b748ddb8fceb68b595 Mon Sep 17 00:00:00 2001 +From 0375d895e3ab8ec14c5bbd73b7804d1cbcd2d127 Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Tue, 25 Apr 2017 10:46:09 -0400 -Subject: [PATCH 154/172] config: Enable TI TMP102 temp sensor module +Subject: [PATCH 154/179] config: Enable TI TMP102 temp sensor module Signed-off-by: Scott Ellis --- @@ -134615,10 +134615,10 @@ index fab31f0fed0ec068e5249f4cebc34e48cfd29759..91a5234a5884f24f1a656d297a3d9064 CONFIG_BCM2835_THERMAL=y CONFIG_WATCHDOG=y -From 3b699e2e3aed06c30417b9cfd37c7f1292f4a648 Mon Sep 17 00:00:00 2001 +From b944bbb324f48d5115254b224ccc8313b5ad1ebd Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Tue, 25 Apr 2017 13:05:42 -0400 -Subject: [PATCH 155/172] BCM270X_DT: Add tmp102 to i2c sensor overlay +Subject: [PATCH 155/179] BCM270X_DT: Add tmp102 to i2c sensor overlay Signed-off-by: Scott Ellis --- @@ -134698,10 +134698,10 @@ index e23e34b32a0a8927c14203d7384e800878627347..e86a13f92c3f75c14fa4425cdfb081d6 }; }; -From 699a5c400a328b431d3dd391e517dc4dd20c0a04 Mon Sep 17 00:00:00 2001 +From e41a341800122d3a74d81c0ae402535c6f6adef8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 May 2017 16:43:40 +0100 -Subject: [PATCH 156/172] irq_bcm2836: Send event when onlining sleeping cores +Subject: [PATCH 156/179] irq_bcm2836: Send event when onlining sleeping cores In order to reduce power consumption and bus traffic, it is sensible for secondary cores to enter a low-power idle state when waiting to @@ -134737,10 +134737,10 @@ index 9a7ee04ee0d9b7aa734cf3159ed59c19a338de0d..014f13f89eb896f5cfc75ed9891787d0 } -From c7158ef32f1301940e2abe5cd23efafafd668a01 Mon Sep 17 00:00:00 2001 +From af642ed42ce611485adfb71cf511be654d473993 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Mon, 15 May 2017 17:10:53 +0200 -Subject: [PATCH 157/172] overlays: Add Goodix overlay +Subject: [PATCH 157/179] overlays: Add Goodix overlay Add support for I2C connected Goodix gt9271 multiple touch controller using GPIOs 4 and 17 (pins 7 and 11 on GPIO header) for interrupt and reset. @@ -134837,10 +134837,10 @@ index 0000000000000000000000000000000000000000..084f74042ed6379ebd9281374d5391a7 + }; +}; -From 2ba7bd2db9c9207cc578cc4d0a1834c6b8eb2be0 Mon Sep 17 00:00:00 2001 +From 08296ac968b5ac32032a844e116933f501297d74 Mon Sep 17 00:00:00 2001 From: chenzhiwo Date: Wed, 17 May 2017 16:34:57 +0800 -Subject: [PATCH 158/172] Add device tree overlay for GPIO connected rotary +Subject: [PATCH 158/179] Add device tree overlay for GPIO connected rotary encoder. See Documentation/input/rotary-encoder.txt for more information. --- @@ -134932,10 +134932,10 @@ index 0000000000000000000000000000000000000000..c0c6bccff60cc15d9a9bf59d2c7cba41 + }; +}; -From c2d531626a8a6a1a08f317cfb5d73873647c47fb Mon Sep 17 00:00:00 2001 +From bda9fcf8ccd474dff6084853c554733d4504bbb9 Mon Sep 17 00:00:00 2001 From: Anton Onishchenko Date: Tue, 23 May 2017 18:55:46 +0300 -Subject: [PATCH 159/172] mpu6050 device tree overlay (#2031) +Subject: [PATCH 159/179] mpu6050 device tree overlay (#2031) Add overlay and config options for InvenSense MPU6050 6-axis motion detector. @@ -135050,10 +135050,10 @@ index 91a5234a5884f24f1a656d297a3d906429477b5d..2a28b012696a955f4d275a9e0a9fa3e1 CONFIG_PWM_BCM2835=m CONFIG_PWM_PCA9685=m -From c2b6d1e6b85b9ecbc7643b743d55b1243729a975 Mon Sep 17 00:00:00 2001 +From 54f6774e172d4f80ff42a4283b43167b414002a7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 May 2017 09:33:55 +0100 -Subject: [PATCH 160/172] config: Adding SENSOR_JC42 +Subject: [PATCH 160/179] config: Adding SENSOR_JC42 The jc42 module supports a number of I2C-based temperature sensor modules. @@ -135093,10 +135093,10 @@ index 2a28b012696a955f4d275a9e0a9fa3e155e4a3c6..706bd883dd345a8ad32d30386f7dcf11 CONFIG_SENSORS_SHT21=m CONFIG_SENSORS_SHTC1=m -From c3cd09aee52bdd38c15c6336307719e9d3e15d94 Mon Sep 17 00:00:00 2001 +From 3058771768989f53339d8681365cb9fc863449fc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 May 2017 15:27:39 +0100 -Subject: [PATCH 161/172] BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay +Subject: [PATCH 161/179] BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay Use the "__dormant__" feature to permit multiple instances of each overlay, which is more useful now that changing the "reg" property @@ -135461,10 +135461,10 @@ index e86a13f92c3f75c14fa4425cdfb081d6795ff76a..d2f0008addfadac8f6ed774a6e4f3f97 }; }; -From 903a94521aecc99dae44c938f48b76b63f39de40 Mon Sep 17 00:00:00 2001 +From 45cf2498f6407f400121d88a2beb5f9bb3d73ef2 Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Mon, 29 May 2017 21:46:16 +0200 -Subject: [PATCH 162/172] Add device tree config for htu21 +Subject: [PATCH 162/179] Add device tree config for htu21 See: https://github.com/raspberrypi/linux/pull/2041 @@ -135546,10 +135546,10 @@ index d2f0008addfadac8f6ed774a6e4f3f97871c0d61..17c27e3b666a7a83619471b50c63bb93 }; }; -From 97199633f89d9006dd4cb275bd8752298d4c2e05 Mon Sep 17 00:00:00 2001 +From 86bebc3a6a7bf401cbbe05066498ae2ec1774b74 Mon Sep 17 00:00:00 2001 From: sandeepal Date: Fri, 2 Jun 2017 18:59:46 +0530 -Subject: [PATCH 163/172] Allo Digione Driver (#2048) +Subject: [PATCH 163/179] Allo Digione Driver (#2048) Driver for the Allo Digione soundcard --- @@ -135980,10 +135980,10 @@ index 0000000000000000000000000000000000000000..e3664e44c699d0102120ecf99e8b780a +MODULE_DESCRIPTION("ASoC Driver for Allo DigiOne"); +MODULE_LICENSE("GPL v2"); -From 562e4fea6c0bafee237d5267e26c69c64338b578 Mon Sep 17 00:00:00 2001 +From 22f7f60707be6cf531da161ee705b7ae3300bc7e Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 5 Jun 2017 16:40:38 +0100 -Subject: [PATCH 164/172] dma-bcm2708: Fix module compilation of +Subject: [PATCH 164/179] dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 bcm2708-dmaengine.c defines functions like bcm_dma_start which are @@ -136026,10 +136026,10 @@ index c5bfff2765be4606077e6c8af73040ec13ee8974..6ca874d332a8bc666b1c9576ac51f479 #endif /* _PLAT_BCM2708_DMA_H */ -From bda781106e5327e37268aee99defcbd652bc9a8d Mon Sep 17 00:00:00 2001 +From 68913f70693f0d266f18e52dab3a286a0c8eeaab Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 20 Jun 2017 17:51:47 +0100 -Subject: [PATCH 165/172] bcm2835-cpufreq: Change licence to GPLv2 +Subject: [PATCH 165/179] bcm2835-cpufreq: Change licence to GPLv2 Signed-off-by: Eben Upton Signed-off-by: Dom Cobley @@ -136082,10 +136082,10 @@ index 414fbdc10dfbfc6e4bb47870a7af3fd5780f9c9a..99345969b0e4d651fd9033d67de2febb /* ---------- INCLUDES ---------- */ #include -From dbd082a31eefff7943db264527fab3c0fdf71345 Mon Sep 17 00:00:00 2001 +From 011431f51565b30c49190ffcdbd279615ddc33d3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 21 Jun 2017 09:03:51 -0700 -Subject: [PATCH 166/172] bcm2708: Drop CMA alignment from FKMS mode as well. +Subject: [PATCH 166/179] bcm2708: Drop CMA alignment from FKMS mode as well. I dropped it from KMS mode in d88274d88ed81de1ade8e18e4c0ed91792ec82ea and should have done both of them at that time. @@ -136141,10 +136141,10 @@ index 95a595a35cb4fbb707bf4b18161f6a46860aa4ae..36fbf6c8c2e612a6dc5aa02d77cc8173 }; -From ad969ccd50e604be526af1af860c4cdea738cd9c Mon Sep 17 00:00:00 2001 +From e71fd5964dc5fdc533496680266ae48118e5e958 Mon Sep 17 00:00:00 2001 From: Steve Conner Date: Thu, 29 Jun 2017 15:56:19 +0100 -Subject: [PATCH 167/172] New i2c-rtc-gpio device overlay (#2092) +Subject: [PATCH 167/179] New i2c-rtc-gpio device overlay (#2092) Created new i2c-rtc-gpio device overlay by combining i2c-rtc and i2c-gpio. Tested with PCF2127 on CM3. --- @@ -136408,10 +136408,10 @@ index 0000000000000000000000000000000000000000..8415e6081428fba9a47682964174fc02 + }; +}; -From 0d5ed04c2af060f97a31d2436e846941edbe32bd Mon Sep 17 00:00:00 2001 +From af3df5502aa4a349433717e5c416150a91213b8b Mon Sep 17 00:00:00 2001 From: Allo Date: Mon, 3 Jul 2017 15:45:20 +0530 -Subject: [PATCH 168/172] PianoPlus: Dual Mono & Dual Stereo features added +Subject: [PATCH 168/179] PianoPlus: Dual Mono & Dual Stereo features added (#2069) --- @@ -136700,10 +136700,10 @@ index 56e43f98846b41e487b3089813f7edc3c08517eb..d4e99e3c6a383d92fb0cf9e8c1cd1e76 } -From 2e1fb71b3839435479bc68b5f593db0945ee6395 Mon Sep 17 00:00:00 2001 +From b982fa9bf1b980e2a337af7a6edfdddfcdd7fb44 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 9 Jul 2017 15:15:22 +0200 -Subject: [PATCH 169/172] overlays: Add gpio-shutdown overlay (#2103) +Subject: [PATCH 169/179] overlays: Add gpio-shutdown overlay (#2103) This overlay facilitates the addition of a powerbutton by converting GPIO edges into KEY_POWER keypresses, which can be handled by @@ -136859,10 +136859,10 @@ index 0000000000000000000000000000000000000000..863fb395c8539734b658682b900e1fbd + +}; -From b3d70cf2b4926625772ddddc6d6ca5a4e8e02e37 Mon Sep 17 00:00:00 2001 +From ae45e7a8b1e678ebc6d752d8d071d307b49476a6 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Mon, 10 Jul 2017 11:05:17 +0200 -Subject: [PATCH 170/172] config: enable generic S/PDIF codec drivers (#2104) +Subject: [PATCH 170/179] config: enable generic S/PDIF codec drivers (#2104) These drivers can be used as dummy ADC/DAC drivers for attaching general codecs that don't need to be configured. @@ -136919,10 +136919,10 @@ index cead8c64336bb4ce9656bb20384069917695852d..7c1be0e035105724a7774ac59e5195a0 CONFIG_SND_SIMPLE_CARD=m CONFIG_HIDRAW=y -From a3283ee002f30d9d2bb8916cc69bfd90cc4e44cf Mon Sep 17 00:00:00 2001 +From 3098abe2ddba193918b9ff166a8c4a5d7065bb4b Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 24 May 2017 10:52:50 +0200 -Subject: [PATCH 171/172] [ARM64] enable drivers for GPIO expander and vcio +Subject: [PATCH 171/179] [ARM64] enable drivers for GPIO expander and vcio --- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ @@ -136950,10 +136950,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..9dcb58a519d041fadae99c81a7bda621 CONFIG_GPIO_ARIZONA=m CONFIG_GPIO_STMPE=y -From e0fbfa6324ec14a02290d0a610eea0b076e6c083 Mon Sep 17 00:00:00 2001 +From e5902a53106e445613fe5cbdcdf358a200d52c9c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 14 Jul 2017 12:59:55 +0100 -Subject: [PATCH 172/172] bcm2835-mmc: Fix DMA usage +Subject: [PATCH 172/179] bcm2835-mmc: Fix DMA usage The previous change ("bcm2835-mmc: Only claim one DMA channel") used an incorrect variable, the effect of which was to prevent @@ -136987,3 +136987,306 @@ index 4fe8d1fe44578fbefcd48f8c327ba3d03f3d0a2a..981db05de1ff52a83550e41ab362eecf } } #endif + +From 8568d1643ec9b8915f1018858af81e15cdde1c3f Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Mon, 17 Jul 2017 16:54:06 +0100 +Subject: [PATCH 173/179] Revert "bcm2835-mmc: Fix DMA usage" + +This reverts commit f4258b9352afc1480dd1c29a11528e53b73bf356. +--- + drivers/mmc/host/bcm2835-mmc.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/drivers/mmc/host/bcm2835-mmc.c b/drivers/mmc/host/bcm2835-mmc.c +index 981db05de1ff52a83550e41ab362eecf99cafa29..4fe8d1fe44578fbefcd48f8c327ba3d03f3d0a2a 100644 +--- a/drivers/mmc/host/bcm2835-mmc.c ++++ b/drivers/mmc/host/bcm2835-mmc.c +@@ -1354,14 +1354,14 @@ static int bcm2835_mmc_add_host(struct bcm2835_host *host) + if (ret == 0) { + host->dma_cfg_rx = cfg; + +- host->have_dma = true; ++ host->use_dma = true; + } else { + pr_err("%s: unable to configure DMA channel. " +- "Falling back to PIO\n", ++ "Faling back to PIO\n", + mmc_hostname(mmc)); + dma_release_channel(host->dma_chan_rxtx); + host->dma_chan_rxtx = NULL; +- host->have_dma = false; ++ host->use_dma = false; + } + } + #endif + +From 500c963c5df2dfbe61ff213f315f19b8995c0d00 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 18 Jul 2017 15:30:48 +0100 +Subject: [PATCH 174/179] bcm2835-mmc: Prevent DMA race condition + +The end of a read operation is triggered by the completion of the DMA +transfer, but writes are complete when the data IRQ is raised. The +bcm2835-mmc driver contains a race between the handling of the DMA +completion interrupt and the submission of the next request. Fix the +race by deferring the completion of the request until the DMA +transfer finishes. + +Signed-off-by: Phil Elwell +--- + drivers/mmc/host/bcm2835-mmc.c | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +diff --git a/drivers/mmc/host/bcm2835-mmc.c b/drivers/mmc/host/bcm2835-mmc.c +index 4fe8d1fe44578fbefcd48f8c327ba3d03f3d0a2a..031ec56eee1a3dbc01cf31259e6d0d555b6543b7 100644 +--- a/drivers/mmc/host/bcm2835-mmc.c ++++ b/drivers/mmc/host/bcm2835-mmc.c +@@ -115,6 +115,7 @@ struct bcm2835_host { + + bool have_dma; + bool use_dma; ++ bool wait_for_dma; + /*end of DMA part*/ + + int max_delay; /* maximum length of time spent waiting */ +@@ -341,6 +342,8 @@ static void bcm2835_mmc_dma_complete(void *param) + + spin_lock_irqsave(&host->lock, flags); + ++ host->use_dma = false; ++ + if (host->data && !(host->data->flags & MMC_DATA_WRITE)) { + /* otherwise handled in SDHCI IRQ */ + dma_chan = host->dma_chan_rxtx; +@@ -351,6 +354,9 @@ static void bcm2835_mmc_dma_complete(void *param) + dir_data); + + bcm2835_mmc_finish_data(host); ++ } else if (host->wait_for_dma) { ++ host->wait_for_dma = false; ++ tasklet_schedule(&host->finish_tasklet); + } + + spin_unlock_irqrestore(&host->lock, flags); +@@ -690,6 +696,7 @@ void bcm2835_mmc_send_command(struct bcm2835_host *host, struct mmc_command *cmd + mod_timer(&host->timer, timeout); + + host->cmd = cmd; ++ host->use_dma = false; + + bcm2835_mmc_prepare_data(host, cmd); + +@@ -759,8 +766,11 @@ static void bcm2835_mmc_finish_data(struct bcm2835_host *host) + } + + bcm2835_mmc_send_command(host, data->stop); +- } else ++ } else if (host->use_dma) { ++ host->wait_for_dma = true; ++ } else { + tasklet_schedule(&host->finish_tasklet); ++ } + } + + static void bcm2835_mmc_finish_command(struct bcm2835_host *host) + +From 1fd8567a3e4c270ca8badf2f2df8391ef1c800c1 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 19 Jul 2017 14:50:49 +0100 +Subject: [PATCH 175/179] Revert "Revert "bcm2835-mmc: Fix DMA usage"" + +This reverts commit d52c1ae3a211386b5ec98804a468436e85b5b8af. +--- + drivers/mmc/host/bcm2835-mmc.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/drivers/mmc/host/bcm2835-mmc.c b/drivers/mmc/host/bcm2835-mmc.c +index 031ec56eee1a3dbc01cf31259e6d0d555b6543b7..c4a5e992c6fb4a40b933239350ed4bfc8fb40155 100644 +--- a/drivers/mmc/host/bcm2835-mmc.c ++++ b/drivers/mmc/host/bcm2835-mmc.c +@@ -1364,14 +1364,14 @@ static int bcm2835_mmc_add_host(struct bcm2835_host *host) + if (ret == 0) { + host->dma_cfg_rx = cfg; + +- host->use_dma = true; ++ host->have_dma = true; + } else { + pr_err("%s: unable to configure DMA channel. " +- "Faling back to PIO\n", ++ "Falling back to PIO\n", + mmc_hostname(mmc)); + dma_release_channel(host->dma_chan_rxtx); + host->dma_chan_rxtx = NULL; +- host->use_dma = false; ++ host->have_dma = false; + } + } + #endif + +From 4f325d9270d93bb362f81b5905ba9fcfc5fc201a Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 19 Jul 2017 15:43:05 +0100 +Subject: [PATCH 176/179] config: Add CONFIG_W1_SLAVE_DS2438 + +See: https://github.com/raspberrypi/linux/pull/2100 + +Signed-off-by: Phil Elwell +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 1cd3337442d75e26f1d4f7370b60cdaf8aac64b2..612504cf2acc4990fdf524adc6ccf993eb6b459d 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -644,6 +644,7 @@ CONFIG_W1_SLAVE_DS2406=m + CONFIG_W1_SLAVE_DS2423=m + CONFIG_W1_SLAVE_DS2431=m + CONFIG_W1_SLAVE_DS2433=m ++CONFIG_W1_SLAVE_DS2438=m + CONFIG_W1_SLAVE_DS2760=m + CONFIG_W1_SLAVE_DS2780=m + CONFIG_W1_SLAVE_DS2781=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 7c1be0e035105724a7774ac59e5195a098b51796..5cb81c879eb0e1e1c369f284ccd41b80bb1e44ce 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -638,6 +638,7 @@ CONFIG_W1_SLAVE_DS2406=m + CONFIG_W1_SLAVE_DS2423=m + CONFIG_W1_SLAVE_DS2431=m + CONFIG_W1_SLAVE_DS2433=m ++CONFIG_W1_SLAVE_DS2438=m + CONFIG_W1_SLAVE_DS2760=m + CONFIG_W1_SLAVE_DS2780=m + CONFIG_W1_SLAVE_DS2781=m + +From a7cfdef19974583b59b5ac36444a2faefd42c5b8 Mon Sep 17 00:00:00 2001 +From: Conn +Date: Mon, 17 Jul 2017 03:25:43 +0100 +Subject: [PATCH 177/179] config: enhance DualShock3 controller support + +Enable rumble support in Sony HID & HID battery strength. +--- + arch/arm/configs/bcm2709_defconfig | 2 ++ + arch/arm/configs/bcmrpi_defconfig | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 612504cf2acc4990fdf524adc6ccf993eb6b459d..ed4a46b49d688ca78a625dbe8a96a2f1da4a6a0e 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -904,6 +904,7 @@ CONFIG_SND_SOC_AK4554=m + CONFIG_SND_SOC_SPDIF=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m ++CONFIG_HID_BATTERY_STRENGTH=y + CONFIG_HIDRAW=y + CONFIG_UHID=m + CONFIG_HID_A4TECH=m +@@ -946,6 +947,7 @@ CONFIG_HID_PICOLCD=m + CONFIG_HID_ROCCAT=m + CONFIG_HID_SAMSUNG=m + CONFIG_HID_SONY=m ++CONFIG_SONY_FF=y + CONFIG_HID_SPEEDLINK=m + CONFIG_HID_SUNPLUS=m + CONFIG_HID_GREENASIA=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 5cb81c879eb0e1e1c369f284ccd41b80bb1e44ce..3cd9dca829e6820ae9be35e4abe5ebc611aa0699 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -898,6 +898,7 @@ CONFIG_SND_SOC_AK4554=m + CONFIG_SND_SOC_SPDIF=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m ++CONFIG_HID_BATTERY_STRENGTH=y + CONFIG_HIDRAW=y + CONFIG_UHID=m + CONFIG_HID_A4TECH=m +@@ -940,6 +941,7 @@ CONFIG_HID_PICOLCD=m + CONFIG_HID_ROCCAT=m + CONFIG_HID_SAMSUNG=m + CONFIG_HID_SONY=m ++CONFIG_SONY_FF=y + CONFIG_HID_SPEEDLINK=m + CONFIG_HID_SUNPLUS=m + CONFIG_HID_GREENASIA=m + +From ee17791e68fe7c34c84d50468088565cfc587261 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 19 Jul 2017 15:20:50 +0100 +Subject: [PATCH 178/179] overlays: i2c1-bcm2708: Don't overwrite i2c1 pins + node + +It is bad practise to overwrite an entire node in an overlay. Instead, +target the node and overwrite any properties that need changing. + +See: https://github.com/raspberrypi/linux/pull/2118 + +Suggested-by: soodvarun78 +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/i2c1-bcm2708-overlay.dts | 17 +++++++---------- + 1 file changed, 7 insertions(+), 10 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/i2c1-bcm2708-overlay.dts b/arch/arm/boot/dts/overlays/i2c1-bcm2708-overlay.dts +index e303b9c61c82a28eab7b48f6b085661574d5a849..7c69047bcd88a5c900dddd08e60ad0750b96d785 100644 +--- a/arch/arm/boot/dts/overlays/i2c1-bcm2708-overlay.dts ++++ b/arch/arm/boot/dts/overlays/i2c1-bcm2708-overlay.dts +@@ -20,18 +20,15 @@ + }; + + fragment@1 { +- target = <&gpio>; +- __overlay__ { +- i2c1_pins: i2c1 { +- brcm,pins = <2 3>; +- brcm,function = <4>; /* alt0 */ +- }; ++ target = <&i2c1_pins>; ++ pins: __overlay__ { ++ brcm,pins = <2 3>; ++ brcm,function = <4>; /* alt 0 */ + }; + }; +- + __overrides__ { +- sda1_pin = <&i2c1_pins>,"brcm,pins:0"; +- scl1_pin = <&i2c1_pins>,"brcm,pins:4"; +- pin_func = <&i2c1_pins>,"brcm,function:0"; ++ sda1_pin = <&pins>,"brcm,pins:0"; ++ scl1_pin = <&pins>,"brcm,pins:4"; ++ pin_func = <&pins>,"brcm,function:0"; + }; + }; + +From b26a21fd90add2e0dcdfda6ae59cb3a175d0494a Mon Sep 17 00:00:00 2001 +From: James Hughes +Date: Fri, 21 Jul 2017 09:55:12 +0100 +Subject: [PATCH 179/179] Sets the BCDC priority to constant 0 + +This is to workaround for a possible issue in the +wireless chip firmware where some packets with +higher priorities seem to go missing. + +See https://github.com/raspberrypi/linux/issues/1342 for +details. +--- + drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c +index 9f2d0b0cf6e5c452ad85a3caef58cf16a8cdad46..b009f3083490c2bc2733424f08f81b9f751de939 100644 +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c +@@ -274,7 +274,7 @@ brcmf_proto_bcdc_hdrpush(struct brcmf_pub *drvr, int ifidx, u8 offset, + if (pktbuf->ip_summed == CHECKSUM_PARTIAL) + h->flags |= BCDC_FLAG_SUM_NEEDED; + +- h->priority = (pktbuf->priority & BCDC_PRIORITY_MASK); ++ h->priority = 0; + h->flags2 = 0; + h->data_offset = offset; + BCDC_SET_IF_IDX(h, ifidx);