From f54c97e5e3c729d565dc185a54787eb7fecdff85 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 14 Jul 2017 21:30:56 +0100 Subject: [PATCH] RPi: update linux support patch for linux 4.12-rc5 --- .../patches/linux/linux-01-RPi_support.patch | 732 ++++++++++-------- 1 file changed, 401 insertions(+), 331 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 818e851c84..0806f8d6a8 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 45b9387552913aec62a1e570e24a29f4de690b9a Mon Sep 17 00:00:00 2001 +From 33612ef3a8e990f746a28ca20a9870bb0ef23118 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/138] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/139] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -48,10 +48,10 @@ index 2dfca96a63b60283b89efab676932a711024a499..88843b36182f0f12175df06e3a6fb55a usbnet_skb_return(dev, ax_skb); } -From fd5be4b0126998430984309848f8b968b8c7d493 Mon Sep 17 00:00:00 2001 +From 0058b5465f80330920c6d8c47479663ea3b5fdd6 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/138] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/139] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index 88843b36182f0f12175df06e3a6fb55a3a8f47e5..27813c57707c4b001646a26d8b1174a0 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From b88143006ef6b6a3a78224fbbd58fc291e39f590 Mon Sep 17 00:00:00 2001 +From 9db1119cf205761bedbd6c637872f9e3776706a0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/138] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/139] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 27813c57707c4b001646a26d8b1174a0162c55ec..fac7a5f8642030a7dca7807e6c4808ea eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From e2ea470b27b10eb89f85b4e918e7fddf924cd946 Mon Sep 17 00:00:00 2001 +From 96c1dc2c80c0126e9720a8ae4483fc5022110405 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/138] Protect __release_resource against resources without +Subject: [PATCH 004/139] 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 cffbc40e07f1a394eb8b6524ef0d2fb5d35db01f Mon Sep 17 00:00:00 2001 +From fd122a603ed702382ea14fd6154fdfd02e183a96 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/138] mm: Remove the PFN busy warning +Subject: [PATCH 005/139] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -252,10 +252,10 @@ index 2302f250d6b1ba150e3c2e4e17cfb6c99574ab5b..f434dbb4aaa8845318e2d40153339b08 goto done; } -From 09e00baea00eae30c3a506aeaee4440e9ee50aed Mon Sep 17 00:00:00 2001 +From aa5e9625500debbd8da47c94225389d2f084589d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/138] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/139] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -282,10 +282,10 @@ index e7463e3c08143acae3e8cc5682f918c6a0b07ebd..a8db33b50ad9ff83d284fa54fe4d3b65 #endif } else if (stat) { -From 72d48467cda5fa5ab517740f696341e044db562f Mon Sep 17 00:00:00 2001 +From 12563ecb3cf579180e0c3ffc03856c1a219a43c4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 007/138] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 007/139] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -309,10 +309,10 @@ index a8db33b50ad9ff83d284fa54fe4d3b65f859df0f..c4e151451cf8c8ebde5225515eac2786 static void -From 5e5e1d81393d84bc11e9c7bee4b4f44047f591b2 Mon Sep 17 00:00:00 2001 +From 9a7bbfcf2a8b0a254173f2f453b0459ab2a0a10a 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/138] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 008/139] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -441,10 +441,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From 901339dac7c408935388477000fb540683b91e80 Mon Sep 17 00:00:00 2001 +From 8ec2aa88b67e803e54d074499cdd8bac617e355a 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/138] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 009/139] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -543,10 +543,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From edbeb0bf629aca5835f5d0b86e4ba9d7e04015d0 Mon Sep 17 00:00:00 2001 +From 52f33887b335f0e9d03550c15de2f18f83d24539 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 010/138] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 010/139] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -567,10 +567,10 @@ index 9a2a79a871ba009fcfa8b7e2b52002c8845d94ce..4ffd24e8c50fd0df03cbb1257448c202 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 69342813ed2f2c909b03086e9da48c7265666f8d Mon Sep 17 00:00:00 2001 +From f350927b3128445ef8e64eaf0f5c6c61b6da8f3c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Jan 2017 18:25:01 +0000 -Subject: [PATCH 011/138] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" +Subject: [PATCH 011/139] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" This reverts commit 85ae9e512f437cd09bf61564bdba29ab88bab3e3. --- @@ -864,10 +864,10 @@ index 85d0091128644c446aed878e87769e82c77c3ebf..4f2621272bfd5cbc0d691d2fabe89e2e if (IS_ERR(pc->pctl_dev)) { gpiochip_remove(&pc->gpio_chip); -From 94c6ae4ad29a780d63c952ef805e991707ed2e8c Mon Sep 17 00:00:00 2001 +From bde1a4263576d5716d6e77de988e8c55e32dd24d Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 012/138] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 012/139] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -889,10 +889,10 @@ index 4f2621272bfd5cbc0d691d2fabe89e2ee428d6db..5b7cb4c415e19f98e25b221ab0ad36b6 .can_sleep = false, }; -From bf9f3058b01c5a77c02dbe0a161a014650bee990 Mon Sep 17 00:00:00 2001 +From b566006186491384c1c1de263e2fd6c2570d85cc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/138] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/139] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -919,10 +919,10 @@ index 5b7cb4c415e19f98e25b221ab0ad36b6885dae4c..6351fe7f8e314ac5ebb102dd20847b38 pc->irq_data[i].irqgroup = i; -From ec4e8b458bbfab3bcba7862e0d83ea091b13ef9e Mon Sep 17 00:00:00 2001 +From 258e70acb025e38ecf3f46364bceddb102e9d334 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 014/138] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 014/139] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -1003,10 +1003,10 @@ index f35cc10772f6670397ea923ad30158270dd68578..5dfe20ffc2866fa6789825016c585175 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From 01dadb53b95901d3f568a951db71c67ccd8ff025 Mon Sep 17 00:00:00 2001 +From e2bf8ffe80d65f21555622cc539f7cf989d83fef Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 015/138] spi-bcm2835: Disable forced software CS +Subject: [PATCH 015/139] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -1040,10 +1040,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 145e0be4a5d378731afd55360d0946f86285dfc2 Mon Sep 17 00:00:00 2001 +From 2da712afa88e7a8d41d35103c248858a9ad4055e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 016/138] spi-bcm2835: Remove unused code +Subject: [PATCH 016/139] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1131,10 +1131,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From b6d45e08a8e1e7dd2741a34f6a663b098226d922 Mon Sep 17 00:00:00 2001 +From 20858b73a37db6bf9ea8ba31abbdb47c782f8c75 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/138] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 017/139] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1187,10 +1187,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From bc1adaac858d5020eed2983a02aaac8e2d78a1fd Mon Sep 17 00:00:00 2001 +From 0d40d5ac02f1e1260e768e0ccf5d5d667c74f1c8 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/138] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 018/139] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1293,10 +1293,10 @@ index 6204cc32d09c5096df8aec304c3c37b3bcb6be44..599c218dc8a73172dd4bd4a058fc8f95 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From 6fce8da3329d883f0f2c08f7b1c6a05b0cd96725 Mon Sep 17 00:00:00 2001 +From a66dc50facf528b75505f0e2f5bacf0f08c42a7d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 019/138] firmware: Updated mailbox header +Subject: [PATCH 019/139] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1357,10 +1357,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 2050b9a1f421ae57c65a6ada2f9216e5fcd86320 Mon Sep 17 00:00:00 2001 +From 64145b728078b43f60ed503b8edc2d7f8c6bee2a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 020/138] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 020/139] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1380,10 +1380,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 0902be6c55fae5820ce49e933b005401bb662238 Mon Sep 17 00:00:00 2001 +From e84dc1977beb6942ad4c0b8ede8fa369c846d05e 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/138] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 021/139] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1485,10 +1485,10 @@ index b339e0e67b4c1275fd4992fea4f1e24c0575b783..26b7177573fac2af1cd4ab5488d2686f static int bcm2835_wdt_probe(struct platform_device *pdev) -From 7a37aad3a6fd16a8589f5d0076df49430d3510df Mon Sep 17 00:00:00 2001 +From b4f0a885a11b73a4aa28ff4a45cd2e757d067a2c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 022/138] reboot: Use power off rather than busy spinning when +Subject: [PATCH 022/139] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1511,10 +1511,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From 04712e1753014f2ea6ee20600b5c10e7c1e49b58 Mon Sep 17 00:00:00 2001 +From 171a97c51736b1bc787e46c917970f2b4eee6b1d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 023/138] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 023/139] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1533,10 +1533,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..e037a6dd79d1881a09e3ca9115782709 help This enables support for the RPi power domains which can be enabled -From 9a37ab975644b7ea9ae443fdd91abc0ded7763a3 Mon Sep 17 00:00:00 2001 +From 0e76476116a0af91d4b371594dcd9c92e080b705 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 024/138] Register the clocks early during the boot process, so +Subject: [PATCH 024/139] Register the clocks early during the boot process, so that special/critical clocks can get enabled early on in the boot process avoiding the risk of disabling a clock, pll_divider or pll when a claiming driver fails to install propperly - maybe it needs to defer. @@ -1581,10 +1581,10 @@ index 02585387061967ac9408e18ac1bce67e9e9414c0..283d2de45e4f29406d01f24ab1cae3f9 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From 9bf5fedae8dbd66fb196676ea530b19a79625da3 Mon Sep 17 00:00:00 2001 +From 74cbfe945c3294f8df9faa704dc5eb938777266e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 025/138] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 025/139] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1610,10 +1610,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From 92b7d11529ed0a0cf8f75a9d5911b10b50533e99 Mon Sep 17 00:00:00 2001 +From 8158286804d2410a41379d1f7b6a4c240d5fc3bc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 026/138] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 026/139] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1633,10 +1633,10 @@ index 61f87a99bf0a1c512e572d3cbdcf4b4b5d7ae785..0a5e36778eacf7dc589486f8bc8033f5 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 87cc10c6280c58919227c415eb51fca8d1243de6 Mon Sep 17 00:00:00 2001 +From 3a25bb16311b7e0b73f4fd2637845994c050d154 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 027/138] BCM2835_DT: Fix I2S register map +Subject: [PATCH 027/139] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1674,10 +1674,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 6cd0b6036203fd0867bf1506cf595ed5aaa3c191 Mon Sep 17 00:00:00 2001 +From 50e493339e12a9c68a777df708960418f808b0df Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 028/138] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 028/139] clk-bcm2835: Mark used PLLs and dividers CRITICAL The VPU configures and relies on several PLLs and dividers. Mark all enabled dividers and their PLLs as CRITICAL to prevent the kernel from @@ -1705,10 +1705,10 @@ index 283d2de45e4f29406d01f24ab1cae3f9f879234a..85df8c74a309f0b877ef65f1c55b086f divider->data = data; -From fda07632cf172d3da46be6ac5da3b544ec305b07 Mon Sep 17 00:00:00 2001 +From 82bd6370298f1329099aef321e3f183bfdecc8a5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 029/138] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 029/139] clk-bcm2835: Add claim-clocks property The claim-clocks property can be used to prevent PLLs and dividers from being marked as critical. It contains a vector of clock IDs, @@ -1810,10 +1810,10 @@ index 85df8c74a309f0b877ef65f1c55b086f1bb774a1..eec6735505c074c0a76ae647bf0e1bb6 sizeof(cprman_parent_names)); of_clk_parent_fill(dev->of_node, cprman->real_parent_names, -From 1954dd42272a2df11d5d726169e3a5c6967c9e9f Mon Sep 17 00:00:00 2001 +From 24533ef1a8bb34fad484c57bb0858fcf71fdea16 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:06:53 +0000 -Subject: [PATCH 030/138] clk-bcm2835: Correct the prediv logic +Subject: [PATCH 030/139] clk-bcm2835: Correct the prediv logic If a clock has the prediv flag set, both the integer and fractional parts must be scaled when calculating the resulting frequency. @@ -1840,10 +1840,10 @@ index eec6735505c074c0a76ae647bf0e1bb68ab3a488..e0d28add45efdf70d1eba590282a3a26 return bcm2835_pll_rate_from_divisors(parent_rate, ndiv, fdiv, pdiv); } -From fa484c386dacb2d47ae99a78161bb27b5eaabb23 Mon Sep 17 00:00:00 2001 +From bb2c9d23c027a15e042cbfb7eb64624fd7a04934 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 031/138] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 031/139] clk-bcm2835: Read max core clock from firmware The VPU is responsible for managing the core clock, usually under direction from the bcm2835-cpufreq driver but not via the clk-bcm2835 @@ -1958,10 +1958,10 @@ index e0d28add45efdf70d1eba590282a3a2654af328d..39f72da6ba1f6ec6ec41d5dc1bf46344 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From bc75fb5af600cd63221033bd18cd0ca2221316c6 Mon Sep 17 00:00:00 2001 +From 719762a8d56c975bcda617b128ff78ecca0a1376 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 032/138] sound: Demote deferral errors to INFO level +Subject: [PATCH 032/139] 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. @@ -1974,7 +1974,7 @@ Signed-off-by: Phil Elwell 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c -index aae099c0e50280d67f153d6769ac4237d531e169..de76fefb878bb2e6b71eb75bf62e8022960a6374 100644 +index 754e3ef8d7ae1b8b188c3e52986f2c306fb7b763..90b385d1f79b63ccc43a8d4ba849084af7cd91fe 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1057,7 +1057,7 @@ static int soc_bind_dai_link(struct snd_soc_card *card, @@ -1996,10 +1996,10 @@ index aae099c0e50280d67f153d6769ac4237d531e169..de76fefb878bb2e6b71eb75bf62e8022 goto _err_defer; } -From 4bd2b93588ce30aeaafb8ce72301cca89f1d38ea Mon Sep 17 00:00:00 2001 +From 18e656c35c1420ca6780fc42de5f5aed2d1153f3 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 033/138] Update vfpmodule.c +Subject: [PATCH 033/139] Update vfpmodule.c Christopher Alexander Tobias Schulze - May 2, 2015, 11:57 a.m. This patch fixes a problem with VFP state save and restore related @@ -2136,10 +2136,10 @@ index a71a48e71fffa8626fe90106815376c44bbe679b..d6c0a5a0a5ae3510db3ace5e3f5d3410 /* * Save the userland NEON/VFP state. Under UP, -From 68c00e299deb2be055fac9c0e86ed639e013ddc3 Mon Sep 17 00:00:00 2001 +From 6dc19f89227211ee65486a22cb33b7f9b01de725 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 034/138] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 034/139] ASoC: bcm2835_i2s.c: relax the ch2 register setting for 8 channels This patch allows ch2 registers to be set for 8 channels of audio. @@ -2160,10 +2160,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From c906e1238f12595a0eb080b27b509012e6107431 Mon Sep 17 00:00:00 2001 +From e64ff7d856b780ea033bab8a8b7f2479b31c9931 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/138] i2c: bcm2835: Add debug support +Subject: [PATCH 035/139] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2352,10 +2352,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 359433f5e65a3f8b5790b463d52f333b815b16e5 Mon Sep 17 00:00:00 2001 +From ecdeaab1aba5b2ef1113c65166f0a861d2e13292 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 036/138] Main bcm2708/bcm2709 linux port +Subject: [PATCH 036/139] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2543,10 +2543,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From d4dca928a3ebbed5ab53a6974abbff9b7180cd7a Mon Sep 17 00:00:00 2001 +From 2ba12cf67ea835b883762117150418746e47490a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 037/138] Add dwc_otg driver +Subject: [PATCH 037/139] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -63688,10 +63688,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 4595a396dd199449fe86e1f8644dae131f9e409a Mon Sep 17 00:00:00 2001 +From 22febc0cd659a7dfc2857a49f1b64bb9f27e3b4b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 038/138] bcm2708 framebuffer driver +Subject: [PATCH 038/139] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67150,10 +67150,10 @@ index 3c14e43b82fefe1d32f591d1b2f61d2cd28d0fa8..7626beb6a5bb8df601ddf0f6e6909d1f +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From 38128cc407317c777d9a9c2cc9ab09be4514f30c Mon Sep 17 00:00:00 2001 +From 55da167ebb4d28447a0b33a9c938f2af5dda4105 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 039/138] dmaengine: Add support for BCM2708 +Subject: [PATCH 039/139] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67784,10 +67784,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From ffb02e7edb512ff80f36a414ee7a4a1c6fe4fdf6 Mon Sep 17 00:00:00 2001 +From 23bbd8f422a04cbfd1db8011d86dcb9e3f9ca0ce Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 040/138] MMC: added alternative MMC driver +Subject: [PATCH 040/139] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69509,10 +69509,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From 800ec12c29238518de2a701569c7ae14d5a9fd7f Mon Sep 17 00:00:00 2001 +From 765e4ac5eea09794445f80f394cd45b63b229312 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 041/138] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 041/139] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71918,10 +71918,10 @@ index 0000000000000000000000000000000000000000..9c6f199a7830959f31012d86bc1f8b1a +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 7e5b604219821749decde3d306271fe45679faa0 Mon Sep 17 00:00:00 2001 +From 0f4c8bcee7496b52332136b074a45ec4fa325da3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 042/138] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 042/139] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72446,10 +72446,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 23585ce9139db1579c019b19856f097178bee78c Mon Sep 17 00:00:00 2001 +From f62d2cd84f99a320275e94459d5e8e34545a58c7 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 043/138] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 043/139] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -76904,10 +76904,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 6a6d947e2fe34171fcf0dd1ee5c4ce16dcdbd43d Mon Sep 17 00:00:00 2001 +From b4893676c1e3078e98b4bcb0069526dedc8fab0d Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 044/138] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 044/139] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -77215,10 +77215,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From aeda902bae70d98cdf40fc59f807e97fec6674bb Mon Sep 17 00:00:00 2001 +From 796e0bca0804624467b783fa69861b22d7531893 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 045/138] Add SMI driver +Subject: [PATCH 045/139] Add SMI driver Signed-off-by: Luke Wren --- @@ -79169,10 +79169,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 089fd9e5afaee3de551370f43b0db96004c77ebe Mon Sep 17 00:00:00 2001 +From 99c0f283d37bf32158bbb2868019bb8caba4239a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 046/138] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 046/139] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -79342,10 +79342,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From d208019b8e86e11d5463f12a8ea19d704ae5488d Mon Sep 17 00:00:00 2001 +From 027e1e153757a9fb9d3b94eadc4c3b1576e393b5 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 047/138] Add SMI NAND driver +Subject: [PATCH 047/139] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -79710,10 +79710,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From bea77e620b5fabaa1391f7d2a5f74299cbbcc286 Mon Sep 17 00:00:00 2001 +From 76a50cee5ed33ae48958fdc383ce21ebf9ea8349 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 048/138] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 048/139] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -80574,10 +80574,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From 9e5fb801a6c5d5656c069c1082c81f2b7d2ec57a Mon Sep 17 00:00:00 2001 +From 3b740c294b5a90fb6e1d3bd105add8b6be65ba31 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 049/138] Add cpufreq driver +Subject: [PATCH 049/139] Add cpufreq driver Signed-off-by: popcornmix --- @@ -80844,10 +80844,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From d2f0ef9841b6c3356c104ab3868168106a3877c0 Mon Sep 17 00:00:00 2001 +From 07357d3c8ecc2e3b299549dd883a3b57e0eb094b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 050/138] Added hwmon/thermal driver for reporting core +Subject: [PATCH 050/139] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -81030,10 +81030,10 @@ index 0000000000000000000000000000000000000000..25b78c3eac1503fbc9e679b963a6284b +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 050f6820d63258585019d322630b7a05b466d3ed Mon Sep 17 00:00:00 2001 +From 56f1f7549cc46b38947bb6d05e71f3ab32ab6191 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 051/138] Add Chris Boot's i2c driver +Subject: [PATCH 051/139] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81698,10 +81698,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From ef07a4a1cf2432f650de042092e5dc0eb6e986cd Mon Sep 17 00:00:00 2001 +From 7b5d0c53e8cc783a9a8e28631772b8a541327640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 052/138] char: broadcom: Add vcio module +Subject: [PATCH 052/139] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81926,10 +81926,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 7a02dd1698ca400ca779706bd9ca546e3b09cd62 Mon Sep 17 00:00:00 2001 +From b8871cd5acf434f1d4870a40f115a1f4fa178bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 053/138] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 053/139] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82012,10 +82012,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 670f084213515ea37dc185333d4425cc76215518 Mon Sep 17 00:00:00 2001 +From 5b38792582939591810feff1fe40a7d159fcccf1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 054/138] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 054/139] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -82542,10 +82542,10 @@ index 0000000000000000000000000000000000000000..84be2593ec1de8f97b0167ff06b3e05d + return $trailer; +} -From 845d135b770df45b2946c4e4bc35c9cad8a2ff62 Mon Sep 17 00:00:00 2001 +From 9934d9399eb0ae620ce9e2b492ff8d4d364ad4ba Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 055/138] BCM2708: Add core Device Tree support +Subject: [PATCH 055/139] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -84600,10 +84600,10 @@ index 0000000000000000000000000000000000000000..3e134a1208610b90e2d0fc22f03c6e9f +}; + diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi -index 561f27d8d92224fe8f4f8c3224a5441f2d41175a..dae54df8dfc945962cf6f0680159e8d369142ab0 100644 +index 9444a9a9ba1057e6b594dc8e2595ac1e5ec593fb..8405bea39722e5fa86369cba328fe8cace432388 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi -@@ -383,6 +383,7 @@ +@@ -388,6 +388,7 @@ #address-cells = <1>; #size-cells = <0>; status = "disabled"; @@ -84611,7 +84611,7 @@ index 561f27d8d92224fe8f4f8c3224a5441f2d41175a..dae54df8dfc945962cf6f0680159e8d3 }; i2c0: i2c@7e205000 { -@@ -438,12 +439,16 @@ +@@ -443,12 +444,16 @@ #clock-cells = <1>; reg = <0x7e215000 0x8>; clocks = <&clocks BCM2835_CLOCK_VPU>; @@ -84629,7 +84629,7 @@ index 561f27d8d92224fe8f4f8c3224a5441f2d41175a..dae54df8dfc945962cf6f0680159e8d3 clocks = <&aux BCM2835_AUX_CLOCK_UART>; status = "disabled"; }; -@@ -451,7 +456,8 @@ +@@ -456,7 +461,8 @@ spi1: spi@7e215080 { compatible = "brcm,bcm2835-aux-spi"; reg = <0x7e215080 0x40>; @@ -84639,7 +84639,7 @@ index 561f27d8d92224fe8f4f8c3224a5441f2d41175a..dae54df8dfc945962cf6f0680159e8d3 clocks = <&aux BCM2835_AUX_CLOCK_SPI1>; #address-cells = <1>; #size-cells = <0>; -@@ -461,7 +467,8 @@ +@@ -466,7 +472,8 @@ spi2: spi@7e2150c0 { compatible = "brcm,bcm2835-aux-spi"; reg = <0x7e2150c0 0x40>; @@ -93990,10 +93990,10 @@ index 58c05e5d9870b6c18a72da7dc44ff3112994946d..9842523b225a88505d796cc689c04f40 # Bzip2 -From d5100acdcdd38d35e916dfab4bf05c2a451cd966 Mon Sep 17 00:00:00 2001 +From 5b62e79d10e131a219f0759894de5c0fbff90f30 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 056/138] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 056/139] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -94168,10 +94168,10 @@ index 64c56d454f7df9f864a5242ce4212df586f66886..3fd74c8737871cb56f0355c858fc135e /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From e080648b8e3f0c279f2b62c3a4a5b3fafb5fb25f Mon Sep 17 00:00:00 2001 +From e316ce6bb6081561bfc23a25ef5b23607c96cdc0 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 057/138] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 057/139] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -94439,10 +94439,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From 8f6352d0c0d217a0e4568908c5f77b5582a61d8d Mon Sep 17 00:00:00 2001 +From 3c9e28bffbaa70237c3dc2412d73986f8a06f8ea Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 058/138] Speed up console framebuffer imageblit function +Subject: [PATCH 058/139] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing @@ -94651,10 +94651,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 0511196fc39737614173dac908833be1b1c20b47 Mon Sep 17 00:00:00 2001 +From d62e66536844ee9cec4ea654a6fa9904f083c96e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 059/138] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 059/139] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -94904,10 +94904,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 25e9f48e33c637400cddfb23b0c3a19aa49c0622 Mon Sep 17 00:00:00 2001 +From 2fc2878cabdac719e545949b57f4134c057c3ec6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/138] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/139] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -94939,10 +94939,10 @@ index 83772fa7d92a6f6178cd3a4a5c0fea28350040b5..3f4a7e34b3f775e712b1b4d6afe27a2a break; case HID_GD_JOYSTICK: -From 7e929c828d49eaeae6b43855e4753cdc94cc7c27 Mon Sep 17 00:00:00 2001 +From e32dc4eff3be8cd4c07ec669ef5958ccab06fdb6 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/138] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/139] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -95300,10 +95300,10 @@ index 30fb37fe175df604a738258a2a632bca3bfff33f..4a3d79d3b48eb483a4e4bf498f617515 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 6ed9f4574d4bb10ac99a98ec70830dc495422501 Mon Sep 17 00:00:00 2001 +From 7b71c5a7188ac7d35a95d90751d73151f64dec65 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 062/138] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/139] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -96878,10 +96878,10 @@ index 567601148318bf4a5fbc581d6c9881d9e190c409..45ea7866761a71470bd335f6f37ea603 bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 8ecdc4173f29cd927327265e1074a44abc5fd9b8 Mon Sep 17 00:00:00 2001 +From a7dc42ec5134e2fa081486f96587cd5310157ad0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/138] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/139] gpio-poweroff: Allow it to work on Raspberry Pi The Raspberry Pi firmware manages the power-down and reboot process. To do this it installs a pm_power_off handler, causing @@ -96916,10 +96916,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From 598cceecfced84f3053101783d889170a8503885 Mon Sep 17 00:00:00 2001 +From 74ce356101c1caaf47c69ab6ad5be42a433085cd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/138] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/139] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -97784,10 +97784,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From bf05fae4a376fbaa507eb7320bd58495c015bbb4 Mon Sep 17 00:00:00 2001 +From daa290fddf619230944d5413354ee00f5f231772 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/138] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/139] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -97962,10 +97962,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 685fd1f14b790aa35c5490102a2a51cf972b5fdd Mon Sep 17 00:00:00 2001 +From 62e8689d9719e5cee09fc7d572043dd3be482bc4 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/138] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/139] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -98249,10 +98249,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From c6117d939ff79362509a7e4b1b1bc9982e8b57bd Mon Sep 17 00:00:00 2001 +From c1a7305c2c9028669069e30a696222691811a75e Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/138] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/139] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -98301,10 +98301,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From 29321b2162246adf4ba45f35eed43fa6baacdd0f Mon Sep 17 00:00:00 2001 +From a4415c659c160c37d1f45f50922ae2b946009ee5 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/138] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/139] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -98648,10 +98648,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From e140feacf717a7b902d5e85c0715b9ee9455f0be Mon Sep 17 00:00:00 2001 +From fc1eba6e68d9266ee321eec6e79666f47674976e Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/138] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/139] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -98986,10 +98986,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 96e7935a85cfe0bdc46d5c34403e32b70741c316 Mon Sep 17 00:00:00 2001 +From b9a4d23f87fbde129dad1c81e8d68209ad5ce63e Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 070/138] Added support for HiFiBerry DAC+ +Subject: [PATCH 070/139] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -99619,10 +99619,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From d68c3ee84d23503ad265f6983facbdc8f60debf2 Mon Sep 17 00:00:00 2001 +From f3e164f03f2e2209ffa91a3ae9b53aa934854ec6 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 071/138] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 071/139] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -100457,10 +100457,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 6db451391ad114d13ae6bdef54a4698e85946982 Mon Sep 17 00:00:00 2001 +From 7d69d349d7a41e3f4d31cb93334506d7a77995bc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 072/138] Add driver for rpi-proto +Subject: [PATCH 072/139] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -100675,10 +100675,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 02f62db0653e423135b2ee3e430bcbe1bb7615a3 Mon Sep 17 00:00:00 2001 +From edf7bedc19f7086c8a636bb225e6dd432934aa65 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 073/138] RaspiDAC3 support +Subject: [PATCH 073/139] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -100921,10 +100921,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 83f06146b88a30f0a6849b2251b94661432ab031 Mon Sep 17 00:00:00 2001 +From b94460f020bff1533d251a6fa5c5d56f65ff32e2 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 074/138] Add Support for JustBoom Audio boards +Subject: [PATCH 074/139] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -101380,10 +101380,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From ab50413a66132bddb9ed5e617c1e9b7d9de817da Mon Sep 17 00:00:00 2001 +From d9a3c7a27491bfefee76351a7760cab2201bc015 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 075/138] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 075/139] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -101565,10 +101565,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 6f0138a12e224666e8e03db9291119e390e42e2b Mon Sep 17 00:00:00 2001 +From 259569d6df34636021bddd697d680539a66aeb5e Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 076/138] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 076/139] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. @@ -101819,10 +101819,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 7c2f12d87cd584a200246a858509562041c7c30b Mon Sep 17 00:00:00 2001 +From 4541b978f09cfc16093fe48285561d41d543698a Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 077/138] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 077/139] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -102122,10 +102122,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 2ba3cc0451d42deb412f715f753b6657030d984e Mon Sep 17 00:00:00 2001 +From c75e8ccd95298d8eb3bb890a06cae00631f12787 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 078/138] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 078/139] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -102598,10 +102598,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From c1b210515faa212a49a9d05f897f95c0dfede2e9 Mon Sep 17 00:00:00 2001 +From 782b0e7e3a6db4124de9b319d6b5c8e26d5548bd Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 079/138] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 079/139] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -102774,10 +102774,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 5852afb4a784edba3f72deb32b43015ffa0464e3 Mon Sep 17 00:00:00 2001 +From e1b319c67d6a7fda6834372fe14336cd9e087527 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 080/138] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 080/139] Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645) Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, @@ -102984,10 +102984,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 787199c7e2f96b691b4234b5c3604d2982ae8fed Mon Sep 17 00:00:00 2001 +From fc74d3c6e91d3fac0e293569c1a7744bd4787a26 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 081/138] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 081/139] Add support for Allo Piano DAC 2.1 plus add-on board for Raspberry Pi. The Piano DAC 2.1 has support for 4 channels with subwoofer. @@ -103732,10 +103732,10 @@ index 0000000000000000000000000000000000000000..56e43f98846b41e487b3089813f7edc3 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From 985ca07eaecaf07e27229a2c3b290acb0194e227 Mon Sep 17 00:00:00 2001 +From a7e595ad83ebaddb21612cb2ed61a88252ed11cc Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 082/138] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 082/139] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -104438,10 +104438,10 @@ index 0000000000000000000000000000000000000000..203ab76c7045b081578e23bda1099dd1 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From c81ec9e5752592ff68b250cfd7e342a9871212d9 Mon Sep 17 00:00:00 2001 +From 894c186f284cb08758580c22a0ebeda5275f779d Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 083/138] Support for Blokas Labs pisound board +Subject: [PATCH 083/139] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -105640,10 +105640,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 3b78427a4257452b05948a381a473c0a65f6dc71 Mon Sep 17 00:00:00 2001 +From 7e9d56629ca2ea75dd9503c837c8764428a8da32 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 084/138] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 084/139] ASoC: Add driver for Cirrus Logic Audio Card Note: due to problems with deferred probing of regulators the following softdep should be added to a modprobe.d file @@ -106708,10 +106708,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From 23f1acf6e66837b9cbd63e3c8250f28abd8622c7 Mon Sep 17 00:00:00 2001 +From 67d8b5a7c0782ffef9767ba0f0868834e74c0602 Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 085/138] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 085/139] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -106906,10 +106906,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From 67e01e7d17c7f55a6b03778db2bc3e263eaaa9fc Mon Sep 17 00:00:00 2001 +From 214c0a151d675423066fd8a05c3386dc5bb24163 Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 086/138] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 086/139] Add support for Fe-Pi audio sound card. (#1867) Fe-Pi Audio Sound Card is based on NXP SGTL5000 codec. Mechanical specification of the board is the same the Raspberry Pi Zero. @@ -107123,10 +107123,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From 93f3bae6f80d20231f744a0dd9533d6e2e8a084a Mon Sep 17 00:00:00 2001 +From bd490d673dbb2f9e8b223402c04574a96366a681 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 087/138] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 087/139] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset @@ -107528,10 +107528,10 @@ index 0000000000000000000000000000000000000000..dcf403ab37639ba79e38278d7e4b1ade +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From da32206effecb697373b5de48bf69fac36dde6cc Mon Sep 17 00:00:00 2001 +From 0e5a3ad859fe3baa9e4319a2e4c1be052b3ea728 Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 088/138] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 088/139] Driver support for Google voiceHAT soundcard. --- sound/soc/bcm/Kconfig | 7 ++ @@ -107922,10 +107922,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From 69a57f107f293df3f7b7ee41a8b28a2cc54452a6 Mon Sep 17 00:00:00 2001 +From 6048d11526c6e66a1848d4d34f4aee89d9587625 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 089/138] rpi_display: add backlight driver and overlay +Subject: [PATCH 089/139] rpi_display: add backlight driver and overlay Add a mailbox-driven backlight controller for the Raspberry Pi DSI touchscreen display. Requires updated GPU firmware to recognise the @@ -108094,10 +108094,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 2e5133f48c1cf815722477fe28e8f7fa248f4991 Mon Sep 17 00:00:00 2001 +From 4ea4714b4b512301ebc98fe4aa4be9ca8bb65ed3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 090/138] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 090/139] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -108371,10 +108371,10 @@ index 4a3d79d3b48eb483a4e4bf498f617515e3ad158f..5f34e1257117fb48013c9926a8a223d6 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 1f4250d265fdf713468488f67aa25d8f11cb6804 Mon Sep 17 00:00:00 2001 +From 7edad3bf5e3f47a8ad3318858ba61d1a9af6beab Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 091/138] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 091/139] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -108700,10 +108700,10 @@ index 5f34e1257117fb48013c9926a8a223d64a598ab7..c819c21b0158a59c1308882e5a40e3f3 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 5110556546d74775de69d34ae71da4b747308910 Mon Sep 17 00:00:00 2001 +From fcbc1cc327228ea673a553f0af18c54209d63c68 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 092/138] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 092/139] amba_pl011: Don't use DT aliases for numbering The pl011 driver looks for DT aliases of the form "serial", and if found uses as the device ID. This can cause @@ -108732,10 +108732,10 @@ index 8a857bb34fbb26c6d60784d3fe7576730a9aa5b3..0afd6f3ee7e8d021d6e324915af4dc7c uap->old_cr = 0; uap->port.dev = dev; -From 7d92ec93243c053fe624e474a104b95b705873f1 Mon Sep 17 00:00:00 2001 +From 0aa8b3217fd57dd9a2b7c9d3a4c7010d59ea86c1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 093/138] amba_pl011: Round input clock up +Subject: [PATCH 093/139] amba_pl011: Round input clock up The UART clock is initialised to be as close to the requested frequency as possible without exceeding it. Now that there is a @@ -108821,10 +108821,10 @@ index 0afd6f3ee7e8d021d6e324915af4dc7c7db56083..be4aa91bac66982b1fd9a13e9f971b3b /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From e63511f281c4154f35496041ab03dc3d0559438f Mon Sep 17 00:00:00 2001 +From 558eb33f85c31a56edfe2bc0a8fbc80829be5364 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 094/138] OF: DT-Overlay configfs interface +Subject: [PATCH 094/139] OF: DT-Overlay configfs interface This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes. @@ -109256,10 +109256,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From ecd0912d0de1249d5daf18f981f4e8d51dbe241e Mon Sep 17 00:00:00 2001 +From 95e1b5476222d1a8872c75989b729cfd3715ca7f Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 095/138] brcm: adds support for BCM43341 wifi +Subject: [PATCH 095/139] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -109389,7 +109389,7 @@ index 7a2b49587b4d32dde1af56a2979d4e1818500f84..df138305217384de2359313bc7d00528 MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine"); diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c -index fc64b8913aa6a11c0111fec3b9d900174dc250c3..fe6bfd3ba350a2459d89957d768651a6b8643ab8 100644 +index e03450059b06c0bfe510148f985c19668bcd3dff..825473488513f41a4abfc8ccd88e0badc13fdca9 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c @@ -609,6 +609,7 @@ BRCMF_FW_NVRAM_DEF(4329, "brcmfmac4329-sdio.bin", "brcmfmac4329-sdio.txt"); @@ -109410,10 +109410,10 @@ index fc64b8913aa6a11c0111fec3b9d900174dc250c3..fe6bfd3ba350a2459d89957d768651a6 BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From 14557d9009cd7dc9626c286dc64e5944fa82ab98 Mon Sep 17 00:00:00 2001 +From ef2d2c82a23a90180c24dccc37fcb83e04bc1a6f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 096/138] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 096/139] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -109437,10 +109437,10 @@ index 844bd80458a53e3134c8a54d3958e559c39c5551..0e3c71dc0da4c21954ab1a1b329549a1 req->alpha2[0], req->alpha2[1]); return; -From 4c67cb76317bef19f63551d46f3904221fe318a0 Mon Sep 17 00:00:00 2001 +From d7cbf579f471fa2e91c65e4a98534d609205e784 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 097/138] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 097/139] hci_h5: Don't send conf_req when ACTIVE Without this patch, a modem and kernel can continuously bombard each other with conf_req and conf_rsp messages, in a demented game of tag. @@ -109463,10 +109463,10 @@ index 90d0456b67446bcc624fab4b1542c4eaf21531b1..f9adeac3bbba6418dcca298c55706356 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From f26e9bbdcc6c4674adca920ff2c513ddbcc01514 Mon Sep 17 00:00:00 2001 +From f8da815b5992bbde3d6424d69f7d16ab5c4bd492 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 098/138] config: Add default configs +Subject: [PATCH 098/139] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1314 +++++++++++++++++++++++++++++++++++ @@ -112124,10 +112124,10 @@ index 0000000000000000000000000000000000000000..ace19d6f5bc04091130bd28b65ce25e8 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 89a79e23d30ebacfe0c452c38acae8524fa0f5fe Mon Sep 17 00:00:00 2001 +From 7c3025f8028484ac4ab865a9a0520ee3b2b99d7a Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 099/138] Add arm64 configuration and device tree differences. +Subject: [PATCH 099/139] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -113541,10 +113541,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From 920cdbadd13908fa72b953e49ead286f59cb91bb Mon Sep 17 00:00:00 2001 +From 4d578832887e4c726d87117c7f545e8a3144b547 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 100/138] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 100/139] ARM64: Make it work again on 4.9 (#1790) * Invoke the dtc compiler with the same options used in arm mode. * ARM64 now uses the bcm2835 platform just like ARM32. @@ -113947,10 +113947,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From cfde0146b14fdd3d0d5b29f435f5dde1720a1467 Mon Sep 17 00:00:00 2001 +From 727b12de7bd89437db3874db59142959fb5cf3d4 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 101/138] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 101/139] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -113979,10 +113979,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From 357d032cb4351f367c230720f100aebee3c80a9b Mon Sep 17 00:00:00 2001 +From 8beceba8476275964e35ffcc8fcc3e7493fafadd Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 102/138] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 102/139] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -114027,10 +114027,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From 10c1fe3492d2010117b17189f073a07c10aa1fca Mon Sep 17 00:00:00 2001 +From 8166fcd27513ed13e76584b9463e4849cac4263d Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 103/138] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 103/139] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -114062,10 +114062,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From 85f0f70754cd3501b73138c6af59ae79a746f011 Mon Sep 17 00:00:00 2001 +From ecbbb52bff43297fab1c2d20b43f500ceefe5bd3 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 104/138] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 104/139] ARM64: Enable RTL8187/RTL8192CU wifi in build config These drivers build now, so they can be enabled back in the build configuration just like they are for @@ -114090,10 +114090,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From da471af23ea806551ae958c71a7a03b8130bb974 Mon Sep 17 00:00:00 2001 +From 1db90c837d7460dcadd1d088c1298f7460802671 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 105/138] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 105/139] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 In ARM64, the FIQ mechanism used by this driver is not current implemented. As a workaround, reqular IRQ is used instead @@ -114436,10 +114436,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From 184e66185b0fd426fc4939c7ba30a8400210c431 Mon Sep 17 00:00:00 2001 +From b9e17acfcb4dd48648c83b5a672db2e212ec547b Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 106/138] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 106/139] ARM64: Round-Robin dispatch IRQs between CPUs. IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced @@ -114513,10 +114513,10 @@ index c4e151451cf8c8ebde5225515eac2786d6f61d46..9a7ee04ee0d9b7aa734cf3159ed59c19 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From f8ccd56fd143914c926201d256a4c038ed1d34fc Mon Sep 17 00:00:00 2001 +From 603355b1c6dd1fdd00cce99b2273d746e86c2ba8 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 107/138] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 107/139] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -114537,10 +114537,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From ae1b0fe98682e79fc733effbb511305cb872d9ab Mon Sep 17 00:00:00 2001 +From 296167b8c011da4740031e8fea1c66bf263d4d69 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 108/138] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 108/139] ARM64: Force hardware emulation of deprecated instructions. --- @@ -114568,10 +114568,10 @@ index f0e6d717885b1fcf3b22f64c10c38f19c25f809d..0cb830d30fb6d2bd26ab572efe893649 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From e23f01e0de13c9d24f6588d10fc31ef4faadadeb Mon Sep 17 00:00:00 2001 +From 239e6044f40f0a7df8f2339a9bdfb657bfb170df Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 109/138] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 109/139] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -114596,10 +114596,10 @@ index f839ecd919f934c54a73d8e9f8179aff3d3cba26..a4010b3cc8ef11d449bcff8018522667 dtbs: prepare scripts -From af1b446c2ec2105754d00100bd47ad395c7e36db Mon Sep 17 00:00:00 2001 +From a67221372892bc577297a53facd41a98770a2ed4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 110/138] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 110/139] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -114637,10 +114637,10 @@ index 39f72da6ba1f6ec6ec41d5dc1bf46344aab008da..fe3298b54cdfb96bd90fb4f39e13921d * rate changes on at least of the parents. */ -From 38b475a3f866f1d2717c4b89176e080a71ca22fa Mon Sep 17 00:00:00 2001 +From a348ce4c3d2497b2126657e8230d64f37835cf3c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 111/138] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 111/139] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -114673,10 +114673,10 @@ index 6351fe7f8e314ac5ebb102dd20847b383fd5b857..28745af5aadf3cb91fa7ff39118385c3 }, }; -From c9bdbebebbb6016ba3bf80a6aba584bfb4e44872 Mon Sep 17 00:00:00 2001 +From f05990f21eeea2c0c054e9cea5f3afc0fd0970ac Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 112/138] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 112/139] ASoC: Add prompt for ICS43432 codec Without a prompt string, a config setting can't be included in a defconfig. Give CONFIG_SND_SOC_ICS43432 a prompt so that Pi soundcards @@ -114701,10 +114701,10 @@ index adf3b7b75e303430d6a03a2b457d389596f39c1a..ba4a36dd0196e8eece5e22ad6717c189 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From e5ed4750aa24c06c4c54f4daa839b5004cb5a975 Mon Sep 17 00:00:00 2001 +From 0c1424fffac2766b62fc71ec1a9a9a3a0b01aa38 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 113/138] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 113/139] bcm2835-aux: Add aux interrupt controller The AUX block has a shared interrupt line with a register indicating which devices have active IRQs. Expose this as a nested interrupt @@ -114868,10 +114868,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From 9f0ae40ca5f96e15eee99b14ea776fb430019eba Mon Sep 17 00:00:00 2001 +From 489750b88750dd3a9595145cd306d866aab610f5 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 29 Apr 2016 10:32:17 -0700 -Subject: [PATCH 114/138] mmc: read mmc alias from device tree +Subject: [PATCH 114/139] mmc: read mmc alias from device tree To get the SD/MMC host device ID, read the alias from the device tree. @@ -114928,10 +114928,10 @@ index 3f8c85d5aa094b43666904c7dbbe5e62c9763c19..4dbd0e8e27a496bfbe67d188cf795ecc kfree(host); return NULL; -From c8c234082c1947dc0bbd24dd80a18401a5dd0459 Mon Sep 17 00:00:00 2001 +From 54a4c382466562453a36364b01900632107392fa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 115/138] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 115/139] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -115071,10 +115071,10 @@ index aad015e0152b7f1d32f92c500825b723498d1be9..d44a9c84a90a02388c05a427814fb8fc unsigned int erase_size; /* erase size in sectors */ -From 713e03f2cf51f1b8dd0cbcb03ffa21f6dd97d229 Mon Sep 17 00:00:00 2001 +From 53bf52cdbf0b9936678e793abf464f3b9d16f207 Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 116/138] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 116/139] This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. It includes the CXD2880 driver and the CXD2880 SPI adapter. The current CXD2880 driver version is 1.4.1 - 1.0.1 released on April 13, 2017. @@ -131206,10 +131206,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From a8c8ae7ea4e0469394b976ed043cae2e04a7de02 Mon Sep 17 00:00:00 2001 +From 5049d2845dd95c2c47267ce6bc291603544d01e6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 117/138] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 117/139] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -131231,10 +131231,10 @@ index c819c21b0158a59c1308882e5a40e3f3fe73cbdf..de2a3dcd562beb752266eaf0070e5586 enum rpi_firmware_property_status { -From a287bf2f30d594f2b472b4947711072a3752659c Mon Sep 17 00:00:00 2001 +From 93fe8d377242427eebafdb0af3ede66d90b0ea64 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 118/138] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 118/139] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -131278,10 +131278,10 @@ index de2a3dcd562beb752266eaf0070e55861d553f5f..dc7fd58afd5dddebf9b17065bb069a1d #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From c37d535778e57f981239490f3a6226a44b08da36 Mon Sep 17 00:00:00 2001 +From abd439dbafac0faf4e2d2aec71cfe2bfb4b67483 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 119/138] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 119/139] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -132054,10 +132054,10 @@ index 0000000000000000000000000000000000000000..1e09980c61a91246156c4ab661c03779 + }, +}; -From 7ab434923076414e0c7ecfb77f221559ab742403 Mon Sep 17 00:00:00 2001 +From d3aa2b5d881bf151bdb1286647bec106631733de Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 120/138] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 120/139] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -132081,10 +132081,10 @@ index 1e09980c61a91246156c4ab661c03779baa1fc97..174a2f90c5bd78798ed47cca243b68a9 if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From 781356cf3f4c229b2475c66ebae21a89b8953b37 Mon Sep 17 00:00:00 2001 +From eb5901313c3752e561c064985cf9bb370aeb4c06 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 121/138] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 121/139] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -132154,10 +132154,10 @@ index 174a2f90c5bd78798ed47cca243b68a968e6e735..611a3c6d622deb9b511fe70c363d201b RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From 4509950c00fd9fdc628d389e84c0c1b35319e6d5 Mon Sep 17 00:00:00 2001 +From 073e783483f9de954d519bcf884ab7220cc5389f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 122/138] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 122/139] drm/vc4: Fix sending of page flip completion events in FKMS mode. In the rewrite of vc4_crtc.c for fkms, I dropped the part of the @@ -132199,10 +132199,10 @@ index 611a3c6d622deb9b511fe70c363d201b091c414a..eb97443533c5a8fb5e142541adb1165b static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From b7f699bc16d6fd8f0cc2ea786bb3b07575fc8484 Mon Sep 17 00:00:00 2001 +From 2561444cef2bd20693e73e65d826d23ccceb83d3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 123/138] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 123/139] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -132259,10 +132259,10 @@ index eb97443533c5a8fb5e142541adb1165b55e32aea..aa0ab7bcd904b775f64045c4d5baf39a return 0; -From d9d687bf184a801f395690bd7389be53ad74ad4c Mon Sep 17 00:00:00 2001 +From 2daae4e08422f0f5b78d40b2204eb9f6b9e4ee89 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 15 May 2017 09:28:36 -0700 -Subject: [PATCH 124/138] drm/vc4: Mark the device as active when enabling +Subject: [PATCH 124/139] drm/vc4: Mark the device as active when enabling runtime PM. Failing to do so meant that we got a resume() callback on first use of @@ -132288,10 +132288,10 @@ index 7cc346ad9b0baed63701d1fae8f0306aa7713129..c82326ff994d03719a66d42f8f9ac0e2 pm_runtime_set_autosuspend_delay(dev, 40); /* a little over 2 frames. */ pm_runtime_enable(dev); -From 7fa1571e047eac343ae44a268983422d32e88f06 Mon Sep 17 00:00:00 2001 +From ad493de2e3d2751eddea68643b7965d1db42576e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 16 May 2017 14:39:49 +0100 -Subject: [PATCH 125/138] mmc: Change downstream MMC driver CONFIG option +Subject: [PATCH 125/139] mmc: Change downstream MMC driver CONFIG option The upstream SDHOST driver has now claimed CONFIG_MMC_BCM2835, which clashes with the downstream MMC driver. Rename the downstream option to @@ -132339,10 +132339,10 @@ index f4b8951af214fd0b0392d4fb38b29a0b41c7340e..d352fabf6b61c803fef3e10f974214bf obj-$(CONFIG_MMC_WBSD) += wbsd.o obj-$(CONFIG_MMC_AU1X) += au1xmmc.o -From 1fe5b6ac8eee33a3ba6640b83645e35c29ec33da Mon Sep 17 00:00:00 2001 +From 50c770400200c76b817e5267b64a3b9049805ef0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 19:34:52 +0100 -Subject: [PATCH 126/138] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF +Subject: [PATCH 126/139] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132374,10 +132374,10 @@ index ace19d6f5bc04091130bd28b65ce25e863117a43..17952377907afac28fd982ca2f910206 CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m -From 1b5dfe1870af7d0e03d4af8dd79560ac366d845a Mon Sep 17 00:00:00 2001 +From 0af0f97256bd40043970eb0da7c3eba9ff7af83a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 18 May 2017 11:40:43 +0100 -Subject: [PATCH 127/138] config: Add FB_TFT_ST7789V module +Subject: [PATCH 127/139] config: Add FB_TFT_ST7789V module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132409,60 +132409,10 @@ index 17952377907afac28fd982ca2f9102067a062d6e..ef7bfc431c43eec6deb7c52e8cdac317 CONFIG_FB_TFT_TLS8204=m CONFIG_FB_TFT_UC1701=m -From a131f322f79922c179639810ae374ee4d9e3fcb1 Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Mon, 8 May 2017 16:30:18 +0100 -Subject: [PATCH 128/138] ARM: dts: bcm283x: Reserve first page for firmware - -The Raspberry Pi startup stub files for multi-core BCM27XX processors -make the secondary CPUs spin until the corresponding mailbox is -written. These stubs are loaded at physical address 0x00000xxx (as seen -by the ARMs), but this page will be reused by the kernel unless it is -explicitly reserved, causing the waiting cores to execute random code. - -Use the /memreserve/ Device Tree directive to mark the first page as -off-limits to the kernel. - -See: https://github.com/raspberrypi/linux/issues/1989 - -Signed-off-by: Phil Elwell ---- - arch/arm/boot/dts/bcm2710-rpi-3-b.dts | 4 ---- - arch/arm/boot/dts/bcm283x.dtsi | 2 ++ - 2 files changed, 2 insertions(+), 4 deletions(-) - -diff --git a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts -index 634add7ab8bc0aa5501508c97050b101aa0e94f4..a239a2d05968af6d87bc69b3472782f4c596853c 100644 ---- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts -+++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts -@@ -1,9 +1,5 @@ - /dts-v1/; - --#ifdef RPI364 --/memreserve/ 0x00000000 0x00001000; --#endif -- - #include "bcm2710.dtsi" - #include "bcm283x-rpi-smsc9514.dtsi" - -diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi -index dae54df8dfc945962cf6f0680159e8d369142ab0..3fde8a3d24c2dea123c6c741f16b86771ca88cc4 100644 ---- a/arch/arm/boot/dts/bcm283x.dtsi -+++ b/arch/arm/boot/dts/bcm283x.dtsi -@@ -3,6 +3,8 @@ - #include - #include - -+/memreserve/ 0x00000000 0x00001000; -+ - /* This include file covers the common peripherals and configuration between - * bcm2835 and bcm2836 implementations, leaving the CPU configuration to - * bcm2835.dtsi and bcm2836.dtsi. - -From f64a430aee7b22bc7cf9f5af21b8f45bc9eb038c Mon Sep 17 00:00:00 2001 +From 61e9796fff72dc3ebec973cb7a7bcf11f2681ee8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 May 2017 15:36:46 +0100 -Subject: [PATCH 129/138] staging: bcm2835-audio: Fix memory corruption +Subject: [PATCH 128/139] 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. @@ -132497,10 +132447,10 @@ index 5f3d8f2339e34834d11edfa8de1d5819e3e32b4f..89f96f3c02805f4114ec9b488e18d00e return ret; } -From e11a323562ee85101bb5546fab8ab924fc3f043a Mon Sep 17 00:00:00 2001 +From 5f906afc548c7d20dd8400357b6cec1bf6221c3e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 May 2017 16:40:05 +0100 -Subject: [PATCH 130/138] config: Add CONFIG_TOUCHSCREEN_GOODIX +Subject: [PATCH 129/139] config: Add CONFIG_TOUCHSCREEN_GOODIX --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132532,10 +132482,10 @@ index ef7bfc431c43eec6deb7c52e8cdac31794ccccbe..573cbd71ca0990b7a7e48fa3bbc98eec CONFIG_TOUCHSCREEN_RPI_FT5406=m CONFIG_TOUCHSCREEN_USB_COMPOSITE=m -From 6d4d49595581d6dbead7003588e88b6da738dc14 Mon Sep 17 00:00:00 2001 +From 3acf94bac396f495a6c8c46f161cca0431d901f9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 15:58:00 +0100 -Subject: [PATCH 131/138] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 +Subject: [PATCH 130/139] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132567,10 +132517,10 @@ index 573cbd71ca0990b7a7e48fa3bbc98eec2d3d776f..6c4d62cdea7e4ed642e265861c6f1c1a CONFIG_TOUCHSCREEN_USB_COMPOSITE=m CONFIG_TOUCHSCREEN_STMPE=m -From f4feeabdb39080e464b93397b2d2c922488955c4 Mon Sep 17 00:00:00 2001 +From 7dacd05a62fffde672c18a059f8f58e35b671d89 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 13:35:28 +0100 -Subject: [PATCH 132/138] config: Add CONFIG_IPV6_SIT_6RD +Subject: [PATCH 131/139] config: Add CONFIG_IPV6_SIT_6RD --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132602,10 +132552,10 @@ index 6c4d62cdea7e4ed642e265861c6f1c1a964e331c..676dfebfbab8f1cba521bc032b8d2137 CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=y -From eeb2a23afc4a8a620a166459dfdfd3275f857b30 Mon Sep 17 00:00:00 2001 +From 4e5d5465b62ea69b06d2b13048b4e9fac5bf3518 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 22 May 2017 15:28:27 +0100 -Subject: [PATCH 133/138] config: Add CONFIG_IPV6_ROUTE_INFO +Subject: [PATCH 132/139] config: Add CONFIG_IPV6_ROUTE_INFO --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -132637,10 +132587,10 @@ index 676dfebfbab8f1cba521bc032b8d21371c38abfa..4ae560370a972b9c56e8af38a537b1db CONFIG_INET6_ESP=m CONFIG_INET6_IPCOMP=m -From bf5e5212f6c16a47c2be4cb6e5d948f634d50bed Mon Sep 17 00:00:00 2001 +From 84052be646624e8646171e27908260e06fad4aed Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 26 Apr 2017 17:28:47 +0100 -Subject: [PATCH 134/138] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER +Subject: [PATCH 133/139] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER It is unwise to use sources other than the oscillator and PLLD_PER for the PCM peripheral (and perhaps others - TBD) because their rate can @@ -132685,10 +132635,10 @@ index fe3298b54cdfb96bd90fb4f39e13921d2e1d4356..c24b4defb2b046e4ecdc109befc2b224 [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( .name = "pwm", -From 990d52e2371fbd1ec675eba03aa24909800938cd Mon Sep 17 00:00:00 2001 +From 9a984d2f9924bca1292cfc55f8c15e805b15db07 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 May 2017 13:56:41 +0100 -Subject: [PATCH 135/138] clk: bcm2835: Minimise clock jitter for PCM clock +Subject: [PATCH 134/139] clk: bcm2835: Minimise clock jitter for PCM clock Fractional clock dividers generate accurate average frequencies but with jitter, particularly when the integer divisor is small. @@ -132813,10 +132763,10 @@ index c24b4defb2b046e4ecdc109befc2b22497060647..db3ba74acf78f4dfec0d2206b58bc7c3 .tcnt_mux = 23), [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( -From d19a4baf690a8a00e2779952153d5a3b315f459d Mon Sep 17 00:00:00 2001 +From 6104889414a6899946349e4ebacc5d093af84f98 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 25 May 2017 16:04:53 +0100 -Subject: [PATCH 136/138] dwc_otg: make periodic scheduling behave properly for +Subject: [PATCH 135/139] dwc_otg: make periodic scheduling behave properly for FS buses If the root port is in full-speed mode, transfer times at 12mbit/s @@ -132987,10 +132937,10 @@ index 85a6d431ca54b47dc10573aa72d1ad69d06f2e36..4b1dd9de99e9e08b2e006fb5f8a7ef92 status = check_max_xfer_size(hcd, qh); if (status) { -From 24d4251216506b32bf79ca89713bf77d7421f32b Mon Sep 17 00:00:00 2001 +From 135f6e5c276dc32a0de8961ae79a82db65499188 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 May 2017 16:07:23 +0100 -Subject: [PATCH 137/138] serial: 8250: Add CAP_MINI, set for bcm2835aux +Subject: [PATCH 136/139] serial: 8250: Add CAP_MINI, set for bcm2835aux commit d087e7a991f1f61ee2c07db1be7c5cc2aa373f5d upstream. @@ -133063,10 +133013,10 @@ index 68fd045a7025047726860547ecd661b95d61ac80..af954e278d78002cc5d07086dcc69608 baud = serial8250_get_baud_rate(port, termios, old); -From 75ebe239fe51658df1c93fc65897cd69e61f3277 Mon Sep 17 00:00:00 2001 +From 8fe800df3ddec9746663b9a87a1abbb838f90b9d Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 26 May 2017 12:50:31 +0100 -Subject: [PATCH 138/138] dwc_otg: fiq_fsm: Make isochronous compatibility +Subject: [PATCH 137/139] dwc_otg: fiq_fsm: Make isochronous compatibility checks work properly Get rid of the spammy printk and local pointer mangling. @@ -133129,3 +133079,123 @@ index 38bf5fc792d32352f9e208e0e90f968599b9bc31..71834cf365e67d7ad995bba7869216c4 } return 1; } + +From 773cd58298f8856da39c2232d36742f46c86f436 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Mon, 12 Jun 2017 13:05:43 +0100 +Subject: [PATCH 138/139] config: Add CONFIG_CAN_GS_USB + +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index aacd9619f45cd0924f0b80a7d035ae03273d93ce..5b0f11690132f4ac3fe936b409ef79c188b3ac85 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -361,6 +361,7 @@ CONFIG_CAN=m + CONFIG_CAN_VCAN=m + CONFIG_CAN_SLCAN=m + CONFIG_CAN_MCP251X=m ++CONFIG_CAN_GS_USB=m + CONFIG_IRDA=m + CONFIG_IRLAN=m + CONFIG_IRNET=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 4ae560370a972b9c56e8af38a537b1dbebd5488a..8894ef2ed78968ea56d83d56ba4d770b45bba5c2 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -357,6 +357,7 @@ CONFIG_CAN=m + CONFIG_CAN_VCAN=m + CONFIG_CAN_SLCAN=m + CONFIG_CAN_MCP251X=m ++CONFIG_CAN_GS_USB=m + CONFIG_IRDA=m + CONFIG_IRLAN=m + CONFIG_IRNET=m + +From 63646e2421dc44fea758798804d408032c684627 Mon Sep 17 00:00:00 2001 +From: P33M +Date: Mon, 12 Jun 2017 16:10:03 +0100 +Subject: [PATCH 139/139] dwc_otg: add module parameter int_ep_interval_min + +Add a module parameter (defaulting to ignored) that clamps the polling rate +of high-speed Interrupt endpoints to a minimum microframe interval. + +The parameter is modifiable at runtime as it is used when activating new +endpoints (such as on device connect). +--- + drivers/usb/host/dwc_otg/dwc_otg_driver.c | 6 +++++- + drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c | 25 ++++++++++++------------- + 2 files changed, 17 insertions(+), 14 deletions(-) + +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_driver.c b/drivers/usb/host/dwc_otg/dwc_otg_driver.c +index cb060a7179a3eec791506ed2779b553cad9841b0..95943e07528276b26b51ea2d57a1f433f280aaef 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_driver.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_driver.c +@@ -249,6 +249,7 @@ uint16_t nak_holdoff = 8; + + unsigned short fiq_fsm_mask = 0x0F; + ++unsigned short int_ep_interval_min = 0; + /** + * This function shows the Driver Version. + */ +@@ -1398,7 +1399,10 @@ MODULE_PARM_DESC(fiq_fsm_mask, "Bitmask of transactions to perform in the FIQ.\n + "Bit 1 : Periodic split transactions\n" + "Bit 2 : High-speed multi-transfer isochronous\n" + "All other bits should be set 0."); +- ++module_param(int_ep_interval_min, ushort, 0644); ++MODULE_PARM_DESC(int_ep_interval_min, "Clamp high-speed Interrupt endpoints to a minimum polling interval.\n" ++ "0..1 = Use endpoint default\n" ++ "2..n = Minimum interval n microframes. Use powers of 2.\n"); + + /** @page "Module Parameters" + * +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c +index 4b1dd9de99e9e08b2e006fb5f8a7ef92f20c2553..fe8e8f841f03660c2ad49ab8e66193bec62558d3 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c +@@ -43,6 +43,7 @@ + #include "dwc_otg_regs.h" + + extern bool microframe_schedule; ++extern unsigned short int_ep_interval_min; + + /** + * Free each QTD in the QH's QTD-list then free the QH. QH should already be +@@ -218,21 +219,19 @@ void qh_init(dwc_otg_hcd_t * hcd, dwc_otg_qh_t * qh, dwc_otg_hcd_urb_t * urb) + SCHEDULE_SLOP); + qh->interval = urb->interval; + +-#if 0 +- /* Increase interrupt polling rate for debugging. */ +- if (qh->ep_type == UE_INTERRUPT) { +- qh->interval = 8; +- } +-#endif + hprt.d32 = DWC_READ_REG32(hcd->core_if->host_if->hprt0); +- if ((hprt.b.prtspd == DWC_HPRT0_PRTSPD_HIGH_SPEED) && +- ((dev_speed == USB_SPEED_LOW) || +- (dev_speed == USB_SPEED_FULL))) { +- qh->interval *= 8; +- qh->sched_frame |= 0x7; +- qh->start_split_frame = qh->sched_frame; ++ if (hprt.b.prtspd == DWC_HPRT0_PRTSPD_HIGH_SPEED) { ++ if (dev_speed == USB_SPEED_LOW || ++ dev_speed == USB_SPEED_FULL) { ++ qh->interval *= 8; ++ qh->sched_frame |= 0x7; ++ qh->start_split_frame = qh->sched_frame; ++ } else if (int_ep_interval_min >= 2 && ++ qh->interval < int_ep_interval_min && ++ qh->ep_type == UE_INTERRUPT) { ++ qh->interval = int_ep_interval_min; ++ } + } +- + } + + DWC_DEBUGPL(DBG_HCD, "DWC OTG HCD QH Initialized\n");