diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index ab7d8fb029..d379ada1c7 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 de8f49b794063c81c6ec1baa785ff75e05426e4f Mon Sep 17 00:00:00 2001 +From c37698ea5cedbbfe9121e260ad95225b22fada4f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 27 Apr 2016 17:43:28 +0100 -Subject: [PATCH 001/164] Revert "SUNRPC: Make NFS swap work with multipath" +Subject: [PATCH 001/166] Revert "SUNRPC: Make NFS swap work with multipath" This reverts commit 15001e5a7e1e207b6bd258cd8f187814cd15b6dc. --- @@ -95,10 +95,10 @@ index 66f23b376fa04a91134eddf6d8ee22a2f5de5808..f55fe2b0137e8fbefcd20c336b28ad48 EXPORT_SYMBOL_GPL(rpc_clnt_swap_deactivate); #endif /* CONFIG_SUNRPC_SWAP */ -From 0275f17007df95eb8f79d31dcf0304b801ba5b53 Mon Sep 17 00:00:00 2001 +From 5b376e17fed4825159b041afc232ab84be6721ca Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 002/164] smsx95xx: fix crimes against truesize +Subject: [PATCH 002/166] 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. @@ -145,10 +145,10 @@ index dc989a8b5afbd62b07cd65a2fa5edde67d3cc5fb..116680e3089f16e1e3e9113a3b93e62c usbnet_skb_return(dev, ax_skb); } -From 2da0270b1bc9ac5e0251e312cd5f5a3f12ba3588 Mon Sep 17 00:00:00 2001 +From fb2678236c3672abd267ded5d60b393955505b76 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Apr 2015 16:58:45 +0100 -Subject: [PATCH 003/164] smsc95xx: Disable turbo mode by default +Subject: [PATCH 003/166] smsc95xx: Disable turbo mode by default --- drivers/net/usb/smsc95xx.c | 2 +- @@ -168,10 +168,10 @@ index 116680e3089f16e1e3e9113a3b93e62cb78cc1bb..aa4cb43dcd9ba83b042332bc15a4dce6 MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction"); -From 77f0fd614e08636d8a852babc83a2929eafa91dd Mon Sep 17 00:00:00 2001 +From 268551323f0cca8ae3d049297175b2612c227abc Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 004/164] add smsc95xx packetsize module_param +Subject: [PATCH 004/166] add smsc95xx packetsize module_param Signed-off-by: Sam Nazarko --- @@ -213,10 +213,10 @@ index aa4cb43dcd9ba83b042332bc15a4dce68affce28..889bdabd9dea6cebccc361aa4ac569d7 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 24e9d8d77d33df7311614bafc521a5750a042afc Mon Sep 17 00:00:00 2001 +From acf98d61516be2eddd8d3eee280f111d4001c006 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 005/164] Allow mac address to be set in smsc95xx +Subject: [PATCH 005/166] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -312,10 +312,10 @@ index 889bdabd9dea6cebccc361aa4ac569d73681396b..d22a2324085fbf61fbd8920362bfc7b9 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From 0beb2ba6cbf38cedb4d04b01417f5c784ea53b79 Mon Sep 17 00:00:00 2001 +From f4694ba2dc5a3a5a4e21fbbf19a3f63b7ab0d125 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 9 Aug 2016 22:19:28 +0100 -Subject: [PATCH 006/164] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 006/166] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -346,10 +346,10 @@ index d22a2324085fbf61fbd8920362bfc7b9f72bebe3..c846c55075387398d9bcb0957e31f5c8 MODULE_PARM_DESC(packetsize, "Override the RX URB packet size"); -From 027fbdb777cc55a9d818f0dbd1385e36dcb07844 Mon Sep 17 00:00:00 2001 +From 86ddfbd47bde4a20c3f274d316894eaef7ef1142 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 13:28:24 +0000 -Subject: [PATCH 007/164] serial: Take care starting a hung-up tty's port +Subject: [PATCH 007/166] serial: Take care starting a hung-up tty's port tty_port_hangup sets a port's tty field to NULL (holding the port lock), but uart_tx_stopped, called from __uart_start (with the port lock), @@ -377,10 +377,10 @@ index 2f44e20136545162d15ee9a39c2eae38352580d1..6b0518ce13ad210b888b73dd6c02a555 return 0; } -From cf67462d3f84c6e9f324fa5f2e0d2e989976e53a Mon Sep 17 00:00:00 2001 +From 15f0b15b382acc59b46804466d9ed4ba3d1d506e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 008/164] Protect __release_resource against resources without +Subject: [PATCH 008/166] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -408,10 +408,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 7203c5f0d088eda0083955731a65478cc30401f9 Mon Sep 17 00:00:00 2001 +From 3f4d110c6a3b3e0bd1a3c76ded9ca4a3dcf6ac24 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 009/164] mm: Remove the PFN busy warning +Subject: [PATCH 009/166] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -436,10 +436,10 @@ index a2214c64ed3cd04dceaed7a579f593852e458df1..de26bffb1baa5cffa692fcb12b478263 goto done; } -From 85204cf198681000328c807a8e644b280d6c9e88 Mon Sep 17 00:00:00 2001 +From aa4c78956f69b197360aee7f306ed85372207c38 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 010/164] BCM2835_DT: Fix I2S register map +Subject: [PATCH 010/166] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -477,10 +477,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From c6777a31d4a07af1ab0392b103e8145e684576dd Mon Sep 17 00:00:00 2001 +From d18dcc2b5b6a60cc3b18e5c5d58772b8144695c9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 011/164] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 011/166] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -507,10 +507,10 @@ index d96b2c947e74e3edab3917551c64fbd1ced0f34c..93e3f7660c4230c9f1dd3b195958cb49 #endif } else if (stat) { -From 22581d6e84ed94dcca9027bbe39c4d26dd98ad66 Mon Sep 17 00:00:00 2001 +From ec7ccc05bb4dcd630277b01f62483f368417da2e 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 012/164] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 012/166] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -639,10 +639,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From 4de698b13dcc99570b658fdf6d81a1446fd77fc0 Mon Sep 17 00:00:00 2001 +From 0cb59adbe3bcbc6a3a941baf1725eb83fdde5a30 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 013/164] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 013/166] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -741,10 +741,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From d30ce2f0a53682f01196eb8e192e8fe488f5d247 Mon Sep 17 00:00:00 2001 +From 4b4ef152406be7ac05190844ff8e63a981b62184 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 014/164] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 014/166] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -765,10 +765,10 @@ index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..d780491b8013a4e97fa843958964454e }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 5902ff75c255a23497181aa3bd036d3d3b23176b Mon Sep 17 00:00:00 2001 +From d7a5a5392a1ba3ba3e9b952b1d8ccd5aab21de69 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 015/164] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 015/166] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -788,10 +788,10 @@ index dcf43f66404f12d2bd290a30adfe494dd056162e..0fba189c676ded310b92a09c4e7e8f76 for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From f525eb7bba4692b69f88dc664182f8bb58238a16 Mon Sep 17 00:00:00 2001 +From 9d53bb80c17bcb6b29262c5dc7b5f2814cf4bb29 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 016/164] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 016/166] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -813,10 +813,10 @@ index fa77165fab2c1348163979da507df17e7168c49b..d11e2e4ea189466e686d762cb6c6fef9 .can_sleep = false, }; -From bce45111c205499ec53eb24334986258e1464915 Mon Sep 17 00:00:00 2001 +From b61c23f63c8dbbe963e0b45f1a478d26626c9743 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 017/164] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 017/166] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -962,10 +962,10 @@ index d11e2e4ea189466e686d762cb6c6fef9111ecf8e..107ad7d58de8f8a7f55e09c9cdcf7d66 }, }; -From 1788e923b4b0891e4fdc6fc4da0e618532796e7a Mon Sep 17 00:00:00 2001 +From aa2781613d77e942a217dd494ff11b34b4d00b4f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 018/164] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 018/166] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -992,10 +992,10 @@ index 107ad7d58de8f8a7f55e09c9cdcf7d66fa7ab66b..644bdecbcfcb79d3b84a33769265fca5 pc->irq_data[i].irqgroup = i; -From 1eeef586e6e83b5604d03fcdd4c0755ce67fdc8b Mon Sep 17 00:00:00 2001 +From 43819b8ac2b302b65d55462267de0b886b8349bf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 May 2016 12:32:47 +0100 -Subject: [PATCH 019/164] pinctrl-bcm2835: Return pins to inputs when freed +Subject: [PATCH 019/166] pinctrl-bcm2835: Return pins to inputs when freed When dynamically unloading overlays, it is important that freed pins are restored to being inputs to prevent functions from being enabled in @@ -1036,10 +1036,10 @@ index 644bdecbcfcb79d3b84a33769265fca5d3d0c9e5..81a66cba2ab0f7e3ae179de7edd10122 .get_function_name = bcm2835_pmx_get_function_name, .get_function_groups = bcm2835_pmx_get_function_groups, -From 8b70a822e60413a838e5e923828b7a187a088f1e Mon Sep 17 00:00:00 2001 +From 3ea5cf4b6820e5edf582a2d9a3c5a0c49168b761 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 020/164] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 020/166] 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 @@ -1120,10 +1120,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 0bf8f9e13838e64f9e05776cac57831ed2f2859a Mon Sep 17 00:00:00 2001 +From fee31bf35c4d4cae5e7361e4f7d20fdf942fe5fd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 021/164] spi-bcm2835: Disable forced software CS +Subject: [PATCH 021/166] 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 @@ -1157,10 +1157,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 53c371da8fc2d0bc866a5e11d208410c942e9216 Mon Sep 17 00:00:00 2001 +From 6c14bb589a6948925504fd32e29a51bd80060a28 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 022/164] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 022/166] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1213,10 +1213,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 41aa8122070bc4ddcbf50f8223414d2ff260ff24 Mon Sep 17 00:00:00 2001 +From a33235c39cc5652fff2312b5f1a257cbe469b8b6 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 023/164] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 023/166] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1319,10 +1319,10 @@ index e18dc596cf2447fa9ef7e41b62d9396e29043426..80d35f760b4a4a51e60c355a84d538ba MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From ca64c2b9d0c016b38b24c60c76175ddb53d4e0bb Mon Sep 17 00:00:00 2001 +From fe1bdebda7fa116d4eed323c824a9e2569999042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 15 Aug 2015 20:50:02 +0200 -Subject: [PATCH 024/164] bcm2835: Add support for uart1 +Subject: [PATCH 024/166] bcm2835: Add support for uart1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1379,10 +1379,10 @@ index 8f152266ba9b470df2eaaed9ebcf158ed2079834..0ef5cd3d1d6ec420360294acc98d40d6 static const char * const bcm2835_compat[] = { -From e48b295baa0c2a0e0a5e8edf77df61c0956dcba3 Mon Sep 17 00:00:00 2001 +From e95b90def66565ace275d8794d158e4181dc5dbf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 025/164] firmware: Updated mailbox header +Subject: [PATCH 025/166] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 11 +++++++++++ @@ -1445,10 +1445,10 @@ index 3fb357193f09914fe21f8555a4b8613f74f22bc3..227a107214a02deadcca3db202da265e RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From 96cddb0ec832f987166dab74367c2cb99238a6c5 Mon Sep 17 00:00:00 2001 +From 0b35b29822ad12af1dba328bc6af865c902ec525 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 11:44:59 -0700 -Subject: [PATCH 026/164] clk: bcm2835: Mark the VPU clock as critical +Subject: [PATCH 026/166] clk: bcm2835: Mark the VPU clock as critical The VPU clock is also the clock for our AXI bus, so we really can't disable it. This might have happened during boot if, for example, @@ -1494,10 +1494,10 @@ index 0fc71cbaa4404bddc1ca603a28a43425a7e5a341..085e5217d3b9f73c312dc7fd510ef55c /* clocks with per parent mux */ -From 0f2d4c0deadb182f9d1f9d5b3cc935dadf9c5783 Mon Sep 17 00:00:00 2001 +From e655dfc2dcc208338a2483ab8b514fba837d8c93 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 027/164] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 027/166] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1552,10 +1552,10 @@ index 085e5217d3b9f73c312dc7fd510ef55cddb4a27c..e527649ee5e32d20cebd762f4badbfca /* HDMI state machine */ [BCM2835_CLOCK_HSM] = REGISTER_PER_CLK( -From c71ed43a8bf16ec660c14bd38b46f20366e56377 Mon Sep 17 00:00:00 2001 +From 316a6f75e869b18b63722bceca5dc78189785ff7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Jun 2016 12:05:35 -0700 -Subject: [PATCH 028/164] clk: bcm2835: Mark the CM SDRAM clock's parent as +Subject: [PATCH 028/166] clk: bcm2835: Mark the CM SDRAM clock's parent as critical While the SDRAM is being driven by its dedicated PLL most of the time, @@ -1629,10 +1629,10 @@ index e527649ee5e32d20cebd762f4badbfca06657a84..fbf616021704178a9d007219a0ea2a9f &cprman->onecell); } -From fd8f5fbd3ea2cfd478f73b95fb7f7da94d65cc79 Mon Sep 17 00:00:00 2001 +From 3ac87009eea035c0430f9f16eeb8da1996452798 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Oct 2016 13:58:40 +0100 -Subject: [PATCH 029/164] Enable upstream BCM2835 auxiliar mini UART support +Subject: [PATCH 029/166] Enable upstream BCM2835 auxiliar mini UART support --- drivers/tty/serial/8250/Kconfig | 2 +- @@ -1652,10 +1652,10 @@ index 7c6f7afca5ddeed7b25fa6272246fc539bf31b04..748098f900d3474b5d535b24da76ad06 help Support for the BCM2835 auxiliar mini UART. -From d513c4e880e8860b228818787d453f091f587314 Mon Sep 17 00:00:00 2001 +From fadcb26cb0968373e3f4e55d258b7dcbf5eba039 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 030/164] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 030/166] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1675,10 +1675,10 @@ index b4478cc92b55dbd76731ea8ec6a4228677adcebb..6981064d5cbad7d7078b23ce4ed5227e MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 31ad6874cf350f457774a9685b87bd7d57b8ed25 Mon Sep 17 00:00:00 2001 +From f25a9deaf79b79baddf6b242a76b2a10559bb3aa Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 19 Apr 2016 15:55:02 -0700 -Subject: [PATCH 031/164] ARM: bcm2708: Enable building power domain driver. +Subject: [PATCH 031/166] ARM: bcm2708: Enable building power domain driver. Signed-off-by: Eric Anholt --- @@ -1699,10 +1699,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..7d11a44f36d2e6f8697773cd49a72e53 select PM_GENERIC_DOMAINS if PM help -From 0832afe377858f8818221ad2228902fb2db05063 Mon Sep 17 00:00:00 2001 +From beeec7998aff937609458a856c7bbc5d4a055280 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 032/164] Main bcm2708/bcm2709 linux port +Subject: [PATCH 032/166] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -4227,10 +4227,10 @@ index aa4bfbf129e4585ebb89b25fca4b03c928925022..89f7a3a539b5a1b84ddcf0a1548160c0 mmc_pm_flag_t pm_caps; /* supported pm features */ -From fc94cb1d67f2c948df46b75147aa6cfe236593d1 Mon Sep 17 00:00:00 2001 +From f842e390d3c4b095a93d67231b84df2fc9fff0d3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 033/164] reboot: Use power off rather than busy spinning when +Subject: [PATCH 033/166] reboot: Use power off rather than busy spinning when halt is requested --- @@ -4253,10 +4253,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From 38ea1c059e3993aadb500ccb7bd333a06f15a6a5 Mon Sep 17 00:00:00 2001 +From 2d775c8c99dd4dd91827c39f570ddab440f9938b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 11 Nov 2015 21:01:15 +0000 -Subject: [PATCH 034/164] squash: include ARCH_BCM2708 / ARCH_BCM2709 +Subject: [PATCH 034/166] squash: include ARCH_BCM2708 / ARCH_BCM2709 --- drivers/char/hw_random/Kconfig | 2 +- @@ -4420,10 +4420,10 @@ index d528aaceaad95bc6bae2147ebe66249629d2512e..03a303e52d5fe57bbdd8769d24bca590 select REGMAP_MMIO help -From 7a4b0eebb3f5510d0f5fa4d4eae1acfd64b76141 Mon Sep 17 00:00:00 2001 +From 73285128a4403b16308d6d290e09283566936272 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 035/164] Add dwc_otg driver +Subject: [PATCH 035/166] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -65449,10 +65449,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 1c2ae83bc60313abfdc1951c1ba31299431eadd1 Mon Sep 17 00:00:00 2001 +From d0e26dfdf4c8612c0c6ad933ebadcedc5cf4f0f3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 036/164] bcm2708 framebuffer driver +Subject: [PATCH 036/166] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68911,10 +68911,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 cf57ed4939e0672e8315a26e59b6bc03d988f15b Mon Sep 17 00:00:00 2001 +From 0b09ee50dbb5c0e9c9cf1ce87b7434fc09776c2f Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 037/164] dmaengine: Add support for BCM2708 +Subject: [PATCH 037/166] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69536,10 +69536,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From f1377efccbb4fcba8ce525383141cc89afae9e68 Mon Sep 17 00:00:00 2001 +From 7b53a558297eeeb3ed0bd2097063bd55ee6dc371 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 038/164] MMC: added alternative MMC driver +Subject: [PATCH 038/166] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -71286,10 +71286,10 @@ index 0000000000000000000000000000000000000000..ceb37930e167f47c9c848e8de757ad09 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From cc1a52b2257884123c188d425f498eba5085668c Mon Sep 17 00:00:00 2001 +From 062a65b230c090eee0fcab31a8ff1aee7fb87af1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 039/164] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 039/166] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -73681,10 +73681,10 @@ index 0000000000000000000000000000000000000000..23dea422182534e248435aeaee3ecb5d +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From dbde666ae163f76a50a706b19682e5ad464a05c7 Mon Sep 17 00:00:00 2001 +From 17697ade0366f0409d5543b5b5f53eaf45234304 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 040/164] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 040/166] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -73820,10 +73820,10 @@ index d8673ca968ba2d65fb3da39680583ca5152641e4..510c3872929b3267fb6665bb69d26f5a unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From d95b82055864ad0b03093f761226ad150fc002e6 Mon Sep 17 00:00:00 2001 +From eaf6988895d80657f1e3c615e045f6ca48cef38f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 041/164] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 041/166] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75166,10 +75166,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From 9823aae5f6fb866ba82b09ef978fe66b768610d7 Mon Sep 17 00:00:00 2001 +From 21efda6f8b8a89c0d44d868ac69455398535f30d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 042/164] bcm2708: alsa sound driver +Subject: [PATCH 042/166] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77905,10 +77905,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From 2228276389817548a91020e8955edf6d5a4d8fb6 Mon Sep 17 00:00:00 2001 +From c2d1bb8617ef0ab3a8ed0b893602712df408e7be Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 043/164] bcm2708 vchiq driver +Subject: [PATCH 043/166] bcm2708 vchiq driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -91273,10 +91273,10 @@ index 0000000000000000000000000000000000000000..b6bfa21155e431e93bfb2c149d324371 + return vchiq_build_time; +} -From fbdbbb1c7bbba89591cbf4755290e0b439233584 Mon Sep 17 00:00:00 2001 +From f361a4b8bf0ed97fb73254ede7e5896027f97300 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 16:07:06 +0100 -Subject: [PATCH 044/164] vc_mem: Add vc_mem driver +Subject: [PATCH 044/166] vc_mem: Add vc_mem driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -92281,10 +92281,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 9ffe90a0056dcebd6241904c12b4506f2ba7739a Mon Sep 17 00:00:00 2001 +From 17e4ad1e3d1c118e5b344fdf91233fc84823a484 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 045/164] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 045/166] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96702,10 +96702,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 8acd6b0f163ba8bb3458e657052806f793790cce Mon Sep 17 00:00:00 2001 +From 657faf207c2c2398edd604915d6c6106ae2061c5 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 046/164] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 046/166] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -97016,10 +97016,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From e667820473ca7a8750e447db5d0e6e9e1e8b355c Mon Sep 17 00:00:00 2001 +From e14f8a78888223ab0f7be0160f1140a5a32b903f Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 047/164] Add SMI driver +Subject: [PATCH 047/166] Add SMI driver Signed-off-by: Luke Wren --- @@ -98970,10 +98970,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 03211436f6337575f10855a93cf7c8daeb2bed27 Mon Sep 17 00:00:00 2001 +From bb045f343105b6424202868fb772ad626fe291bd Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 048/164] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 048/166] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -99143,10 +99143,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From a88d8cf8203933420414be871fcd3a2b68e5f704 Mon Sep 17 00:00:00 2001 +From 1f5eae3a7f92578588bdbd9b45eed9781471888a Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 049/164] Add SMI NAND driver +Subject: [PATCH 049/166] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -99511,10 +99511,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From c6206be4df54175b76bab8537d5358185f356240 Mon Sep 17 00:00:00 2001 +From ce1d3e6b1af757d9923457dcc1d05f8a60146943 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 050/164] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 050/166] 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 @@ -100377,10 +100377,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From 1d4a8c83e671833d3debb1a1e6bb25ce05f73778 Mon Sep 17 00:00:00 2001 +From 05207a2d52c03372c045d6fd0c33e62adda22198 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 051/164] Add cpufreq driver +Subject: [PATCH 051/166] Add cpufreq driver Signed-off-by: popcornmix --- @@ -100642,10 +100642,10 @@ index 0000000000000000000000000000000000000000..3eb9e9326231b08e6ee95ad486485245 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 736f6abd189be74880cd00b8cf0eae2800329bb0 Mon Sep 17 00:00:00 2001 +From db1a1ccc6d49024be96c5b7071d458a1bdb03cdd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 052/164] Added hwmon/thermal driver for reporting core +Subject: [PATCH 052/166] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -100811,10 +100811,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 6d05fc461f618a4ca71e906b80d1e7b8c8d4571c Mon Sep 17 00:00:00 2001 +From 82b4412cc17abdb0bb64dddcbbe91e40350b48dd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 053/164] Add Chris Boot's i2c driver +Subject: [PATCH 053/166] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101488,10 +101488,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From ab2e9a4542c9fd183efaf8aac906009eb5e85fc2 Mon Sep 17 00:00:00 2001 +From 39df673c4be02514a633cb3a597a79f6acda7377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 054/164] char: broadcom: Add vcio module +Subject: [PATCH 054/166] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101717,10 +101717,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 332891643a9916eecae2ee1e1b27b30b123cfacf Mon Sep 17 00:00:00 2001 +From 68b9cf064f98fc7c0fcb602913ed67616ea878a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 055/164] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 055/166] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101826,10 +101826,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..b980d531b35b9981a88356ef1c8a7b86 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From e42148a6c79a3c51495433c563a76bb4549f3b16 Mon Sep 17 00:00:00 2001 +From eb289ea1387178c7a47447fc5847c9f2e1532084 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 056/164] bcm2835: add v4l2 camera device +Subject: [PATCH 056/166] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -109561,10 +109561,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From 854e1e582a10f5522b7d422e1ec0e3eeb821698e Mon Sep 17 00:00:00 2001 +From 4bf93cf95e581a141e55b7a55c0bac4ffe1ea66c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 057/164] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 057/166] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -110076,10 +110076,10 @@ index 0000000000000000000000000000000000000000..78c5845d2f01deb04b477327d83fa606 + return $trailer; +} -From 30e0b8d0e83bf3c3282702890b0598871e2403c2 Mon Sep 17 00:00:00 2001 +From 1f0d9be3ed91b1dfd1321ec1329d2dc17c1b8317 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 058/164] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 058/166] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -112930,10 +112930,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From d7f1e3e8e28a7224f1cffd009c3263ddad12d256 Mon Sep 17 00:00:00 2001 +From afc1c7fc68c978e20a9a7c2ce5b3ee6a59ed07ca Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 059/164] BCM2708: Add core Device Tree support +Subject: [PATCH 059/166] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -122762,10 +122762,10 @@ index 0000000000000000000000000000000000000000..8498134fdbb3912e9ce18282b53084d8 + +}; -From 82aa1f1a2039cbb7c9c54b5fcd659acc119cdca9 Mon Sep 17 00:00:00 2001 +From be6452daeaba5ff707d1dd49f78e2e684f034580 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 060/164] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 060/166] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -122785,10 +122785,10 @@ index 179219845dfcdfbeb586d12c5ec1296095d9fbf4..e0743e44f84188667a0c322e8c3d36f1 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 4228f0988df60375cedad17624edac666421b143 Mon Sep 17 00:00:00 2001 +From 2ea8dd9958980deeb6170a70822f8365d5b89bdc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 20:00:21 +0000 -Subject: [PATCH 061/164] BCM270X_DT: Add a .dtbo target, use for overlays +Subject: [PATCH 061/166] BCM270X_DT: Add a .dtbo target, use for overlays Change the filenames and extensions to keep the pre-DDT style of overlay (-overlay.dtb) distinct from new ones that use a @@ -122871,10 +122871,10 @@ index 0a07f9014944ed92a8e2e42983ae43be60b3e471..b1513a7c175885137034b9f7225788c0 # Bzip2 -From 74dc3708ce0339320054d927361309289a70b1a2 Mon Sep 17 00:00:00 2001 +From da8f68a4945f913fd6a73d789c694cfa8df4de5b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 8 Apr 2016 17:43:27 +0100 -Subject: [PATCH 062/164] BCM270X_DT: Don't generate "linux,phandle" props +Subject: [PATCH 062/166] BCM270X_DT: Don't generate "linux,phandle" props The EPAPR standard says to use "phandle" properties to store phandles, rather than the deprecated "linux,phandle" version. By default, dtc @@ -122900,10 +122900,10 @@ index b1513a7c175885137034b9f7225788c0a7c35027..1d949b7410600dd3b04a3acde8c41cfe -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -From 1cf0d93c519b9798c4e1476586ed8fa75799b89f Mon Sep 17 00:00:00 2001 +From ee5409ce2b15dd20e4c8be54c85a32a9fbf2a182 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 063/164] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 063/166] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -123079,10 +123079,10 @@ index 8a3b5d29602ffe665cfb26522180f3a696664371..d067976ddc2f34d5476bcd9321856b1c /* Set LED brightness level * Must not sleep. Use brightness_set_blocking for drivers -From af6cf12ab8541697369801ebb756a7776fcfe4a5 Mon Sep 17 00:00:00 2001 +From 4f6e25708e18ce3d9abf02b4daa714366be06c54 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 064/164] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 064/166] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -123181,10 +123181,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..fa72af0c981710fe80bacf4cf6612f6d #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From d4d5514a8eb4bd78c09f0c4aba084d78d977898e Mon Sep 17 00:00:00 2001 +From b5a70af067ad2a1d44f4f56eba2be311d90027a7 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 065/164] Speed up console framebuffer imageblit function +Subject: [PATCH 065/166] 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 @@ -123393,10 +123393,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 0fdd3a68cf5f87f244ce5c67af946d9dda7d06df Mon Sep 17 00:00:00 2001 +From 3708285d2160110ae16b816e5d0b0ad36dcda7e2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 066/164] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 066/166] 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 @@ -123646,10 +123646,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 61052b6f0d029c8c87c33ee8942c7226a1d9c168 Mon Sep 17 00:00:00 2001 +From 7bc5bb89ddcd5accf58bddbdaab0ed75fa3c36ea Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 067/164] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 067/166] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -123699,10 +123699,10 @@ index d6b729beba4930bbb1a1ddc4a6a6b8533bbf94e0..69e8d214f663572319f784fe17032b1e * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From 04a8bcae6ebfb3717c8b7ffe1d25fc2e52e94b5f Mon Sep 17 00:00:00 2001 +From cfd5be5ec98c01be2c7642fa1ccd5144fdbb0a4c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 068/164] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 068/166] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -123738,10 +123738,10 @@ index ae83af649a607f67239f1a64bf45dd4b5770cc7d..4a7af9d0b910f59d17421ce14138400d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From 3f56a1db6bd99180e3511d9f965e6279ecbe4557 Mon Sep 17 00:00:00 2001 +From b1a05267a581976dd450e7ea885e99a41c039aa5 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 069/164] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 069/166] 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 @@ -124036,10 +124036,10 @@ index 0000000000000000000000000000000000000000..b27dbee8f56773dbd2a5503dc864747d +MODULE_DESCRIPTION("Touchscreen driver for memory based FT5406"); +MODULE_LICENSE("GPL"); -From 2ad1df751925fea95aee5645c2f290174ae32007 Mon Sep 17 00:00:00 2001 +From 0505fe0f981471a2da36d69bea2a140869861019 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 070/164] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 070/166] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -125595,10 +125595,10 @@ index 6bd1089b07e0960830ed6bd6a8345202b7efd8b0..cd17dd11ebe7bbe00089e70cd2ccea74 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From 6d92bab505ea3a9d5edcb36d81be5869bf32578a Mon Sep 17 00:00:00 2001 +From 8bb397ad6f8df7471729f729f8a83c6a4bd07f4e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 071/164] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 071/166] 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 @@ -125633,10 +125633,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From d1bd193cf364ecc3632d54899122fa6c33acc3cf Mon Sep 17 00:00:00 2001 +From 8bc85866207a458990d0797b3657cb4aea74691f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 072/164] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 072/166] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -126501,10 +126501,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 7126e42c498bb9b1326e211dd23e3a949bc7919e Mon Sep 17 00:00:00 2001 +From d75136662ba21442fee3f4ff30b7d0882598ddf6 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 073/164] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 073/166] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -126678,10 +126678,10 @@ index 0000000000000000000000000000000000000000..29ecc08a227cdd4b3c6141935d0c5d21 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From d0714621d973b770793a062bbcae0909b8764608 Mon Sep 17 00:00:00 2001 +From 815fcbc0bb68545c5b4c15fade7fef93af98a26e Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 074/164] ASoC: Add support for Rpi-DAC +Subject: [PATCH 074/166] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -126965,10 +126965,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 2ce853f5042df74a1af892dc11e2fbce362d4975 Mon Sep 17 00:00:00 2001 +From 175ccb185e82db28050d7c8d88a55c8c7d80d918 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 075/164] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 075/166] 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 @@ -127017,10 +127017,10 @@ index 8d914702cae4a3fe2c0ca0599cd1ec79f7322c83..c846716b4ed1027ade5512e8be90801d .dapm_widgets = wm8804_dapm_widgets, .num_dapm_widgets = ARRAY_SIZE(wm8804_dapm_widgets), -From 1475ded3f70d7226d47fcbd175cdb85a091b7d28 Mon Sep 17 00:00:00 2001 +From 73aafe84903a63103f5852bc265943a2f0e6ec53 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 076/164] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 076/166] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -127308,10 +127308,10 @@ index 0000000000000000000000000000000000000000..9840e15d3e2be6396bc3ce6e74749408 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From d86443bad7ea828e6f676a1ef94a5c09defdabd9 Mon Sep 17 00:00:00 2001 +From 44608946ac4a9d291e2f66d851a4c5d5f4dcef03 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 077/164] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 077/166] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -127641,10 +127641,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From f795f9dd79ddd8deeaeb79b2f9334fefa4b9a8e3 Mon Sep 17 00:00:00 2001 +From d652a484dca45cc87707e7d69fb28cec2de5e2a5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 078/164] iqaudio-dac: Compile fix - untested +Subject: [PATCH 078/166] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -127668,10 +127668,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From 40ca8076727f3cb181ba16cddd68e5ea8c105779 Mon Sep 17 00:00:00 2001 +From e9ec0cfbebdfa9d88b141ec1ce9ed06a3104472f Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 079/164] Added support for HiFiBerry DAC+ +Subject: [PATCH 079/166] 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. @@ -128300,10 +128300,10 @@ index 047c48953a20cd4075000ac294a17fe59baedcde..090fe0ee08e8765f9edbb62777413bb6 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From d20863fd6f6552769150a340b17ff708dd6f9e1a Mon Sep 17 00:00:00 2001 +From 7eb62fe8cff98ee03073b961e3fb679131530e0f Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 080/164] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 080/166] 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. @@ -129135,10 +129135,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From bcba0b9f5eb84e0135e1598798723f7b8d548de7 Mon Sep 17 00:00:00 2001 +From 150c1588972d9d814c3770af6254a6138ea7311b Mon Sep 17 00:00:00 2001 From: "Daniel Matuschek (HiFiBerry)" Date: Tue, 26 Jul 2016 19:16:25 +0200 -Subject: [PATCH 081/164] Added HiFiBerry Digi+ Pro driver +Subject: [PATCH 081/166] Added HiFiBerry Digi+ Pro driver Signed-off-by: Daniel Matuschek --- @@ -129246,10 +129246,10 @@ index 9840e15d3e2be6396bc3ce6e74749408cc28c333..52ab9dea2e724c4238986ca53c59c849 ret = snd_soc_register_card(&snd_rpi_hifiberry_digi); -From f323305e2963078a92e843fd4bd367007205be6b Mon Sep 17 00:00:00 2001 +From 4843c4b77ac62eb9373eb168031ad21e2c30f62d Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 082/164] Update ds1307 driver for device-tree support +Subject: [PATCH 082/166] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -129276,10 +129276,10 @@ index 8e1c5cb6ece6f60619e5cafcea4271e056d96778..f9536679b270a39a4d9639fdbd3420fe .driver = { .name = "rtc-ds1307", -From 0e9df7c8a2737727726f970a1d699a42f2095a41 Mon Sep 17 00:00:00 2001 +From ce42d698a83322ffe847bfd5f679a2add47ddbc1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 083/164] Add driver for rpi-proto +Subject: [PATCH 083/166] 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 @@ -129495,10 +129495,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From b5321a50e000be6fbbb933ad4a706cfeb4f5539d Mon Sep 17 00:00:00 2001 +From cd5d30d27c4bbec7f3dd7ff0bf09516e4d617b00 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 084/164] RaspiDAC3 support +Subject: [PATCH 084/166] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -129741,10 +129741,10 @@ index 0000000000000000000000000000000000000000..dd9eeea2af0382307f437e6db09d1546 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 1716878e7170a1c1b6ee0068cd9d52436453b310 Mon Sep 17 00:00:00 2001 +From 1339db4f62bc01034b5766e8ee7bd98c84221fe1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 9 Aug 2016 14:49:23 +0100 -Subject: [PATCH 085/164] tpa6130a2: Add headphone switch control +Subject: [PATCH 085/166] tpa6130a2: Add headphone switch control Signed-off-by: Jan Grulich --- @@ -129853,10 +129853,10 @@ index f1ea052a822e1f584eb55cbc876b8e079e813ccd..3bf0163956c5665683d7950798df527f { struct tpa6130a2_data *data = snd_soc_component_get_drvdata(component); -From 052bac5e7024865fc24c551c8346d94e57ff2ccf Mon Sep 17 00:00:00 2001 +From 49675064613b1267c75c22456ec8320b71901147 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 9 Aug 2016 14:49:29 +0100 -Subject: [PATCH 086/164] Revert "tpa6130a2: Add headphone switch control" +Subject: [PATCH 086/166] Revert "tpa6130a2: Add headphone switch control" This reverts commit 860574af506a7a28782ca373feb880e7846943f9. --- @@ -129965,10 +129965,10 @@ index 3bf0163956c5665683d7950798df527fa1b57b59..f1ea052a822e1f584eb55cbc876b8e07 { struct tpa6130a2_data *data = snd_soc_component_get_drvdata(component); -From 74a09e11382246d9a5700426ac786d8f45128ac8 Mon Sep 17 00:00:00 2001 +From d00864d4890271f13cb184f81ef9cef3d57d4540 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 087/164] Add Support for JustBoom Audio boards +Subject: [PATCH 087/166] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -130422,10 +130422,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 488af72241badf484df31ab2754a9908329b2042 Mon Sep 17 00:00:00 2001 +From c11e7e72d8f02b7d63022e679fb69bd693ec83d5 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 088/164] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 088/166] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -130607,10 +130607,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From b008636acecebd1991b25c5e8d8e80b921646d34 Mon Sep 17 00:00:00 2001 +From c6c817b69f6d32e74459c2dcfac69e77c0af1aaa Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 089/164] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 089/166] 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. @@ -130859,10 +130859,10 @@ index 0000000000000000000000000000000000000000..5ff0985e07efb96b95634a65995f09f7 +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 76d796ef052134d5a1e4a041946d223f9c339241 Mon Sep 17 00:00:00 2001 +From 67ccb9e272fe9439864b6ff5e6c3385296b92dce Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 090/164] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 090/166] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -131162,10 +131162,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 7cfde1b0ec9dac1c4065569cc60b82eb985994a8 Mon Sep 17 00:00:00 2001 +From 03fed03333953e9ed7be17b4dbbd9a788b290087 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 091/164] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 091/166] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -131638,10 +131638,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 3c49f806fa6a7dbdfbf5b30052124fe336e74091 Mon Sep 17 00:00:00 2001 +From ce9eca07c3fed3f9e38d5f1a59a54d207421aa68 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 092/164] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 092/166] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -131814,10 +131814,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From b03bff37db2db9dbd905bab6567e804443c46e2e Mon Sep 17 00:00:00 2001 +From e8b651db9bb4fdcd5cbb787b618b95d3da5444de Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 093/164] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 093/166] 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, @@ -132024,10 +132024,10 @@ index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From c154780e5e7fbb00e7dbca9aaf6ae5a16f089921 Mon Sep 17 00:00:00 2001 +From a74a003faf0d2a0ee3f0d5e7f66b01342a1c8877 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 094/164] rpi_display: add backlight driver and overlay +Subject: [PATCH 094/166] 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 @@ -132196,10 +132196,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From b0b595375579a03660d1415d0ce2d90b95a87c63 Mon Sep 17 00:00:00 2001 +From 4c0e0d3a4083a1e2d6279c56e9a42f5bded1e0ba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 095/164] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 095/166] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -132425,10 +132425,10 @@ index 0000000000000000000000000000000000000000..f3e0f1620b979e4fa3c7e556eb785ac2 +MODULE_DESCRIPTION("brcmvirt GPIO driver"); +MODULE_ALIAS("platform:brcmvirt-gpio"); -From 2331cdeab9887cb7b1e04cf0346762e0e09b64fd Mon Sep 17 00:00:00 2001 +From 3a5212345ea565d17246cde874e412fbfa3e60f8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 4 Mar 2016 12:49:09 +0000 -Subject: [PATCH 096/164] DRM_VC4: Allow to be built for ARCH_BCM270x +Subject: [PATCH 096/166] DRM_VC4: Allow to be built for ARCH_BCM270x --- drivers/gpu/drm/vc4/Kconfig | 2 +- @@ -132447,10 +132447,10 @@ index e53df59cb139f25f8e6ae916bca93abf0c49e063..f6e938208b73512f20eab46a383ca91b select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER -From 521c940d1cc75adef3a26540109f9d7ccdc3f025 Mon Sep 17 00:00:00 2001 +From ca47741dfae891a77a7b10d57eef11c8a4c0aed6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 097/164] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 097/166] 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 @@ -132479,10 +132479,10 @@ index 8a9e213387a79fcc335caad27520a68edf03f446..4a5a1c5cf9b345e255f4d79714a7ae46 uap->old_cr = 0; uap->port.dev = dev; -From fc5207e777a6ae24b4863b24e46bd82eed68d797 Mon Sep 17 00:00:00 2001 +From 79e500251c7c386906f35678f38f7b0832d0be4a Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 098/164] OF: DT-Overlay configfs interface +Subject: [PATCH 098/166] 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. @@ -132914,10 +132914,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 0853e3aadc0fe5a05d98d0c867bb60d291f84cbe Mon Sep 17 00:00:00 2001 +From 90495d981a3b47fd7cb18fd910f61c7b80c32c8a Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 099/164] brcm: adds support for BCM43341 wifi +Subject: [PATCH 099/166] brcm: adds support for BCM43341 wifi --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 ++ @@ -132957,10 +132957,10 @@ index 3cc42bef6245529c37320f0ec6ab5e7b77f1d2f6..2ae9d0c9dbaaab6bc16610ac012039cd #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From cba620cb7a5a988aa167eaea07eaa79be6eca3fd Mon Sep 17 00:00:00 2001 +From 52ccebbe330ba625010e2f25292fdecf91979398 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 17:25:59 +0000 -Subject: [PATCH 100/164] brcmfmac: Disable power management +Subject: [PATCH 100/166] brcmfmac: Disable power management Disable wireless power saving in the brcmfmac WLAN driver. This is a temporary measure until the connectivity loss resulting from power @@ -132985,10 +132985,10 @@ index abaf003a5b396f94e891c6569217ffbb595987e1..f6221c20ff8e2c07a9ddb329204cc59c if (!check_vif_up(ifp->vif)) { -From 3dfa53d910eb7b34a91b057b86e25837e539e1f8 Mon Sep 17 00:00:00 2001 +From 9571da1bd1b3feebfd6ba06e3c208c12a7f76488 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 28 Apr 2016 17:13:47 +0100 -Subject: [PATCH 101/164] brcmfmac: Use original country code as a fallback +Subject: [PATCH 101/166] brcmfmac: Use original country code as a fallback Commit 73345fd212980d2e28a5c6d83801c903bd773680: @@ -133047,10 +133047,10 @@ index f6221c20ff8e2c07a9ddb329204cc59ce574117b..12bffe239e9d28ce8f73db48b3f5759f ccreq->country_abbrev[1] = alpha2[1]; ccreq->country_abbrev[2] = 0; -From 90f55b8f5103768bc16fdc3e0ed2ada4549771a1 Mon Sep 17 00:00:00 2001 +From a2483583da6aceed0fa1e6b6f4120796208457a6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 13 Sep 2016 16:32:37 +0100 -Subject: [PATCH 102/164] brcmfmac: do not use internal roaming engine by +Subject: [PATCH 102/166] brcmfmac: do not use internal roaming engine by default Some evidence of curing disconnects with this disabled, so make it a default. @@ -133074,10 +133074,10 @@ index 3e15d64c64813513bc22202dd9e468588699abb0..4051780f64f44a5ce522babe6c371a1b MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine"); -From 782386a4347f0686acfe44393e0d39f765668de8 Mon Sep 17 00:00:00 2001 +From fdfb314d92ae30a14602715f7a9c6c1037be7c94 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 Aug 2016 17:10:09 +0100 -Subject: [PATCH 103/164] brcmfmac: Change stop_ap sequence +Subject: [PATCH 103/166] brcmfmac: Change stop_ap sequence Patch from Broadcom/Cypress to resolve a customer error @@ -133110,10 +133110,10 @@ index 12bffe239e9d28ce8f73db48b3f5759ffe550162..0c3cecb22763db2db5ccbc1789f50b2b brcmf_fil_iovar_int_set(ifp, "mbss", 0); err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_REGULATORY, -From d50b946478dbde39003512fb1063c66e5b38b31d Mon Sep 17 00:00:00 2001 +From bd13d6ae0b592a4e8bb080e1e293b77c60a84012 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 104/164] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 104/166] 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. @@ -133136,10 +133136,10 @@ index 0879d64b1caf58afb6e5d494c07d9ab7e7cdf983..5161ab30fd533d50f516bb93d5b9f402 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From b80d061c12fcc16a1e07c58f31bfb04796907355 Mon Sep 17 00:00:00 2001 +From 1317c15da8aad9a8997a43392a4cedcaab2cbaa5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 22 Jan 2016 13:06:39 -0800 -Subject: [PATCH 105/164] drm/vc4: Add a debugfs node for tracking execution +Subject: [PATCH 105/166] drm/vc4: Add a debugfs node for tracking execution state. Signed-off-by: Eric Anholt @@ -133199,10 +133199,10 @@ index ae1609e739ef424d99207f830cd2bac41ce71557..26dc4f5b491e2e7fcd1a28dcc8ef0cbe vc4_queue_hangcheck(struct drm_device *dev) { -From 99816377ca332391180d1ea82612884a88429a0f Mon Sep 17 00:00:00 2001 +From daaf8ce8d46a0128d4b108b114e6707331b1b2ba Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:03:33 -0800 -Subject: [PATCH 106/164] drm/vc4: Include vc4_drm.h in uapi in downstream +Subject: [PATCH 106/166] drm/vc4: Include vc4_drm.h in uapi in downstream build. Signed-off-by: Eric Anholt @@ -133223,10 +133223,10 @@ index 9355dd8eff3ba39401dfe37e7fbf7737f0397f11..68828bf586f05a8d9b0a6ab409ee91a7 header-y += vmwgfx_drm.h header-y += msm_drm.h -From 24c1c95ae8b96f40c1a273b1e330215d3d1c62eb Mon Sep 17 00:00:00 2001 +From b41fd030a9feac7a54486dbed0435808f6a55a2c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Oct 2015 11:32:14 -0700 -Subject: [PATCH 107/164] drm/vc4: Force HDMI to connected. +Subject: [PATCH 107/166] drm/vc4: Force HDMI to connected. For some reason on the downstream tree, the HPD GPIO isn't working. @@ -133249,10 +133249,10 @@ index 4452f3631cacea37bbd5dc8a594367631e308adc..3a622f70a077c2ebe214830f5d700cd8 if (gpio_get_value_cansleep(vc4->hdmi->hpd_gpio) ^ vc4->hdmi->hpd_active_low) -From c1455863ee4f8cb17e9ec4e16e56cfe087b1eeb7 Mon Sep 17 00:00:00 2001 +From df19d2553dc7762306a27cab95bf340b0211d885 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 108/164] config: Add default configs +Subject: [PATCH 108/166] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1294 +++++++++++++++++++++++++++++++++++ @@ -135871,10 +135871,10 @@ index 0000000000000000000000000000000000000000..cfe21355f7d95326b292be1b018b988f +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From aa5c852274690a7ea13451238d5ae709d5ae979f Mon Sep 17 00:00:00 2001 +From a15675076f88004983cf30f64afd124e33b78141 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 109/164] Add arm64 configuration and device tree differences. +Subject: [PATCH 109/166] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -137277,10 +137277,10 @@ index 0000000000000000000000000000000000000000..1fcde8c1329bbfd329245a8bb1769199 +CONFIG_LIBCRC32C=y +CONFIG_BCM2708_VCHIQ=n -From b650382bc5222883b04fb38973bd769c22ee4a08 Mon Sep 17 00:00:00 2001 +From 07b23522fe4674353307adb702bb71d27ce22e39 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Oct 2016 16:10:59 +0100 -Subject: [PATCH 110/164] bcm2835-cpufreq: Only report a single frequency when +Subject: [PATCH 110/166] bcm2835-cpufreq: Only report a single frequency when max and min frequencies are the same 4.8 kernel gives EINV error when max and min frequencies are the same (e.g. from using force_turbo=1) @@ -137349,10 +137349,10 @@ index 3eb9e9326231b08e6ee95ad486485245c71cf868..414fbdc10dfbfc6e4bb47870a7af3fd5 /* the CPUFreq driver */ -From e1086983e04a14818420aa0c6e1101fca47c9e09 Mon Sep 17 00:00:00 2001 +From 4d688f3c1b6845abcd442ef18f41243595bf6343 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 7 Oct 2016 12:37:09 +0100 -Subject: [PATCH 111/164] scripts/mkknlimg: Change string for DDT detection +Subject: [PATCH 111/166] scripts/mkknlimg: Change string for DDT detection The old "of_overlay_apply" string does not appear in 4.8 kernel builds. "of_cfs_init" is both present and a more accurate indication of support @@ -137379,10 +137379,10 @@ index 78c5845d2f01deb04b477327d83fa60624f87f98..a21f7e31bc904233e980e66ae3e6337e my $res = try_extract($kernel_file, $tmpfile1); -From 1053e637ad132ad30385a0d0a3bec9f9ddaad19a Mon Sep 17 00:00:00 2001 +From e756b0f1ca6aec4c57bb5ac6aa61ad214328c56b Mon Sep 17 00:00:00 2001 From: Herve Jourdain Date: Fri, 20 May 2016 16:02:23 +0800 -Subject: [PATCH 112/164] build: support for .dtbo files for dtb overlays +Subject: [PATCH 112/166] build: support for .dtbo files for dtb overlays Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. Patch the kernel, which has faulty rules to generate .dtbo the way yocto does @@ -137424,10 +137424,10 @@ index 1d949b7410600dd3b04a3acde8c41cfead15bfa4..1967878a843461c3ff1f473b9a030eb0 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -From e529c579dd807460f2b9c6c7b9e1f4ff8a36941b Mon Sep 17 00:00:00 2001 +From 0d4ea075c031d92b21e0bf3e69ccaa88ba534fd5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 6 Oct 2016 19:42:55 -0700 -Subject: [PATCH 113/164] [media]bcm2835-camera: fix compilation warning/werror +Subject: [PATCH 113/166] [media]bcm2835-camera: fix compilation warning/werror | /a/builder/mnt/build/tmp-glibc/work-shared/raspberrypi3/kernel-source/drivers/media/platform/bcm2835/bcm2835-camera.c:656:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types ] @@ -137457,10 +137457,10 @@ index 70f4db2741037381e638d1dda5a95478809eb161..cb5bab642eaab2f60d641801dd0afdac struct bm2835_mmal_dev *dev = vb2_get_drv_priv(vq); unsigned long size; -From bfd98d3affbe0dbfb8cc9871d8186e6f54081946 Mon Sep 17 00:00:00 2001 +From 66e1f416f3ddc925eea2f7335484f4ccfd82f0f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 8 Oct 2016 16:26:46 +0200 -Subject: [PATCH 114/164] bcm2709: Drop platform smp and timer init code +Subject: [PATCH 114/166] bcm2709: Drop platform smp and timer init code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -137635,10 +137635,10 @@ index 90773a30b87abbfda1615326c6faf59b9db6d68e..d4c9d57d78a964fbbf799b534471462d .init_early = bcm2709_init_early, .reserve = board_reserve, -From 06b405d4ba1f3f52b496a63d7f113b8cf327d05a Mon Sep 17 00:00:00 2001 +From 5fe3a00c42ed6451492a7ff46d8ef0f07f8a130f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 3 Oct 2016 17:53:15 +0200 -Subject: [PATCH 115/164] BCM270X_DT: Use bcm283x.dtsi, bcm2835.dtsi and +Subject: [PATCH 115/166] BCM270X_DT: Use bcm283x.dtsi, bcm2835.dtsi and bcm2836.dtsi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -138767,10 +138767,10 @@ index 223bd9627b3dcaac5458909dc59c877eed751ce4..491594c918cf5da94fbb19a606edb0dd +}; +#endif -From 69425b8b64f5211d6751759053ab81cb9f456a6f Mon Sep 17 00:00:00 2001 +From eb75221509d7e03629662e66251f24b2ce27d936 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 116/164] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 116/166] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -138894,10 +138894,10 @@ index 4dddd8298a227d64862f2e92954a465f2e44b3f6..1f545e024422f59280932713e6a1b051 register_restart_handler(&wdt->restart_handler); if (pm_power_off == NULL) -From 163f8c9a03261e521f352e6840a9c96c4d00c434 Mon Sep 17 00:00:00 2001 +From a67a88dbcebcc7fd6dd098dc58b6d1c28dd8b68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 17:07:46 +0200 -Subject: [PATCH 117/164] bcm270x: Use watchdog for reboot/poweroff +Subject: [PATCH 117/166] bcm270x: Use watchdog for reboot/poweroff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139156,10 +139156,10 @@ index d4c9d57d78a964fbbf799b534471462d3c3b88f1..ed5c5414f7a3ad7284cda881e9e55077 module_param(serial, uint, 0644); -module_param(reboot_part, uint, 0644); -From c779ba297d9bc20c6b94bbb54983d2b5de5d70f2 Mon Sep 17 00:00:00 2001 +From 74e32110c046736c4554d4d46348e67d78bdbea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:35:40 +0200 -Subject: [PATCH 118/164] bcm270x: Remove dead files +Subject: [PATCH 118/166] bcm270x: Remove dead files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139360,10 +139360,10 @@ index 6aa68260dd866c83527dffece8de483913231fb3..00000000000000000000000000000000 - */ -#define VMALLOC_END (0xff000000) -From ad7c997f88722b899430c148b5d1b56f84dffcb3 Mon Sep 17 00:00:00 2001 +From b05e89b90327bc920710b7e5fd01aecdfe608dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:37:43 +0200 -Subject: [PATCH 119/164] bcm270x: Drop bcm2835-aux-uart hack +Subject: [PATCH 119/166] bcm270x: Drop bcm2835-aux-uart hack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139443,10 +139443,10 @@ index ed5c5414f7a3ad7284cda881e9e550777cd29282..9a1ad48d13172856e3ec748db015cb95 system_serial_low = serial; } -From cc4b712ea6df48fbc554d3cc7f93bbfc31418d7f Mon Sep 17 00:00:00 2001 +From 22c1c56e2e8d50acf8064fd5534b36a73089648c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:39:30 +0200 -Subject: [PATCH 120/164] Revert "bcm2835: Add support for uart1" +Subject: [PATCH 120/166] Revert "bcm2835: Add support for uart1" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139504,10 +139504,10 @@ index 0ef5cd3d1d6ec420360294acc98d40d698d38d8a..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 531840b4db7e33129d7b13014f9206ff334fc32d Mon Sep 17 00:00:00 2001 +From f79c819200f0d0b9d8e22636507c1d1807d261b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:41:26 +0200 -Subject: [PATCH 121/164] bcm270x: Remove unnecessary of_platform_populate +Subject: [PATCH 121/166] bcm270x: Remove unnecessary of_platform_populate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139582,10 +139582,10 @@ index 9a1ad48d13172856e3ec748db015cb95cd110b76..d2762f558f644ac87c56ba9402a638a3 system_serial_low = serial; } -From 030daf0f112f19557805ec9a0a26891e2fd4c0d4 Mon Sep 17 00:00:00 2001 +From c4d21f5045fe97dcba843f0fa817b71fe3ad659b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:46:27 +0200 -Subject: [PATCH 122/164] bcm270x: Remove 4MB dma coherent pool +Subject: [PATCH 122/166] bcm270x: Remove 4MB dma coherent pool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139666,10 +139666,10 @@ index d2762f558f644ac87c56ba9402a638a3c7a26397..d0e43619669e851350c5d9d7bb7e9dd1 .dt_compat = bcm2709_compat, MACHINE_END -From b0f0835921cdc309f1c316b55f760d5ea97bf5ba Mon Sep 17 00:00:00 2001 +From 28ac8336bf1d82c92aa73e7869a4b1a76d902e88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 19:26:42 +0200 -Subject: [PATCH 123/164] bcm270x: Drop map_io device mapping +Subject: [PATCH 123/166] bcm270x: Drop map_io device mapping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -140618,10 +140618,10 @@ index de7504bfc20ba24be8707861b8389783860adb77..00000000000000000000000000000000 - */ -#define arch_decomp_wdog() -From 5397c49c97f36978916d7413ef6ab4d628d0d7ac Mon Sep 17 00:00:00 2001 +From 4c0584d7e48ad939de422d4ad70d42f00377b920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 19:37:06 +0200 -Subject: [PATCH 124/164] bcm270x: Use DT_MACHINE_START +Subject: [PATCH 124/166] bcm270x: Use DT_MACHINE_START MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -140703,10 +140703,10 @@ index b52d949ee91d96eb7672fbbb4969bfa1e7afc376..2ed1b8a922ed02b9e3545991873af77b ics_if_voip MACH_ICS_IF_VOIP ICS_IF_VOIP 3206 wlf_cragg_6410 MACH_WLF_CRAGG_6410 WLF_CRAGG_6410 3207 -From bcf2ecc145e4ad033dbd1fa5f6fc9ead0726c318 Mon Sep 17 00:00:00 2001 +From 645ea0802676f2227b0b85e647e53e952e378edf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 11 Oct 2016 17:48:07 +0100 -Subject: [PATCH 125/164] Use DT rather than modules params for board rev and +Subject: [PATCH 125/166] Use DT rather than modules params for board rev and serial --- @@ -140800,10 +140800,10 @@ index 9cf36118e57b3c362de9adcf089425023d4a601d..9f113736627175bdcb362e0eda469e09 -module_param(boardrev, uint, 0644); -module_param(serial, uint, 0644); -From 30209d500d1a96f569bd8fe2017a2b2424fec2a6 Mon Sep 17 00:00:00 2001 +From 18bf5b52ccaaee636a14458dc7e3831bb20f2dd9 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 126/164] Register the clocks early during the boot process, so +Subject: [PATCH 126/166] 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. @@ -140849,10 +140849,10 @@ index fbf616021704178a9d007219a0ea2a9f1704f0a6..cbbc8d4ddcffc797268c0ecb6477005f MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From cfe0b81dce68687d6f9a11b8d10fa9e9c55c5587 Mon Sep 17 00:00:00 2001 +From d0d56d33e3bd55e4e10c65d01fa2cf4336982b21 Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Tue, 27 Sep 2016 04:29:00 -0400 -Subject: [PATCH 127/164] Add Adafruit pitft35 touchscreen support (#1657) +Subject: [PATCH 127/166] Add Adafruit pitft35 touchscreen support (#1657) The dts comes from the Adafruit repository @@ -141057,10 +141057,10 @@ index 952104ab6c4cd0e9d8f7bd5f2fba7a72da75424e..26fa6c2b6b6d745178e666465ba226af CONFIG_FB_TFT_ILI9320=m CONFIG_FB_TFT_ILI9325=m -From aeba0295c776b0990dccc7d1d92b485ae1f19d8b Mon Sep 17 00:00:00 2001 +From 554c03e634b27531582f6d14a976d306de42af5f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Oct 2016 15:06:20 +0100 -Subject: [PATCH 128/164] BCM270X_DT: Update CM3 to use sdhost interface +Subject: [PATCH 128/166] BCM270X_DT: Update CM3 to use sdhost interface --- arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 9 ++++----- @@ -141096,57 +141096,10 @@ index b5a5ae7747455438f8eabd28e8c11c6aeb0c1ecc..d13e3d4dac4e198c8cac451e3f64ef68 bus-width = <4>; status = "okay"; -From b0266e0382c2ae151653f7319d2de52080d6be30 Mon Sep 17 00:00:00 2001 -From: popcornmix -Date: Tue, 11 Oct 2016 18:10:17 +0100 -Subject: [PATCH 129/164] Revert "Register the clocks early during the boot - process," - -This reverts commit bcc804ce3dfd5eb4800c9dd77370da7e7913f77d. ---- - drivers/clk/bcm/clk-bcm2835.c | 17 +++-------------- - 1 file changed, 3 insertions(+), 14 deletions(-) - -diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index cbbc8d4ddcffc797268c0ecb6477005fa14e228b..fbf616021704178a9d007219a0ea2a9f1704f0a6 100644 ---- a/drivers/clk/bcm/clk-bcm2835.c -+++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1891,15 +1891,8 @@ static int bcm2835_clk_probe(struct platform_device *pdev) - if (ret) - return ret; - -- ret = of_clk_add_provider(dev->of_node, of_clk_src_onecell_get, -- &cprman->onecell); -- if (ret) -- return ret; -- -- /* note that we have registered all the clocks */ -- dev_dbg(dev, "registered %d clocks\n", asize); -- -- return 0; -+ return of_clk_add_provider(dev->of_node, of_clk_src_onecell_get, -+ &cprman->onecell); - } - - static const struct of_device_id bcm2835_clk_of_match[] = { -@@ -1916,11 +1909,7 @@ static struct platform_driver bcm2835_clk_driver = { - .probe = bcm2835_clk_probe, - }; - --static int __init __bcm2835_clk_driver_init(void) --{ -- return platform_driver_register(&bcm2835_clk_driver); --} --core_initcall(__bcm2835_clk_driver_init); -+builtin_platform_driver(bcm2835_clk_driver); - - MODULE_AUTHOR("Eric Anholt "); - MODULE_DESCRIPTION("BCM2835 clock driver"); - -From d1c9e185a7b617296801fbf02ed517e8ce24f273 Mon Sep 17 00:00:00 2001 +From bcc978a85ab882be6fc37f7e7bce4ac7b58a790b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 12 Oct 2016 15:10:14 +0100 -Subject: [PATCH 130/164] mmc: info (not err) msg on clock probe deferral +Subject: [PATCH 129/166] mmc: info (not err) msg on clock probe deferral --- drivers/mmc/host/bcm2835-mmc.c | 5 ++++- @@ -141188,10 +141141,10 @@ index 23dea422182534e248435aeaee3ecb5da69c0d33..9e55d5ac08b5809c40fe391ae6e685fd } -From e8dc9501fe7ad88e5da5a00cc659f8c89714da79 Mon Sep 17 00:00:00 2001 +From 9cf648a12cbfcab6bb37a11fd0cd145c3b4cfaae Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 15 Oct 2016 11:49:52 -0700 -Subject: [PATCH 131/164] ARM64: Modify default config to get raspbian to boot +Subject: [PATCH 130/166] ARM64: Modify default config to get raspbian to boot (#1686) 1. Enable emulation of deprecated instructions. @@ -141256,10 +141209,10 @@ index 1fcde8c1329bbfd329245a8bb17691999882ccfc..d7406f5a4620151044b8f716b4d10bb8 CONFIG_MFD_STMPE=y CONFIG_STMPE_SPI=y -From b9d16535c598c898266b8dcc0e5a29fbfe2e3724 Mon Sep 17 00:00:00 2001 +From 69c6917cd07aef554246695f6bfd504756af45c2 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 132/164] Support for Blokas Labs pisound board +Subject: [PATCH 131/166] Support for Blokas Labs pisound board --- .../devicetree/bindings/vendor-prefixes.txt | 1 + @@ -142485,10 +142438,10 @@ index 0000000000000000000000000000000000000000..b156e5793e4c482385dedafd85bbf190 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 0f37e566d9f98adc6a1663ea0484e63dcb2e0f38 Mon Sep 17 00:00:00 2001 +From 9cab0dccd1704e72214985bdd10ada4122839dac Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Tue, 25 Oct 2016 01:47:20 +0300 -Subject: [PATCH 133/164] FIXUP: pisound: Fix a warning in DEBUG builds +Subject: [PATCH 132/166] FIXUP: pisound: Fix a warning in DEBUG builds Also change a macro that enables debug level printing from DEBUG to PISOUND_DEBUG. @@ -142519,10 +142472,10 @@ index b156e5793e4c482385dedafd85bbf190acc8162b..a3cd089a01447bdb6741ed6bba3b21d4 } -From 3280e800f566885bdbaff4bef35b41e500629c4d Mon Sep 17 00:00:00 2001 +From b1e0f810c72856b13d822dc701608e2983866e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 16:25:41 +0200 -Subject: [PATCH 134/164] bcm270x: Remove bcm2708_reboot_mode parameter +Subject: [PATCH 133/166] bcm270x: Remove bcm2708_reboot_mode parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142556,10 +142509,10 @@ index 0a0332cb13a7475ee0c4d75a97685b7de6475c95..612eb530f33fcd19bc4539facb26fc30 { unsigned long flags; -From 327ff13907fefdffa78ec467131142335fdfd700 Mon Sep 17 00:00:00 2001 +From e3eb9040e084694b352e4e9a23a38d77654be8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 15:54:41 +0200 -Subject: [PATCH 135/164] bcm270x: Remove NEED_MACH_IO_H +Subject: [PATCH 134/166] bcm270x: Remove NEED_MACH_IO_H MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142676,10 +142629,10 @@ index e6eb84d71006db417dbd0afc4d08d3b19b09a619..00000000000000000000000000000000 - -#endif -From 7f1ca8e80668702796090d5702acaa286c7457f1 Mon Sep 17 00:00:00 2001 +From 738064dcb06e604a76c020a63d71207a88c3e2b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 16:01:01 +0200 -Subject: [PATCH 136/164] dwc_otg: Pass struct device to dma_alloc*() +Subject: [PATCH 135/166] dwc_otg: Pass struct device to dma_alloc*() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143304,10 +143257,10 @@ index 5624f32c9ea9117599df451af29fca2e3bca36de..50aaeacdd12fff93d7a9cf1c54612367 if (!otg_dev->pcd) { DWC_ERROR("dwc_otg_pcd_init failed\n"); -From 0776837a2552dfd5e502e3c6347fd3667f452dcd Mon Sep 17 00:00:00 2001 +From bed113d0445cec9bf554f220d3a69b895ff65f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 16:05:36 +0200 -Subject: [PATCH 137/164] mmc: bcm2835-sdhost: Pass struct device to +Subject: [PATCH 136/166] mmc: bcm2835-sdhost: Pass struct device to dma_alloc*() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -143357,10 +143310,10 @@ index 9e55d5ac08b5809c40fe391ae6e685fdb4d62df7..a9bc79bfdbb71807819dfe2d8f165144 mmc_of_parse(mmc); else -From 5bc42c8bf4b354d74794382cdd024beb61a18985 Mon Sep 17 00:00:00 2001 +From aba54324606fb8dd631d970767ca9fa77cdd8d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 16:16:48 +0200 -Subject: [PATCH 138/164] bcm270x: Drop NEED_MACH_MEMORY_H and use DT +Subject: [PATCH 137/166] bcm270x: Drop NEED_MACH_MEMORY_H and use DT dma-ranges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -143615,10 +143568,10 @@ index 7548a52dcf84affa4d1b0667e5e2f89f591891b8..00000000000000000000000000000000 - -#endif -From b591582d33b52b742d49c1d415e18e6c99e0ae8f Mon Sep 17 00:00:00 2001 +From 846c524d415a53735537caa099b0d1a28e6e1c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 25 Oct 2016 15:55:09 +0200 -Subject: [PATCH 139/164] dts: Remove bcm2835-rpi-cm.dts +Subject: [PATCH 138/166] dts: Remove bcm2835-rpi-cm.dts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143784,10 +143737,10 @@ index 9c4000fc686a9882b9ddde24fdcf937d52b0f86f..00000000000000000000000000000000 - }; -}; -From e6cb31eb381383f5809322475605944f96418faf Mon Sep 17 00:00:00 2001 +From ca4b4da31461df8f15ac0c9f44779f4af58d7c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 25 Oct 2016 16:00:07 +0200 -Subject: [PATCH 140/164] bcm2708: Convert to ARCH_MULTIPLATFORM +Subject: [PATCH 139/166] bcm2708: Convert to ARCH_MULTIPLATFORM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -144108,10 +144061,10 @@ index 75da978fac0e06819d8a9740b95ee3d7035c1059..662790c8fa9c972bbf3ac7f41b9f5eac obj-$(CONFIG_ARCH_BCM2709) += irq-bcm2836.o obj-$(CONFIG_ARCH_EXYNOS) += exynos-combiner.o -From 6c110ebd6127aaf0abf2e466ea7da918397d3b26 Mon Sep 17 00:00:00 2001 +From 85cda137ab2eb08f020c1914866a8fe3d05463e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 25 Oct 2016 16:02:39 +0200 -Subject: [PATCH 141/164] bcm2709: Convert to ARCH_MULTIPLATFORM +Subject: [PATCH 140/166] bcm2709: Convert to ARCH_MULTIPLATFORM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -144381,10 +144334,10 @@ index 662790c8fa9c972bbf3ac7f41b9f5eace912b69c..4c203b6b816357dce8d7a768ac81feab obj-$(CONFIG_ARCH_HIP04) += irq-hip04.o obj-$(CONFIG_ARCH_LPC32XX) += irq-lpc32xx.o -From 49f4af4492d14a900fcd52a4d87bd160b3dd93f2 Mon Sep 17 00:00:00 2001 +From f658c5d2f828e82fa007468beb9c82da36b72749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 25 Oct 2016 17:32:02 +0200 -Subject: [PATCH 142/164] kconfig: Just use ARCH_BCM2835 for depends on +Subject: [PATCH 141/166] kconfig: Just use ARCH_BCM2835 for depends on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -144715,10 +144668,10 @@ index aed7b47d8736ea3fb1810b0c77916855082f3b2d..d024377e8450fb5402dcb5ea27161f77 select REGMAP_MMIO help -From a5d0da00086e51acd507e4d76e4f95fd16796b9a Mon Sep 17 00:00:00 2001 +From a00a9690b2ca63cea2caa3e7eebdca7a592c5eaf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 28 Oct 2016 13:55:36 +0100 -Subject: [PATCH 143/164] bcm270x: Use dma-ranges unconditionally on bcm2710 +Subject: [PATCH 142/166] bcm270x: Use dma-ranges unconditionally on bcm2710 See: https://github.com/raspberrypi/linux/pull/1699 @@ -144752,10 +144705,10 @@ index 491594c918cf5da94fbb19a606edb0dd9a28c3a9..df1a4ce1cd4e570876b7785b357d6c31 interrupts = <8>; }; -From 7b5f91a65d44dac1c809f81d362a6e77bfcdd805 Mon Sep 17 00:00:00 2001 +From 34fa337cabea0cc65a74363a3653a2367556c981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 27 Oct 2016 21:57:56 +0200 -Subject: [PATCH 144/164] BCM270X_DT: Use raspberrypi-power to turn on USB +Subject: [PATCH 143/166] BCM270X_DT: Use raspberrypi-power to turn on USB power MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -144781,10 +144734,10 @@ index d85c05901c8f55f822b89c32d198f15559a2b4b0..46cf8602c3b96e477b05b57dbfe5e349 + power-domains = <&power RPI_POWER_DOMAIN_USB>; +}; -From 81542c016207c4ea5c673ac0f25a4b7cf76beda3 Mon Sep 17 00:00:00 2001 +From 36b0ea6dad125de8b7196a8a8941752c92248632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 27 Oct 2016 21:58:09 +0200 -Subject: [PATCH 145/164] firmware: bcm2835: Don't turn on USB power +Subject: [PATCH 144/166] firmware: bcm2835: Don't turn on USB power MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -144840,10 +144793,10 @@ index b980d531b35b9981a88356ef1c8a7b868a85f2b5..3f070bd38a91511c986e3fb114b15bd4 } -From dbb94f6d92546a458f7c026541377e7769db76ab Mon Sep 17 00:00:00 2001 +From 6530da1cd8ea612d64b3b235e93a36c706eca548 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 31 Oct 2016 17:35:31 +0000 -Subject: [PATCH 146/164] bcm2835: Increase coherent allocation to 1M for +Subject: [PATCH 145/166] bcm2835: Increase coherent allocation to 1M for dwc_otg bounce buffers --- @@ -144901,10 +144854,10 @@ index 6ce49dea7856b243b38f180231afd25b57dee729..efbd18020479c1cab40ce680446a4259 MACHINE_END #endif -From 1fb0f362fa01d18de299c956f0b8c3a3a3176618 Mon Sep 17 00:00:00 2001 +From 3e1f77e8982670144ee7c0c673d435669a35bc49 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 31 Oct 2016 17:35:57 +0000 -Subject: [PATCH 147/164] dwc_otg: Warn if dma_alloc_coherent fails +Subject: [PATCH 146/166] dwc_otg: Warn if dma_alloc_coherent fails --- drivers/usb/host/dwc_otg/dwc_otg_pcd_linux.c | 1 + @@ -144923,10 +144876,10 @@ index 50aaeacdd12fff93d7a9cf1c54612367406c6bee..e799f15f294706ad7ac328dcb9ce68fb /* Check dword alignment */ if (((int)buf & 0x3UL) != 0) { -From 3687ccf0bed7d514473f139bbc12249f82349ce6 Mon Sep 17 00:00:00 2001 +From 894839562a4cf427fbd7888bb914c06e29f6dbaa Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Fri, 4 Nov 2016 16:13:07 -0700 -Subject: [PATCH 148/164] bcmrpi3_defconfig: Update config to be compatible +Subject: [PATCH 147/166] bcmrpi3_defconfig: Update config to be compatible with latest Kconfig changes. This new config has been run through make savedefconfig. @@ -145182,10 +145135,10 @@ index d7406f5a4620151044b8f716b4d10bb818648e06..cd1d39b467a947a015eb14568086a6ba CONFIG_LIBCRC32C=y -CONFIG_BCM2708_VCHIQ=n -From 84c53a059eceded2c047c2a0071b27833b25ddf0 Mon Sep 17 00:00:00 2001 +From 705b29225cf2ac801175aa7583ae10165fd3d4ef Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 149/164] spi-bcm2835: Remove unused code +Subject: [PATCH 148/166] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -145273,10 +145226,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From ccc550c6e6f5089ea626764f301dd7355a6e13e2 Mon Sep 17 00:00:00 2001 +From bc25958a363c1d0a1adfe40110fbdd252b3f3d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 17 Sep 2016 15:07:10 +0200 -Subject: [PATCH 150/164] i2c: bcm2835: Fix hang for writing messages larger +Subject: [PATCH 149/166] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -145366,10 +145319,10 @@ index d4f3239b56865919e1b781b20a7c5ebcd76b4eb9..f283b714aa79e2e4685ed95b04b6b289 i2c_dev->msg_buf_remaining = msg->len; reinit_completion(&i2c_dev->completion); -From d9afb2ca5b2a1dc5a0e143c6d6ef25147314ff11 Mon Sep 17 00:00:00 2001 +From 2573e98285f18f78134d284be9a47fd8712c4eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 18:24:38 +0200 -Subject: [PATCH 151/164] i2c: bcm2835: Protect against unexpected TXW/RXR +Subject: [PATCH 150/166] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -145494,10 +145447,10 @@ index f283b714aa79e2e4685ed95b04b6b289f7e9eee7..d2ba1a4de36af512e8e3c97251bd3537 return -ETIMEDOUT; } -From 6f08d573999c728aa54cb40f3d1d8a22967e9e4d Mon Sep 17 00:00:00 2001 +From ea726eb2e6c6fe81be267d18cb6c020f25eefc7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 19 Sep 2016 17:19:41 +0200 -Subject: [PATCH 152/164] i2c: bcm2835: Use dev_dbg logging on transfer errors +Subject: [PATCH 151/166] i2c: bcm2835: Use dev_dbg logging on transfer errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -145529,10 +145482,10 @@ index d2ba1a4de36af512e8e3c97251bd3537ae61591a..54d510abd46a117c9238fc6d7edec840 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 31a9c07c25677a41054435f46e9950e138b8daac Mon Sep 17 00:00:00 2001 +From 57302553d0524dea750b2341233611de28512b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 22 Sep 2016 22:05:50 +0200 -Subject: [PATCH 153/164] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK +Subject: [PATCH 152/166] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -145576,10 +145529,10 @@ index 54d510abd46a117c9238fc6d7edec84019d1f60d..565ef69ce61423544dc0558c85ef318b if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) -From 67c001d6ad4e091619eddb1e1387807a0afaeda9 Mon Sep 17 00:00:00 2001 +From 919059640b7ea0b9042258e29269ac3bcb4151ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 04:54:27 +0200 -Subject: [PATCH 154/164] i2c: bcm2835: Add support for Repeated Start +Subject: [PATCH 153/166] i2c: bcm2835: Add support for Repeated Start Condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -145761,10 +145714,10 @@ index 565ef69ce61423544dc0558c85ef318b0ae9c324..241e08ae7c27cec23fad3c1bf3ebad3a static u32 bcm2835_i2c_func(struct i2c_adapter *adap) -From 7ef0bb9cec2f6152f2c98065f680bc9c65cf6cae Mon Sep 17 00:00:00 2001 +From 4700b38113d27319b58b749cdc886333744cfd1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 04:57:17 +0200 -Subject: [PATCH 155/164] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT +Subject: [PATCH 154/166] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -145801,10 +145754,10 @@ index 241e08ae7c27cec23fad3c1bf3ebad3a4d2a8e6f..d2085dd3742eabebc537621968088261 bcm2835_i2c_writel(i2c_dev, BCM2835_I2C_C, BCM2835_I2C_C_CLEAR); -From de85a75c99c7accaeb0663d828a3c633c39ce5a3 Mon Sep 17 00:00:00 2001 +From 27a77fd8ad7aed8af411ed604b0d1173a93887a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 27 Sep 2016 01:00:08 +0200 -Subject: [PATCH 156/164] i2c: bcm2835: Add support for dynamic clock +Subject: [PATCH 155/166] i2c: bcm2835: Add support for dynamic clock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -145920,10 +145873,10 @@ index d2085dd3742eabebc537621968088261f8dc7ea8..c3436f627028477f7e21b47e079fd5ab irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); if (!irq) { -From a1f654c18d571db09c8607ceb07d5e553726c92b Mon Sep 17 00:00:00 2001 +From f16979014f3379b6c3d7096f93a85ed13fe8f931 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 157/164] i2c: bcm2835: Add debug support +Subject: [PATCH 156/166] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146112,10 +146065,10 @@ index c3436f627028477f7e21b47e079fd5ab06ec188a..8642f580ce41803bd22c76a0fa80d083 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From aa9d0e5f5bc75f8b7c23ad5c28d514447cab1c06 Mon Sep 17 00:00:00 2001 +From 88ece607b268b8bb69d17bc3821d9b194ffee942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 20:03:29 +0100 -Subject: [PATCH 158/164] config: Enable i2c-bcm2835 +Subject: [PATCH 157/166] config: Enable i2c-bcm2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146151,10 +146104,10 @@ index 27c61471a12a38feda62447af8010530bc89c141..98b2e5992a45a6212ef9a8b9826431d9 CONFIG_SPI=y CONFIG_SPI_BCM2835=m -From d5c07cc7947cab9a1263580d8db8144a8b5df0d5 Mon Sep 17 00:00:00 2001 +From dc03c36f2d04f2fa9ec886de30ade92a15f11e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:42:55 +0100 -Subject: [PATCH 159/164] BCM270X_DT: Use i2c-bcm2835 as default +Subject: [PATCH 158/166] BCM270X_DT: Use i2c-bcm2835 as default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146197,10 +146150,10 @@ index 7fb1f428332dc48bdd91dd4a0773f3bea7057238..514b481d4f4095dc8b55a216ac733593 /* Add alias */ status = "disabled"; -From 27366d7f67935fccaf9499c14f214704a46c77ca Mon Sep 17 00:00:00 2001 +From 33aa6ff57b34681f62f2ea94ae40aee89e147d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 11 Nov 2016 18:24:26 +0100 -Subject: [PATCH 160/164] BCM270X_DT: Add fallback overlay for i2c-bcm2708 +Subject: [PATCH 159/166] BCM270X_DT: Add fallback overlay for i2c-bcm2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146262,10 +146215,10 @@ index 0000000000000000000000000000000000000000..0afc6b405414c97428278dd3e8836759 + }; +}; -From dfa675bd8f4014b7336a054c0fd10121221f064a Mon Sep 17 00:00:00 2001 +From e71da570a44b5a10cc9b4fef3b6d0c5d459fbb06 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 30 Sep 2016 10:07:27 -0700 -Subject: [PATCH 161/164] clk: bcm2835: Clamp the PLL's requested rate to the +Subject: [PATCH 160/166] clk: bcm2835: Clamp the PLL's requested rate to the hardware limits. Fixes setting low-resolution video modes on HDMI. Now the PLLH_PIX @@ -146278,7 +146231,7 @@ Signed-off-by: Stephen Boyd 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index fbf616021704178a9d007219a0ea2a9f1704f0a6..b07c3485441203356bcda287e32f59041d31196e 100644 +index cbbc8d4ddcffc797268c0ecb6477005fa14e228b..89645d63af53a3559c4b2e88f9a592fe11f5103f 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c @@ -502,8 +502,12 @@ static long bcm2835_pll_rate_from_divisors(unsigned long parent_rate, @@ -146309,10 +146262,10 @@ index fbf616021704178a9d007219a0ea2a9f1704f0a6..b07c3485441203356bcda287e32f5904 use_fb_prediv = true; rate /= 2; -From 7e66587b08d2da8b366279fafae3b16ae0fd1a16 Mon Sep 17 00:00:00 2001 +From 1222402a52717fe10711b88c5602809d2b9d1290 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 1 Nov 2016 13:10:05 +0000 -Subject: [PATCH 162/164] config: Add CONFIG_HTU21 module +Subject: [PATCH 161/166] config: Add CONFIG_HTU21 module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -146344,10 +146297,10 @@ index 98b2e5992a45a6212ef9a8b9826431d9fc024169..43fc0a37f8bf2701aac84962203e7219 CONFIG_PWM_PCA9685=m CONFIG_RASPBERRYPI_FIRMWARE=y -From af6549ac3dbb013a166e4a6740e4698a68dc4780 Mon Sep 17 00:00:00 2001 +From cfa276be760fd0fd09d6e9bb27fe3ea75fe97e9c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 31 Oct 2016 17:42:54 +0000 -Subject: [PATCH 163/164] config: Add SECOMP options from #1698 +Subject: [PATCH 162/166] config: Add SECOMP options from #1698 --- arch/arm/configs/bcm2709_defconfig | 8 +++++++- @@ -146444,49 +146397,628 @@ index 43fc0a37f8bf2701aac84962203e7219645d5d7b..3de3a93921cbea9e56ac34d589ec6e83 CONFIG_CRYPTO_CRYPTD=m CONFIG_CRYPTO_CBC=y -From 61a0dafeb83dfa15107ce1e6e3e3ea9f550d8c38 Mon Sep 17 00:00:00 2001 +From 565959dda0cbf2fc00de905b94189c94118ea118 Mon Sep 17 00:00:00 2001 From: popcornmix -Date: Sun, 13 Nov 2016 17:37:35 +0000 -Subject: [PATCH 164/164] Revert "Revert "Register the clocks early during the - boot process,"" +Date: Sat, 5 Nov 2016 14:14:43 +0000 +Subject: [PATCH 163/166] bcm2708_fb: Add ioctl for reading gpu memory through + dma -This reverts commit a999a266a45996796e5d3edd907f5648ad206239. --- - drivers/clk/bcm/clk-bcm2835.c | 17 ++++++++++++++--- - 1 file changed, 14 insertions(+), 3 deletions(-) + drivers/video/fbdev/bcm2708_fb.c | 109 +++++++++++++++++++++++++++++++++++++++ + include/uapi/linux/fb.h | 7 +++ + 2 files changed, 116 insertions(+) -diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index b07c3485441203356bcda287e32f59041d31196e..89645d63af53a3559c4b2e88f9a592fe11f5103f 100644 ---- a/drivers/clk/bcm/clk-bcm2835.c -+++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1888,8 +1888,15 @@ static int bcm2835_clk_probe(struct platform_device *pdev) - if (ret) - return ret; +diff --git a/drivers/video/fbdev/bcm2708_fb.c b/drivers/video/fbdev/bcm2708_fb.c +index 37f60813fe1dd95d9f5f725c07ec2e75c09857bf..a6179186f5a65ebeb99bea34c546f690bb2fd903 100644 +--- a/drivers/video/fbdev/bcm2708_fb.c ++++ b/drivers/video/fbdev/bcm2708_fb.c +@@ -31,8 +31,10 @@ + #include + #include + #include ++#include + #include + #include ++#include + #include -- return of_clk_add_provider(dev->of_node, of_clk_src_onecell_get, -- &cprman->onecell); -+ ret = of_clk_add_provider(dev->of_node, of_clk_src_onecell_get, -+ &cprman->onecell); -+ if (ret) -+ return ret; -+ -+ /* note that we have registered all the clocks */ -+ dev_dbg(dev, "registered %d clocks\n", asize); -+ -+ return 0; + //#define BCM2708_FB_DEBUG +@@ -426,6 +428,110 @@ static int bcm2708_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info + return result; } - static const struct of_device_id bcm2835_clk_of_match[] = { -@@ -1906,7 +1913,11 @@ static struct platform_driver bcm2835_clk_driver = { - .probe = bcm2835_clk_probe, ++static void dma_memcpy(struct bcm2708_fb *fb, dma_addr_t dst, dma_addr_t src, int size) ++{ ++ int burst_size = (fb->dma_chan == 0) ? 8 : 2; ++ struct bcm2708_dma_cb *cb = fb->cb_base; ++ ++ cb->info = BCM2708_DMA_BURST(burst_size) | BCM2708_DMA_S_WIDTH | ++ BCM2708_DMA_S_INC | BCM2708_DMA_D_WIDTH | ++ BCM2708_DMA_D_INC | BCM2708_DMA_TDMODE; ++ cb->dst = dst; ++ cb->src = src; ++ cb->length = size; ++ cb->stride = 0; ++ cb->pad[0] = 0; ++ cb->pad[1] = 0; ++ cb->next = 0; ++ ++ if (size < dma_busy_wait_threshold) { ++ bcm_dma_start(fb->dma_chan_base, fb->cb_handle); ++ bcm_dma_wait_idle(fb->dma_chan_base); ++ } else { ++ void __iomem *dma_chan = fb->dma_chan_base; ++ cb->info |= BCM2708_DMA_INT_EN; ++ bcm_dma_start(fb->dma_chan_base, fb->cb_handle); ++ while (bcm_dma_is_busy(dma_chan)) { ++ wait_event_interruptible( ++ fb->dma_waitq, ++ !bcm_dma_is_busy(dma_chan)); ++ } ++ fb->stats.dma_irqs++; ++ } ++ fb->stats.dma_copies++; ++} ++ ++#define INTALIAS_NORMAL(x) ((x)&~0xc0000000) // address with no aliases ++#define INTALIAS_L1L2_NONALLOCATING(x) (((x)&~0xc0000000)|0x80000000) // cache coherent but non-allocating in L1 and L2 ++ ++static long vc_mem_copy(struct bcm2708_fb *fb, unsigned long arg) ++{ ++ struct fb_dmacopy ioparam; ++ size_t size = PAGE_SIZE; ++ u32 *buf = NULL; ++ dma_addr_t bus_addr; ++ long rc = 0; ++ size_t offset; ++ struct { u32 base, length; } gpu = {}; ++ ++ /* restrict this to root user */ ++ if (!uid_eq(current_euid(), GLOBAL_ROOT_UID)) ++ { ++ rc = -EFAULT; ++ goto out; ++ } ++ ++ /* Get the parameter data. ++ */ ++ if (copy_from_user ++ (&ioparam, (void *)arg, sizeof(ioparam)) != 0) { ++ pr_err("[%s]: failed to copy-from-user\n", ++ __func__); ++ rc = -EFAULT; ++ goto out; ++ } ++ ++ rc = rpi_firmware_property(fb->fw, ++ RPI_FIRMWARE_GET_VC_MEMORY, ++ &gpu, sizeof(gpu)); ++ if (rc != 0 || gpu.base == 0 || gpu.length == 0) { ++ pr_err("[%s]: Unable to determine gpu memory %ld,%x,%x)\n", __func__, rc, gpu.base, gpu.length); ++ return -EFAULT; ++ } ++ ++ if (INTALIAS_NORMAL(ioparam.src) < gpu.base || INTALIAS_NORMAL(ioparam.src) >= gpu.base + gpu.length) { ++ pr_err("[%s]: Invalid memory access %x (%x-%x)", __func__, INTALIAS_NORMAL(ioparam.src), gpu.base, gpu.base + gpu.length); ++ return -EFAULT; ++ } ++ ++ buf = dma_alloc_coherent(NULL, PAGE_ALIGN(size), &bus_addr, ++ GFP_ATOMIC); ++ if (!buf) { ++ pr_err("[%s]: failed to dma_alloc_coherent(%d)\n", ++ __func__, size); ++ rc = -ENOMEM; ++ goto out; ++ } ++ ++ for (offset = 0; offset < ioparam.length; offset += size) { ++ size_t remaining = ioparam.length - offset; ++ size_t s = min(size, remaining); ++ unsigned char *p = (unsigned char *)ioparam.src + offset; ++ unsigned char *q = (unsigned char *)ioparam.dst + offset; ++ dma_memcpy(fb, (dma_addr_t)buf, INTALIAS_L1L2_NONALLOCATING((dma_addr_t)p), size); ++ if (copy_to_user(q, buf, s) != 0) { ++ pr_err("[%s]: failed to copy-to-user\n", ++ __func__); ++ rc = -EFAULT; ++ goto out; ++ } ++ } ++out: ++ if (buf) ++ dma_free_coherent(NULL, PAGE_ALIGN(size), buf, bus_addr); ++ return rc; ++} ++ + static int bcm2708_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg) + { + struct bcm2708_fb *fb = to_bcm2708(info); +@@ -438,6 +544,9 @@ static int bcm2708_ioctl(struct fb_info *info, unsigned int cmd, unsigned long a + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC, + &dummy, sizeof(dummy)); + break; ++ case FBIODMACOPY: ++ ret = vc_mem_copy(fb, arg); ++ break; + default: + dev_dbg(info->device, "Unknown ioctl 0x%x\n", cmd); + return -ENOTTY; +diff --git a/include/uapi/linux/fb.h b/include/uapi/linux/fb.h +index fa72af0c981710fe80bacf4cf6612f6da19046ee..289e7c03c1e3308d5a02fc783af4a5692e791cfb 100644 +--- a/include/uapi/linux/fb.h ++++ b/include/uapi/linux/fb.h +@@ -39,6 +39,7 @@ + * be concurrently added to the mainline kernel + */ + #define FBIOCOPYAREA _IOW('z', 0x21, struct fb_copyarea) ++#define FBIODMACOPY _IOW('z', 0x22, struct fb_dmacopy) + + #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ + #define FB_TYPE_PLANES 1 /* Non interleaved planes */ +@@ -351,6 +352,12 @@ struct fb_copyarea { + __u32 sy; }; --builtin_platform_driver(bcm2835_clk_driver); -+static int __init __bcm2835_clk_driver_init(void) -+{ -+ return platform_driver_register(&bcm2835_clk_driver); -+} -+core_initcall(__bcm2835_clk_driver_init); ++struct fb_dmacopy { ++ dma_addr_t dst; ++ dma_addr_t src; ++ __u32 length; ++}; ++ + struct fb_fillrect { + __u32 dx; /* screen-relative */ + __u32 dy; + +From 861a6e93fdd69867ad4744159b56f96847d3cbb4 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Fri, 11 Nov 2016 19:32:54 +0000 +Subject: [PATCH 164/166] rpi-ft5406: Create coherent buffer and push to + firmware + +--- + drivers/input/touchscreen/rpi-ft5406.c | 152 +++++++++++++++++++---------- + include/soc/bcm2835/raspberrypi-firmware.h | 1 + + 2 files changed, 101 insertions(+), 52 deletions(-) + +diff --git a/drivers/input/touchscreen/rpi-ft5406.c b/drivers/input/touchscreen/rpi-ft5406.c +index b27dbee8f56773dbd2a5503dc864747d0bebdddc..c5e31978c85a4ffd6839952ce0de50c001c7b875 100644 +--- a/drivers/input/touchscreen/rpi-ft5406.c ++++ b/drivers/input/touchscreen/rpi-ft5406.c +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + + #define MAXIMUM_SUPPORTED_POINTS 10 +@@ -45,6 +46,7 @@ struct ft5406 { + struct platform_device * pdev; + struct input_dev * input_dev; + void __iomem * ts_base; ++ dma_addr_t bus_addr; + struct ft5406_regs * regs; + struct task_struct * thread; + }; +@@ -117,18 +119,19 @@ static int ft5406_thread(void *arg) + + static int ft5406_probe(struct platform_device *pdev) + { +- int ret; +- struct input_dev * input_dev = input_allocate_device(); ++ int err = 0; ++ struct device *dev = &pdev->dev; ++ struct device_node *np = dev->of_node; + struct ft5406 * ts; + struct device_node *fw_node; + struct rpi_firmware *fw; + u32 touchbuf; + +- dev_info(&pdev->dev, "Probing device\n"); ++ dev_info(dev, "Probing device\n"); + +- fw_node = of_parse_phandle(pdev->dev.of_node, "firmware", 0); ++ fw_node = of_parse_phandle(np, "firmware", 0); + if (!fw_node) { +- dev_err(&pdev->dev, "Missing firmware node\n"); ++ dev_err(dev, "Missing firmware node\n"); + return -ENOENT; + } + +@@ -136,62 +139,88 @@ static int ft5406_probe(struct platform_device *pdev) + if (!fw) + return -EPROBE_DEFER; + +- ret = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_GET_TOUCHBUF, +- &touchbuf, sizeof(touchbuf)); +- if (ret) { +- dev_err(&pdev->dev, "Failed to get touch buffer\n"); +- return ret; ++ ts = devm_kzalloc(dev, sizeof(struct ft5406), GFP_KERNEL); ++ if (!ts) { ++ dev_err(dev, "Failed to allocate memory\n"); ++ return -ENOMEM; + } + +- if (!touchbuf) { +- dev_err(&pdev->dev, "Touchscreen not detected\n"); +- return -ENODEV; ++ ts->input_dev = input_allocate_device(); ++ if (!ts->input_dev) { ++ dev_err(dev, "Failed to allocate input device\n"); ++ return -ENOMEM; + } + +- dev_dbg(&pdev->dev, "Got TS buffer 0x%x\n", touchbuf); ++ ts->ts_base = dma_zalloc_coherent(dev, PAGE_SIZE, &ts->bus_addr, GFP_KERNEL); ++ if (!ts->ts_base) { ++ pr_err("[%s]: failed to dma_alloc_coherent(%ld)\n", ++ __func__, PAGE_SIZE); ++ err = -ENOMEM; ++ goto out; ++ } + +- ts = kzalloc(sizeof(struct ft5406), GFP_KERNEL); ++ touchbuf = (u32)ts->bus_addr; ++ err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_SET_TOUCHBUF, ++ &touchbuf, sizeof(touchbuf)); + +- if (!ts || !input_dev) { +- ret = -ENOMEM; +- dev_err(&pdev->dev, "Failed to allocate memory\n"); +- return ret; ++ if (err || touchbuf != 0) { ++ dev_warn(dev, "Failed to set touchbuf, trying to get err:%x\n", err); ++ dma_free_coherent(dev, PAGE_SIZE, ts->ts_base, ts->bus_addr); ++ ts->ts_base = 0; ++ ts->bus_addr = 0; ++ } ++ ++ if (!ts->ts_base) { ++ dev_warn(dev, "set failed, trying get (err:%d touchbuf:%x virt:%p bus:%x)\n", err, touchbuf, ts->ts_base, ts->bus_addr); ++ ++ err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_GET_TOUCHBUF, ++ &touchbuf, sizeof(touchbuf)); ++ if (err) { ++ dev_err(dev, "Failed to get touch buffer\n"); ++ goto out; ++ } ++ ++ if (!touchbuf) { ++ dev_err(dev, "Touchscreen not detected\n"); ++ err = -ENODEV; ++ goto out; ++ } ++ ++ dev_dbg(dev, "Got TS buffer 0x%x\n", touchbuf); ++ ++ // mmap the physical memory ++ touchbuf &= ~0xc0000000; ++ ts->ts_base = ioremap(touchbuf, sizeof(*ts->regs)); ++ if (ts->ts_base == NULL) ++ { ++ dev_err(dev, "Failed to map physical address\n"); ++ err = -ENOMEM; ++ goto out; ++ } + } +- ts->input_dev = input_dev; + platform_set_drvdata(pdev, ts); + ts->pdev = pdev; + +- input_dev->name = "FT5406 memory based driver"; ++ ts->input_dev->name = "FT5406 memory based driver"; + +- __set_bit(EV_KEY, input_dev->evbit); +- __set_bit(EV_SYN, input_dev->evbit); +- __set_bit(EV_ABS, input_dev->evbit); ++ __set_bit(EV_KEY, ts->input_dev->evbit); ++ __set_bit(EV_SYN, ts->input_dev->evbit); ++ __set_bit(EV_ABS, ts->input_dev->evbit); + +- input_set_abs_params(input_dev, ABS_MT_POSITION_X, 0, ++ input_set_abs_params(ts->input_dev, ABS_MT_POSITION_X, 0, + SCREEN_WIDTH, 0, 0); +- input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 0, ++ input_set_abs_params(ts->input_dev, ABS_MT_POSITION_Y, 0, + SCREEN_HEIGHT, 0, 0); + +- input_mt_init_slots(input_dev, MAXIMUM_SUPPORTED_POINTS, INPUT_MT_DIRECT); ++ input_mt_init_slots(ts->input_dev, MAXIMUM_SUPPORTED_POINTS, INPUT_MT_DIRECT); + +- input_set_drvdata(input_dev, ts); ++ input_set_drvdata(ts->input_dev, ts); + +- ret = input_register_device(input_dev); +- if (ret) { +- dev_err(&pdev->dev, "could not register input device, %d\n", +- ret); +- return ret; +- } +- +- // mmap the physical memory +- touchbuf &= ~0xc0000000; +- ts->ts_base = ioremap(touchbuf, sizeof(*ts->regs)); +- if(ts->ts_base == NULL) +- { +- dev_err(&pdev->dev, "Failed to map physical address\n"); +- input_unregister_device(input_dev); +- kzfree(ts); +- return -ENOMEM; ++ err = input_register_device(ts->input_dev); ++ if (err) { ++ dev_err(dev, "could not register input device, %d\n", ++ err); ++ goto out; + } + + ts->regs = (struct ft5406_regs *) ts->ts_base; +@@ -200,25 +229,44 @@ static int ft5406_probe(struct platform_device *pdev) + ts->thread = kthread_run(ft5406_thread, ts, "ft5406"); + if(ts->thread == NULL) + { +- dev_err(&pdev->dev, "Failed to create kernel thread"); +- iounmap(ts->ts_base); +- input_unregister_device(input_dev); +- kzfree(ts); ++ dev_err(dev, "Failed to create kernel thread"); ++ err = -ENOMEM; ++ goto out; + } + + return 0; ++ ++out: ++ if (ts->bus_addr) { ++ dma_free_coherent(dev, PAGE_SIZE, ts->ts_base, ts->bus_addr); ++ ts->bus_addr = 0; ++ ts->ts_base = NULL; ++ } else if (ts->ts_base) { ++ iounmap(ts->ts_base); ++ ts->ts_base = NULL; ++ } ++ if (ts->input_dev) { ++ input_unregister_device(ts->input_dev); ++ ts->input_dev = NULL; ++ } ++ return err; + } + + static int ft5406_remove(struct platform_device *pdev) + { ++ struct device *dev = &pdev->dev; + struct ft5406 *ts = (struct ft5406 *) platform_get_drvdata(pdev); + +- dev_info(&pdev->dev, "Removing rpi-ft5406\n"); ++ dev_info(dev, "Removing rpi-ft5406\n"); + + kthread_stop(ts->thread); +- iounmap(ts->ts_base); +- input_unregister_device(ts->input_dev); +- kzfree(ts); ++ ++ if (ts->bus_addr) ++ dma_free_coherent(dev, PAGE_SIZE, ts->ts_base, ts->bus_addr); ++ else if (ts->ts_base) ++ iounmap(ts->ts_base); ++ if (ts->input_dev) ++ input_unregister_device(ts->input_dev); + + return 0; + } +diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h +index 227a107214a02deadcca3db202da265eba1fdd21..b0f6e33bd30c35664ceee057f4c3ad32b914291d 100644 +--- a/include/soc/bcm2835/raspberrypi-firmware.h ++++ b/include/soc/bcm2835/raspberrypi-firmware.h +@@ -115,6 +115,7 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_FRAMEBUFFER_SET_VIRTUAL_OFFSET = 0x00048009, + RPI_FIRMWARE_FRAMEBUFFER_SET_OVERSCAN = 0x0004800a, + RPI_FIRMWARE_FRAMEBUFFER_SET_PALETTE = 0x0004800b, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_TOUCHBUF = 0x0004801f, + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC = 0x0004800e, + RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, + + +From c15e8a575e74dde83cd74f865def0facbfcddc25 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Wed, 9 Nov 2016 22:42:39 +0000 +Subject: [PATCH 165/166] brcmvirt_gpio: Create coherent buffer and push to + firmware + +--- + drivers/gpio/gpio-bcm-virt.c | 89 +++++++++++++++++++++--------- + include/soc/bcm2835/raspberrypi-firmware.h | 1 + + 2 files changed, 63 insertions(+), 27 deletions(-) + +diff --git a/drivers/gpio/gpio-bcm-virt.c b/drivers/gpio/gpio-bcm-virt.c +index f3e0f1620b979e4fa3c7e556eb785ac259d8cfc4..c3725546def9d4a6264fbb1f6b9814d02b50e34e 100644 +--- a/drivers/gpio/gpio-bcm-virt.c ++++ b/drivers/gpio/gpio-bcm-virt.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + + #define MODULE_NAME "brcmvirt-gpio" +@@ -25,6 +26,7 @@ struct brcmvirt_gpio { + /* two packed 16-bit counts of enabled and disables + Allows host to detect a brief enable that was missed */ + u32 enables_disables[NUM_GPIO]; ++ dma_addr_t bus_addr; + }; + + static int brcmvirt_gpio_dir_in(struct gpio_chip *gc, unsigned off) +@@ -75,13 +77,13 @@ static void brcmvirt_gpio_set(struct gpio_chip *gc, unsigned off, int val) + + static int brcmvirt_gpio_probe(struct platform_device *pdev) + { ++ int err = 0; + struct device *dev = &pdev->dev; + struct device_node *np = dev->of_node; + struct device_node *fw_node; + struct rpi_firmware *fw; + struct brcmvirt_gpio *ucb; + u32 gpiovirtbuf; +- int err = 0; + + fw_node = of_parse_phandle(np, "firmware", 0); + if (!fw_node) { +@@ -93,35 +95,56 @@ static int brcmvirt_gpio_probe(struct platform_device *pdev) + if (!fw) + return -EPROBE_DEFER; + +- err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_GET_GPIOVIRTBUF, +- &gpiovirtbuf, sizeof(gpiovirtbuf)); +- +- if (err) { +- dev_err(dev, "Failed to get gpiovirtbuf\n"); +- goto err; +- } +- +- if (!gpiovirtbuf) { +- dev_err(dev, "No virtgpio buffer\n"); +- err = -ENOENT; +- goto err; +- } +- + ucb = devm_kzalloc(dev, sizeof *ucb, GFP_KERNEL); + if (!ucb) { + err = -EINVAL; +- goto err; ++ goto out; + } + +- // mmap the physical memory +- gpiovirtbuf &= ~0xc0000000; +- ucb->ts_base = ioremap(gpiovirtbuf, 4096); +- if (ucb->ts_base == NULL) { +- dev_err(dev, "Failed to map physical address\n"); +- err = -ENOENT; +- goto err; ++ ucb->ts_base = dma_zalloc_coherent(dev, PAGE_SIZE, &ucb->bus_addr, GFP_KERNEL); ++ if (!ucb->ts_base) { ++ pr_err("[%s]: failed to dma_alloc_coherent(%ld)\n", ++ __func__, PAGE_SIZE); ++ err = -ENOMEM; ++ goto out; + } + ++ gpiovirtbuf = (u32)ucb->bus_addr; ++ err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_SET_GPIOVIRTBUF, ++ &gpiovirtbuf, sizeof(gpiovirtbuf)); ++ ++ if (err || gpiovirtbuf != 0) { ++ dev_warn(dev, "Failed to set gpiovirtbuf, trying to get err:%x\n", err); ++ dma_free_coherent(dev, PAGE_SIZE, ucb->ts_base, ucb->bus_addr); ++ ucb->ts_base = 0; ++ ucb->bus_addr = 0; ++ } ++ ++ if (!ucb->ts_base) { ++ err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_GET_GPIOVIRTBUF, ++ &gpiovirtbuf, sizeof(gpiovirtbuf)); ++ ++ if (err) { ++ dev_err(dev, "Failed to get gpiovirtbuf\n"); ++ goto out; ++ } ++ ++ if (!gpiovirtbuf) { ++ dev_err(dev, "No virtgpio buffer\n"); ++ err = -ENOENT; ++ goto out; ++ } ++ ++ // mmap the physical memory ++ gpiovirtbuf &= ~0xc0000000; ++ ucb->ts_base = ioremap(gpiovirtbuf, 4096); ++ if (ucb->ts_base == NULL) { ++ dev_err(dev, "Failed to map physical address\n"); ++ err = -ENOENT; ++ goto out; ++ } ++ ucb->bus_addr = 0; ++ } + ucb->gc.label = MODULE_NAME; + ucb->gc.owner = THIS_MODULE; + //ucb->gc.dev = dev; +@@ -137,22 +160,34 @@ static int brcmvirt_gpio_probe(struct platform_device *pdev) + + err = gpiochip_add(&ucb->gc); + if (err) +- goto err; ++ goto out; + + platform_set_drvdata(pdev, ucb); + +-err: ++ return 0; ++out: ++ if (ucb->bus_addr) { ++ dma_free_coherent(dev, PAGE_SIZE, ucb->ts_base, ucb->bus_addr); ++ ucb->bus_addr = 0; ++ ucb->ts_base = NULL; ++ } else if (ucb->ts_base) { ++ iounmap(ucb->ts_base); ++ ucb->ts_base = NULL; ++ } + return err; +- + } + + static int brcmvirt_gpio_remove(struct platform_device *pdev) + { ++ struct device *dev = &pdev->dev; + int err = 0; + struct brcmvirt_gpio *ucb = platform_get_drvdata(pdev); + + gpiochip_remove(&ucb->gc); +- iounmap(ucb->ts_base); ++ if (ucb->bus_addr) ++ dma_free_coherent(dev, PAGE_SIZE, ucb->ts_base, ucb->bus_addr); ++ else if (ucb->ts_base) ++ iounmap(ucb->ts_base); + return err; + } + +diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h +index b0f6e33bd30c35664ceee057f4c3ad32b914291d..e92278968b2b979db2a1f855f70e7aafb224fa98 100644 +--- a/include/soc/bcm2835/raspberrypi-firmware.h ++++ b/include/soc/bcm2835/raspberrypi-firmware.h +@@ -116,6 +116,7 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_FRAMEBUFFER_SET_OVERSCAN = 0x0004800a, + RPI_FIRMWARE_FRAMEBUFFER_SET_PALETTE = 0x0004800b, + RPI_FIRMWARE_FRAMEBUFFER_SET_TOUCHBUF = 0x0004801f, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_GPIOVIRTBUF = 0x00048020, + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC = 0x0004800e, + RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, + + +From 44ae7add79d38d7ee1e2e798747ec17e4e1dde56 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Mon, 14 Nov 2016 22:05:30 +0000 +Subject: [PATCH 166/166] fixup: fb: Use basic types for dma addresses as these + are also included from user code + +--- + include/uapi/linux/fb.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/uapi/linux/fb.h b/include/uapi/linux/fb.h +index 289e7c03c1e3308d5a02fc783af4a5692e791cfb..703fa8a70574323abe2fb32599254582cd5d891f 100644 +--- a/include/uapi/linux/fb.h ++++ b/include/uapi/linux/fb.h +@@ -353,8 +353,8 @@ struct fb_copyarea { + }; + + struct fb_dmacopy { +- dma_addr_t dst; +- dma_addr_t src; ++ void *dst; ++ __u32 src; + __u32 length; + }; - MODULE_AUTHOR("Eric Anholt "); - MODULE_DESCRIPTION("BCM2835 clock driver"); diff --git a/projects/RPi2/patches/linux/linux-01-RPi_support.patch b/projects/RPi2/patches/linux/linux-01-RPi_support.patch index ab7d8fb029..d379ada1c7 100644 --- a/projects/RPi2/patches/linux/linux-01-RPi_support.patch +++ b/projects/RPi2/patches/linux/linux-01-RPi_support.patch @@ -1,7 +1,7 @@ -From de8f49b794063c81c6ec1baa785ff75e05426e4f Mon Sep 17 00:00:00 2001 +From c37698ea5cedbbfe9121e260ad95225b22fada4f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 27 Apr 2016 17:43:28 +0100 -Subject: [PATCH 001/164] Revert "SUNRPC: Make NFS swap work with multipath" +Subject: [PATCH 001/166] Revert "SUNRPC: Make NFS swap work with multipath" This reverts commit 15001e5a7e1e207b6bd258cd8f187814cd15b6dc. --- @@ -95,10 +95,10 @@ index 66f23b376fa04a91134eddf6d8ee22a2f5de5808..f55fe2b0137e8fbefcd20c336b28ad48 EXPORT_SYMBOL_GPL(rpc_clnt_swap_deactivate); #endif /* CONFIG_SUNRPC_SWAP */ -From 0275f17007df95eb8f79d31dcf0304b801ba5b53 Mon Sep 17 00:00:00 2001 +From 5b376e17fed4825159b041afc232ab84be6721ca Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 002/164] smsx95xx: fix crimes against truesize +Subject: [PATCH 002/166] 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. @@ -145,10 +145,10 @@ index dc989a8b5afbd62b07cd65a2fa5edde67d3cc5fb..116680e3089f16e1e3e9113a3b93e62c usbnet_skb_return(dev, ax_skb); } -From 2da0270b1bc9ac5e0251e312cd5f5a3f12ba3588 Mon Sep 17 00:00:00 2001 +From fb2678236c3672abd267ded5d60b393955505b76 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Apr 2015 16:58:45 +0100 -Subject: [PATCH 003/164] smsc95xx: Disable turbo mode by default +Subject: [PATCH 003/166] smsc95xx: Disable turbo mode by default --- drivers/net/usb/smsc95xx.c | 2 +- @@ -168,10 +168,10 @@ index 116680e3089f16e1e3e9113a3b93e62cb78cc1bb..aa4cb43dcd9ba83b042332bc15a4dce6 MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction"); -From 77f0fd614e08636d8a852babc83a2929eafa91dd Mon Sep 17 00:00:00 2001 +From 268551323f0cca8ae3d049297175b2612c227abc Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 004/164] add smsc95xx packetsize module_param +Subject: [PATCH 004/166] add smsc95xx packetsize module_param Signed-off-by: Sam Nazarko --- @@ -213,10 +213,10 @@ index aa4cb43dcd9ba83b042332bc15a4dce68affce28..889bdabd9dea6cebccc361aa4ac569d7 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 24e9d8d77d33df7311614bafc521a5750a042afc Mon Sep 17 00:00:00 2001 +From acf98d61516be2eddd8d3eee280f111d4001c006 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 005/164] Allow mac address to be set in smsc95xx +Subject: [PATCH 005/166] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -312,10 +312,10 @@ index 889bdabd9dea6cebccc361aa4ac569d73681396b..d22a2324085fbf61fbd8920362bfc7b9 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From 0beb2ba6cbf38cedb4d04b01417f5c784ea53b79 Mon Sep 17 00:00:00 2001 +From f4694ba2dc5a3a5a4e21fbbf19a3f63b7ab0d125 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 9 Aug 2016 22:19:28 +0100 -Subject: [PATCH 006/164] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 006/166] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -346,10 +346,10 @@ index d22a2324085fbf61fbd8920362bfc7b9f72bebe3..c846c55075387398d9bcb0957e31f5c8 MODULE_PARM_DESC(packetsize, "Override the RX URB packet size"); -From 027fbdb777cc55a9d818f0dbd1385e36dcb07844 Mon Sep 17 00:00:00 2001 +From 86ddfbd47bde4a20c3f274d316894eaef7ef1142 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 13:28:24 +0000 -Subject: [PATCH 007/164] serial: Take care starting a hung-up tty's port +Subject: [PATCH 007/166] serial: Take care starting a hung-up tty's port tty_port_hangup sets a port's tty field to NULL (holding the port lock), but uart_tx_stopped, called from __uart_start (with the port lock), @@ -377,10 +377,10 @@ index 2f44e20136545162d15ee9a39c2eae38352580d1..6b0518ce13ad210b888b73dd6c02a555 return 0; } -From cf67462d3f84c6e9f324fa5f2e0d2e989976e53a Mon Sep 17 00:00:00 2001 +From 15f0b15b382acc59b46804466d9ed4ba3d1d506e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 008/164] Protect __release_resource against resources without +Subject: [PATCH 008/166] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -408,10 +408,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 7203c5f0d088eda0083955731a65478cc30401f9 Mon Sep 17 00:00:00 2001 +From 3f4d110c6a3b3e0bd1a3c76ded9ca4a3dcf6ac24 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 009/164] mm: Remove the PFN busy warning +Subject: [PATCH 009/166] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -436,10 +436,10 @@ index a2214c64ed3cd04dceaed7a579f593852e458df1..de26bffb1baa5cffa692fcb12b478263 goto done; } -From 85204cf198681000328c807a8e644b280d6c9e88 Mon Sep 17 00:00:00 2001 +From aa4c78956f69b197360aee7f306ed85372207c38 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 010/164] BCM2835_DT: Fix I2S register map +Subject: [PATCH 010/166] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -477,10 +477,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From c6777a31d4a07af1ab0392b103e8145e684576dd Mon Sep 17 00:00:00 2001 +From d18dcc2b5b6a60cc3b18e5c5d58772b8144695c9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 011/164] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 011/166] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -507,10 +507,10 @@ index d96b2c947e74e3edab3917551c64fbd1ced0f34c..93e3f7660c4230c9f1dd3b195958cb49 #endif } else if (stat) { -From 22581d6e84ed94dcca9027bbe39c4d26dd98ad66 Mon Sep 17 00:00:00 2001 +From ec7ccc05bb4dcd630277b01f62483f368417da2e 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 012/164] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 012/166] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -639,10 +639,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From 4de698b13dcc99570b658fdf6d81a1446fd77fc0 Mon Sep 17 00:00:00 2001 +From 0cb59adbe3bcbc6a3a941baf1725eb83fdde5a30 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 013/164] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 013/166] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -741,10 +741,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From d30ce2f0a53682f01196eb8e192e8fe488f5d247 Mon Sep 17 00:00:00 2001 +From 4b4ef152406be7ac05190844ff8e63a981b62184 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 014/164] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 014/166] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -765,10 +765,10 @@ index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..d780491b8013a4e97fa843958964454e }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 5902ff75c255a23497181aa3bd036d3d3b23176b Mon Sep 17 00:00:00 2001 +From d7a5a5392a1ba3ba3e9b952b1d8ccd5aab21de69 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 015/164] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 015/166] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -788,10 +788,10 @@ index dcf43f66404f12d2bd290a30adfe494dd056162e..0fba189c676ded310b92a09c4e7e8f76 for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From f525eb7bba4692b69f88dc664182f8bb58238a16 Mon Sep 17 00:00:00 2001 +From 9d53bb80c17bcb6b29262c5dc7b5f2814cf4bb29 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 016/164] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 016/166] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -813,10 +813,10 @@ index fa77165fab2c1348163979da507df17e7168c49b..d11e2e4ea189466e686d762cb6c6fef9 .can_sleep = false, }; -From bce45111c205499ec53eb24334986258e1464915 Mon Sep 17 00:00:00 2001 +From b61c23f63c8dbbe963e0b45f1a478d26626c9743 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 017/164] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 017/166] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -962,10 +962,10 @@ index d11e2e4ea189466e686d762cb6c6fef9111ecf8e..107ad7d58de8f8a7f55e09c9cdcf7d66 }, }; -From 1788e923b4b0891e4fdc6fc4da0e618532796e7a Mon Sep 17 00:00:00 2001 +From aa2781613d77e942a217dd494ff11b34b4d00b4f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 018/164] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 018/166] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -992,10 +992,10 @@ index 107ad7d58de8f8a7f55e09c9cdcf7d66fa7ab66b..644bdecbcfcb79d3b84a33769265fca5 pc->irq_data[i].irqgroup = i; -From 1eeef586e6e83b5604d03fcdd4c0755ce67fdc8b Mon Sep 17 00:00:00 2001 +From 43819b8ac2b302b65d55462267de0b886b8349bf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 May 2016 12:32:47 +0100 -Subject: [PATCH 019/164] pinctrl-bcm2835: Return pins to inputs when freed +Subject: [PATCH 019/166] pinctrl-bcm2835: Return pins to inputs when freed When dynamically unloading overlays, it is important that freed pins are restored to being inputs to prevent functions from being enabled in @@ -1036,10 +1036,10 @@ index 644bdecbcfcb79d3b84a33769265fca5d3d0c9e5..81a66cba2ab0f7e3ae179de7edd10122 .get_function_name = bcm2835_pmx_get_function_name, .get_function_groups = bcm2835_pmx_get_function_groups, -From 8b70a822e60413a838e5e923828b7a187a088f1e Mon Sep 17 00:00:00 2001 +From 3ea5cf4b6820e5edf582a2d9a3c5a0c49168b761 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 020/164] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 020/166] 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 @@ -1120,10 +1120,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 0bf8f9e13838e64f9e05776cac57831ed2f2859a Mon Sep 17 00:00:00 2001 +From fee31bf35c4d4cae5e7361e4f7d20fdf942fe5fd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 021/164] spi-bcm2835: Disable forced software CS +Subject: [PATCH 021/166] 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 @@ -1157,10 +1157,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 53c371da8fc2d0bc866a5e11d208410c942e9216 Mon Sep 17 00:00:00 2001 +From 6c14bb589a6948925504fd32e29a51bd80060a28 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 022/164] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 022/166] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1213,10 +1213,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 41aa8122070bc4ddcbf50f8223414d2ff260ff24 Mon Sep 17 00:00:00 2001 +From a33235c39cc5652fff2312b5f1a257cbe469b8b6 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 023/164] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 023/166] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1319,10 +1319,10 @@ index e18dc596cf2447fa9ef7e41b62d9396e29043426..80d35f760b4a4a51e60c355a84d538ba MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From ca64c2b9d0c016b38b24c60c76175ddb53d4e0bb Mon Sep 17 00:00:00 2001 +From fe1bdebda7fa116d4eed323c824a9e2569999042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 15 Aug 2015 20:50:02 +0200 -Subject: [PATCH 024/164] bcm2835: Add support for uart1 +Subject: [PATCH 024/166] bcm2835: Add support for uart1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1379,10 +1379,10 @@ index 8f152266ba9b470df2eaaed9ebcf158ed2079834..0ef5cd3d1d6ec420360294acc98d40d6 static const char * const bcm2835_compat[] = { -From e48b295baa0c2a0e0a5e8edf77df61c0956dcba3 Mon Sep 17 00:00:00 2001 +From e95b90def66565ace275d8794d158e4181dc5dbf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 025/164] firmware: Updated mailbox header +Subject: [PATCH 025/166] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 11 +++++++++++ @@ -1445,10 +1445,10 @@ index 3fb357193f09914fe21f8555a4b8613f74f22bc3..227a107214a02deadcca3db202da265e RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From 96cddb0ec832f987166dab74367c2cb99238a6c5 Mon Sep 17 00:00:00 2001 +From 0b35b29822ad12af1dba328bc6af865c902ec525 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 11:44:59 -0700 -Subject: [PATCH 026/164] clk: bcm2835: Mark the VPU clock as critical +Subject: [PATCH 026/166] clk: bcm2835: Mark the VPU clock as critical The VPU clock is also the clock for our AXI bus, so we really can't disable it. This might have happened during boot if, for example, @@ -1494,10 +1494,10 @@ index 0fc71cbaa4404bddc1ca603a28a43425a7e5a341..085e5217d3b9f73c312dc7fd510ef55c /* clocks with per parent mux */ -From 0f2d4c0deadb182f9d1f9d5b3cc935dadf9c5783 Mon Sep 17 00:00:00 2001 +From e655dfc2dcc208338a2483ab8b514fba837d8c93 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 027/164] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 027/166] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1552,10 +1552,10 @@ index 085e5217d3b9f73c312dc7fd510ef55cddb4a27c..e527649ee5e32d20cebd762f4badbfca /* HDMI state machine */ [BCM2835_CLOCK_HSM] = REGISTER_PER_CLK( -From c71ed43a8bf16ec660c14bd38b46f20366e56377 Mon Sep 17 00:00:00 2001 +From 316a6f75e869b18b63722bceca5dc78189785ff7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Jun 2016 12:05:35 -0700 -Subject: [PATCH 028/164] clk: bcm2835: Mark the CM SDRAM clock's parent as +Subject: [PATCH 028/166] clk: bcm2835: Mark the CM SDRAM clock's parent as critical While the SDRAM is being driven by its dedicated PLL most of the time, @@ -1629,10 +1629,10 @@ index e527649ee5e32d20cebd762f4badbfca06657a84..fbf616021704178a9d007219a0ea2a9f &cprman->onecell); } -From fd8f5fbd3ea2cfd478f73b95fb7f7da94d65cc79 Mon Sep 17 00:00:00 2001 +From 3ac87009eea035c0430f9f16eeb8da1996452798 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 3 Oct 2016 13:58:40 +0100 -Subject: [PATCH 029/164] Enable upstream BCM2835 auxiliar mini UART support +Subject: [PATCH 029/166] Enable upstream BCM2835 auxiliar mini UART support --- drivers/tty/serial/8250/Kconfig | 2 +- @@ -1652,10 +1652,10 @@ index 7c6f7afca5ddeed7b25fa6272246fc539bf31b04..748098f900d3474b5d535b24da76ad06 help Support for the BCM2835 auxiliar mini UART. -From d513c4e880e8860b228818787d453f091f587314 Mon Sep 17 00:00:00 2001 +From fadcb26cb0968373e3f4e55d258b7dcbf5eba039 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 030/164] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 030/166] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1675,10 +1675,10 @@ index b4478cc92b55dbd76731ea8ec6a4228677adcebb..6981064d5cbad7d7078b23ce4ed5227e MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 31ad6874cf350f457774a9685b87bd7d57b8ed25 Mon Sep 17 00:00:00 2001 +From f25a9deaf79b79baddf6b242a76b2a10559bb3aa Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 19 Apr 2016 15:55:02 -0700 -Subject: [PATCH 031/164] ARM: bcm2708: Enable building power domain driver. +Subject: [PATCH 031/166] ARM: bcm2708: Enable building power domain driver. Signed-off-by: Eric Anholt --- @@ -1699,10 +1699,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..7d11a44f36d2e6f8697773cd49a72e53 select PM_GENERIC_DOMAINS if PM help -From 0832afe377858f8818221ad2228902fb2db05063 Mon Sep 17 00:00:00 2001 +From beeec7998aff937609458a856c7bbc5d4a055280 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 032/164] Main bcm2708/bcm2709 linux port +Subject: [PATCH 032/166] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -4227,10 +4227,10 @@ index aa4bfbf129e4585ebb89b25fca4b03c928925022..89f7a3a539b5a1b84ddcf0a1548160c0 mmc_pm_flag_t pm_caps; /* supported pm features */ -From fc94cb1d67f2c948df46b75147aa6cfe236593d1 Mon Sep 17 00:00:00 2001 +From f842e390d3c4b095a93d67231b84df2fc9fff0d3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 033/164] reboot: Use power off rather than busy spinning when +Subject: [PATCH 033/166] reboot: Use power off rather than busy spinning when halt is requested --- @@ -4253,10 +4253,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From 38ea1c059e3993aadb500ccb7bd333a06f15a6a5 Mon Sep 17 00:00:00 2001 +From 2d775c8c99dd4dd91827c39f570ddab440f9938b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 11 Nov 2015 21:01:15 +0000 -Subject: [PATCH 034/164] squash: include ARCH_BCM2708 / ARCH_BCM2709 +Subject: [PATCH 034/166] squash: include ARCH_BCM2708 / ARCH_BCM2709 --- drivers/char/hw_random/Kconfig | 2 +- @@ -4420,10 +4420,10 @@ index d528aaceaad95bc6bae2147ebe66249629d2512e..03a303e52d5fe57bbdd8769d24bca590 select REGMAP_MMIO help -From 7a4b0eebb3f5510d0f5fa4d4eae1acfd64b76141 Mon Sep 17 00:00:00 2001 +From 73285128a4403b16308d6d290e09283566936272 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 035/164] Add dwc_otg driver +Subject: [PATCH 035/166] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -65449,10 +65449,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 1c2ae83bc60313abfdc1951c1ba31299431eadd1 Mon Sep 17 00:00:00 2001 +From d0e26dfdf4c8612c0c6ad933ebadcedc5cf4f0f3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 036/164] bcm2708 framebuffer driver +Subject: [PATCH 036/166] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68911,10 +68911,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 cf57ed4939e0672e8315a26e59b6bc03d988f15b Mon Sep 17 00:00:00 2001 +From 0b09ee50dbb5c0e9c9cf1ce87b7434fc09776c2f Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 037/164] dmaengine: Add support for BCM2708 +Subject: [PATCH 037/166] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69536,10 +69536,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From f1377efccbb4fcba8ce525383141cc89afae9e68 Mon Sep 17 00:00:00 2001 +From 7b53a558297eeeb3ed0bd2097063bd55ee6dc371 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 038/164] MMC: added alternative MMC driver +Subject: [PATCH 038/166] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -71286,10 +71286,10 @@ index 0000000000000000000000000000000000000000..ceb37930e167f47c9c848e8de757ad09 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From cc1a52b2257884123c188d425f498eba5085668c Mon Sep 17 00:00:00 2001 +From 062a65b230c090eee0fcab31a8ff1aee7fb87af1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 039/164] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 039/166] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -73681,10 +73681,10 @@ index 0000000000000000000000000000000000000000..23dea422182534e248435aeaee3ecb5d +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From dbde666ae163f76a50a706b19682e5ad464a05c7 Mon Sep 17 00:00:00 2001 +From 17697ade0366f0409d5543b5b5f53eaf45234304 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 040/164] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 040/166] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -73820,10 +73820,10 @@ index d8673ca968ba2d65fb3da39680583ca5152641e4..510c3872929b3267fb6665bb69d26f5a unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From d95b82055864ad0b03093f761226ad150fc002e6 Mon Sep 17 00:00:00 2001 +From eaf6988895d80657f1e3c615e045f6ca48cef38f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 041/164] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 041/166] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75166,10 +75166,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From 9823aae5f6fb866ba82b09ef978fe66b768610d7 Mon Sep 17 00:00:00 2001 +From 21efda6f8b8a89c0d44d868ac69455398535f30d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 042/164] bcm2708: alsa sound driver +Subject: [PATCH 042/166] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77905,10 +77905,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From 2228276389817548a91020e8955edf6d5a4d8fb6 Mon Sep 17 00:00:00 2001 +From c2d1bb8617ef0ab3a8ed0b893602712df408e7be Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 043/164] bcm2708 vchiq driver +Subject: [PATCH 043/166] bcm2708 vchiq driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -91273,10 +91273,10 @@ index 0000000000000000000000000000000000000000..b6bfa21155e431e93bfb2c149d324371 + return vchiq_build_time; +} -From fbdbbb1c7bbba89591cbf4755290e0b439233584 Mon Sep 17 00:00:00 2001 +From f361a4b8bf0ed97fb73254ede7e5896027f97300 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 16:07:06 +0100 -Subject: [PATCH 044/164] vc_mem: Add vc_mem driver +Subject: [PATCH 044/166] vc_mem: Add vc_mem driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -92281,10 +92281,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 9ffe90a0056dcebd6241904c12b4506f2ba7739a Mon Sep 17 00:00:00 2001 +From 17e4ad1e3d1c118e5b344fdf91233fc84823a484 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 045/164] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 045/166] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96702,10 +96702,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From 8acd6b0f163ba8bb3458e657052806f793790cce Mon Sep 17 00:00:00 2001 +From 657faf207c2c2398edd604915d6c6106ae2061c5 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 046/164] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 046/166] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -97016,10 +97016,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From e667820473ca7a8750e447db5d0e6e9e1e8b355c Mon Sep 17 00:00:00 2001 +From e14f8a78888223ab0f7be0160f1140a5a32b903f Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 047/164] Add SMI driver +Subject: [PATCH 047/166] Add SMI driver Signed-off-by: Luke Wren --- @@ -98970,10 +98970,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 03211436f6337575f10855a93cf7c8daeb2bed27 Mon Sep 17 00:00:00 2001 +From bb045f343105b6424202868fb772ad626fe291bd Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 048/164] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 048/166] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -99143,10 +99143,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From a88d8cf8203933420414be871fcd3a2b68e5f704 Mon Sep 17 00:00:00 2001 +From 1f5eae3a7f92578588bdbd9b45eed9781471888a Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 049/164] Add SMI NAND driver +Subject: [PATCH 049/166] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -99511,10 +99511,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From c6206be4df54175b76bab8537d5358185f356240 Mon Sep 17 00:00:00 2001 +From ce1d3e6b1af757d9923457dcc1d05f8a60146943 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 050/164] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 050/166] 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 @@ -100377,10 +100377,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From 1d4a8c83e671833d3debb1a1e6bb25ce05f73778 Mon Sep 17 00:00:00 2001 +From 05207a2d52c03372c045d6fd0c33e62adda22198 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 051/164] Add cpufreq driver +Subject: [PATCH 051/166] Add cpufreq driver Signed-off-by: popcornmix --- @@ -100642,10 +100642,10 @@ index 0000000000000000000000000000000000000000..3eb9e9326231b08e6ee95ad486485245 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 736f6abd189be74880cd00b8cf0eae2800329bb0 Mon Sep 17 00:00:00 2001 +From db1a1ccc6d49024be96c5b7071d458a1bdb03cdd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 052/164] Added hwmon/thermal driver for reporting core +Subject: [PATCH 052/166] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -100811,10 +100811,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 6d05fc461f618a4ca71e906b80d1e7b8c8d4571c Mon Sep 17 00:00:00 2001 +From 82b4412cc17abdb0bb64dddcbbe91e40350b48dd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 053/164] Add Chris Boot's i2c driver +Subject: [PATCH 053/166] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101488,10 +101488,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From ab2e9a4542c9fd183efaf8aac906009eb5e85fc2 Mon Sep 17 00:00:00 2001 +From 39df673c4be02514a633cb3a597a79f6acda7377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 054/164] char: broadcom: Add vcio module +Subject: [PATCH 054/166] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101717,10 +101717,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 332891643a9916eecae2ee1e1b27b30b123cfacf Mon Sep 17 00:00:00 2001 +From 68b9cf064f98fc7c0fcb602913ed67616ea878a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 055/164] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 055/166] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101826,10 +101826,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..b980d531b35b9981a88356ef1c8a7b86 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From e42148a6c79a3c51495433c563a76bb4549f3b16 Mon Sep 17 00:00:00 2001 +From eb289ea1387178c7a47447fc5847c9f2e1532084 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 056/164] bcm2835: add v4l2 camera device +Subject: [PATCH 056/166] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -109561,10 +109561,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From 854e1e582a10f5522b7d422e1ec0e3eeb821698e Mon Sep 17 00:00:00 2001 +From 4bf93cf95e581a141e55b7a55c0bac4ffe1ea66c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 057/164] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 057/166] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -110076,10 +110076,10 @@ index 0000000000000000000000000000000000000000..78c5845d2f01deb04b477327d83fa606 + return $trailer; +} -From 30e0b8d0e83bf3c3282702890b0598871e2403c2 Mon Sep 17 00:00:00 2001 +From 1f0d9be3ed91b1dfd1321ec1329d2dc17c1b8317 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 058/164] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 058/166] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -112930,10 +112930,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From d7f1e3e8e28a7224f1cffd009c3263ddad12d256 Mon Sep 17 00:00:00 2001 +From afc1c7fc68c978e20a9a7c2ce5b3ee6a59ed07ca Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 059/164] BCM2708: Add core Device Tree support +Subject: [PATCH 059/166] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -122762,10 +122762,10 @@ index 0000000000000000000000000000000000000000..8498134fdbb3912e9ce18282b53084d8 + +}; -From 82aa1f1a2039cbb7c9c54b5fcd659acc119cdca9 Mon Sep 17 00:00:00 2001 +From be6452daeaba5ff707d1dd49f78e2e684f034580 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 060/164] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 060/166] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -122785,10 +122785,10 @@ index 179219845dfcdfbeb586d12c5ec1296095d9fbf4..e0743e44f84188667a0c322e8c3d36f1 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 4228f0988df60375cedad17624edac666421b143 Mon Sep 17 00:00:00 2001 +From 2ea8dd9958980deeb6170a70822f8365d5b89bdc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 20:00:21 +0000 -Subject: [PATCH 061/164] BCM270X_DT: Add a .dtbo target, use for overlays +Subject: [PATCH 061/166] BCM270X_DT: Add a .dtbo target, use for overlays Change the filenames and extensions to keep the pre-DDT style of overlay (-overlay.dtb) distinct from new ones that use a @@ -122871,10 +122871,10 @@ index 0a07f9014944ed92a8e2e42983ae43be60b3e471..b1513a7c175885137034b9f7225788c0 # Bzip2 -From 74dc3708ce0339320054d927361309289a70b1a2 Mon Sep 17 00:00:00 2001 +From da8f68a4945f913fd6a73d789c694cfa8df4de5b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 8 Apr 2016 17:43:27 +0100 -Subject: [PATCH 062/164] BCM270X_DT: Don't generate "linux,phandle" props +Subject: [PATCH 062/166] BCM270X_DT: Don't generate "linux,phandle" props The EPAPR standard says to use "phandle" properties to store phandles, rather than the deprecated "linux,phandle" version. By default, dtc @@ -122900,10 +122900,10 @@ index b1513a7c175885137034b9f7225788c0a7c35027..1d949b7410600dd3b04a3acde8c41cfe -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -From 1cf0d93c519b9798c4e1476586ed8fa75799b89f Mon Sep 17 00:00:00 2001 +From ee5409ce2b15dd20e4c8be54c85a32a9fbf2a182 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 063/164] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 063/166] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -123079,10 +123079,10 @@ index 8a3b5d29602ffe665cfb26522180f3a696664371..d067976ddc2f34d5476bcd9321856b1c /* Set LED brightness level * Must not sleep. Use brightness_set_blocking for drivers -From af6cf12ab8541697369801ebb756a7776fcfe4a5 Mon Sep 17 00:00:00 2001 +From 4f6e25708e18ce3d9abf02b4daa714366be06c54 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 064/164] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 064/166] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -123181,10 +123181,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..fa72af0c981710fe80bacf4cf6612f6d #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From d4d5514a8eb4bd78c09f0c4aba084d78d977898e Mon Sep 17 00:00:00 2001 +From b5a70af067ad2a1d44f4f56eba2be311d90027a7 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 065/164] Speed up console framebuffer imageblit function +Subject: [PATCH 065/166] 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 @@ -123393,10 +123393,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 0fdd3a68cf5f87f244ce5c67af946d9dda7d06df Mon Sep 17 00:00:00 2001 +From 3708285d2160110ae16b816e5d0b0ad36dcda7e2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 066/164] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 066/166] 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 @@ -123646,10 +123646,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 61052b6f0d029c8c87c33ee8942c7226a1d9c168 Mon Sep 17 00:00:00 2001 +From 7bc5bb89ddcd5accf58bddbdaab0ed75fa3c36ea Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 067/164] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 067/166] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -123699,10 +123699,10 @@ index d6b729beba4930bbb1a1ddc4a6a6b8533bbf94e0..69e8d214f663572319f784fe17032b1e * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From 04a8bcae6ebfb3717c8b7ffe1d25fc2e52e94b5f Mon Sep 17 00:00:00 2001 +From cfd5be5ec98c01be2c7642fa1ccd5144fdbb0a4c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 068/164] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 068/166] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -123738,10 +123738,10 @@ index ae83af649a607f67239f1a64bf45dd4b5770cc7d..4a7af9d0b910f59d17421ce14138400d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From 3f56a1db6bd99180e3511d9f965e6279ecbe4557 Mon Sep 17 00:00:00 2001 +From b1a05267a581976dd450e7ea885e99a41c039aa5 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 069/164] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 069/166] 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 @@ -124036,10 +124036,10 @@ index 0000000000000000000000000000000000000000..b27dbee8f56773dbd2a5503dc864747d +MODULE_DESCRIPTION("Touchscreen driver for memory based FT5406"); +MODULE_LICENSE("GPL"); -From 2ad1df751925fea95aee5645c2f290174ae32007 Mon Sep 17 00:00:00 2001 +From 0505fe0f981471a2da36d69bea2a140869861019 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 070/164] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 070/166] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -125595,10 +125595,10 @@ index 6bd1089b07e0960830ed6bd6a8345202b7efd8b0..cd17dd11ebe7bbe00089e70cd2ccea74 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From 6d92bab505ea3a9d5edcb36d81be5869bf32578a Mon Sep 17 00:00:00 2001 +From 8bb397ad6f8df7471729f729f8a83c6a4bd07f4e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 071/164] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 071/166] 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 @@ -125633,10 +125633,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From d1bd193cf364ecc3632d54899122fa6c33acc3cf Mon Sep 17 00:00:00 2001 +From 8bc85866207a458990d0797b3657cb4aea74691f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 072/164] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 072/166] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -126501,10 +126501,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 7126e42c498bb9b1326e211dd23e3a949bc7919e Mon Sep 17 00:00:00 2001 +From d75136662ba21442fee3f4ff30b7d0882598ddf6 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 073/164] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 073/166] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -126678,10 +126678,10 @@ index 0000000000000000000000000000000000000000..29ecc08a227cdd4b3c6141935d0c5d21 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From d0714621d973b770793a062bbcae0909b8764608 Mon Sep 17 00:00:00 2001 +From 815fcbc0bb68545c5b4c15fade7fef93af98a26e Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 074/164] ASoC: Add support for Rpi-DAC +Subject: [PATCH 074/166] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -126965,10 +126965,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 2ce853f5042df74a1af892dc11e2fbce362d4975 Mon Sep 17 00:00:00 2001 +From 175ccb185e82db28050d7c8d88a55c8c7d80d918 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 075/164] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 075/166] 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 @@ -127017,10 +127017,10 @@ index 8d914702cae4a3fe2c0ca0599cd1ec79f7322c83..c846716b4ed1027ade5512e8be90801d .dapm_widgets = wm8804_dapm_widgets, .num_dapm_widgets = ARRAY_SIZE(wm8804_dapm_widgets), -From 1475ded3f70d7226d47fcbd175cdb85a091b7d28 Mon Sep 17 00:00:00 2001 +From 73aafe84903a63103f5852bc265943a2f0e6ec53 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 076/164] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 076/166] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -127308,10 +127308,10 @@ index 0000000000000000000000000000000000000000..9840e15d3e2be6396bc3ce6e74749408 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From d86443bad7ea828e6f676a1ef94a5c09defdabd9 Mon Sep 17 00:00:00 2001 +From 44608946ac4a9d291e2f66d851a4c5d5f4dcef03 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 077/164] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 077/166] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -127641,10 +127641,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From f795f9dd79ddd8deeaeb79b2f9334fefa4b9a8e3 Mon Sep 17 00:00:00 2001 +From d652a484dca45cc87707e7d69fb28cec2de5e2a5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 078/164] iqaudio-dac: Compile fix - untested +Subject: [PATCH 078/166] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -127668,10 +127668,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From 40ca8076727f3cb181ba16cddd68e5ea8c105779 Mon Sep 17 00:00:00 2001 +From e9ec0cfbebdfa9d88b141ec1ce9ed06a3104472f Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 079/164] Added support for HiFiBerry DAC+ +Subject: [PATCH 079/166] 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. @@ -128300,10 +128300,10 @@ index 047c48953a20cd4075000ac294a17fe59baedcde..090fe0ee08e8765f9edbb62777413bb6 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From d20863fd6f6552769150a340b17ff708dd6f9e1a Mon Sep 17 00:00:00 2001 +From 7eb62fe8cff98ee03073b961e3fb679131530e0f Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 080/164] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 080/166] 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. @@ -129135,10 +129135,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From bcba0b9f5eb84e0135e1598798723f7b8d548de7 Mon Sep 17 00:00:00 2001 +From 150c1588972d9d814c3770af6254a6138ea7311b Mon Sep 17 00:00:00 2001 From: "Daniel Matuschek (HiFiBerry)" Date: Tue, 26 Jul 2016 19:16:25 +0200 -Subject: [PATCH 081/164] Added HiFiBerry Digi+ Pro driver +Subject: [PATCH 081/166] Added HiFiBerry Digi+ Pro driver Signed-off-by: Daniel Matuschek --- @@ -129246,10 +129246,10 @@ index 9840e15d3e2be6396bc3ce6e74749408cc28c333..52ab9dea2e724c4238986ca53c59c849 ret = snd_soc_register_card(&snd_rpi_hifiberry_digi); -From f323305e2963078a92e843fd4bd367007205be6b Mon Sep 17 00:00:00 2001 +From 4843c4b77ac62eb9373eb168031ad21e2c30f62d Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 082/164] Update ds1307 driver for device-tree support +Subject: [PATCH 082/166] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -129276,10 +129276,10 @@ index 8e1c5cb6ece6f60619e5cafcea4271e056d96778..f9536679b270a39a4d9639fdbd3420fe .driver = { .name = "rtc-ds1307", -From 0e9df7c8a2737727726f970a1d699a42f2095a41 Mon Sep 17 00:00:00 2001 +From ce42d698a83322ffe847bfd5f679a2add47ddbc1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 083/164] Add driver for rpi-proto +Subject: [PATCH 083/166] 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 @@ -129495,10 +129495,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From b5321a50e000be6fbbb933ad4a706cfeb4f5539d Mon Sep 17 00:00:00 2001 +From cd5d30d27c4bbec7f3dd7ff0bf09516e4d617b00 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 084/164] RaspiDAC3 support +Subject: [PATCH 084/166] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -129741,10 +129741,10 @@ index 0000000000000000000000000000000000000000..dd9eeea2af0382307f437e6db09d1546 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 1716878e7170a1c1b6ee0068cd9d52436453b310 Mon Sep 17 00:00:00 2001 +From 1339db4f62bc01034b5766e8ee7bd98c84221fe1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 9 Aug 2016 14:49:23 +0100 -Subject: [PATCH 085/164] tpa6130a2: Add headphone switch control +Subject: [PATCH 085/166] tpa6130a2: Add headphone switch control Signed-off-by: Jan Grulich --- @@ -129853,10 +129853,10 @@ index f1ea052a822e1f584eb55cbc876b8e079e813ccd..3bf0163956c5665683d7950798df527f { struct tpa6130a2_data *data = snd_soc_component_get_drvdata(component); -From 052bac5e7024865fc24c551c8346d94e57ff2ccf Mon Sep 17 00:00:00 2001 +From 49675064613b1267c75c22456ec8320b71901147 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 9 Aug 2016 14:49:29 +0100 -Subject: [PATCH 086/164] Revert "tpa6130a2: Add headphone switch control" +Subject: [PATCH 086/166] Revert "tpa6130a2: Add headphone switch control" This reverts commit 860574af506a7a28782ca373feb880e7846943f9. --- @@ -129965,10 +129965,10 @@ index 3bf0163956c5665683d7950798df527fa1b57b59..f1ea052a822e1f584eb55cbc876b8e07 { struct tpa6130a2_data *data = snd_soc_component_get_drvdata(component); -From 74a09e11382246d9a5700426ac786d8f45128ac8 Mon Sep 17 00:00:00 2001 +From d00864d4890271f13cb184f81ef9cef3d57d4540 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 087/164] Add Support for JustBoom Audio boards +Subject: [PATCH 087/166] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -130422,10 +130422,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 488af72241badf484df31ab2754a9908329b2042 Mon Sep 17 00:00:00 2001 +From c11e7e72d8f02b7d63022e679fb69bd693ec83d5 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 088/164] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 088/166] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -130607,10 +130607,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From b008636acecebd1991b25c5e8d8e80b921646d34 Mon Sep 17 00:00:00 2001 +From c6c817b69f6d32e74459c2dcfac69e77c0af1aaa Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 089/164] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 089/166] 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. @@ -130859,10 +130859,10 @@ index 0000000000000000000000000000000000000000..5ff0985e07efb96b95634a65995f09f7 +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 76d796ef052134d5a1e4a041946d223f9c339241 Mon Sep 17 00:00:00 2001 +From 67ccb9e272fe9439864b6ff5e6c3385296b92dce Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 090/164] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 090/166] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -131162,10 +131162,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 7cfde1b0ec9dac1c4065569cc60b82eb985994a8 Mon Sep 17 00:00:00 2001 +From 03fed03333953e9ed7be17b4dbbd9a788b290087 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 091/164] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 091/166] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -131638,10 +131638,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From 3c49f806fa6a7dbdfbf5b30052124fe336e74091 Mon Sep 17 00:00:00 2001 +From ce9eca07c3fed3f9e38d5f1a59a54d207421aa68 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 092/164] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 092/166] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -131814,10 +131814,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From b03bff37db2db9dbd905bab6567e804443c46e2e Mon Sep 17 00:00:00 2001 +From e8b651db9bb4fdcd5cbb787b618b95d3da5444de Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 093/164] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 093/166] 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, @@ -132024,10 +132024,10 @@ index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From c154780e5e7fbb00e7dbca9aaf6ae5a16f089921 Mon Sep 17 00:00:00 2001 +From a74a003faf0d2a0ee3f0d5e7f66b01342a1c8877 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 094/164] rpi_display: add backlight driver and overlay +Subject: [PATCH 094/166] 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 @@ -132196,10 +132196,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From b0b595375579a03660d1415d0ce2d90b95a87c63 Mon Sep 17 00:00:00 2001 +From 4c0e0d3a4083a1e2d6279c56e9a42f5bded1e0ba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 095/164] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 095/166] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -132425,10 +132425,10 @@ index 0000000000000000000000000000000000000000..f3e0f1620b979e4fa3c7e556eb785ac2 +MODULE_DESCRIPTION("brcmvirt GPIO driver"); +MODULE_ALIAS("platform:brcmvirt-gpio"); -From 2331cdeab9887cb7b1e04cf0346762e0e09b64fd Mon Sep 17 00:00:00 2001 +From 3a5212345ea565d17246cde874e412fbfa3e60f8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 4 Mar 2016 12:49:09 +0000 -Subject: [PATCH 096/164] DRM_VC4: Allow to be built for ARCH_BCM270x +Subject: [PATCH 096/166] DRM_VC4: Allow to be built for ARCH_BCM270x --- drivers/gpu/drm/vc4/Kconfig | 2 +- @@ -132447,10 +132447,10 @@ index e53df59cb139f25f8e6ae916bca93abf0c49e063..f6e938208b73512f20eab46a383ca91b select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER -From 521c940d1cc75adef3a26540109f9d7ccdc3f025 Mon Sep 17 00:00:00 2001 +From ca47741dfae891a77a7b10d57eef11c8a4c0aed6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 097/164] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 097/166] 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 @@ -132479,10 +132479,10 @@ index 8a9e213387a79fcc335caad27520a68edf03f446..4a5a1c5cf9b345e255f4d79714a7ae46 uap->old_cr = 0; uap->port.dev = dev; -From fc5207e777a6ae24b4863b24e46bd82eed68d797 Mon Sep 17 00:00:00 2001 +From 79e500251c7c386906f35678f38f7b0832d0be4a Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 098/164] OF: DT-Overlay configfs interface +Subject: [PATCH 098/166] 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. @@ -132914,10 +132914,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 0853e3aadc0fe5a05d98d0c867bb60d291f84cbe Mon Sep 17 00:00:00 2001 +From 90495d981a3b47fd7cb18fd910f61c7b80c32c8a Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 099/164] brcm: adds support for BCM43341 wifi +Subject: [PATCH 099/166] brcm: adds support for BCM43341 wifi --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 ++ @@ -132957,10 +132957,10 @@ index 3cc42bef6245529c37320f0ec6ab5e7b77f1d2f6..2ae9d0c9dbaaab6bc16610ac012039cd #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From cba620cb7a5a988aa167eaea07eaa79be6eca3fd Mon Sep 17 00:00:00 2001 +From 52ccebbe330ba625010e2f25292fdecf91979398 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 17:25:59 +0000 -Subject: [PATCH 100/164] brcmfmac: Disable power management +Subject: [PATCH 100/166] brcmfmac: Disable power management Disable wireless power saving in the brcmfmac WLAN driver. This is a temporary measure until the connectivity loss resulting from power @@ -132985,10 +132985,10 @@ index abaf003a5b396f94e891c6569217ffbb595987e1..f6221c20ff8e2c07a9ddb329204cc59c if (!check_vif_up(ifp->vif)) { -From 3dfa53d910eb7b34a91b057b86e25837e539e1f8 Mon Sep 17 00:00:00 2001 +From 9571da1bd1b3feebfd6ba06e3c208c12a7f76488 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 28 Apr 2016 17:13:47 +0100 -Subject: [PATCH 101/164] brcmfmac: Use original country code as a fallback +Subject: [PATCH 101/166] brcmfmac: Use original country code as a fallback Commit 73345fd212980d2e28a5c6d83801c903bd773680: @@ -133047,10 +133047,10 @@ index f6221c20ff8e2c07a9ddb329204cc59ce574117b..12bffe239e9d28ce8f73db48b3f5759f ccreq->country_abbrev[1] = alpha2[1]; ccreq->country_abbrev[2] = 0; -From 90f55b8f5103768bc16fdc3e0ed2ada4549771a1 Mon Sep 17 00:00:00 2001 +From a2483583da6aceed0fa1e6b6f4120796208457a6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 13 Sep 2016 16:32:37 +0100 -Subject: [PATCH 102/164] brcmfmac: do not use internal roaming engine by +Subject: [PATCH 102/166] brcmfmac: do not use internal roaming engine by default Some evidence of curing disconnects with this disabled, so make it a default. @@ -133074,10 +133074,10 @@ index 3e15d64c64813513bc22202dd9e468588699abb0..4051780f64f44a5ce522babe6c371a1b MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine"); -From 782386a4347f0686acfe44393e0d39f765668de8 Mon Sep 17 00:00:00 2001 +From fdfb314d92ae30a14602715f7a9c6c1037be7c94 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 31 Aug 2016 17:10:09 +0100 -Subject: [PATCH 103/164] brcmfmac: Change stop_ap sequence +Subject: [PATCH 103/166] brcmfmac: Change stop_ap sequence Patch from Broadcom/Cypress to resolve a customer error @@ -133110,10 +133110,10 @@ index 12bffe239e9d28ce8f73db48b3f5759ffe550162..0c3cecb22763db2db5ccbc1789f50b2b brcmf_fil_iovar_int_set(ifp, "mbss", 0); err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_REGULATORY, -From d50b946478dbde39003512fb1063c66e5b38b31d Mon Sep 17 00:00:00 2001 +From bd13d6ae0b592a4e8bb080e1e293b77c60a84012 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 104/164] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 104/166] 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. @@ -133136,10 +133136,10 @@ index 0879d64b1caf58afb6e5d494c07d9ab7e7cdf983..5161ab30fd533d50f516bb93d5b9f402 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From b80d061c12fcc16a1e07c58f31bfb04796907355 Mon Sep 17 00:00:00 2001 +From 1317c15da8aad9a8997a43392a4cedcaab2cbaa5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 22 Jan 2016 13:06:39 -0800 -Subject: [PATCH 105/164] drm/vc4: Add a debugfs node for tracking execution +Subject: [PATCH 105/166] drm/vc4: Add a debugfs node for tracking execution state. Signed-off-by: Eric Anholt @@ -133199,10 +133199,10 @@ index ae1609e739ef424d99207f830cd2bac41ce71557..26dc4f5b491e2e7fcd1a28dcc8ef0cbe vc4_queue_hangcheck(struct drm_device *dev) { -From 99816377ca332391180d1ea82612884a88429a0f Mon Sep 17 00:00:00 2001 +From daaf8ce8d46a0128d4b108b114e6707331b1b2ba Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:03:33 -0800 -Subject: [PATCH 106/164] drm/vc4: Include vc4_drm.h in uapi in downstream +Subject: [PATCH 106/166] drm/vc4: Include vc4_drm.h in uapi in downstream build. Signed-off-by: Eric Anholt @@ -133223,10 +133223,10 @@ index 9355dd8eff3ba39401dfe37e7fbf7737f0397f11..68828bf586f05a8d9b0a6ab409ee91a7 header-y += vmwgfx_drm.h header-y += msm_drm.h -From 24c1c95ae8b96f40c1a273b1e330215d3d1c62eb Mon Sep 17 00:00:00 2001 +From b41fd030a9feac7a54486dbed0435808f6a55a2c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Oct 2015 11:32:14 -0700 -Subject: [PATCH 107/164] drm/vc4: Force HDMI to connected. +Subject: [PATCH 107/166] drm/vc4: Force HDMI to connected. For some reason on the downstream tree, the HPD GPIO isn't working. @@ -133249,10 +133249,10 @@ index 4452f3631cacea37bbd5dc8a594367631e308adc..3a622f70a077c2ebe214830f5d700cd8 if (gpio_get_value_cansleep(vc4->hdmi->hpd_gpio) ^ vc4->hdmi->hpd_active_low) -From c1455863ee4f8cb17e9ec4e16e56cfe087b1eeb7 Mon Sep 17 00:00:00 2001 +From df19d2553dc7762306a27cab95bf340b0211d885 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 108/164] config: Add default configs +Subject: [PATCH 108/166] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1294 +++++++++++++++++++++++++++++++++++ @@ -135871,10 +135871,10 @@ index 0000000000000000000000000000000000000000..cfe21355f7d95326b292be1b018b988f +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From aa5c852274690a7ea13451238d5ae709d5ae979f Mon Sep 17 00:00:00 2001 +From a15675076f88004983cf30f64afd124e33b78141 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 109/164] Add arm64 configuration and device tree differences. +Subject: [PATCH 109/166] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -137277,10 +137277,10 @@ index 0000000000000000000000000000000000000000..1fcde8c1329bbfd329245a8bb1769199 +CONFIG_LIBCRC32C=y +CONFIG_BCM2708_VCHIQ=n -From b650382bc5222883b04fb38973bd769c22ee4a08 Mon Sep 17 00:00:00 2001 +From 07b23522fe4674353307adb702bb71d27ce22e39 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 5 Oct 2016 16:10:59 +0100 -Subject: [PATCH 110/164] bcm2835-cpufreq: Only report a single frequency when +Subject: [PATCH 110/166] bcm2835-cpufreq: Only report a single frequency when max and min frequencies are the same 4.8 kernel gives EINV error when max and min frequencies are the same (e.g. from using force_turbo=1) @@ -137349,10 +137349,10 @@ index 3eb9e9326231b08e6ee95ad486485245c71cf868..414fbdc10dfbfc6e4bb47870a7af3fd5 /* the CPUFreq driver */ -From e1086983e04a14818420aa0c6e1101fca47c9e09 Mon Sep 17 00:00:00 2001 +From 4d688f3c1b6845abcd442ef18f41243595bf6343 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 7 Oct 2016 12:37:09 +0100 -Subject: [PATCH 111/164] scripts/mkknlimg: Change string for DDT detection +Subject: [PATCH 111/166] scripts/mkknlimg: Change string for DDT detection The old "of_overlay_apply" string does not appear in 4.8 kernel builds. "of_cfs_init" is both present and a more accurate indication of support @@ -137379,10 +137379,10 @@ index 78c5845d2f01deb04b477327d83fa60624f87f98..a21f7e31bc904233e980e66ae3e6337e my $res = try_extract($kernel_file, $tmpfile1); -From 1053e637ad132ad30385a0d0a3bec9f9ddaad19a Mon Sep 17 00:00:00 2001 +From e756b0f1ca6aec4c57bb5ac6aa61ad214328c56b Mon Sep 17 00:00:00 2001 From: Herve Jourdain Date: Fri, 20 May 2016 16:02:23 +0800 -Subject: [PATCH 112/164] build: support for .dtbo files for dtb overlays +Subject: [PATCH 112/166] build: support for .dtbo files for dtb overlays Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. Patch the kernel, which has faulty rules to generate .dtbo the way yocto does @@ -137424,10 +137424,10 @@ index 1d949b7410600dd3b04a3acde8c41cfead15bfa4..1967878a843461c3ff1f473b9a030eb0 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -From e529c579dd807460f2b9c6c7b9e1f4ff8a36941b Mon Sep 17 00:00:00 2001 +From 0d4ea075c031d92b21e0bf3e69ccaa88ba534fd5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 6 Oct 2016 19:42:55 -0700 -Subject: [PATCH 113/164] [media]bcm2835-camera: fix compilation warning/werror +Subject: [PATCH 113/166] [media]bcm2835-camera: fix compilation warning/werror | /a/builder/mnt/build/tmp-glibc/work-shared/raspberrypi3/kernel-source/drivers/media/platform/bcm2835/bcm2835-camera.c:656:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types ] @@ -137457,10 +137457,10 @@ index 70f4db2741037381e638d1dda5a95478809eb161..cb5bab642eaab2f60d641801dd0afdac struct bm2835_mmal_dev *dev = vb2_get_drv_priv(vq); unsigned long size; -From bfd98d3affbe0dbfb8cc9871d8186e6f54081946 Mon Sep 17 00:00:00 2001 +From 66e1f416f3ddc925eea2f7335484f4ccfd82f0f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 8 Oct 2016 16:26:46 +0200 -Subject: [PATCH 114/164] bcm2709: Drop platform smp and timer init code +Subject: [PATCH 114/166] bcm2709: Drop platform smp and timer init code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -137635,10 +137635,10 @@ index 90773a30b87abbfda1615326c6faf59b9db6d68e..d4c9d57d78a964fbbf799b534471462d .init_early = bcm2709_init_early, .reserve = board_reserve, -From 06b405d4ba1f3f52b496a63d7f113b8cf327d05a Mon Sep 17 00:00:00 2001 +From 5fe3a00c42ed6451492a7ff46d8ef0f07f8a130f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 3 Oct 2016 17:53:15 +0200 -Subject: [PATCH 115/164] BCM270X_DT: Use bcm283x.dtsi, bcm2835.dtsi and +Subject: [PATCH 115/166] BCM270X_DT: Use bcm283x.dtsi, bcm2835.dtsi and bcm2836.dtsi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -138767,10 +138767,10 @@ index 223bd9627b3dcaac5458909dc59c877eed751ce4..491594c918cf5da94fbb19a606edb0dd +}; +#endif -From 69425b8b64f5211d6751759053ab81cb9f456a6f Mon Sep 17 00:00:00 2001 +From eb75221509d7e03629662e66251f24b2ce27d936 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 116/164] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 116/166] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -138894,10 +138894,10 @@ index 4dddd8298a227d64862f2e92954a465f2e44b3f6..1f545e024422f59280932713e6a1b051 register_restart_handler(&wdt->restart_handler); if (pm_power_off == NULL) -From 163f8c9a03261e521f352e6840a9c96c4d00c434 Mon Sep 17 00:00:00 2001 +From a67a88dbcebcc7fd6dd098dc58b6d1c28dd8b68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 17:07:46 +0200 -Subject: [PATCH 117/164] bcm270x: Use watchdog for reboot/poweroff +Subject: [PATCH 117/166] bcm270x: Use watchdog for reboot/poweroff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139156,10 +139156,10 @@ index d4c9d57d78a964fbbf799b534471462d3c3b88f1..ed5c5414f7a3ad7284cda881e9e55077 module_param(serial, uint, 0644); -module_param(reboot_part, uint, 0644); -From c779ba297d9bc20c6b94bbb54983d2b5de5d70f2 Mon Sep 17 00:00:00 2001 +From 74e32110c046736c4554d4d46348e67d78bdbea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:35:40 +0200 -Subject: [PATCH 118/164] bcm270x: Remove dead files +Subject: [PATCH 118/166] bcm270x: Remove dead files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139360,10 +139360,10 @@ index 6aa68260dd866c83527dffece8de483913231fb3..00000000000000000000000000000000 - */ -#define VMALLOC_END (0xff000000) -From ad7c997f88722b899430c148b5d1b56f84dffcb3 Mon Sep 17 00:00:00 2001 +From b05e89b90327bc920710b7e5fd01aecdfe608dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:37:43 +0200 -Subject: [PATCH 119/164] bcm270x: Drop bcm2835-aux-uart hack +Subject: [PATCH 119/166] bcm270x: Drop bcm2835-aux-uart hack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139443,10 +139443,10 @@ index ed5c5414f7a3ad7284cda881e9e550777cd29282..9a1ad48d13172856e3ec748db015cb95 system_serial_low = serial; } -From cc4b712ea6df48fbc554d3cc7f93bbfc31418d7f Mon Sep 17 00:00:00 2001 +From 22c1c56e2e8d50acf8064fd5534b36a73089648c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:39:30 +0200 -Subject: [PATCH 120/164] Revert "bcm2835: Add support for uart1" +Subject: [PATCH 120/166] Revert "bcm2835: Add support for uart1" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139504,10 +139504,10 @@ index 0ef5cd3d1d6ec420360294acc98d40d698d38d8a..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 531840b4db7e33129d7b13014f9206ff334fc32d Mon Sep 17 00:00:00 2001 +From f79c819200f0d0b9d8e22636507c1d1807d261b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:41:26 +0200 -Subject: [PATCH 121/164] bcm270x: Remove unnecessary of_platform_populate +Subject: [PATCH 121/166] bcm270x: Remove unnecessary of_platform_populate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139582,10 +139582,10 @@ index 9a1ad48d13172856e3ec748db015cb95cd110b76..d2762f558f644ac87c56ba9402a638a3 system_serial_low = serial; } -From 030daf0f112f19557805ec9a0a26891e2fd4c0d4 Mon Sep 17 00:00:00 2001 +From c4d21f5045fe97dcba843f0fa817b71fe3ad659b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 17:46:27 +0200 -Subject: [PATCH 122/164] bcm270x: Remove 4MB dma coherent pool +Subject: [PATCH 122/166] bcm270x: Remove 4MB dma coherent pool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139666,10 +139666,10 @@ index d2762f558f644ac87c56ba9402a638a3c7a26397..d0e43619669e851350c5d9d7bb7e9dd1 .dt_compat = bcm2709_compat, MACHINE_END -From b0f0835921cdc309f1c316b55f760d5ea97bf5ba Mon Sep 17 00:00:00 2001 +From 28ac8336bf1d82c92aa73e7869a4b1a76d902e88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 19:26:42 +0200 -Subject: [PATCH 123/164] bcm270x: Drop map_io device mapping +Subject: [PATCH 123/166] bcm270x: Drop map_io device mapping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -140618,10 +140618,10 @@ index de7504bfc20ba24be8707861b8389783860adb77..00000000000000000000000000000000 - */ -#define arch_decomp_wdog() -From 5397c49c97f36978916d7413ef6ab4d628d0d7ac Mon Sep 17 00:00:00 2001 +From 4c0584d7e48ad939de422d4ad70d42f00377b920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 10 Oct 2016 19:37:06 +0200 -Subject: [PATCH 124/164] bcm270x: Use DT_MACHINE_START +Subject: [PATCH 124/166] bcm270x: Use DT_MACHINE_START MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -140703,10 +140703,10 @@ index b52d949ee91d96eb7672fbbb4969bfa1e7afc376..2ed1b8a922ed02b9e3545991873af77b ics_if_voip MACH_ICS_IF_VOIP ICS_IF_VOIP 3206 wlf_cragg_6410 MACH_WLF_CRAGG_6410 WLF_CRAGG_6410 3207 -From bcf2ecc145e4ad033dbd1fa5f6fc9ead0726c318 Mon Sep 17 00:00:00 2001 +From 645ea0802676f2227b0b85e647e53e952e378edf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 11 Oct 2016 17:48:07 +0100 -Subject: [PATCH 125/164] Use DT rather than modules params for board rev and +Subject: [PATCH 125/166] Use DT rather than modules params for board rev and serial --- @@ -140800,10 +140800,10 @@ index 9cf36118e57b3c362de9adcf089425023d4a601d..9f113736627175bdcb362e0eda469e09 -module_param(boardrev, uint, 0644); -module_param(serial, uint, 0644); -From 30209d500d1a96f569bd8fe2017a2b2424fec2a6 Mon Sep 17 00:00:00 2001 +From 18bf5b52ccaaee636a14458dc7e3831bb20f2dd9 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 126/164] Register the clocks early during the boot process, so +Subject: [PATCH 126/166] 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. @@ -140849,10 +140849,10 @@ index fbf616021704178a9d007219a0ea2a9f1704f0a6..cbbc8d4ddcffc797268c0ecb6477005f MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From cfe0b81dce68687d6f9a11b8d10fa9e9c55c5587 Mon Sep 17 00:00:00 2001 +From d0d56d33e3bd55e4e10c65d01fa2cf4336982b21 Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Tue, 27 Sep 2016 04:29:00 -0400 -Subject: [PATCH 127/164] Add Adafruit pitft35 touchscreen support (#1657) +Subject: [PATCH 127/166] Add Adafruit pitft35 touchscreen support (#1657) The dts comes from the Adafruit repository @@ -141057,10 +141057,10 @@ index 952104ab6c4cd0e9d8f7bd5f2fba7a72da75424e..26fa6c2b6b6d745178e666465ba226af CONFIG_FB_TFT_ILI9320=m CONFIG_FB_TFT_ILI9325=m -From aeba0295c776b0990dccc7d1d92b485ae1f19d8b Mon Sep 17 00:00:00 2001 +From 554c03e634b27531582f6d14a976d306de42af5f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Oct 2016 15:06:20 +0100 -Subject: [PATCH 128/164] BCM270X_DT: Update CM3 to use sdhost interface +Subject: [PATCH 128/166] BCM270X_DT: Update CM3 to use sdhost interface --- arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 9 ++++----- @@ -141096,57 +141096,10 @@ index b5a5ae7747455438f8eabd28e8c11c6aeb0c1ecc..d13e3d4dac4e198c8cac451e3f64ef68 bus-width = <4>; status = "okay"; -From b0266e0382c2ae151653f7319d2de52080d6be30 Mon Sep 17 00:00:00 2001 -From: popcornmix -Date: Tue, 11 Oct 2016 18:10:17 +0100 -Subject: [PATCH 129/164] Revert "Register the clocks early during the boot - process," - -This reverts commit bcc804ce3dfd5eb4800c9dd77370da7e7913f77d. ---- - drivers/clk/bcm/clk-bcm2835.c | 17 +++-------------- - 1 file changed, 3 insertions(+), 14 deletions(-) - -diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index cbbc8d4ddcffc797268c0ecb6477005fa14e228b..fbf616021704178a9d007219a0ea2a9f1704f0a6 100644 ---- a/drivers/clk/bcm/clk-bcm2835.c -+++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1891,15 +1891,8 @@ static int bcm2835_clk_probe(struct platform_device *pdev) - if (ret) - return ret; - -- ret = of_clk_add_provider(dev->of_node, of_clk_src_onecell_get, -- &cprman->onecell); -- if (ret) -- return ret; -- -- /* note that we have registered all the clocks */ -- dev_dbg(dev, "registered %d clocks\n", asize); -- -- return 0; -+ return of_clk_add_provider(dev->of_node, of_clk_src_onecell_get, -+ &cprman->onecell); - } - - static const struct of_device_id bcm2835_clk_of_match[] = { -@@ -1916,11 +1909,7 @@ static struct platform_driver bcm2835_clk_driver = { - .probe = bcm2835_clk_probe, - }; - --static int __init __bcm2835_clk_driver_init(void) --{ -- return platform_driver_register(&bcm2835_clk_driver); --} --core_initcall(__bcm2835_clk_driver_init); -+builtin_platform_driver(bcm2835_clk_driver); - - MODULE_AUTHOR("Eric Anholt "); - MODULE_DESCRIPTION("BCM2835 clock driver"); - -From d1c9e185a7b617296801fbf02ed517e8ce24f273 Mon Sep 17 00:00:00 2001 +From bcc978a85ab882be6fc37f7e7bce4ac7b58a790b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 12 Oct 2016 15:10:14 +0100 -Subject: [PATCH 130/164] mmc: info (not err) msg on clock probe deferral +Subject: [PATCH 129/166] mmc: info (not err) msg on clock probe deferral --- drivers/mmc/host/bcm2835-mmc.c | 5 ++++- @@ -141188,10 +141141,10 @@ index 23dea422182534e248435aeaee3ecb5da69c0d33..9e55d5ac08b5809c40fe391ae6e685fd } -From e8dc9501fe7ad88e5da5a00cc659f8c89714da79 Mon Sep 17 00:00:00 2001 +From 9cf648a12cbfcab6bb37a11fd0cd145c3b4cfaae Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 15 Oct 2016 11:49:52 -0700 -Subject: [PATCH 131/164] ARM64: Modify default config to get raspbian to boot +Subject: [PATCH 130/166] ARM64: Modify default config to get raspbian to boot (#1686) 1. Enable emulation of deprecated instructions. @@ -141256,10 +141209,10 @@ index 1fcde8c1329bbfd329245a8bb17691999882ccfc..d7406f5a4620151044b8f716b4d10bb8 CONFIG_MFD_STMPE=y CONFIG_STMPE_SPI=y -From b9d16535c598c898266b8dcc0e5a29fbfe2e3724 Mon Sep 17 00:00:00 2001 +From 69c6917cd07aef554246695f6bfd504756af45c2 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 132/164] Support for Blokas Labs pisound board +Subject: [PATCH 131/166] Support for Blokas Labs pisound board --- .../devicetree/bindings/vendor-prefixes.txt | 1 + @@ -142485,10 +142438,10 @@ index 0000000000000000000000000000000000000000..b156e5793e4c482385dedafd85bbf190 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 0f37e566d9f98adc6a1663ea0484e63dcb2e0f38 Mon Sep 17 00:00:00 2001 +From 9cab0dccd1704e72214985bdd10ada4122839dac Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Tue, 25 Oct 2016 01:47:20 +0300 -Subject: [PATCH 133/164] FIXUP: pisound: Fix a warning in DEBUG builds +Subject: [PATCH 132/166] FIXUP: pisound: Fix a warning in DEBUG builds Also change a macro that enables debug level printing from DEBUG to PISOUND_DEBUG. @@ -142519,10 +142472,10 @@ index b156e5793e4c482385dedafd85bbf190acc8162b..a3cd089a01447bdb6741ed6bba3b21d4 } -From 3280e800f566885bdbaff4bef35b41e500629c4d Mon Sep 17 00:00:00 2001 +From b1e0f810c72856b13d822dc701608e2983866e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 16:25:41 +0200 -Subject: [PATCH 134/164] bcm270x: Remove bcm2708_reboot_mode parameter +Subject: [PATCH 133/166] bcm270x: Remove bcm2708_reboot_mode parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142556,10 +142509,10 @@ index 0a0332cb13a7475ee0c4d75a97685b7de6475c95..612eb530f33fcd19bc4539facb26fc30 { unsigned long flags; -From 327ff13907fefdffa78ec467131142335fdfd700 Mon Sep 17 00:00:00 2001 +From e3eb9040e084694b352e4e9a23a38d77654be8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 15:54:41 +0200 -Subject: [PATCH 135/164] bcm270x: Remove NEED_MACH_IO_H +Subject: [PATCH 134/166] bcm270x: Remove NEED_MACH_IO_H MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142676,10 +142629,10 @@ index e6eb84d71006db417dbd0afc4d08d3b19b09a619..00000000000000000000000000000000 - -#endif -From 7f1ca8e80668702796090d5702acaa286c7457f1 Mon Sep 17 00:00:00 2001 +From 738064dcb06e604a76c020a63d71207a88c3e2b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 16:01:01 +0200 -Subject: [PATCH 136/164] dwc_otg: Pass struct device to dma_alloc*() +Subject: [PATCH 135/166] dwc_otg: Pass struct device to dma_alloc*() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143304,10 +143257,10 @@ index 5624f32c9ea9117599df451af29fca2e3bca36de..50aaeacdd12fff93d7a9cf1c54612367 if (!otg_dev->pcd) { DWC_ERROR("dwc_otg_pcd_init failed\n"); -From 0776837a2552dfd5e502e3c6347fd3667f452dcd Mon Sep 17 00:00:00 2001 +From bed113d0445cec9bf554f220d3a69b895ff65f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 16:05:36 +0200 -Subject: [PATCH 137/164] mmc: bcm2835-sdhost: Pass struct device to +Subject: [PATCH 136/166] mmc: bcm2835-sdhost: Pass struct device to dma_alloc*() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -143357,10 +143310,10 @@ index 9e55d5ac08b5809c40fe391ae6e685fdb4d62df7..a9bc79bfdbb71807819dfe2d8f165144 mmc_of_parse(mmc); else -From 5bc42c8bf4b354d74794382cdd024beb61a18985 Mon Sep 17 00:00:00 2001 +From aba54324606fb8dd631d970767ca9fa77cdd8d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 19 Oct 2016 16:16:48 +0200 -Subject: [PATCH 138/164] bcm270x: Drop NEED_MACH_MEMORY_H and use DT +Subject: [PATCH 137/166] bcm270x: Drop NEED_MACH_MEMORY_H and use DT dma-ranges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -143615,10 +143568,10 @@ index 7548a52dcf84affa4d1b0667e5e2f89f591891b8..00000000000000000000000000000000 - -#endif -From b591582d33b52b742d49c1d415e18e6c99e0ae8f Mon Sep 17 00:00:00 2001 +From 846c524d415a53735537caa099b0d1a28e6e1c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 25 Oct 2016 15:55:09 +0200 -Subject: [PATCH 139/164] dts: Remove bcm2835-rpi-cm.dts +Subject: [PATCH 138/166] dts: Remove bcm2835-rpi-cm.dts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143784,10 +143737,10 @@ index 9c4000fc686a9882b9ddde24fdcf937d52b0f86f..00000000000000000000000000000000 - }; -}; -From e6cb31eb381383f5809322475605944f96418faf Mon Sep 17 00:00:00 2001 +From ca4b4da31461df8f15ac0c9f44779f4af58d7c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 25 Oct 2016 16:00:07 +0200 -Subject: [PATCH 140/164] bcm2708: Convert to ARCH_MULTIPLATFORM +Subject: [PATCH 139/166] bcm2708: Convert to ARCH_MULTIPLATFORM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -144108,10 +144061,10 @@ index 75da978fac0e06819d8a9740b95ee3d7035c1059..662790c8fa9c972bbf3ac7f41b9f5eac obj-$(CONFIG_ARCH_BCM2709) += irq-bcm2836.o obj-$(CONFIG_ARCH_EXYNOS) += exynos-combiner.o -From 6c110ebd6127aaf0abf2e466ea7da918397d3b26 Mon Sep 17 00:00:00 2001 +From 85cda137ab2eb08f020c1914866a8fe3d05463e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 25 Oct 2016 16:02:39 +0200 -Subject: [PATCH 141/164] bcm2709: Convert to ARCH_MULTIPLATFORM +Subject: [PATCH 140/166] bcm2709: Convert to ARCH_MULTIPLATFORM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -144381,10 +144334,10 @@ index 662790c8fa9c972bbf3ac7f41b9f5eace912b69c..4c203b6b816357dce8d7a768ac81feab obj-$(CONFIG_ARCH_HIP04) += irq-hip04.o obj-$(CONFIG_ARCH_LPC32XX) += irq-lpc32xx.o -From 49f4af4492d14a900fcd52a4d87bd160b3dd93f2 Mon Sep 17 00:00:00 2001 +From f658c5d2f828e82fa007468beb9c82da36b72749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 25 Oct 2016 17:32:02 +0200 -Subject: [PATCH 142/164] kconfig: Just use ARCH_BCM2835 for depends on +Subject: [PATCH 141/166] kconfig: Just use ARCH_BCM2835 for depends on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -144715,10 +144668,10 @@ index aed7b47d8736ea3fb1810b0c77916855082f3b2d..d024377e8450fb5402dcb5ea27161f77 select REGMAP_MMIO help -From a5d0da00086e51acd507e4d76e4f95fd16796b9a Mon Sep 17 00:00:00 2001 +From a00a9690b2ca63cea2caa3e7eebdca7a592c5eaf Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 28 Oct 2016 13:55:36 +0100 -Subject: [PATCH 143/164] bcm270x: Use dma-ranges unconditionally on bcm2710 +Subject: [PATCH 142/166] bcm270x: Use dma-ranges unconditionally on bcm2710 See: https://github.com/raspberrypi/linux/pull/1699 @@ -144752,10 +144705,10 @@ index 491594c918cf5da94fbb19a606edb0dd9a28c3a9..df1a4ce1cd4e570876b7785b357d6c31 interrupts = <8>; }; -From 7b5f91a65d44dac1c809f81d362a6e77bfcdd805 Mon Sep 17 00:00:00 2001 +From 34fa337cabea0cc65a74363a3653a2367556c981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 27 Oct 2016 21:57:56 +0200 -Subject: [PATCH 144/164] BCM270X_DT: Use raspberrypi-power to turn on USB +Subject: [PATCH 143/166] BCM270X_DT: Use raspberrypi-power to turn on USB power MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -144781,10 +144734,10 @@ index d85c05901c8f55f822b89c32d198f15559a2b4b0..46cf8602c3b96e477b05b57dbfe5e349 + power-domains = <&power RPI_POWER_DOMAIN_USB>; +}; -From 81542c016207c4ea5c673ac0f25a4b7cf76beda3 Mon Sep 17 00:00:00 2001 +From 36b0ea6dad125de8b7196a8a8941752c92248632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 27 Oct 2016 21:58:09 +0200 -Subject: [PATCH 145/164] firmware: bcm2835: Don't turn on USB power +Subject: [PATCH 144/166] firmware: bcm2835: Don't turn on USB power MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -144840,10 +144793,10 @@ index b980d531b35b9981a88356ef1c8a7b868a85f2b5..3f070bd38a91511c986e3fb114b15bd4 } -From dbb94f6d92546a458f7c026541377e7769db76ab Mon Sep 17 00:00:00 2001 +From 6530da1cd8ea612d64b3b235e93a36c706eca548 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 31 Oct 2016 17:35:31 +0000 -Subject: [PATCH 146/164] bcm2835: Increase coherent allocation to 1M for +Subject: [PATCH 145/166] bcm2835: Increase coherent allocation to 1M for dwc_otg bounce buffers --- @@ -144901,10 +144854,10 @@ index 6ce49dea7856b243b38f180231afd25b57dee729..efbd18020479c1cab40ce680446a4259 MACHINE_END #endif -From 1fb0f362fa01d18de299c956f0b8c3a3a3176618 Mon Sep 17 00:00:00 2001 +From 3e1f77e8982670144ee7c0c673d435669a35bc49 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 31 Oct 2016 17:35:57 +0000 -Subject: [PATCH 147/164] dwc_otg: Warn if dma_alloc_coherent fails +Subject: [PATCH 146/166] dwc_otg: Warn if dma_alloc_coherent fails --- drivers/usb/host/dwc_otg/dwc_otg_pcd_linux.c | 1 + @@ -144923,10 +144876,10 @@ index 50aaeacdd12fff93d7a9cf1c54612367406c6bee..e799f15f294706ad7ac328dcb9ce68fb /* Check dword alignment */ if (((int)buf & 0x3UL) != 0) { -From 3687ccf0bed7d514473f139bbc12249f82349ce6 Mon Sep 17 00:00:00 2001 +From 894839562a4cf427fbd7888bb914c06e29f6dbaa Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Fri, 4 Nov 2016 16:13:07 -0700 -Subject: [PATCH 148/164] bcmrpi3_defconfig: Update config to be compatible +Subject: [PATCH 147/166] bcmrpi3_defconfig: Update config to be compatible with latest Kconfig changes. This new config has been run through make savedefconfig. @@ -145182,10 +145135,10 @@ index d7406f5a4620151044b8f716b4d10bb818648e06..cd1d39b467a947a015eb14568086a6ba CONFIG_LIBCRC32C=y -CONFIG_BCM2708_VCHIQ=n -From 84c53a059eceded2c047c2a0071b27833b25ddf0 Mon Sep 17 00:00:00 2001 +From 705b29225cf2ac801175aa7583ae10165fd3d4ef Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 149/164] spi-bcm2835: Remove unused code +Subject: [PATCH 148/166] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -145273,10 +145226,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From ccc550c6e6f5089ea626764f301dd7355a6e13e2 Mon Sep 17 00:00:00 2001 +From bc25958a363c1d0a1adfe40110fbdd252b3f3d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 17 Sep 2016 15:07:10 +0200 -Subject: [PATCH 150/164] i2c: bcm2835: Fix hang for writing messages larger +Subject: [PATCH 149/166] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -145366,10 +145319,10 @@ index d4f3239b56865919e1b781b20a7c5ebcd76b4eb9..f283b714aa79e2e4685ed95b04b6b289 i2c_dev->msg_buf_remaining = msg->len; reinit_completion(&i2c_dev->completion); -From d9afb2ca5b2a1dc5a0e143c6d6ef25147314ff11 Mon Sep 17 00:00:00 2001 +From 2573e98285f18f78134d284be9a47fd8712c4eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 18:24:38 +0200 -Subject: [PATCH 151/164] i2c: bcm2835: Protect against unexpected TXW/RXR +Subject: [PATCH 150/166] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -145494,10 +145447,10 @@ index f283b714aa79e2e4685ed95b04b6b289f7e9eee7..d2ba1a4de36af512e8e3c97251bd3537 return -ETIMEDOUT; } -From 6f08d573999c728aa54cb40f3d1d8a22967e9e4d Mon Sep 17 00:00:00 2001 +From ea726eb2e6c6fe81be267d18cb6c020f25eefc7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 19 Sep 2016 17:19:41 +0200 -Subject: [PATCH 152/164] i2c: bcm2835: Use dev_dbg logging on transfer errors +Subject: [PATCH 151/166] i2c: bcm2835: Use dev_dbg logging on transfer errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -145529,10 +145482,10 @@ index d2ba1a4de36af512e8e3c97251bd3537ae61591a..54d510abd46a117c9238fc6d7edec840 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 31a9c07c25677a41054435f46e9950e138b8daac Mon Sep 17 00:00:00 2001 +From 57302553d0524dea750b2341233611de28512b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 22 Sep 2016 22:05:50 +0200 -Subject: [PATCH 153/164] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK +Subject: [PATCH 152/166] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -145576,10 +145529,10 @@ index 54d510abd46a117c9238fc6d7edec84019d1f60d..565ef69ce61423544dc0558c85ef318b if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) -From 67c001d6ad4e091619eddb1e1387807a0afaeda9 Mon Sep 17 00:00:00 2001 +From 919059640b7ea0b9042258e29269ac3bcb4151ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 04:54:27 +0200 -Subject: [PATCH 154/164] i2c: bcm2835: Add support for Repeated Start +Subject: [PATCH 153/166] i2c: bcm2835: Add support for Repeated Start Condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -145761,10 +145714,10 @@ index 565ef69ce61423544dc0558c85ef318b0ae9c324..241e08ae7c27cec23fad3c1bf3ebad3a static u32 bcm2835_i2c_func(struct i2c_adapter *adap) -From 7ef0bb9cec2f6152f2c98065f680bc9c65cf6cae Mon Sep 17 00:00:00 2001 +From 4700b38113d27319b58b749cdc886333744cfd1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 04:57:17 +0200 -Subject: [PATCH 155/164] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT +Subject: [PATCH 154/166] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -145801,10 +145754,10 @@ index 241e08ae7c27cec23fad3c1bf3ebad3a4d2a8e6f..d2085dd3742eabebc537621968088261 bcm2835_i2c_writel(i2c_dev, BCM2835_I2C_C, BCM2835_I2C_C_CLEAR); -From de85a75c99c7accaeb0663d828a3c633c39ce5a3 Mon Sep 17 00:00:00 2001 +From 27a77fd8ad7aed8af411ed604b0d1173a93887a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 27 Sep 2016 01:00:08 +0200 -Subject: [PATCH 156/164] i2c: bcm2835: Add support for dynamic clock +Subject: [PATCH 155/166] i2c: bcm2835: Add support for dynamic clock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -145920,10 +145873,10 @@ index d2085dd3742eabebc537621968088261f8dc7ea8..c3436f627028477f7e21b47e079fd5ab irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); if (!irq) { -From a1f654c18d571db09c8607ceb07d5e553726c92b Mon Sep 17 00:00:00 2001 +From f16979014f3379b6c3d7096f93a85ed13fe8f931 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 157/164] i2c: bcm2835: Add debug support +Subject: [PATCH 156/166] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146112,10 +146065,10 @@ index c3436f627028477f7e21b47e079fd5ab06ec188a..8642f580ce41803bd22c76a0fa80d083 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From aa9d0e5f5bc75f8b7c23ad5c28d514447cab1c06 Mon Sep 17 00:00:00 2001 +From 88ece607b268b8bb69d17bc3821d9b194ffee942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 20:03:29 +0100 -Subject: [PATCH 158/164] config: Enable i2c-bcm2835 +Subject: [PATCH 157/166] config: Enable i2c-bcm2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146151,10 +146104,10 @@ index 27c61471a12a38feda62447af8010530bc89c141..98b2e5992a45a6212ef9a8b9826431d9 CONFIG_SPI=y CONFIG_SPI_BCM2835=m -From d5c07cc7947cab9a1263580d8db8144a8b5df0d5 Mon Sep 17 00:00:00 2001 +From dc03c36f2d04f2fa9ec886de30ade92a15f11e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:42:55 +0100 -Subject: [PATCH 159/164] BCM270X_DT: Use i2c-bcm2835 as default +Subject: [PATCH 158/166] BCM270X_DT: Use i2c-bcm2835 as default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146197,10 +146150,10 @@ index 7fb1f428332dc48bdd91dd4a0773f3bea7057238..514b481d4f4095dc8b55a216ac733593 /* Add alias */ status = "disabled"; -From 27366d7f67935fccaf9499c14f214704a46c77ca Mon Sep 17 00:00:00 2001 +From 33aa6ff57b34681f62f2ea94ae40aee89e147d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 11 Nov 2016 18:24:26 +0100 -Subject: [PATCH 160/164] BCM270X_DT: Add fallback overlay for i2c-bcm2708 +Subject: [PATCH 159/166] BCM270X_DT: Add fallback overlay for i2c-bcm2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146262,10 +146215,10 @@ index 0000000000000000000000000000000000000000..0afc6b405414c97428278dd3e8836759 + }; +}; -From dfa675bd8f4014b7336a054c0fd10121221f064a Mon Sep 17 00:00:00 2001 +From e71da570a44b5a10cc9b4fef3b6d0c5d459fbb06 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 30 Sep 2016 10:07:27 -0700 -Subject: [PATCH 161/164] clk: bcm2835: Clamp the PLL's requested rate to the +Subject: [PATCH 160/166] clk: bcm2835: Clamp the PLL's requested rate to the hardware limits. Fixes setting low-resolution video modes on HDMI. Now the PLLH_PIX @@ -146278,7 +146231,7 @@ Signed-off-by: Stephen Boyd 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index fbf616021704178a9d007219a0ea2a9f1704f0a6..b07c3485441203356bcda287e32f59041d31196e 100644 +index cbbc8d4ddcffc797268c0ecb6477005fa14e228b..89645d63af53a3559c4b2e88f9a592fe11f5103f 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c @@ -502,8 +502,12 @@ static long bcm2835_pll_rate_from_divisors(unsigned long parent_rate, @@ -146309,10 +146262,10 @@ index fbf616021704178a9d007219a0ea2a9f1704f0a6..b07c3485441203356bcda287e32f5904 use_fb_prediv = true; rate /= 2; -From 7e66587b08d2da8b366279fafae3b16ae0fd1a16 Mon Sep 17 00:00:00 2001 +From 1222402a52717fe10711b88c5602809d2b9d1290 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 1 Nov 2016 13:10:05 +0000 -Subject: [PATCH 162/164] config: Add CONFIG_HTU21 module +Subject: [PATCH 161/166] config: Add CONFIG_HTU21 module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -146344,10 +146297,10 @@ index 98b2e5992a45a6212ef9a8b9826431d9fc024169..43fc0a37f8bf2701aac84962203e7219 CONFIG_PWM_PCA9685=m CONFIG_RASPBERRYPI_FIRMWARE=y -From af6549ac3dbb013a166e4a6740e4698a68dc4780 Mon Sep 17 00:00:00 2001 +From cfa276be760fd0fd09d6e9bb27fe3ea75fe97e9c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 31 Oct 2016 17:42:54 +0000 -Subject: [PATCH 163/164] config: Add SECOMP options from #1698 +Subject: [PATCH 162/166] config: Add SECOMP options from #1698 --- arch/arm/configs/bcm2709_defconfig | 8 +++++++- @@ -146444,49 +146397,628 @@ index 43fc0a37f8bf2701aac84962203e7219645d5d7b..3de3a93921cbea9e56ac34d589ec6e83 CONFIG_CRYPTO_CRYPTD=m CONFIG_CRYPTO_CBC=y -From 61a0dafeb83dfa15107ce1e6e3e3ea9f550d8c38 Mon Sep 17 00:00:00 2001 +From 565959dda0cbf2fc00de905b94189c94118ea118 Mon Sep 17 00:00:00 2001 From: popcornmix -Date: Sun, 13 Nov 2016 17:37:35 +0000 -Subject: [PATCH 164/164] Revert "Revert "Register the clocks early during the - boot process,"" +Date: Sat, 5 Nov 2016 14:14:43 +0000 +Subject: [PATCH 163/166] bcm2708_fb: Add ioctl for reading gpu memory through + dma -This reverts commit a999a266a45996796e5d3edd907f5648ad206239. --- - drivers/clk/bcm/clk-bcm2835.c | 17 ++++++++++++++--- - 1 file changed, 14 insertions(+), 3 deletions(-) + drivers/video/fbdev/bcm2708_fb.c | 109 +++++++++++++++++++++++++++++++++++++++ + include/uapi/linux/fb.h | 7 +++ + 2 files changed, 116 insertions(+) -diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index b07c3485441203356bcda287e32f59041d31196e..89645d63af53a3559c4b2e88f9a592fe11f5103f 100644 ---- a/drivers/clk/bcm/clk-bcm2835.c -+++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1888,8 +1888,15 @@ static int bcm2835_clk_probe(struct platform_device *pdev) - if (ret) - return ret; +diff --git a/drivers/video/fbdev/bcm2708_fb.c b/drivers/video/fbdev/bcm2708_fb.c +index 37f60813fe1dd95d9f5f725c07ec2e75c09857bf..a6179186f5a65ebeb99bea34c546f690bb2fd903 100644 +--- a/drivers/video/fbdev/bcm2708_fb.c ++++ b/drivers/video/fbdev/bcm2708_fb.c +@@ -31,8 +31,10 @@ + #include + #include + #include ++#include + #include + #include ++#include + #include -- return of_clk_add_provider(dev->of_node, of_clk_src_onecell_get, -- &cprman->onecell); -+ ret = of_clk_add_provider(dev->of_node, of_clk_src_onecell_get, -+ &cprman->onecell); -+ if (ret) -+ return ret; -+ -+ /* note that we have registered all the clocks */ -+ dev_dbg(dev, "registered %d clocks\n", asize); -+ -+ return 0; + //#define BCM2708_FB_DEBUG +@@ -426,6 +428,110 @@ static int bcm2708_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info + return result; } - static const struct of_device_id bcm2835_clk_of_match[] = { -@@ -1906,7 +1913,11 @@ static struct platform_driver bcm2835_clk_driver = { - .probe = bcm2835_clk_probe, ++static void dma_memcpy(struct bcm2708_fb *fb, dma_addr_t dst, dma_addr_t src, int size) ++{ ++ int burst_size = (fb->dma_chan == 0) ? 8 : 2; ++ struct bcm2708_dma_cb *cb = fb->cb_base; ++ ++ cb->info = BCM2708_DMA_BURST(burst_size) | BCM2708_DMA_S_WIDTH | ++ BCM2708_DMA_S_INC | BCM2708_DMA_D_WIDTH | ++ BCM2708_DMA_D_INC | BCM2708_DMA_TDMODE; ++ cb->dst = dst; ++ cb->src = src; ++ cb->length = size; ++ cb->stride = 0; ++ cb->pad[0] = 0; ++ cb->pad[1] = 0; ++ cb->next = 0; ++ ++ if (size < dma_busy_wait_threshold) { ++ bcm_dma_start(fb->dma_chan_base, fb->cb_handle); ++ bcm_dma_wait_idle(fb->dma_chan_base); ++ } else { ++ void __iomem *dma_chan = fb->dma_chan_base; ++ cb->info |= BCM2708_DMA_INT_EN; ++ bcm_dma_start(fb->dma_chan_base, fb->cb_handle); ++ while (bcm_dma_is_busy(dma_chan)) { ++ wait_event_interruptible( ++ fb->dma_waitq, ++ !bcm_dma_is_busy(dma_chan)); ++ } ++ fb->stats.dma_irqs++; ++ } ++ fb->stats.dma_copies++; ++} ++ ++#define INTALIAS_NORMAL(x) ((x)&~0xc0000000) // address with no aliases ++#define INTALIAS_L1L2_NONALLOCATING(x) (((x)&~0xc0000000)|0x80000000) // cache coherent but non-allocating in L1 and L2 ++ ++static long vc_mem_copy(struct bcm2708_fb *fb, unsigned long arg) ++{ ++ struct fb_dmacopy ioparam; ++ size_t size = PAGE_SIZE; ++ u32 *buf = NULL; ++ dma_addr_t bus_addr; ++ long rc = 0; ++ size_t offset; ++ struct { u32 base, length; } gpu = {}; ++ ++ /* restrict this to root user */ ++ if (!uid_eq(current_euid(), GLOBAL_ROOT_UID)) ++ { ++ rc = -EFAULT; ++ goto out; ++ } ++ ++ /* Get the parameter data. ++ */ ++ if (copy_from_user ++ (&ioparam, (void *)arg, sizeof(ioparam)) != 0) { ++ pr_err("[%s]: failed to copy-from-user\n", ++ __func__); ++ rc = -EFAULT; ++ goto out; ++ } ++ ++ rc = rpi_firmware_property(fb->fw, ++ RPI_FIRMWARE_GET_VC_MEMORY, ++ &gpu, sizeof(gpu)); ++ if (rc != 0 || gpu.base == 0 || gpu.length == 0) { ++ pr_err("[%s]: Unable to determine gpu memory %ld,%x,%x)\n", __func__, rc, gpu.base, gpu.length); ++ return -EFAULT; ++ } ++ ++ if (INTALIAS_NORMAL(ioparam.src) < gpu.base || INTALIAS_NORMAL(ioparam.src) >= gpu.base + gpu.length) { ++ pr_err("[%s]: Invalid memory access %x (%x-%x)", __func__, INTALIAS_NORMAL(ioparam.src), gpu.base, gpu.base + gpu.length); ++ return -EFAULT; ++ } ++ ++ buf = dma_alloc_coherent(NULL, PAGE_ALIGN(size), &bus_addr, ++ GFP_ATOMIC); ++ if (!buf) { ++ pr_err("[%s]: failed to dma_alloc_coherent(%d)\n", ++ __func__, size); ++ rc = -ENOMEM; ++ goto out; ++ } ++ ++ for (offset = 0; offset < ioparam.length; offset += size) { ++ size_t remaining = ioparam.length - offset; ++ size_t s = min(size, remaining); ++ unsigned char *p = (unsigned char *)ioparam.src + offset; ++ unsigned char *q = (unsigned char *)ioparam.dst + offset; ++ dma_memcpy(fb, (dma_addr_t)buf, INTALIAS_L1L2_NONALLOCATING((dma_addr_t)p), size); ++ if (copy_to_user(q, buf, s) != 0) { ++ pr_err("[%s]: failed to copy-to-user\n", ++ __func__); ++ rc = -EFAULT; ++ goto out; ++ } ++ } ++out: ++ if (buf) ++ dma_free_coherent(NULL, PAGE_ALIGN(size), buf, bus_addr); ++ return rc; ++} ++ + static int bcm2708_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg) + { + struct bcm2708_fb *fb = to_bcm2708(info); +@@ -438,6 +544,9 @@ static int bcm2708_ioctl(struct fb_info *info, unsigned int cmd, unsigned long a + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC, + &dummy, sizeof(dummy)); + break; ++ case FBIODMACOPY: ++ ret = vc_mem_copy(fb, arg); ++ break; + default: + dev_dbg(info->device, "Unknown ioctl 0x%x\n", cmd); + return -ENOTTY; +diff --git a/include/uapi/linux/fb.h b/include/uapi/linux/fb.h +index fa72af0c981710fe80bacf4cf6612f6da19046ee..289e7c03c1e3308d5a02fc783af4a5692e791cfb 100644 +--- a/include/uapi/linux/fb.h ++++ b/include/uapi/linux/fb.h +@@ -39,6 +39,7 @@ + * be concurrently added to the mainline kernel + */ + #define FBIOCOPYAREA _IOW('z', 0x21, struct fb_copyarea) ++#define FBIODMACOPY _IOW('z', 0x22, struct fb_dmacopy) + + #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ + #define FB_TYPE_PLANES 1 /* Non interleaved planes */ +@@ -351,6 +352,12 @@ struct fb_copyarea { + __u32 sy; }; --builtin_platform_driver(bcm2835_clk_driver); -+static int __init __bcm2835_clk_driver_init(void) -+{ -+ return platform_driver_register(&bcm2835_clk_driver); -+} -+core_initcall(__bcm2835_clk_driver_init); ++struct fb_dmacopy { ++ dma_addr_t dst; ++ dma_addr_t src; ++ __u32 length; ++}; ++ + struct fb_fillrect { + __u32 dx; /* screen-relative */ + __u32 dy; + +From 861a6e93fdd69867ad4744159b56f96847d3cbb4 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Fri, 11 Nov 2016 19:32:54 +0000 +Subject: [PATCH 164/166] rpi-ft5406: Create coherent buffer and push to + firmware + +--- + drivers/input/touchscreen/rpi-ft5406.c | 152 +++++++++++++++++++---------- + include/soc/bcm2835/raspberrypi-firmware.h | 1 + + 2 files changed, 101 insertions(+), 52 deletions(-) + +diff --git a/drivers/input/touchscreen/rpi-ft5406.c b/drivers/input/touchscreen/rpi-ft5406.c +index b27dbee8f56773dbd2a5503dc864747d0bebdddc..c5e31978c85a4ffd6839952ce0de50c001c7b875 100644 +--- a/drivers/input/touchscreen/rpi-ft5406.c ++++ b/drivers/input/touchscreen/rpi-ft5406.c +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + + #define MAXIMUM_SUPPORTED_POINTS 10 +@@ -45,6 +46,7 @@ struct ft5406 { + struct platform_device * pdev; + struct input_dev * input_dev; + void __iomem * ts_base; ++ dma_addr_t bus_addr; + struct ft5406_regs * regs; + struct task_struct * thread; + }; +@@ -117,18 +119,19 @@ static int ft5406_thread(void *arg) + + static int ft5406_probe(struct platform_device *pdev) + { +- int ret; +- struct input_dev * input_dev = input_allocate_device(); ++ int err = 0; ++ struct device *dev = &pdev->dev; ++ struct device_node *np = dev->of_node; + struct ft5406 * ts; + struct device_node *fw_node; + struct rpi_firmware *fw; + u32 touchbuf; + +- dev_info(&pdev->dev, "Probing device\n"); ++ dev_info(dev, "Probing device\n"); + +- fw_node = of_parse_phandle(pdev->dev.of_node, "firmware", 0); ++ fw_node = of_parse_phandle(np, "firmware", 0); + if (!fw_node) { +- dev_err(&pdev->dev, "Missing firmware node\n"); ++ dev_err(dev, "Missing firmware node\n"); + return -ENOENT; + } + +@@ -136,62 +139,88 @@ static int ft5406_probe(struct platform_device *pdev) + if (!fw) + return -EPROBE_DEFER; + +- ret = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_GET_TOUCHBUF, +- &touchbuf, sizeof(touchbuf)); +- if (ret) { +- dev_err(&pdev->dev, "Failed to get touch buffer\n"); +- return ret; ++ ts = devm_kzalloc(dev, sizeof(struct ft5406), GFP_KERNEL); ++ if (!ts) { ++ dev_err(dev, "Failed to allocate memory\n"); ++ return -ENOMEM; + } + +- if (!touchbuf) { +- dev_err(&pdev->dev, "Touchscreen not detected\n"); +- return -ENODEV; ++ ts->input_dev = input_allocate_device(); ++ if (!ts->input_dev) { ++ dev_err(dev, "Failed to allocate input device\n"); ++ return -ENOMEM; + } + +- dev_dbg(&pdev->dev, "Got TS buffer 0x%x\n", touchbuf); ++ ts->ts_base = dma_zalloc_coherent(dev, PAGE_SIZE, &ts->bus_addr, GFP_KERNEL); ++ if (!ts->ts_base) { ++ pr_err("[%s]: failed to dma_alloc_coherent(%ld)\n", ++ __func__, PAGE_SIZE); ++ err = -ENOMEM; ++ goto out; ++ } + +- ts = kzalloc(sizeof(struct ft5406), GFP_KERNEL); ++ touchbuf = (u32)ts->bus_addr; ++ err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_SET_TOUCHBUF, ++ &touchbuf, sizeof(touchbuf)); + +- if (!ts || !input_dev) { +- ret = -ENOMEM; +- dev_err(&pdev->dev, "Failed to allocate memory\n"); +- return ret; ++ if (err || touchbuf != 0) { ++ dev_warn(dev, "Failed to set touchbuf, trying to get err:%x\n", err); ++ dma_free_coherent(dev, PAGE_SIZE, ts->ts_base, ts->bus_addr); ++ ts->ts_base = 0; ++ ts->bus_addr = 0; ++ } ++ ++ if (!ts->ts_base) { ++ dev_warn(dev, "set failed, trying get (err:%d touchbuf:%x virt:%p bus:%x)\n", err, touchbuf, ts->ts_base, ts->bus_addr); ++ ++ err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_GET_TOUCHBUF, ++ &touchbuf, sizeof(touchbuf)); ++ if (err) { ++ dev_err(dev, "Failed to get touch buffer\n"); ++ goto out; ++ } ++ ++ if (!touchbuf) { ++ dev_err(dev, "Touchscreen not detected\n"); ++ err = -ENODEV; ++ goto out; ++ } ++ ++ dev_dbg(dev, "Got TS buffer 0x%x\n", touchbuf); ++ ++ // mmap the physical memory ++ touchbuf &= ~0xc0000000; ++ ts->ts_base = ioremap(touchbuf, sizeof(*ts->regs)); ++ if (ts->ts_base == NULL) ++ { ++ dev_err(dev, "Failed to map physical address\n"); ++ err = -ENOMEM; ++ goto out; ++ } + } +- ts->input_dev = input_dev; + platform_set_drvdata(pdev, ts); + ts->pdev = pdev; + +- input_dev->name = "FT5406 memory based driver"; ++ ts->input_dev->name = "FT5406 memory based driver"; + +- __set_bit(EV_KEY, input_dev->evbit); +- __set_bit(EV_SYN, input_dev->evbit); +- __set_bit(EV_ABS, input_dev->evbit); ++ __set_bit(EV_KEY, ts->input_dev->evbit); ++ __set_bit(EV_SYN, ts->input_dev->evbit); ++ __set_bit(EV_ABS, ts->input_dev->evbit); + +- input_set_abs_params(input_dev, ABS_MT_POSITION_X, 0, ++ input_set_abs_params(ts->input_dev, ABS_MT_POSITION_X, 0, + SCREEN_WIDTH, 0, 0); +- input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 0, ++ input_set_abs_params(ts->input_dev, ABS_MT_POSITION_Y, 0, + SCREEN_HEIGHT, 0, 0); + +- input_mt_init_slots(input_dev, MAXIMUM_SUPPORTED_POINTS, INPUT_MT_DIRECT); ++ input_mt_init_slots(ts->input_dev, MAXIMUM_SUPPORTED_POINTS, INPUT_MT_DIRECT); + +- input_set_drvdata(input_dev, ts); ++ input_set_drvdata(ts->input_dev, ts); + +- ret = input_register_device(input_dev); +- if (ret) { +- dev_err(&pdev->dev, "could not register input device, %d\n", +- ret); +- return ret; +- } +- +- // mmap the physical memory +- touchbuf &= ~0xc0000000; +- ts->ts_base = ioremap(touchbuf, sizeof(*ts->regs)); +- if(ts->ts_base == NULL) +- { +- dev_err(&pdev->dev, "Failed to map physical address\n"); +- input_unregister_device(input_dev); +- kzfree(ts); +- return -ENOMEM; ++ err = input_register_device(ts->input_dev); ++ if (err) { ++ dev_err(dev, "could not register input device, %d\n", ++ err); ++ goto out; + } + + ts->regs = (struct ft5406_regs *) ts->ts_base; +@@ -200,25 +229,44 @@ static int ft5406_probe(struct platform_device *pdev) + ts->thread = kthread_run(ft5406_thread, ts, "ft5406"); + if(ts->thread == NULL) + { +- dev_err(&pdev->dev, "Failed to create kernel thread"); +- iounmap(ts->ts_base); +- input_unregister_device(input_dev); +- kzfree(ts); ++ dev_err(dev, "Failed to create kernel thread"); ++ err = -ENOMEM; ++ goto out; + } + + return 0; ++ ++out: ++ if (ts->bus_addr) { ++ dma_free_coherent(dev, PAGE_SIZE, ts->ts_base, ts->bus_addr); ++ ts->bus_addr = 0; ++ ts->ts_base = NULL; ++ } else if (ts->ts_base) { ++ iounmap(ts->ts_base); ++ ts->ts_base = NULL; ++ } ++ if (ts->input_dev) { ++ input_unregister_device(ts->input_dev); ++ ts->input_dev = NULL; ++ } ++ return err; + } + + static int ft5406_remove(struct platform_device *pdev) + { ++ struct device *dev = &pdev->dev; + struct ft5406 *ts = (struct ft5406 *) platform_get_drvdata(pdev); + +- dev_info(&pdev->dev, "Removing rpi-ft5406\n"); ++ dev_info(dev, "Removing rpi-ft5406\n"); + + kthread_stop(ts->thread); +- iounmap(ts->ts_base); +- input_unregister_device(ts->input_dev); +- kzfree(ts); ++ ++ if (ts->bus_addr) ++ dma_free_coherent(dev, PAGE_SIZE, ts->ts_base, ts->bus_addr); ++ else if (ts->ts_base) ++ iounmap(ts->ts_base); ++ if (ts->input_dev) ++ input_unregister_device(ts->input_dev); + + return 0; + } +diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h +index 227a107214a02deadcca3db202da265eba1fdd21..b0f6e33bd30c35664ceee057f4c3ad32b914291d 100644 +--- a/include/soc/bcm2835/raspberrypi-firmware.h ++++ b/include/soc/bcm2835/raspberrypi-firmware.h +@@ -115,6 +115,7 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_FRAMEBUFFER_SET_VIRTUAL_OFFSET = 0x00048009, + RPI_FIRMWARE_FRAMEBUFFER_SET_OVERSCAN = 0x0004800a, + RPI_FIRMWARE_FRAMEBUFFER_SET_PALETTE = 0x0004800b, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_TOUCHBUF = 0x0004801f, + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC = 0x0004800e, + RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, + + +From c15e8a575e74dde83cd74f865def0facbfcddc25 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Wed, 9 Nov 2016 22:42:39 +0000 +Subject: [PATCH 165/166] brcmvirt_gpio: Create coherent buffer and push to + firmware + +--- + drivers/gpio/gpio-bcm-virt.c | 89 +++++++++++++++++++++--------- + include/soc/bcm2835/raspberrypi-firmware.h | 1 + + 2 files changed, 63 insertions(+), 27 deletions(-) + +diff --git a/drivers/gpio/gpio-bcm-virt.c b/drivers/gpio/gpio-bcm-virt.c +index f3e0f1620b979e4fa3c7e556eb785ac259d8cfc4..c3725546def9d4a6264fbb1f6b9814d02b50e34e 100644 +--- a/drivers/gpio/gpio-bcm-virt.c ++++ b/drivers/gpio/gpio-bcm-virt.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + + #define MODULE_NAME "brcmvirt-gpio" +@@ -25,6 +26,7 @@ struct brcmvirt_gpio { + /* two packed 16-bit counts of enabled and disables + Allows host to detect a brief enable that was missed */ + u32 enables_disables[NUM_GPIO]; ++ dma_addr_t bus_addr; + }; + + static int brcmvirt_gpio_dir_in(struct gpio_chip *gc, unsigned off) +@@ -75,13 +77,13 @@ static void brcmvirt_gpio_set(struct gpio_chip *gc, unsigned off, int val) + + static int brcmvirt_gpio_probe(struct platform_device *pdev) + { ++ int err = 0; + struct device *dev = &pdev->dev; + struct device_node *np = dev->of_node; + struct device_node *fw_node; + struct rpi_firmware *fw; + struct brcmvirt_gpio *ucb; + u32 gpiovirtbuf; +- int err = 0; + + fw_node = of_parse_phandle(np, "firmware", 0); + if (!fw_node) { +@@ -93,35 +95,56 @@ static int brcmvirt_gpio_probe(struct platform_device *pdev) + if (!fw) + return -EPROBE_DEFER; + +- err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_GET_GPIOVIRTBUF, +- &gpiovirtbuf, sizeof(gpiovirtbuf)); +- +- if (err) { +- dev_err(dev, "Failed to get gpiovirtbuf\n"); +- goto err; +- } +- +- if (!gpiovirtbuf) { +- dev_err(dev, "No virtgpio buffer\n"); +- err = -ENOENT; +- goto err; +- } +- + ucb = devm_kzalloc(dev, sizeof *ucb, GFP_KERNEL); + if (!ucb) { + err = -EINVAL; +- goto err; ++ goto out; + } + +- // mmap the physical memory +- gpiovirtbuf &= ~0xc0000000; +- ucb->ts_base = ioremap(gpiovirtbuf, 4096); +- if (ucb->ts_base == NULL) { +- dev_err(dev, "Failed to map physical address\n"); +- err = -ENOENT; +- goto err; ++ ucb->ts_base = dma_zalloc_coherent(dev, PAGE_SIZE, &ucb->bus_addr, GFP_KERNEL); ++ if (!ucb->ts_base) { ++ pr_err("[%s]: failed to dma_alloc_coherent(%ld)\n", ++ __func__, PAGE_SIZE); ++ err = -ENOMEM; ++ goto out; + } + ++ gpiovirtbuf = (u32)ucb->bus_addr; ++ err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_SET_GPIOVIRTBUF, ++ &gpiovirtbuf, sizeof(gpiovirtbuf)); ++ ++ if (err || gpiovirtbuf != 0) { ++ dev_warn(dev, "Failed to set gpiovirtbuf, trying to get err:%x\n", err); ++ dma_free_coherent(dev, PAGE_SIZE, ucb->ts_base, ucb->bus_addr); ++ ucb->ts_base = 0; ++ ucb->bus_addr = 0; ++ } ++ ++ if (!ucb->ts_base) { ++ err = rpi_firmware_property(fw, RPI_FIRMWARE_FRAMEBUFFER_GET_GPIOVIRTBUF, ++ &gpiovirtbuf, sizeof(gpiovirtbuf)); ++ ++ if (err) { ++ dev_err(dev, "Failed to get gpiovirtbuf\n"); ++ goto out; ++ } ++ ++ if (!gpiovirtbuf) { ++ dev_err(dev, "No virtgpio buffer\n"); ++ err = -ENOENT; ++ goto out; ++ } ++ ++ // mmap the physical memory ++ gpiovirtbuf &= ~0xc0000000; ++ ucb->ts_base = ioremap(gpiovirtbuf, 4096); ++ if (ucb->ts_base == NULL) { ++ dev_err(dev, "Failed to map physical address\n"); ++ err = -ENOENT; ++ goto out; ++ } ++ ucb->bus_addr = 0; ++ } + ucb->gc.label = MODULE_NAME; + ucb->gc.owner = THIS_MODULE; + //ucb->gc.dev = dev; +@@ -137,22 +160,34 @@ static int brcmvirt_gpio_probe(struct platform_device *pdev) + + err = gpiochip_add(&ucb->gc); + if (err) +- goto err; ++ goto out; + + platform_set_drvdata(pdev, ucb); + +-err: ++ return 0; ++out: ++ if (ucb->bus_addr) { ++ dma_free_coherent(dev, PAGE_SIZE, ucb->ts_base, ucb->bus_addr); ++ ucb->bus_addr = 0; ++ ucb->ts_base = NULL; ++ } else if (ucb->ts_base) { ++ iounmap(ucb->ts_base); ++ ucb->ts_base = NULL; ++ } + return err; +- + } + + static int brcmvirt_gpio_remove(struct platform_device *pdev) + { ++ struct device *dev = &pdev->dev; + int err = 0; + struct brcmvirt_gpio *ucb = platform_get_drvdata(pdev); + + gpiochip_remove(&ucb->gc); +- iounmap(ucb->ts_base); ++ if (ucb->bus_addr) ++ dma_free_coherent(dev, PAGE_SIZE, ucb->ts_base, ucb->bus_addr); ++ else if (ucb->ts_base) ++ iounmap(ucb->ts_base); + return err; + } + +diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h +index b0f6e33bd30c35664ceee057f4c3ad32b914291d..e92278968b2b979db2a1f855f70e7aafb224fa98 100644 +--- a/include/soc/bcm2835/raspberrypi-firmware.h ++++ b/include/soc/bcm2835/raspberrypi-firmware.h +@@ -116,6 +116,7 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_FRAMEBUFFER_SET_OVERSCAN = 0x0004800a, + RPI_FIRMWARE_FRAMEBUFFER_SET_PALETTE = 0x0004800b, + RPI_FIRMWARE_FRAMEBUFFER_SET_TOUCHBUF = 0x0004801f, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_GPIOVIRTBUF = 0x00048020, + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC = 0x0004800e, + RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, + + +From 44ae7add79d38d7ee1e2e798747ec17e4e1dde56 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Mon, 14 Nov 2016 22:05:30 +0000 +Subject: [PATCH 166/166] fixup: fb: Use basic types for dma addresses as these + are also included from user code + +--- + include/uapi/linux/fb.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/uapi/linux/fb.h b/include/uapi/linux/fb.h +index 289e7c03c1e3308d5a02fc783af4a5692e791cfb..703fa8a70574323abe2fb32599254582cd5d891f 100644 +--- a/include/uapi/linux/fb.h ++++ b/include/uapi/linux/fb.h +@@ -353,8 +353,8 @@ struct fb_copyarea { + }; + + struct fb_dmacopy { +- dma_addr_t dst; +- dma_addr_t src; ++ void *dst; ++ __u32 src; + __u32 length; + }; - MODULE_AUTHOR("Eric Anholt "); - MODULE_DESCRIPTION("BCM2835 clock driver");