diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 83e925c470..4a3f7ba8bf 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 88902a722552e30b8d6249e486eda1ff04fdfa1f Mon Sep 17 00:00:00 2001 +From c126f85a3ef4bb7a8452acb8302513040ede0232 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/129] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/134] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -48,10 +48,10 @@ index 340c13484e5cc7dd5001577b7522d5a4318bd5b6..7d3d98f0405ad948f9ab3e035a70e15c usbnet_skb_return(dev, ax_skb); } -From ade4a8cacbaefcb895d993c9381aaeeeee31e673 Mon Sep 17 00:00:00 2001 +From 4dc2f9761aa5b4d60b2537c3ee253de805729347 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/129] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/134] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index 7d3d98f0405ad948f9ab3e035a70e15c667e4fa1..8d34e517db08d895e6135f785c42bf63 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 25192933d19d59a14f37215e2ddbb90579503fa6 Mon Sep 17 00:00:00 2001 +From d722d1411b07a9c16fd03e2f032889961b7c1947 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/129] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/134] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 8d34e517db08d895e6135f785c42bf639671815c..5df7e105c41532c3185e46ee54f43a37 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From d500d2894205e2337ed233cf3e8dfad496ebfe21 Mon Sep 17 00:00:00 2001 +From 28fbd87d522ea5301fda0bc32c1ea3ee0f55de2d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/129] Protect __release_resource against resources without +Subject: [PATCH 004/134] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -224,10 +224,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 033e8448f979a939698a76dd416690bee818fb5f Mon Sep 17 00:00:00 2001 +From 907887ac7209429cbad9d425f32151875cfa8972 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 005/129] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 005/134] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -254,10 +254,10 @@ index e7463e3c08143acae3e8cc5682f918c6a0b07ebd..a8db33b50ad9ff83d284fa54fe4d3b65 #endif } else if (stat) { -From a07bbe09f1c828d00b67d894c6892271c26e1b4f Mon Sep 17 00:00:00 2001 +From 6a232939fcdb81eff16aad43c30d518dcf0ca027 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 006/129] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 006/134] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -281,10 +281,10 @@ index a8db33b50ad9ff83d284fa54fe4d3b65f859df0f..c4e151451cf8c8ebde5225515eac2786 static void -From 112959db13883e0ff2f9523468ae8da2828b2dfd Mon Sep 17 00:00:00 2001 +From 330b528bfd4a6a88bc68bb7aba5eb68147610eec 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 007/129] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 007/134] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -413,10 +413,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From ef67af593f58b62123bbd33bb0cf0f3bc1265e75 Mon Sep 17 00:00:00 2001 +From 6de7ad2320b4a3646bd5f0d5bbd0e921e865e54a 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 008/129] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 008/134] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -515,10 +515,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From c91ea2c42ff1dbdb6d9b753128443a47923616b2 Mon Sep 17 00:00:00 2001 +From fd64997995b2ddb95e98145f35687ef1e57892ca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 May 2017 16:43:40 +0100 -Subject: [PATCH 009/129] irq_bcm2836: Send event when onlining sleeping cores +Subject: [PATCH 009/134] 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 @@ -554,10 +554,10 @@ index c4e151451cf8c8ebde5225515eac2786d6f61d46..bee4d2d2ebacc3233423bb9d825e076b } -From fdfd3d413d68d2ef3867288479264346469f7431 Mon Sep 17 00:00:00 2001 +From de643cad38610aa424c804a0fae8590a381d6369 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 010/129] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 010/134] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -578,10 +578,10 @@ index cda10719d1d1b21b32866d2b79363faa461ab8e1..4f3779d3aa0960640506725bde918075 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 4bea356be10941992f3dcfeac2f7974abb05ed74 Mon Sep 17 00:00:00 2001 +From 8f514d88841d4c243782961ec1968f8f870efcf4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Jan 2017 18:25:01 +0000 -Subject: [PATCH 011/129] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" +Subject: [PATCH 011/134] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" This reverts commit 85ae9e512f437cd09bf61564bdba29ab88bab3e3. --- @@ -880,10 +880,10 @@ index 230883168e99a1a3fecc7916ef0a7e0de7e8b3f1..ff3789a11b3c36b922b9d08035abb638 if (IS_ERR(pc->pctl_dev)) { gpiochip_remove(&pc->gpio_chip); -From 1490a00a1591a44f00f128903052e075456a765c Mon Sep 17 00:00:00 2001 +From 82d8e12faf78a22c262275f150331ac0e3ba7e84 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 012/129] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 012/134] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -905,10 +905,10 @@ index ff3789a11b3c36b922b9d08035abb638187c2f5a..d2b537572095c86576f78536f737c102 .can_sleep = false, }; -From e60b8d2799a20fab024ac1cff86087763d0c5cd9 Mon Sep 17 00:00:00 2001 +From 4ff754bf83df35759b0f797d8fd4dffeb7cba0ea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/129] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/134] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -935,10 +935,10 @@ index d2b537572095c86576f78536f737c102487f99f4..a9d480df32562defbf8be0faf0a39bfe pc->irq_data[i].irqgroup = i; -From b91abfd233fffb8f22735c8428f5a8af367f9387 Mon Sep 17 00:00:00 2001 +From 3333e460bd62167d9a4d0f2610d16f0d67b58744 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 014/129] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 014/134] 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 @@ -1019,10 +1019,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 142bcdabeeaad29d9aeecf26cf16c4de71764c7f Mon Sep 17 00:00:00 2001 +From 564577de10650ebf69c28e7f3529a1438b53cf29 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 015/129] spi-bcm2835: Disable forced software CS +Subject: [PATCH 015/134] 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 @@ -1056,10 +1056,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From b32e05f02e7113f460c6cbfa7e28539fc2dd4966 Mon Sep 17 00:00:00 2001 +From 8ed958150abacb645ccad7ec1261ef68ba76238e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 016/129] spi-bcm2835: Remove unused code +Subject: [PATCH 016/134] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1147,10 +1147,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 59fa945c6c2a113a1a19d0d80df344b5d53efe91 Mon Sep 17 00:00:00 2001 +From e55862ba66142fc0693c2c0a8efcbd61dd02dcc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 017/129] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 017/134] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1203,10 +1203,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 851f7772f6ef6d244cddc90cdb8fd50d82193aca Mon Sep 17 00:00:00 2001 +From a84fe045ee6c945513339d64348108165516242a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 018/129] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 018/134] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1309,10 +1309,10 @@ index 6204cc32d09c5096df8aec304c3c37b3bcb6be44..599c218dc8a73172dd4bd4a058fc8f95 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From 1baf343ec1f8cecd2bd4b59f38428c08dabea9a5 Mon Sep 17 00:00:00 2001 +From 230fbc29abc1f87c97c07300ee377979fa940e10 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 019/129] firmware: Updated mailbox header +Subject: [PATCH 019/134] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1373,10 +1373,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 45420f837ce4f053696b2e43d082b9f51082fb94 Mon Sep 17 00:00:00 2001 +From faf484ee4d3b4c212349d473dd9e4392b8cc75c0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 020/129] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 020/134] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1396,10 +1396,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 6e7df38d91f738603798f9c5c0e24b191265f187 Mon Sep 17 00:00:00 2001 +From 0e188fba7c9e5f26acdb4479143957a592958a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 16:50:59 +0200 -Subject: [PATCH 021/129] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 021/134] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1501,10 +1501,10 @@ index b339e0e67b4c1275fd4992fea4f1e24c0575b783..26b7177573fac2af1cd4ab5488d2686f static int bcm2835_wdt_probe(struct platform_device *pdev) -From ff7e96d10d16caddbe8019ab989a4f5394f4d8a5 Mon Sep 17 00:00:00 2001 +From 709ae2e131a6a57f5095bc2a8898e0dc5c14c83f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 022/129] reboot: Use power off rather than busy spinning when +Subject: [PATCH 022/134] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1527,10 +1527,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From 9285772bbe4713f5ae62666f915fadf142945771 Mon Sep 17 00:00:00 2001 +From 39d2393b894dd5c6c2e10cfca375d3312803e2c4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 023/129] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 023/134] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1549,10 +1549,10 @@ index 49f1e2a75d614bc21db152327c7b425ae2504f8d..dccd2374ed00631abd441e3e9d78ee74 help This enables support for the RPi power domains which can be enabled -From dbe71688c63bb1f60fed3b9de5a92884d9646b5a Mon Sep 17 00:00:00 2001 +From dd56fb2edb2b69c9715bd0f65ec5a4c7245f4356 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 024/129] Register the clocks early during the boot process, so +Subject: [PATCH 024/134] 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. @@ -1597,10 +1597,10 @@ index 58ce6af8452db9ca8b4d3c380a06e448919f6a8d..11d89d106026f15719ea25047d6f357b MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From 5f3e30fa16d92cb9a91ea15481218a4509373809 Mon Sep 17 00:00:00 2001 +From bb124ac8bd0c0aafd3e6d28f5df5cdac6294d74c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 025/129] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 025/134] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1626,10 +1626,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From 95a3415f7b64beaf568d328bc4b0c04b1276e216 Mon Sep 17 00:00:00 2001 +From 7626e25dc267151b31d06c04bed9fd924bcd0fa8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 026/129] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 026/134] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1649,10 +1649,10 @@ index 9ffd3dda3889c56a7a72229bed21ff5c49d62856..00da6c9bacbf33334233e22ca5209ade esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 7f5a3c3e22445e1c935f15060d93a6b823446ebf Mon Sep 17 00:00:00 2001 +From 123c46723868a13728c6e8398691c2ae57932da6 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 027/129] BCM2835_DT: Fix I2S register map +Subject: [PATCH 027/134] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1690,10 +1690,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 93f660db6c7099c40cd8c16d83ae7ff0f9b18861 Mon Sep 17 00:00:00 2001 +From 5c200cdf2569a9dff3ff61769b4707466634bc95 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 028/129] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 028/134] 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 @@ -1721,10 +1721,10 @@ index 11d89d106026f15719ea25047d6f357b4bfcb2c5..fe8f5d65f2749cb3ddc878df61664826 divider->data = data; -From f15722cc677ff919810f2c3bc95da69b413abb8e Mon Sep 17 00:00:00 2001 +From 769058fcf3c3fbc5d886d793f8146123c1c3a1f5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 029/129] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 029/134] 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, @@ -1826,10 +1826,10 @@ index fe8f5d65f2749cb3ddc878df616648267441e0ee..92b5e0f5145b32d3bfc3592fe381e8be sizeof(cprman_parent_names)); of_clk_parent_fill(dev->of_node, cprman->real_parent_names, -From 50b91b4c4a65d4ff603623a46c8888c87ce1734b Mon Sep 17 00:00:00 2001 +From 77c9810b13096f46aec90a29f407d9519c7fb41e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 030/129] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 030/134] 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 @@ -1944,10 +1944,10 @@ index 92b5e0f5145b32d3bfc3592fe381e8be3cd90c72..336f8c9c44325d0a94e591a8557f7af2 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From 2fe9423b6ac762dcf113b5f21ba1de91bbec1b4c Mon Sep 17 00:00:00 2001 +From 6a2711951d54250553e13bf5932a4f0baf57a83f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 031/129] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 031/134] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1985,10 +1985,10 @@ index 336f8c9c44325d0a94e591a8557f7af246adc857..caa05e5ad0b7b5cd683e04fb3591a3df * rate changes on at least of the parents. */ -From 54e5cd6f19e27a6aa5480cab1cb5f419132de958 Mon Sep 17 00:00:00 2001 +From 5a530d71384e36c00a27f1a3faf12cb80f746601 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 032/129] sound: Demote deferral errors to INFO level +Subject: [PATCH 032/134] 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. @@ -2023,10 +2023,10 @@ index 13c875e2392a40ec5651d7c12a28b9ac9f3aab85..23d56057e49b5ff6b6c3c352c150fee8 goto _err_defer; } -From 8f6a785e3320079f9a2bca412fa103bb12dbb63f Mon Sep 17 00:00:00 2001 +From f3df72ebfb8e407402e9de76ce88fe8fe06b64e4 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 033/129] Update vfpmodule.c +Subject: [PATCH 033/134] 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 @@ -2163,10 +2163,10 @@ index a71a48e71fffa8626fe90106815376c44bbe679b..d6c0a5a0a5ae3510db3ace5e3f5d3410 /* * Save the userland NEON/VFP state. Under UP, -From f9b54f14e038729bbec2b16ee15975993681d288 Mon Sep 17 00:00:00 2001 +From 84ee4ee351dd2bd92650cb5f29a757b97d003f52 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 034/129] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 034/134] 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. @@ -2187,10 +2187,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From f2a96f0a5b4f2a91884e0e7fcfeb8099e044821f Mon Sep 17 00:00:00 2001 +From 44ae1a1c279b95a4c641da34e07eb43005fc48ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:15:41 +0100 -Subject: [PATCH 035/129] i2c: bcm2835: Add debug support +Subject: [PATCH 035/134] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2379,10 +2379,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From e30fc8d777e15b35526ad0427c2177b099dee7b1 Mon Sep 17 00:00:00 2001 +From c7e9b4324849ec435b301a53d695d1f998f9fab4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 036/129] mm: Remove the PFN busy warning +Subject: [PATCH 036/134] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -2407,10 +2407,10 @@ index 1423da8dd16f5bdc83e20ddf6665b2022a9a6492..6ce930c02160d55dc4eee1e7197a5efa goto done; } -From bf033ea532a9005ade064ce2afc23be81ee7b545 Mon Sep 17 00:00:00 2001 +From df94e12cb7dd9a3657dbb1f0e81d98a181f3d8cd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 037/129] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 037/134] 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 @@ -2435,10 +2435,10 @@ index 6c78b0b49b8145c24740d93c4174c059d91ddae9..d6450d5fc144737f967b8e00678baa9b config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From 7716560b318c6a16a4ceb38da22d6c595e63fbf4 Mon Sep 17 00:00:00 2001 +From 62c4cf83231254d63f7bb205fc8743591072c9ce Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 May 2017 15:36:46 +0100 -Subject: [PATCH 038/129] staging: bcm2835-audio: Fix memory corruption +Subject: [PATCH 038/134] staging: bcm2835-audio: Fix memory corruption I'm all for fixing memory leaks, but freeing a block while it is still being used is a recipe for hard-to-debug kernel exeptions. @@ -2473,10 +2473,10 @@ index 5f3d8f2339e34834d11edfa8de1d5819e3e32b4f..89f96f3c02805f4114ec9b488e18d00e return ret; } -From 168be2ce0a4e8cb82477498fd0c2d2b52dea3d6a Mon Sep 17 00:00:00 2001 +From 0b78c9ffe7de3ea37708d666357e006b6fa02c9d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 039/129] Main bcm2708/bcm2709 linux port +Subject: [PATCH 039/134] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2664,10 +2664,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From 4a742c0460e2d8993349b9142603d7b16593c446 Mon Sep 17 00:00:00 2001 +From b614f0993996a586e1067b84dc8c9a3781f7d66e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 040/129] Add dwc_otg driver +Subject: [PATCH 040/134] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -63941,10 +63941,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 20e2c528fbc615b591f94a474454671f53cf3d98 Mon Sep 17 00:00:00 2001 +From d5ec72f68f13ad6aa9698ddefcd74fa29bb148eb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 041/129] bcm2708 framebuffer driver +Subject: [PATCH 041/134] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67403,10 +67403,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 c552685dec9406ed78b0ff592da21eda44757cbc Mon Sep 17 00:00:00 2001 +From bb813148e1a0b72a63cd63e30ffd49d6b687b828 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 042/129] dmaengine: Add support for BCM2708 +Subject: [PATCH 042/134] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68037,10 +68037,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From 2cfc86aae7690a80ab6d6ece491ceaff33e70ca3 Mon Sep 17 00:00:00 2001 +From db475f46a1d100d823b7f182a271c5b327fe85bd Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 043/129] MMC: added alternative MMC driver +Subject: [PATCH 043/134] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69920,10 +69920,10 @@ index 46c73e97e61f08a41d9753079345f5965caebbc5..388c551ed11e9d06ea1c25b6553d47a8 unsigned int erase_size; /* erase size in sectors */ -From 2effda8db6e55c7b4c9edad900cfddfd9e2597bc Mon Sep 17 00:00:00 2001 +From 311a1a2a10fd212784ca55e0a5f9b1cd0990f0f4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 044/129] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 044/134] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -72329,10 +72329,10 @@ index 0000000000000000000000000000000000000000..9c6f199a7830959f31012d86bc1f8b1a +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 7f0672a5e885d310c886283944dcbb1ebf4263d0 Mon Sep 17 00:00:00 2001 +From 91c2214a554425ca42419323565e772344062e1c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 045/129] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 045/134] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72857,10 +72857,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From dd72d988c292f9e7287701360e6af45438b59831 Mon Sep 17 00:00:00 2001 +From 701ef83b2f016c20884b9faae7cd66d3bd56913d Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 046/129] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 046/134] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77734,10 +77734,10 @@ index 0000000000000000000000000000000000000000..b75729d762f25aace133f7a008633b40 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 3799b1cc77322f1925aa87ca58b77989ca5a689e Mon Sep 17 00:00:00 2001 +From f3a26295cfaebafafe862e4c42dbbe82f7226a31 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 047/129] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 047/134] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -78045,10 +78045,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 6cb24300772167b1c4bb07a7985d025cb508380a Mon Sep 17 00:00:00 2001 +From 34e57fbf898b8a2a78bdc5d072f00c8d09c774c6 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 048/129] Add SMI driver +Subject: [PATCH 048/134] Add SMI driver Signed-off-by: Luke Wren --- @@ -79999,10 +79999,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From aeb4c4d9a548d638db0b305484e0b764fa20d82d Mon Sep 17 00:00:00 2001 +From 35b24e58b762f62bef4dcc55c779cd6d811c064a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 049/129] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 049/134] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -80172,10 +80172,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From 0597e8bf3e75f13e7cfdc469efe8abe23d01d2b1 Mon Sep 17 00:00:00 2001 +From e9a8264ba1c07ff56076871fe12dac481e909adc Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 050/129] Add SMI NAND driver +Subject: [PATCH 050/134] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -80540,10 +80540,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 1053b28a97453d1b844f569a035e7a9024087ebe Mon Sep 17 00:00:00 2001 +From ea66e2dd87d561192a5689065f25d5e314be168f Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 051/129] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 051/134] 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 @@ -81403,10 +81403,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From f1a2739582a18d8e0694b78191dc6226473e94e5 Mon Sep 17 00:00:00 2001 +From 4f05b23e7510838b73aeb40dbd2444923a3111f6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 052/129] Add cpufreq driver +Subject: [PATCH 052/134] Add cpufreq driver Signed-off-by: popcornmix @@ -81670,10 +81670,10 @@ index 0000000000000000000000000000000000000000..99345969b0e4d651fd9033d67de2febb +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From bdcf2fea9d9494b1bde5be20708639a899caabc4 Mon Sep 17 00:00:00 2001 +From 648b7875938337118b7d4246a937feee0b6ee671 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 053/129] Add Chris Boot's i2c driver +Subject: [PATCH 053/134] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82338,10 +82338,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From b3412fd2008d4fc5ef921840c534e637a6acc44e Mon Sep 17 00:00:00 2001 +From 01d090118e494c2acc2056857fc434629f38eb83 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 054/129] char: broadcom: Add vcio module +Subject: [PATCH 054/134] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82566,10 +82566,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 904187645d8f723be83183d949edd5f4934b2962 Mon Sep 17 00:00:00 2001 +From b52a861362a21862fb921466c93558755b06cdec 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 055/129] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 055/134] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82652,10 +82652,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From be3055df75011cc2027acab5bf2f294e0543e02f Mon Sep 17 00:00:00 2001 +From b74bdbc6086750c73838defe0da7cd0591727559 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 056/129] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 056/134] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -83182,10 +83182,10 @@ index 0000000000000000000000000000000000000000..84be2593ec1de8f97b0167ff06b3e05d + return $trailer; +} -From c063b1ed6fac8ef79ccb0c14ef662515e93787f5 Mon Sep 17 00:00:00 2001 +From 74bbf306c59e9858db7a1a74fcad6ba478e0b885 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 057/129] BCM2708: Add core Device Tree support +Subject: [PATCH 057/134] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -95422,10 +95422,10 @@ index 58c05e5d9870b6c18a72da7dc44ff3112994946d..9842523b225a88505d796cc689c04f40 # Bzip2 -From 7d2419fe14520e8c16bc9774196f876552f1b282 Mon Sep 17 00:00:00 2001 +From 306c8bbe633e204bfe1e8343bb64610f7848d9d7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 058/129] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 058/134] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -95600,10 +95600,10 @@ index 64c56d454f7df9f864a5242ce4212df586f66886..3fd74c8737871cb56f0355c858fc135e /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From 9a26bfaab4ad8bd052a8f59dc9d8993dbb8b9fed Mon Sep 17 00:00:00 2001 +From 1cc0bcba126845ad37f21ac08457009d669e4c55 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 059/129] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 059/134] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -95871,10 +95871,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From 43d7209556b61a818e15c77d72de6bb7548a5761 Mon Sep 17 00:00:00 2001 +From 72671d1c6e3543337ef5adc95b8c28d43684da2e Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 060/129] Speed up console framebuffer imageblit function +Subject: [PATCH 060/134] 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 @@ -96083,10 +96083,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 042d112e55c00d8ae7f286046b57d2ddd1384623 Mon Sep 17 00:00:00 2001 +From e231cb36b0fac4c5c95dd94f11dd8609f560fce4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 061/129] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 061/134] 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 @@ -96336,10 +96336,10 @@ index 90cbe7e65059f6b604a87c6bf39cd9bbeae7684c..a52be51ee0a5511a75d4eaa8dacaec5e u8, w1_slave_found_callback); }; -From 2cc6a69a583cb3acc2d7a2e316fa44ff1c0686b6 Mon Sep 17 00:00:00 2001 +From 9046cc4ffa4b2cc454266b3ccdf1f88bbc641599 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 062/129] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 062/134] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -96371,10 +96371,10 @@ index c008847e0b20a2accb00451b10fb1c648f67925b..4a86428a3b4e3d51e9ac6ce9c9c11097 break; case HID_GD_JOYSTICK: -From e150996c934660931e40cfdb468214a6644fa72e Mon Sep 17 00:00:00 2001 +From a398921bfc56fdd8326f03fa6a71d9e4ded33fbb Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 063/129] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 063/134] 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 @@ -96732,10 +96732,10 @@ index 30fb37fe175df604a738258a2a632bca3bfff33f..4a3d79d3b48eb483a4e4bf498f617515 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From c0f35fbee29bc94de57a819bb31ee7f04e819c3d Mon Sep 17 00:00:00 2001 +From bdf51b34fe1b57df673ab6deae87e20970c3e44d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 064/129] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 064/134] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -98310,10 +98310,10 @@ index 17ec37811c32f09126ed42753037e055c5cec115..c08f81812d0d56a0d90c1eb6777d0622 bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 3ff9947d7af341718091959a025eab82abfd0d79 Mon Sep 17 00:00:00 2001 +From 01c2edd711a41cc2e8104b27bd8de5c356ba8323 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 065/129] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 065/134] 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 @@ -98348,10 +98348,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From d37d450d370dd100442281c2e6c3beae62f29db1 Mon Sep 17 00:00:00 2001 +From 51b10e3316437f7d430fc9ed4a95ea0412f37a04 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 066/129] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 066/134] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -99216,10 +99216,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 3f730e36e6c7f445aa3322d256cc1d20e507fb22 Mon Sep 17 00:00:00 2001 +From 3f4cd1b697fc741f6cf21948f4dda3d77033ec0f Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 067/129] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 067/134] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -99394,10 +99394,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 822c013b4add8faace26366e5e0b833634a76624 Mon Sep 17 00:00:00 2001 +From a66a4a0097c3c8478933e0b62aa2f3db8170553f Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 068/129] ASoC: Add support for Rpi-DAC +Subject: [PATCH 068/134] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -99681,10 +99681,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 5b7c196681661799820cbcae36ff74ee4f1c0f16 Mon Sep 17 00:00:00 2001 +From 0b8e2646ac87a6925791a6b7cae3a41d174e4b6f Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 069/129] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 069/134] 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 @@ -99733,10 +99733,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From eb63ac8b4513898b305350779dcd03c5359841cb Mon Sep 17 00:00:00 2001 +From 4ab07494417416c9e5390d051d2b13900ecb7684 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 070/129] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 070/134] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -100080,10 +100080,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 9307ad8fccbfd25cf21b6528985e4826720a10bf Mon Sep 17 00:00:00 2001 +From 344ceb66e32167530e3abc4dd04fcbea14dc56be Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 071/129] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 071/134] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -100418,10 +100418,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From fbc0c13553e42eb4bc367d1bd16a53efb934977d Mon Sep 17 00:00:00 2001 +From cfbfb169a19a0323b6506ea7792b6baf7e36549c Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 072/129] Added support for HiFiBerry DAC+ +Subject: [PATCH 072/134] 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. @@ -101051,10 +101051,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 3c656fe05ad94ece55f0300040822d5fa289bf88 Mon Sep 17 00:00:00 2001 +From 51558763d713a81adf2de060981c4163461a48e4 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 073/129] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 073/134] 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. @@ -101889,10 +101889,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 82ee4d398b7cabced98ca63a3f70f3473659ac04 Mon Sep 17 00:00:00 2001 +From 37c8b5ebf852302b66b347d6afd212dd41cf2de1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 074/129] Add driver for rpi-proto +Subject: [PATCH 074/134] 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 @@ -102107,10 +102107,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From e85b9da26bfa51d7dd014a04aacd8ee686d06af8 Mon Sep 17 00:00:00 2001 +From 9ba3362a63bba609495cf30a581ba475e8fbe6d3 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 075/129] RaspiDAC3 support +Subject: [PATCH 075/134] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -102353,10 +102353,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 38ef14cf5946a797c88a64ef8360a22cf2c4d278 Mon Sep 17 00:00:00 2001 +From 62b96b01be0b085b5749462ae5c046641d020fa1 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 076/129] Add Support for JustBoom Audio boards +Subject: [PATCH 076/134] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -102812,10 +102812,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From f629bb3116976c649e97e435797ee09d39ed1e27 Mon Sep 17 00:00:00 2001 +From 1e9479179783c5b7f6b8577d5a25c6ed8b653f82 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 077/129] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 077/134] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -102997,10 +102997,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 6fbc69ecb541aeeb109dab802385e90efb71b48d Mon Sep 17 00:00:00 2001 +From b976344fb14e41ed13c0cc5fd8d066138be1b770 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 078/129] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 078/134] 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. @@ -103251,10 +103251,10 @@ index 0000000000000000000000000000000000000000..491906bbf446826e55dd843f28e4860f +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 69c13c876fb2ba99bb854f858c16b1b03281d586 Mon Sep 17 00:00:00 2001 +From dc47a86a160c9b67158610ad889bbd1980cc4545 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 079/129] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 079/134] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -103554,10 +103554,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From ef454cce0ff5410983c63dd34258226b8ffaf0f1 Mon Sep 17 00:00:00 2001 +From 08573124ed4a7721b842b846588ba45601cdc8cc Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 080/129] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 080/134] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -104030,10 +104030,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From f5eda3e4747c90c99ffe1eb29d2abb824e4753bb Mon Sep 17 00:00:00 2001 +From 2990708d446f042abdef3fda0a6ff1ac0574ec95 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 081/129] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 081/134] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -104206,10 +104206,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From ebff2709bd934a94f765aff4a361cef4ae03e30e Mon Sep 17 00:00:00 2001 +From 8af2913606da27e4766899c61c7949fb6d831a59 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 082/129] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 082/134] 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, @@ -104416,10 +104416,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 52875cef71e2bb50bdb71172c5eb4e3f0c7e7db7 Mon Sep 17 00:00:00 2001 +From ef6e845ac3227fb730200a770c15659980cc1231 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 083/129] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 083/134] 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. @@ -105288,10 +105288,10 @@ index 0000000000000000000000000000000000000000..d4e99e3c6a383d92fb0cf9e8c1cd1e76 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From e42b4e221249dd728e85fba984ff1cb8347e8be8 Mon Sep 17 00:00:00 2001 +From acd0f3b81b0097904050733dbfbff695d2f919e7 Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 084/129] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 084/134] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -105994,10 +105994,10 @@ index 0000000000000000000000000000000000000000..203ab76c7045b081578e23bda1099dd1 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From ba9487e8829443e63cd95c00b57492a1170754bf Mon Sep 17 00:00:00 2001 +From 49813172678a0afd74f503a5a0ece339ba5df3d5 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 085/129] Support for Blokas Labs pisound board +Subject: [PATCH 085/134] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -107196,10 +107196,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From c7ccddce5f413a68aaba65d3f3908b41b3e7da0f Mon Sep 17 00:00:00 2001 +From 427d79d7759a252c20ab78b731f6ed0f3c29312b Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 086/129] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 086/134] 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 @@ -108264,10 +108264,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From f82b730b26f6626d9f1e261c792feb80c26837de Mon Sep 17 00:00:00 2001 +From 8cff91b2907b06303136b8ef8e58432ddf22dec1 Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 087/129] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 087/134] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -108462,10 +108462,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From c6220b7c4674451da55a209557ebb87b5eaa14b6 Mon Sep 17 00:00:00 2001 +From b857500f7828085bfbd197631e1d961eae5fe596 Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 088/129] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 088/134] 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. @@ -108679,10 +108679,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From afd8236c2f127531902daad63f61afcae95f0a37 Mon Sep 17 00:00:00 2001 +From f2217d118ab429dbbb213b2eace048aa70bf6351 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 089/129] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 089/134] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset @@ -109091,10 +109091,10 @@ index 0000000000000000000000000000000000000000..5e79f4eff93a21ed3495c77a90f73525 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From 08d3e5a0ec754c239219af3f1f3d18913ea8cc35 Mon Sep 17 00:00:00 2001 +From 2b224d902fd312a029931757576a24fb14ee0b4d Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 090/129] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 090/134] Driver support for Google voiceHAT soundcard. --- sound/soc/bcm/Kconfig | 7 ++ @@ -109485,10 +109485,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From 5926e0d83bb9c5bd15806fd81ea648bc90f3aab3 Mon Sep 17 00:00:00 2001 +From 3e3ecee5d45800aacee162db02a6d63552642912 Mon Sep 17 00:00:00 2001 From: sandeepal Date: Fri, 2 Jun 2017 18:59:46 +0530 -Subject: [PATCH 091/129] Allo Digione Driver (#2048) +Subject: [PATCH 091/134] Allo Digione Driver (#2048) Driver for the Allo Digione soundcard --- @@ -109810,10 +109810,10 @@ index 0000000000000000000000000000000000000000..e3664e44c699d0102120ecf99e8b780a +MODULE_DESCRIPTION("ASoC Driver for Allo DigiOne"); +MODULE_LICENSE("GPL v2"); -From 1ec00318fdec23f1feed3e7972ac8e7ab70d51d5 Mon Sep 17 00:00:00 2001 +From f62f5604fc4f3d0530b6725f163a840eeab926a0 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 092/129] rpi_display: add backlight driver and overlay +Subject: [PATCH 092/134] 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 @@ -109982,10 +109982,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 8b334bd0404a15a9ef5e1c58075855d2a17220a8 Mon Sep 17 00:00:00 2001 +From 06ee7eb3c38fa1bf0605a65c9e5ec410c54941ab Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 093/129] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 093/134] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -110259,10 +110259,10 @@ index 4a3d79d3b48eb483a4e4bf498f617515e3ad158f..5f34e1257117fb48013c9926a8a223d6 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From e164ee9987147c29263b184bb8358a357003b7e8 Mon Sep 17 00:00:00 2001 +From eb61862909e7b5e435d24563c040c81c01de557d Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 094/129] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 094/134] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -110588,10 +110588,10 @@ index 5f34e1257117fb48013c9926a8a223d64a598ab7..c819c21b0158a59c1308882e5a40e3f3 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 9e5f33653205607cacd13a7666eccece3a7d6da4 Mon Sep 17 00:00:00 2001 +From 3fd27dc49e454167ed9de021d3268eabd2cd6c5f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 095/129] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 095/134] 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 @@ -110620,10 +110620,10 @@ index 1888d168a41c87c605962da2605df8ab1c02bd20..e22b9e79836a6aeef4c8f9fb618b9595 uap->old_cr = 0; uap->port.dev = dev; -From 6fe7c9b534c7e1aa0cb75d47b27a2f85e7b17aae Mon Sep 17 00:00:00 2001 +From e9093a71a3c5483a3fb929b1ac82ede6672e9a23 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 096/129] amba_pl011: Round input clock up +Subject: [PATCH 096/134] 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 @@ -110709,10 +110709,10 @@ index e22b9e79836a6aeef4c8f9fb618b9595c551500f..4b815abbf9913075885ee60f4d9ad49d /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From 768c90f10d2587bd8abc735114c7c853b70310f4 Mon Sep 17 00:00:00 2001 +From 0471231018f0485dcd4849e331327a792e364818 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 097/129] OF: DT-Overlay configfs interface +Subject: [PATCH 097/134] 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. @@ -111144,10 +111144,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 1540430c40bd65a02de5063f24aaeb908256af91 Mon Sep 17 00:00:00 2001 +From cfabe3c29f7ae581472de2e16d284e94b078ac3a Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 098/129] brcm: adds support for BCM43341 wifi +Subject: [PATCH 098/134] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -111279,10 +111279,10 @@ index f3556122c6ace17c419e13023057861957a507fa..f8d4647016a1cde3d51dd43da07a46ce BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From 44f82d3decd6bab4e5b05ecb8450bc62affea3a9 Mon Sep 17 00:00:00 2001 +From 67bba3b6a8474c5dc0822063054d5b0e9f4829be Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 099/129] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 099/134] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -111306,10 +111306,10 @@ index 508cab2d0817914d454958f92167d350c74d9a5d..987b1f5b999b0ecb68b6ce741b8e3ddb req->alpha2[0], req->alpha2[1]); return; -From 19e8cd50ec3a94a2e12bdc46e58b24f9358dfaf0 Mon Sep 17 00:00:00 2001 +From d80a9e587881277157fbdf386e89160baf7f38fe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 100/129] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 100/134] 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. @@ -111332,10 +111332,10 @@ index c0e4e26dc30d7c3c6a771b7b86df88c8cf763646..7308287259eedcaf229f8a496a0e3826 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From c3bd471961998f57775043a1fd1bd98748eaaa58 Mon Sep 17 00:00:00 2001 +From 5264106254fe4a71f0f6726f41dd2644a7910e43 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 101/129] config: Add default configs +Subject: [PATCH 101/134] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1326 +++++++++++++++++++++++++++++++++++ @@ -114014,10 +114014,10 @@ index 0000000000000000000000000000000000000000..e0dd8723047ff488e81a03ef42fdbc68 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 6d6fd6d9179c237acb740832880f1603e019e2cd Mon Sep 17 00:00:00 2001 +From 59cf82303dc194d87fb8b9c968b07c4200d5b262 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 102/129] Add arm64 configuration and device tree differences. +Subject: [PATCH 102/134] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -115431,10 +115431,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From e9c43898ea8dd00edb15de87acca6c1c63048f1c Mon Sep 17 00:00:00 2001 +From 01de480996cf3d25bde48f6568e23eaff47118b5 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 103/129] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 103/134] 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. @@ -115846,10 +115846,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From fb47b55bed10e44abfe8e21cf6a8d3bf75e54200 Mon Sep 17 00:00:00 2001 +From 1283a8ab4c7d05745d74e7dae2bc4f614a462d5d Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 104/129] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 104/134] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -115878,10 +115878,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From 900935e9cd0fd44dc9f8636308c8c7b421a8c83a Mon Sep 17 00:00:00 2001 +From 67e1133cd0237f3f25c35778be070e25c3b25252 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 105/129] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 105/134] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -115926,10 +115926,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From ef2764a77908404cd53995df24b1dc7fc66824cd Mon Sep 17 00:00:00 2001 +From 99016d5ee9769ddd7112c5edc8cbd3fea6127d17 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 106/129] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 106/134] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -115961,10 +115961,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From fe858fcdd237aca3425f4020862fc06a10ca12de Mon Sep 17 00:00:00 2001 +From 53603ba473d74427187d223ea98490d90a4dcb17 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 107/129] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 107/134] 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 @@ -115989,10 +115989,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From f4fca0f5426c2745774afa536c2c4fc9aca8d9c8 Mon Sep 17 00:00:00 2001 +From 9bd92259f6fcc2f7b98e17f5dcb93e2241ea5693 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 108/129] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 108/134] 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 @@ -116335,10 +116335,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From 167c98d704c7a38aeab88f5005077d4bdc3fcac9 Mon Sep 17 00:00:00 2001 +From 7b259867567b86fcb957f612aca1c8b93a1b4c9c Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 109/129] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 109/134] 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 @@ -116412,10 +116412,10 @@ index bee4d2d2ebacc3233423bb9d825e076b9f52fccd..014f13f89eb896f5cfc75ed9891787d0 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From 3d387f3c82eb55430bceb4a21b3150e80a7a5a00 Mon Sep 17 00:00:00 2001 +From d14698e1413d811aed43ff3c141476549accb38c Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 110/129] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 110/134] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -116436,10 +116436,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From d340cd7493c6124278913e0e0bd1bcd00153f124 Mon Sep 17 00:00:00 2001 +From b1e947f7d0a8f23a1a66948562f4fbd1fc588012 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 111/129] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 111/134] ARM64: Force hardware emulation of deprecated instructions. --- @@ -116467,10 +116467,10 @@ index f0e6d717885b1fcf3b22f64c10c38f19c25f809d..0cb830d30fb6d2bd26ab572efe893649 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From 4a4a6c4967fe59a4d24117939af272d3b4cc8712 Mon Sep 17 00:00:00 2001 +From ed90e5b9a7c0962eb5a613c0123777f114e5c2f1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 112/129] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 112/134] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -116495,10 +116495,10 @@ index 9b41f1e3b1a039cd45fe842e10abff0181186fdf..dc2859b8eed168ed52e95c503e7a5ce3 dtbs: prepare scripts -From cd741e0be1011d9e7c167cde89efb09f97648c00 Mon Sep 17 00:00:00 2001 +From eee4143a0daae5612cb1cce9c6c9c7d95a91e313 Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 24 May 2017 10:52:50 +0200 -Subject: [PATCH 113/129] enable drivers for GPIO expander and vcio +Subject: [PATCH 113/134] enable drivers for GPIO expander and vcio --- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ @@ -116526,10 +116526,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..9dcb58a519d041fadae99c81a7bda621 CONFIG_GPIO_ARIZONA=m CONFIG_GPIO_STMPE=y -From 049d05d668250c8ecd91908177fed22322a7797b Mon Sep 17 00:00:00 2001 +From b1a10c871ec9b24b06b7cb2639da85fd9e82b40e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 114/129] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 114/134] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -116562,10 +116562,10 @@ index a9d480df32562defbf8be0faf0a39bfe06ff71f9..18c92bae3b2e7e9f8208ca0d4487b08b .suppress_bind_attrs = true, }, -From 90aed6ca4d4698fac72196495c38bcfbc2adaaf5 Mon Sep 17 00:00:00 2001 +From 3131a7d4fbf4e9cca64079346f4ed48d9d172855 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 115/129] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 115/134] 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 @@ -116729,10 +116729,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From a2b5db64ae961375981dc9c21230e918e9da1a53 Mon Sep 17 00:00:00 2001 +From da6caedc52a4cbd1daed9fb65cb435db1a8246b7 Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 116/129] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 116/134] 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. @@ -132864,10 +132864,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From 8519c61633549f88e24ec126082a29c176da4253 Mon Sep 17 00:00:00 2001 +From 0ee5fc50855a6c94a49930022363b3b43da3b77a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 117/129] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 117/134] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -132889,10 +132889,10 @@ index c819c21b0158a59c1308882e5a40e3f3fe73cbdf..de2a3dcd562beb752266eaf0070e5586 enum rpi_firmware_property_status { -From 49686a4d16e39cbe24057dc16ec0cffb0009055f Mon Sep 17 00:00:00 2001 +From c05d145d7c89a1d31075aff507f384d84bb9539e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 118/129] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 118/134] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -132936,10 +132936,10 @@ index de2a3dcd562beb752266eaf0070e55861d553f5f..dc7fd58afd5dddebf9b17065bb069a1d #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From 89922ab276b06410d8ef5e78f370a8e13bacfe32 Mon Sep 17 00:00:00 2001 +From 52235d687bedc369bb0f7ff0af0d833c89d5348f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 119/129] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 119/134] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -133711,10 +133711,10 @@ index 0000000000000000000000000000000000000000..7dd233eed677c1689492ab95bc864753 + }, +}; -From 98157ac6f00edcad39580c8ee8c665a11d89ba08 Mon Sep 17 00:00:00 2001 +From 2f15bf7410a44191260b5c5473a6bd98da49713f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 120/129] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 120/134] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -133738,10 +133738,10 @@ index 7dd233eed677c1689492ab95bc86475330d2d63b..e6097046fb25361bc61d657083d95b63 if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From de225be7df4dcaad443716baf7c4249109adcc0f Mon Sep 17 00:00:00 2001 +From bde5c6279355967d1c2056cbb681e0c3c71ead26 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 121/129] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 121/134] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -133811,10 +133811,10 @@ index e6097046fb25361bc61d657083d95b634232aabc..72d0b9cffe3d2997d69040c46f4aee11 RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From f2e9a1b05c7e626085cf93930263e0e9b9154877 Mon Sep 17 00:00:00 2001 +From 9cb56a005fca2860f75fd5e08ddeb97d07867582 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 122/129] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 122/134] 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 @@ -133856,10 +133856,10 @@ index 72d0b9cffe3d2997d69040c46f4aee11e22aa213..185f9bd3c1b2d47d0c1fc5293db4199b static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From caeeb7fd92cb6b7225ecf470191983090d4c6ad1 Mon Sep 17 00:00:00 2001 +From 9482524b0d92012326e5118de8df478f1cfc0f03 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 123/129] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 123/134] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -133916,10 +133916,10 @@ index 185f9bd3c1b2d47d0c1fc5293db4199bd8963023..072f377b7423ee603d73ace2bf6d620f return 0; -From 703fb6dc2bdb896d92907e25bddbb47c02a95a3f Mon Sep 17 00:00:00 2001 +From eb0e1ed338bbfe0a1fe43c82413ddafa8df35ec6 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 11:34:26 +0200 -Subject: [PATCH 124/129] ASoC: bcm2835: Add support for TDM modes +Subject: [PATCH 124/134] 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 @@ -134321,10 +134321,10 @@ index 56df7d8a43d0aac055a91b0d24aca8e1b4e308e4..dcacf7f83c9371df539a788ea33fedcf dev->dev = &pdev->dev; dev_set_drvdata(&pdev->dev, dev); -From dd338425587a3c4d54f218f6b4d8353e1b8e166b Mon Sep 17 00:00:00 2001 +From dc0c30a09ebba5eedf48ad6bd7949a059fa3aea9 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 15:30:50 +0200 -Subject: [PATCH 125/129] ASoC: bcm2835: Support left/right justified and DSP +Subject: [PATCH 125/134] ASoC: bcm2835: Support left/right justified and DSP modes DSP modes and left/right justified modes can be supported @@ -134570,10 +134570,10 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 } -From 129ca2a27effd87c3d6aae09e357cc4f5deb636c Mon Sep 17 00:00:00 2001 +From b643b268b9edf136daf19c12837e5b29feddbe5b Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:19:54 +0200 -Subject: [PATCH 126/129] ASoC: bcm2835: Support additional samplerates up to +Subject: [PATCH 126/134] ASoC: bcm2835: Support additional samplerates up to 384kHz Sample rates are only restricted by the capabilities of the @@ -134616,10 +134616,10 @@ index 3a706fda4f39e42efbe12f19d87af9b100a348a5..43f5715a0d5dda851731ecf7ff27e76c | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE -From 21821e1d5caa6534029429200d5488d989f5cb16 Mon Sep 17 00:00:00 2001 +From 4c3cd3aab6d561023760c3997411fe3259705bf5 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:24:57 +0200 -Subject: [PATCH 127/129] ASoC: bcm2835: Enforce full symmetry +Subject: [PATCH 127/134] 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. @@ -134655,10 +134655,10 @@ index 43f5715a0d5dda851731ecf7ff27e76c48fb6e57..2e449d7173fcecbcd647f90a26bd58b6 static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg) -From c45671ace023bcf54d977980e66c9ad202bbc3f1 Mon Sep 17 00:00:00 2001 +From 7a8de669f8de95e524046a59f8808916a867dc30 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 5 Jun 2017 16:40:38 +0100 -Subject: [PATCH 128/129] dma-bcm2708: Fix module compilation of +Subject: [PATCH 128/134] dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 bcm2708-dmaengine.c defines functions like bcm_dma_start which are @@ -134701,10 +134701,10 @@ index c5bfff2765be4606077e6c8af73040ec13ee8974..6ca874d332a8bc666b1c9576ac51f479 #endif /* _PLAT_BCM2708_DMA_H */ -From 574b675abdbbaeb89923f3538c5193bb347a7e33 Mon Sep 17 00:00:00 2001 +From 34a91302aca10fefcd3ddd124403f3fccd25b770 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 25 Aug 2017 19:18:13 +0100 -Subject: [PATCH 129/129] cache: export clean and invalidate +Subject: [PATCH 129/134] cache: export clean and invalidate --- arch/arm/mm/cache-v6.S | 4 ++-- @@ -134755,3 +134755,297 @@ index de78109d002db1a5e7c94a6c1bc8bb94161d07b8..4c850aa3af2b2439fced4e130441329a dcache_line_size r2, r3 sub r3, r2, #1 bic r0, r0, r3 + +From e087f9465609c990f91cb43e7615c84fe5047768 Mon Sep 17 00:00:00 2001 +From: Dan Pasanen +Date: Wed, 20 Sep 2017 10:17:41 -0500 +Subject: [PATCH 130/134] vcsm: fix multi-platform build + +--- + drivers/char/broadcom/vc_sm/vmcs_sm.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c +index 034ae2f27f870621af9f49453501f1cde051f32a..b7814d67500b98fcd6f376d526a3d4a4b84fd152 100644 +--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c ++++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c +@@ -223,6 +223,7 @@ typedef void cache_flush_op_fn(const void *, const void *); + #if defined(CONFIG_CPU_CACHE_V7) + extern cache_flush_op_fn v7_dma_inv_range; + extern cache_flush_op_fn v7_dma_clean_range; ++extern cache_flush_op_fn v7_dma_flush_range; + static cache_flush_op_fn * const flushops[4] = + { + 0, +@@ -233,6 +234,7 @@ static cache_flush_op_fn * const flushops[4] = + #elif defined(CONFIG_CPU_CACHE_V6) + extern cache_flush_op_fn v6_dma_inv_range; + extern cache_flush_op_fn v6_dma_clean_range; ++extern cache_flush_op_fn v6_dma_flush_range; + static cache_flush_op_fn * const flushops[4] = + { + 0, + +From d3956be75b49811fb7bd43a11317c925f6a065f1 Mon Sep 17 00:00:00 2001 +From: Dan Pasanen +Date: Thu, 21 Sep 2017 09:55:42 -0500 +Subject: [PATCH 131/134] arm: partially revert + 702b94bff3c50542a6e4ab9a4f4cef093262fe65 + +* Re-expose some dmi APIs for use in VCSM +--- + arch/arm/include/asm/cacheflush.h | 21 +++++++++++++++++++++ + arch/arm/include/asm/glue-cache.h | 2 ++ + arch/arm/mm/proc-macros.S | 2 ++ + arch/arm/mm/proc-syms.c | 3 +++ + 4 files changed, 28 insertions(+) + +diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h +index 74504b154256e36ff4897ed1c7df43eb4d91bdef..8ccb358b7043cabeb3d2b6769ef4eb11827d78ed 100644 +--- a/arch/arm/include/asm/cacheflush.h ++++ b/arch/arm/include/asm/cacheflush.h +@@ -94,6 +94,21 @@ + * DMA Cache Coherency + * =================== + * ++ * dma_inv_range(start, end) ++ * ++ * Invalidate (discard) the specified virtual address range. ++ * May not write back any entries. If 'start' or 'end' ++ * are not cache line aligned, those lines must be written ++ * back. ++ * - start - virtual start address ++ * - end - virtual end address ++ * ++ * dma_clean_range(start, end) ++ * ++ * Clean (write back) the specified virtual address range. ++ * - start - virtual start address ++ * - end - virtual end address ++ * + * dma_flush_range(start, end) + * + * Clean and invalidate the specified virtual address range. +@@ -115,6 +130,8 @@ struct cpu_cache_fns { + void (*dma_map_area)(const void *, size_t, int); + void (*dma_unmap_area)(const void *, size_t, int); + ++ void (*dma_inv_range)(const void *, const void *); ++ void (*dma_clean_range)(const void *, const void *); + void (*dma_flush_range)(const void *, const void *); + } __no_randomize_layout; + +@@ -140,6 +157,8 @@ extern struct cpu_cache_fns cpu_cache; + * is visible to DMA, or data written by DMA to system memory is + * visible to the CPU. + */ ++#define dmac_inv_range cpu_cache.dma_inv_range ++#define dmac_clean_range cpu_cache.dma_clean_range + #define dmac_flush_range cpu_cache.dma_flush_range + + #else +@@ -159,6 +178,8 @@ extern void __cpuc_flush_dcache_area(void *, size_t); + * is visible to DMA, or data written by DMA to system memory is + * visible to the CPU. + */ ++extern void dmac_inv_range(const void *, const void *); ++extern void dmac_clean_range(const void *, const void *); + extern void dmac_flush_range(const void *, const void *); + + #endif +diff --git a/arch/arm/include/asm/glue-cache.h b/arch/arm/include/asm/glue-cache.h +index 01c3d92624e5ed3e0035c4305ca5b6797ba1888b..99f29f1963aec25c0016c5eadeb4a042e75bd4c9 100644 +--- a/arch/arm/include/asm/glue-cache.h ++++ b/arch/arm/include/asm/glue-cache.h +@@ -154,6 +154,8 @@ static inline void nop_dma_unmap_area(const void *s, size_t l, int f) { } + #define __cpuc_coherent_user_range __glue(_CACHE,_coherent_user_range) + #define __cpuc_flush_dcache_area __glue(_CACHE,_flush_kern_dcache_area) + ++#define dmac_inv_range __glue(_CACHE,_dma_inv_range) ++#define dmac_clean_range __glue(_CACHE,_dma_clean_range) + #define dmac_flush_range __glue(_CACHE,_dma_flush_range) + #endif + +diff --git a/arch/arm/mm/proc-macros.S b/arch/arm/mm/proc-macros.S +index f944836da8a222cd97c4e29070afa3aa370e0cbb..e6abed8db42b247ac731e49415bdc4fe92826095 100644 +--- a/arch/arm/mm/proc-macros.S ++++ b/arch/arm/mm/proc-macros.S +@@ -323,6 +323,8 @@ ENTRY(\name\()_cache_fns) + .long \name\()_flush_kern_dcache_area + .long \name\()_dma_map_area + .long \name\()_dma_unmap_area ++ .long \name\()_dma_inv_range ++ .long \name\()_dma_clean_range + .long \name\()_dma_flush_range + .size \name\()_cache_fns, . - \name\()_cache_fns + .endm +diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c +index 054b491ff7649ca067ff821770aec80a4da42102..70e8b7d3443467ae9595924f1a9d043b984e2c93 100644 +--- a/arch/arm/mm/proc-syms.c ++++ b/arch/arm/mm/proc-syms.c +@@ -30,6 +30,9 @@ EXPORT_SYMBOL(__cpuc_flush_user_all); + EXPORT_SYMBOL(__cpuc_flush_user_range); + EXPORT_SYMBOL(__cpuc_coherent_kern_range); + EXPORT_SYMBOL(__cpuc_flush_dcache_area); ++EXPORT_SYMBOL(dmac_inv_range); ++EXPORT_SYMBOL(dmac_clean_range); ++EXPORT_SYMBOL(dmac_flush_range); + #else + EXPORT_SYMBOL(cpu_cache); + #endif + +From 923c44c152c2e60c3b8939eaee4c768ceeaaf617 Mon Sep 17 00:00:00 2001 +From: Dan Pasanen +Date: Thu, 21 Sep 2017 09:57:44 -0500 +Subject: [PATCH 132/134] vcsm: add macros for cache functions + +--- + drivers/char/broadcom/vc_sm/vc_sm_knl.h | 5 +++++ + drivers/char/broadcom/vc_sm/vmcs_sm.c | 11 +++++------ + 2 files changed, 10 insertions(+), 6 deletions(-) + +diff --git a/drivers/char/broadcom/vc_sm/vc_sm_knl.h b/drivers/char/broadcom/vc_sm/vc_sm_knl.h +index f7f74750d8358779c61dfcd6fc841aa1789a2c5e..e50fd8eaecef7a3c8451c040ffc3888cc37e28fc 100644 +--- a/drivers/char/broadcom/vc_sm/vc_sm_knl.h ++++ b/drivers/char/broadcom/vc_sm/vc_sm_knl.h +@@ -27,6 +27,11 @@ enum vc_sm_lock_cache_mode { + VC_SM_LOCK_NON_CACHED, + }; + ++/* Cache functions */ ++#define VCSM_CACHE_OP_INV 0x01 ++#define VCSM_CACHE_OP_FLUSH 0x02 ++#define VCSM_CACHE_OP_CLEAN 0x03 ++ + /* Allocate a shared memory handle and block. */ + int vc_sm_alloc(struct vc_sm_alloc_t *alloc, int *handle); + +diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c +index b7814d67500b98fcd6f376d526a3d4a4b84fd152..32763bd01e2e3831778fbcd1066df3cbf582235d 100644 +--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c ++++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c +@@ -2964,12 +2964,9 @@ static long vc_sm_ioctl(struct file *file, unsigned int cmd, unsigned long arg) + } + for (i = 0; i < sizeof(ioparam.s) / sizeof(*ioparam.s); i++) { + switch (ioparam.s[i].cmd) { +- default: +- case 0: +- break; /* NOOP */ +- case 1: /* L1/L2 invalidate virtual range */ +- case 2: /* L1/L2 clean physical range */ +- case 3: /* L1/L2 clean+invalidate all */ ++ case VCSM_CACHE_OP_INV: /* L1/L2 invalidate virtual range */ ++ case VCSM_CACHE_OP_FLUSH: /* L1/L2 clean physical range */ ++ case VCSM_CACHE_OP_CLEAN: /* L1/L2 clean+invalidate all */ + /* Locate resource from GUID. */ + resource = + vmcs_sm_acquire_resource(file_data, ioparam.s[i].handle); +@@ -2993,6 +2990,8 @@ static long vc_sm_ioctl(struct file *file, unsigned int cmd, unsigned long arg) + vmcs_sm_release_resource(resource, 0); + + break; ++ default: ++ break; /* NOOP */ + } + } + } + +From 170a6b92f30841481b77183239390deb059aad1c Mon Sep 17 00:00:00 2001 +From: Dan Pasanen +Date: Thu, 21 Sep 2017 07:41:02 -0500 +Subject: [PATCH 133/134] vcsm: use dma APIs for cache functions + +* Will handle multi-platform builds +--- + drivers/char/broadcom/vc_sm/vmcs_sm.c | 45 +++++++++++++---------------------- + 1 file changed, 16 insertions(+), 29 deletions(-) + +diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c +index 32763bd01e2e3831778fbcd1066df3cbf582235d..cfa4ff747de2a96e03dab995aa54fc80eb880157 100644 +--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c ++++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c +@@ -218,34 +218,6 @@ static const char *const sm_cache_map_vector[] = { + }; + #endif + +-typedef void cache_flush_op_fn(const void *, const void *); +- +-#if defined(CONFIG_CPU_CACHE_V7) +-extern cache_flush_op_fn v7_dma_inv_range; +-extern cache_flush_op_fn v7_dma_clean_range; +-extern cache_flush_op_fn v7_dma_flush_range; +-static cache_flush_op_fn * const flushops[4] = +-{ +- 0, +- v7_dma_inv_range, +- v7_dma_clean_range, +- v7_dma_flush_range, +-}; +-#elif defined(CONFIG_CPU_CACHE_V6) +-extern cache_flush_op_fn v6_dma_inv_range; +-extern cache_flush_op_fn v6_dma_clean_range; +-extern cache_flush_op_fn v6_dma_flush_range; +-static cache_flush_op_fn * const flushops[4] = +-{ +- 0, +- v6_dma_inv_range, +- v6_dma_clean_range, +- v6_dma_flush_range, +-}; +-#else +-#error Unknown cache config +-#endif +- + /* ---- Private Function Prototypes -------------------------------------- */ + + /* ---- Private Functions ------------------------------------------------ */ +@@ -3028,7 +3000,22 @@ static long vc_sm_ioctl(struct file *file, unsigned int cmd, unsigned long arg) + + for (i = 0; i < ioparam.op_count; i++) { + const struct vmcs_sm_ioctl_clean_invalid_block * const op = block + i; +- cache_flush_op_fn * const op_fn = flushops[op->invalidate_mode & 3]; ++ void (*op_fn)(const void *, const void *); ++ ++ switch(op->invalidate_mode & 3) { ++ case VCSM_CACHE_OP_INV: ++ op_fn = dmac_inv_range; ++ break; ++ case VCSM_CACHE_OP_CLEAN: ++ op_fn = dmac_clean_range; ++ break; ++ case VCSM_CACHE_OP_FLUSH: ++ op_fn = dmac_flush_range; ++ break; ++ default: ++ op_fn = 0; ++ break; ++ } + + if ((op->invalidate_mode & ~3) != 0) { + ret = -EINVAL; + +From aa5b5b1b3234a9b98deb40a9efdf9b40bbd59605 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Fri, 29 Sep 2017 16:15:01 +0100 +Subject: [PATCH 134/134] vcsm: Fix up macros to avoid breaking numbers used by + existing apps + +--- + drivers/char/broadcom/vc_sm/vc_sm_knl.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/char/broadcom/vc_sm/vc_sm_knl.h b/drivers/char/broadcom/vc_sm/vc_sm_knl.h +index e50fd8eaecef7a3c8451c040ffc3888cc37e28fc..4f120421c2d11f7ae46752c38b073a4dfdf712c6 100644 +--- a/drivers/char/broadcom/vc_sm/vc_sm_knl.h ++++ b/drivers/char/broadcom/vc_sm/vc_sm_knl.h +@@ -29,8 +29,8 @@ enum vc_sm_lock_cache_mode { + + /* Cache functions */ + #define VCSM_CACHE_OP_INV 0x01 +-#define VCSM_CACHE_OP_FLUSH 0x02 +-#define VCSM_CACHE_OP_CLEAN 0x03 ++#define VCSM_CACHE_OP_CLEAN 0x02 ++#define VCSM_CACHE_OP_FLUSH 0x03 + + /* Allocate a shared memory handle and block. */ + int vc_sm_alloc(struct vc_sm_alloc_t *alloc, int *handle);