From b5444ec9f0e04c26f120bf918f92901affba150f Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 14 Jul 2017 21:30:56 +0100 Subject: [PATCH] RPi: update linux support patch for linux 4.12-rc7 --- .../patches/linux/linux-01-RPi_support.patch | 800 ++++++++++++------ 1 file changed, 519 insertions(+), 281 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 214f9d14ec..2699998a3b 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 6c4718e6798c6da6dadcae291ca6f94ec48320ec Mon Sep 17 00:00:00 2001 +From e64a4148f9005910438ab81503557c30bd9bdade Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/140] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/144] 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 752dc4e9c9f668b99df95fa06cc00c4e449a1ae1 Mon Sep 17 00:00:00 2001 +From 70b71337a83f0de84e0598ba70794461993e4bff Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/140] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/144] 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 85c90afc2d840d67d912857eb31fa01db3771022 Mon Sep 17 00:00:00 2001 +From 5ca07052db7e44e228c8fa03f34e9988cab791bf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/140] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/144] 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 a52d566c2ddb772b8648dce5cc17a99791c88359 Mon Sep 17 00:00:00 2001 +From 7c594e79aa15545d590a0c8f44a94e7f7c742d28 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/140] Protect __release_resource against resources without +Subject: [PATCH 004/144] 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 8686230cd4ff90e172ddf50422109437ec79bc33 Mon Sep 17 00:00:00 2001 +From eca8aba908e8374fd6a1cdc7fb1a2932d090317c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/140] mm: Remove the PFN busy warning +Subject: [PATCH 005/144] 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 3411e59c0a85532297e1ba3d04bb08495aabdb70 Mon Sep 17 00:00:00 2001 +From a7ae3d7159637d82ebe1c1f1a1b9653f726cdcb5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/140] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/144] 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 8dde382f29add11576386543ea212c45f12bcfb5 Mon Sep 17 00:00:00 2001 +From ba9685354cad5ce0e3ed8c11c681a3c4353f2bec Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 007/140] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 007/144] 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 d89282db35984810806bce56eddceabb1bd5d98b Mon Sep 17 00:00:00 2001 +From 21b79cfe013eab7a54e9e0460e40b36ad35f17b1 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/140] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 008/144] 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 06c0ef1c72e5af05b74753f38c7311155d709383 Mon Sep 17 00:00:00 2001 +From 803235f9180c268cba051f236152cd5241576db3 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/140] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 009/144] 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 02436dccdfff25765528b30e9af666b383f5c797 Mon Sep 17 00:00:00 2001 +From 6f7534c156c2cdb39c73e21510d017a2da4628d3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 010/140] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 010/144] 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 363307ea346cd2505a15bf5ebe4a4b4dfc9c7425 Mon Sep 17 00:00:00 2001 +From 2d3cf0c1fa55abf4dd7dd8226cb6441e42853594 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Jan 2017 18:25:01 +0000 -Subject: [PATCH 011/140] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" +Subject: [PATCH 011/144] 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 eaacdb9b581ddad914ee29ba68aec1d94218a59f Mon Sep 17 00:00:00 2001 +From c73adda0454a2aaf0d2a0b001a2971a0d4f9c03f Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 012/140] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 012/144] 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 c99d45a886af26665db54c3a9f0d1e5b29795e8e Mon Sep 17 00:00:00 2001 +From d8a45983e34a8a163c227496c6f8b4d417fd3b5f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/140] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/144] 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 bcf681a6168c6f51077f508c0c327118afad2292 Mon Sep 17 00:00:00 2001 +From 606fc2d216cfdb1eeb6fea687026905bd78ae495 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 014/140] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 014/144] 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 656411c4417004ba817f50eb4620d2f37ef6ce97 Mon Sep 17 00:00:00 2001 +From 531be8543e658a1a09c6fea88e8ad9a30ab151ea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 015/140] spi-bcm2835: Disable forced software CS +Subject: [PATCH 015/144] 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 31ed8a32ead798f762c4bd6eb2e0aaa7af793dba Mon Sep 17 00:00:00 2001 +From 99fecb2547f85e281c19ebd3cea39d56c475ccf5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 016/140] spi-bcm2835: Remove unused code +Subject: [PATCH 016/144] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1131,10 +1131,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 9f9261dcf5a99ba49d42084694fdc09a0396f6bf Mon Sep 17 00:00:00 2001 +From 590288e88e32973e76789603d1dd346a0533c44b 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/140] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 017/144] 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 bbdb02227b5d8904c94942361eb1196752d36125 Mon Sep 17 00:00:00 2001 +From 8cff1e15df429d187397902eeb57c3cfe9b5b54f 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/140] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 018/144] 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 389f25ea90bcbb8836939eac891bb4dc3172d271 Mon Sep 17 00:00:00 2001 +From 16e9fdb19e4960e5893fc59eeda9a9ad5e346f98 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 019/140] firmware: Updated mailbox header +Subject: [PATCH 019/144] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1357,10 +1357,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 5106c450c6e511cbca89851d8a5c23dc3760063a Mon Sep 17 00:00:00 2001 +From f579465344f71efa18d731658e8e6c4ede055fa0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 020/140] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 020/144] 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 e5b0c44f0995e1ed8512f06f21eeb17416fac67a Mon Sep 17 00:00:00 2001 +From 715508d50cdf523bca5d38023bd4818b773669e0 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/140] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 021/144] 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 4ed01c974a5d19698ebea2921723971167d190dd Mon Sep 17 00:00:00 2001 +From 1df9cc56933bf43fa09bf7539a230e100b360973 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 022/140] reboot: Use power off rather than busy spinning when +Subject: [PATCH 022/144] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1511,10 +1511,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From b78f6b4dd22272e53eef643271ed9032a83b985a Mon Sep 17 00:00:00 2001 +From 64c66f4ade55b53dbd784a61663c6cbd4443aa56 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 023/140] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 023/144] 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 ee4a10dd50661f0a0e4e42b2e1d6995dfa923bf3 Mon Sep 17 00:00:00 2001 +From 772d0824fa63c191a5cb459402f01274b872637a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 024/140] Register the clocks early during the boot process, so +Subject: [PATCH 024/144] 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 19f18eb467bbe14641b1e3dc07f61603f8f8fbcd Mon Sep 17 00:00:00 2001 +From d2fca1a9a441f9826cdeb86de92ced56fcd1a8fc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 025/140] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 025/144] 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 082775217df61035640fdcaa909586183dee8bfa Mon Sep 17 00:00:00 2001 +From fa8023bebcd5001d5e76fd661b316cb5d37172c7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 026/140] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 026/144] 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 a5db13eac30dafdc4926414a03f88a500f2d5ecc Mon Sep 17 00:00:00 2001 +From 645c8e1be4dc36b4bcde1813a0235cbc7e395a22 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 027/140] BCM2835_DT: Fix I2S register map +Subject: [PATCH 027/144] 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 765523a4a9868cb9647a9309272a8eaae5246f01 Mon Sep 17 00:00:00 2001 +From 9faff9390771a9d48fdf848b248b2f929cced8e3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 028/140] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 028/144] 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 590a192932f87320eaffa74d4bd4165589aaece5 Mon Sep 17 00:00:00 2001 +From 9d4a257f47fb8410abc05ff8d2d6421f327d3e54 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 029/140] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 029/144] 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 a0109fb360b265d85b6936533e23b42812f69186 Mon Sep 17 00:00:00 2001 +From ad65692b6f840eba4a847ea0bb40c211e601a583 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:06:53 +0000 -Subject: [PATCH 030/140] clk-bcm2835: Correct the prediv logic +Subject: [PATCH 030/144] 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 2f81616cccb5c9091cd2037fc84157a7f419864b Mon Sep 17 00:00:00 2001 +From 1ed7cb5f8f02a0ddc5377f0c80026ce526cf6d83 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 031/140] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 031/144] 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 ad25d00490e65ecb11700730e0c0af0128d8250e Mon Sep 17 00:00:00 2001 +From c5de20af34c46d029b535acfd857843a57eea6ae Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 032/140] sound: Demote deferral errors to INFO level +Subject: [PATCH 032/144] 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 66ca90cdc57bdcc43b747ddb197c03cf9adedffe Mon Sep 17 00:00:00 2001 +From 7f5f18c06735d6a47a3e7e6413d91803b17fa5db Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 033/140] Update vfpmodule.c +Subject: [PATCH 033/144] 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 06c6e8a843d6e0dc20b1d6f9fff13a754abc97b4 Mon Sep 17 00:00:00 2001 +From a9790cbc5a9c59a8cf793411887317392e01ddab Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 034/140] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 034/144] 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 6d7b4abf8aaf0a771978680a9e41cda02fc431ca Mon Sep 17 00:00:00 2001 +From 0fc69dc7c58b2cb60b65a398794cc988f9e23a0e 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/140] i2c: bcm2835: Add debug support +Subject: [PATCH 035/144] 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 3b4fca1547ac61f54405450445e4f8e4b8a74ae0 Mon Sep 17 00:00:00 2001 +From 61413bd7d72f222a3229dae8ccf5c051ffe1298c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 036/140] Main bcm2708/bcm2709 linux port +Subject: [PATCH 036/144] 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 d2d6b59e256d78d994d0d3490bd7c7f1d2c67eb3 Mon Sep 17 00:00:00 2001 +From f42babc6934af74b213ae46463ca67f3b7551209 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 037/140] Add dwc_otg driver +Subject: [PATCH 037/144] 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 a58bf2ca8205b49a0a3720bc69b64d271a68969c Mon Sep 17 00:00:00 2001 +From 094f2454339350d01a2d32ff8e838e7471ef2a93 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 038/140] bcm2708 framebuffer driver +Subject: [PATCH 038/144] 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 7c167a2a82495353b9fd79db0b4432e27f5e7f8d Mon Sep 17 00:00:00 2001 +From 4bd8ce5d45ef94e4ea158cac93e636eb0d1670ef Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 039/140] dmaengine: Add support for BCM2708 +Subject: [PATCH 039/144] 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 9b01c576087e2302e6cb87105f42c09c84bcd7d9 Mon Sep 17 00:00:00 2001 +From 3e81240d0234fbd6a3bbea98482ceabf77885b5b Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 040/140] MMC: added alternative MMC driver +Subject: [PATCH 040/144] 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 6ce351462ce689cdcf201e93f3391f53b05c12d2 Mon Sep 17 00:00:00 2001 +From 4a95662d9055c4dc810933e197c67f35068ff64c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 041/140] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 041/144] 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 2792e240dfc4721bf9236838b8f9bb682c6e48b4 Mon Sep 17 00:00:00 2001 +From 57f09e1d7abaef4782d7471d5772d36435a4a968 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 042/140] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 042/144] 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 e78aadb697491366bcc628425d3b28aa8c9d8eea Mon Sep 17 00:00:00 2001 +From 6d6a32628c9ee7905c70e00cdcc2b8fedb0f13fb Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 043/140] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 043/144] 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 16a66ea3db7c9a7b6195366140353f31da6400bf Mon Sep 17 00:00:00 2001 +From 10ca67877c00c7ee3bae47c3833d8c90b70dbb31 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 044/140] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 044/144] 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 f1ae8aeb7e1babdaa7e129ef171dd86490b5b373 Mon Sep 17 00:00:00 2001 +From 43e8c68b28c3161a90bac475ea24533e874930c6 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 045/140] Add SMI driver +Subject: [PATCH 045/144] Add SMI driver Signed-off-by: Luke Wren --- @@ -79169,10 +79169,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From bf096b41ac2c0d9bdcf9a2fcd522a6fc5b2fee28 Mon Sep 17 00:00:00 2001 +From b80abee184ead08f5db6dcdba6a3d45d25cfe7dd Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 046/140] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 046/144] 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 924e3680f712aa3f0235006a24a34697a4739f5c Mon Sep 17 00:00:00 2001 +From 862a05e3e943800b0d56dc2d9ab9e9e1f1e97d2d Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 047/140] Add SMI NAND driver +Subject: [PATCH 047/144] 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 cb684be5505d5f3ffaadcdcde2ca6e980e426718 Mon Sep 17 00:00:00 2001 +From ea3942f25c0e09b707f49d6b68528bfe1bd0df81 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 048/140] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 048/144] 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 54455063a8ab5ffecdab329561c1c2adb33f67f8 Mon Sep 17 00:00:00 2001 +From 9a40ecd47f50076139cc7872f06b5650359d4fd9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 049/140] Add cpufreq driver +Subject: [PATCH 049/144] 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 3e7bcb96b00904c8fb5d7369e5976ffeb1fb64fc Mon Sep 17 00:00:00 2001 +From 5991e71dc1d668e7937187890b12db80fad3671f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 050/140] Added hwmon/thermal driver for reporting core +Subject: [PATCH 050/144] 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 14b7ab093534d0c775706b3c707fc66bce6c1538 Mon Sep 17 00:00:00 2001 +From 51fb7b6b3f51fc81fb8bd666c1111f0f7f1c7161 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 051/140] Add Chris Boot's i2c driver +Subject: [PATCH 051/144] 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 567f7b278b6320ac4e4b235a9c451b001a6ee6a3 Mon Sep 17 00:00:00 2001 +From 3e031f5512def9cfa0a7f4b8c14ffb05be36b5e9 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/140] char: broadcom: Add vcio module +Subject: [PATCH 052/144] 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 28235002bd49cfad774b1bc92ef7340dd732f8a9 Mon Sep 17 00:00:00 2001 +From 826f5458945bb8fadc32d675c5d656527057dd4b 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/140] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 053/144] 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 3d3ba2c44c20529ede0421c9ac55e50f346ac387 Mon Sep 17 00:00:00 2001 +From 736132373f19206c96257b17faeed8f246af9378 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 054/140] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 054/144] 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 54dcf0ee553e0ebdfac0e7c4e0731a89cc2ace7f Mon Sep 17 00:00:00 2001 +From 60cfd65e8f9b8cf90ba475f2404ed9b2f61b82ca Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 055/140] BCM2708: Add core Device Tree support +Subject: [PATCH 055/144] 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 007600dea5919f3d6068a202e236a7cc29e3e13f Mon Sep 17 00:00:00 2001 +From edaf82cd0b7598b31266d0b37bfb2922a343f9fb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 056/140] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 056/144] 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 c4b901d280fc02d18aca975bb273aec98c967283 Mon Sep 17 00:00:00 2001 +From 71f0a1fe97b5e5b741ebed4aa9e98ce29ee43f95 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 057/140] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 057/144] 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 f0c392f2ab7ebd27c4c80c2b82faa22963d26bcb Mon Sep 17 00:00:00 2001 +From e318b8c8f6f487d56fe77c38539e7318d20dc5a0 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 058/140] Speed up console framebuffer imageblit function +Subject: [PATCH 058/144] 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 3af3fcbf5f5ff1145dec587aca01f6434bc70741 Mon Sep 17 00:00:00 2001 +From 3e87473fe8770f61af849320928e7138238ad402 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 059/140] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 059/144] 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 d28c8587f40f51aee1224c14d0a5b4069021ab36 Mon Sep 17 00:00:00 2001 +From 76904b9af21f6c296ef75bcfe47029c9873f6910 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/140] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/144] 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 c3c80995eaefd69bb1956c5a5fd235f5d13eda4c Mon Sep 17 00:00:00 2001 +From 685932956db0e8f105087a8a06e4290028555005 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/140] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/144] 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 c78b5af8f99ce82a29d67c0bfde82f56ebdc28f4 Mon Sep 17 00:00:00 2001 +From ee1cdf05d329570067e9b64304fd9fd00e650b7b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 062/140] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/144] 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 05551c210e0f8d3478d62e18b2e2efc85d292d16 Mon Sep 17 00:00:00 2001 +From 97c87aefde74d516d195ceb3530e9765e11e4c25 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/140] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/144] 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 b111a6fe790961cd1cb0a953cadcd4998b66b133 Mon Sep 17 00:00:00 2001 +From 8f57cfdac18b9a8eeab61f2e49e0dedb5026537d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/140] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/144] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -97784,10 +97784,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From ad43916d78c30e323c4bd139f14a38cfe30f0def Mon Sep 17 00:00:00 2001 +From f61cdda73cd58c192b143a8f9203a9f4012c3340 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/140] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/144] 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 8c1c860b75d3df114693032fca0c9f302443cdc9 Mon Sep 17 00:00:00 2001 +From 5ddaba141c91a9cebdaed9eea7ac54647494af2a Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/140] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/144] 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 2fd85c8d5bad9ec4bfecb1e132924d39ac615300 Mon Sep 17 00:00:00 2001 +From 77d5b0b8ef8f7ae79433e5c8e1760e8b24bd7d78 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/140] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/144] 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 4745826c6b124e6edd9a5ac2e4ed9939c9cd5668 Mon Sep 17 00:00:00 2001 +From d3911fb4886be568c3b7f49eed60d4bdd018cba7 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/140] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/144] 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 f4fa4291973abc8a005c77e2d7ef2305f428026d Mon Sep 17 00:00:00 2001 +From 61a7c170ab537175f21fc7d24cd0f1ec98e16705 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/140] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/144] 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 bf6f463eec2151ce6fd002c1daaa9fb99032b550 Mon Sep 17 00:00:00 2001 +From c517793a82bc5862581225ade64369910432d042 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 070/140] Added support for HiFiBerry DAC+ +Subject: [PATCH 070/144] 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 f57dd928be9e3684d66dbd37c8fb91fe090dac5a Mon Sep 17 00:00:00 2001 +From 4194d6ac027eb4f98ff0bd40e878362bebd52f68 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 071/140] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 071/144] 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 3bdba0749957ee31be979598121fd1df89c7eaca Mon Sep 17 00:00:00 2001 +From 260ed96013252e60b872613563d99cca41bb1eac Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 072/140] Add driver for rpi-proto +Subject: [PATCH 072/144] 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 dacfd3ce982d63d236ff024705ea10a92e33ac26 Mon Sep 17 00:00:00 2001 +From 4abb1f67b72bc8433a5371120b6064d778e383d9 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 073/140] RaspiDAC3 support +Subject: [PATCH 073/144] 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 1f13e0de937e08bbccf2c5ec0484aaaa954b59f1 Mon Sep 17 00:00:00 2001 +From 784209de4e2329d3e76a4f2b0451c9ee3d3a4e3b Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 074/140] Add Support for JustBoom Audio boards +Subject: [PATCH 074/144] 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 cbfd93d424b1b26ac2254bb22531c0c21a3a5a4a Mon Sep 17 00:00:00 2001 +From e01744b986ee59608eee3f7a0158140ab85a9150 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 075/140] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 075/144] 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 a947dd40bcf428ff1ca6c9410a6867d414a4ef2d Mon Sep 17 00:00:00 2001 +From 4ff6df092b1afd7982d3a2d59f7eae7e3035b456 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 076/140] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 076/144] 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 6d123e18c0a7a8b69c017f08c73588b70bb82eee Mon Sep 17 00:00:00 2001 +From 38ad9c36cfa71b8c9614dede3dc98f6a69c54025 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 077/140] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 077/144] 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 17f633eb2b07f2b2f3d6a84c8f532aa84931a2bd Mon Sep 17 00:00:00 2001 +From 6550f608b74314bb2e64801a30de2e9cae47e1d0 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 078/140] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 078/144] 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 bc37f48b84eb53f6b3cd8002b44b700f91d32cdc Mon Sep 17 00:00:00 2001 +From f92b61a014668884a7b4276832d9d165e539e766 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 079/140] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 079/144] 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 aff9b0b91eea30a218c22f5de3131f4a1b594563 Mon Sep 17 00:00:00 2001 +From 9bdcc0f7cb9191a6caee59f8503229b6efce96c0 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 080/140] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 080/144] 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 bc686aace22fd701e6ff66370db447252e5f4f2b Mon Sep 17 00:00:00 2001 +From 3c7e238c096e693166fd6bcfa347ca458651d070 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 081/140] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 081/144] 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 013940554fc9adb417a3b73847f6b77602d5a98c Mon Sep 17 00:00:00 2001 +From 7fe9b8042fd9d5a3000e3ffca75b697b96744314 Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 082/140] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 082/144] 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 579235d8dedd478d94fdec39f645aee1ad0f2598 Mon Sep 17 00:00:00 2001 +From 9bcb5619566c5b36cd75b8bd341897eaae90198d Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 083/140] Support for Blokas Labs pisound board +Subject: [PATCH 083/144] 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 71ed5d581e56846063f9d7b5890a73cbef3d4120 Mon Sep 17 00:00:00 2001 +From 282aefba035d7cc088b6ae716c7d98389be8c91a Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 084/140] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 084/144] 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 642b3e3f9648897f711272296fcb8c61f99d0fe7 Mon Sep 17 00:00:00 2001 +From 7add6a67a38bdd4ae646a9ad935bd407243c104c Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 085/140] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 085/144] 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 1504d1afb59b6dbdfa5c79a7538d6531acc7b28f Mon Sep 17 00:00:00 2001 +From 124a54e0d492795e55e45112a4a19a9dd1f2c4fb Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 086/140] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 086/144] 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 791fa3a2bf519f8f548b53c243af962fbd81c9be Mon Sep 17 00:00:00 2001 +From d2df339bef23c3f7d25a5ee45197643541ee04e1 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 087/140] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 087/144] 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 99bf92dae267748e5ae9a021a67caf766afd7140 Mon Sep 17 00:00:00 2001 +From 3f8c0c5d1e6521082f02a4337e2ffe4edbfbae47 Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 088/140] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 088/144] 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 d5e54868ee75f6d1ce055b3c9078e4cfecdf016d Mon Sep 17 00:00:00 2001 +From 51ce28c1a2256d2130b64b88133a7a322f7165b0 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 089/140] rpi_display: add backlight driver and overlay +Subject: [PATCH 089/144] 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 e62708dcbdc508ce55cb3062eab39e39554fcf67 Mon Sep 17 00:00:00 2001 +From 2149b2cbb91ca19e00826fa9223915d9cd8f6bc2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 090/140] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 090/144] 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 2e5662c28a7315b7953521d063b1b49bd884c804 Mon Sep 17 00:00:00 2001 +From b2415c9a60aea3d08ded43c795f9d7081eac6931 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 091/140] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 091/144] 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 0a00eca8571235dd92e3b67669743274b2a9047d Mon Sep 17 00:00:00 2001 +From 8dd1e6260c81c84c5a3afd059ccd4145214946a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 092/140] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 092/144] 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 d3ab8c998a963b346fca3911400291220d0e2e8f Mon Sep 17 00:00:00 2001 +From 95dda1facf578a9330dac3a6e5ca14de43380a17 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 093/140] amba_pl011: Round input clock up +Subject: [PATCH 093/144] 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 303a038c02f401d8b3847939fcd04c74ac3e8351 Mon Sep 17 00:00:00 2001 +From e8f0913f5753b172bb92e8ce22aeef4b801fd2d3 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 094/140] OF: DT-Overlay configfs interface +Subject: [PATCH 094/144] 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 f502f347406fe176f47bc0e283576d44bbcb6e8b Mon Sep 17 00:00:00 2001 +From 11db56a745bbe99216aa1322766fcabfd3ada3b5 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 095/140] brcm: adds support for BCM43341 wifi +Subject: [PATCH 095/144] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -109389,7 +109389,7 @@ index 7a2b49587b4d32dde1af56a2979d4e1818500f84..df138305217384de2359313bc7d00528 MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine"); diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c -index e03450059b06c0bfe510148f985c19668bcd3dff..825473488513f41a4abfc8ccd88e0badc13fdca9 100644 +index 5653d6dd38f6fe5c5132f2d7940facd31bef6549..7cde9835bcf38e7cffdf3dae0c33d2c9d890cc2b 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c @@ -609,6 +609,7 @@ BRCMF_FW_NVRAM_DEF(4329, "brcmfmac4329-sdio.bin", "brcmfmac4329-sdio.txt"); @@ -109410,10 +109410,10 @@ index e03450059b06c0bfe510148f985c19668bcd3dff..825473488513f41a4abfc8ccd88e0bad BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From 8854363a8f788bffbb6003e9526c0dc76952c7ef Mon Sep 17 00:00:00 2001 +From 29bb8d8b17793c7ad43f57e4f5e1fc9719f4cef7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 096/140] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 096/144] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -109437,10 +109437,10 @@ index e1bfd47ae97923a9f14689d8a0e5f45f5efa5650..e8637fe8026eab77902c9322fe0e4d43 req->alpha2[0], req->alpha2[1]); return; -From f0eace344ea37f67cd1d67f751f26536ef644c8d Mon Sep 17 00:00:00 2001 +From 087be81e7605ec4dd40c183783b7bba47bf86697 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 097/140] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 097/144] 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 c19a083cb96360dcb7e63268a4ba959e28bec526 Mon Sep 17 00:00:00 2001 +From c27ff258579d497121a003b2646201cedb4a3683 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 098/140] config: Add default configs +Subject: [PATCH 098/144] 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 4b4b744e200594d997b9fb60739a86208e9c166d Mon Sep 17 00:00:00 2001 +From e964486ad0ee49d4e52a58ce8f7112c06af55584 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 099/140] Add arm64 configuration and device tree differences. +Subject: [PATCH 099/144] 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 660dc68d31eff83c2f77bd69eb07fb98cf7e7d58 Mon Sep 17 00:00:00 2001 +From 1c8195f816adb84cbf65da2e1a354f78f7c6ea99 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 100/140] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 100/144] 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 111589bcfbf85c0ddcee7bb6f9b4234aff09428a Mon Sep 17 00:00:00 2001 +From 8b99436bca01620f635619d18425a8b94a7059d0 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 101/140] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 101/144] 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 0fbf9beab81e3c999ca31e06fd68506eae152d98 Mon Sep 17 00:00:00 2001 +From 78b3bea38db0db0abb4b49504d7df320aa4eccf2 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 102/140] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 102/144] 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 bf4e0d7b2f8f6ef47ef6456dae714bfefbad0f82 Mon Sep 17 00:00:00 2001 +From 975a7ea28fbe652e50ce959baf6f1df8c4da072e Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 103/140] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 103/144] 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 e19dd8254b23b766d9472230c15365857beb78ad Mon Sep 17 00:00:00 2001 +From ce5c3897ec248b0387177d7960d491d2a772ba21 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 104/140] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 104/144] 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 b033b08aff9e0fd97f774bec18650db2d89f90cf Mon Sep 17 00:00:00 2001 +From 8cbec32e706093cbab4c5fe4727fba6134547a35 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 105/140] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 105/144] 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 9d2df65f7c12a4c29beb51ee01692919880f7b13 Mon Sep 17 00:00:00 2001 +From 1011b9d3ecfa017dfe8cf53ddcdbd2019625cf2a Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 106/140] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 106/144] 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 f91e4f26a88354b53cc449d3aa0b95eda5fee3ff Mon Sep 17 00:00:00 2001 +From 86f5c8ab47cb86f24d9e08a4198d20b94c139d22 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 107/140] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 107/144] 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 6e952425478fad34d2031c468186696a15c7f058 Mon Sep 17 00:00:00 2001 +From 8baec59080f1e71432e0fe3c3217559a2126bfaa Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 108/140] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 108/144] ARM64: Force hardware emulation of deprecated instructions. --- @@ -114568,10 +114568,10 @@ index f0e6d717885b1fcf3b22f64c10c38f19c25f809d..0cb830d30fb6d2bd26ab572efe893649 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From 8f7127f1f2b5fe5a50978a7a964d2f9e2f5dddb0 Mon Sep 17 00:00:00 2001 +From abd0109ca895f92e9de86029dd1282b547c3c9c4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 109/140] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 109/144] 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 fe73b3e6149764789a96e593e781b6712e9af526 Mon Sep 17 00:00:00 2001 +From 2b8309f36e67834b3ecb7778e297ee9859a7683d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 110/140] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 110/144] 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 6e78dde9086546d975779dd11998191f7c8d482e Mon Sep 17 00:00:00 2001 +From 095494de71e39407d2e4a895b1bac2fce416f518 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 111/140] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 111/144] 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 3a6fe6c4eed3e2ee6906d341e598a9e7c21d80e0 Mon Sep 17 00:00:00 2001 +From 0bad64979a1e44b92f036ce7f63a63b2ad256242 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 112/140] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 112/144] 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 d3af9d7df0099df305b0c43b3033aae512a51f94 Mon Sep 17 00:00:00 2001 +From c4ecc18897cf49cd2c946a6f05db65f1c8ef175c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 113/140] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 113/144] 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 e220064256ea5c61ec0f313f96a32e1fe6d9d22f Mon Sep 17 00:00:00 2001 +From 0ebc32b3c10779f4124aa10b8f41ad5c40e87e95 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 29 Apr 2016 10:32:17 -0700 -Subject: [PATCH 114/140] mmc: read mmc alias from device tree +Subject: [PATCH 114/144] 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 a294e5e5ea1bbd1e0d1a3d41decac1091a3d921e Mon Sep 17 00:00:00 2001 +From 23f544ac61659b6fe1395b62c020f0a867be6a17 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 115/140] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 115/144] 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 e6823ad9f788a410bd7ed7e107956cd62ce3e535 Mon Sep 17 00:00:00 2001 +From 4ed7eb9ed18624427ea810f42784b61ca54da836 Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 116/140] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 116/144] 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 5cdc72105b48b2fbf86226ab1ae1fe84534e5eff Mon Sep 17 00:00:00 2001 +From 32f3cb6921f4ade0a5a9d0d443d7146feb6953f9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 117/140] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 117/144] 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 dd7b64c166de3e91054b24a1df02359cb54b2eb9 Mon Sep 17 00:00:00 2001 +From 1ca011fc681c69a99230a4d31108ce56671ed74d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 118/140] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 118/144] 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 921f66fe6630190ccb4a1bc64cfc4a90cdf15da7 Mon Sep 17 00:00:00 2001 +From 4cd0e0fa69e63b19ce431aca9485d0868d3e8a2c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 119/140] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 119/144] 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 e3bece6d519beef43d53682e771108f0f1d46642 Mon Sep 17 00:00:00 2001 +From d04b76a9a185e8de8b718b4ffd69c409f9ef0e3c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 120/140] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 120/144] 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 b52cd3e3598ac22f35f7d57751ee64a74597ee02 Mon Sep 17 00:00:00 2001 +From bec5889e4fe299f883288f0e1975525633df29fa Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 121/140] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 121/144] 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 7728caab44141e4a39b28edf392549bac2acecc3 Mon Sep 17 00:00:00 2001 +From f110b2755b432f4fbb0b79f747352340109c2e8c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 122/140] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 122/144] 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 09e1cc525a8e356a49c6ecdfe08eb7422cfc460b Mon Sep 17 00:00:00 2001 +From bbf97c4e96d8379c66a7c1b8a98563588469519a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 123/140] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 123/144] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -132259,10 +132259,10 @@ index eb97443533c5a8fb5e142541adb1165b55e32aea..aa0ab7bcd904b775f64045c4d5baf39a return 0; -From f9bca07a32f0fa1ac4923413a5445ba3ba0353c9 Mon Sep 17 00:00:00 2001 +From b514d193f205ab0424e121441e344c7888495656 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 15 May 2017 09:28:36 -0700 -Subject: [PATCH 124/140] drm/vc4: Mark the device as active when enabling +Subject: [PATCH 124/144] 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 4c80e7deb25e71ceb8f4bc70a9f64562b94d9dc1 Mon Sep 17 00:00:00 2001 +From 3e7ebe133c45d79dde174198a10869c667b32cbc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 16 May 2017 14:39:49 +0100 -Subject: [PATCH 125/140] mmc: Change downstream MMC driver CONFIG option +Subject: [PATCH 125/144] 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 ad8551ebd1e61b5d01b8695cfc7a9f24fffcbe43 Mon Sep 17 00:00:00 2001 +From 341feedcaae9013c2423a7b11e8267ba75b37f9a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 19:34:52 +0100 -Subject: [PATCH 126/140] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF +Subject: [PATCH 126/144] 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 69a8f591dae071cf72819d61ebb076417ef93ab7 Mon Sep 17 00:00:00 2001 +From aced5bffe98507e67181cf9f1f0cda1873ddea31 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 18 May 2017 11:40:43 +0100 -Subject: [PATCH 127/140] config: Add FB_TFT_ST7789V module +Subject: [PATCH 127/144] 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 026fa704cb712d4eacdd72e0f72e5fba4046f4e7 Mon Sep 17 00:00:00 2001 +From 1c3372632d6ac1ad2599489fb1ec579b123372ef Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 May 2017 15:36:46 +0100 -Subject: [PATCH 128/140] staging: bcm2835-audio: Fix memory corruption +Subject: [PATCH 128/144] 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 4d04c0a1859fbb3da8e6be1f9e3b5c54dbe77041 Mon Sep 17 00:00:00 2001 +From 6a78f3ee542be3cb657c007b024348ac98b209f5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 May 2017 16:40:05 +0100 -Subject: [PATCH 129/140] config: Add CONFIG_TOUCHSCREEN_GOODIX +Subject: [PATCH 129/144] 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 be259f0f466e8e86d24ce99769a8b2bcfe79e28d Mon Sep 17 00:00:00 2001 +From 01869744e94a76d433a940e1ab96cfbcb2a31922 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 15:58:00 +0100 -Subject: [PATCH 130/140] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 +Subject: [PATCH 130/144] 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 af338c0f420324d2875c1371608faf9f3547f464 Mon Sep 17 00:00:00 2001 +From 5a552fff3f08d04974c8b400615b2ac8a7f39ac6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 13:35:28 +0100 -Subject: [PATCH 131/140] config: Add CONFIG_IPV6_SIT_6RD +Subject: [PATCH 131/144] 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 f91e0a39e873daa843f590e234298aca6b1d7c19 Mon Sep 17 00:00:00 2001 +From 6305fda5a6b01e3f2f32c6137894bb45d12a5ea2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 15:28:27 +0100 -Subject: [PATCH 132/140] config: Add CONFIG_IPV6_ROUTE_INFO +Subject: [PATCH 132/144] 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 712da8e42a992418af1c2efd2682a220c4f9e381 Mon Sep 17 00:00:00 2001 +From 4afbb0715994cab83ec1c6102659c8a2d166b675 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 26 Apr 2017 17:28:47 +0100 -Subject: [PATCH 133/140] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER +Subject: [PATCH 133/144] 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 598bf79e48ff2a28b6677f098ae63ca3b261c872 Mon Sep 17 00:00:00 2001 +From 12ca9ed739b3c720bedc387fbfcd6c1d7a867817 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 May 2017 13:56:41 +0100 -Subject: [PATCH 134/140] clk: bcm2835: Minimise clock jitter for PCM clock +Subject: [PATCH 134/144] 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 3f031b3665946b33f1e9f38fa6a60444baffb776 Mon Sep 17 00:00:00 2001 +From e72147d82163594e7c3a902d05c5accda5000f94 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 25 May 2017 16:04:53 +0100 -Subject: [PATCH 135/140] dwc_otg: make periodic scheduling behave properly for +Subject: [PATCH 135/144] 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 e17eb615c0fbd28025e605b07f63340699807910 Mon Sep 17 00:00:00 2001 +From 2b18a6fa1a643c27966f325c725b285b61ba2c8e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 May 2017 16:07:23 +0100 -Subject: [PATCH 136/140] serial: 8250: Add CAP_MINI, set for bcm2835aux +Subject: [PATCH 136/144] 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 eec15fbf4c06d43fe3628aaeb79e0b7cd1b4eb24 Mon Sep 17 00:00:00 2001 +From 0fd4f795ba5cd3dd86fb438dea5fee205604c0d1 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 26 May 2017 12:50:31 +0100 -Subject: [PATCH 137/140] dwc_otg: fiq_fsm: Make isochronous compatibility +Subject: [PATCH 137/144] 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 1cd34f18e264f237d2966d2dd8bbbdc0f71c3f06 Mon Sep 17 00:00:00 2001 +From 0f60b319719ee006955d679d61eac00998c914a5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 Jun 2017 13:05:43 +0100 -Subject: [PATCH 138/140] config: Add CONFIG_CAN_GS_USB +Subject: [PATCH 138/144] 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 0c54cc5132b46ae0ce29c1633755eb4e8b8a672c Mon Sep 17 00:00:00 2001 +From 12a1aabb380b8b41768d2d845e7092815de2d8be Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 12 Jun 2017 16:10:03 +0100 -Subject: [PATCH 139/140] dwc_otg: add module parameter int_ep_interval_min +Subject: [PATCH 139/144] 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 32deb59eaae5fc26238776c279e62fef44bad526 Mon Sep 17 00:00:00 2001 +From fe45bda4abe8094040366a2bf4c098cd99d0f497 Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 20 Jun 2017 13:44:01 +0100 -Subject: [PATCH 140/140] dwc_otg: fiq_fsm: Add non-periodic TT exclusivity +Subject: [PATCH 140/144] dwc_otg: fiq_fsm: Add non-periodic TT exclusivity constraints Certain hub types do not discriminate between pipe direction (IN or OUT) @@ -133369,3 +133369,241 @@ index 71834cf365e67d7ad995bba7869216c4091c3a74..7710370b30363e3170bf9bf522597c5f } else if (start_immediate) { st->fsm = FIQ_PER_SSPLIT_STARTED; } else { + +From 6244d244ba6c562d4825118cefe7a31796a49b93 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 21 Jun 2017 17:19:04 +0100 +Subject: [PATCH 141/144] 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 +byte in the transmit register), but on 2835 it indicates that the FIFO +is not empty. This causes interrupts after every byte is transmitted, +with the FIFO providing some interrupt latency tolerance. + +A consequence of this difference is that the usual strategy of writing +multiple bytes into the TX FIFO after checking THRE once is unsafe. +In the worst case of 7 bytes in the FIFO, writing 8 bytes loses all +but the first since by then the FIFO is full. + +There is an HFIFO ("Hidden FIFO") bit which is almost what is needed, +but it only adds more bytes while both THRE and TEMT are set, i.e. +when the TX side is completely idle. This is unnecessarily pessimistic. + +Add a new special case, predicated on CAP_MINI, that loops until THRE +is no longer set. With this change, the FIFO fills quickly but +subsequent writes are paced by the transmission rate. + +See: https://github.com/raspberrypi/linux/issues/1855 + +Signed-off-by: Phil Elwell +--- + drivers/tty/serial/8250/8250_port.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c +index af954e278d78002cc5d07086dcc69608ac3019ee..877b1a848b5a44e196cab5bfd435467be48f3b10 100644 +--- a/drivers/tty/serial/8250/8250_port.c ++++ b/drivers/tty/serial/8250/8250_port.c +@@ -1764,6 +1764,10 @@ void serial8250_tx_chars(struct uart_8250_port *up) + if ((up->capabilities & UART_CAP_HFIFO) && + (serial_in(up, UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY) + break; ++ /* The BCM2835 MINI UART THRE bit is really a not-full bit. */ ++ if ((up->capabilities & UART_CAP_MINI) && ++ !(serial_in(up, UART_LSR) & UART_LSR_THRE)) ++ break; + } while (--count > 0); + + if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) + +From ca600c19c8e4c6c98ad2be24c720d8348a950319 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 26 May 2017 13:03:41 +0100 +Subject: [PATCH 142/144] 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 +midi-uart0, except for ttyS0, which may be useful on Pi3 and also +may avoid an issue with ttyAMA0 failing to synchronise to an active +data stream. + +See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=183860 + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 7 ++++ + arch/arm/boot/dts/overlays/midi-uart1-overlay.dts | 43 +++++++++++++++++++++++ + 3 files changed, 51 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/midi-uart1-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index e2f66a55dc5afe13d690c2c17827054ac94b7168..e0ff5793f124fce73732e175bfca424f0a97b632 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -56,6 +56,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ + mcp2515-can1.dtbo \ + mcp3008.dtbo \ + midi-uart0.dtbo \ ++ midi-uart1.dtbo \ + mmc.dtbo \ + mz61581.dtbo \ + pi3-act-led.dtbo \ +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index e2a803e5180cf78d67b6723cfd2f6d3b2b54e53b..ec9e7b1941678796facf625b3770c20ed0b15b25 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -864,6 +864,13 @@ Load: dtoverlay=midi-uart0 + Params: + + ++Name: midi-uart1 ++Info: Configures UART1 (ttyS0) so that a requested 38.4kbaud actually gets ++ 31.25kbaud, the frequency required for MIDI ++Load: dtoverlay=midi-uart1 ++Params: ++ ++ + Name: mmc + Info: Selects the bcm2835-mmc SD/MMC driver, optionally with overclock + Load: dtoverlay=mmc,= +diff --git a/arch/arm/boot/dts/overlays/midi-uart1-overlay.dts b/arch/arm/boot/dts/overlays/midi-uart1-overlay.dts +new file mode 100644 +index 0000000000000000000000000000000000000000..e0bc410acbff3a7a175dd5d53b3ab0d0802e8239 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/midi-uart1-overlay.dts +@@ -0,0 +1,43 @@ ++/dts-v1/; ++/plugin/; ++ ++#include ++ ++/* ++ * Fake a higher clock rate to get a larger divisor, and thereby a lower ++ * baudrate. The real clock is 48MHz, which we scale so that requesting ++ * 38.4kHz results in an actual 31.25kHz. ++ * ++ * 48000000*38400/31250 = 58982400 ++ */ ++ ++/{ ++ compatible = "brcm,bcm2835"; ++ ++ fragment@0 { ++ target-path = "/clocks"; ++ __overlay__ { ++ midi_clk: clock@5 { ++ compatible = "fixed-factor-clock"; ++ #clock-cells = <0>; ++ clocks = <&aux BCM2835_AUX_CLOCK_UART>; ++ clock-mult = <38400>; ++ clock-div = <31250>; ++ }; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&uart1>; ++ __overlay__ { ++ clocks = <&midi_clk>; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&aux>; ++ __overlay__ { ++ clock-output-names = "aux_uart", "aux_spi1", "aux_spi2"; ++ }; ++ }; ++}; + +From ccbc348a882e70d41ba1722893b7574ffb4d3566 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Sat, 20 May 2017 22:10:14 +0100 +Subject: [PATCH 143/144] overlays: README: remove vestigial SDIO parameters + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/README | 24 ++---------------------- + 1 file changed, 2 insertions(+), 22 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index ec9e7b1941678796facf625b3770c20ed0b15b25..499cd1920fd373702cfbc9f6e0fcaebca8a47cfc 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -1203,19 +1203,9 @@ Name: sdio + Info: Selects the bcm2835-sdhost SD/MMC driver, optionally with overclock, + and enables SDIO via GPIOs 22-27. + Load: dtoverlay=sdio,= +-Params: overclock_50 SD Clock (in MHz) to use when the MMC framework +- requests 50MHz +- +- sdio_overclock SDIO Clock (in MHz) to use when the MMC ++Params: sdio_overclock SDIO Clock (in MHz) to use when the MMC + framework requests 50MHz + +- force_pio Disable DMA support (default off) +- +- pio_limit Number of blocks above which to use DMA +- (default 1) +- +- debug Enable debug output (default off) +- + poll_once Disable SDIO-device polling every second + (default on: polling once at boot-time) + +@@ -1226,19 +1216,9 @@ Name: sdio-1bit + Info: Selects the bcm2835-sdhost SD/MMC driver, optionally with overclock, + and enables 1-bit SDIO via GPIOs 22-25. + Load: dtoverlay=sdio-1bit,= +-Params: overclock_50 SD Clock (in MHz) to use when the MMC framework +- requests 50MHz +- +- sdio_overclock SDIO Clock (in MHz) to use when the MMC ++Params: sdio_overclock SDIO Clock (in MHz) to use when the MMC + framework requests 50MHz + +- force_pio Disable DMA support (default off) +- +- pio_limit Number of blocks above which to use DMA +- (default 1) +- +- debug Enable debug output (default off) +- + poll_once Disable SDIO-device polling every second + (default on: polling once at boot-time) + + +From 47b5ae3bff25d36110986d46f77b5900cbedeca3 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 27 Jun 2017 15:07:14 +0100 +Subject: [PATCH 144/144] SQUASH: mmc: Apply ERASE_BROKEN quirks correctly + +Squash with: mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards + +Signed-off-by: Phil Elwell +--- + drivers/mmc/core/quirks.h | 9 +++------ + 1 file changed, 3 insertions(+), 6 deletions(-) + +diff --git a/drivers/mmc/core/quirks.h b/drivers/mmc/core/quirks.h +index 05c8d7381fff5ae88531129d9a5ddd554bddb43e..c9d5d644688c1509d7febcff0322fbaba0a842d6 100644 +--- a/drivers/mmc/core/quirks.h ++++ b/drivers/mmc/core/quirks.h +@@ -94,12 +94,9 @@ static const struct mmc_fixup mmc_blk_fixups[] = { + * On some Kingston SD cards, multiple erases of less than 64 + * sectors can cause corruption. + */ +- MMC_FIXUP("SD16G", 0x41, 0x3432, add_quirk_mmc, +- MMC_QUIRK_ERASE_BROKEN), +- MMC_FIXUP("SD32G", 0x41, 0x3432, add_quirk_mmc, +- MMC_QUIRK_ERASE_BROKEN), +- MMC_FIXUP("SD64G", 0x41, 0x3432, add_quirk_mmc, +- MMC_QUIRK_ERASE_BROKEN), ++ MMC_FIXUP("SD16G", 0x41, 0x3432, add_quirk, MMC_QUIRK_ERASE_BROKEN), ++ MMC_FIXUP("SD32G", 0x41, 0x3432, add_quirk, MMC_QUIRK_ERASE_BROKEN), ++ MMC_FIXUP("SD64G", 0x41, 0x3432, add_quirk, MMC_QUIRK_ERASE_BROKEN), + + END_FIXUP + };