diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 7d1c40dcb7..05bc09b2fe 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 5fc41f5c9f33aee928a06758394ecd2630d1b824 Mon Sep 17 00:00:00 2001 +From eec8e82e0a53f77804f6ee7eb7ccee8f12ba5c86 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/163] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/165] 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 5f19fb0f025d9449d0ba20958610e0d1f083f032..ed28f1c3e1d0f2559a62a1c289937944 usbnet_skb_return(dev, ax_skb); } -From 5e1812e69a2057f9e9332b22f50575e29b74e88e Mon Sep 17 00:00:00 2001 +From 4d6cc78075b1d8ec8459a0e43cadc2b48f236fa5 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/163] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/165] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index ed28f1c3e1d0f2559a62a1c28993794497730c5d..f758e122c65685799d4aeeb1c3e6ca81 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 0a2f6fb3e879ba169cf275a1d897176e6fef93ff Mon Sep 17 00:00:00 2001 +From dd6af616b01ce5699d358823f650d0de1dfbcef8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/163] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/165] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index f758e122c65685799d4aeeb1c3e6ca81df0d7980..f6661e388f6e801c1b88e48a3b71407b eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From df8d18a436aae709d4c6126a7ed083762e306047 Mon Sep 17 00:00:00 2001 +From ed0782cf4d891b3dc1258345c6350fd06abe4e20 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/163] Protect __release_resource against resources without +Subject: [PATCH 004/165] 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 c6de3b140ceb3ea40cc543ecad2f370b398e7bd6 Mon Sep 17 00:00:00 2001 +From 2cb589e38b396476f7e52e7f91d11f2845000a3c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/163] mm: Remove the PFN busy warning +Subject: [PATCH 005/165] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -239,10 +239,10 @@ Signed-off-by: Eric Anholt 1 file changed, 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index c5fee5a0316d96d84003ab168e58ed40e0d34bdd..2bea43c7acb2e7ba1f47f8aa8d6e803ac5030c62 100644 +index a2019fc9d94df3af9cf2c5ce1a476949c6822efc..5e6e1815923f212f5c1b1d1a213b0b12778997d4 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -7516,8 +7516,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, +@@ -7529,8 +7529,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, /* Make sure the range is really isolated. */ if (test_pages_isolated(outer_start, end, false)) { @@ -252,10 +252,10 @@ index c5fee5a0316d96d84003ab168e58ed40e0d34bdd..2bea43c7acb2e7ba1f47f8aa8d6e803a goto done; } -From ddb749121934ad549536dc4179214910e52e3d50 Mon Sep 17 00:00:00 2001 +From 100f8ee402a67c4f9bae7712676bbdd437a579b4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/163] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/165] 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 4f086e4ce9fa35bfc129e6c560f129dc49084f10 Mon Sep 17 00:00:00 2001 +From 7d209d07c090d5ba5beef2005ca0f6774cef60d7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 007/163] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 007/165] 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 0bef5ed7bebb26a60f1aff1dbbf10270ce730d67 Mon Sep 17 00:00:00 2001 +From 29d04709a67f6ecd03869b4aae4bb1b1539c873d 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/163] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 008/165] 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 1f2b53ad164177d69f3f02b57cca48c1c8277a15 Mon Sep 17 00:00:00 2001 +From e7d7541eeb53185497ecf9d5f355c7c734fe6434 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/163] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 009/165] 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 c1a8621dd5f255a263a162325be6b0c2177b9e17 Mon Sep 17 00:00:00 2001 +From 612f126b64884a5e0f5e73b7c236093b4d56612f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 010/163] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 010/165] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -567,10 +567,10 @@ index 9e2e099baf8ca5cc6510912a36d4ca03daeb8273..e59640942826db2ea14d0bde0ff5ab22 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 53008c289448ccaf8d7e6a3e2b98fc5620a4c3de Mon Sep 17 00:00:00 2001 +From 5b78423b2e1540634810dac47b48a3d27a83e365 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Jan 2017 18:25:01 +0000 -Subject: [PATCH 011/163] Revert "pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP" +Subject: [PATCH 011/165] 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 419df603cd1a7c6a82ac63a32848f4622b6b6feb Mon Sep 17 00:00:00 2001 +From 0578c862453c7aef2e013996ccf5d3aa9e277793 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 012/163] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 012/165] 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 ba780da75ffd0be9ce6f898e8fd6f05595d7f584 Mon Sep 17 00:00:00 2001 +From 90aa0aad83456a4fa846525d06a4359a95e2bdaa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/163] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/165] 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 b62cbe479270ffa9b035918a67172866ad41469f Mon Sep 17 00:00:00 2001 +From d51cfb02233abe9c3ccedaffb8332cd0e77ea6c1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 014/163] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 014/165] 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 b7828f550839fedcd59048e2cfa421c6a03db99e Mon Sep 17 00:00:00 2001 +From a4aea453b3234e99b5400c631595cc2b1263c016 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 015/163] spi-bcm2835: Disable forced software CS +Subject: [PATCH 015/165] 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 a6196e059a30526b05e3d99170d52c631855d41d Mon Sep 17 00:00:00 2001 +From 2188eefb05bfce482654b99c81a5ed2c09ddeba4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 016/163] spi-bcm2835: Remove unused code +Subject: [PATCH 016/165] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1131,10 +1131,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 23da7277f1010e1b276893a4ee62dd1a2f3c407a Mon Sep 17 00:00:00 2001 +From d5045f96098752f22cc453bfb16e08e7883e832d 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/163] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 017/165] 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 8e4a796b7bdf57be6f27ce7f0d857c88beefb49e Mon Sep 17 00:00:00 2001 +From fafa0aece974e67ed438e7071e1121afebd49897 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/163] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 018/165] 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 5a31d2f01df5a7b9d580ac511d51e5f96f29919f Mon Sep 17 00:00:00 2001 +From b535bf90b53b6bc8a2565781dc8855dfd30494c3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 019/163] firmware: Updated mailbox header +Subject: [PATCH 019/165] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1357,10 +1357,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From 96a5beb5300721c9a3844d8b89022e97017ff5e9 Mon Sep 17 00:00:00 2001 +From 4f0de8a823dd84a85feec56f089c846fd7655921 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 020/163] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 020/165] 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 d99a66a44c15c22bdf9cb299a21ef563cd2c210d Mon Sep 17 00:00:00 2001 +From 3d6b467733ba028155f18a08fd7363a8af229b46 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/163] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 021/165] 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 1b7bd8a02e40f5b6bc86057875a63d784445c9b9 Mon Sep 17 00:00:00 2001 +From b6ff9a72e22a51449da7f429ef7c1c711dfce429 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 022/163] reboot: Use power off rather than busy spinning when +Subject: [PATCH 022/165] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1511,10 +1511,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From 8cb20d13f78214bfcedd8483cb2764478dd35fe9 Mon Sep 17 00:00:00 2001 +From 2aeffd4676df97117a35fab502a02460e7626c36 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 023/163] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 023/165] 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 fc2717cf0b7113909e77efac0e0ff430563b151b Mon Sep 17 00:00:00 2001 +From 5497f9742cad18a9da304bb8955ef1649c86c12a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 024/163] Register the clocks early during the boot process, so +Subject: [PATCH 024/165] 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 901bc61c56cc06de7800b996fbd5841d9df88a20 Mon Sep 17 00:00:00 2001 +From f346bb7359bb9ba8fe1b7d0b5aa4e7ff9be41a80 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 025/163] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 025/165] 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 89c12aa7cf98cdb017efb1be4453cf91cdc3d2cc Mon Sep 17 00:00:00 2001 +From c49f43e929fdf7b13e8ec2f977a8b29d24fb954c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 026/163] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 026/165] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1633,10 +1633,10 @@ index afe3fd3af1e40616857b3e6c425be632c1fa2667..b2bbad417f0c4499a5f49081c8f996b9 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 2a232a3f759aaf8d9a49645db9cacd6a4698fbbc Mon Sep 17 00:00:00 2001 +From 50da0852aa6b9a510915c81336ac77b57f63421e Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 027/163] BCM2835_DT: Fix I2S register map +Subject: [PATCH 027/165] 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 491e87f19c0b375c28a7132e67c8e8622d69146d Mon Sep 17 00:00:00 2001 +From 2f491a058d51e143fc7abee21bcfae31b70f3d65 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 028/163] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 028/165] 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 25d1fdf920beab96500679a77ce6b08d8524b339 Mon Sep 17 00:00:00 2001 +From 960974f9595315af7d9001558e0d1719dc81788c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 029/163] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 029/165] 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 b47f121c4c124b6290c887e8390202c174577592 Mon Sep 17 00:00:00 2001 +From 0cf68f6c976dcd94fdc5e9dfcb85514815419a35 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:06:53 +0000 -Subject: [PATCH 030/163] clk-bcm2835: Correct the prediv logic +Subject: [PATCH 030/165] 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 39fcdbf38b93da8f8e3ba2a0262efc139693fa65 Mon Sep 17 00:00:00 2001 +From e99b65bd772d6e42b107a3b149b19d50e3033c41 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 031/163] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 031/165] 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 2d6d7cb71c040889bbd4748867acf9fc6cd12040 Mon Sep 17 00:00:00 2001 +From 0c7a2453f1ef27ec31327e904aad8c2bdb6972f6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 032/163] sound: Demote deferral errors to INFO level +Subject: [PATCH 032/165] sound: Demote deferral errors to INFO level At present there is no mechanism to specify driver load order, which can lead to deferrals and repeated retries until successful. @@ -1996,10 +1996,10 @@ index 2722bb0c557310d97816cfa7857b24d7c9bd4948..c32d3c31f34fc12195baf873a507d0b4 goto _err_defer; } -From 2ffe4104e26f5a7c2e237ed0e8af1423b6cb2329 Mon Sep 17 00:00:00 2001 +From 459069a0909aa7b61395af8d77098a0a411cfbc0 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 033/163] Update vfpmodule.c +Subject: [PATCH 033/165] 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 80dac568950203610d849416b7526b0faa199876 Mon Sep 17 00:00:00 2001 +From b6ed390ff9842f76496a66acb76526eb0e9788b3 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 034/163] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 034/165] 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 3106e9cabcb3259c76864edd52a42bece4a399f0 Mon Sep 17 00:00:00 2001 +From 71504630ad77c40ba0a67c9b540b427ce5d54c43 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/163] i2c: bcm2835: Add debug support +Subject: [PATCH 035/165] 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 2c57ed9489c6446b770d6b4f4b4cf4949203bf97 Mon Sep 17 00:00:00 2001 +From 17d3865ea90a1ee124a0e3a64f00c4d448322591 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 036/163] Main bcm2708/bcm2709 linux port +Subject: [PATCH 036/165] 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 c87f4bfdbf7fbe3cb5f7eefca6e5d89bf5456f84 Mon Sep 17 00:00:00 2001 +From 620d2f432aa96efd2f8dcc812b7fc5f8f241123a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 037/163] Add dwc_otg driver +Subject: [PATCH 037/165] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -63611,10 +63611,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 8febb6458bafc92006fe467b5787bb15611561a7 Mon Sep 17 00:00:00 2001 +From 87d5ff0f1d9a318cb39e7537e1fa54c9b9f08bb0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 10 May 2017 12:47:46 +0100 -Subject: [PATCH 038/163] dwcotg: Allow to build without FIQ on ARM64 +Subject: [PATCH 038/165] dwcotg: Allow to build without FIQ on ARM64 Signed-off-by: popcornmix --- @@ -63635,10 +63635,10 @@ index ed0cd59de37e8f47369f86dba751c78933722abc..53aedbe9727ca5c34e46f5cf998f14c7 The Synopsis DWC controller is a dual-role host/peripheral/OTG ("On The Go") USB controllers. -From d54e1f518013b9dd772a24d529854e28ad28e57e Mon Sep 17 00:00:00 2001 +From cada4595e9a1d65906bc17d1c99fb5780db953ce Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 039/163] bcm2708 framebuffer driver +Subject: [PATCH 039/165] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67097,10 +67097,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 44ffd66ab6ccf5b14f392a6cb6d93cd9d63a347e Mon Sep 17 00:00:00 2001 +From 283d3214cafb02aa9fa108d097c3a543ef7804a1 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 040/163] dmaengine: Add support for BCM2708 +Subject: [PATCH 040/165] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67731,10 +67731,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From eef6bd1e50d5e99cc202a3586f20084277c6e378 Mon Sep 17 00:00:00 2001 +From a5a47d3afb09bdd8ca71d041f2d353cfb1ada9a4 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 041/163] MMC: added alternative MMC driver +Subject: [PATCH 041/165] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69456,10 +69456,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From 7b455080001216ed451c06f94428404a46a710d8 Mon Sep 17 00:00:00 2001 +From 77af5cd04e4661813eeea9e3fbf9a1b3670e449c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 042/163] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 042/165] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71855,10 +71855,10 @@ index 0000000000000000000000000000000000000000..a9bc79bfdbb71807819dfe2d8f165144 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From b345793ddfa3f8bfb73e040a6e1a5e403a8aefca Mon Sep 17 00:00:00 2001 +From e8e26b13ffabd5f0cd7a41d9dcf74fa830eb0301 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 043/163] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 043/165] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72383,10 +72383,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 0421c45b5034105415ca8145f02acd841e995a4c Mon Sep 17 00:00:00 2001 +From 6f1fd408d70ead65d08c7dec9652c609cffa36c1 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 044/163] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 044/165] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -76823,10 +76823,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 017c5f86e3c8c56ace23fec6a93a8eb13242f34a Mon Sep 17 00:00:00 2001 +From a9db5311f8bb4d8e98dbc0bdf9b11355cd1ac2c0 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 045/163] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 045/165] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -77134,10 +77134,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 86ae09407fe899122b5af64f5fafcb6b0fce02d7 Mon Sep 17 00:00:00 2001 +From b80eb5aed096c03128cc352589904395d4412dc9 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 046/163] Add SMI driver +Subject: [PATCH 046/165] Add SMI driver Signed-off-by: Luke Wren --- @@ -79088,10 +79088,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From e147acd806e1d88287755038c11967f3f9ecbfde Mon Sep 17 00:00:00 2001 +From ed1271f9bdf6d76e0cfee8c8b0a36359aaa98a8d Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 047/163] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 047/165] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -79261,10 +79261,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From f4121dc709edef7f8b421802243e2e419e6937d0 Mon Sep 17 00:00:00 2001 +From 304eafe4049385c58b42dcfdbef18cc9fca2a98e Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 048/163] Add SMI NAND driver +Subject: [PATCH 048/165] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -79629,10 +79629,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 6c958a3733668422b62f6f4d436f713a458c638f Mon Sep 17 00:00:00 2001 +From 361deb5cddea99fac7f43cab2fdb408efd9d910c Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 049/163] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 049/165] 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 @@ -80495,10 +80495,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From 8535c31e6d540681be96a1401af461b39e8bd86c Mon Sep 17 00:00:00 2001 +From 22b652cf091213d42d68bc030e327de206541581 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 050/163] Add cpufreq driver +Subject: [PATCH 050/165] Add cpufreq driver Signed-off-by: popcornmix --- @@ -80765,10 +80765,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 6d4fd726d191d2762833416e3030a57b0b196756 Mon Sep 17 00:00:00 2001 +From 0944045dd011420aadd23ca441f7ddfe312a82ef Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 051/163] Added hwmon/thermal driver for reporting core +Subject: [PATCH 051/165] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -80934,10 +80934,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 686cb902a3db3f5577fff44ef55c934974357bc4 Mon Sep 17 00:00:00 2001 +From 3f9efad37966f2c1b6ff738e046c0176a192cce7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 052/163] Add Chris Boot's i2c driver +Subject: [PATCH 052/165] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81602,10 +81602,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 4816cf2ba12e35429ac174dc733525d333f1f6be Mon Sep 17 00:00:00 2001 +From 8876c932d6563079055f340a31d84b827d405c3d 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 053/163] char: broadcom: Add vcio module +Subject: [PATCH 053/165] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81830,10 +81830,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 99a8b7700bbf5ec246000f8a531c5eb236f6fa32 Mon Sep 17 00:00:00 2001 +From 1dfdb36a2391125d8fafa49ea19813f135fe1053 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 054/163] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 054/165] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81916,10 +81916,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 5b1541f9eb6e5e1068d9133de37d4e3d3bf5ce9b Mon Sep 17 00:00:00 2001 +From c6605ccd47162385d7a23dbbdf405dace67904ab Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 055/163] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 055/165] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -82439,10 +82439,10 @@ index 0000000000000000000000000000000000000000..60206de7fa9a49bd027c635306674a29 + return $trailer; +} -From f0263d4fec8297b7f96e30ef2dc618f5a9541a2c Mon Sep 17 00:00:00 2001 +From 70c91958bd15ee39b973b2ac6540dbdde55f2e51 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 056/163] BCM2708: Add core Device Tree support +Subject: [PATCH 056/165] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -93741,10 +93741,10 @@ index 7234e61e7ce370a775ec6981b391b6d102a01770..1b53cd59e4875d388e4974a3399d5f07 # Bzip2 -From 5b227d9d3312659269fd43b9995c10fff6a282d6 Mon Sep 17 00:00:00 2001 +From 86e429ede242de1e764cfcaf0a81bf7970745da7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 057/163] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 057/165] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -93920,10 +93920,10 @@ index 38c0bd7ca1074af234d516275791d05f945ce1f0..2f026646d24bad617c73aa79db30c9aa /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From 43843ba46d94ed05116b8c8d3078a280a31c5238 Mon Sep 17 00:00:00 2001 +From 217263cee115ee506f81005c377199f0fc8a924e Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 058/163] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 058/165] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -94175,10 +94175,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From ba23388378151be282e4ea748b4798e509564497 Mon Sep 17 00:00:00 2001 +From a6204ae1aa4ec42e8712b978bb1861d6a86a7579 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 059/163] Speed up console framebuffer imageblit function +Subject: [PATCH 059/165] 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 @@ -94387,10 +94387,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 1d5b022b1f1fdc0a4274ad21ba1ef49b5ffa6d0d Mon Sep 17 00:00:00 2001 +From f1700c6ad46b4119d0fb8266ebc281fd7f41a252 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 060/163] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 060/165] 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 @@ -94640,10 +94640,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 7176e5e4f17128c43061c90ebc23d3c249de8183 Mon Sep 17 00:00:00 2001 +From 1d79f813e2a452b627e0959a3dae26d5fc546df2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 061/163] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 061/165] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -94679,10 +94679,10 @@ index 961bc6fdd2d908835fa9a07d169a4746fb44189d..c595188a1156a27aa79f111d81636b6d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From 8273da14519b793a4124fb95503fb996acc3ca28 Mon Sep 17 00:00:00 2001 +From 79655397b4bbc80f8d05ff0fddd3f98f19950eba Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 062/163] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 062/165] 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 @@ -95040,10 +95040,10 @@ index 30fb37fe175df604a738258a2a632bca3bfff33f..4a3d79d3b48eb483a4e4bf498f617515 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From d2fd1440b1f5bc1001d3f49564021b3e24201972 Mon Sep 17 00:00:00 2001 +From 5818708586c901f066d91d8b56ad0cb77bbf4690 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 063/163] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 063/165] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -96618,10 +96618,10 @@ index 333dc3c2e5ffbb2c5ab8fcfb6115b6162643cf20..46b787a6474ffa857da9b663948863ec bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From a27c9084caf610127fea14e995a232c7cec127b1 Mon Sep 17 00:00:00 2001 +From 6b1b3a3ef75add34389b359f40c1940fc7cd63fe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 064/163] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 064/165] 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 @@ -96656,10 +96656,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From 393cd2a1fe6faa345dda40660743c590003a143f Mon Sep 17 00:00:00 2001 +From f314149d428e7a455693fc1083dbec50946deea2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 065/163] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 065/165] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -97524,10 +97524,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 36e96f393fdb7c349001255b1ec8258fb4f04015 Mon Sep 17 00:00:00 2001 +From 49bcd5a2235a3263cb1eadcc2c8341bbb5ced3f7 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 066/163] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 066/165] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -97702,10 +97702,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 4e30d1f3d60c2103c396511cefd8e559259097ea Mon Sep 17 00:00:00 2001 +From 1bda67aead6bdf783fba311a76a8c7bc89998f1e Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 067/163] ASoC: Add support for Rpi-DAC +Subject: [PATCH 067/165] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -97989,10 +97989,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 55766874e30eaba13daaac1a80372790d3723804 Mon Sep 17 00:00:00 2001 +From 1b6f27f9343dde5378cc30d5ac8e6d5188b6434d Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 068/163] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 068/165] 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 @@ -98041,10 +98041,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From fbd107b29f04d48279f0b1840ee099be80eff7c9 Mon Sep 17 00:00:00 2001 +From 4203d8a7ecc11940a0ee32e252a4e8eb1e300be9 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 069/163] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 069/165] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -98388,10 +98388,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From e9895c1a87a92bbfcf2d5c52fedaef9e51c9ac79 Mon Sep 17 00:00:00 2001 +From ec2fa327814dd534f249f561f4b7733474018e08 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 070/163] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 070/165] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -98726,10 +98726,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 5a384f430e58dca72105bbd3e0dc9314945f34ee Mon Sep 17 00:00:00 2001 +From 98d8d9f0157769a6accc0f9a97c0858c049ce420 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 071/163] Added support for HiFiBerry DAC+ +Subject: [PATCH 071/165] 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. @@ -99359,10 +99359,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 94ce351ca42dbbd060392b9d6a578be32f3bf972 Mon Sep 17 00:00:00 2001 +From 7bb18adf89ee8b0c875e00b2656258e81e8cfb46 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 072/163] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 072/165] 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. @@ -100197,10 +100197,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 11c4157c15f386dc9e535af5b9124086f8c5dec1 Mon Sep 17 00:00:00 2001 +From 4a149107af657bdcc1af318bf22aa07d81575bd2 Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 073/163] Update ds1307 driver for device-tree support +Subject: [PATCH 073/165] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -100227,10 +100227,10 @@ index 4ad97be480430babc3321075f2739114eaad8f04..2ac1c265dc9cea56a5949eb537949a1f .driver = { .name = "rtc-ds1307", -From 94afe37b022b632c297c5fab6f1bb61dbdb325f8 Mon Sep 17 00:00:00 2001 +From d386b7729bf018e7af5d2c9d97d9cae64b7ca7ed Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 074/163] Add driver for rpi-proto +Subject: [PATCH 074/165] 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 @@ -100445,10 +100445,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 13071f46c6a8cf391bfe99d75b6e99f23c29e80d Mon Sep 17 00:00:00 2001 +From 50df58347caf99a91c63ec69fbabc478c05be006 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 075/163] RaspiDAC3 support +Subject: [PATCH 075/165] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -100691,10 +100691,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From ee81dc88d2d684dd92cea807b208dab34bf3ea5f Mon Sep 17 00:00:00 2001 +From 01d97e660859bbaf61ec25005d26327106eb7c1b Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 076/163] Add Support for JustBoom Audio boards +Subject: [PATCH 076/165] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -101150,10 +101150,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 97946e5eee53a38d5330c50084a2d8895778811b Mon Sep 17 00:00:00 2001 +From ac95f6f251a9c713127de621c82fda3e232ae663 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 077/163] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 077/165] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -101335,10 +101335,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 335f05f3363dbac4621cbb29d8316fce6d901285 Mon Sep 17 00:00:00 2001 +From f18cd7471ca951c2b19a6078d27d7e3401aa6e11 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 078/163] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 078/165] 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. @@ -101589,10 +101589,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 3b263e4a92fec0bd9b4a28cde245bd3ff645714a Mon Sep 17 00:00:00 2001 +From 16b653a5097cd5a1c04febf4bc0f5e3bd362b4e5 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 079/163] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 079/165] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -101892,10 +101892,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From cdd298941ae8d9bffaad608857ab0942d767ca0f Mon Sep 17 00:00:00 2001 +From b6dae67e4cad0b02c1a96724fb64a582050b28d1 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 080/163] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 080/165] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -102368,10 +102368,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 039fdbf0eb21460cd6a48ab3558774a4fc88e610 Mon Sep 17 00:00:00 2001 +From 70c86519d56cecf0d2a737618d38473cbb3e244c Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 081/163] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 081/165] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -102544,10 +102544,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 10b4dc05ef79eac7decd6e75a012718617d70b71 Mon Sep 17 00:00:00 2001 +From e1693ecb2428bbfed103e59500c4b4025e4c7812 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 082/163] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 082/165] 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, @@ -102754,10 +102754,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 316005c2f46d0cfb79efa4152013294033aadff4 Mon Sep 17 00:00:00 2001 +From b995663e0332cb0daa1463dba5f64619ae94ffcb Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 083/163] Support for Blokas Labs pisound board +Subject: [PATCH 083/165] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -103956,10 +103956,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 5e02aa9c1c60fae7398d57c96ceb6f982f0549f2 Mon Sep 17 00:00:00 2001 +From e77c3d78825e40c441047887d354f7525a19a611 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 084/163] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 084/165] 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 @@ -105024,10 +105024,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From a7f03a7ecb65cfbbf25438a0cc6eb220dd493088 Mon Sep 17 00:00:00 2001 +From 64a469b73e0b90f821ef39c74e683a5ddac3f8f0 Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 085/163] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 085/165] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -105221,10 +105221,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From 7cd7ec6ac4a480f640d5b7d3fe7101886a4f0255 Mon Sep 17 00:00:00 2001 +From a6bdc87e9ccb8f8cd1973767c81610720b0da45f Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 086/163] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 086/165] 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. @@ -105438,10 +105438,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From 8b7331a984895946434d3f5ffc0d6496c6bd82d8 Mon Sep 17 00:00:00 2001 +From 70d336fd5ba0a544056a791c279983ab7da6036d Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 087/163] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 087/165] Add support for the AudioInjector.net Octo sound card --- sound/soc/bcm/Kconfig | 7 + @@ -105781,10 +105781,10 @@ index 0000000000000000000000000000000000000000..9effea725798640887755dfa688da453 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From b0639c239aef4a7982d9609db478abc61630aee0 Mon Sep 17 00:00:00 2001 +From f68eb19ebf3a0566d9d80bbb055a8bc28e073b7b Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 088/163] rpi_display: add backlight driver and overlay +Subject: [PATCH 088/165] 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 @@ -105953,10 +105953,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 344e30b18801cc357184f49f1f78a4dfe8ddfcdc Mon Sep 17 00:00:00 2001 +From 0fb6a814bc3b9507464eb8a046adf37a30debc3e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 089/163] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 089/165] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -106230,10 +106230,10 @@ index 4a3d79d3b48eb483a4e4bf498f617515e3ad158f..5f34e1257117fb48013c9926a8a223d6 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 965a85071190cfe242e7de6a38da64d787066068 Mon Sep 17 00:00:00 2001 +From 0fa4ceb300a845b20a199b3dae01047477736c13 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 090/163] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 090/165] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -106561,10 +106561,10 @@ index 5f34e1257117fb48013c9926a8a223d64a598ab7..c819c21b0158a59c1308882e5a40e3f3 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 16a2a0109fb8f33d991fc1c6603ccfc12e5cba0a Mon Sep 17 00:00:00 2001 +From d73039233e0664fa7d0207d2ad318891d3cb4872 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 091/163] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 091/165] 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 @@ -106593,10 +106593,10 @@ index f2503d862f3aee25396ef002ba69968896316779..a85e81245004e928fc52ec59044e151b uap->old_cr = 0; uap->port.dev = dev; -From 703cfafcbc58ccfc23509e09f3e8b83149b921d9 Mon Sep 17 00:00:00 2001 +From 8a8978e045b1b1a2553f467e461914348d9478c6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 092/163] amba_pl011: Round input clock up +Subject: [PATCH 092/165] 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 @@ -106682,10 +106682,10 @@ index a85e81245004e928fc52ec59044e151b7f183496..380d2c2e19ae3720924e906261b487ad /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From 57fc6cecb49a8dedc58e115a2bbabcca85163dd7 Mon Sep 17 00:00:00 2001 +From 74c653d482da42e6aba7f99cc823b2d01dc02aaa Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 093/163] OF: DT-Overlay configfs interface +Subject: [PATCH 093/165] 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. @@ -107117,10 +107117,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 4f88e70b10c633e777cd0dedde49f2e4eb5ee96b Mon Sep 17 00:00:00 2001 +From effcd07f73d479a6511ee68707de719220e99823 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 094/163] brcm: adds support for BCM43341 wifi +Subject: [PATCH 094/165] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -107271,10 +107271,10 @@ index 65689469c5a12e2fcfd6123ca584944da79ec184..4886dc29ad36705210bed20757ce09ed BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From 0450a3d136943294c13e430d3124fd965465797b Mon Sep 17 00:00:00 2001 +From 1320537ec6b1f68a2d2c98a5a021af072bfe52b4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 095/163] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 095/165] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code and the firmware version is reported as an error. Modify the driver to @@ -107313,10 +107313,10 @@ index 6221b046bca44211e2dfac24119097f7ac09e829..634602e0c44f91da06db7aa803dbee69 /* locate firmware version number for ethtool */ ptr = strrchr(buf, ' ') + 1; -From 10d09a4f817cb90146098cc72ee6464b63c906cf Mon Sep 17 00:00:00 2001 +From cc7b61dbf910489fbc3eafab91dc3885b04e6121 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 096/163] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 096/165] 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. @@ -107339,10 +107339,10 @@ index 90d0456b67446bcc624fab4b1542c4eaf21531b1..f9adeac3bbba6418dcca298c55706356 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 39c831f3c67816ca9b17c25d9567a64a4e1e30c5 Mon Sep 17 00:00:00 2001 +From 74f96671805d1329a6f032906d2671c2a678e053 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 097/163] config: Add default configs +Subject: [PATCH 097/165] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1309 +++++++++++++++++++++++++++++++++++ @@ -109990,10 +109990,10 @@ index 0000000000000000000000000000000000000000..046f3e8757ef0f794c802171690528d3 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 32ba86b506045b2dda0cf2ed0169ae9f62d0660c Mon Sep 17 00:00:00 2001 +From 7108a6c4ae059e0eb29be9b135245bf3f2d09840 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 098/163] Add arm64 configuration and device tree differences. +Subject: [PATCH 098/165] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -111408,10 +111408,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From 9c95c1402809609c600880e962716bf1239c765e Mon Sep 17 00:00:00 2001 +From b90de4bf27dc5f62e60dad127169218c6d830649 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 099/163] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 099/165] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -111433,10 +111433,10 @@ index c819c21b0158a59c1308882e5a40e3f3fe73cbdf..de2a3dcd562beb752266eaf0070e5586 enum rpi_firmware_property_status { -From 6c7cfff1a73b92cfa7b91c4c9bfa6da8776dcf43 Mon Sep 17 00:00:00 2001 +From fbcb1aa2507b4d4b0e47310e79c16ced1d3c36c2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 100/163] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 100/165] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -111480,10 +111480,10 @@ index de2a3dcd562beb752266eaf0070e55861d553f5f..dc7fd58afd5dddebf9b17065bb069a1d #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From ae851d39536c3c172d84caf3c38c0850c3c6be66 Mon Sep 17 00:00:00 2001 +From b1ee95c4f890ff8efedd86c367d8e33133eb6dcd Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 101/163] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 101/165] 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. @@ -111887,10 +111887,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From b59df5d44ca9892775d9c6e275d53273bd4ab8f7 Mon Sep 17 00:00:00 2001 +From 6d08a630ee3d0f12214ebc127b923e7b45143d5b Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 102/163] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 102/165] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -111919,10 +111919,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From 9e28a57543eefe2f796b283e2929675da0250ef4 Mon Sep 17 00:00:00 2001 +From d53026029509dbe88b1b77064fbeb5d4a2537a28 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 103/163] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 103/165] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -111967,10 +111967,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From f5d9780b491da4a936c807ad51cbc595ff211ab8 Mon Sep 17 00:00:00 2001 +From bf7dcc1e405a45a9fff42eccb14725ce6f7f1a5b Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 104/163] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 104/165] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -112002,10 +112002,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From edba31b9912e73190b4aa1be3b716bd5d538576e Mon Sep 17 00:00:00 2001 +From f887a82633699721d6bf9b19e321ee5b8afccee3 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 105/163] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 105/165] 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 @@ -112030,10 +112030,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From 366c6fad7385b6f023fdb8388e62a2e2962f8b68 Mon Sep 17 00:00:00 2001 +From 763f1f03048de2c892e60be3c36142386744eba9 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 106/163] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 106/165] 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 @@ -112376,10 +112376,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From 670cf7f53612809b92b9fcc67f2ddeb72d71a1cf Mon Sep 17 00:00:00 2001 +From 407532599b884cc5524844efe873f76e291183a9 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 107/163] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 107/165] 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 @@ -112453,10 +112453,10 @@ index c4e151451cf8c8ebde5225515eac2786d6f61d46..9a7ee04ee0d9b7aa734cf3159ed59c19 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From 0966042e85042222091a5703aa53b17f7a8211a2 Mon Sep 17 00:00:00 2001 +From ee5f155c70f0b5cf2582896f7a728229a082b2b2 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 108/163] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 108/165] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -112477,10 +112477,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From dab19bb4f7d50b83582c7950c892b5ab29b3ade8 Mon Sep 17 00:00:00 2001 +From 2c94c421e3c873bc0addf7a67b5ff0eaeae84e9d Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 109/163] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 109/165] ARM64: Force hardware emulation of deprecated instructions. --- @@ -112508,10 +112508,10 @@ index f0e6d717885b1fcf3b22f64c10c38f19c25f809d..0cb830d30fb6d2bd26ab572efe893649 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From 29a4e9bc002532090056f3a9aef7593f652280ec Mon Sep 17 00:00:00 2001 +From d1316547f577d065c35731dc77ea0ce490dbf9ff Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 110/163] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 110/165] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -112536,10 +112536,10 @@ index b9a4a934ca057623e0ea436fd9b2c7c0f675fced..54e3c38d6fd877827541cdc798de035c dtbs: prepare scripts -From 791f38141d2ad178dd7c8f85454627a556ccdd4f Mon Sep 17 00:00:00 2001 +From 4a20e8d76e9a40c89826b5c941d262bf8b2b5b72 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 111/163] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 111/165] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -112577,10 +112577,10 @@ index 39f72da6ba1f6ec6ec41d5dc1bf46344aab008da..fe3298b54cdfb96bd90fb4f39e13921d * rate changes on at least of the parents. */ -From f100e0cd0b0fb91364f0957a008b17282d7fbdba Mon Sep 17 00:00:00 2001 +From fee1a777a468454a1a0c17e9a82a343e85d82d51 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 112/163] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 112/165] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -112613,10 +112613,10 @@ index 6351fe7f8e314ac5ebb102dd20847b383fd5b857..28745af5aadf3cb91fa7ff39118385c3 }, }; -From 351edbe6bfd292150e0016f2cfd79d3cd3720d81 Mon Sep 17 00:00:00 2001 +From c7ce6e634f4a0d1b3d0d1d166713180902839087 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Mar 2017 12:18:20 +0000 -Subject: [PATCH 113/163] BCM270X_DT: Invert Pi3 power LED to match fw change +Subject: [PATCH 113/165] BCM270X_DT: Invert Pi3 power LED to match fw change Firmware expgpio driver reworked due to complaint over hotplug detect. @@ -112642,10 +112642,10 @@ index 616cfd5c7094596b497101e8feca25e25e77c3e8..9f001bccb8261563dcddd8dec94b056b }; -From 677fe71d26f8b94172909f47bc7a604f6490a1ae Mon Sep 17 00:00:00 2001 +From 75f8b9a38b6624dde4b999cbc83bbe19130739a4 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 14 Mar 2017 14:23:06 +0000 -Subject: [PATCH 114/163] bcm2835-gpio-exp: Copy/paste error adding base twice +Subject: [PATCH 114/165] bcm2835-gpio-exp: Copy/paste error adding base twice brcmexp_gpio_set was adding gpio->gc.base to the offset twice, so passing an invalid number to the mailbox service. @@ -112671,10 +112671,10 @@ index 681a91492d4c33bdfd42416e069218e8611cc4d9..d68adafaee4ad406f45f4ff0d6b7c1ad set.state = val; /* Output state */ -From 8563d77c1243dbd356a295124a290eca0a6be39f Mon Sep 17 00:00:00 2001 +From d24c80387cf67b7ffcbcc639565e96ce7c356463 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Mar 2017 13:40:41 +0000 -Subject: [PATCH 115/163] config: disable MMC driver temporarily for now. +Subject: [PATCH 115/165] config: disable MMC driver temporarily for now. Currently causes a breakage to sdhost driver. However when MMC is disabled Pi3 wifi will not work --- @@ -112709,10 +112709,10 @@ index 046f3e8757ef0f794c802171690528d31fee9deb..f2e0a58a96c8550f110c5940bf65f4d0 CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y -From c492141d76d18a7058c0eb5eb4526df9f8f69c35 Mon Sep 17 00:00:00 2001 +From 96f2d1a55e0bdb62f286b18e8f5e461da921babc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Mar 2017 12:24:41 +0000 -Subject: [PATCH 116/163] config: Make spidev a loadable module +Subject: [PATCH 116/165] config: Make spidev a loadable module spidev isn't required early in the boot process, and not all users need it (spi_bcm2835 is a module), so make it a loadable module. @@ -112752,10 +112752,10 @@ index f2e0a58a96c8550f110c5940bf65f4d022cc4548..9eb7084f440c8aac0c6257ee678007c2 CONFIG_PPS_CLIENT_LDISC=m CONFIG_PPS_CLIENT_GPIO=m -From 3174ac50886ca0ea41bdf5d41ac1014d32ba9096 Mon Sep 17 00:00:00 2001 +From cff63b8e6aae76ad600b7dc0a46b9f409ebff536 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 117/163] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 117/165] 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 @@ -112780,10 +112780,10 @@ index 55812b0b884cf4fc4e86680b11fedd11c863db7a..428dc05edbb99f50560b7f89e45501c5 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From fae470b9e45715ab7724bb3a3ecc265a4be50da4 Mon Sep 17 00:00:00 2001 +From 38ce30a9437d8a22e0f8fbbcc6770802861a3b0d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 118/163] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 118/165] 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 @@ -112947,10 +112947,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From 51048a9168b4c3ea496b4c13a30a037613e1b661 Mon Sep 17 00:00:00 2001 +From aefd0ad73439c7f093795d1a0c5729dcf55f0bf4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 17:08:44 +0000 -Subject: [PATCH 119/163] BCM270X_DT: Enable AUX interrupt controller in DT +Subject: [PATCH 119/165] BCM270X_DT: Enable AUX interrupt controller in DT See: https://github.com/raspberrypi/linux/issues/1484 https://github.com/raspberrypi/linux/issues/1573 @@ -113003,10 +113003,10 @@ index 72cb9dc60ca9ad9aa2813972a299c50dcea7cd89..ca47b23ffbcd06063e0fb7072dc8a843 #address-cells = <1>; #size-cells = <0>; -From 2068ae0968a43f49711f1e58dae3e3ddf983cb0b Mon Sep 17 00:00:00 2001 +From 9483134d159f1a7fa177df11bbb4f1d797c572eb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 27 Mar 2017 17:40:45 +0100 -Subject: [PATCH 120/163] mkknlimg: Find some more downstream-only strings +Subject: [PATCH 120/165] mkknlimg: Find some more downstream-only strings See: https://github.com/raspberrypi/linux/issues/1920 @@ -113037,10 +113037,10 @@ index 60206de7fa9a49bd027c635306674a29a568652f..84be2593ec1de8f97b0167ff06b3e05d my $res = try_extract($kernel_file, $tmpfile1); -From 98015301b1e2c7e12c6e823e9ac5668b32625b29 Mon Sep 17 00:00:00 2001 +From a410a7341c5993a2d7fa70a7608d2a5e51ed7023 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 29 Apr 2016 10:32:17 -0700 -Subject: [PATCH 121/163] mmc: read mmc alias from device tree +Subject: [PATCH 121/165] mmc: read mmc alias from device tree To get the SD/MMC host device ID, read the alias from the device tree. @@ -113097,10 +113097,10 @@ index 3f8c85d5aa094b43666904c7dbbe5e62c9763c19..4dbd0e8e27a496bfbe67d188cf795ecc kfree(host); return NULL; -From 8c0d2c1d86abb0042123624079e5c67e3aa6be9d Mon Sep 17 00:00:00 2001 +From 3bc30d8fa9cee67d3dc95bba2822c043ede22fff Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 Mar 2017 14:30:42 +0100 -Subject: [PATCH 122/163] BCM270X_DT: Add numbered aliases for SD/MMC devices +Subject: [PATCH 122/165] BCM270X_DT: Add numbered aliases for SD/MMC devices In order to force a specific ID assignment to SD/MMC devices, add numbered aliases to the DT: sdhost -> mmc0, mmc -> mmc1 @@ -113131,10 +113131,10 @@ index ef14e9ac6cd2092efb1681682dd2d3c52b8abfd5..693d4c04a36d2a7883cc3d8916bf0efb i2c2 = &i2c2; usb = &usb; -From 823ea3ae22107f1356c270b2e0efa5295a058f65 Mon Sep 17 00:00:00 2001 +From 314cc6a4ff0bee2460656e652230c96bb3a2365f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 Mar 2017 14:28:53 +0100 -Subject: [PATCH 123/163] config: Re-enable the bcm2835-mmc driver +Subject: [PATCH 123/165] config: Re-enable the bcm2835-mmc driver With the patch to assign mmc device IDs based on DT aliases and appropriate aliases in the rpi DTBs, it is now safe to re-enable @@ -113171,10 +113171,10 @@ index 9eb7084f440c8aac0c6257ee678007c23990a8ae..021c38a909e71baa135cbcd4f3fb80fa CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y -From cf084619c7f026d65bf85ba3861021c71fd49372 Mon Sep 17 00:00:00 2001 +From 9b1b3ce0dc7c7f27cef3dba25ad955cb22194360 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 124/163] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 124/165] 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, @@ -113316,10 +113316,10 @@ index 77e61e0a216a2728dd5cfecf55299402ac03c384..d12e8ddd22cb96e38b30f1ac3f9a6bd0 unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From 0470ef2b33550d5485ef25c59b994b6de9839f29 Mon Sep 17 00:00:00 2001 +From dc28578444c1a6061b5b2e955ea6c72dded34d79 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 Mar 2017 16:08:29 +0100 -Subject: [PATCH 125/163] bcm2835-sdhost: mmc_card_blockaddr fix +Subject: [PATCH 125/165] bcm2835-sdhost: mmc_card_blockaddr fix Get the definition of mmc_card_blockaddr from drivers/mmc/core/card.h. @@ -113346,10 +113346,10 @@ index a9bc79bfdbb71807819dfe2d8f1651445997f92a..9c6f199a7830959f31012d86bc1f8b1a #define SDCMD 0x00 /* Command to SD card - 16 R/W */ -From 69ecca1fff5f50217c310df9bcc49110eb15dab5 Mon Sep 17 00:00:00 2001 +From a490d319e2a4b625f43ef951e813ef7e55a61ece Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Mar 2017 12:30:37 +0000 -Subject: [PATCH 126/163] thermal: Compatible strings for bcm2836, bcm2837 +Subject: [PATCH 126/165] thermal: Compatible strings for bcm2836, bcm2837 The upstream dt-bindings documentation for bcm2835-thermal (which exists even though the driver isn't upstreamed) says to use @@ -113381,10 +113381,10 @@ index c63fb9f9d143e19612a18fe530c7b2b3518a22a4..25b78c3eac1503fbc9e679b963a6284b }; MODULE_DEVICE_TABLE(of, bcm2835_thermal_of_match_table); -From e9d8883b8333ee5a0a134e40c752553f4f7edc07 Mon Sep 17 00:00:00 2001 +From f5e7579e3e30c30aa51c2656fb5b14c4340632db Mon Sep 17 00:00:00 2001 From: John Greb Date: Wed, 8 Mar 2017 15:12:29 +0000 -Subject: [PATCH 127/163] Match dwc2 device-tree fifo sizes to the hardware +Subject: [PATCH 127/165] Match dwc2 device-tree fifo sizes to the hardware values. Since commit aa381a7259c3f53727bcaa8c5f9359e940a0e3fd was reverted with 3fa9538539ac737096c81f3315a14670b1609092 the g-tx-fifo-size array in the device-tree needs to match the preset values in the bcm2835. @@ -113415,10 +113415,10 @@ index 527abc9f0ddf71f4dc7d58336d87684c931cc2f3..265a16bab008453edba198cf2366c423 }; }; -From d7d1f5d41b65cd43537c210ebe8dafbb3e297a02 Mon Sep 17 00:00:00 2001 +From 57ef2ba796633d357d715589a6e6aa1caf0102b7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Mar 2017 09:10:05 +0000 -Subject: [PATCH 128/163] BCM270X_DT: Add lm75 to i2c-sensor overlay +Subject: [PATCH 128/165] BCM270X_DT: Add lm75 to i2c-sensor overlay See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=177236 @@ -113481,10 +113481,10 @@ index 31bda8da4cb6a56bfe493a81b918900995fb0589..606b2d5012abf2e85712be631c42ea40 }; }; -From b37d621a184caa33f9ee4d06307331582699dac6 Mon Sep 17 00:00:00 2001 +From 918e0a02e223d772231d38cc2548001ada0786ca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 Mar 2017 14:22:20 +0100 -Subject: [PATCH 129/163] BCM270X_DT: Allow multiple instances of w1-gpio +Subject: [PATCH 129/165] BCM270X_DT: Allow multiple instances of w1-gpio overlays Upcoming firmware will modify the address portion of node names when @@ -113549,10 +113549,10 @@ index 66a98f6c9601f51483f27803995bec772bb3350e..ef8bfbcabdb31231075d5c281df3b38b <&w1_pins>,"brcm,pins:4"; pullup = <&w1>,"rpi,parasitic-power:0"; -From 315a481c0a34e530425ad018e8536420fec6eedf Mon Sep 17 00:00:00 2001 +From 6b1c9efba585009739f685193ec574217cc09844 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 Mar 2017 17:41:30 +0100 -Subject: [PATCH 130/163] leds-gpio: Remove stray assignment to brightness_set +Subject: [PATCH 130/165] leds-gpio: Remove stray assignment to brightness_set The brightness_set method is intended for use cases that must not block, and can only be used if the GPIO provider can never sleep. @@ -113578,10 +113578,10 @@ index 934cdb1d7bc7f12a4fb06a5c458ad76727c7b7c7..a4df27f6af35ba7f7b34c2a4b7b22ee7 if (template->default_state == LEDS_GPIO_DEFSTATE_KEEP) { state = gpiod_get_value_cansleep(led_dat->gpiod); -From ae3a92bb70c029654d144bf36b74dc9467d31f67 Mon Sep 17 00:00:00 2001 +From 230abfd651ae2522ea9d93f5c7b11a601039d350 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 29 Mar 2017 17:41:04 +0100 -Subject: [PATCH 131/163] config: Add back MMC_BCM2835_DMA +Subject: [PATCH 131/165] config: Add back MMC_BCM2835_DMA --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -113613,10 +113613,10 @@ index 021c38a909e71baa135cbcd4f3fb80fad2151647..a8fc96ef674be476d10e59aef2367def CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y -From effbb9fc731aa32fc5b1f21abb142d2806d4a291 Mon Sep 17 00:00:00 2001 +From 9f138eaa1f13ec6cfa8038041be38b866c5ec041 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 27 Mar 2017 22:26:49 +1100 -Subject: [PATCH 132/163] AudioInjector Octo: sample rates, regulators, reset +Subject: [PATCH 132/165] AudioInjector Octo: sample rates, regulators, reset This patch adds new sample rates to the Audioinjector Octo sound card. The new supported rates are (in kHz) : @@ -113782,10 +113782,10 @@ index 9effea725798640887755dfa688da45338718afc..dcf403ab37639ba79e38278d7e4b1ade dai->cpu_dai_name = NULL; dai->cpu_of_node = i2s_node; -From 65914ba0a73c03f1e46e2e7f5c641e57856de760 Mon Sep 17 00:00:00 2001 +From d70d42d5abbda9774fc9111950c64c5f802c4216 Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 133/163] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 133/165] Driver support for Google voiceHAT soundcard. --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -114290,10 +114290,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From 424d2a66b174d44fcf9d6158c9095d0cdb63e5d9 Mon Sep 17 00:00:00 2001 +From 9f310cc4f5cfde4c6ff8326feb26f3b2c20f4e97 Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 134/163] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 134/165] 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. @@ -114921,10 +114921,10 @@ index 0000000000000000000000000000000000000000..f66f42abadbd5f9d3fe000676e8297ed +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From 0b65de25a201a1d62fc011df556613c66995a789 Mon Sep 17 00:00:00 2001 +From 4ef968342060e85928c03805c3d746039378edc2 Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 135/163] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 135/165] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -115654,10 +115654,10 @@ index 0000000000000000000000000000000000000000..c080e31065d99ab309ab3bdf41a44adf +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From 8c860a588fea4d08f7d0ff2b8cbecf6533dde836 Mon Sep 17 00:00:00 2001 +From 2a42e7fae332b63d97c8bd47367d0398116eeee7 Mon Sep 17 00:00:00 2001 From: BabuSubashChandar C Date: Thu, 30 Mar 2017 20:17:27 +0530 -Subject: [PATCH 136/163] Add support for new clock rate and mute gpios. +Subject: [PATCH 136/165] Add support for new clock rate and mute gpios. Signed-off-by: Baswaraj K Reviewed-by: Deepak @@ -116310,10 +116310,10 @@ index c080e31065d99ab309ab3bdf41a44adfdd8f8039..203ab76c7045b081578e23bda1099dd1 } -From 45fa5f06a8d667e0c709e2101839ef13a870d51a Mon Sep 17 00:00:00 2001 +From b44b82a8f0206c77c6b632faf0ed627c08c2c464 Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Sat, 1 Apr 2017 00:46:52 +0530 -Subject: [PATCH 137/163] Add clock changes and mute gpios (#1938) +Subject: [PATCH 137/165] Add clock changes and mute gpios (#1938) Also improve code style and adhere to ALSA coding conventions. @@ -117006,10 +117006,10 @@ index f66f42abadbd5f9d3fe000676e8297ed91630e47..56e43f98846b41e487b3089813f7edc3 } -From b66a2da5c820bbcacec2d4724d3730ef6f8fe8e6 Mon Sep 17 00:00:00 2001 +From 1264d706e16346c126b08c6b1e29d122a2f1496c Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 138/163] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 138/165] 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. @@ -133141,10 +133141,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From 1607bc41f7e51234803269d6bdb584c315bdd8e7 Mon Sep 17 00:00:00 2001 +From 79d8d433d4c86597de41706ef58ba6b75ff76ecf Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Thu, 22 Dec 2016 15:34:12 +0900 -Subject: [PATCH 139/163] BCM2708: Add Raspberry Pi TV HAT Device Tree Support +Subject: [PATCH 139/165] BCM2708: Add Raspberry Pi TV HAT Device Tree Support This is an EXAMPLE CODE of Raspberry Pi TV HAT device tree overlay. Although this is not a part of our release code, it has been used to verify @@ -133240,10 +133240,10 @@ index 0000000000000000000000000000000000000000..a68f6f793d8efd8b2e2adf9f2fb6426f + +}; -From 577eefa0a025b4bafd92cd579bdf3e27cdf59f0d Mon Sep 17 00:00:00 2001 +From 1c76190ebca5746f6e6b8e50e2cc3265d72a5c5c Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 27 Apr 2017 16:24:34 +0100 -Subject: [PATCH 140/163] dwc_otg: make nak_holdoff work as intended with empty +Subject: [PATCH 140/165] dwc_otg: make nak_holdoff work as intended with empty queues If URBs reading from non-periodic split endpoints were dequeued and @@ -133327,10 +133327,10 @@ index c2dff94e8e6edd22e4427aaa1eac7aad972cb6bd..85a6d431ca54b47dc10573aa72d1ad69 } else { uint16_t frame_number = dwc_otg_hcd_get_frame_number(hcd); -From f5e9a02678844a04b94abe72a4d8da36c60c4fa8 Mon Sep 17 00:00:00 2001 +From dc7df0e8583992a9bfd5bf494800cbca37ac823f Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 2 May 2017 16:31:15 +0100 -Subject: [PATCH 141/163] dwc_otg: fix split transaction data toggle handling +Subject: [PATCH 141/165] dwc_otg: fix split transaction data toggle handling around dequeues See https://github.com/raspberrypi/linux/issues/1709 @@ -133418,10 +133418,10 @@ index 608e036be2c9484465ab836de70129335d3d2d96..718a1accc0c219a1764ce53d291de6a2 } qtd = DWC_CIRCLEQ_FIRST(&hc->qh->qtd_list); -From f2aaf2b74ebeef7496ec4e87133d1e60f200ed51 Mon Sep 17 00:00:00 2001 +From 415467640d5ad5ec32bd1292995dd3e4c2b5e412 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 May 2017 16:36:05 +0100 -Subject: [PATCH 142/163] vcsm: Treat EBUSY as success rather than SIGBUS +Subject: [PATCH 142/165] vcsm: Treat EBUSY as success rather than SIGBUS Currently if two cores access the same page concurrently one will return VM_FAULT_NOPAGE and the other VM_FAULT_SIGBUS crashing the user code. @@ -133459,10 +133459,10 @@ index fd71d9fbb400d71bb8cfb8672080e7c3053e3ae9..fd2ca788dcd56b1702454d71b7bedd42 } } -From 257d19dc19ea1b8080fc0d9e37a51b75a1289106 Mon Sep 17 00:00:00 2001 +From 86773aa7d30014a4976566d01278c02ccd8de19b Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 4 May 2017 12:58:11 +0100 -Subject: [PATCH 143/163] fiq_fsm: Use correct states when starting isoc OUT +Subject: [PATCH 143/165] fiq_fsm: Use correct states when starting isoc OUT transfers In fiq_fsm_start_next_periodic() if an isochronous OUT transfer @@ -133499,10 +133499,10 @@ index 9304279592cb5b388086ef91cb52f1e9f94868ce..208252645c09d1d17bf07673989f91b7 break; } -From 016b5cd031d1f5048b81d81dc2406be77bde7f56 Mon Sep 17 00:00:00 2001 +From 79dff587b5aa18748b62070d8124dfa06f84856d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 4 May 2017 17:38:22 +0100 -Subject: [PATCH 144/163] bcm2708_fb: Avoid firmware mbox call in vc_mem_copy +Subject: [PATCH 144/165] bcm2708_fb: Avoid firmware mbox call in vc_mem_copy If firmware has locked up it is useful to get vcdbg log out without a firmware mbox response. Issue the mbox call at probe time instead. @@ -133566,10 +133566,10 @@ index 53c5a0bdadb4be9251affdabed66305842a08e72..612293cf9f1bd93ad2f2aefdd7ca0f5e if (ret == 0) { platform_set_drvdata(dev, fb); -From 863e5c53ebaea69c7095eec1c19e8c3c04e2c229 Mon Sep 17 00:00:00 2001 +From ef237d3d91ba7ff5c991561fcb02106c3fb5ea48 Mon Sep 17 00:00:00 2001 From: Nisar Sayed Date: Tue, 9 May 2017 18:51:42 +0100 -Subject: [PATCH 145/163] According to RFC 2460, IPv6 UDP calculated checksum +Subject: [PATCH 145/165] According to RFC 2460, IPv6 UDP calculated checksum yields a result of zero must be changed to 0xffff, however this feature is not supported by smsc95xx family hence enable csum offload only for IPv4 TCP/UDP packets. @@ -133614,10 +133614,10 @@ index f6661e388f6e801c1b88e48a3b71407bd70cf56e..b84e98508b5d97165b68dfc30240950e smsc95xx_init_mac_address(dev); -From 4c910731c32242eabd857c88f4e63203c9e8a44d Mon Sep 17 00:00:00 2001 +From cbab0a0f8479d691dad18ad093b830773940a53e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 146/163] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 146/165] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -134384,10 +134384,10 @@ index 0000000000000000000000000000000000000000..d18a1dae51a2275846c9826b5bf1ba57 + }, +}; -From 91b471c6f31b64d194b38befd860be885f23b3e2 Mon Sep 17 00:00:00 2001 +From 9ab72e1fe7d0178f89b6e5f2e1d28a22fe2dead9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 147/163] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 147/165] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -134411,10 +134411,10 @@ index d18a1dae51a2275846c9826b5bf1ba57ae97b55c..e49ce68b607a7ffc2329e3235362f3bc if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From b381bcc0283fa19fdddbe030fd27c4c32d82b035 Mon Sep 17 00:00:00 2001 +From 8f4a88cdf13682bb527a8a4348b45af537723ed9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 148/163] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 148/165] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -134484,10 +134484,10 @@ index e49ce68b607a7ffc2329e3235362f3bc21ed5cbb..dbf065677202fbebf8e3a0cffbe880aa RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From 23f63ffdc9c4c457d3ddba4aa606da7deba399f3 Mon Sep 17 00:00:00 2001 +From eb8450cbd90b185b2c8454b9b169af0ae518b996 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 149/163] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 149/165] 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 @@ -134529,10 +134529,10 @@ index dbf065677202fbebf8e3a0cffbe880aa42daef3f..da818a207bfa639b8cea48d94bcf4566 static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From 574d7c3bb5ba79addf45b4c623b5248446bd5608 Mon Sep 17 00:00:00 2001 +From 37d49e37d1e667467d5ab024e259839665949967 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 10 May 2017 21:39:45 +0100 -Subject: [PATCH 150/163] squash: vc4_firmware_kms fixups +Subject: [PATCH 150/165] squash: vc4_firmware_kms fixups --- drivers/gpu/drm/vc4/vc4_crtc.c | 2 ++ @@ -134582,10 +134582,10 @@ index da818a207bfa639b8cea48d94bcf4566f97db816..35425063cca47a33936c4853f7cc320c vc4_encoder = devm_kzalloc(dev, sizeof(*vc4_encoder), GFP_KERNEL); if (!vc4_encoder) -From 8d6542630dae88011eb6af2ede0b8b99bc24b653 Mon Sep 17 00:00:00 2001 +From a1a1c64c65f30f6bd6ac9cc191314656716f9722 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 151/163] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 151/165] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -134642,10 +134642,10 @@ index 35425063cca47a33936c4853f7cc320c3630fdb2..ca03b85f27d8c0966acd977cba9c758d return 0; -From e025e555ced4ec6bdf72fce52604cad32603e55e Mon Sep 17 00:00:00 2001 +From d1df3da3aeb7d9ca4c544f92b64daf7885ce1c2c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 11 May 2017 16:58:16 +0100 -Subject: [PATCH 152/163] BCM270X_DT: Tidy up mmc, sdhost, sdio overlays +Subject: [PATCH 152/165] BCM270X_DT: Tidy up mmc, sdhost, sdio overlays The mmc, sdhost, sdio and sdio-1bit overlays had a few anachronisms and oddities which were overdue for fixing. @@ -134754,10 +134754,10 @@ index 398bd812c716c9e472fbac5aba4fe882114c65d1..215d5e3e8a8ca4363457fed1f7425427 }; }; -From 66eb651de6d1b30be39752b9185cfefd3442643b Mon Sep 17 00:00:00 2001 +From 3d075ae0ebb40409adcd8b7a8c72f0c7e3e2aa0e Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 12 May 2017 12:24:00 +0100 -Subject: [PATCH 153/163] dwc_otg: fix several potential crash sources +Subject: [PATCH 153/165] dwc_otg: fix several potential crash sources On root port disconnect events, the host driver state is cleared and in-progress host channels are forcibly stopped. This doesn't play @@ -134953,10 +134953,10 @@ index 718a1accc0c219a1764ce53d291de6a2b6f93608..cf23baaa388562b5843be4cfa6c206cb release_channel(hcd, hc, qtd, DWC_OTG_HC_XFER_URB_COMPLETE); break; -From bf6a37fd89f428e3fe2178d11720e6ae6a26cafb Mon Sep 17 00:00:00 2001 +From 68be9076e548897ace4b352c5de07e0e06e98647 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 15 May 2017 14:27:48 +0100 -Subject: [PATCH 154/163] dwc_otg: delete hcd->channel_lock +Subject: [PATCH 154/165] dwc_otg: delete hcd->channel_lock The lock serves no purpose as it is only held while the HCD spinlock is already being held. @@ -135108,10 +135108,10 @@ index cf23baaa388562b5843be4cfa6c206cbdc4e780d..a4355afc77b68718fdaba6c5d4be257d /* Try to queue more transfers now that there's a free channel. */ -From 2fa2e31d09b266e583621d9fb0c69d4cc9e12904 Mon Sep 17 00:00:00 2001 +From 6a4e96243d237ccb48c533af77829c80c46b3575 Mon Sep 17 00:00:00 2001 From: P33M Date: Mon, 15 May 2017 14:51:42 +0100 -Subject: [PATCH 155/163] dwc_otg: remove unnecessary dma-mode channel halts on +Subject: [PATCH 155/165] dwc_otg: remove unnecessary dma-mode channel halts on disconnect interrupt Host channels are already halted in kill_urbs_in_qh_list() with the @@ -135179,10 +135179,10 @@ index 5ec991624c7865901b22ea01b9f2c58c8535ecfd..a2dc6337836b2719f4c954edeeb2a713 if(fiq_enable) { -From 0f80955aaffb18d43ff59916a9df7332c60a1ce9 Mon Sep 17 00:00:00 2001 +From 0be3655e1ef6461e38ef31ecdf35cfd99e44e3ac Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 15 May 2017 16:40:05 +0100 -Subject: [PATCH 156/163] config: Add CONFIG_TOUCHSCREEN_GOODIX +Subject: [PATCH 156/165] config: Add CONFIG_TOUCHSCREEN_GOODIX --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -135214,10 +135214,10 @@ index db6589288b6abd6b76b934de07e8976456e14e61..88072e3b55eb230be44f6d23012428ed CONFIG_TOUCHSCREEN_USB_COMPOSITE=m CONFIG_TOUCHSCREEN_STMPE=m -From 8ececa518a43665024f82c78be137aca9e9b77cd Mon Sep 17 00:00:00 2001 +From ec225ab9eb5f50e990f33514fb42201d663b2032 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 18 May 2017 11:40:43 +0100 -Subject: [PATCH 157/163] config: Add FB_TFT_ST7789V module +Subject: [PATCH 157/165] config: Add FB_TFT_ST7789V module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -135249,10 +135249,10 @@ index 88072e3b55eb230be44f6d23012428eda3de3453..65e3676b48ab0c0f54375ecf875fc255 CONFIG_FB_TFT_TLS8204=m CONFIG_FB_TFT_UC1701=m -From b15397045af886519a2153f5dfdfee7837aac3c4 Mon Sep 17 00:00:00 2001 +From 48b3930f538bbf573de3308159989b9f0901f639 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 15:58:00 +0100 -Subject: [PATCH 158/163] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 +Subject: [PATCH 158/165] config: Add CONFIG_TOUCHSCREEN_EDT_FT5X06 --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -135284,10 +135284,10 @@ index 65e3676b48ab0c0f54375ecf875fc2552c457e09..7381eeba83ecd4a2c956ab2093ece4f8 CONFIG_TOUCHSCREEN_USB_COMPOSITE=m CONFIG_TOUCHSCREEN_STMPE=m -From 81e5447f49a3dcbe426449562ec79f5a9f15bdec Mon Sep 17 00:00:00 2001 +From 07ec924f089da1e85958e82c77323d294ecb79b2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 May 2017 19:34:52 +0100 -Subject: [PATCH 159/163] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF +Subject: [PATCH 159/165] config: Add CONFIG_I2C_ROBOTFUZZ_OSIF --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -135319,10 +135319,10 @@ index 7381eeba83ecd4a2c956ab2093ece4f8a57c6ea4..35dc0b5084256f2ae755703edc3eb67c CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m -From fb23556eefc1940c56939cabb850297e53b78b23 Mon Sep 17 00:00:00 2001 +From 37db614838890f9d3851fd8a44231a2e1aa4bd61 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 26 Apr 2017 17:28:47 +0100 -Subject: [PATCH 160/163] clk: bcm2835: Limit PCM clock to OSC and PLLD_PER +Subject: [PATCH 160/165] 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 @@ -135367,10 +135367,10 @@ index fe3298b54cdfb96bd90fb4f39e13921d2e1d4356..c24b4defb2b046e4ecdc109befc2b224 [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( .name = "pwm", -From 16855874c6dec40f5206a18e26b277e02e49684b Mon Sep 17 00:00:00 2001 +From 621ee8308fbc211d0813037897daa8dff325812b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 May 2017 13:56:41 +0100 -Subject: [PATCH 161/163] clk: bcm2835: Minimise clock jitter for PCM clock +Subject: [PATCH 161/165] 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. @@ -135495,10 +135495,10 @@ index c24b4defb2b046e4ecdc109befc2b22497060647..db3ba74acf78f4dfec0d2206b58bc7c3 .tcnt_mux = 23), [BCM2835_CLOCK_PWM] = REGISTER_PER_CLK( -From ce45a42e4983ec5f58adbf6e130acb3faea2be82 Mon Sep 17 00:00:00 2001 +From 55047cb2049b576b353dee6de20f5c6b0e66fff5 Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 24 May 2017 10:52:50 +0200 -Subject: [PATCH 162/163] [ARM64] enable drivers for GPIO expander and vcio +Subject: [PATCH 162/165] [ARM64] enable drivers for GPIO expander and vcio --- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ @@ -135526,10 +135526,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..9dcb58a519d041fadae99c81a7bda621 CONFIG_GPIO_ARIZONA=m CONFIG_GPIO_STMPE=y -From 0c0889a7536c56c2967b5de76fcc8bf5b254f9c3 Mon Sep 17 00:00:00 2001 +From 447e78fed3772de6db4653f68df6d7ac512476a3 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 25 May 2017 16:04:53 +0100 -Subject: [PATCH 163/163] dwc_otg: make periodic scheduling behave properly for +Subject: [PATCH 163/165] dwc_otg: make periodic scheduling behave properly for FS buses If the root port is in full-speed mode, transfer times at 12mbit/s @@ -135699,3 +135699,146 @@ index 85a6d431ca54b47dc10573aa72d1ad69d06f2e36..4b1dd9de99e9e08b2e006fb5f8a7ef92 } status = check_max_xfer_size(hcd, qh); if (status) { + +From 081070763c748cf66b954b430e3021e221bffe0c Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 19 May 2017 16:07:23 +0100 +Subject: [PATCH 164/165] serial: 8250: Add CAP_MINI, set for bcm2835aux + +commit d087e7a991f1f61ee2c07db1be7c5cc2aa373f5d upstream. + +The AUX/mini-UART in the BCM2835 family of procesors is a cut-down +8250 clone. In particular it is lacking support for the following +features: CSTOPB PARENB PARODD CMSPAR CS5 CS6 + +Add a new capability (UART_CAP_MINI) that exposes the restrictions to +the user of the termios API by turning off the unsupported features in +the request. + +N.B. It is almost possible to automatically discover the missing +features by reading back the LCR register, but the CSIZE bits don't +cooperate (contrary to the documentation, both bits are significant, +but CS5 and CS6 are mapped to CS7) and the code is much longer. + +See: https://github.com/raspberrypi/linux/issues/1561 + +Signed-off-by: Phil Elwell +Acked-by: Eric Anholt +Signed-off-by: Greg Kroah-Hartman +--- + drivers/tty/serial/8250/8250.h | 3 +++ + drivers/tty/serial/8250/8250_bcm2835aux.c | 2 +- + drivers/tty/serial/8250/8250_port.c | 6 ++++++ + 3 files changed, 10 insertions(+), 1 deletion(-) + +diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h +index ce8d4ffcc425b045377305f176aa8fa85af0068f..b2bdc35f74955fe134606ad9103811d227de8abf 100644 +--- a/drivers/tty/serial/8250/8250.h ++++ b/drivers/tty/serial/8250/8250.h +@@ -81,6 +81,9 @@ struct serial8250_config { + #define UART_CAP_HFIFO (1 << 14) /* UART has a "hidden" FIFO */ + #define UART_CAP_RPM (1 << 15) /* Runtime PM is active while idle */ + #define UART_CAP_IRDA (1 << 16) /* UART supports IrDA line discipline */ ++#define UART_CAP_MINI (1 << 17) /* Mini UART on BCM283X family lacks: ++ * STOP PARITY EPAR SPAR WLEN5 WLEN6 ++ */ + + #define UART_BUG_QUOT (1 << 0) /* UART has buggy quot LSB */ + #define UART_BUG_TXEN (1 << 1) /* UART has buggy TX IIR status */ +diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c +index e10f1244409b344b850ffbbd4af5757a66c875f1..a23c7da42ea81342efc26fb35a92a69d535b7cd0 100644 +--- a/drivers/tty/serial/8250/8250_bcm2835aux.c ++++ b/drivers/tty/serial/8250/8250_bcm2835aux.c +@@ -39,7 +39,7 @@ static int bcm2835aux_serial_probe(struct platform_device *pdev) + + /* initialize data */ + spin_lock_init(&data->uart.port.lock); +- data->uart.capabilities = UART_CAP_FIFO; ++ data->uart.capabilities = UART_CAP_FIFO | UART_CAP_MINI; + data->uart.port.dev = &pdev->dev; + data->uart.port.regshift = 2; + data->uart.port.type = PORT_16550; +diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c +index 4c26d15ad7d91602aec507b881e6950119587f44..0d12bbe6ce4e9665fef9c3fb0b64d4c4095117bd 100644 +--- a/drivers/tty/serial/8250/8250_port.c ++++ b/drivers/tty/serial/8250/8250_port.c +@@ -2584,6 +2584,12 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios, + unsigned long flags; + unsigned int baud, quot, frac = 0; + ++ if (up->capabilities & UART_CAP_MINI) { ++ termios->c_cflag &= ~(CSTOPB | PARENB | PARODD | CMSPAR); ++ if ((termios->c_cflag & CSIZE) == CS5 || ++ (termios->c_cflag & CSIZE) == CS6) ++ termios->c_cflag = (termios->c_cflag & ~CSIZE) | CS7; ++ } + cval = serial8250_compute_lcr(up, termios->c_cflag); + + baud = serial8250_get_baud_rate(port, termios, old); + +From 6a6634d22a77d1e7628ce664eec7bc319772f588 Mon Sep 17 00:00:00 2001 +From: P33M +Date: Fri, 26 May 2017 12:50:31 +0100 +Subject: [PATCH 165/165] dwc_otg: fiq_fsm: Make isochronous compatibility + checks work properly + +Get rid of the spammy printk and local pointer mangling. +Also, there is a nominal benefit for using fiq_fsm for isochronous +transfers in FS mode (~1.1k IRQs per second vs 2.1k IRQs per second) +so remove the root port speed check. +--- + drivers/usb/host/dwc_otg/dwc_otg_hcd.c | 24 ++++++------------------ + 1 file changed, 6 insertions(+), 18 deletions(-) + +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c +index 38bf5fc792d32352f9e208e0e90f968599b9bc31..71834cf365e67d7ad995bba7869216c4091c3a74 100644 +--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c +@@ -1439,12 +1439,6 @@ static void assign_and_init_hc(dwc_otg_hcd_t * hcd, dwc_otg_qh_t * qh) + + int fiq_fsm_transaction_suitable(dwc_otg_hcd_t *hcd, dwc_otg_qh_t *qh) + { +- /* There is little benefit in using the FIQ to perform transfers if +- * the root port is not in high-speed mode. +- */ +- if (hcd->flags.b.port_speed != DWC_HPRT0_PRTSPD_HIGH_SPEED) +- return 0; +- + if (qh->do_split) { + switch (qh->ep_type) { + case UE_CONTROL: +@@ -1462,28 +1456,22 @@ int fiq_fsm_transaction_suitable(dwc_otg_hcd_t *hcd, dwc_otg_qh_t *qh) + } + } else if (qh->ep_type == UE_ISOCHRONOUS) { + if (fiq_fsm_mask & (1 << 2)) { +- /* HS ISOCH support. We test for compatibility: ++ /* ISOCH support. We test for compatibility: + * - DWORD aligned buffers + * - Must be at least 2 transfers (otherwise pointless to use the FIQ) + * If yes, then the fsm enqueue function will handle the state machine setup. + */ + dwc_otg_qtd_t *qtd = DWC_CIRCLEQ_FIRST(&qh->qtd_list); + dwc_otg_hcd_urb_t *urb = qtd->urb; +- struct dwc_otg_hcd_iso_packet_desc (*iso_descs)[0] = &urb->iso_descs; +- int nr_iso_frames = urb->packet_count; ++ dwc_dma_t ptr; + int i; +- uint32_t ptr; + +- if (nr_iso_frames < 2) ++ if (urb->packet_count < 2) + return 0; +- for (i = 0; i < nr_iso_frames; i++) { +- ptr = urb->dma + iso_descs[i]->offset; +- if (ptr & 0x3) { +- printk_ratelimited("%s: Non-Dword aligned isochronous frame offset." +- " Cannot queue FIQ-accelerated transfer to device %d endpoint %d\n", +- __FUNCTION__, qh->channel->dev_addr, qh->channel->ep_num); ++ for (i = 0; i < urb->packet_count; i++) { ++ ptr = urb->dma + urb->iso_descs[i].offset; ++ if (ptr & 0x3) + return 0; +- } + } + return 1; + }