diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index ea01cfa226..dc92a270ef 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 9b7dddc8e9543a79aaa4007abf89d37346785000 Mon Sep 17 00:00:00 2001 +From 8e60525c0c7c10c49f3066b4dc26f3810aeb2c91 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Thu, 21 Sep 2017 09:55:42 -0500 -Subject: [PATCH 001/137] arm: partially revert +Subject: [PATCH 001/139] arm: partially revert 702b94bff3c50542a6e4ab9a4f4cef093262fe65 * Re-expose some dmi APIs for use in VCSM @@ -79,10 +79,10 @@ index 01c3d92624e5ed3e0035c4305ca5b6797ba1888b..99f29f1963aec25c0016c5eadeb4a042 #endif diff --git a/arch/arm/mm/proc-macros.S b/arch/arm/mm/proc-macros.S -index f944836da8a222cd97c4e29070afa3aa370e0cbb..e6abed8db42b247ac731e49415bdc4fe92826095 100644 +index f10e31d0730afa572cb6604d65813eb6df1dcfa9..1bc23484e8e3e3d64317157fbbb7e3b26e006a13 100644 --- a/arch/arm/mm/proc-macros.S +++ b/arch/arm/mm/proc-macros.S -@@ -323,6 +323,8 @@ ENTRY(\name\()_cache_fns) +@@ -324,6 +324,8 @@ ENTRY(\name\()_cache_fns) .long \name\()_flush_kern_dcache_area .long \name\()_dma_map_area .long \name\()_dma_unmap_area @@ -106,10 +106,10 @@ index 054b491ff7649ca067ff821770aec80a4da42102..70e8b7d3443467ae9595924f1a9d043b EXPORT_SYMBOL(cpu_cache); #endif -From 4cb8c00d70e91341fa5b9019d31638ec98afaea5 Mon Sep 17 00:00:00 2001 +From 09ead8416d9844b864e842d038c8ac381cb508a2 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 002/137] smsx95xx: fix crimes against truesize +Subject: [PATCH 002/139] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -156,10 +156,10 @@ index 309b88acd3d0b6ca1528dde7b27a23926f9be952..25e37195ceb00cfc0ced7638e8b571a1 usbnet_skb_return(dev, ax_skb); } -From 17cb971e52393ce7b7f21a4c92358039ea0296ea Mon Sep 17 00:00:00 2001 +From 8feaa14b90830119e2289c11bd4381f0f3b806ba Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 003/137] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 003/139] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -202,10 +202,10 @@ index 25e37195ceb00cfc0ced7638e8b571a1b0b8e6f1..09c7d4a07299e70b1cdc9df2c2c4cb39 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 891960a139cea1bdaa2d554917472d9a2a1a2d7f Mon Sep 17 00:00:00 2001 +From 65651261a8bfc288028378e016019e14d9e4f408 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 004/137] Allow mac address to be set in smsc95xx +Subject: [PATCH 004/139] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -301,10 +301,10 @@ index 09c7d4a07299e70b1cdc9df2c2c4cb39d2207c37..4d9704d0b184df9bd7ddbe6769e40a75 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From 0522c7ca7c438f1cc5202c48253faa36a7a5e536 Mon Sep 17 00:00:00 2001 +From c4a866d1dd1ef6d2b522d836385fac980083560f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 005/137] Protect __release_resource against resources without +Subject: [PATCH 005/139] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -332,10 +332,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 6dcfc007eccc49d13417048200e60c83992490c7 Mon Sep 17 00:00:00 2001 +From 7e6d6fe2925444c6418b0a999ae286c46c693362 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/137] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/139] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -362,10 +362,10 @@ index dc8c1e3eafe794a3af83dd987a6d6362d14dd5ee..e8204d9af58f1b893505c06902a83390 #endif } else if (stat) { -From a4c4e79f189ff6824e031421f0e02650bbd84a4e Mon Sep 17 00:00:00 2001 +From 15224e3083886c91d0e7f064768fd5cb56a7ef04 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 007/137] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 007/139] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -389,10 +389,10 @@ index e8204d9af58f1b893505c06902a83390c2ea8509..6e3fab9587b782e026c01fa6b6e40338 static void -From 2d2e30c43f8dbe41eec5602ceb50ae1fbd240095 Mon Sep 17 00:00:00 2001 +From aa1454e5bd11aeb9c3a4160049139d08749a566a 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/137] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 008/139] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -410,10 +410,10 @@ Acked-by: Stephen Warren 2 files changed, 47 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig -index 73be3d5788510e953a460c76437db3f22c3d7bda..3c7d01eaa341b03ced0ba9aadb705463f82ca149 100644 +index 5d2925e2ce1ff8b99ec219fbcc1c392d28e01835..b336f0359946e3d7247a6877c947d7e0e45717f8 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig -@@ -154,6 +154,7 @@ config ARCH_BCM2835 +@@ -155,6 +155,7 @@ config ARCH_BCM2835 select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 select TIMER_OF select BCM2835_TIMER @@ -521,10 +521,10 @@ index d2da8a1e6b1b71381e382d034e7a94e865a6c3da..c4903360eabc2bef04f8e745782cea26 } -From 2e595e2b914612e744ae17ca30131b59382c6496 Mon Sep 17 00:00:00 2001 +From 0f53fa2b0cd025c4c58ab40cd455b9851894e626 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/137] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 009/139] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -623,10 +623,10 @@ index c4903360eabc2bef04f8e745782cea268fb22897..13356d3b7bcd508f058c6a9e3c4b0b38 for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From e6195dc561aebc976bac79e6a8251233fff5303e Mon Sep 17 00:00:00 2001 +From 92c3ce0662ca2cf5e3b7ad3c741f47a6a8594d6a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 8 May 2017 16:43:40 +0100 -Subject: [PATCH 010/137] irq_bcm2836: Send event when onlining sleeping cores +Subject: [PATCH 010/139] irq_bcm2836: Send event when onlining sleeping cores In order to reduce power consumption and bus traffic, it is sensible for secondary cores to enter a low-power idle state when waiting to @@ -662,10 +662,10 @@ index 6e3fab9587b782e026c01fa6b6e40338ef0c8d0a..86b357ae027bf8ba1ac32cd150a8cf21 } -From 3b046930e171f984eb6a524602600410caf064f1 Mon Sep 17 00:00:00 2001 +From 5f1bec32708106e72576231d1c154d708236da06 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 011/137] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 011/139] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -686,10 +686,10 @@ index cda10719d1d1b21b32866d2b79363faa461ab8e1..4f3779d3aa0960640506725bde918075 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 2432d13bd846594369273bd43d8dd9a138bde4e5 Mon Sep 17 00:00:00 2001 +From be3a9d34a7303201f26d17b4e0ffd0d3f434d598 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 012/137] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 012/139] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -770,10 +770,10 @@ index f35cc10772f6670397ea923ad30158270dd68578..5dfe20ffc2866fa6789825016c585175 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From f64931f74bd2bcac9502c4f9f1f58faa5f6ff76c Mon Sep 17 00:00:00 2001 +From 60899cc34c2f2234699dbe2336ae9128494f2640 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 013/137] spi-bcm2835: Disable forced software CS +Subject: [PATCH 013/139] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -807,10 +807,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 74c69f01a4d2d12540a62bb4537a05643bba636c Mon Sep 17 00:00:00 2001 +From 24c098732f0a47ffa724929b14fba28be1bc1bfe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 014/137] spi-bcm2835: Remove unused code +Subject: [PATCH 014/139] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -898,10 +898,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From b10bca0b6f6df1432901a9f8379919e4e89fab72 Mon Sep 17 00:00:00 2001 +From 72e543ba232512e841a63842c18bd3959967fc0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 015/137] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 015/139] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -954,10 +954,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 97fbed7f2788c0bb8b5b5759464f3ae747672adb Mon Sep 17 00:00:00 2001 +From d725edb698b5b5f089b4ff55fa7ef2d5b8bb7c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 016/137] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 016/139] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1060,10 +1060,10 @@ index 6204cc32d09c5096df8aec304c3c37b3bcb6be44..599c218dc8a73172dd4bd4a058fc8f95 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From cb66457ca36df7f3024c91b198667930e8ddba5a Mon Sep 17 00:00:00 2001 +From edfe896043c2ad822b4d08e7fc6eb4380cd01774 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 017/137] firmware: Updated mailbox header +Subject: [PATCH 017/139] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 9 +++++++++ @@ -1124,10 +1124,10 @@ index cb979ad90401e299344dd5fae38d09c489d8bd58..30fb37fe175df604a738258a2a632bca RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, -From bb6368a918aca4fb61b9b6862dfc2659aaf49dfd Mon Sep 17 00:00:00 2001 +From 76e98df20df8356bed5ccfce87bdc729b5375f38 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 018/137] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 018/139] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1147,10 +1147,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 6606e52d15b120fd395ebd524866f3fd5366000a Mon Sep 17 00:00:00 2001 +From 581f89fb414fdc6318698fadeeea366ddb3f000c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 16:50:59 +0200 -Subject: [PATCH 019/137] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 019/139] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1252,10 +1252,10 @@ index b339e0e67b4c1275fd4992fea4f1e24c0575b783..26b7177573fac2af1cd4ab5488d2686f static int bcm2835_wdt_probe(struct platform_device *pdev) -From feab15bd9d3c9380836909c78fb1910626a9a02a Mon Sep 17 00:00:00 2001 +From c101d97f825185edb54c3162d3982871f43f0be7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 020/137] reboot: Use power off rather than busy spinning when +Subject: [PATCH 020/139] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1278,10 +1278,10 @@ index 3b2aa9a9fe268d45335f781c4aa22cf573753a1b..0180d89a34af45c56243fe0f17fbe209 /* -From fc18e0d1a96bf90c1fae73db76d6fb1733990106 Mon Sep 17 00:00:00 2001 +From 6f519845a25ce3c6fc2d27fd804d90d0db1c7b88 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 021/137] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 021/139] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1300,10 +1300,10 @@ index 49f1e2a75d614bc21db152327c7b425ae2504f8d..dccd2374ed00631abd441e3e9d78ee74 help This enables support for the RPi power domains which can be enabled -From 885a792317b491e6727873d356fccac43f1180e5 Mon Sep 17 00:00:00 2001 +From 0017e9f93dbca672e0b6fef92457b64db86fb347 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 022/137] Register the clocks early during the boot process, so +Subject: [PATCH 022/139] Register the clocks early during the boot process, so that special/critical clocks can get enabled early on in the boot process avoiding the risk of disabling a clock, pll_divider or pll when a claiming driver fails to install propperly - maybe it needs to defer. @@ -1348,10 +1348,10 @@ index 58ce6af8452db9ca8b4d3c380a06e448919f6a8d..11d89d106026f15719ea25047d6f357b MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From cd539577a42dfcad749d8bd9b3520bccd40f1013 Mon Sep 17 00:00:00 2001 +From eb5c49601f6b78480c740d4ecd9bbed793688f0d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 023/137] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 023/139] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1377,10 +1377,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From a867532429c495dad5a8e3bd292cc3a43d9dda09 Mon Sep 17 00:00:00 2001 +From 8252e9d195ac8cc0244cccd9809044264f570494 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 024/137] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 024/139] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1400,10 +1400,10 @@ index 9ffd3dda3889c56a7a72229bed21ff5c49d62856..00da6c9bacbf33334233e22ca5209ade esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 2807699f346e4f99068a9e846d53d07da75cf344 Mon Sep 17 00:00:00 2001 +From 3a998b1bd9c4a834b13c04ecb3549450b03ae222 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 025/137] BCM2835_DT: Fix I2S register map +Subject: [PATCH 025/139] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1441,10 +1441,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 4f04f058d927623be1ecfc4cba9e15bef07510b7 Mon Sep 17 00:00:00 2001 +From 577ab04bb851f491ecb7ebe9e832e3c094547b20 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 026/137] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 026/139] clk-bcm2835: Mark used PLLs and dividers CRITICAL The VPU configures and relies on several PLLs and dividers. Mark all enabled dividers and their PLLs as CRITICAL to prevent the kernel from @@ -1472,10 +1472,10 @@ index 11d89d106026f15719ea25047d6f357b4bfcb2c5..fe8f5d65f2749cb3ddc878df61664826 divider->data = data; -From 08eb473dc3180d46c7a3aafcab7b9bd95988dbe2 Mon Sep 17 00:00:00 2001 +From 7bebf0b7412d6d4d3ae54bea60f8f0224483a275 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 027/137] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 027/139] clk-bcm2835: Add claim-clocks property The claim-clocks property can be used to prevent PLLs and dividers from being marked as critical. It contains a vector of clock IDs, @@ -1577,10 +1577,10 @@ index fe8f5d65f2749cb3ddc878df616648267441e0ee..92b5e0f5145b32d3bfc3592fe381e8be sizeof(cprman_parent_names)); of_clk_parent_fill(dev->of_node, cprman->real_parent_names, -From 07cc3005154a41645d6e3ad01242af72f4831257 Mon Sep 17 00:00:00 2001 +From 78908f34a726aebd44f219999bfccaf9e56833bd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 028/137] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 028/139] clk-bcm2835: Read max core clock from firmware The VPU is responsible for managing the core clock, usually under direction from the bcm2835-cpufreq driver but not via the clk-bcm2835 @@ -1695,10 +1695,10 @@ index 92b5e0f5145b32d3bfc3592fe381e8be3cd90c72..336f8c9c44325d0a94e591a8557f7af2 for (i = 0; !of_property_read_u32_index(pdev->dev.of_node, "claim-clocks", -From 193fb7ac2a5d34eb00f4f9db6a76007538ec79a9 Mon Sep 17 00:00:00 2001 +From f1374f265be59abf5ec7b87729303c88c6eba198 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 029/137] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 029/139] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1719,10 +1719,11 @@ diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c index 336f8c9c44325d0a94e591a8557f7af246adc857..caa05e5ad0b7b5cd683e04fb3591a3dfcb40823f 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1484,6 +1484,15 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, +@@ -1483,6 +1483,15 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, + init.name = data->name; init.flags = data->flags | CLK_IGNORE_UNUSED; - /* ++ /* + * Some GPIO clocks for ethernet/wifi PLLs are marked as + * critical (since some platforms use them), but if the + * firmware didn't have them turned on then they clearly @@ -1731,15 +1732,14 @@ index 336f8c9c44325d0a94e591a8557f7af246adc857..caa05e5ad0b7b5cd683e04fb3591a3df + if ((cprman_read(cprman, data->ctl_reg) & CM_ENABLE) == 0) + init.flags &= ~CLK_IS_CRITICAL; + -+ /* + /* * Pass the CLK_SET_RATE_PARENT flag if we are allowed to propagate * rate changes on at least of the parents. - */ -From 687aba7ada47035a8d0f1e5c81f667a10d3ef26f Mon Sep 17 00:00:00 2001 +From 7ee87f84e0be0dec8e75e55b3b35fabc349f6a0f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 030/137] sound: Demote deferral errors to INFO level +Subject: [PATCH 030/139] sound: Demote deferral errors to INFO level At present there is no mechanism to specify driver load order, which can lead to deferrals and repeated retries until successful. @@ -1774,10 +1774,10 @@ index fee4b0ef5566cf9e8de0bf5c568706da9cab2ea2..c728a4148903e983d61b6ae65765ba11 goto _err_defer; } -From 4f47a4141a0df696b256a8ac45648ac1361fad06 Mon Sep 17 00:00:00 2001 +From 795db6642f6a728994b969d6aa0176f546df77cd Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 031/137] Update vfpmodule.c +Subject: [PATCH 031/139] Update vfpmodule.c Christopher Alexander Tobias Schulze - May 2, 2015, 11:57 a.m. This patch fixes a problem with VFP state save and restore related @@ -1914,10 +1914,10 @@ index a71a48e71fffa8626fe90106815376c44bbe679b..d6c0a5a0a5ae3510db3ace5e3f5d3410 /* * Save the userland NEON/VFP state. Under UP, -From 87e169e0a9418b8937753755579e0b6e66fe5366 Mon Sep 17 00:00:00 2001 +From 2804bc1ac13708fa3990bbb7ca12ce14b40989fe Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 21:13:24 +1100 -Subject: [PATCH 032/137] ASoC: bcm2835_i2s.c: relax the ch2 register setting +Subject: [PATCH 032/139] ASoC: bcm2835_i2s.c: relax the ch2 register setting for 8 channels This patch allows ch2 registers to be set for 8 channels of audio. @@ -1938,10 +1938,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..56df7d8a43d0aac055a91b0d24aca8e1 format |= BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(ch1pos)); format |= BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(ch2pos)); -From 810c18847b66e348187aa4511c44f615ccf2ba7e Mon Sep 17 00:00:00 2001 +From ec54e54ebb0bcd5573ffa4db9e1f448f8cf6f3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:15:41 +0100 -Subject: [PATCH 033/137] i2c: bcm2835: Add debug support +Subject: [PATCH 033/139] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2130,10 +2130,10 @@ index cd07a69e2e9355540442785f95e90823b05c9d10..47167f403cc8329bd811b47c7011c299 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 48fd09ec48774449a5970d7d07d6fbd61287f158 Mon Sep 17 00:00:00 2001 +From 20a86bf17514812723c8c6428a49de3efa3d6ca0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 034/137] mm: Remove the PFN busy warning +Subject: [PATCH 034/139] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -2158,10 +2158,10 @@ index 77e4d3c5c57b72dcd7e411a03707c26dc85c7c04..3f2f09b590dbfaf592749e8f901893c2 goto done; } -From 3b962cb450a90fb14125efbbb3a7c9317c310569 Mon Sep 17 00:00:00 2001 +From bf1f18280bbb6864ecb3b85aa1685a95b58bbcc8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 10:06:56 +0000 -Subject: [PATCH 035/137] ASoC: Add prompt for ICS43432 codec +Subject: [PATCH 035/139] ASoC: Add prompt for ICS43432 codec Without a prompt string, a config setting can't be included in a defconfig. Give CONFIG_SND_SOC_ICS43432 a prompt so that Pi soundcards @@ -2186,10 +2186,10 @@ index c367d11079bc90feec2ad0fa748d7ffc3035faba..91d5b531b69b49db97f7febbc60d33a2 config SND_SOC_INNO_RK3036 tristate "Inno codec driver for RK3036 SoC" -From 510550fd44ca515e62e2a6b065b43ab6bc8833ab Mon Sep 17 00:00:00 2001 +From cf0c9b6228fcbdc5d6a042d01635f00f6a8862a7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 036/137] Main bcm2708/bcm2709 linux port +Subject: [PATCH 036/139] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2220,10 +2220,10 @@ Signed-off-by: Noralf Trønnes 5 files changed, 44 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig -index 3c7d01eaa341b03ced0ba9aadb705463f82ca149..17ec37811c32f09126ed42753037e055c5cec115 100644 +index b336f0359946e3d7247a6877c947d7e0e45717f8..971bc298f63eeeed418131b7b7200ac91b0d73f1 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig -@@ -157,6 +157,7 @@ config ARCH_BCM2835 +@@ -158,6 +158,7 @@ config ARCH_BCM2835 select FIQ select PINCTRL select PINCTRL_BCM2835 @@ -2377,10 +2377,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From 206143fff0bc93d67542c4a2b139d3f18f8861a4 Mon Sep 17 00:00:00 2001 +From 86cacce65655d3c600d6e2122c040442f27e0ba6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 037/137] Add dwc_otg driver +Subject: [PATCH 037/139] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -3132,10 +3132,10 @@ Related: https://github.com/raspberrypi/linux/issues/2024 create mode 100644 drivers/usb/host/dwc_otg/test/test_sysfs.pl diff --git a/arch/arm/include/asm/irqflags.h b/arch/arm/include/asm/irqflags.h -index e6b70d9d084ea5d369c237f9a3f81c92e331a429..a48ccf7c73d873eb236b61e25a9e1cbde93b60e7 100644 +index aeec7f24eb75beb505c885973efe8c7d4f50c0b3..a3b186608c60928855aec338421539b8a7ecae18 100644 --- a/arch/arm/include/asm/irqflags.h +++ b/arch/arm/include/asm/irqflags.h -@@ -162,13 +162,23 @@ static inline unsigned long arch_local_save_flags(void) +@@ -163,13 +163,23 @@ static inline unsigned long arch_local_save_flags(void) } /* @@ -3175,10 +3175,10 @@ index 8dd26e1a9bd69051a1548d99c157cad2e65ba81b..eef484756af2179be8acd76b9ddbd3e9 + mov pc, r8 +ENDPROC(__FIQ_Branch) diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile -index 9650b351c26c7f2064facc118435cb1cea1b12ee..2acdb2b92f96d8a08c2472d903df5d88e7d0d476 100644 +index 060643a1b5c8aa4f446973bc1ca8b7bfadfcb54b..00809104ba9d48a7c20b94b2fb9a22faeddfabb5 100644 --- a/drivers/usb/Makefile +++ b/drivers/usb/Makefile -@@ -7,6 +7,7 @@ +@@ -8,6 +8,7 @@ obj-$(CONFIG_USB) += core/ obj-$(CONFIG_USB_SUPPORT) += phy/ @@ -7165,10 +7165,10 @@ index fa5692dec8320695a59bf7f3c0fa0a9e5457a0de..64ed87af62b3d38db663cc77978b024d tristate "i.MX21 HCD support" depends on ARM && ARCH_MXC diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile -index cf2691fffcc0a5429858e39479a3c313be23d17b..e7291653b98ab382d151312431806592c6afb200 100644 +index 4ab2689c8952becf01294a887f74a331fa1cc539..1711c9525478d5c6c45994d8c1e4a8f5ab00fc91 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile -@@ -72,6 +72,8 @@ obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o +@@ -73,6 +73,8 @@ obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o obj-$(CONFIG_USB_HWA_HCD) += hwa-hc.o @@ -63653,10 +63653,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From d82f90e98ff1f1c70489ce7fb355654ab2890c6f Mon Sep 17 00:00:00 2001 +From 622021fea4b4a694e04b47cf99e29a4bfe5766ad Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 038/137] bcm2708 framebuffer driver +Subject: [PATCH 038/139] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -63763,10 +63763,10 @@ index 5e58f5ec0a28e449afa8813a652b1aa3469e0721..127978982287bf04b6ea215433bd905e tristate "Aeroflex Gaisler framebuffer support" depends on FB && SPARC diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile -index ee8c81405a7f9af1f190c98ddcfa53666ad97b0f..8cd1193b98690b9c4f49098ab14389504d65af3a 100644 +index 8895536a20d648723197affff38d1bbf8fc140a8..52c5ebb6680fcebb86b6e4f5e0254491d1cef33d 100644 --- a/drivers/video/fbdev/Makefile +++ b/drivers/video/fbdev/Makefile -@@ -10,6 +10,7 @@ obj-$(CONFIG_FB_MACMODES) += macmodes.o +@@ -11,6 +11,7 @@ obj-$(CONFIG_FB_MACMODES) += macmodes.o obj-$(CONFIG_FB_WMT_GE_ROPS) += wmt_ge_rops.o # Hardware specific drivers go first @@ -67115,10 +67115,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 9cc1750439e853b977f40110c62968b1d86a6b80 Mon Sep 17 00:00:00 2001 +From 39a290eea295e1d0c612830feb70c481d827a17d Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 039/137] dmaengine: Add support for BCM2708 +Subject: [PATCH 039/139] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67301,10 +67301,10 @@ index e5244c1f9318bd4dbd98111394113b3e9f8596c3..845fb2ff22a243e8ca9bef585dc20b8d tristate "CPPI 4.1 DMA support" depends on (ARCH_OMAP || ARCH_DAVINCI_DA8XX) diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile -index f08f8de1b567c1f4911cd4216be85cf203debd36..cb884f5403a2c873fed5d9e24b2ff9cbe564f4b6 100644 +index 9d0156b502946a63fe93e344dc50fe0680ff7608..3ebe6b90eb30da487d4408c38caed699acf8171f 100644 --- a/drivers/dma/Makefile +++ b/drivers/dma/Makefile -@@ -20,6 +20,7 @@ obj-$(CONFIG_AT_XDMAC) += at_xdmac.o +@@ -21,6 +21,7 @@ obj-$(CONFIG_AT_XDMAC) += at_xdmac.o obj-$(CONFIG_AXI_DMAC) += dma-axi-dmac.o obj-$(CONFIG_BCM_SBA_RAID) += bcm-sba-raid.o obj-$(CONFIG_COH901318) += coh901318.o coh901318_lli.o @@ -67749,10 +67749,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From a6da133bafa22ac7c473a444ca051adae063558e Mon Sep 17 00:00:00 2001 +From cbeab5066d772aae01f5a072e0962935ae569fc5 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 040/137] MMC: added alternative MMC driver +Subject: [PATCH 040/139] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -67958,10 +67958,10 @@ index ad88deb2e8f3b046838a3539841717951c33a6c6..2b424604e17161400b9002eeb2e836e4 kfree(host); return NULL; diff --git a/drivers/mmc/core/quirks.h b/drivers/mmc/core/quirks.h -index fb725934fa21cee1b98fd7bc08227bf6d0317549..c9d5d644688c1509d7febcff0322fbaba0a842d6 100644 +index f664e9cbc9f8b66aa9f4f3c8fdd55882d99c8c79..baf123718acd934536a97cc9032b98b0e581a47b 100644 --- a/drivers/mmc/core/quirks.h +++ b/drivers/mmc/core/quirks.h -@@ -90,6 +90,14 @@ static const struct mmc_fixup mmc_blk_fixups[] = { +@@ -91,6 +91,14 @@ static const struct mmc_fixup mmc_blk_fixups[] = { MMC_FIXUP("V10016", CID_MANFID_KINGSTON, CID_OEMID_ANY, add_quirk_mmc, MMC_QUIRK_TRIM_BROKEN), @@ -68017,10 +68017,10 @@ index 8c15637178ff3cec73b637633710f84e4dd93a00..5fcc7b0cbc7bcccaf418ffca7680a46e bool "MMC host drivers debugging" depends on MMC != n diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile -index 303f5cd46cd9092171117639fcb2da5733dde146..854d1a8f4addd298a2a752d89b9a710befd55783 100644 +index 7c7b29ff591a1cac0fbc1a5832569377c0dbc01c..000f75a2c26c4c16ee5075c1d86efa1d48bfdaf2 100644 --- a/drivers/mmc/host/Makefile +++ b/drivers/mmc/host/Makefile -@@ -19,6 +19,7 @@ obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o +@@ -20,6 +20,7 @@ obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o obj-$(CONFIG_MMC_SDHCI_SIRF) += sdhci-sirf.o obj-$(CONFIG_MMC_SDHCI_F_SDH30) += sdhci_f_sdh30.o obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o @@ -69632,10 +69632,10 @@ index 279b39008a33bb68745d9ea55ea5dd7ed522fd1c..49bdea5791a289251019a89419804dde unsigned int erase_size; /* erase size in sectors */ -From b13cc262b16826d7a64ae35d4607fa35f24a594f Mon Sep 17 00:00:00 2001 +From 4099300eef8bcb7c124987ffd6cd25e61b7e1c45 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 041/137] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 041/139] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -69830,10 +69830,10 @@ index 5fcc7b0cbc7bcccaf418ffca7680a46e7f845545..91adb0d9936c9489377edd78ccc8c4f3 bool "MMC host drivers debugging" depends on MMC != n diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile -index 854d1a8f4addd298a2a752d89b9a710befd55783..0d9808eadb2a714d29fdccae74445df5794ed2fc 100644 +index 000f75a2c26c4c16ee5075c1d86efa1d48bfdaf2..b44ecbd0afaf9923a767e722f17b7496e35c63c7 100644 --- a/drivers/mmc/host/Makefile +++ b/drivers/mmc/host/Makefile -@@ -20,6 +20,7 @@ obj-$(CONFIG_MMC_SDHCI_SIRF) += sdhci-sirf.o +@@ -21,6 +21,7 @@ obj-$(CONFIG_MMC_SDHCI_SIRF) += sdhci-sirf.o obj-$(CONFIG_MMC_SDHCI_F_SDH30) += sdhci_f_sdh30.o obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o obj-$(CONFIG_MMC_BCM2835_MMC) += bcm2835-mmc.o @@ -72041,10 +72041,10 @@ index 0000000000000000000000000000000000000000..9c6f199a7830959f31012d86bc1f8b1a +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From ac5382bc3dfe298a973e91e58217422c7d3e2d8c Mon Sep 17 00:00:00 2001 +From 8836c2f3ccd27a172049ec20d4a17e5c3e035d87 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 042/137] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 042/139] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -72569,10 +72569,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 85e1633bc859206659575bf278f50bf72425a8e8 Mon Sep 17 00:00:00 2001 +From c65d721e7030ebba4089daf542593ab0bc3f6202 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 043/137] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 043/139] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -72666,10 +72666,10 @@ vcsm: Fix up macros to avoid breaking numbers used by existing apps create mode 100644 include/linux/broadcom/vmcs_sm_ioctl.h diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig -index 6237143446002767402ba8af1f30a968e297d8c0..0aeb4d62816cc5421b9bb2d37fb3d9e39411b40a 100644 +index c28dca0c613d1be5d99c924fe68da994c32b7847..3e4e9927dd42e585da9d6fef415d0381c6e046cd 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig -@@ -4,6 +4,8 @@ +@@ -5,6 +5,8 @@ menu "Character devices" @@ -72679,10 +72679,10 @@ index 6237143446002767402ba8af1f30a968e297d8c0..0aeb4d62816cc5421b9bb2d37fb3d9e3 config DEVMEM diff --git a/drivers/char/Makefile b/drivers/char/Makefile -index 53e33720818c0aba856ca2d8f7386618d73a8f40..8b75903fe3df617a7c3298603610e6599502f592 100644 +index 7dc3abe664648eeec97b303d4c75488fadd04bf9..5c896839d6b247079ea70be8a8939edf2eace530 100644 --- a/drivers/char/Makefile +++ b/drivers/char/Makefile -@@ -59,3 +59,4 @@ js-rtc-y = rtc.o +@@ -60,3 +60,4 @@ js-rtc-y = rtc.o obj-$(CONFIG_TILE_SROM) += tile-srom.o obj-$(CONFIG_XILLYBUS) += xillybus/ obj-$(CONFIG_POWERNV_OP_PANEL) += powernv-op-panel.o @@ -77449,10 +77449,10 @@ index 0000000000000000000000000000000000000000..b75729d762f25aace133f7a008633b40 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 5db53fc2bc9f123641797b593fbac2580b4517bd Mon Sep 17 00:00:00 2001 +From fa7348b4b8f1f2636f089a24703321eec78217c3 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 044/137] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 044/139] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -77760,10 +77760,10 @@ index 0000000000000000000000000000000000000000..f5e7f1ba8fb6f18dee77fad06a17480c +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From e7523afd757685826b527a1131f11378a7aa5a8e Mon Sep 17 00:00:00 2001 +From 974338b1634915c46884cb813611956fb97e3f07 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 045/137] Add SMI driver +Subject: [PATCH 045/139] Add SMI driver Signed-off-by: Luke Wren --- @@ -78314,10 +78314,10 @@ index 8136dc7e863d7166a64c5ac8bddfa7f606e8c1fa..3db74632766eaacfe7a98d6cf4cf39db tristate "Analog Devices Digital Potentiometers" depends on (I2C || SPI) && SYSFS diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile -index d84819dc2468c556228e486e2166005dccb731a5..f2d3afd0646071d74f343d1b21a45efd7bf3c676 100644 +index ad0e64fdba3484445921b8140d4c994f880970d1..db70f5c0e50491fa4f5a58b767be74d172f29509 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile -@@ -9,6 +9,7 @@ obj-$(CONFIG_AD525X_DPOT_SPI) += ad525x_dpot-spi.o +@@ -10,6 +10,7 @@ obj-$(CONFIG_AD525X_DPOT_SPI) += ad525x_dpot-spi.o obj-$(CONFIG_INTEL_MID_PTI) += pti.o obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o @@ -79714,10 +79714,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From da5e95c2be8e69c437a5bd2032ce21568fcdf27f Mon Sep 17 00:00:00 2001 +From 3df002dc1c0df495d29401f71b9452f58b783ee6 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 046/137] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 046/139] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -79751,7 +79751,7 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 dma_addr_t smi_regs_busaddr; struct dma_chan *dma_chan; -@@ -72,8 +73,7 @@ struct bcm2835_smi_instance { +@@ -72,50 +73,13 @@ struct bcm2835_smi_instance { struct scatterlist buffer_sgl; @@ -79761,10 +79761,11 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 /* Sometimes we are called into in an atomic context (e.g. by JFFS2 + MTD) so we can't use a mutex */ -@@ -82,42 +82,6 @@ struct bcm2835_smi_instance { + spinlock_t transaction_lock; + }; - /**************************************************************************** - * +-/**************************************************************************** +-* -* SMI clock manager setup -* -***************************************************************************/ @@ -79799,11 +79800,9 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 - CM_SMI_CTL_ENAB, CM_SMI_CTL); -} - --/**************************************************************************** --* - * SMI peripheral setup + /**************************************************************************** * - ***************************************************************************/ + * SMI peripheral setup @@ -894,42 +858,40 @@ static int bcm2835_smi_probe(struct platform_device *pdev) struct device_node *node = dev->of_node; struct resource *ioresource; @@ -79887,10 +79886,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From a04b8c1ca254b7b65252c147083b7d3bd78a5e15 Mon Sep 17 00:00:00 2001 +From 0c443570a92b4e1118085cba9a8264821b93dca7 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 047/137] Add SMI NAND driver +Subject: [PATCH 047/139] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -79970,10 +79969,10 @@ index 3f2036f31da47ae7209365c31aab0bb363b6940f..0534944728b7535b3b8324e9d91598c9 tristate diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile -index ade5fc4c3819a79ffd575119ed6bbf5607bd8b7f..4312f9ac34ed8f3ae5d73dd1973a07e94f557c03 100644 +index 6e2db700d923ddd14bdd6b0ae9cc5b554cf0ef1e..798981f3ec0512754d12aa55e130fc5a48ea05a5 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile -@@ -13,6 +13,7 @@ obj-$(CONFIG_MTD_NAND_DENALI) += denali.o +@@ -14,6 +14,7 @@ obj-$(CONFIG_MTD_NAND_DENALI) += denali.o obj-$(CONFIG_MTD_NAND_DENALI_PCI) += denali_pci.o obj-$(CONFIG_MTD_NAND_DENALI_DT) += denali_dt.o obj-$(CONFIG_MTD_NAND_AU1550) += au1550nd.o @@ -80255,10 +80254,10 @@ index 0000000000000000000000000000000000000000..c4826ea1c2bae555ce780e61f1076ddd + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 017de376a22122d53285220d1c3571d4ccb9341b Mon Sep 17 00:00:00 2001 +From 93bf045b8eb124d1dbb143a941f37545d78edfb7 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 048/137] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 048/139] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -81118,10 +81117,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From d7ce0d93057cde951de5b658054816ccc87d5d82 Mon Sep 17 00:00:00 2001 +From 6c2571bda3952808d25bc2cf1cb7bc9d371475a0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 049/137] Add cpufreq driver +Subject: [PATCH 049/139] Add cpufreq driver Signed-off-by: popcornmix @@ -81157,10 +81156,10 @@ index bdce4488ded1709b40282e8b14c614ee14e35ac8..e6e43bb9b51a9693932ce293195805a7 bool "Tegra20 CPUFreq support" depends on ARCH_TEGRA diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile -index c7af9b2a255e1914fafd89d5bcfe2032c8db5b07..1e572daefc43b65d718012cbf273266097255be9 100644 +index 812f9e0d01a343a1477ecc91fee0fbaa353fb26d..f8da42e2b4faf7c2eb50b0bda68ffc2ba7a7fbf3 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile -@@ -75,6 +75,7 @@ obj-$(CONFIG_ARM_SCPI_CPUFREQ) += scpi-cpufreq.o +@@ -76,6 +76,7 @@ obj-$(CONFIG_ARM_SCPI_CPUFREQ) += scpi-cpufreq.o obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o obj-$(CONFIG_ARM_STI_CPUFREQ) += sti-cpufreq.o obj-$(CONFIG_ARM_TANGO_CPUFREQ) += tango-cpufreq.o @@ -81385,10 +81384,10 @@ index 0000000000000000000000000000000000000000..99345969b0e4d651fd9033d67de2febb +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 10f8bfcd03a9c78dca6d38b8904084d9f0abd789 Mon Sep 17 00:00:00 2001 +From 43bdb460707e883e59fba2ac0428298eafcb5877 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 050/137] Add Chris Boot's i2c driver +Subject: [PATCH 050/139] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -81522,10 +81521,10 @@ index 45a3f3ca29b383ce7edfbb34e6d3fd506c5173b6..9dbd9e7619f44d73368fcd76e67487c3 tristate "ALI 1535" depends on PCI diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile -index 47f3ac9a695ad21066fc5ab47df40a564913e024..d0d755cee1a28408a53a9f92b140dd8a431a6a5c 100644 +index 2ce8576540a29a4abf80f4ca2767d9ca6448939d..5e4896e973bbfe9a53f6b5dc9033b23fe0cb1459 100644 --- a/drivers/i2c/busses/Makefile +++ b/drivers/i2c/busses/Makefile -@@ -2,6 +2,8 @@ +@@ -3,6 +3,8 @@ # Makefile for the i2c bus drivers. # @@ -82053,10 +82052,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From b3a701187e606c3435205740fe85a7bd0d005829 Mon Sep 17 00:00:00 2001 +From 25ebdaa8d0839da56cede76788ee329733f69d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 051/137] char: broadcom: Add vcio module +Subject: [PATCH 051/139] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82281,10 +82280,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 9a58609feed8a14b1c3f2e960aa2a11faabf6c6f Mon Sep 17 00:00:00 2001 +From 25751a26ff1c3359e383c2c7d7f64d2d9e2ab8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 052/137] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 052/139] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82367,10 +82366,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From de415346782d08f00065788e6fd7d1643a2d7ee7 Mon Sep 17 00:00:00 2001 +From 20d71f3896eb0822c459fbb4e1d1ddd82867770f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 053/137] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 053/139] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -82897,10 +82896,10 @@ index 0000000000000000000000000000000000000000..84be2593ec1de8f97b0167ff06b3e05d + return $trailer; +} -From 3ae7314e7b674266d0537751d97ed3809e183fc3 Mon Sep 17 00:00:00 2001 +From b9a1dcec325d5dc202a73efdf1554c396033da5c Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 054/137] BCM2708: Add core Device Tree support +Subject: [PATCH 054/139] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -83368,10 +83367,10 @@ Signed-off-by: Phil Elwell create mode 100644 arch/arm/boot/dts/overlays/wittypi-overlay.dts diff --git a/arch/arm/Makefile b/arch/arm/Makefile -index 817e5cfef83a933e8d66bfd62a7c908a1af92f2c..a958ac161c89bdce95bde7fdc86b055bf6287326 100644 +index 36ae4454554ce1a11cc65848c60569bf8b3e0abe..be0fd4338da4502cff1e3224c71db685cb2fa3e0 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile -@@ -339,6 +339,8 @@ $(INSTALL_TARGETS): +@@ -341,6 +341,8 @@ $(INSTALL_TARGETS): %.dtb: | scripts $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@ @@ -83391,10 +83390,11 @@ index 3c79f85975aaa26c7c2e353fefc54d71d89bc5bf..eaaeb17e5986e5f7178b2851169444ac -*.dtb +*.dtb* diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile -index faf46abaa4a2773721a0c30b012a2ae52308daae..29914dd3a7723c462b4d62b37a0c467db1480404 100644 +index eff87a3445662c767bf6f4b24a94620148ab11e3..d85b3a4d051b45b6c60c137d725587bf964e4165 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile -@@ -1,5 +1,14 @@ +@@ -1,6 +1,15 @@ + # SPDX-License-Identifier: GPL-2.0 ifeq ($(CONFIG_OF),y) +dtb-$(CONFIG_ARCH_BCM2835) += \ @@ -83409,7 +83409,7 @@ index faf46abaa4a2773721a0c30b012a2ae52308daae..29914dd3a7723c462b4d62b37a0c467d dtb-$(CONFIG_ARCH_ALPINE) += \ alpine-db.dtb dtb-$(CONFIG_MACH_ARTPEC6) += \ -@@ -1068,10 +1077,21 @@ dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb +@@ -1069,10 +1078,21 @@ dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb dtb-$(CONFIG_ARCH_ASPEED) += aspeed-bmc-opp-palmetto.dtb \ aspeed-bmc-opp-romulus.dtb \ aspeed-ast2500-evb.dtb @@ -95087,10 +95087,10 @@ index 0000000000000000000000000000000000000000..8498134fdbb3912e9ce18282b53084d8 + +}; diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst -index 993fb85982df2df2a7f8e20780d0cfbe3cb732e8..b44d8c993f1d347908b0a97525c8ff60490d6f60 100644 +index c8ba6e7f9868e8d048f3595f2ed7ed5a7674c8be..e1190ddfe462df546977c1389e2af001b8468c78 100644 --- a/scripts/Makefile.dtbinst +++ b/scripts/Makefile.dtbinst -@@ -21,6 +21,7 @@ include scripts/Kbuild.include +@@ -22,6 +22,7 @@ include scripts/Kbuild.include include $(src)/Makefile dtbinst-files := $(dtb-y) @@ -95098,7 +95098,7 @@ index 993fb85982df2df2a7f8e20780d0cfbe3cb732e8..b44d8c993f1d347908b0a97525c8ff60 dtbinst-dirs := $(dts-dirs) # Helper targets for Installing DTBs into the boot directory -@@ -32,10 +33,13 @@ install-dir = $(patsubst $(dtbinst_root)%,$(INSTALL_DTBS_PATH)%,$(obj)) +@@ -33,10 +34,13 @@ install-dir = $(patsubst $(dtbinst_root)%,$(INSTALL_DTBS_PATH)%,$(obj)) $(dtbinst-files): %.dtb: $(obj)/%.dtb $(call cmd,dtb_install,$(install-dir)) @@ -95115,10 +95115,10 @@ index 993fb85982df2df2a7f8e20780d0cfbe3cb732e8..b44d8c993f1d347908b0a97525c8ff60 .PHONY: $(PHONY) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib -index 5e975fee0f5b44343807d2f4e92954cb521497dc..3cf3f3eef6abdac2695d321c3d1bbc94fbe6f2da 100644 +index 04b5633df1cfafa316f9086c4bf98a9ecf9d0939..d523d1e14220a369c4c766ca3a01208ec1abefda 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib -@@ -315,6 +315,17 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ +@@ -316,6 +316,17 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ $(obj)/%.dtb: $(src)/%.dts FORCE $(call if_changed_dep,dtc) @@ -95137,10 +95137,10 @@ index 5e975fee0f5b44343807d2f4e92954cb521497dc..3cf3f3eef6abdac2695d321c3d1bbc94 # Bzip2 -From 4c1f1460fbfdd4e4b1c28222ca4e1f283563f341 Mon Sep 17 00:00:00 2001 +From 937f9338f0658d44570bf2556cb4a8d7147b8529 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 055/137] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 055/139] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -95231,10 +95231,10 @@ index 3f9ddb9fafa77f1f1fe5535c5e947838761e4f35..c1b6c83f3b63f993452893f136c5da54 bool "LED Panic Trigger" depends on LEDS_TRIGGERS diff --git a/drivers/leds/trigger/Makefile b/drivers/leds/trigger/Makefile -index a72c43cffebf43bc7ebfd1eb1103b9ccff73d075..51b90c46890872fd1b148ec748edce0e0ce8fee1 100644 +index 9f2e868811e29d587cf82b25d42025990112d80f..48dbdc50d5796e348482d6bcb2cc1a891e271ac2 100644 --- a/drivers/leds/trigger/Makefile +++ b/drivers/leds/trigger/Makefile -@@ -9,4 +9,5 @@ obj-$(CONFIG_LEDS_TRIGGER_CPU) += ledtrig-cpu.o +@@ -10,4 +10,5 @@ obj-$(CONFIG_LEDS_TRIGGER_CPU) += ledtrig-cpu.o obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o obj-$(CONFIG_LEDS_TRIGGER_TRANSIENT) += ledtrig-transient.o obj-$(CONFIG_LEDS_TRIGGER_CAMERA) += ledtrig-camera.o @@ -95315,10 +95315,10 @@ index bf6db4fe895bcd67e04ee65e8f76ea104af6299f..8741dca6dba65e2d72fbdbc1702139c2 /* set_brightness_work / blink_timer flags, atomic, private. */ unsigned long work_flags; -From 8be53d56d3dd60d391c647a78eaab846b454f17c Mon Sep 17 00:00:00 2001 +From 20a723885881508dabb9bfc4f697a942879308b5 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 056/137] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 056/139] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -95556,10 +95556,10 @@ index f741ba8df01b8e28f4331f988d2b04219bb103b6..be8c43d62698a426504642a2b51ffd71 case FBIOBLANK: ret = do_fb_ioctl(info, cmd, arg); diff --git a/include/uapi/linux/fb.h b/include/uapi/linux/fb.h -index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582cd5d891f 100644 +index 6cd9b198b7c64eb94821f2e3f2c5201e6c6d25eb..f36c92c2da7487437c33f7a4e2c6e09e08601b76 100644 --- a/include/uapi/linux/fb.h +++ b/include/uapi/linux/fb.h -@@ -34,6 +34,12 @@ +@@ -35,6 +35,12 @@ #define FBIOPUT_MODEINFO 0x4617 #define FBIOGET_DISPINFO 0x4618 #define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32) @@ -95572,7 +95572,7 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -@@ -346,6 +352,12 @@ struct fb_copyarea { +@@ -347,6 +353,12 @@ struct fb_copyarea { __u32 sy; }; @@ -95586,10 +95586,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From 6f05840d650473eaa0b0f1c941be5de29476e521 Mon Sep 17 00:00:00 2001 +From 430ce9d9bf55bff1eea594ff17f48371ff1f768c Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 057/137] Speed up console framebuffer imageblit function +Subject: [PATCH 057/139] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing @@ -95798,10 +95798,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 1e183f70c3bbec9527dfe032203cfd7125471565 Mon Sep 17 00:00:00 2001 +From 6056a91062e3f395429c2810262ae9e3ef0b4e7d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 058/137] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 058/139] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -96051,10 +96051,10 @@ index 5b2972946dda5f9ad415f1eaeaab67743a5cc0f0..b3558b7c9efb2484b40e31312aee197b u8, w1_slave_found_callback); }; -From 1d51ad12a5eeb03428572bf3f7ef7c1ed7a378fa Mon Sep 17 00:00:00 2001 +From 745897b727dc098cec36a6a9adea4b622b62eeeb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 059/137] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 059/139] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -96086,10 +96086,10 @@ index 045b5da9b992873ce74f5d401de34855b93a6f8e..45abcbab4efe561a3829e9a6b6014abe break; case HID_GD_JOYSTICK: -From 92479b81b00fd47973a78c617b9a1946f05d9843 Mon Sep 17 00:00:00 2001 +From 7b5c47b3f5d616e3004ba33815fb230ab4a16622 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 060/137] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 060/139] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -96125,10 +96125,10 @@ index 64b30fe273fd7ba17312402c0efc9e81b77e94bb..c5237087c6024ba5520bf624251473c9 tristate "Renesas MIGO-R touchscreen" depends on (SH_MIGOR || COMPILE_TEST) && I2C diff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile -index 6badce87037b54bcea7c91f5ddbaebca4c93db58..9164b707800297555acce46fdd848ca9e4126526 100644 +index 850c1562555a966687f4c162eba0eb3d764c116a..cceb83c867a9da8d9885e8c5dc48831dc21f31c3 100644 --- a/drivers/input/touchscreen/Makefile +++ b/drivers/input/touchscreen/Makefile -@@ -29,6 +29,7 @@ obj-$(CONFIG_TOUCHSCREEN_DA9034) += da9034-ts.o +@@ -30,6 +30,7 @@ obj-$(CONFIG_TOUCHSCREEN_DA9034) += da9034-ts.o obj-$(CONFIG_TOUCHSCREEN_DA9052) += da9052_tsi.o obj-$(CONFIG_TOUCHSCREEN_DYNAPRO) += dynapro.o obj-$(CONFIG_TOUCHSCREEN_EDT_FT5X06) += edt-ft5x06.o @@ -96447,10 +96447,10 @@ index 30fb37fe175df604a738258a2a632bca3bfff33f..4a3d79d3b48eb483a4e4bf498f617515 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 61255475644483c5d6d6b2ee875d52afb05fc91c Mon Sep 17 00:00:00 2001 +From 0abf24b069d4a1c18f44dfa16633c4c7b8472dca Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 061/137] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 061/139] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -96492,10 +96492,10 @@ Signed-off-by: Phil Elwell create mode 100644 arch/arm/lib/memset_rpi.S diff --git a/arch/arm/include/asm/string.h b/arch/arm/include/asm/string.h -index fe1c6af3a1b1a4cab35c6d125b43262d3d21fd85..54b40c9cc5f091a7aa77515321782bb2adedbc57 100644 +index f54a3136aac6e36efbc3a809c1937fa401b39a8f..a6c0004c4dcd78f9c4e8c3da927ba2047d48d562 100644 --- a/arch/arm/include/asm/string.h +++ b/arch/arm/include/asm/string.h -@@ -38,6 +38,11 @@ static inline void *memset64(uint64_t *p, uint64_t v, __kernel_size_t n) +@@ -39,6 +39,11 @@ static inline void *memset64(uint64_t *p, uint64_t v, __kernel_size_t n) return __memset64(p, v, n * 8, v >> 32); } @@ -96522,10 +96522,10 @@ index 0bf2347495f13e4db7fdc1c560b0976ec1fbd619..6c7927ab1a47a0bd24241772ed1dcb3e raw_copy_from_user(void *to, const void __user *from, unsigned long n) { diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile -index 27f4d96258a2e66193d6a3701bb4cf9a44399aad..96b390c9301f816d5c83c6ddb76ac74ba7a3b99d 100644 +index 4cb0b9624d8ff6bd017a25c28475e33c94cd7231..6759bed3275655b57db35a1d9f3c1e2f7d9cc553 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile -@@ -6,9 +6,8 @@ +@@ -7,9 +7,8 @@ lib-y := backtrace.o changebit.o csumipv6.o csumpartial.o \ csumpartialcopy.o csumpartialcopyuser.o clearbit.o \ @@ -96537,7 +96537,7 @@ index 27f4d96258a2e66193d6a3701bb4cf9a44399aad..96b390c9301f816d5c83c6ddb76ac74b testchangebit.o testclearbit.o testsetbit.o \ ashldi3.o ashrdi3.o lshrdi3.o muldi3.o \ ucmpdi2.o lib1funcs.o div64.o \ -@@ -18,6 +17,16 @@ lib-y := backtrace.o changebit.o csumipv6.o csumpartial.o \ +@@ -19,6 +18,16 @@ lib-y := backtrace.o changebit.o csumipv6.o csumpartial.o \ mmu-y := clear_user.o copy_page.o getuser.o putuser.o \ copy_from_user.o copy_to_user.o @@ -98012,10 +98012,10 @@ index 9b4ed172861615fa94f628fb3eea067176ef3bae..9dc1b8517dff3e6b8e5aa090ad957fd3 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig -index 17ec37811c32f09126ed42753037e055c5cec115..c08f81812d0d56a0d90c1eb6777d0622dadbb827 100644 +index 971bc298f63eeeed418131b7b7200ac91b0d73f1..78e9f6e8c6fdebdb754cb703095d1726ed4226e8 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig -@@ -176,6 +176,13 @@ config ARCH_BCM_53573 +@@ -177,6 +177,13 @@ config ARCH_BCM_53573 The base chip is BCM53573 and there are some packaging modifications like BCM47189 and BCM47452. @@ -98030,10 +98030,10 @@ index 17ec37811c32f09126ed42753037e055c5cec115..c08f81812d0d56a0d90c1eb6777d0622 bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 57b39e5ec8c6a599cb3f6103864c3da0d1ecc5ab Mon Sep 17 00:00:00 2001 +From ea86db1b034576112b1692dba9fe0281a7fa1e7c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 062/137] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 062/139] gpio-poweroff: Allow it to work on Raspberry Pi The Raspberry Pi firmware manages the power-down and reboot process. To do this it installs a pm_power_off handler, causing @@ -98068,10 +98068,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From dbf5434de17791431868228ff4f4d107482b30e2 Mon Sep 17 00:00:00 2001 +From 610bc6f6ade8c43999f664875ba293b7a56dc760 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 063/137] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 063/139] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -98112,10 +98112,10 @@ index f3c2f6ea8b447395fd4fc241735a0b4d8f4a6bd1..c6a85b012bd87a8c28d888838babc58c + endif diff --git a/drivers/input/joystick/Makefile b/drivers/input/joystick/Makefile -index 496fd56b3f1bccee496b363fd214c5451a594ced..47ee4495a7df5a32b340ce9861cfb94679f9ef2d 100644 +index 67651efda2e1ab734b6d471af8552b2c3bc3fe74..600fbe2fa7d16e818984f400c438a36ee2375f60 100644 --- a/drivers/input/joystick/Makefile +++ b/drivers/input/joystick/Makefile -@@ -33,4 +33,5 @@ obj-$(CONFIG_JOYSTICK_WARRIOR) += warrior.o +@@ -34,4 +34,5 @@ obj-$(CONFIG_JOYSTICK_WARRIOR) += warrior.o obj-$(CONFIG_JOYSTICK_XPAD) += xpad.o obj-$(CONFIG_JOYSTICK_ZHENHUA) += zhenhua.o obj-$(CONFIG_JOYSTICK_WALKERA0701) += walkera0701.o @@ -98300,10 +98300,10 @@ index fc5e4fef89d222aa587473634bf056d9dee39578..ec1c7585650756c431538b78be7b6643 tristate "AMD CS5535 and CS5536 southbridge core functions" select MFD_CORE diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile -index c3d0a1b39bb6512505814882c4fedbd04687e057..3c5c15accadefac5c1a799be01d95ba079627752 100644 +index 8703ff17998e9119d006978dd5ee8c1aeebf5541..b0a1f0049843f7eb2dc0708e83c0bea1a807ee04 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile -@@ -226,3 +226,4 @@ obj-$(CONFIG_MFD_SUN4I_GPADC) += sun4i-gpadc.o +@@ -227,3 +227,4 @@ obj-$(CONFIG_MFD_SUN4I_GPADC) += sun4i-gpadc.o obj-$(CONFIG_MFD_STM32_LPTIMER) += stm32-lptimer.o obj-$(CONFIG_MFD_STM32_TIMERS) += stm32-timers.o obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o @@ -98493,10 +98493,10 @@ index 127978982287bf04b6ea215433bd905ed432aa2f..c20eade6598ba421633fabf03090691d + help + This is the framebuffer driver for the Raspberry Pi Sense HAT diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile -index 8cd1193b98690b9c4f49098ab14389504d65af3a..c9f1754bf2a6796bf5555fabb9e80f8991cb83bc 100644 +index 52c5ebb6680fcebb86b6e4f5e0254491d1cef33d..0367887317a791a539c2038201c2e3e60c9c4810 100644 --- a/drivers/video/fbdev/Makefile +++ b/drivers/video/fbdev/Makefile -@@ -147,6 +147,7 @@ obj-$(CONFIG_FB_DA8XX) += da8xx-fb.o +@@ -148,6 +148,7 @@ obj-$(CONFIG_FB_DA8XX) += da8xx-fb.o obj-$(CONFIG_FB_MXS) += mxsfb.o obj-$(CONFIG_FB_SSD1307) += ssd1307fb.o obj-$(CONFIG_FB_SIMPLE) += simplefb.o @@ -98936,10 +98936,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 090e79aec59dec5f9e7c7c9742c7a8d527e405e7 Mon Sep 17 00:00:00 2001 +From 3d792b353345d377b58a91736a1da45726d3791a Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 064/137] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 064/139] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -99114,10 +99114,10 @@ index 0000000000000000000000000000000000000000..ee9f133953544629282631e5ef3f73fe +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From fb836b19db3e08b9b638208944df38d09d5478f0 Mon Sep 17 00:00:00 2001 +From 4171c46f10400ded5b13e2e64ae67c6e9df66a15 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 065/137] ASoC: Add support for Rpi-DAC +Subject: [PATCH 065/139] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -99306,10 +99306,10 @@ index 91d5b531b69b49db97f7febbc60d33a20991cb0f..f81a4ee69d1c97d8ff8d04db567c0578 tristate "Realtek ALC5631/RT5631 CODEC" depends on I2C diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile -index 77c18189c9adb72244b91a5e657fb0393afc9117..b372c0ce9c77cf64eaa3e3878398bec565e3028f 100644 +index 05018b7ca72bdd7219cd64ba91525df7fc1c6e2f..e03ba08dd0c6cbc2b2418ed57d002024e37492be 100644 --- a/sound/soc/codecs/Makefile +++ b/sound/soc/codecs/Makefile -@@ -104,6 +104,7 @@ snd-soc-pcm1681-objs := pcm1681.o +@@ -105,6 +105,7 @@ snd-soc-pcm1681-objs := pcm1681.o snd-soc-pcm179x-codec-objs := pcm179x.o snd-soc-pcm179x-i2c-objs := pcm179x-i2c.o snd-soc-pcm179x-spi-objs := pcm179x-spi.o @@ -99317,7 +99317,7 @@ index 77c18189c9adb72244b91a5e657fb0393afc9117..b372c0ce9c77cf64eaa3e3878398bec5 snd-soc-pcm3008-objs := pcm3008.o snd-soc-pcm3168a-objs := pcm3168a.o snd-soc-pcm3168a-i2c-objs := pcm3168a-i2c.o -@@ -352,6 +353,7 @@ obj-$(CONFIG_SND_SOC_PCM5102A) += snd-soc-pcm5102a.o +@@ -353,6 +354,7 @@ obj-$(CONFIG_SND_SOC_PCM5102A) += snd-soc-pcm5102a.o obj-$(CONFIG_SND_SOC_PCM512x) += snd-soc-pcm512x.o obj-$(CONFIG_SND_SOC_PCM512x_I2C) += snd-soc-pcm512x-i2c.o obj-$(CONFIG_SND_SOC_PCM512x_SPI) += snd-soc-pcm512x-spi.o @@ -99401,10 +99401,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 2f3b760b503d58144e15423ec7bb44fadbd68aaf Mon Sep 17 00:00:00 2001 +From d7442719fe4b8ea3f32ba438bc3155caeb5d51fb Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 066/137] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 066/139] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -99453,10 +99453,10 @@ index fc69b87443d80489382b97332de6d5ad12a58ec8..d8fdce81b297dcf02e144bdead0c6193 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From 3a6855778905240402f24e086aa2340f96493cab Mon Sep 17 00:00:00 2001 +From 0b1bdb529b09de711a567760f1e7e819aeac24d3 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 067/137] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 067/139] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -99800,10 +99800,10 @@ index 0000000000000000000000000000000000000000..7620dd02de40b6d644ff038b445d375d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 27015e068fd4050a9a4715152bd1566d5c3986d6 Mon Sep 17 00:00:00 2001 +From cdb348ea1c9fff0460c63ed10e175f54071090cc Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 068/137] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 068/139] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -100138,10 +100138,10 @@ index 0000000000000000000000000000000000000000..1ee4097c846376666775272ed692ca33 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 8158784439e550ff9615a6cbe5affa97137e3bf8 Mon Sep 17 00:00:00 2001 +From 344aa7cdafafd493aba4421605a129c4a9d21499 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 069/137] Added support for HiFiBerry DAC+ +Subject: [PATCH 069/139] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -100178,10 +100178,10 @@ Signed-off-by: DigitalDreamtime create mode 100644 sound/soc/bcm/hifiberry_dacplus.c diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile -index c99f363826f02f683c6018ddf02a0d4d3a58033f..4a6afc6403f737a977c6aab1647adf6a8fe69d4e 100644 +index f7f761b02bedaed4cd54a2e6613fef90ba43aa5e..c4b99e1a6b8010587f25c7f2d50b1991d16bf0f9 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile -@@ -28,6 +28,7 @@ obj-$(CONFIG_ARCH_EFM32) += clk-efm32gg.o +@@ -29,6 +29,7 @@ obj-$(CONFIG_ARCH_EFM32) += clk-efm32gg.o obj-$(CONFIG_COMMON_CLK_GEMINI) += clk-gemini.o obj-$(CONFIG_ARCH_HIGHBANK) += clk-highbank.o obj-$(CONFIG_CLK_HSDK) += clk-hsdk-pll.o @@ -100771,10 +100771,10 @@ index 68feae262476492ae3a0b30855dbb09e96fa187e..f7b0977017ed5a6c02eafa0147d49d66 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 294b67c64482fa8895a144c7e8606616054e3803 Mon Sep 17 00:00:00 2001 +From 6c13bd3ddc582e354735b0e68599c9ce6aa19c30 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 070/137] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 070/139] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -100996,10 +100996,10 @@ index f81a4ee69d1c97d8ff8d04db567c057865a8805b..b3c63d86e5ef67c9f98031fcbf423ca1 tristate diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile -index b372c0ce9c77cf64eaa3e3878398bec565e3028f..ce80fc03dc1429c6b2c06bbb0db7bdc81a930d7c 100644 +index e03ba08dd0c6cbc2b2418ed57d002024e37492be..f910415bdd31e75d67fb4cc70afa508e515e3c91 100644 --- a/sound/soc/codecs/Makefile +++ b/sound/soc/codecs/Makefile -@@ -157,6 +157,7 @@ snd-soc-tas5086-objs := tas5086.o +@@ -158,6 +158,7 @@ snd-soc-tas5086-objs := tas5086.o snd-soc-tas571x-objs := tas571x.o snd-soc-tas5720-objs := tas5720.o snd-soc-tfa9879-objs := tfa9879.o @@ -101007,7 +101007,7 @@ index b372c0ce9c77cf64eaa3e3878398bec565e3028f..ce80fc03dc1429c6b2c06bbb0db7bdc8 snd-soc-tlv320aic23-objs := tlv320aic23.o snd-soc-tlv320aic23-i2c-objs := tlv320aic23-i2c.o snd-soc-tlv320aic23-spi-objs := tlv320aic23-spi.o -@@ -396,6 +397,7 @@ obj-$(CONFIG_SND_SOC_TAS5086) += snd-soc-tas5086.o +@@ -397,6 +398,7 @@ obj-$(CONFIG_SND_SOC_TAS5086) += snd-soc-tas5086.o obj-$(CONFIG_SND_SOC_TAS571X) += snd-soc-tas571x.o obj-$(CONFIG_SND_SOC_TAS5720) += snd-soc-tas5720.o obj-$(CONFIG_SND_SOC_TFA9879) += snd-soc-tfa9879.o @@ -101609,10 +101609,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 5e31ef7ce32788c603acb67a6fed874ad6618e29 Mon Sep 17 00:00:00 2001 +From 1a372e36b6ba1caf67ae2fbf3e8a31919a64c2f4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 071/137] Add driver for rpi-proto +Subject: [PATCH 071/139] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -101827,10 +101827,10 @@ index 0000000000000000000000000000000000000000..fadbfade100228aaafabb0d3bdf35c01 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 1cfd844efe2a6a5bf64eacb50bcf6034c75898ab Mon Sep 17 00:00:00 2001 +From e4982fb300ce1a9c86820401f6dd794e12d43989 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 072/137] RaspiDAC3 support +Subject: [PATCH 072/139] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -102073,10 +102073,10 @@ index 0000000000000000000000000000000000000000..ad2b5b89bc8213dc2e277306ef50d6e3 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From a0bb617fd818c9c6de339a1a53691ce3194f4dbc Mon Sep 17 00:00:00 2001 +From e3d173cd3662f378acab63a5385dcb2fc09de31f Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 073/137] Add Support for JustBoom Audio boards +Subject: [PATCH 073/139] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -102532,10 +102532,10 @@ index 0000000000000000000000000000000000000000..909cf8928f2f4313982316f9c5b8a709 +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 00948d6dbbe0fdcd4aefdcf151ad683cd1954cb1 Mon Sep 17 00:00:00 2001 +From 16c42024696da71f7817ee4e4cbc77b3eea09ff7 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 074/137] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 074/139] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -102717,10 +102717,10 @@ index 0000000000000000000000000000000000000000..f3d7e5db7bb912e1d7ca6f8e8d42df5f +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From fdecfc4ee7612c47bf899be9a525d3f9208dfd45 Mon Sep 17 00:00:00 2001 +From 8a939ca015526a4d8ef4e0170e09d86c10f30209 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 075/137] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 075/139] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. @@ -102971,10 +102971,10 @@ index 0000000000000000000000000000000000000000..491906bbf446826e55dd843f28e4860f +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From faedc6ecdd54d39432507f6cb174944896b80f15 Mon Sep 17 00:00:00 2001 +From b75a9b881c70f4e23f0ff2eea05b7f61269f665b Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 076/137] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 076/139] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -103274,10 +103274,10 @@ index 0000000000000000000000000000000000000000..33aa2be8a43a12a12cfb5d844dd9732c +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From d9cb00168595ed570aae147cd845d10ec5696065 Mon Sep 17 00:00:00 2001 +From ded8df1831194700a29dee156c2da12bbce91696 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 077/137] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 077/139] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -103750,10 +103750,10 @@ index 0000000000000000000000000000000000000000..f200688bb4ae32b90a0ced555aed94b0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 643d50b589ca3aa39da783f41371bec32de70f2a Mon Sep 17 00:00:00 2001 +From 487712bac125e8a202c31fcff1a3c6e29e2ab51b Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 078/137] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 078/139] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -103926,10 +103926,10 @@ index 0000000000000000000000000000000000000000..65e03741d349a2dc5bd91f69855ea952 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 7aa33180453a676376b24ac85fb6f94fe96a7f2e Mon Sep 17 00:00:00 2001 +From 202b78e83941d734d7bed8952487e2661a7b0366 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 079/137] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 079/139] Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645) Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, @@ -104136,10 +104136,10 @@ index 0000000000000000000000000000000000000000..eaf50fb6dbca1970ae1c6f8662088b0f +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From bf9c45f629702e80cc7978ec62ed92663d4c30b6 Mon Sep 17 00:00:00 2001 +From f27e55760fb6a21c9059905a51c07a29a82c7c3f Mon Sep 17 00:00:00 2001 From: Raashid Muhammed Date: Mon, 27 Mar 2017 12:35:00 +0530 -Subject: [PATCH 080/137] Add support for Allo Piano DAC 2.1 plus add-on board +Subject: [PATCH 080/139] Add support for Allo Piano DAC 2.1 plus add-on board for Raspberry Pi. The Piano DAC 2.1 has support for 4 channels with subwoofer. @@ -105008,10 +105008,10 @@ index 0000000000000000000000000000000000000000..d4e99e3c6a383d92fb0cf9e8c1cd1e76 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC Plus"); +MODULE_LICENSE("GPL v2"); -From 0c0e907138881a1bb2816d23cc96ef45cfa34b76 Mon Sep 17 00:00:00 2001 +From 9e11a1913ca9d1ecb447c5cff7c6414522849b20 Mon Sep 17 00:00:00 2001 From: BabuSubashChandar Date: Tue, 28 Mar 2017 20:04:42 +0530 -Subject: [PATCH 081/137] Add support for Allo Boss DAC add-on board for +Subject: [PATCH 081/139] Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924) Signed-off-by: Baswaraj K @@ -105034,10 +105034,10 @@ Reviewed-by: BabuSubashChandar create mode 100644 sound/soc/bcm/allo-boss-dac.c diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile -index 4a6afc6403f737a977c6aab1647adf6a8fe69d4e..f2967f0a357bf6c1843885eff5fc2efacbb3426c 100644 +index c4b99e1a6b8010587f25c7f2d50b1991d16bf0f9..3bb3ad099a0209efd8d257442788b2d5e2b95cf8 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile -@@ -17,6 +17,7 @@ endif +@@ -18,6 +18,7 @@ endif # hardware specific clock types # please keep this section sorted lexicographically by file path name @@ -105714,10 +105714,10 @@ index 0000000000000000000000000000000000000000..203ab76c7045b081578e23bda1099dd1 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Boss DAC"); +MODULE_LICENSE("GPL v2"); -From 20570009b7d1e6f68dfca4f1ac4d34f71f72a3eb Mon Sep 17 00:00:00 2001 +From 0e044b2851f6db18b04693cb10bf6ee078daff46 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 082/137] Support for Blokas Labs pisound board +Subject: [PATCH 082/139] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -106916,10 +106916,10 @@ index 0000000000000000000000000000000000000000..06ff1e53dc9d860946965b6303577762 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 9f97fdca25d6dd7ccfa54c3a882833c75e0fd874 Mon Sep 17 00:00:00 2001 +From 0d9f6ecba431dd7091d672af6e627d8d30c0017d Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 22 Jan 2017 12:49:37 +0100 -Subject: [PATCH 083/137] ASoC: Add driver for Cirrus Logic Audio Card +Subject: [PATCH 083/139] ASoC: Add driver for Cirrus Logic Audio Card Note: due to problems with deferred probing of regulators the following softdep should be added to a modprobe.d file @@ -107984,10 +107984,10 @@ index 0000000000000000000000000000000000000000..ac8651ddff7bd3701dffe22c7fb88352 +MODULE_DESCRIPTION("ASoC driver for Cirrus Logic Audio Card"); +MODULE_LICENSE("GPL"); -From e9c86e55a995cf3c3a6bf291509a35c372b47564 Mon Sep 17 00:00:00 2001 +From d6f2d971dad96dbaeb4f54b1f698a8424f9e6bb8 Mon Sep 17 00:00:00 2001 From: Miquel Date: Fri, 24 Feb 2017 20:51:06 +0100 -Subject: [PATCH 084/137] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT +Subject: [PATCH 084/139] sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT Signed-off-by: Miquel Blauw --- @@ -108182,10 +108182,10 @@ index 0000000000000000000000000000000000000000..a009c49477972a9832175d86f201b035 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO-V2"); +MODULE_LICENSE("GPL v2"); -From fb23485313183b64e94777ce0cac7b522c2240ed Mon Sep 17 00:00:00 2001 +From 15359e1e0687b385e6ef1f22517ac5285ae2e4bf Mon Sep 17 00:00:00 2001 From: Fe-Pi Date: Wed, 1 Mar 2017 04:42:43 -0700 -Subject: [PATCH 085/137] Add support for Fe-Pi audio sound card. (#1867) +Subject: [PATCH 085/139] Add support for Fe-Pi audio sound card. (#1867) Fe-Pi Audio Sound Card is based on NXP SGTL5000 codec. Mechanical specification of the board is the same the Raspberry Pi Zero. @@ -108399,10 +108399,10 @@ index 0000000000000000000000000000000000000000..015b56fd73cc36be5b5eecd17548fd03 +MODULE_DESCRIPTION("ASoC Driver for Fe-Pi Audio"); +MODULE_LICENSE("GPL v2"); -From 5ee536a93e4f04ab2f67fc7791d257b3eaccd6ff Mon Sep 17 00:00:00 2001 +From 9d20fa20f974b9d7ea34856e3401379b05977dff Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Wed, 8 Mar 2017 20:04:13 +1100 -Subject: [PATCH 086/137] Add support for the AudioInjector.net Octo sound card +Subject: [PATCH 086/139] Add support for the AudioInjector.net Octo sound card AudioInjector Octo: sample rates, regulators, reset @@ -108811,10 +108811,10 @@ index 0000000000000000000000000000000000000000..5e79f4eff93a21ed3495c77a90f73525 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:audioinjector-octo-soundcard"); -From 5efae7327cb4f8911de46df450f59c80ec132fe2 Mon Sep 17 00:00:00 2001 +From ba54946f3342ceab04e711c614eab51a48c4e1fc Mon Sep 17 00:00:00 2001 From: Peter Malkin Date: Mon, 27 Mar 2017 16:38:21 -0700 -Subject: [PATCH 087/137] Driver support for Google voiceHAT soundcard. +Subject: [PATCH 087/139] Driver support for Google voiceHAT soundcard. --- sound/soc/bcm/Kconfig | 7 ++ @@ -109205,10 +109205,10 @@ index 0000000000000000000000000000000000000000..225854b8e5298b3c3018f59a49404354 +MODULE_DESCRIPTION("ASoC Driver for Google voiceHAT SoundCard"); +MODULE_LICENSE("GPL v2"); -From 0ec6fc5d7a21ea07a0a8a64f800455d59a355c5b Mon Sep 17 00:00:00 2001 +From f2e19d86907e917a1c622d6aa8419addeca9fc51 Mon Sep 17 00:00:00 2001 From: sandeepal Date: Fri, 2 Jun 2017 18:59:46 +0530 -Subject: [PATCH 088/137] Allo Digione Driver (#2048) +Subject: [PATCH 088/139] Allo Digione Driver (#2048) Driver for the Allo Digione soundcard --- @@ -109530,10 +109530,10 @@ index 0000000000000000000000000000000000000000..e3664e44c699d0102120ecf99e8b780a +MODULE_DESCRIPTION("ASoC Driver for Allo DigiOne"); +MODULE_LICENSE("GPL v2"); -From dfb0c13cc577f6af0b42ee4f426b376cc9d0fad6 Mon Sep 17 00:00:00 2001 +From 646f0408217c51e11d6b535b91b963ab96275b7c Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 089/137] rpi_display: add backlight driver and overlay +Subject: [PATCH 089/139] rpi_display: add backlight driver and overlay Add a mailbox-driven backlight controller for the Raspberry Pi DSI touchscreen display. Requires updated GPU firmware to recognise the @@ -109565,10 +109565,10 @@ index 4e1d2ad50ba142950e0048d986ab7e0df2eafece..e345a32945b7ec0712cebd0ac8e62c9e tristate "Backlight Driver for DA9030/DA9034 using WLED" depends on PMIC_DA903X diff --git a/drivers/video/backlight/Makefile b/drivers/video/backlight/Makefile -index 8905129691e84a2fe42acd625f32b0a01772097c..6d6b2f132a61663bb26f99dd72ef8df014bf99a4 100644 +index 5e28f01c839107ef8e9cca3225181f46b953545e..2a4d0ed47377721545263b7406f2f4d874cca794 100644 --- a/drivers/video/backlight/Makefile +++ b/drivers/video/backlight/Makefile -@@ -50,6 +50,7 @@ obj-$(CONFIG_BACKLIGHT_PANDORA) += pandora_bl.o +@@ -51,6 +51,7 @@ obj-$(CONFIG_BACKLIGHT_PANDORA) += pandora_bl.o obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o obj-$(CONFIG_BACKLIGHT_PM8941_WLED) += pm8941-wled.o obj-$(CONFIG_BACKLIGHT_PWM) += pwm_bl.o @@ -109702,10 +109702,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 028ecccd9f10b6ba0285b6d544fdd43c7cf49d2d Mon Sep 17 00:00:00 2001 +From 6a020e52c956ed315d8a0826e9f9afa670a729b8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 090/137] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 090/139] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -109735,10 +109735,10 @@ index 3f80f167ed56d917405aaad1dd5e09598c7fc9e6..19881f46b3bb0d0668ca8e786ebea21e tristate "BRCMSTB GPIO support" default y if (ARCH_BRCMSTB || BMIPS_GENERIC) diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile -index aeb70e9de6f2192fc678a279b59483bd9aa0eb17..74b4acc997153499e5bdf975815a5cfc8a93023f 100644 +index 8a2dfba3b2310ef2e25c0a1086a12c60a53ecda2..92974996efe35e60bcf54346d54b25ea1fcbccfa 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile -@@ -34,6 +34,7 @@ obj-$(CONFIG_GPIO_ASPEED) += gpio-aspeed.o +@@ -35,6 +35,7 @@ obj-$(CONFIG_GPIO_ASPEED) += gpio-aspeed.o obj-$(CONFIG_GPIO_AXP209) += gpio-axp209.o obj-$(CONFIG_GPIO_BCM_KONA) += gpio-bcm-kona.o obj-$(CONFIG_GPIO_BD9571MWV) += gpio-bd9571mwv.o @@ -109979,10 +109979,10 @@ index 4a3d79d3b48eb483a4e4bf498f617515e3ad158f..5f34e1257117fb48013c9926a8a223d6 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From b492190462d2d60829915ff93f50c5c179b28de3 Mon Sep 17 00:00:00 2001 +From b685c0d5af5a72fe158b4037b1d509d74a388328 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Feb 2017 17:01:21 +0000 -Subject: [PATCH 091/137] bcm2835-gpio-exp: Driver for GPIO expander via +Subject: [PATCH 091/139] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service Pi3 and Compute Module 3 have a GPIO expander that the @@ -110020,10 +110020,10 @@ index 19881f46b3bb0d0668ca8e786ebea21ea8127b84..5f53e1f4e8e2ef2e0e97318cebf80f44 bool "Broadcom Kona GPIO" depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST) diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile -index 74b4acc997153499e5bdf975815a5cfc8a93023f..83935169e32aa3ec2da2d2819abb9f6a9cfb234e 100644 +index 92974996efe35e60bcf54346d54b25ea1fcbccfa..726a1550f445e1af456c6f71f8399328b7c021df 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile -@@ -32,6 +32,7 @@ obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o +@@ -33,6 +33,7 @@ obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o obj-$(CONFIG_GPIO_ATH79) += gpio-ath79.o obj-$(CONFIG_GPIO_ASPEED) += gpio-aspeed.o obj-$(CONFIG_GPIO_AXP209) += gpio-axp209.o @@ -110308,10 +110308,10 @@ index 5f34e1257117fb48013c9926a8a223d64a598ab7..c819c21b0158a59c1308882e5a40e3f3 /* Dispmanx TAGS */ RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001, -From 6a6c38e8eaa49a5e27811ecab8264a02fb54f5e0 Mon Sep 17 00:00:00 2001 +From 72e4083b753310fa2b37e1642b44d2a0df1fc4fe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 092/137] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 092/139] amba_pl011: Don't use DT aliases for numbering The pl011 driver looks for DT aliases of the form "serial", and if found uses as the device ID. This can cause @@ -110340,10 +110340,10 @@ index 111e6a95077978c2c30bfe2a2de4a0d095e8d76e..584471add0962c0e26eb814fc0ef43ee uap->old_cr = 0; uap->port.dev = dev; -From 24679ee1206a17fe3ad55e54d808330907e9dc4a Mon Sep 17 00:00:00 2001 +From cf32ea43dba6b60f922e25e94f144565c4eb5c6f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 093/137] amba_pl011: Round input clock up +Subject: [PATCH 093/139] amba_pl011: Round input clock up The UART clock is initialised to be as close to the requested frequency as possible without exceeding it. Now that there is a @@ -110429,10 +110429,10 @@ index 584471add0962c0e26eb814fc0ef43eea99b2d29..bfbc845d7be9ef804468d0a82da18d9b /* unregisters the driver also if no more ports are left */ static void pl011_unregister_port(struct uart_amba_port *uap) -From c3797780face86af66d24924ee00d7d0cf3ec5e1 Mon Sep 17 00:00:00 2001 +From 7e62978515f0172a444ad9ea576189a431d10cf0 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 094/137] OF: DT-Overlay configfs interface +Subject: [PATCH 094/139] OF: DT-Overlay configfs interface This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes. @@ -110537,10 +110537,11 @@ index ba7b034b2b91c94afb1b7135cdee7fc3d6955828..de0da10d66e6cdc6eedc4d36cf247370 + endif # OF diff --git a/drivers/of/Makefile b/drivers/of/Makefile -index 97dc01c814383d632766d49594391c0b1200b61c..112e7ab3cae2f3bddf485b0d9b7cd5a7e26d0e39 100644 +index 8f19d342eed8e0646d0019f872eb3d24d066d08c..7afce596322d2e8f4c609d370854d62eb5b5f4e1 100644 --- a/drivers/of/Makefile +++ b/drivers/of/Makefile -@@ -1,4 +1,5 @@ +@@ -1,5 +1,6 @@ + # SPDX-License-Identifier: GPL-2.0 obj-y = base.o device.o platform.o property.o +obj-$(CONFIG_OF_CONFIGFS) += configfs.o obj-$(CONFIG_OF_DYNAMIC) += dynamic.o @@ -110864,10 +110865,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 9599fda270ef1c26eb9f82a68ef868272dd6f992 Mon Sep 17 00:00:00 2001 +From 5e666b8360a5efb85476226e0828501f314136a5 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 095/137] brcm: adds support for BCM43341 wifi +Subject: [PATCH 095/139] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -110999,10 +111000,10 @@ index 613caca7dc020a78985b22521422700022c37473..971c68a261f2d041806655dd66636aee BRCMF_FW_NVRAM_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_NVRAM_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), -From 8da6e9e24bc354729b66e1e2ba75d076010b194d Mon Sep 17 00:00:00 2001 +From 1b6619253e5de9f21bdfd89f23cc7e764bf9ee38 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Feb 2017 15:26:13 +0000 -Subject: [PATCH 096/137] brcmfmac: Mute expected startup 'errors' +Subject: [PATCH 096/139] brcmfmac: Mute expected startup 'errors' The brcmfmac WiFi driver always complains about the '00' country code. Modify the driver to ignore '00' silently. @@ -111026,10 +111027,10 @@ index 2d3b5e2a3ef7cd6186487b48665b401249380d18..e417454f5d6ec136cda29e65af5449f2 req->alpha2[0], req->alpha2[1]); return; -From 56a1a3360a403a7d3f9c6c0a450621a0a21ecab5 Mon Sep 17 00:00:00 2001 +From 8f4820c9dea239f3e7b1282508d7483c6b06a9d9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 097/137] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 097/139] hci_h5: Don't send conf_req when ACTIVE Without this patch, a modem and kernel can continuously bombard each other with conf_req and conf_rsp messages, in a demented game of tag. @@ -111052,10 +111053,10 @@ index c0e4e26dc30d7c3c6a771b7b86df88c8cf763646..7308287259eedcaf229f8a496a0e3826 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From cfd86f88b88dafd8c7d95f4ce42076e1f9c9887b Mon Sep 17 00:00:00 2001 +From 6aaa18d3fe54a177d13196307281d883aec56959 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 098/137] config: Add default configs +Subject: [PATCH 098/139] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1326 +++++++++++++++++++++++++++++++++++ @@ -113734,10 +113735,10 @@ index 0000000000000000000000000000000000000000..e0dd8723047ff488e81a03ef42fdbc68 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 1225bfe99d6e851f1b75284c5c12d1fd0a8d5379 Mon Sep 17 00:00:00 2001 +From 5f1fea1eea493540a5ff973398a28afd66f010a9 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 099/137] Add arm64 configuration and device tree differences. +Subject: [PATCH 099/139] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -113791,10 +113792,11 @@ index 6b54ee8c1262dd1587b9081ef8894166b0c14211..e262127db967d63c751acb3bd09f1631 bool "Actions Semi Platforms" select OWL_TIMER diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile -index 3eaef3895d663b150fcbe4b2974c8548620cbf12..306221c738c3854946ecc40a4842219734b86235 100644 +index 3df2db7f88786eda0740067dbfe2aa5b22823b6d..d54218055506965a558ecc55916917391385bee1 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile -@@ -1,4 +1,5 @@ +@@ -1,5 +1,6 @@ + # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_BCM2835) += bcm2837-rpi-3-b.dtb +dtb-$(CONFIG_ARCH_BCM2709) += bcm2710-rpi-3-b.dtb @@ -115150,10 +115152,10 @@ index 0000000000000000000000000000000000000000..e6b09fafa27eed2b762e3d53b55041f7 +CONFIG_LIBCRC32C=y +CONFIG_BCM2835_VCHIQ=n -From d6fad684639195c99db796440fc4de187851cf5f Mon Sep 17 00:00:00 2001 +From 7750875534ee334ac198879390f426e0cf6fcd4c Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 100/137] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 100/139] ARM64: Make it work again on 4.9 (#1790) * Invoke the dtc compiler with the same options used in arm mode. * ARM64 now uses the bcm2835 platform just like ARM32. @@ -115207,10 +115209,11 @@ index e262127db967d63c751acb3bd09f1631963a1a6f..e57169584af075eca0e0a2c1900fd64f bool "Allwinner sunxi 64-bit SoC Family" select ARCH_HAS_RESET_CONTROLLER diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile -index 306221c738c3854946ecc40a4842219734b86235..f39cc2acf78ff2a10242ad89a2fc17acacc33e03 100644 +index d54218055506965a558ecc55916917391385bee1..3adfeab86f3f3b19f4ad7c5a65e1ccb4be149200 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile -@@ -1,7 +1,15 @@ +@@ -1,8 +1,16 @@ + # SPDX-License-Identifier: GPL-2.0 +# Enable fixups to support overlays on BCM2835 platforms + +ifeq ($(CONFIG_ARCH_BCM2835),y) @@ -115563,10 +115566,10 @@ index e6b09fafa27eed2b762e3d53b55041f793683d27..c7e891d72969a388d9b135a36dbfc9c9 CONFIG_LIBCRC32C=y -CONFIG_BCM2835_VCHIQ=n -From 1e8ecf4b93b026536db87684d258938494ca0266 Mon Sep 17 00:00:00 2001 +From ad54dec00b6aa7042f066e54639090268bbd9b5d Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:10:07 -0800 -Subject: [PATCH 101/137] ARM64: Enable HDMI audio and vc04_services in +Subject: [PATCH 101/139] ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig Signed-off-by: Michael Zoran @@ -115595,10 +115598,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..4b90f9b64abe9f089ba56b13d5a00de3 CONFIG_BCM2835_MBOX=y # CONFIG_IOMMU_SUPPORT is not set -From 17dab5831f12e2bdc3eb053f7a3ef390db9ca685 Mon Sep 17 00:00:00 2001 +From fad92bae50ef40c3d2908e9131c676bed8e47245 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Thu, 12 Jan 2017 19:14:03 -0800 -Subject: [PATCH 102/137] ARM64: Run bcmrpi3_defconfig through savedefconfig. +Subject: [PATCH 102/139] ARM64: Run bcmrpi3_defconfig through savedefconfig. Signed-off-by: Michael Zoran --- @@ -115643,10 +115646,10 @@ index 4b90f9b64abe9f089ba56b13d5a00de33343bfb9..dac962ca1634662ce7d966f1ffb53b5b CONFIG_FB_TFT_AGM1264K_FL=m CONFIG_FB_TFT_BD663474=m -From 265a44b8e9cad028a41639ed255fdfb01c38b2dd Mon Sep 17 00:00:00 2001 +From 5b151e66f4264ec32cd5716ccc9f7662c07584ae Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 103/137] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 103/139] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -115678,10 +115681,10 @@ index dac962ca1634662ce7d966f1ffb53b5bfa27c506..aae33b4b3c3e736ea7cd3ca242158ad6 CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From bf4c8cbd95b98b275654e65b065aec44ba7813c1 Mon Sep 17 00:00:00 2001 +From 2b66aab076aed900588e5f2fcd89fc29bc23a62a Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 104/137] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 104/139] ARM64: Enable RTL8187/RTL8192CU wifi in build config These drivers build now, so they can be enabled back in the build configuration just like they are for @@ -115706,10 +115709,10 @@ index aae33b4b3c3e736ea7cd3ca242158ad6ba558aff..b7d762df19b85e369a32cd823dfd0621 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From e11715c74988ee7ec43f71591f238c37f3f8c282 Mon Sep 17 00:00:00 2001 +From 17022bccb420425377ae7cda855f707365bb5be5 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 105/137] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 105/139] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 In ARM64, the FIQ mechanism used by this driver is not current implemented. As a workaround, reqular IRQ is used instead @@ -116052,10 +116055,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From 099a800132e701aea7a1bd531c0b761c6c7862bd Mon Sep 17 00:00:00 2001 +From cf43803c6f9cecd779d539ac17048bba059396b2 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 106/137] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 106/139] ARM64: Round-Robin dispatch IRQs between CPUs. IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced @@ -116129,10 +116132,10 @@ index 86b357ae027bf8ba1ac32cd150a8cf21e36597e2..05b17ca993f405c4c8e61a782ec58149 .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From d2bd9cf02fbabe306feb6208ed250677f4f6e47b Mon Sep 17 00:00:00 2001 +From 6bd50f7411bd3bd0db4643625df7356d2eae3eb1 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 107/137] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 107/139] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -116153,10 +116156,10 @@ index b7d762df19b85e369a32cd823dfd062145bdefa7..4d85c231c5ea0244e1b05fb4a5e3c8fd CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From 7dc35d6588e7138b3e36c36d93c175e2c0714fbd Mon Sep 17 00:00:00 2001 +From 07c1dce8743edfbee9537cba1d981e7d96bac337 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 108/137] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 108/139] ARM64: Force hardware emulation of deprecated instructions. --- @@ -116184,10 +116187,10 @@ index d06fbe4cd38d7423c900aff64b0e728f995478d3..877b7c90f9555203d5d55d739359a256 case INSN_OBSOLETE: insn->current_mode = INSN_UNDEF; -From f9feabedd4e844b00a40211f3e21ba32875687ba Mon Sep 17 00:00:00 2001 +From 426f658ec729fb1e84ced503af21af1553170d67 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Feb 2017 17:57:08 -0800 -Subject: [PATCH 109/137] build/arm64: Add rules for .dtbo files for dts +Subject: [PATCH 109/139] build/arm64: Add rules for .dtbo files for dts overlays We now create overlays as .dtbo files. @@ -116212,10 +116215,10 @@ index 939b310913cf38cd7ca3136128fb5440340d7d12..8d90800c10f96efa428f5ed348fe7047 dtbs: prepare scripts -From 531d115f1d4a0b34252cf943efa8b62d143bd6ce Mon Sep 17 00:00:00 2001 +From 0111143608166f46ba3fc02dedb944c94092886e Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 24 May 2017 10:52:50 +0200 -Subject: [PATCH 110/137] enable drivers for GPIO expander and vcio +Subject: [PATCH 110/139] enable drivers for GPIO expander and vcio --- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ @@ -116243,10 +116246,10 @@ index 4d85c231c5ea0244e1b05fb4a5e3c8fd3e651ddf..9dcb58a519d041fadae99c81a7bda621 CONFIG_GPIO_ARIZONA=m CONFIG_GPIO_STMPE=y -From fc2847f3e0665a3c6aeaec47e8938c8b4b444551 Mon Sep 17 00:00:00 2001 +From 3ff087cd8aec7d3e150e7bacd987b10c69f7cbb6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 23 Mar 2017 16:34:46 +0000 -Subject: [PATCH 111/137] bcm2835-aux: Add aux interrupt controller +Subject: [PATCH 111/139] bcm2835-aux: Add aux interrupt controller The AUX block has a shared interrupt line with a register indicating which devices have active IRQs. Expose this as a nested interrupt @@ -116410,10 +116413,10 @@ index bd750cf2238d61489811e7d7bd3b5f9950ed53c8..41e0702fae4692221980b0d02aed1ba6 BCM2835_AUX_CLOCK_COUNT, GFP_KERNEL); if (!onecell) -From 26a1f2e8c1d425467c3c438b4274ebf5b9f0bc65 Mon Sep 17 00:00:00 2001 +From 122effdc14dbffd188fb3ec2eedb30fef77a2532 Mon Sep 17 00:00:00 2001 From: Yasunari Takiguchi Date: Fri, 14 Apr 2017 10:43:57 +0100 -Subject: [PATCH 112/137] This is the driver for Sony CXD2880 DVB-T2/T tuner + +Subject: [PATCH 112/139] This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. It includes the CXD2880 driver and the CXD2880 SPI adapter. The current CXD2880 driver version is 1.4.1 - 1.0.1 released on April 13, 2017. @@ -116524,10 +116527,10 @@ index 2631d0e0a024d4989d8ff14e3fc91f714753f756..f2910083263931e4d6035f170ae27f82 depends on DVB_CORE diff --git a/drivers/media/dvb-frontends/Makefile b/drivers/media/dvb-frontends/Makefile -index f45f6a4a437142226399142e0667850e214719d6..e6b387284f6f26e9677757979763f6c1c170a4f1 100644 +index d025eb37384250108ef18c1006cdf9db6ceb8fb2..7c7aca05678ad47721c5202ca7651ffe119e5a62 100644 --- a/drivers/media/dvb-frontends/Makefile +++ b/drivers/media/dvb-frontends/Makefile -@@ -129,3 +129,4 @@ obj-$(CONFIG_DVB_HORUS3A) += horus3a.o +@@ -130,3 +130,4 @@ obj-$(CONFIG_DVB_HORUS3A) += horus3a.o obj-$(CONFIG_DVB_ASCOT2E) += ascot2e.o obj-$(CONFIG_DVB_HELENE) += helene.o obj-$(CONFIG_DVB_ZD1301_DEMOD) += zd1301_demod.o @@ -132545,10 +132548,10 @@ index 0000000000000000000000000000000000000000..82e122349055be817eb74ed5bbcd7560 +MODULE_AUTHOR("Sony Semiconductor Solutions Corporation"); +MODULE_LICENSE("GPL v2"); -From a9bb77bd4bb7894a86e1bcc2d8cf5c55b4528a37 Mon Sep 17 00:00:00 2001 +From 670a4a07517641aaf50feb2737594df23da5b485 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 113/137] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 113/139] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -132570,10 +132573,10 @@ index c819c21b0158a59c1308882e5a40e3f3fe73cbdf..de2a3dcd562beb752266eaf0070e5586 enum rpi_firmware_property_status { -From 13c24502243afe0f21d9e591d6e30bd5ba212839 Mon Sep 17 00:00:00 2001 +From 28d07273c285ae388abf39f4c525f5996cacf01a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 114/137] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 114/139] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -132617,10 +132620,10 @@ index de2a3dcd562beb752266eaf0070e55861d553f5f..dc7fd58afd5dddebf9b17065bb069a1d #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From 4c54c67b003f9cf3798205f70d86363d5840b18a Mon Sep 17 00:00:00 2001 +From 764a4721b00e441c6e841d0d4e580e1bf2c08705 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 115/137] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 115/139] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -132634,10 +132637,10 @@ Signed-off-by: Eric Anholt create mode 100644 drivers/gpu/drm/vc4/vc4_firmware_kms.c diff --git a/drivers/gpu/drm/vc4/Makefile b/drivers/gpu/drm/vc4/Makefile -index 25bd5d30415df55e4715334a597ca1e7b3012bd7..e365d1f4d816762b2251f489e3b8fcc3121702e3 100644 +index 837c82757339259bd168a01e22c2cbec7543ce83..69f3bcd22857db92b5570f11634272492ecbd2d1 100644 --- a/drivers/gpu/drm/vc4/Makefile +++ b/drivers/gpu/drm/vc4/Makefile -@@ -8,6 +8,7 @@ vc4-y := \ +@@ -9,6 +9,7 @@ vc4-y := \ vc4_dpi.o \ vc4_dsi.o \ vc4_fence.o \ @@ -133391,10 +133394,10 @@ index 0000000000000000000000000000000000000000..78c34305935501248b1ca548a1ee0175 + }, +}; -From f71e9e2ccec35e048fc4bc809b74c0e2203bf72b Mon Sep 17 00:00:00 2001 +From 720af0ba1904b049a284160ee5727c7edacfc511 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:09:18 -0800 -Subject: [PATCH 116/137] drm/vc4: Name the primary and cursor planes in fkms. +Subject: [PATCH 116/139] drm/vc4: Name the primary and cursor planes in fkms. This makes debugging nicer, compared to trying to remember what the IDs are. @@ -133418,10 +133421,10 @@ index 78c34305935501248b1ca548a1ee01753b8fa099..d9a5551d01a2155e3df1bbbd78a1ee2b if (type == DRM_PLANE_TYPE_PRIMARY) { vc4_plane->fbinfo = -From 21092914f0da3bbb54a97ad3028806732cf87f69 Mon Sep 17 00:00:00 2001 +From 2ab1d1982d0947e3c7dd0ee03149878d3f38fb19 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Feb 2017 17:10:09 -0800 -Subject: [PATCH 117/137] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of +Subject: [PATCH 117/139] drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. Trying to debug weston on fkms involved figuring out what calls I was @@ -133491,10 +133494,10 @@ index d9a5551d01a2155e3df1bbbd78a1ee2b961be946..e372666af0119b1876bad5167e6d0ff8 RPI_FIRMWARE_SET_CURSOR_STATE, &packet_state, -From 206514281d6fc26a22ebd21fee3ffa7c4c4f7ba0 Mon Sep 17 00:00:00 2001 +From f848501128496b03eb8bd311fcc520734999a4b5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Feb 2017 09:42:18 -0800 -Subject: [PATCH 118/137] drm/vc4: Fix sending of page flip completion events +Subject: [PATCH 118/139] drm/vc4: Fix sending of page flip completion events in FKMS mode. In the rewrite of vc4_crtc.c for fkms, I dropped the part of the @@ -133536,10 +133539,10 @@ index e372666af0119b1876bad5167e6d0ff8945d1b80..4d7b7f218cbbc9e7abcaa37743978060 static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) -From 5bc4eefac85d2a3a6ea3ccaa29d881f6ff0441a5 Mon Sep 17 00:00:00 2001 +From e98e96fecd75a441766d3b341971220e5a404a0a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 18 Apr 2017 21:43:46 +0100 -Subject: [PATCH 119/137] vc4_fkms: Apply firmware overscan offset to hardware +Subject: [PATCH 119/139] vc4_fkms: Apply firmware overscan offset to hardware cursor --- @@ -133596,10 +133599,10 @@ index 4d7b7f218cbbc9e7abcaa37743978060b73fbdd1..d170775ccc985637ff018804f510a500 return 0; -From 8921339cc367685ee1a150421f6d9d47dcb124cf Mon Sep 17 00:00:00 2001 +From 386de7384888a3b49051e81afb8be551162623c9 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 11:34:26 +0200 -Subject: [PATCH 120/137] ASoC: bcm2835: Add support for TDM modes +Subject: [PATCH 120/139] ASoC: bcm2835: Add support for TDM modes bcm2835 supports arbitrary positioning of channel data within a frame and thus is capable of supporting TDM modes. Since @@ -134001,10 +134004,10 @@ index 56df7d8a43d0aac055a91b0d24aca8e1b4e308e4..dcacf7f83c9371df539a788ea33fedcf dev->dev = &pdev->dev; dev_set_drvdata(&pdev->dev, dev); -From 1f4f5c1e41762a51048354f4e48c2166d05ba179 Mon Sep 17 00:00:00 2001 +From 001fe523deed1c0e46b74a1b53c081b027692a16 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 15:30:50 +0200 -Subject: [PATCH 121/137] ASoC: bcm2835: Support left/right justified and DSP +Subject: [PATCH 121/139] ASoC: bcm2835: Support left/right justified and DSP modes DSP modes and left/right justified modes can be supported @@ -134136,10 +134139,11 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 return -EINVAL; } -@@ -443,6 +497,15 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, +@@ -442,6 +496,15 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, + bcm2835_i2s_calc_channel_pos(&tx_ch1_pos, &tx_ch2_pos, tx_mask, slot_width, data_delay, odd_slot_offset); - /* ++ /* + * Transmitting data immediately after frame start, eg + * in left-justified or DSP mode A, only works stable + * if bcm2835 is the frame clock master. @@ -134148,10 +134152,9 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 + dev_warn(dev->dev, + "Unstable slave config detected, L/R may be swapped"); + -+ /* + /* * Set format for both streams. * We cannot set another frame length - * (and therefore word length) anyway, @@ -472,62 +535,38 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, mode |= BCM2835_I2S_FLEN(frame_length - 1); mode |= BCM2835_I2S_FSLEN(framesync_length); @@ -134250,10 +134253,10 @@ index dcacf7f83c9371df539a788ea33fedcf97d64690..3a706fda4f39e42efbe12f19d87af9b1 } -From af504c909909cdbcb1cd7045b84860b0677bdef3 Mon Sep 17 00:00:00 2001 +From 70f6e1e5f268e0fba8791799bfe8d174adc44289 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:19:54 +0200 -Subject: [PATCH 122/137] ASoC: bcm2835: Support additional samplerates up to +Subject: [PATCH 122/139] ASoC: bcm2835: Support additional samplerates up to 384kHz Sample rates are only restricted by the capabilities of the @@ -134296,10 +134299,10 @@ index 3a706fda4f39e42efbe12f19d87af9b100a348a5..43f5715a0d5dda851731ecf7ff27e76c | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE -From c6cc71d3b6a4fc0fc9c996287583769a5b603362 Mon Sep 17 00:00:00 2001 +From cf4b88ed4818956deb418b70801030da9b24dad1 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sun, 7 May 2017 16:24:57 +0200 -Subject: [PATCH 123/137] ASoC: bcm2835: Enforce full symmetry +Subject: [PATCH 123/139] ASoC: bcm2835: Enforce full symmetry bcm2835's configuration registers can't be changed when a stream is running, which means asymmetric configurations aren't supported. @@ -134335,10 +134338,10 @@ index 43f5715a0d5dda851731ecf7ff27e76c48fb6e57..2e449d7173fcecbcd647f90a26bd58b6 static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg) -From 7b698567daff3b6362ab4396cfd6c0b6c9b74fb9 Mon Sep 17 00:00:00 2001 +From 7a5e99fc1c1b8be15626b115dd81968cf4cc1b7f Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 5 Jun 2017 16:40:38 +0100 -Subject: [PATCH 124/137] dma-bcm2708: Fix module compilation of +Subject: [PATCH 124/139] dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 bcm2708-dmaengine.c defines functions like bcm_dma_start which are @@ -134381,10 +134384,10 @@ index c5bfff2765be4606077e6c8af73040ec13ee8974..6ca874d332a8bc666b1c9576ac51f479 #endif /* _PLAT_BCM2708_DMA_H */ -From aa17d7996dc3d9fcc346e6cfd2c415520581dfc9 Mon Sep 17 00:00:00 2001 +From 70ed9bd78332958b3ce774ae39ef689c1d027a01 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 25 Aug 2017 19:18:13 +0100 -Subject: [PATCH 125/137] cache: export clean and invalidate +Subject: [PATCH 125/139] cache: export clean and invalidate --- arch/arm/mm/cache-v6.S | 4 ++-- @@ -134436,10 +134439,10 @@ index de78109d002db1a5e7c94a6c1bc8bb94161d07b8..4c850aa3af2b2439fced4e130441329a sub r3, r2, #1 bic r0, r0, r3 -From 4cbd0a1d6ca4f73eed2f05c643da1b0353f2799f Mon Sep 17 00:00:00 2001 +From e9a690c4897eca3ef8cbdda3cd7c449bed543e33 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 20 Sep 2017 11:52:41 +0200 -Subject: [PATCH 126/137] config: enable upstream IR TX drivers +Subject: [PATCH 126/139] config: enable upstream IR TX drivers Signed-off-by: Matthias Reichl --- @@ -134474,10 +134477,10 @@ index e0dd8723047ff488e81a03ef42fdbc68c43dc721..b397818f4a69d04c708101ea3f65e885 CONFIG_USB_VIDEO_CLASS=m CONFIG_USB_M5602=m -From 258277f37b632cac04a5efe54cf130c20a9e5fa8 Mon Sep 17 00:00:00 2001 +From 7b0ed9b5ce6742d6a2a673d26b645ae6b4f76eff Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 20 Sep 2017 11:52:42 +0200 -Subject: [PATCH 127/137] overlays: add gpio-ir-tx and pwm-ir-tx +Subject: [PATCH 127/139] overlays: add gpio-ir-tx and pwm-ir-tx Signed-off-by: Matthias Reichl --- @@ -134638,10 +134641,10 @@ index 0000000000000000000000000000000000000000..141c126fe33b90a16fea396b8e27692d + }; +}; -From 5119efc9d33b39f135839708967c9ad22d0e5bcb Mon Sep 17 00:00:00 2001 +From 2abc9fb650bfcba06f3ecf32e67b9fca8875639e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 128/137] amba_pl011: Insert mb() for correct FIFO handling +Subject: [PATCH 128/139] amba_pl011: Insert mb() for correct FIFO handling The pl011 register accessor functions use the _relaxed versions of the standard readl() and writel() functions, meaning that there are no @@ -134668,10 +134671,10 @@ index bfbc845d7be9ef804468d0a82da18d9b67857216..424bdc500864a86e5d431763ba416b52 return true; -From f5fe0607f6bb48f6751436665aab092101aafbca Mon Sep 17 00:00:00 2001 +From 10433161334ee657c9c28ea99de609a47cd16636 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 13 Oct 2017 00:21:48 +0100 -Subject: [PATCH 129/137] dwc_otg: Fixup change to DRIVER_ATTR interface +Subject: [PATCH 129/139] dwc_otg: Fixup change to DRIVER_ATTR interface --- drivers/usb/host/dwc_otg/dwc_otg_driver.c | 9 ++++----- @@ -134718,10 +134721,10 @@ index 95943e07528276b26b51ea2d57a1f433f280aaef..af123d01f3ef9f99450c78efdf766ca3 /** * This function is called during module intialization -From 785b5db247b462a1e9e35bf45087e3b735884d0c Mon Sep 17 00:00:00 2001 +From 4dfba5efe72ebb397f9c7e68c78d90c58ec80dc8 Mon Sep 17 00:00:00 2001 From: Chung-Hsien Hsu Date: Sun, 14 May 2017 20:11:05 -0500 -Subject: [PATCH 130/137] brcmfmac: add CLM download support +Subject: [PATCH 130/139] brcmfmac: add CLM download support Future firmwares will be provided with minimal built-in CLM - the NULL region (#n/0) becomes the initial country. It cannot be changed @@ -135149,10 +135152,10 @@ index 11ffaa01599eb4b343b7f675dc275fc8572d127e..b27170c12482de0ca4115b4bc9484c21 static int brcmf_usb_bus_setup(struct brcmf_usbdev_info *devinfo) -From 68c96b03d34b175b6ae8ff55d8c584f96fe5af9c Mon Sep 17 00:00:00 2001 +From 184f100f036eb86854bb04e09c0a8d874b6ff697 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Oct 2017 13:23:32 +0100 -Subject: [PATCH 131/137] brcmfmac: request_firmware_direct is quieter +Subject: [PATCH 131/139] brcmfmac: request_firmware_direct is quieter Since we don't have any CLM-capable firmware yet, silence the warning of its absence by using request_firmware_direct, which should also @@ -135177,10 +135180,10 @@ index f0309e039592ba6e388084a13f052c03f99cf1ef..b5889360da96096775db6425337a7215 if (err == -ENOENT) return 0; -From cb31c20ba45cf1aaf835d2e0d3f67ee419abd12e Mon Sep 17 00:00:00 2001 +From 77f2a24abbc50ec77d2bdf8f134fcd214feebdc0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 132/137] amba_pl011: Add cts-event-workaround DT property +Subject: [PATCH 132/139] amba_pl011: Add cts-event-workaround DT property The BCM2835 PL011 implementation seems to have a bug that can lead to a transmission lockup if CTS changes frequently. A workaround was added to @@ -135246,10 +135249,10 @@ index 424bdc500864a86e5d431763ba416b5298c777dc..b224306633f62c398ef904734a903d4e uap->vendor = vendor; uap->fifosize = vendor->get_fifosize(dev); -From cc3f3840b497d9e95118fc74e7f4dcaf556b7879 Mon Sep 17 00:00:00 2001 +From 023c5d59bfa00902b448f77847460574ff813345 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 Oct 2017 13:48:04 +0100 -Subject: [PATCH 133/137] amba-pl011: Report AUTOCTS capability to framework +Subject: [PATCH 133/139] amba-pl011: Report AUTOCTS capability to framework The PL011 has full hardware RTS/CTS support which is enabled by the driver when flow control is requested. However, it doesn't @@ -135292,10 +135295,10 @@ index b224306633f62c398ef904734a903d4e75df65c3..3b743cf8a94c279ff8d0b747f98062d0 if (uap->vendor->oversampling) { -From 7dfabefc914c08f70995731a6a762f959db687bc Mon Sep 17 00:00:00 2001 +From 3fbdf98dfc41525cbc1dbe145137d73de0cd24a5 Mon Sep 17 00:00:00 2001 From: neilneil2000 <31366098+neilneil2000@users.noreply.github.com> Date: Thu, 12 Oct 2017 17:29:43 +0100 -Subject: [PATCH 134/137] GPIO and gpio-poweroff clarifications +Subject: [PATCH 134/139] GPIO and gpio-poweroff clarifications Notes added: 1) All GPIO references use the hardware numbering scheme @@ -135329,10 +135332,10 @@ index eafbf530acdab53c74656e409319c6dcaefbfd4e..705c4ae77e5c5c36a9c05666e1d39476 Params: gpiopin GPIO for signalling (default 26) -From e52b9b673915d51b5c035f7c7b31f0f21991f1c0 Mon Sep 17 00:00:00 2001 +From af15b7c0d57ea8129049e01200e6682eba12293a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Oct 2017 17:17:20 +0100 -Subject: [PATCH 135/137] config: Add CONFIG_USB_LAN78XX=m +Subject: [PATCH 135/139] config: Add CONFIG_USB_LAN78XX=m Signed-off-by: Phil Elwell --- @@ -135365,10 +135368,10 @@ index b397818f4a69d04c708101ea3f65e885e24181eb..d4f9c4f270e52c574149813b853de062 CONFIG_USB_NET_AX8817X=m CONFIG_USB_NET_AX88179_178A=m -From b6c2c3e741224893f007897f13ad3e9c2e0111da Mon Sep 17 00:00:00 2001 +From 20a6429dc17cc32abbdadc30c23edb0687e70053 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Oct 2017 09:20:56 +0100 -Subject: [PATCH 136/137] scripts: Update mkknlimg, just in case +Subject: [PATCH 136/139] scripts: Update mkknlimg, just in case With the removal of the vc_cma driver, mkknlimg lost an indication that the user had built a downstream kernel. Update the script, adding a few @@ -135411,10 +135414,10 @@ index 84be2593ec1de8f97b0167ff06b3e05d231c4ba0..d72e15224232d5164374e93be48949bf my $res = try_extract($kernel_file, $tmpfile1); -From 3f0011e93f57a2caac7b0e2734dc13e9333b8e0c Mon Sep 17 00:00:00 2001 +From fea3a950f96e798b31cfd46c76604ea9f84d66bf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 30 Oct 2017 15:06:42 +0000 -Subject: [PATCH 137/137] ARM: dts: Swap serial aliases for BT-enabled Pis +Subject: [PATCH 137/139] ARM: dts: Swap serial aliases for BT-enabled Pis The upstream base dts files now define serial0 and serial1 [1]. This appears to the firmware like a user-specified preference via an overlay, @@ -135453,19 +135456,19 @@ index fba0041d5546871be643dc8b671db3a153d5c801..a6ef9ee67ef8ca7eb88808bc9afcd89c }; &gpio { -@@ -148,12 +157,6 @@ +@@ -147,12 +156,6 @@ + pinctrl-0 = <&audio_pins>; }; - / { +-/ { - chosen { - bootargs = "8250.nr_uarts=1"; - }; -}; - --/ { + / { __overrides__ { act_led_gpio = <&act_led>,"gpios:4"; - act_led_activelow = <&act_led>,"gpios:8"; diff --git a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts index 634add7ab8bc0aa5501508c97050b101aa0e94f4..e032516ffd351a4099d150767a112f195d678b5a 100644 --- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts @@ -135486,16 +135489,233 @@ index 634add7ab8bc0aa5501508c97050b101aa0e94f4..e032516ffd351a4099d150767a112f19 }; &gpio { -@@ -173,12 +182,6 @@ +@@ -172,12 +181,6 @@ + pinctrl-0 = <&audio_pins>; }; - / { +-/ { - chosen { - bootargs = "8250.nr_uarts=1"; - }; -}; - --/ { + / { __overrides__ { act_led_gpio = <&act_led>,"gpios:4"; - act_led_activelow = <&act_led>,"gpios:8"; + +From 6766d977c37df851e88cda257966b28285e86fb9 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 2 Nov 2017 09:16:17 +0000 +Subject: [PATCH 138/139] bcm2710: Refactor bcm2710.dtsi using bcm2837.dtsi + (#2236) + +The 4.14 tree includes bcm2837.dtsi - use it as a basis for +the downstream bcm2710.dtsi, which only contains a few tweaks. + +See: https://github.com/raspberrypi/linux/issues/2235 + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/bcm2708-rpi.dtsi | 2 - + arch/arm/boot/dts/bcm2710.dtsi | 128 ++----------------------------------- + 2 files changed, 5 insertions(+), 125 deletions(-) + +diff --git a/arch/arm/boot/dts/bcm2708-rpi.dtsi b/arch/arm/boot/dts/bcm2708-rpi.dtsi +index f88b844f0aff82742966fd820f6f69cf25c2dfab..54fadb5543d09c848a9959302765b404c34910cc 100644 +--- a/arch/arm/boot/dts/bcm2708-rpi.dtsi ++++ b/arch/arm/boot/dts/bcm2708-rpi.dtsi +@@ -156,7 +156,5 @@ sdhost_pins: &sdhost_gpio48 { + }; + + &cpu_thermal { +- coefficients = <(-538) 407000>; +- + /delete-node/ trips; + }; +diff --git a/arch/arm/boot/dts/bcm2710.dtsi b/arch/arm/boot/dts/bcm2710.dtsi +index 3e134a1208610b90e2d0fc22f03c6e9f372bfcd7..df4a91e266422eec15fd7e27d509309afcdbe809 100644 +--- a/arch/arm/boot/dts/bcm2710.dtsi ++++ b/arch/arm/boot/dts/bcm2710.dtsi +@@ -1,23 +1,9 @@ +-#include "bcm283x.dtsi" ++#include "bcm2837.dtsi" + #include "bcm270x.dtsi" + #include "bcm2708-rpi.dtsi" + + / { +- compatible = "brcm,bcm2837", "brcm,bcm2836"; +- model = "BCM2837"; +- + soc { +- ranges = <0x7e000000 0x3f000000 0x01000000>, +- <0x40000000 0x40000000 0x00040000>; +- dma-ranges = <0xc0000000 0x00000000 0x3f000000>; +- +- local_intc: local_intc { +- compatible = "brcm,bcm2836-l1-intc"; +- reg = <0x40000000 0x100>; +- interrupt-controller; +- #interrupt-cells = <1>; +- interrupt-parent = <&local_intc>; +- }; + + arm-pmu { + #ifdef RPI364 +@@ -29,120 +15,16 @@ + interrupts = <9>; + }; + +- timer { +-#ifdef RPI364 +- compatible = "arm,armv8-timer", "arm,armv7-timer"; +-#else +- compatible = "arm,armv7-timer"; +-#endif +- interrupt-parent = <&local_intc>; +- interrupts = <0>, // PHYS_SECURE_PPI +- <1>, // PHYS_NONSECURE_PPI +- <3>, // VIRT_PPI +- <2>; // HYP_PPI +- always-on; +- }; +- + syscon@40000000 { + compatible = "brcm,bcm2836-arm-local", "syscon"; + reg = <0x40000000 0x100>; + }; + }; + +-#ifdef RPI364 +- cpus: cpus { +- #address-cells = <1>; +- #size-cells = <0>; +- +- v8_cpu0: cpu@0 { +- device_type = "cpu"; +- compatible = "arm,cortex-a53", "arm,armv8"; +- reg = <0x0>; +- clock-frequency = <1200000000>; +- }; +- +- v8_cpu1: cpu@1 { +- device_type = "cpu"; +- compatible = "arm,cortex-a53", "arm,armv8"; +- reg = <0x1>; +- clock-frequency = <1200000000>; +- enable-method = "spin-table"; +- cpu-release-addr = <0x0 0x000000e0>; +- }; +- +- v8_cpu2: cpu@2 { +- device_type = "cpu"; +- compatible = "arm,cortex-a53", "arm,armv8"; +- reg = <0x2>; +- clock-frequency = <1200000000>; +- enable-method = "spin-table"; +- cpu-release-addr = <0x0 0x000000e8>; +- }; +- +- v8_cpu3: cpu@3 { +- device_type = "cpu"; +- compatible = "arm,cortex-a53", "arm,armv8"; +- reg = <0x3>; +- clock-frequency = <1200000000>; +- enable-method = "spin-table"; +- cpu-release-addr = <0x0 0x000000f0>; +- }; +- }; +- +- __overrides__ { +- arm_freq = <&v8_cpu0>, "clock-frequency:0", +- <&v8_cpu1>, "clock-frequency:0", +- <&v8_cpu2>, "clock-frequency:0", +- <&v8_cpu3>, "clock-frequency:0"; +- }; +- +-#else +- cpus: cpus { +- #address-cells = <1>; +- #size-cells = <0>; +- +- v7_cpu0: cpu@0 { +- device_type = "cpu"; +- compatible = "arm,cortex-a7"; +- reg = <0x000>; +- clock-frequency = <800000000>; +- }; +- +- v7_cpu1: cpu@1 { +- device_type = "cpu"; +- compatible = "arm,cortex-a7"; +- reg = <0x001>; +- clock-frequency = <800000000>; +- }; +- +- v7_cpu2: cpu@2 { +- device_type = "cpu"; +- compatible = "arm,cortex-a7"; +- reg = <0x002>; +- clock-frequency = <800000000>; +- }; +- +- v7_cpu3: cpu@3 { +- device_type = "cpu"; +- compatible = "arm,cortex-a7"; +- reg = <0x003>; +- clock-frequency = <800000000>; +- }; +- }; +- + __overrides__ { +- arm_freq = <&v7_cpu0>, "clock-frequency:0", +- <&v7_cpu1>, "clock-frequency:0", +- <&v7_cpu2>, "clock-frequency:0", +- <&v7_cpu3>, "clock-frequency:0"; ++ arm_freq = <&cpu0>, "clock-frequency:0", ++ <&cpu1>, "clock-frequency:0", ++ <&cpu2>, "clock-frequency:0", ++ <&cpu3>, "clock-frequency:0"; + }; +-#endif + }; +- +-&intc { +- compatible = "brcm,bcm2836-armctrl-ic"; +- reg = <0x7e00b200 0x200>; +- interrupt-parent = <&local_intc>; +- interrupts = <8>; +-}; +- + +From f1879fc8b3842985feb5627edeb3db9d8f457e14 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 3 Nov 2017 09:45:12 +0000 +Subject: [PATCH 139/139] bcm2710: Fix compatible string in bcm2710.dtsi + +The minimal "bcm2835" board support, used for some clock setup +and serial/revision numbers, needs a compatible string of +"brcm,bcm2835" or "brcm,bcm2836" - "brcm,bcm2837" isn't +recognised. + +Fixes: bcm2710: Refactor bcm2710.dtsi using bcm2837.dtsi (#2236) + +See: https://github.com/raspberrypi/linux/issues/2255 + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/bcm2710.dtsi | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/arch/arm/boot/dts/bcm2710.dtsi b/arch/arm/boot/dts/bcm2710.dtsi +index df4a91e266422eec15fd7e27d509309afcdbe809..d5ce5b60fb3b63a76831504c53145f828b089993 100644 +--- a/arch/arm/boot/dts/bcm2710.dtsi ++++ b/arch/arm/boot/dts/bcm2710.dtsi +@@ -3,6 +3,8 @@ + #include "bcm2708-rpi.dtsi" + + / { ++ compatible = "brcm,bcm2837", "brcm,bcm2836"; ++ + soc { + + arm-pmu {