From 846aabdc1c5cd3596cac08232f6fe217618cb6db Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Thu, 14 Dec 2017 16:04:53 +0000 Subject: [PATCH] RPi: update linux support patch for linux 4.14.6 --- .../patches/linux/linux-01-RPi_support.patch | 1176 ++++++++++++----- 1 file changed, 872 insertions(+), 304 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index d993b72a8f..f5eac92105 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 6f2945c416d064f907d389db060728b5c5192009 Mon Sep 17 00:00:00 2001 +From 9f8e7f7b961f2a60682cb536a37ca0b6d1548eb4 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Thu, 21 Sep 2017 09:55:42 -0500 -Subject: [PATCH 001/150] arm: partially revert +Subject: [PATCH 001/153] arm: partially revert 702b94bff3c50542a6e4ab9a4f4cef093262fe65 * Re-expose some dmi APIs for use in VCSM @@ -106,10 +106,10 @@ index 054b491ff7649ca067ff821770aec80a4da42102..70e8b7d3443467ae9595924f1a9d043b EXPORT_SYMBOL(cpu_cache); #endif -From 81dd799c6c9cb6996912b7be73d8e5da7799627e Mon Sep 17 00:00:00 2001 +From 230809cb55b691fd389aca4fb6145c2673c604a2 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 002/150] smsx95xx: fix crimes against truesize +Subject: [PATCH 002/153] 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. @@ -156,10 +156,10 @@ index 309b88acd3d0b6ca1528dde7b27a23926f9be952..25e37195ceb00cfc0ced7638e8b571a1 usbnet_skb_return(dev, ax_skb); } -From f9aa0d3f902124ab8ae0021d81d81883ce979c34 Mon Sep 17 00:00:00 2001 +From 8e32459cc2aabb75791180becc0585311d553631 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 003/150] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 003/153] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -202,10 +202,10 @@ index 25e37195ceb00cfc0ced7638e8b571a1b0b8e6f1..09c7d4a07299e70b1cdc9df2c2c4cb39 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 2c548180a363d9696963b78707e93bae61c3dcbc Mon Sep 17 00:00:00 2001 +From 7d273161ba882b18d50a10f54c5cd2f6b0982c7e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 004/150] Allow mac address to be set in smsc95xx +Subject: [PATCH 004/153] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -301,10 +301,10 @@ index 09c7d4a07299e70b1cdc9df2c2c4cb39d2207c37..4d9704d0b184df9bd7ddbe6769e40a75 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From e798a1b40a2488df35575f002a119b08d123d030 Mon Sep 17 00:00:00 2001 +From 0ee908b3ed61179bf735b8ac17521bc3e23cd248 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 005/150] Protect __release_resource against resources without +Subject: [PATCH 005/153] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -332,10 +332,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 86126929ba2c5ef3b66341ccf70dc80cafe69b38 Mon Sep 17 00:00:00 2001 +From 92fd9221582163e9e67029f6ee31eeb90df58472 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/150] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/153] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -362,10 +362,10 @@ index dc8c1e3eafe794a3af83dd987a6d6362d14dd5ee..e8204d9af58f1b893505c06902a83390 #endif } else if (stat) { -From efed369bf7ab606d356301abc1a56b2dcc36a978 Mon Sep 17 00:00:00 2001 +From 1ba84c8bdf56d1b10c7b5c3c9f67b3c4903ff57f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 007/150] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 007/153] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -389,10 +389,10 @@ index e8204d9af58f1b893505c06902a83390c2ea8509..6e3fab9587b782e026c01fa6b6e40338 static void -From 8b94e690dff0df396d618ea14ddd3664b5b9badc Mon Sep 17 00:00:00 2001 +From 9df7f2b0eb85f845505a1b6602480e94611a5c8f 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/150] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 008/153] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -521,10 +521,10 @@ index d2da8a1e6b1b71381e382d034e7a94e865a6c3da..c4903360eabc2bef04f8e745782cea26 } -From 672802dc2b18404f57ec3aa7c849e784133f9fe8 Mon Sep 17 00:00:00 2001 +From 7b62ad3c4a907814902c3ead1faee31114c6a53c 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/150] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 009/153] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -623,10 +623,10 @@ index c4903360eabc2bef04f8e745782cea268fb22897..13356d3b7bcd508f058c6a9e3c4b0b38 for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From 730ef7bef046ba3701dc2b10a547bf50ea6c97fd Mon Sep 17 00:00:00 2001 +From e0373c79f54b52b081057794c458114a2e3c66c4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 May 2017 16:43:40 +0100 -Subject: [PATCH 010/150] irq_bcm2836: Send event when onlining sleeping cores +Subject: [PATCH 010/153] 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 @@ -662,10 +662,10 @@ index 6e3fab9587b782e026c01fa6b6e40338ef0c8d0a..86b357ae027bf8ba1ac32cd150a8cf21 } -From 8486e58fc672b75dc3f2c126f325ab4527d8bf6f Mon Sep 17 00:00:00 2001 +From 2f9a6e4ea3f2d29b26e65d442d6a29a00a9876cf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 011/150] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 011/153] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -686,10 +686,10 @@ index cda10719d1d1b21b32866d2b79363faa461ab8e1..4f3779d3aa0960640506725bde918075 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From a3dca7253188dc2979a3d330f34c3abfe1de320f Mon Sep 17 00:00:00 2001 +From 8fe21520501e6992a188c1692e93a70ec0beb0c0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 012/150] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 012/153] 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 @@ -770,10 +770,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 5eca0c6ca5b60c14c82290fdfefe62efb3ef3ba2 Mon Sep 17 00:00:00 2001 +From 01c016b019f85099ca311fa02b71c8d05d1843b7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 013/150] spi-bcm2835: Disable forced software CS +Subject: [PATCH 013/153] 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 @@ -807,10 +807,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 8768e60197263066353fe5192ec8c93e9608c9aa Mon Sep 17 00:00:00 2001 +From a4a94f9eadeed0c8848d80f8c61d85e5616e377c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 014/150] spi-bcm2835: Remove unused code +Subject: [PATCH 014/153] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -898,10 +898,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 466148b5153f8f693d23b140e4e58e38be0df322 Mon Sep 17 00:00:00 2001 +From a4f02453509512489f2529b69a2c25745b99d494 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 015/150] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 015/153] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -954,10 +954,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 678f7d42376022e050a14558b2e1cb735e3bc4b9 Mon Sep 17 00:00:00 2001 +From 1840b70bbe5f464a05fdb10b46f48506bb32ea15 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 016/150] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 016/153] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1060,10 +1060,10 @@ index 6204cc32d09c5096df8aec304c3c37b3bcb6be44..599c218dc8a73172dd4bd4a058fc8f95 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From c1014845fbcff5f684b4aaca4015908200f1a361 Mon Sep 17 00:00:00 2001 +From 759cd557eae3d3a93a129d8d4188c00760f50305 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 017/150] firmware: Updated mailbox header +Subject: [PATCH 017/153] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 21 +++++++++++++++++++++ @@ -1149,10 +1149,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..cbd1674570433fc591df89f68c892b33 #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From 6e87c497d13d1b285c9e3989105217bead4dd7ed Mon Sep 17 00:00:00 2001 +From 49c7e5532a31fcfd195b15116b553e7f745178b9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 018/150] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 018/153] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1172,10 +1172,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From ce56c212277e28c48118228720c9d36498395bd5 Mon Sep 17 00:00:00 2001 +From 74b558a8d9da2d9aeee15dc3372fb7a03cbf13b9 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 019/150] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 019/153] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1277,10 +1277,10 @@ index b339e0e67b4c1275fd4992fea4f1e24c0575b783..26b7177573fac2af1cd4ab5488d2686f static int bcm2835_wdt_probe(struct platform_device *pdev) -From 7df6349cce828fa5c1dac9b0aa65e2a1fb7d61d4 Mon Sep 17 00:00:00 2001 +From f8089a7bc4a662a9969e2e42e3813b395e98a0f1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 020/150] reboot: Use power off rather than busy spinning when +Subject: [PATCH 020/153] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1303,10 +1303,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From afe2fbc9da6a4a54b186bb4bac28f4abc6243d7c Mon Sep 17 00:00:00 2001 +From 317ac526ecf960726095e5d31837e21db90634e0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 021/150] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 021/153] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1325,10 +1325,10 @@ index 49f1e2a75d614bc21db152327c7b425ae2504f8d..dccd2374ed00631abd441e3e9d78ee74 help This enables support for the RPi power domains which can be enabled -From 1559dc55b9be8e313b08897078f6359f071a8a7c Mon Sep 17 00:00:00 2001 +From 2eb4657da6d9cb16744f37bab91098c3f672fcef Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 022/150] Register the clocks early during the boot process, so +Subject: [PATCH 022/153] 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. @@ -1373,10 +1373,10 @@ index 58ce6af8452db9ca8b4d3c380a06e448919f6a8d..11d89d106026f15719ea25047d6f357b MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From 86e2d53024e5ff00f6cf9f2fb4b47d8c7d0fbb1d Mon Sep 17 00:00:00 2001 +From fe3dcda9326a2dc58bbcb90aeefc463ff3d67e19 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 023/150] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 023/153] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1402,10 +1402,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From a69045939a89f6abeddbb2d78c18d950ad714714 Mon Sep 17 00:00:00 2001 +From e45af67b1c58ad22ec438cb6a6dfd3e8e9504ac6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 024/150] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 024/153] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1425,10 +1425,10 @@ index 9ffd3dda3889c56a7a72229bed21ff5c49d62856..00da6c9bacbf33334233e22ca5209ade esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From e272265844f9e4969ae89b5c001e61cae562e4e7 Mon Sep 17 00:00:00 2001 +From 9021d3d69cd97f17799591ceb72c967b3154a549 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 025/150] BCM2835_DT: Fix I2S register map +Subject: [PATCH 025/153] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1466,10 +1466,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 07419d735960d6be6fcc0fa067a54169c765f808 Mon Sep 17 00:00:00 2001 +From 184e22c0c926d2c8f5cc953314bbce0465275ee1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 026/150] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 026/153] 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 @@ -1497,10 +1497,10 @@ index 11d89d106026f15719ea25047d6f357b4bfcb2c5..fe8f5d65f2749cb3ddc878df61664826 divider->data = data; -From d7e0434297b0330f0b7e81c0f877e4a30e5915a3 Mon Sep 17 00:00:00 2001 +From 41d2aafa28f1ebbbca801aa27423dbe390f474ae Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 027/150] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 027/153] 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, @@ -1602,10 +1602,10 @@ index fe8f5d65f2749cb3ddc878df616648267441e0ee..92b5e0f5145b32d3bfc3592fe381e8be sizeof(cprman_parent_names)); of_clk_parent_fill(dev->of_node, cprman->real_parent_names, -From d1e38465fccff99695fed6564180abe9c3739ac1 Mon Sep 17 00:00:00 2001 +From ddf51a35ca8d255713b268a32ffd433bda3e786c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 028/150] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 028/153] 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 @@ -1720,10 +1720,10 @@ index 92b5e0f5145b32d3bfc3592fe381e8be3cd90c72..336f8c9c44325d0a94e591a8557f7af2 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From 5b01710cb8dfa475b801da5667d3e545c3b9eabd Mon Sep 17 00:00:00 2001 +From 47bb40b334829b2037fd3d307fc9ff797681c983 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 029/150] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 029/153] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1761,10 +1761,10 @@ index 336f8c9c44325d0a94e591a8557f7af246adc857..caa05e5ad0b7b5cd683e04fb3591a3df * Pass the CLK_SET_RATE_PARENT flag if we are allowed to propagate * rate changes on at least of the parents. -From 7e5626a8c0fe6381939ce7ce295d00db17506e8e Mon Sep 17 00:00:00 2001 +From 0f390cc5da68116c00c47d7e246522bb4de3e8c4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 030/150] sound: Demote deferral errors to INFO level +Subject: [PATCH 030/153] 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. @@ -1799,10 +1799,10 @@ index fee4b0ef5566cf9e8de0bf5c568706da9cab2ea2..c728a4148903e983d61b6ae65765ba11 goto _err_defer; } -From c31974df585f99143f3315fae41277101fde6eec Mon Sep 17 00:00:00 2001 +From 8e1a510b2e45a6673d06cb2a04d869bd4cfe8f20 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 031/150] Update vfpmodule.c +Subject: [PATCH 031/153] 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 @@ -1939,10 +1939,10 @@ index a71a48e71fffa8626fe90106815376c44bbe679b..d6c0a5a0a5ae3510db3ace5e3f5d3410 /* * Save the userland NEON/VFP state. Under UP, -From 5027f5a3257d195f37bcc2d37f47ad13674887cf Mon Sep 17 00:00:00 2001 +From 28459b9dd9234e8732513da9e6735f14343c4abc Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 032/150] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 032/153] 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. @@ -1963,10 +1963,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From 3c0f304e892dc4b25ecac71838db719c6cf753b4 Mon Sep 17 00:00:00 2001 +From d2b7d9824a8949c35495059b044c68a764be0978 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 033/150] i2c: bcm2835: Add debug support +Subject: [PATCH 033/153] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2155,10 +2155,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From f6af6c3f1d80e1c90c7b5300a48cf9375bbcdddb Mon Sep 17 00:00:00 2001 +From 80f9e52869ea1219e799c1b51f98ca48f9c22054 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 034/150] mm: Remove the PFN busy warning +Subject: [PATCH 034/153] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -2183,10 +2183,10 @@ index d51c2087c498c63f3f515d2931e42b5110efb62f..fd094c36e26c712d7537b16aa547d3e8 goto done; } -From 7f02844d849b8ef0a237818b8e53ab1d6bcfc284 Mon Sep 17 00:00:00 2001 +From 88a36ec410edff800f2c7edc5c4de4cf14b6e511 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 035/150] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 035/153] 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 @@ -2211,10 +2211,10 @@ index c367d11079bc90feec2ad0fa748d7ffc3035faba..91d5b531b69b49db97f7febbc60d33a2 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From 32db47fcf84f7eebaacf50da29680ac48dc71b0a Mon Sep 17 00:00:00 2001 +From 72803e7ef2a577b228feb7466bb0bfae36c75a1b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 036/150] Main bcm2708/bcm2709 linux port +Subject: [PATCH 036/153] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2402,10 +2402,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From 8ba530eaad77b1d026d3e1b17fc57964047d4ee1 Mon Sep 17 00:00:00 2001 +From 8b8b3b95a2b38ec880620a4ac8be190a93b9e4cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 037/150] Add dwc_otg driver +Subject: [PATCH 037/153] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -3252,10 +3252,10 @@ index bd3e0c5a6db25e7a162d922c6508de1ad0b68025..15c80079c97bb9eeec478932af88a293 return i; } diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c -index e9ce6bb0b22d15587efaff059b3c5c2c29681430..927b15aca2bbed51c221b151902b402cf53fad59 100644 +index 8f7d94239ee3e314780d9fe52ba8cf204ded3eaa..0adad9e31719ac974ee7931e2f83f30a36c43f11 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c -@@ -5055,7 +5055,7 @@ static void port_event(struct usb_hub *hub, int port1) +@@ -5064,7 +5064,7 @@ static void port_event(struct usb_hub *hub, int port1) if (portchange & USB_PORT_STAT_C_OVERCURRENT) { u16 status = 0, unused; @@ -63702,10 +63702,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 872850d2836f7138725b8b92cf92059e6fc1fa71 Mon Sep 17 00:00:00 2001 +From fd43e0f13b9410b8f4951b70fc3f861f5e2be69b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 038/150] bcm2708 framebuffer driver +Subject: [PATCH 038/153] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67164,10 +67164,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 fd606c7e1e43996d54eb68367f1cb040b8c93be2 Mon Sep 17 00:00:00 2001 +From ca30bb51550a05c73c3c0371706a147f47623f61 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 039/150] dmaengine: Add support for BCM2708 +Subject: [PATCH 039/153] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67798,10 +67798,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From 29e61056ab4db393ca9c04744187afbf052e25a0 Mon Sep 17 00:00:00 2001 +From 5113c1f2caa7a87e31106500b65d118f3600a660 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 040/150] MMC: added alternative MMC driver +Subject: [PATCH 040/153] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69681,10 +69681,10 @@ index 279b39008a33bb68745d9ea55ea5dd7ed522fd1c..49bdea5791a289251019a89419804dde unsigned int erase_size; /* erase size in sectors */ -From 67761e736056d365817aad7a4a023ec2f7d555e6 Mon Sep 17 00:00:00 2001 +From 848ac2322470df0df23217a2cf74af28c29ff383 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 041/150] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 041/153] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -72090,10 +72090,10 @@ index 0000000000000000000000000000000000000000..9c6f199a7830959f31012d86bc1f8b1a +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 63d4b77c65c02e0b2b787cd8be17801e1dfd6ea1 Mon Sep 17 00:00:00 2001 +From 84277f3081addf64e8127a77e8f564fd21ec2056 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 042/150] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 042/153] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72618,10 +72618,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 10d02e7028b532da989a2f5136c737e8da846504 Mon Sep 17 00:00:00 2001 +From 01df8efda9149785bb4c1e85986ede3fd373843d Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 043/150] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 043/153] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77499,10 +77499,10 @@ index 0000000000000000000000000000000000000000..b75729d762f25aace133f7a008633b40 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 4cace99d220bc57da87636b12a40cd92cf4b1b05 Mon Sep 17 00:00:00 2001 +From 144fb6d358415b59eede4cf42c647ac65094e128 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 044/150] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 044/153] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -77810,10 +77810,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 9ebc192262ac457afdf23ebafaa1c6978c598ff7 Mon Sep 17 00:00:00 2001 +From 163f0aea3c62168f0cac4f7cfa819ef4d6121a57 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 045/150] Add SMI driver +Subject: [PATCH 045/153] Add SMI driver Signed-off-by: Luke Wren --- @@ -79764,10 +79764,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 940e1644d707b301d9cb75349039f144e2e2aca6 Mon Sep 17 00:00:00 2001 +From 8d84ad94e9f9e0c1a2cbebfd274c9e27f362c8ba Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 046/150] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 046/153] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -79936,10 +79936,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From e1ea61ef1b44194d1f733f0ca9e5cda296d3bd48 Mon Sep 17 00:00:00 2001 +From 75a1c02a542e4b15e72bad92b2c0f1fce4dada64 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 047/150] Add SMI NAND driver +Subject: [PATCH 047/153] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -80304,10 +80304,10 @@ index 0000000000000000000000000000000000000000..c4826ea1c2bae555ce780e61f1076ddd + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From ebb9e3e9e9cdf636c1a796ba55ee2ab6b2fb4156 Mon Sep 17 00:00:00 2001 +From 9760b998f1cc383b171b0823a84c62b63ed7be44 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 048/150] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 048/153] 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 @@ -81167,10 +81167,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From 24bdb523756494d478cc8bed0698e017a3f76f05 Mon Sep 17 00:00:00 2001 +From 502c0f0fe446d2ae0f398e0017dc28983423b01c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 049/150] Add cpufreq driver +Subject: [PATCH 049/153] Add cpufreq driver Signed-off-by: popcornmix @@ -81434,10 +81434,10 @@ index 0000000000000000000000000000000000000000..99345969b0e4d651fd9033d67de2febb +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 6cc62aa01af785d1727b22497a42a94aad415e97 Mon Sep 17 00:00:00 2001 +From 4785fd0e45b1cf2b493bf60e7e96cc56ba096e72 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 050/150] Add Chris Boot's i2c driver +Subject: [PATCH 050/153] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82102,10 +82102,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From bf72782e67afc065841d1cba7cc825616eb76e45 Mon Sep 17 00:00:00 2001 +From 10902ddb3fd083a78320c24389394ea00a8958da 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 051/150] char: broadcom: Add vcio module +Subject: [PATCH 051/153] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82330,10 +82330,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From d1bb99482eaf23c751c41b6f7ceabcf345e6af24 Mon Sep 17 00:00:00 2001 +From 4d17dbeb53cc127936c47fffbe8f2445094ba1a2 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 052/150] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 052/153] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82416,10 +82416,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 2ad67a7989f7d7ea4bfcecc1f647b881c79243c1 Mon Sep 17 00:00:00 2001 +From 7b7bbec6aae5ef1fe83729a9db5ffca4a9a0bd16 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 053/150] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 053/153] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -82946,10 +82946,10 @@ index 0000000000000000000000000000000000000000..84be2593ec1de8f97b0167ff06b3e05d + return $trailer; +} -From d5045ca293e4c956ea9a0d345f9d67cc6411a4ec Mon Sep 17 00:00:00 2001 +From e0f239928ef3916ecbd207e4979d0dc9daf4931c Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 054/150] BCM2708: Add core Device Tree support +Subject: [PATCH 054/153] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -95414,10 +95414,10 @@ index 04b5633df1cfafa316f9086c4bf98a9ecf9d0939..d523d1e14220a369c4c766ca3a01208e # Bzip2 -From f251fcf745aba535ed4a942d520d644da5e6050c Mon Sep 17 00:00:00 2001 +From 4c9508e967a17783dbe95c121494b1515cb8da4d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 055/150] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 055/153] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -95592,10 +95592,10 @@ index bf6db4fe895bcd67e04ee65e8f76ea104af6299f..8741dca6dba65e2d72fbdbc1702139c2 /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From 143690a1aa97db9ac343e58a1bb656057777b0be Mon Sep 17 00:00:00 2001 +From 5b2e2166388214ff8119adc6350291a792017372 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 056/150] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 056/153] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -95863,10 +95863,10 @@ index 6cd9b198b7c64eb94821f2e3f2c5201e6c6d25eb..f36c92c2da7487437c33f7a4e2c6e09e __u32 dx; /* screen-relative */ __u32 dy; -From 145bfac8fd6d4b77703f4fea9db90e183e99959e Mon Sep 17 00:00:00 2001 +From f5a74c5cfcca80698218d7244f411a3d1d538ceb Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 057/150] Speed up console framebuffer imageblit function +Subject: [PATCH 057/153] 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 @@ -96075,10 +96075,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 3ee8a840abd103731fd182136d4c7d518f599ac1 Mon Sep 17 00:00:00 2001 +From 741769584c368b40b1848df4f500c732b68bc737 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 058/150] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 058/153] 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 @@ -96328,10 +96328,10 @@ index 5b2972946dda5f9ad415f1eaeaab67743a5cc0f0..b3558b7c9efb2484b40e31312aee197b u8, w1_slave_found_callback); }; -From 35a38cca06018a45a1a07c527071b2e9dfba1afe Mon Sep 17 00:00:00 2001 +From 7f410ef791e027c6081fc08aa90e40f2b2d5df61 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 059/150] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 059/153] 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 @@ -96676,10 +96676,10 @@ index 0000000000000000000000000000000000000000..9d7d05482355d168c5c0c42508cd9789 +MODULE_DESCRIPTION("Touchscreen driver for memory based FT5406"); +MODULE_LICENSE("GPL"); -From 3c2ed6c46544685d43ca58dab17c19ea903485b0 Mon Sep 17 00:00:00 2001 +From 8abfd9aff194ea784e37e9ad1539b1cbcc614787 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 060/150] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 060/153] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -98259,10 +98259,10 @@ index 971bc298f63eeeed418131b7b7200ac91b0d73f1..78e9f6e8c6fdebdb754cb703095d1726 bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 57a40c04b96521d6ff87a9447747205e19c89964 Mon Sep 17 00:00:00 2001 +From cb985198fc784f063fedf35c8ba1319865e36eb4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 061/150] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 061/153] 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 @@ -98297,10 +98297,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From 616a13de2876122ecb63d590f43b3286ef2ba1ed Mon Sep 17 00:00:00 2001 +From 8179fe353971009b366efb8227c76e0f6bffedd1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 062/150] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 062/153] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -99165,10 +99165,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 6cbb48af13feb9b2aba7fc9345f75604d2599020 Mon Sep 17 00:00:00 2001 +From 9823b2e030763c91fb4e46220f2aa19163272053 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 063/150] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 063/153] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -99343,10 +99343,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From ad3343c8126a2bdcf5ecc74364d60864227c2050 Mon Sep 17 00:00:00 2001 +From ed458b09d4a51824f2e97a35525ff213c1c0cf14 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 064/150] ASoC: Add support for Rpi-DAC +Subject: [PATCH 064/153] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -99630,10 +99630,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 86c71d07b34665c1228abceaafee87c6a0529061 Mon Sep 17 00:00:00 2001 +From b34e0eb31729b9ef5f6551434dd1f3f7f2540cc0 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 065/150] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 065/153] 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 @@ -99682,10 +99682,10 @@ index fc69b87443d80489382b97332de6d5ad12a58ec8..d8fdce81b297dcf02e144bdead0c6193 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From e78eb58f05cb4c4f4dda46617be1ea1e92a17455 Mon Sep 17 00:00:00 2001 +From e777b00435a1ddfe47e0225ea3080f1934471fde Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 066/150] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 066/153] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -100029,10 +100029,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 0bc00750ca5ba9b874f2a134829bf3f491ae5cb4 Mon Sep 17 00:00:00 2001 +From c8b2ff8735963ef937dd7f9f624db2cbe0ad3e89 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 067/150] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 067/153] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -100367,10 +100367,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From abf5e903c6cde442acbc38ed875b63466fead9d9 Mon Sep 17 00:00:00 2001 +From 771b0239d22d0093720e44f598b55ed685ce47d8 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 068/150] Added support for HiFiBerry DAC+ +Subject: [PATCH 068/153] 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. @@ -101005,10 +101005,10 @@ index 68feae262476492ae3a0b30855dbb09e96fa187e..f7b0977017ed5a6c02eafa0147d49d66 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From de70d35d8ba0d2b50924fd1363474c5d086994c7 Mon Sep 17 00:00:00 2001 +From 564ad3a0dff7d3762fcec8b11c5709f1f231d0e4 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 069/150] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 069/153] 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. @@ -101843,10 +101843,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 89f62cc4e8ee4852bab83a3065103dbb10f0ad1c Mon Sep 17 00:00:00 2001 +From c7a9de57a6b40c476cde8465acde52ee2c01d469 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 070/150] Add driver for rpi-proto +Subject: [PATCH 070/153] 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 @@ -102061,10 +102061,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 997e4a57c1edba111b4a72beef5dd242ceff09ed Mon Sep 17 00:00:00 2001 +From 8827b48a3639090f25e970490a71d8d06dca4d6c Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 071/150] RaspiDAC3 support +Subject: [PATCH 071/153] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -102307,10 +102307,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 336ddf15db17af67f37fa2e63422f07b18cc4b76 Mon Sep 17 00:00:00 2001 +From f1d3aa77723dd87abd8c96fddd812b6ee3579b5c Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 072/150] Add Support for JustBoom Audio boards +Subject: [PATCH 072/153] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -102766,10 +102766,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From a0dac89e420629804db6baf5dbd1c4f0d982c4a3 Mon Sep 17 00:00:00 2001 +From 01fdacb24e436c1ba67739f07915e7cee50806ae Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 073/150] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 073/153] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -102951,10 +102951,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 840712539de56c1eb27a4c4e18df269d90dd1aa6 Mon Sep 17 00:00:00 2001 +From d84cad98b6f4047d57cfe682b41036e54fe4079f Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 074/150] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 074/153] 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. @@ -103205,10 +103205,10 @@ index 0000000000000000000000000000000000000000..491906bbf446826e55dd843f28e4860f +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From fe295d182feaef4d3bda40397fae253acebd034a Mon Sep 17 00:00:00 2001 +From 9232dfaaa0904959f6eae02d41ef676f98d68a36 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 075/150] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 075/153] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -103508,10 +103508,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 17ae43fe90d0ebdbe11977b28a4766226646d949 Mon Sep 17 00:00:00 2001 +From ccb7368641b55b3f4c7c98ba4be50fbadbc08afe Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 076/150] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 076/153] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -103984,10 +103984,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 473b602337b818b7b1508b552c8ea21199aea2cb Mon Sep 17 00:00:00 2001 +From c3fd70092add2804be18b25219a8cd6bd3e53906 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 077/150] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 077/153] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -104160,10 +104160,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 356bfbeae804489a1d8203296e9bf0657804d477 Mon Sep 17 00:00:00 2001 +From aee89cca7c2edf07b5b180aefbda4b65a32e7230 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 078/150] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 078/153] 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, @@ -104370,10 +104370,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From a692292384ce8a0514514b80e07dcd4240a32c93 Mon Sep 17 00:00:00 2001 +From 1495a428d4881610298555652708f63ad9616f79 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 079/150] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 079/153] 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. @@ -105461,10 +105461,10 @@ index 0000000000000000000000000000000000000000..1800f5e4d414e2d83a9487a89a2800a3 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From a7af0efd0891ba34876433069712600686bbab5e Mon Sep 17 00:00:00 2001 +From 78c908840ca240f912e93a56f865738e11d0364a Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 080/150] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 080/153] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -106167,10 +106167,10 @@ index 0000000000000000000000000000000000000000..203ab76c7045b081578e23bda1099dd1 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From 87a85a74d3f76855bd1d545480ace4adb9d9cbbd Mon Sep 17 00:00:00 2001 +From c8cd41425e3ce2deb0e7457e4b536fbf06cc09d9 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 081/150] Support for Blokas Labs pisound board +Subject: [PATCH 081/153] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -107369,10 +107369,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From ce1b3c9437bfee7773c8f4e6e582ae385ac76bda Mon Sep 17 00:00:00 2001 +From f98525d676864a3d2a11d17d253f990c55edb9cc Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 082/150] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 082/153] 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 @@ -108437,10 +108437,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From 871d89b758e38faf50e1938fd8527bbf96c16fc3 Mon Sep 17 00:00:00 2001 +From 11bc4547487c4fab6574c829452b95f34df00d24 Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 083/150] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 083/153] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -108635,10 +108635,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From 8344fd3e93560eade0b0a407271b419437bcd73d Mon Sep 17 00:00:00 2001 +From 1388fbf67cf365e1e809152a0a4f985b6f0e3fdf Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 084/150] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 084/153] 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. @@ -108852,10 +108852,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From a6bdaf46b0d8a177328d6706846c77a3cc49d02b Mon Sep 17 00:00:00 2001 +From 3826832b97d4ec8c6437b002dcaef696af9f0fc5 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 085/150] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 085/153] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset @@ -109264,10 +109264,10 @@ index 0000000000000000000000000000000000000000..5e79f4eff93a21ed3495c77a90f73525 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From bed5ced5d21fe2c59caf1f5a499609c1d04d2c79 Mon Sep 17 00:00:00 2001 +From dfe881d972f4f8b574513ac06232d0054f0a00e8 Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 086/150] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 086/153] Driver support for Google voiceHAT soundcard. --- sound/soc/bcm/Kconfig | 7 ++ @@ -109658,10 +109658,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From 379618a22a229347ddcca0f7602ac054967eaea9 Mon Sep 17 00:00:00 2001 +From 4a91c52edc381c3a370939ff78054d84f5ac9489 Mon Sep 17 00:00:00 2001 From: sandeepal Date: Fri, 2 Jun 2017 18:59:46 +0530 -Subject: [PATCH 087/150] Allo Digione Driver (#2048) +Subject: [PATCH 087/153] Allo Digione Driver (#2048) Driver for the Allo Digione soundcard @@ -109984,10 +109984,10 @@ index 0000000000000000000000000000000000000000..9387b055875fdf92a13dc4a9d2727f95 +MODULE_DESCRIPTION("ASoC Driver for Allo DigiOne"); +MODULE_LICENSE("GPL v2"); -From af94db3b3f32b3d76826c714281e7712af3c0dd5 Mon Sep 17 00:00:00 2001 +From 7da4e894dfee779f967cbc638eca6c1fef34cdc5 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 088/150] rpi_display: add backlight driver and overlay +Subject: [PATCH 088/153] 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 @@ -110156,10 +110156,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 677b1332e0203d5a9a644980684286a9b7a7557b Mon Sep 17 00:00:00 2001 +From 517aa188ee52dc6fa1cf6e06a66657ec1cc2e576 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 089/150] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 089/153] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -110420,10 +110420,10 @@ index 0000000000000000000000000000000000000000..c3725546def9d4a6264fbb1f6b9814d0 +MODULE_DESCRIPTION("brcmvirt GPIO driver"); +MODULE_ALIAS("platform:brcmvirt-gpio"); -From d8e2fdfc579e00f3367177f825af2fff19a72b1b Mon Sep 17 00:00:00 2001 +From cd6c221f3e82074f4c819c2cba4a8888cb21f0ca Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 090/150] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 090/153] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -110732,10 +110732,10 @@ index 0000000000000000000000000000000000000000..d68adafaee4ad406f45f4ff0d6b7c1ad +MODULE_DESCRIPTION("brcm-exp GPIO driver"); +MODULE_ALIAS("platform:brcmexp-gpio"); -From 9d36f8520856a74eecb086f8fca6f4f4042730ae Mon Sep 17 00:00:00 2001 +From 925c5e80ca8f74a27a6e21bfdc9645aa3e2e635b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 091/150] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 091/153] 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 @@ -110764,10 +110764,10 @@ index 111e6a95077978c2c30bfe2a2de4a0d095e8d76e..584471add0962c0e26eb814fc0ef43ee uap->old_cr = 0; uap->port.dev = dev; -From 2f440d0da7a22be0cb2b1eeab694e10f834a58d6 Mon Sep 17 00:00:00 2001 +From 966fcbca63907108d7f36f9c5c3300681b16a903 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 092/150] amba_pl011: Round input clock up +Subject: [PATCH 092/153] 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 @@ -110853,10 +110853,10 @@ index 584471add0962c0e26eb814fc0ef43eea99b2d29..bfbc845d7be9ef804468d0a82da18d9b /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From 42442767c9a260cb6f2a4cac96e228a7da68ee67 Mon Sep 17 00:00:00 2001 +From e0d872051c3923feecb7ee080c58c503d94d67d2 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 093/150] OF: DT-Overlay configfs interface +Subject: [PATCH 093/153] 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. @@ -111289,10 +111289,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 1c8f7869da68ad83222c977cb331f6b67e186910 Mon Sep 17 00:00:00 2001 +From 14d1f12ac54cb2725eb0c68030d00029ef8084ff Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 094/150] brcm: adds support for BCM43341 wifi +Subject: [PATCH 094/153] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -111403,7 +111403,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 613caca7dc020a78985b22521422700022c37473..971c68a261f2d041806655dd66636aee2c28a6bc 100644 +index b3fa8ae804650f7ea838ff59ca84dfb6ca24da90..c1e86df297edf2fa7f641e36ccbfc7334f672e8b 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"); @@ -111424,10 +111424,10 @@ index 613caca7dc020a78985b22521422700022c37473..971c68a261f2d041806655dd66636aee BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From 47d314b9b88bd20da80585373df42b1fe4a27138 Mon Sep 17 00:00:00 2001 +From f98799fcaa50b602af8336204b5ee81436a3dac6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 095/150] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 095/153] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -111451,10 +111451,10 @@ index 2d3b5e2a3ef7cd6186487b48665b401249380d18..e417454f5d6ec136cda29e65af5449f2 req->alpha2[0], req->alpha2[1]); return; -From 65c54a39b851c2ef39a2dfac66d01ad9111a511d Mon Sep 17 00:00:00 2001 +From 44622c38b329d086e97635230fcf08077b026e94 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 096/150] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 096/153] 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. @@ -111477,10 +111477,10 @@ index c0e4e26dc30d7c3c6a771b7b86df88c8cf763646..7308287259eedcaf229f8a496a0e3826 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From aa1386e364672501431f75b2c8182fb0bfc1c788 Mon Sep 17 00:00:00 2001 +From 8e6b0c31e930cc573203a22ed9f460e914119a30 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 097/150] config: Add default configs +Subject: [PATCH 097/153] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1339 +++++++++++++++++++++++++++++++++++ @@ -114185,10 +114185,10 @@ index 0000000000000000000000000000000000000000..c1da808d40bc8e867b41d3566bd60a75 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From f2d0f05c0ae83346d5c7cd1ffd851428fde0c3cb Mon Sep 17 00:00:00 2001 +From 886376d2e70ee4c8ca3d16553788c2ee1c7cce1f Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 098/150] Add arm64 configuration and device tree differences. +Subject: [PATCH 098/153] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -115602,10 +115602,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From 0740db7c14be6c8a6b217c43738331dbc8d0ba78 Mon Sep 17 00:00:00 2001 +From 0ce751c206739ed146768382eade77977cf72b6e Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 099/150] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 099/153] 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. @@ -116016,10 +116016,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From 0df4610d763a8004d5eb20acb5c291f3496e9405 Mon Sep 17 00:00:00 2001 +From b447ef2d8c33209651426f33f44d5e3ffa2ea80d Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 100/150] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 100/153] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -116048,10 +116048,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From c2f701081fd62e093679740260428f1cd5248a8c Mon Sep 17 00:00:00 2001 +From a62c8d437b9559754753bd7c74263a9272c52163 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 101/150] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 101/153] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -116096,10 +116096,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From d005d1cb2c1974bf0fb46fa2f8a764ba50890b29 Mon Sep 17 00:00:00 2001 +From 6ff67d6250ec8b1d45d9d10fd6617797b683bef6 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 102/150] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 102/153] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -116131,10 +116131,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From c100907ce1944562ee660ee543eb3798493a8ccd Mon Sep 17 00:00:00 2001 +From a5aa33e90ae0e1c6c1b4b01546e6fca21f3c106d Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 103/150] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 103/153] 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 @@ -116159,10 +116159,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From 81ac65f8da3f9d1c2a7f1cdf5138e5fa36c95b9d Mon Sep 17 00:00:00 2001 +From bd97c107a2b523c498763aa25232decc4305f3e8 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 104/150] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 104/153] 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 @@ -116505,10 +116505,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From d2a208e4b7ec21d9a581eb5b9e99ef8e3ed36e79 Mon Sep 17 00:00:00 2001 +From b60fb4f3ba10df0e03327a697a6ebbd9ec7e4c44 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 105/150] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 105/153] 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 @@ -116582,10 +116582,10 @@ index 86b357ae027bf8ba1ac32cd150a8cf21e36597e2..05b17ca993f405c4c8e61a782ec58149 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From b9614b669f416188bc65f7387efed80a62ac945e Mon Sep 17 00:00:00 2001 +From a555bd64893ca8f6606364c7bc9ddd5d58fb8d3f Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 106/150] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 106/153] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -116606,10 +116606,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From 221503f81ef05e1ae14540dd3350c6403ef346d5 Mon Sep 17 00:00:00 2001 +From 74d5e54092294c2b95342d81508692811c686950 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 107/150] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 107/153] ARM64: Force hardware emulation of deprecated instructions. --- @@ -116637,10 +116637,10 @@ index d06fbe4cd38d7423c900aff64b0e728f995478d3..877b7c90f9555203d5d55d739359a256 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From a839d1efd5beec7ee4cf05b5612ac93fba45088f Mon Sep 17 00:00:00 2001 +From 0d3a72a73230d3d40a3fd70bfc25b7e2582930cf Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 108/150] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 108/153] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -116665,10 +116665,10 @@ index 3eb4397150df8cb3ce1d60c69f4efb727377ba23..ba7508b89589e618221df693d6cd876e dtbs: prepare scripts -From d10eea6195d7db6b4fb762046baefde256f27f17 Mon Sep 17 00:00:00 2001 +From b50ded5040101c3d8535c983a7a17a85509f9c45 Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 24 May 2017 10:52:50 +0200 -Subject: [PATCH 109/150] enable drivers for GPIO expander and vcio +Subject: [PATCH 109/153] enable drivers for GPIO expander and vcio --- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ @@ -116696,10 +116696,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..9dcb58a519d041fadae99c81a7bda621 CONFIG_GPIO_ARIZONA=m CONFIG_GPIO_STMPE=y -From 403451429820cbe3a073ffefe1d7988eb7bdb865 Mon Sep 17 00:00:00 2001 +From 48a89d0b97d34e9e13611ce4819154ced05c8a49 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 110/150] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 110/153] 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 @@ -116863,10 +116863,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From 344c9c21ee82d116e33dd247dbeb869eeb0b5063 Mon Sep 17 00:00:00 2001 +From 8a73dfe63cb46f6bb0fa678e92fb568f1934ec6b Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 111/150] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 111/153] 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. @@ -132998,10 +132998,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From 51632bb34c204cc0f2b1566f0aa8a1533c24c888 Mon Sep 17 00:00:00 2001 +From 2683bc498ecb8c1b4b42019edacb2bb3ce4dda4f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 112/150] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 112/153] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -133033,10 +133033,10 @@ index 3f070bd38a91511c986e3fb114b15bd4ac32634c..f261b64d1657c02290904d841e1f087c /** * rpi_firmware_property_list - Submit firmware property list -From 06d29b5be83b26619c182a03c30e782a31e2599a Mon Sep 17 00:00:00 2001 +From 08d778632a627969a3a4ab6dff81801fbee5dc5c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 113/150] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 113/153] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -133807,10 +133807,10 @@ index 0000000000000000000000000000000000000000..78c34305935501248b1ca548a1ee0175 + }, +}; -From 9a1b2b1bf331971697d02ac478f498cecf7aa46f Mon Sep 17 00:00:00 2001 +From 612cf54dfda8e34ac94c1f574fc8cd9d3f76afea Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 114/150] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 114/153] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -133834,10 +133834,10 @@ index 78c34305935501248b1ca548a1ee01753b8fa099..d9a5551d01a2155e3df1bbbd78a1ee2b if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From 24f32ea253853f074ceab2bd26d14031aa695724 Mon Sep 17 00:00:00 2001 +From 7b4d7413a8ccbe1b2ae8d4d2489fe92663abb4c8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 115/150] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 115/153] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -133907,10 +133907,10 @@ index d9a5551d01a2155e3df1bbbd78a1ee2b961be946..e372666af0119b1876bad5167e6d0ff8 RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From 3bf335b891d2d61491ecc3e06f4f8143af4fa68f Mon Sep 17 00:00:00 2001 +From 44d882f926ffafc0165d43e6e51e17d0a6670acd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 116/150] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 116/153] 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 @@ -133952,10 +133952,10 @@ index e372666af0119b1876bad5167e6d0ff8945d1b80..4d7b7f218cbbc9e7abcaa37743978060 static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From 062891283f173de6823b13aa9652ab896b320a7b Mon Sep 17 00:00:00 2001 +From dc76d92762815ea2cd74a0cb7d148a5e7f063645 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 117/150] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 117/153] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -134012,10 +134012,10 @@ index 4d7b7f218cbbc9e7abcaa37743978060b73fbdd1..d170775ccc985637ff018804f510a500 return 0; -From 30dc3f98b45062e07f0033569e51a19ba966b4fc Mon Sep 17 00:00:00 2001 +From f643f4576f83f5df230ec118cdc8fb82c5dce5db Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 11:34:26 +0200 -Subject: [PATCH 118/150] ASoC: bcm2835: Add support for TDM modes +Subject: [PATCH 118/153] 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 @@ -134417,10 +134417,10 @@ index 56df7d8a43d0aac055a91b0d24aca8e1b4e308e4..dcacf7f83c9371df539a788ea33fedcf dev->dev = &pdev->dev; dev_set_drvdata(&pdev->dev, dev); -From 721076c7c697af01d6d1bc674929a988d66a2cfd Mon Sep 17 00:00:00 2001 +From f78ee9c8bec68ae14ff8ab36fc476e4478623b15 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 15:30:50 +0200 -Subject: [PATCH 119/150] ASoC: bcm2835: Support left/right justified and DSP +Subject: [PATCH 119/153] ASoC: bcm2835: Support left/right justified and DSP modes DSP modes and left/right justified modes can be supported @@ -134666,10 +134666,10 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 } -From a7b9cd9dbc3afc79c7ac8ca67e7ed957c80a0bb3 Mon Sep 17 00:00:00 2001 +From 493324654bdfc5e4883f6120d1f53522cf30e5c2 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:19:54 +0200 -Subject: [PATCH 120/150] ASoC: bcm2835: Support additional samplerates up to +Subject: [PATCH 120/153] ASoC: bcm2835: Support additional samplerates up to 384kHz Sample rates are only restricted by the capabilities of the @@ -134712,10 +134712,10 @@ index 3a706fda4f39e42efbe12f19d87af9b100a348a5..43f5715a0d5dda851731ecf7ff27e76c | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE -From c31edc1a046bde642372642b1adf547880c28301 Mon Sep 17 00:00:00 2001 +From 0bd11111aa5577f51327f6573b8b1a85bff6d5be Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:24:57 +0200 -Subject: [PATCH 121/150] ASoC: bcm2835: Enforce full symmetry +Subject: [PATCH 121/153] 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. @@ -134751,10 +134751,10 @@ index 43f5715a0d5dda851731ecf7ff27e76c48fb6e57..2e449d7173fcecbcd647f90a26bd58b6 static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg) -From 4b620195999e6cb1b83a94d0fe908056d4242a24 Mon Sep 17 00:00:00 2001 +From b416c761f2c8d84bd5d5e1403b764ccf4a9d0231 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 5 Jun 2017 16:40:38 +0100 -Subject: [PATCH 122/150] dma-bcm2708: Fix module compilation of +Subject: [PATCH 122/153] dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 bcm2708-dmaengine.c defines functions like bcm_dma_start which are @@ -134797,10 +134797,10 @@ index c5bfff2765be4606077e6c8af73040ec13ee8974..6ca874d332a8bc666b1c9576ac51f479 #endif /* _PLAT_BCM2708_DMA_H */ -From 16989b9f9348516c596338dae81b02067e32261b Mon Sep 17 00:00:00 2001 +From a099578a2f4678707b1510f976c6de441631a514 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 25 Aug 2017 19:18:13 +0100 -Subject: [PATCH 123/150] cache: export clean and invalidate +Subject: [PATCH 123/153] cache: export clean and invalidate --- arch/arm/mm/cache-v6.S | 4 ++-- @@ -134852,10 +134852,10 @@ index de78109d002db1a5e7c94a6c1bc8bb94161d07b8..4c850aa3af2b2439fced4e130441329a sub r3, r2, #1 bic r0, r0, r3 -From 3505d5bdd31a9d2365e981e458443077e11569da Mon Sep 17 00:00:00 2001 +From 01ddfa45eb695e9725faf6e10db04aefc0ec9535 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 124/150] amba_pl011: Insert mb() for correct FIFO handling +Subject: [PATCH 124/153] amba_pl011: Insert mb() for correct FIFO handling The pl011 register accessor functions use the _relaxed versions of the standard readl() and writel() functions, meaning that there are no @@ -134882,10 +134882,10 @@ index bfbc845d7be9ef804468d0a82da18d9b67857216..424bdc500864a86e5d431763ba416b52 return true; -From 0cb10c8479770b8c33aa1f23d43a9c289d156a1d Mon Sep 17 00:00:00 2001 +From 6c50ca5bfd50dc095e4dd0a90ec52955d6f5ed95 Mon Sep 17 00:00:00 2001 From: Chung-Hsien Hsu Date: Sun, 14 May 2017 20:11:05 -0500 -Subject: [PATCH 125/150] brcmfmac: add CLM download support +Subject: [PATCH 125/153] brcmfmac: add CLM download support Future firmwares will be provided with minimal built-in CLM - the NULL region (#n/0) becomes the initial country. It cannot be changed @@ -135241,7 +135241,7 @@ index e6e9b00b79d71fddec6249be0109c088846bd35f..3c87157f5b8513d7bb00a4602c22859d diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c -index 971c68a261f2d041806655dd66636aee2c28a6bc..2d211bf4cafbafca5dd0b7a4aa8d80ee24b98adb 100644 +index c1e86df297edf2fa7f641e36ccbfc7334f672e8b..103fd5368aa1ee94f24c16b813f92a0958198633 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c @@ -3980,6 +3980,24 @@ brcmf_sdio_watchdog(unsigned long data) @@ -135313,10 +135313,10 @@ index 11ffaa01599eb4b343b7f675dc275fc8572d127e..b27170c12482de0ca4115b4bc9484c21 static int brcmf_usb_bus_setup(struct brcmf_usbdev_info *devinfo) -From 9baf711884a54f95f0d28fd5418deac014819597 Mon Sep 17 00:00:00 2001 +From 1f596c749ca4b3e18700cb09c84b27fdff594b0a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Oct 2017 13:23:32 +0100 -Subject: [PATCH 126/150] brcmfmac: request_firmware_direct is quieter +Subject: [PATCH 126/153] brcmfmac: request_firmware_direct is quieter Since we don't have any CLM-capable firmware yet, silence the warning of its absence by using request_firmware_direct, which should also @@ -135341,10 +135341,10 @@ index f0309e039592ba6e388084a13f052c03f99cf1ef..b5889360da96096775db6425337a7215 if (err == -ENOENT) return 0; -From 5eb9ecd1e0ec47ef5240711971760ab7be5034a2 Mon Sep 17 00:00:00 2001 +From 64c14e6f4921efa726be39ec22c0475fe0cc9f01 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 127/150] amba_pl011: Add cts-event-workaround DT property +Subject: [PATCH 127/153] amba_pl011: Add cts-event-workaround DT property The BCM2835 PL011 implementation seems to have a bug that can lead to a transmission lockup if CTS changes frequently. A workaround was added to @@ -135393,10 +135393,10 @@ index 424bdc500864a86e5d431763ba416b5298c777dc..b224306633f62c398ef904734a903d4e uap->vendor = vendor; uap->fifosize = vendor->get_fifosize(dev); -From fc0c08f7e445eab7a976285c4bb75e4c7113cfed Mon Sep 17 00:00:00 2001 +From 791436878b231a6c781a71db81cb82122c5c97d0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 Oct 2017 13:48:04 +0100 -Subject: [PATCH 128/150] amba-pl011: Report AUTOCTS capability to framework +Subject: [PATCH 128/153] amba-pl011: Report AUTOCTS capability to framework The PL011 has full hardware RTS/CTS support which is enabled by the driver when flow control is requested. However, it doesn't @@ -135439,10 +135439,10 @@ index b224306633f62c398ef904734a903d4e75df65c3..3b743cf8a94c279ff8d0b747f98062d0 if (uap->vendor->oversampling) { -From 3e48b9a3ef2e5f375b11bcfb180aa8c991cacb77 Mon Sep 17 00:00:00 2001 +From c8d8bea79a0105dfd0a3823032173f68730373fc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Oct 2017 09:20:56 +0100 -Subject: [PATCH 129/150] scripts: Update mkknlimg, just in case +Subject: [PATCH 129/153] scripts: Update mkknlimg, just in case With the removal of the vc_cma driver, mkknlimg lost an indication that the user had built a downstream kernel. Update the script, adding a few @@ -135485,10 +135485,10 @@ index 84be2593ec1de8f97b0167ff06b3e05d231c4ba0..d72e15224232d5164374e93be48949bf my $res = try_extract($kernel_file, $tmpfile1); -From 9381d7c74a5ce14b70938b837009760d9d404db3 Mon Sep 17 00:00:00 2001 +From 7a34141e3e8999b622e104f96f3f0ce6a48337fc Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 14 Nov 2017 15:13:15 +0000 -Subject: [PATCH 130/150] AXI performance monitor driver (#2222) +Subject: [PATCH 130/153] AXI performance monitor driver (#2222) Uses the debugfs I/F to provide access to the AXI bus performance monitors. @@ -136174,10 +136174,10 @@ index 0000000000000000000000000000000000000000..bafe03b6c000060e78404d65a0aa96d8 +MODULE_LICENSE("GPL"); + -From cf82a931f06f4c996205af80a9b2c6d56ce88693 Mon Sep 17 00:00:00 2001 +From c811bf410eec6f5ff627c6674c3ed09e4638c4e8 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Fri, 21 Jul 2017 09:55:12 +0100 -Subject: [PATCH 131/150] Sets the BCDC priority to constant 0 +Subject: [PATCH 131/153] Sets the BCDC priority to constant 0 This is to workaround for a possible issue in the wireless chip firmware where some packets with @@ -136203,10 +136203,10 @@ index 9f2d0b0cf6e5c452ad85a3caef58cf16a8cdad46..b009f3083490c2bc2733424f08f81b9f h->data_offset = offset; BCDC_SET_IF_IDX(h, ifidx); -From 651b691735de48abc5f1a956a2c4711351e9378f Mon Sep 17 00:00:00 2001 +From 5c13505376eed9b8292d361c4578ff4786998f35 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 13:46:13 -0700 -Subject: [PATCH 132/150] drm/panel: Add support for the Raspberry Pi 7" +Subject: [PATCH 132/153] drm/panel: Add support for the Raspberry Pi 7" Touchscreen. This driver communicates with the Atmel microcontroller for sequencing @@ -136787,10 +136787,10 @@ index 0000000000000000000000000000000000000000..1a536fe4d040f5fafe324baee110a622 +MODULE_DESCRIPTION("Raspberry Pi 7-inch touchscreen driver"); +MODULE_LICENSE("GPL v2"); -From 1f3743ba05a9df789ba541d8f5d734f520bd17f4 Mon Sep 17 00:00:00 2001 +From d68b869a51f869d95e29d249248dc6057713fe11 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 12 Apr 2017 17:52:56 -0700 -Subject: [PATCH 133/150] panel-raspberrypi-touchscreen: Fix NULL deref if +Subject: [PATCH 133/153] panel-raspberrypi-touchscreen: Fix NULL deref if probe order goes wrong. If the i2c driver hadn't pobed before the panel driver probes, then @@ -136817,10 +136817,10 @@ index 1a536fe4d040f5fafe324baee110a6225dd0be08..5d6bfd81b07a11a0cb407f4301d22931 } -From 09836dcfce1a29febefa1006f3257acaa298c097 Mon Sep 17 00:00:00 2001 +From 92741ff3c2699d9a0002e1a0e9cd0abb208f6d92 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 6 Mar 2017 12:17:16 -0800 -Subject: [PATCH 134/150] panel-raspberrypi-touchscreen: Round up clk rate to +Subject: [PATCH 134/153] panel-raspberrypi-touchscreen: Round up clk rate to fix DSI panel. Commit 488f9bc8e3def93e0baef53cee2026c2cb0d8956 slightly increased the @@ -136855,10 +136855,10 @@ index 5d6bfd81b07a11a0cb407f4301d22931705fb8b1..b57b7ad9aa4c5048186e98553af59ec9 .hsync_start = HACT + HFP, .hsync_end = HACT + HFP + HSW, -From 0b6ed27389b478b5615c07df69639be9f20f304d Mon Sep 17 00:00:00 2001 +From f40a1dce8f77324fd163bfb7b5d283bff65c4fa5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Jun 2016 12:29:45 -0700 -Subject: [PATCH 135/150] BCM270X: Add the DSI panel to the defconfig. +Subject: [PATCH 135/153] BCM270X: Add the DSI panel to the defconfig. Signed-off-by: Eric Anholt --- @@ -136879,10 +136879,10 @@ index 9dcb58a519d041fadae99c81a7bda621b2a49f12..003209bf2362c2a136ab987b2f20065e CONFIG_DRM_VC4=m CONFIG_FB=y -From 9fbf1d4ea4596e6b64ee23493bec3dbd5ddcf626 Mon Sep 17 00:00:00 2001 +From a970799837e23dd27eb7313e928704511716d9e0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 6 Jul 2017 11:45:48 -0700 -Subject: [PATCH 136/150] drm/vc4: Add support for setting DPMS in firmwarekms. +Subject: [PATCH 136/153] drm/vc4: Add support for setting DPMS in firmwarekms. This ensures that the screen goes blank during DPMS (screensaver), including the cursor. Planes don't necessarily get disabled during @@ -136985,10 +136985,10 @@ index d170775ccc985637ff018804f510a5003933c9ec..766f700417f7194d6b01fa1bc18dad40 if (!vc4_encoder) return -ENOMEM; -From adbd76238d4554e28f7060330252200cbfe5ec0e Mon Sep 17 00:00:00 2001 +From 5bb5406257562f4c651b55db8828cc86ed7e7a51 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 14 Jul 2017 17:33:08 -0700 -Subject: [PATCH 137/150] drm/vc4: Fix pitch setup for T-format scanout. +Subject: [PATCH 137/153] drm/vc4: Fix pitch setup for T-format scanout. The documentation said to use src_w here, and I didn't consider that we actually needed to be using pitch somewhere in our setup. Fixes @@ -137036,10 +137036,10 @@ index 2968b3ebb895714cb8c8faeaf40dff1c996f2259..4ad0b9fcae99f74fb89d09dd52d9ffe5 DRM_DEBUG_KMS("Unsupported FB tiling flag 0x%16llx", (long long)fb->modifier); -From eb3ab1fee74d52bc568767f9c0cb6e4f652e51a7 Mon Sep 17 00:00:00 2001 +From 90502054458076a8111dc1e8897d7e451d60fc03 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 24 Aug 2017 16:16:16 +0100 -Subject: [PATCH 138/150] brcmfmac: Disable ARP offloading when promiscuous +Subject: [PATCH 138/153] brcmfmac: Disable ARP offloading when promiscuous This is a test patch for brcmfmac from Franky Lin at Broadcom to disable ARP offloading when in promiscuous mode, re-enabling the ability to @@ -137176,10 +137176,10 @@ index a4dd313140f37dc1fbb6955e1148f48bccf22f44..b9a96cbc70f0865ee8c9cff3c6164144 bool is_p2pdev, const char *name, u8 *mac_addr); void brcmf_remove_interface(struct brcmf_if *ifp, bool rtnl_locked); -From e76d76dafb85d59ee35df446850cf34d462c99cb Mon Sep 17 00:00:00 2001 +From 31db9beb36ad8add3c700e09da2bc2e76afa00b4 Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Sat, 16 Sep 2017 21:08:22 -0700 -Subject: [PATCH 139/150] brcmfmac: Avoid possible out-of-bounds read +Subject: [PATCH 139/153] brcmfmac: Avoid possible out-of-bounds read In brcmf_p2p_notify_rx_mgmt_p2p_probereq(), chanspec is assigned before the length of rxframe is validated. This could lead to uninitialized @@ -137217,10 +137217,10 @@ index 2ce675ab40ef867cf6a86ca5257a6db7ef76e80a..1c450c0727cb577f7dae25a1ce82b2db return 0; } -From a762f2eeabfc03a5b495f06cfcfcfd802949e83b Mon Sep 17 00:00:00 2001 +From 6f8686920a5544d455c688857abf342172a8412f Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Sat, 16 Sep 2017 21:08:23 -0700 -Subject: [PATCH 140/150] brcmfmac: Delete redundant length check +Subject: [PATCH 140/153] brcmfmac: Delete redundant length check brcmf_fweh_process_event() sets event->datalen to the endian-swapped value of event_packet->msg.datalen, which is the @@ -137251,10 +137251,10 @@ index ef72baf6dd969c2478a2138ea57b9f691fdf12d8..e7eaa57d11d98f61280bd99013e649aa /* special handling of interface event */ if (event->code == BRCMF_E_IF) { -From 69fd01ea204909f8649779598e42d16620e76dba Mon Sep 17 00:00:00 2001 +From 1a64eaa2fbbfc44e4f6f9c9dbd209f733672929a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Nov 2017 11:03:22 +0000 -Subject: [PATCH 141/150] mcp2515: Use DT-supplied interrupt flags +Subject: [PATCH 141/153] mcp2515: Use DT-supplied interrupt flags The MCP2515 datasheet clearly describes a level-triggered interrupt pin. Therefore the receiving interrupt controller must also be @@ -137290,10 +137290,10 @@ index f3f05fea8e1f8e0ad3a1ebd7461d2019835e1d47..6c2d3aba25918f5536b2d67292334e74 flags | IRQF_ONESHOT, DEVICE_NAME, priv); if (ret) { -From ff2e9be866351ffd2c540c1f4f7666bbe707c76b Mon Sep 17 00:00:00 2001 +From d28ed5383744b00b5353164609ad658b29087d3c Mon Sep 17 00:00:00 2001 From: James Hughes Date: Thu, 16 Nov 2017 15:56:17 +0000 -Subject: [PATCH 142/150] Tidy up of the ft5406 driver to use DT (#2189) +Subject: [PATCH 142/153] Tidy up of the ft5406 driver to use DT (#2189) Driver was using a fixed resolution, this commit adds touchscreen size, and coordinate flip and swap @@ -137677,10 +137677,10 @@ index 9d7d05482355d168c5c0c42508cd978979ee5f14..40bbde9ce1bc4c51be50f47fc359c74f } -From d48a2cbe69d3b552b30d82140b62248db79460b9 Mon Sep 17 00:00:00 2001 +From 91cd4ee5b9abe3ffccf6a49cfb20387a5e2bed3f Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 143/150] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 143/153] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -137702,10 +137702,10 @@ index ff782445dfb75d1a8af9eed775b8e8f7b275fee3..786efcddb5e56a06baf67cb91ddbbd8e .can_sleep = false, }; -From 73f55096e293319c764fb653fd67c29d0faa019b Mon Sep 17 00:00:00 2001 +From db42ef2792019abdffd6b5214ee9fde999c8c97f Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 24 Nov 2017 13:49:26 +0000 -Subject: [PATCH 144/150] fiq_fsm: rewind DMA pointer for OUT transactions that +Subject: [PATCH 144/153] fiq_fsm: rewind DMA pointer for OUT transactions that fail (#2288) See: https://github.com/raspberrypi/linux/issues/2140 @@ -137749,10 +137749,10 @@ index e47d5b6de3ada73896ff9a81abd223d345e0de4f..ec804c7cd06d2db897ce6f72fce29733 if (st->nr_errors >= 3) { st->fsm = FIQ_NP_SPLIT_HS_ABORTED; -From ceeab80e8fad0008e4a64ac641dfa245b483597e Mon Sep 17 00:00:00 2001 +From 464938974388f4e402dee955406af9477ca1db3b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 21 Jul 2017 11:30:18 +0100 -Subject: [PATCH 145/150] lan78xx: Read MAC address from DT if present +Subject: [PATCH 145/153] lan78xx: Read MAC address from DT if present There is a standard mechanism for locating and using a MAC address from the Device Tree. Use this facility in the lan78xx driver to support @@ -137799,10 +137799,10 @@ index 0161f77641fac8eafc1284a5457a7ccb273efc39..01e72b267de8f2a82fbe1ab4557dcaab (addr[2] << 16) | (addr[3] << 24); addr_hi = addr[4] | (addr[5] << 8); -From 808a641b3d4d37114b4cef891e2338719dd99726 Mon Sep 17 00:00:00 2001 +From f551b7fe347db65e055769046566e905b2678d1a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 Nov 2017 12:02:37 +0000 -Subject: [PATCH 146/150] lan78xx: Correctly indicate invalid OTP +Subject: [PATCH 146/153] lan78xx: Correctly indicate invalid OTP lan78xx_read_otp tries to return -EINVAL in the event of invalid OTP content, but the value gets overwritten before it is returned and the @@ -137829,10 +137829,10 @@ index 01e72b267de8f2a82fbe1ab4557dcaab67532da9..126fe75e75b19c1076a7dd4415a90403 return ret; -From c5282e16966e858bb264a98476add4b1e4183bc6 Mon Sep 17 00:00:00 2001 +From c630891b4100afe5439ca498a56943d3196d4fa7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Oct 2017 15:04:29 +0100 -Subject: [PATCH 147/150] lan78xx: Enable LEDs and auto-negotiation +Subject: [PATCH 147/153] lan78xx: Enable LEDs and auto-negotiation For applications of the LAN78xx that don't have valid programmed EEPROMs or OTPs, enabling both LEDs and auto-negotiation by default @@ -137880,10 +137880,10 @@ index 126fe75e75b19c1076a7dd4415a904035ba95402..26e04c732df49d09939d470c61a9ab46 ret = lan78xx_read_reg(dev, MAC_TX, &buf); -From 88e072ff870f14e523a595737deeb86f11006daf Mon Sep 17 00:00:00 2001 +From 7af3071763b890f5d5b3a6c2f0a294485c249bb4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 27 Nov 2017 17:14:54 +0000 -Subject: [PATCH 148/150] cgroup: Disable cgroup "memory" by default +Subject: [PATCH 148/153] cgroup: Disable cgroup "memory" by default Some Raspberry Pis have limited RAM and most users won't use the cgroup memory support so it is disabled by default. Enable with: @@ -137953,10 +137953,10 @@ index 44857278eb8aa6a2bbf27b7eb12137ef42628170..8f86a3d88d84ccf4b055e6d36835fffa * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From ab009e7091d475269815e4226b9289cd251a8217 Mon Sep 17 00:00:00 2001 +From 7c0f2c524e0fbde6b0c6610904c3154808bf874b Mon Sep 17 00:00:00 2001 From: Allen Wild Date: Tue, 26 Sep 2017 19:37:44 +0200 -Subject: [PATCH 149/150] thermal: enable broadcom menu for arm64 bcm2835 +Subject: [PATCH 149/153] thermal: enable broadcom menu for arm64 bcm2835 Moving the bcm2835 thermal driver to the broadcom directory prevented it from getting enabled for arm64 builds, since the broadcom directory is only @@ -137987,10 +137987,10 @@ index 07002df4f83acdde2efdf3f51299976ef25d2e1e..e3f0d1fd1720355bc601e766356ac528 endmenu -From 6ee7ffbe5160fc1c95938dbd133ef2edf6f33e14 Mon Sep 17 00:00:00 2001 +From db555affbb84f2e86e619d551b5631d634dd8dce Mon Sep 17 00:00:00 2001 From: Gottfried Haider Date: Tue, 26 Sep 2017 11:59:51 +0000 -Subject: [PATCH 150/150] pwm: Set class for exported channels in sysfs +Subject: [PATCH 150/153] pwm: Set class for exported channels in sysfs [ Upstream commit 7e5d1fd75c3dde9fc10c4472b9368089d1b81d00 ] @@ -138025,3 +138025,571 @@ index a813239300c3d46bba1320caac77ec7adc8363a8..83f2b0b15712bf5745a0dc3a231c5ed0 export->child.release = pwm_export_release; export->child.parent = parent; export->child.devt = MKDEV(0, 0); + +From 76db41bc515098370aea908a17cc79453b7f2a7c Mon Sep 17 00:00:00 2001 +From: Giedrius Trainavicius +Date: Tue, 25 Oct 2016 01:47:20 +0300 +Subject: [PATCH 151/153] Updates for Pisound module code: + + * Merged 'Fix a warning in DEBUG builds' (1c8b82b). + * Updating some strings and copyright information. + * Fix for handling high load of MIDI input and output. + * Use dual rate oversampling ratio for 96kHz instead of single + rate one. + +Signed-off-by: Giedrius Trainavicius +--- + arch/arm/boot/dts/overlays/pisound-overlay.dts | 4 +- + sound/soc/bcm/pisound.c | 209 +++++++++++++++++-------- + 2 files changed, 146 insertions(+), 67 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/pisound-overlay.dts b/arch/arm/boot/dts/overlays/pisound-overlay.dts +index 5197e656a3d741d14bd9dd6c812b4b93be1419a2..0893717af4e011ba1ea63a5333b6c6aef802cf25 100644 +--- a/arch/arm/boot/dts/overlays/pisound-overlay.dts ++++ b/arch/arm/boot/dts/overlays/pisound-overlay.dts +@@ -1,6 +1,6 @@ + /* +- * pisound Linux kernel module. +- * Copyright (C) 2016 Vilniaus Blokas UAB, http://blokas.io/pisound ++ * Pisound Linux kernel module. ++ * Copyright (C) 2016-2017 Vilniaus Blokas UAB, https://blokas.io/pisound + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License +diff --git a/sound/soc/bcm/pisound.c b/sound/soc/bcm/pisound.c +index 06ff1e53dc9d860946965b6303577762f958fae2..09739d51b70b877e24e4f74f6aaadebd72d9ccd8 100644 +--- a/sound/soc/bcm/pisound.c ++++ b/sound/soc/bcm/pisound.c +@@ -1,6 +1,6 @@ + /* +- * pisound Linux kernel module. +- * Copyright (C) 2016 Vilniaus Blokas UAB, http://blokas.io/pisound ++ * Pisound Linux kernel module. ++ * Copyright (C) 2016-2017 Vilniaus Blokas UAB, https://blokas.io/pisound + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -41,7 +42,8 @@ + static int pisnd_spi_init(struct device *dev); + static void pisnd_spi_uninit(void); + +-static void pisnd_spi_send(uint8_t val); ++static void pisnd_spi_flush(void); ++static void pisnd_spi_start(void); + static uint8_t pisnd_spi_recv(uint8_t *buffer, uint8_t length); + + typedef void (*pisnd_spi_recv_cb)(void *data); +@@ -56,7 +58,7 @@ static void pisnd_midi_uninit(void); + + #define PISOUND_LOG_PREFIX "pisound: " + +-#ifdef DEBUG ++#ifdef PISOUND_DEBUG + # define printd(...) pr_alert(PISOUND_LOG_PREFIX __VA_ARGS__) + #else + # define printd(...) do {} while (0) +@@ -65,13 +67,18 @@ static void pisnd_midi_uninit(void); + #define printe(...) pr_err(PISOUND_LOG_PREFIX __VA_ARGS__) + #define printi(...) pr_info(PISOUND_LOG_PREFIX __VA_ARGS__) + ++static struct snd_rawmidi *g_rmidi; ++static struct snd_rawmidi_substream *g_midi_output_substream; ++ + static int pisnd_output_open(struct snd_rawmidi_substream *substream) + { ++ g_midi_output_substream = substream; + return 0; + } + + static int pisnd_output_close(struct snd_rawmidi_substream *substream) + { ++ g_midi_output_substream = NULL; + return 0; + } + +@@ -80,26 +87,20 @@ static void pisnd_output_trigger( + int up + ) + { +- uint8_t data; ++ if (substream != g_midi_output_substream) { ++ printe("MIDI output trigger called for an unexpected stream!"); ++ return; ++ } + + if (!up) + return; + +- while (snd_rawmidi_transmit_peek(substream, &data, 1)) { +- pisnd_spi_send(data); +- snd_rawmidi_transmit_ack(substream, 1); +- } ++ pisnd_spi_start(); + } + + static void pisnd_output_drain(struct snd_rawmidi_substream *substream) + { +- uint8_t data; +- +- while (snd_rawmidi_transmit_peek(substream, &data, 1)) { +- pisnd_spi_send(data); +- +- snd_rawmidi_transmit_ack(substream, 1); +- } ++ pisnd_spi_flush(); + } + + static int pisnd_input_open(struct snd_rawmidi_substream *substream) +@@ -120,7 +121,7 @@ static void pisnd_midi_recv_callback(void *substream) + while ((n = pisnd_spi_recv(data, sizeof(data)))) { + int res = snd_rawmidi_receive(substream, data, n); + (void)res; +- printd("midi recv 0x%02x, res = %d\n", data, res); ++ printd("midi recv %u bytes, res = %d\n", n, res); + } + } + +@@ -134,8 +135,6 @@ static void pisnd_input_trigger(struct snd_rawmidi_substream *substream, int up) + } + } + +-static struct snd_rawmidi *g_rmidi; +- + static struct snd_rawmidi_ops pisnd_output_ops = { + .open = pisnd_output_open, + .close = pisnd_output_close, +@@ -168,7 +167,11 @@ static struct snd_rawmidi_global_ops pisnd_global_ops = { + + static int pisnd_midi_init(struct snd_card *card) + { +- int err = snd_rawmidi_new(card, "pisound MIDI", 0, 1, 1, &g_rmidi); ++ int err; ++ ++ g_midi_output_substream = NULL; ++ ++ err = snd_rawmidi_new(card, "pisound MIDI", 0, 1, 1, &g_rmidi); + + if (err < 0) { + printe("snd_rawmidi_new failed: %d\n", err); +@@ -209,7 +212,7 @@ static void pisnd_midi_uninit(void) + static void *g_recvData; + static pisnd_spi_recv_cb g_recvCallback; + +-#define FIFO_SIZE 512 ++#define FIFO_SIZE 4096 + + static char g_serial_num[11]; + static char g_id[25]; +@@ -231,6 +234,7 @@ static struct work_struct pisnd_work_process; + + static void pisnd_work_handler(struct work_struct *work); + ++static void spi_transfer(const uint8_t *txbuf, uint8_t *rxbuf, int len); + static uint16_t spi_transfer16(uint16_t val); + + static int pisnd_init_workqueues(void) +@@ -285,9 +289,6 @@ static unsigned long spilockflags; + + static uint16_t spi_transfer16(uint16_t val) + { +- int err; +- struct spi_transfer transfer; +- struct spi_message msg; + uint8_t txbuf[2]; + uint8_t rxbuf[2]; + +@@ -296,19 +297,38 @@ static uint16_t spi_transfer16(uint16_t val) + return 0; + } + ++ txbuf[0] = val >> 8; ++ txbuf[1] = val & 0xff; ++ ++ spi_transfer(txbuf, rxbuf, sizeof(txbuf)); ++ ++ printd("received: %02x%02x\n", rxbuf[0], rxbuf[1]); ++ ++ return (rxbuf[0] << 8) | rxbuf[1]; ++} ++ ++static void spi_transfer(const uint8_t *txbuf, uint8_t *rxbuf, int len) ++{ ++ int err; ++ struct spi_transfer transfer; ++ struct spi_message msg; ++ ++ memset(rxbuf, 0, sizeof(txbuf)); ++ ++ if (!pisnd_spi_device) { ++ printe("pisnd_spi_device null, returning\n"); ++ return; ++ } ++ + spi_message_init(&msg); + + memset(&transfer, 0, sizeof(transfer)); +- memset(&rxbuf, 0, sizeof(rxbuf)); + +- txbuf[0] = val >> 8; +- txbuf[1] = val & 0xff; +- +- transfer.tx_buf = &txbuf; +- transfer.rx_buf = &rxbuf; +- transfer.len = sizeof(txbuf); +- transfer.speed_hz = 125000; +- transfer.delay_usecs = 100; ++ transfer.tx_buf = txbuf; ++ transfer.rx_buf = rxbuf; ++ transfer.len = len; ++ transfer.speed_hz = 100000; ++ transfer.delay_usecs = 10; + spi_message_add_tail(&transfer, &msg); + + spin_lock_irqsave(&spilock, spilockflags); +@@ -317,13 +337,10 @@ static uint16_t spi_transfer16(uint16_t val) + + if (err < 0) { + printe("spi_sync error %d\n", err); +- return 0; ++ return; + } + +- printd("received: %02x%02x\n", rxbuf[0], rxbuf[1]); + printd("hasMore %d\n", pisnd_spi_has_more()); +- +- return (rxbuf[0] << 8) | rxbuf[1]; + } + + static int spi_read_bytes(char *dst, size_t length, uint8_t *bytesRead) +@@ -335,7 +352,7 @@ static int spi_read_bytes(char *dst, size_t length, uint8_t *bytesRead) + memset(dst, 0, length); + *bytesRead = 0; + +- rx = spi_transfer16(0); ++ rx = spi_transfer16(0); + if (!(rx >> 8)) + return -EINVAL; + +@@ -388,35 +405,90 @@ static struct spi_device *pisnd_spi_find_device(void) + + static void pisnd_work_handler(struct work_struct *work) + { +- uint16_t rx; +- uint16_t tx; ++ enum { TRANSFER_SIZE = 4 }; ++ enum { PISOUND_OUTPUT_BUFFER_SIZE = 128 }; ++ enum { MIDI_BYTES_PER_SECOND = 3125 }; ++ int out_buffer_used = 0; ++ unsigned long now; + uint8_t val; ++ uint8_t txbuf[TRANSFER_SIZE]; ++ uint8_t rxbuf[TRANSFER_SIZE]; ++ uint8_t midibuf[TRANSFER_SIZE]; ++ int i, n; ++ bool had_data; ++ ++ unsigned long last_transfer_at = jiffies; + + if (work == &pisnd_work_process) { + if (pisnd_spi_device == NULL) + return; + + do { +- val = 0; +- tx = 0; +- +- if (g_ledFlashDurationChanged) { +- tx = 0xf000 | g_ledFlashDuration; +- g_ledFlashDuration = 0; +- g_ledFlashDurationChanged = false; +- } else if (kfifo_get(&spi_fifo_out, &val)) { +- tx = 0x0f00 | val; ++ if (g_midi_output_substream && ++ kfifo_avail(&spi_fifo_out) >= sizeof(midibuf)) { ++ ++ n = snd_rawmidi_transmit_peek( ++ g_midi_output_substream, ++ midibuf, sizeof(midibuf) ++ ); ++ ++ if (n > 0) { ++ for (i = 0; i < n; ++i) ++ kfifo_put( ++ &spi_fifo_out, ++ midibuf[i] ++ ); ++ snd_rawmidi_transmit_ack( ++ g_midi_output_substream, ++ i ++ ); ++ } + } + +- rx = spi_transfer16(tx); ++ had_data = false; ++ memset(txbuf, 0, sizeof(txbuf)); ++ for (i = 0; i < sizeof(txbuf) && ++ out_buffer_used < PISOUND_OUTPUT_BUFFER_SIZE; ++ i += 2) { ++ ++ val = 0; ++ ++ if (g_ledFlashDurationChanged) { ++ txbuf[i+0] = 0xf0; ++ txbuf[i+1] = g_ledFlashDuration; ++ g_ledFlashDuration = 0; ++ g_ledFlashDurationChanged = false; ++ } else if (kfifo_get(&spi_fifo_out, &val)) { ++ txbuf[i+0] = 0x0f; ++ txbuf[i+1] = val; ++ ++out_buffer_used; ++ } ++ } + +- if (rx & 0xff00) { +- kfifo_put(&spi_fifo_in, rx & 0xff); +- if (kfifo_len(&spi_fifo_in) > 16 +- && g_recvCallback) +- g_recvCallback(g_recvData); ++ spi_transfer(txbuf, rxbuf, sizeof(txbuf)); ++ /* Estimate the Pisound's MIDI output buffer usage, so ++ * that we don't overflow it. Space in the buffer should ++ * be becoming available at the UART MIDI byte transfer ++ * rate. ++ */ ++ now = jiffies; ++ out_buffer_used -= ++ (MIDI_BYTES_PER_SECOND / HZ) / ++ (now - last_transfer_at); ++ if (out_buffer_used < 0) ++ out_buffer_used = 0; ++ last_transfer_at = now; ++ ++ for (i = 0; i < sizeof(rxbuf); i += 2) { ++ if (rxbuf[i]) { ++ kfifo_put(&spi_fifo_in, rxbuf[i+1]); ++ if (kfifo_len(&spi_fifo_in) > 16 && ++ g_recvCallback) ++ g_recvCallback(g_recvData); ++ had_data = true; ++ } + } +- } while (rx != 0 ++ } while (had_data + || !kfifo_is_empty(&spi_fifo_out) + || pisnd_spi_has_more() + || g_ledFlashDurationChanged +@@ -492,7 +564,7 @@ static int spi_read_info(void) + if (!(tmp >> 8)) + return -EINVAL; + +- count = tmp & 0xff; ++ count = tmp & 0xff; + + for (i = 0; i < count; ++i) { + memset(buffer, 0, sizeof(buffer)); +@@ -628,10 +700,17 @@ static void pisnd_spi_flash_leds(uint8_t duration) + pisnd_schedule_process(TASK_PROCESS); + } + +-static void pisnd_spi_send(uint8_t val) ++static void pisnd_spi_flush(void) ++{ ++ while (!kfifo_is_empty(&spi_fifo_out)) { ++ pisnd_spi_start(); ++ flush_workqueue(pisnd_workqueue); ++ } ++} ++ ++static void pisnd_spi_start(void) + { +- kfifo_put(&spi_fifo_out, val); +- printd("schedule from spi_send\n"); ++ printd("schedule from spi_start\n"); + pisnd_schedule_process(TASK_PROCESS); + } + +@@ -765,7 +844,7 @@ static int pisnd_hw_params( + struct snd_soc_pcm_runtime *rtd = substream->private_data; + struct snd_soc_dai *cpu_dai = rtd->cpu_dai; + +- /* pisound runs on fixed 32 clock counts per channel, ++ /* Pisound runs on fixed 32 clock counts per channel, + * as generated by the master ADC. + */ + snd_soc_dai_set_bclk_ratio(cpu_dai, 32*2); +@@ -786,8 +865,8 @@ static int pisnd_hw_params( + break; + case 96000: + gpiod_set_value(osr0, true); +- gpiod_set_value(osr1, true); +- gpiod_set_value(osr2, false); ++ gpiod_set_value(osr1, false); ++ gpiod_set_value(osr2, true); + break; + case 192000: + gpiod_set_value(osr0, true); +@@ -1030,7 +1109,7 @@ static int pisnd_probe(struct platform_device *pdev) + return ret; + } + +- printi("Detected pisound card:\n"); ++ printi("Detected Pisound card:\n"); + printi("\tSerial: %s\n", pisnd_spi_get_serial()); + printi("\tVersion: %s\n", pisnd_spi_get_version()); + printi("\tId: %s\n", pisnd_spi_get_id()); +@@ -1119,5 +1198,5 @@ static struct platform_driver pisnd_driver = { + module_platform_driver(pisnd_driver); + + MODULE_AUTHOR("Giedrius Trainavicius "); +-MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); ++MODULE_DESCRIPTION("ASoC Driver for Pisound, https://blokas.io/pisound"); + MODULE_LICENSE("GPL v2"); + +From 5b20baa42ce1ff9d12aa0ded34ba7a2c08f3264a Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Sat, 9 Dec 2017 21:45:12 +0000 +Subject: [PATCH 152/153] overlays: Add applepi-dac overlay + +See: https://github.com/raspberrypi/linux/issues/2302 + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 6 +++ + arch/arm/boot/dts/overlays/applepi-dac-overlay.dts | 57 ++++++++++++++++++++++ + 3 files changed, 64 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/applepi-dac-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index b8771396608df877ca0832ce2b36972530c655bc..0902c59021bfaef60edce7867274e268e7a5fc17 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -11,6 +11,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ + allo-digione.dtbo \ + allo-piano-dac-pcm512x-audio.dtbo \ + allo-piano-dac-plus-pcm512x-audio.dtbo \ ++ applepi-dac.dtbo \ + at86rf233.dtbo \ + audioinjector-addons.dtbo \ + audioinjector-wm8731-audio.dtbo \ +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 8f2da2ab4e1858e60b403a21c29b23caf69c3c61..abe9ce716b66dcc4845c8568da4ddf50e5ce1a1c 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -337,6 +337,12 @@ Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec + better voice quality. (default Off) + + ++Name: applepi-dac ++Info: Configures the Orchard Audio ApplePi-DAC audio card ++Load: dtoverlay=applepi-dac ++Params: ++ ++ + Name: at86rf233 + Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver, + connected to spi0.0 +diff --git a/arch/arm/boot/dts/overlays/applepi-dac-overlay.dts b/arch/arm/boot/dts/overlays/applepi-dac-overlay.dts +new file mode 100644 +index 0000000000000000000000000000000000000000..fc02b295470efce41d61be241ba550224a2f4bb6 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/applepi-dac-overlay.dts +@@ -0,0 +1,57 @@ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&sound>; ++ __overlay__ { ++ compatible = "simple-audio-card"; ++ simple-audio-card,name = "ApplePi-DAC"; ++ ++ status = "okay"; ++ ++ playback_link: simple-audio-card,dai-link@1 { ++ format = "i2s"; ++ ++ p_cpu_dai: cpu { ++ sound-dai = <&i2s>; ++ dai-tdm-slot-num = <2>; ++ dai-tdm-slot-width = <32>; ++ }; ++ ++ p_codec_dai: codec { ++ sound-dai = <&codec_out>; ++ }; ++ }; ++ }; ++ }; ++ ++ fragment@1 { ++ target-path = "/"; ++ __overlay__ { ++ codec_out: pcm1794a-codec { ++ #sound-dai-cells = <0>; ++ compatible = "ti,pcm1794a"; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&i2s>; ++ __overlay__ { ++ #sound-dai-cells = <0>; ++ status = "okay"; ++ }; ++ }; ++}; ++ ++/* ++ Written by: Leonid Ayzenshtat ++ Company: Orchard Audio (www.orchardaudio.com) ++ ++ compile with: ++ dtc -@ -H epapr -O dtb -o ApplePi-DAC.dtbo -W no-unit_address_vs_reg ApplePi-DAC.dts ++*/ + +From 7ef8a167b5c94ae48fd81ab6e0b08dbff0c7713c Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 12 Dec 2017 12:12:46 +0000 +Subject: [PATCH 153/153] staging: vchiq_arm: Make debugfs failure non-fatal + +It can be useful to be able to open multiple vchiq instances in a +single process. This currently fails due to a debugfs collision, +so make such a failure non-fatal. + +Signed-off-by: Phil Elwell +--- + drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +index 314ffac50bb8303971ca71a5f702f07fb8ed6639..e4bad872b7e547de268648fae690524ff265f235 100644 +--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c ++++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +@@ -1749,11 +1749,7 @@ vchiq_open(struct inode *inode, struct file *file) + instance->state = state; + instance->pid = current->tgid; + +- ret = vchiq_debugfs_add_instance(instance); +- if (ret != 0) { +- kfree(instance); +- return ret; +- } ++ (void)vchiq_debugfs_add_instance(instance); + + sema_init(&instance->insert_event, 0); + sema_init(&instance->remove_event, 0);