diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index b3ddabdbb5..27ab80d463 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 0f5c3a9e8916c5274cb9f4984b1d658a6783ff23 Mon Sep 17 00:00:00 2001 +From ad221e75ca78e7b45517c4a596ee8f8e48b09960 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/117] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/118] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -48,10 +48,10 @@ index 831aa33d078ae7d2dd57fdded5de71d1eb915f99..b77935bded8c0ff7808b00f170ff10e5 usbnet_skb_return(dev, ax_skb); } -From 9f72a1ead6869c804c7366133459c9c819847543 Mon Sep 17 00:00:00 2001 +From cfe436f9931be38d89cbecdf4d1ca13aee366990 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/117] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/118] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index b77935bded8c0ff7808b00f170ff10e594300ad0..693f163684de921404738e33244881e0 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From c2ad68ad758883a9f1972ade64a28780167d9933 Mon Sep 17 00:00:00 2001 +From e4567736c09da23abfebb86e052047041bf30105 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/117] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/118] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 693f163684de921404738e33244881e0aab92ec9..df60c989fc229bf0aab3c27e95ccd453 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From e2e84770092cf9ea489ee882317dde91c854dd4a Mon Sep 17 00:00:00 2001 +From cdf57f590c9e3ff27d89dfa899d4a0b609ef769d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/117] Protect __release_resource against resources without +Subject: [PATCH 004/118] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -224,10 +224,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 8040c1c5883e7f06621c3d18c29a51aeabc7c98a Mon Sep 17 00:00:00 2001 +From f53e12f49ae97f55c8fa00e68de5de52b110bbc7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/117] mm: Remove the PFN busy warning +Subject: [PATCH 005/118] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -252,10 +252,10 @@ index 34ada718ef47c4b27730214d584f9350fefb9883..3fa01a5280db96075798e4cbd58d5520 goto done; } -From 6c99bcf32b3edc693cf045bf71a37f2703d3ccaa Mon Sep 17 00:00:00 2001 +From a6ef83b5f0634de5963aa6aabfeec2e55d8afd09 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/117] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/118] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -282,10 +282,10 @@ index d96b2c947e74e3edab3917551c64fbd1ced0f34c..93e3f7660c4230c9f1dd3b195958cb49 #endif } else if (stat) { -From 9ac715e2bb2c7b4e0e9cdfb08e9a2ba6bf648e54 Mon Sep 17 00:00:00 2001 +From 968fe34e6ac79edbdcbadc5fa87082fdd77be3ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 007/117] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 007/118] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -414,10 +414,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From dd4547cf48b5a8deaee72dda65f60d7d54828164 Mon Sep 17 00:00:00 2001 +From 0bac3ae5f7ee20fab229c5aeeeaa10a9b16ee9e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 008/117] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 008/118] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -516,10 +516,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From 0e31c4a839a47944137a7f011e9ae2c83e356e8a Mon Sep 17 00:00:00 2001 +From 16340fb762b9570e5b577bea5708e660b154e41f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 009/117] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 009/118] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -540,10 +540,10 @@ index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..d780491b8013a4e97fa843958964454e }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From d48949ae8236945df38224bb99e78126ed1de4d6 Mon Sep 17 00:00:00 2001 +From 332ead9fc0db97e1950bd1baaec720d92f86c58a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 010/117] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 010/118] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -563,10 +563,10 @@ index 240a361b674fe72ce657067e5303156b7add6a6f..14f6cdfd744209482056d206dc476d94 for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From 864f41ce25ef52b0070e912dacaa4d03c8410add Mon Sep 17 00:00:00 2001 +From 4b12f273ccf3d7a3949419a6dfcb78b1abf72d6e Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 011/117] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 011/118] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -588,10 +588,10 @@ index fa77165fab2c1348163979da507df17e7168c49b..d11e2e4ea189466e686d762cb6c6fef9 .can_sleep = false, }; -From e7a6f4ed5a62c85cccf2dd3565e42db05f474fbb Mon Sep 17 00:00:00 2001 +From 0ab76cad363c7a9b847c775f966b9c28228e112d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 012/117] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 012/118] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -737,10 +737,10 @@ index d11e2e4ea189466e686d762cb6c6fef9111ecf8e..107ad7d58de8f8a7f55e09c9cdcf7d66 }, }; -From c4175cc718b15617ce1e7d6eb4dc9d4fa60d4fa8 Mon Sep 17 00:00:00 2001 +From 74fdb3c2e15771b27e12085cf45bc97fb24af85d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/117] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/118] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -767,10 +767,10 @@ index 107ad7d58de8f8a7f55e09c9cdcf7d66fa7ab66b..644bdecbcfcb79d3b84a33769265fca5 pc->irq_data[i].irqgroup = i; -From a1d3b1b8f4b5fb273ae1a1782c10bebe9f2ec390 Mon Sep 17 00:00:00 2001 +From aed251a577cad2c0b089908ac31de9278d43f0a6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 May 2016 12:32:47 +0100 -Subject: [PATCH 014/117] pinctrl-bcm2835: Return pins to inputs when freed +Subject: [PATCH 014/118] 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 @@ -811,10 +811,10 @@ index 644bdecbcfcb79d3b84a33769265fca5d3d0c9e5..81a66cba2ab0f7e3ae179de7edd10122 .get_function_name = bcm2835_pmx_get_function_name, .get_function_groups = bcm2835_pmx_get_function_groups, -From fb5e309e3a776b24d2828299f7fc3e64d7004a1b Mon Sep 17 00:00:00 2001 +From d1ad182a5691887e196dfa1f5a446a7ba7376b02 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 015/117] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 015/118] 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 @@ -895,10 +895,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 411a3971d039e5e0af4bbf0452f2677efe046157 Mon Sep 17 00:00:00 2001 +From 7db6bd48d813575485cc9198945c1a7b35738d86 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 016/117] spi-bcm2835: Disable forced software CS +Subject: [PATCH 016/118] 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 @@ -932,10 +932,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 33e78476ef56aefd55b116c4dd7e1476bb658ea1 Mon Sep 17 00:00:00 2001 +From 75f7a6605403141ed4d06512c7575b5a2c8ba98e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 017/117] spi-bcm2835: Remove unused code +Subject: [PATCH 017/118] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1023,10 +1023,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 3a41fcfcb5de93d9665b7f92a78e3dd3ec708afb Mon Sep 17 00:00:00 2001 +From 5f964e4c7a409259176d23a76d67921a5d9d4341 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 018/117] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 018/118] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1079,10 +1079,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 1de44ea2a0505cbb479b53b570d81053172d2757 Mon Sep 17 00:00:00 2001 +From 686de609ac017c025dc69c8a9a955cdf8f65fe9a 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 019/117] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 019/118] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1185,10 +1185,10 @@ index e18dc596cf2447fa9ef7e41b62d9396e29043426..80d35f760b4a4a51e60c355a84d538ba MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From 8e68d7e8e9531a08943661d414170f20a7a8adf1 Mon Sep 17 00:00:00 2001 +From 7a6973b406e694db4a471e02386dfff172956504 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 020/117] firmware: Updated mailbox header +Subject: [PATCH 020/118] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 11 +++++++++++ @@ -1251,10 +1251,10 @@ index 3fb357193f09914fe21f8555a4b8613f74f22bc3..227a107214a02deadcca3db202da265e RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From 2b4ba7a666ea183ee12d7fb50eca5eb9182c62d2 Mon Sep 17 00:00:00 2001 +From 8c4038efde58ff4b6d435befe924380ef6e3045f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 021/117] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 021/118] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1272,10 +1272,10 @@ Signed-off-by: Eric Anholt 1 file changed, 9 insertions(+) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 8c7763fd9efc52b30f02d9ebcd4fdb10d2876465..a73f0873b7b8f78bc4a70f01e17eb287eec1d9e3 100644 +index 3bbd2a58db470a89b870a793e59ddf9fc4f48e57..7040c6426e35c11608121893b662c601cd8d6543 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1260,6 +1260,15 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, +@@ -1262,6 +1262,15 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, init.name = data->name; init.flags = data->flags | CLK_IGNORE_UNUSED; @@ -1292,10 +1292,10 @@ index 8c7763fd9efc52b30f02d9ebcd4fdb10d2876465..a73f0873b7b8f78bc4a70f01e17eb287 init.ops = &bcm2835_vpu_clock_clk_ops; } else { -From 1f08bbd0e3146406742102c155068e4ef929f800 Mon Sep 17 00:00:00 2001 +From 43129b4fa17eab0b3af27b7034719c5eb91fcaec Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 022/117] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 022/118] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1315,10 +1315,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 999a0a1939166af1617ef2d320a658af942e7785 Mon Sep 17 00:00:00 2001 +From ab70dae22d22f9c5f4f03e84ac1c1b1d4d35bef9 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 023/117] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 023/118] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1442,10 +1442,10 @@ index 4dddd8298a227d64862f2e92954a465f2e44b3f6..1f545e024422f59280932713e6a1b051 register_restart_handler(&wdt->restart_handler); if (pm_power_off == NULL) -From 1356c426a196233a758cb8600a65c12f4d28fee2 Mon Sep 17 00:00:00 2001 +From 3937b628148a61d360f847848b11ac94afea29cd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 024/117] reboot: Use power off rather than busy spinning when +Subject: [PATCH 024/118] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1468,10 +1468,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From e52cf56957fa81e15358b8f9be2ffbcf73c8d9a3 Mon Sep 17 00:00:00 2001 +From dbd5f14e9ba84e12761d3193d082a0d74ed32008 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 025/117] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 025/118] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1490,10 +1490,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..e037a6dd79d1881a09e3ca9115782709 help This enables support for the RPi power domains which can be enabled -From 506d83ebc14a82fc4012066009847c4809528ea1 Mon Sep 17 00:00:00 2001 +From 6224c852d202401287990cc77ec5797218db6133 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 026/117] Register the clocks early during the boot process, so +Subject: [PATCH 026/118] 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. @@ -1504,10 +1504,10 @@ Signed-off-by: Martin Sperl 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index a73f0873b7b8f78bc4a70f01e17eb287eec1d9e3..56fd47891e50dddcf83e687f1d53aeb46d85a7b2 100644 +index 7040c6426e35c11608121893b662c601cd8d6543..21e2a538ff0d0ab4e63adff9b93705f3d45fa15d 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1901,8 +1901,15 @@ static int bcm2835_clk_probe(struct platform_device *pdev) +@@ -1903,8 +1903,15 @@ static int bcm2835_clk_probe(struct platform_device *pdev) if (ret) return ret; @@ -1524,7 +1524,7 @@ index a73f0873b7b8f78bc4a70f01e17eb287eec1d9e3..56fd47891e50dddcf83e687f1d53aeb4 } static const struct of_device_id bcm2835_clk_of_match[] = { -@@ -1919,7 +1926,11 @@ static struct platform_driver bcm2835_clk_driver = { +@@ -1921,7 +1928,11 @@ static struct platform_driver bcm2835_clk_driver = { .probe = bcm2835_clk_probe, }; @@ -1538,10 +1538,10 @@ index a73f0873b7b8f78bc4a70f01e17eb287eec1d9e3..56fd47891e50dddcf83e687f1d53aeb4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From abc0233dfad657481294905031fae06d95ed1504 Mon Sep 17 00:00:00 2001 +From ed16aee637b73805a208d0d4d2f00b5d9f5f789a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 027/117] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 027/118] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1567,10 +1567,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From c9be73a0b68dee2d1b534d0ccdefa08607f8eeb3 Mon Sep 17 00:00:00 2001 +From 44e47b69c75d81807f24131821f6599435755427 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 028/117] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 028/118] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1590,10 +1590,10 @@ index 179219845dfcdfbeb586d12c5ec1296095d9fbf4..e0743e44f84188667a0c322e8c3d36f1 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 21f52f8fcc6530bbc3b7f3391a579f2401b4c8b5 Mon Sep 17 00:00:00 2001 +From b345482052faa86e6db9fe01613bae550fee93f8 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 029/117] BCM2835_DT: Fix I2S register map +Subject: [PATCH 029/118] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1631,10 +1631,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 0e3afb9fafa9e1629d896456b2eb8c1a3a7dacf7 Mon Sep 17 00:00:00 2001 +From b14d3bae8ca43d7636bfd91dda5a8bc9c8a06154 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 030/117] Main bcm2708/bcm2709 linux port +Subject: [PATCH 030/118] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1841,10 +1841,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From dec2b6ff2e66f67b140513340bb94ec363979395 Mon Sep 17 00:00:00 2001 +From 94e3bcec0b0e4f94bca7374cbb32ed6e36d103d5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 031/117] Add dwc_otg driver +Subject: [PATCH 031/118] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -62901,10 +62901,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 5bf3ea4c4f421176371587b3a229bb4ed34f4e5f Mon Sep 17 00:00:00 2001 +From 83b46b448602db774a6fb361fd6c1b9e0c8509b0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 032/117] bcm2708 framebuffer driver +Subject: [PATCH 032/118] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66363,10 +66363,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 4b0bb52b1462df2e112a1f9c4997abf6bba209ae Mon Sep 17 00:00:00 2001 +From 3e6b7dca18903fbcef8b22805d2877704b8cc9f0 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 033/117] dmaengine: Add support for BCM2708 +Subject: [PATCH 033/118] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66997,10 +66997,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From ad35f3a2ff8355dd259c8434f5f161f7e4d6ec67 Mon Sep 17 00:00:00 2001 +From c88dfcfa730ab5573a722c208e9ff326563b375e Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 034/117] MMC: added alternative MMC driver +Subject: [PATCH 034/118] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68750,10 +68750,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From 827ed14e23517744847b9a436520fcce8563eda9 Mon Sep 17 00:00:00 2001 +From c276600e049838697dbf80363852e8968f63fa2a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 035/117] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 035/118] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71158,10 +71158,10 @@ index 0000000000000000000000000000000000000000..a9bc79bfdbb71807819dfe2d8f165144 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From d9b052ba96138eca16bc0592a1d4d04668126d25 Mon Sep 17 00:00:00 2001 +From 380c5bcb89cb9ff9bb7233f468b4c56246469024 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 036/117] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 036/118] 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, @@ -71297,10 +71297,10 @@ index 73fad83acbcb6a157587180516f9ffe7c61eb7d7..e7c9d3098ac06e3c6554fa3373a311f9 unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From ec63a15095c98f76f46b77eaf0c5c4a2be16c4f9 Mon Sep 17 00:00:00 2001 +From 4242c82a0364d1451c54c4f921af3f4f2c537dc3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 037/117] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 037/118] 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 @@ -72636,10 +72636,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From b298dc2b546a6de8ac3aef42e5ae2ed5464e1c83 Mon Sep 17 00:00:00 2001 +From 6ea5c5ec0e9223d94037f4501e520f9e594fcb68 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 038/117] bcm2708: alsa sound driver +Subject: [PATCH 038/118] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75374,10 +75374,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From f7b479da6fc4c829121d0c8a8604f74600e6145c Mon Sep 17 00:00:00 2001 +From 95547683299d0aef3ca13d192481e529cbcb6ad2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 039/117] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 039/118] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -75901,10 +75901,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From eb1da72bb0bd3dcaa5c9e673b445e85152945c0d Mon Sep 17 00:00:00 2001 +From 23b1ab3b736cd7d77cc610958a219f0284d84b70 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 040/117] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 040/118] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -80311,10 +80311,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From a1ea0495e7a63034c1a36b7d7ac979d4b426b7c0 Mon Sep 17 00:00:00 2001 +From e95f43b6d8757c6264ba1f665ec7b45732691ab6 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 041/117] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 041/118] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -80625,10 +80625,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From ab0bcd94ddec170d2b008e44c194d68f0ab7dc4e Mon Sep 17 00:00:00 2001 +From 82ff85d9274fccc8df9a59d99066e0e1f1772f9f Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 042/117] Add SMI driver +Subject: [PATCH 042/118] Add SMI driver Signed-off-by: Luke Wren --- @@ -82579,10 +82579,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 67184cc70701d3762d8bb431f5f7f71c608d1705 Mon Sep 17 00:00:00 2001 +From 7681571a6b97b4c2892ca63b76d5a8cb215c3802 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 043/117] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 043/118] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -82752,10 +82752,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From 4e7e326f6fa7ee68d4503bff246ceaa8544b038e Mon Sep 17 00:00:00 2001 +From 68b7fa34af2f20c36933fe3f7c657bafa400f458 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 044/117] Add SMI NAND driver +Subject: [PATCH 044/118] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -83120,10 +83120,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 460d2fe85c66690b0171e83d9b8c644ae380cbe2 Mon Sep 17 00:00:00 2001 +From ac544a9fe824b139bbd4c2b75ae4cad9fba5777a Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 045/117] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 045/118] 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 @@ -83986,10 +83986,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From edf71e993bab4fb6a6f5258e1f30b25e83b9771e Mon Sep 17 00:00:00 2001 +From e5cc98d9c41d2f8dcb912feefd8f5829ee7ce075 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 046/117] Add cpufreq driver +Subject: [PATCH 046/118] Add cpufreq driver Signed-off-by: popcornmix --- @@ -84256,10 +84256,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 3d13606d584bd16d9ac897cffe9deac24468c4f4 Mon Sep 17 00:00:00 2001 +From f544a8ce034e18a89daed574edc29dd9de74f536 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 047/117] Added hwmon/thermal driver for reporting core +Subject: [PATCH 047/118] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -84425,10 +84425,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 39d15ad323ddb65c473bb3225bb16b3928b65d44 Mon Sep 17 00:00:00 2001 +From 660794f62a377f9ca817e7d29c06f1c548489a26 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 048/117] Add Chris Boot's i2c driver +Subject: [PATCH 048/118] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85093,10 +85093,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 2570a2a3cf115f29fedec989294b9f6dbe2f3f95 Mon Sep 17 00:00:00 2001 +From 08afd466271b5732eac8e4974361546aad8e3aca 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 049/117] char: broadcom: Add vcio module +Subject: [PATCH 049/118] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85322,10 +85322,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From c8496b489a9b844b092ede93253cadcf0cef5246 Mon Sep 17 00:00:00 2001 +From 426ef96150c966b43d39a2ca6b9c055f8cd72930 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 050/117] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 050/118] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85408,10 +85408,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From f494e1215f199fd5b333527df53d051a7847339b Mon Sep 17 00:00:00 2001 +From 986fa8434b81e4c5e7203434beb7dca80d4c9a42 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 051/117] bcm2835: add v4l2 camera device +Subject: [PATCH 051/118] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -93153,10 +93153,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From 467383faec292eff5dc92ef4ec075b03ff372be4 Mon Sep 17 00:00:00 2001 +From 1eae4deb95fecca9b104385232470efbc8e348da Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 052/117] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 052/118] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -93676,10 +93676,10 @@ index 0000000000000000000000000000000000000000..60206de7fa9a49bd027c635306674a29 + return $trailer; +} -From 5729bf4fe7a0802eaa4a26248b7af49291e1186d Mon Sep 17 00:00:00 2001 +From 899b7bf32634a929de96ccde06485f52676c4545 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 053/117] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 053/118] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -96530,10 +96530,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From df6dc22cb2e5dafa0c5f3910e7e83f738b2791ed Mon Sep 17 00:00:00 2001 +From 52cb10b96ef40c97f0c7fe0f70846c6e582c3afe Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 054/117] BCM2708: Add core Device Tree support +Subject: [PATCH 054/118] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -106661,10 +106661,10 @@ index 0a07f9014944ed92a8e2e42983ae43be60b3e471..1967878a843461c3ff1f473b9a030eb0 # Bzip2 -From fdb1b0aec3ed223d102edb56214ba732bf838fd3 Mon Sep 17 00:00:00 2001 +From 1cdd49ad8df3ca95ddfe0c2d373d6ed7b4a5cefc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 055/117] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 055/118] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -106840,10 +106840,10 @@ index ddfcb2df3656cf0ab6aebd1fa3d624a6ec2e94e9..271563eb835f9018712e2076a88f341d /* Set LED brightness level * Must not sleep. Use brightness_set_blocking for drivers -From 975dcfa3356a4ad5cd7a86540931fba9a6fc0cd6 Mon Sep 17 00:00:00 2001 +From 1265a84c23cb9aed8388e0a41643024a34333dc3 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 056/117] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 056/118] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -107095,10 +107095,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From b7861fb612f0779a296eda7b88ddb78cf7ef6720 Mon Sep 17 00:00:00 2001 +From 7eb7c996151bac6551a4f5f0a23abad1ca0389ea Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 057/117] Speed up console framebuffer imageblit function +Subject: [PATCH 057/118] 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 @@ -107307,10 +107307,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From a72848506ff0da1a377fbb45fcbc4d244a594079 Mon Sep 17 00:00:00 2001 +From c3033b89522fdc4f7db951b18bca36ac35e2b1d6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 058/117] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 058/118] 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 @@ -107560,10 +107560,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 479a740f8b2caab35944c2579c14bd1e30e898b0 Mon Sep 17 00:00:00 2001 +From c816433b752c72c40773170eb7071cde1ebae347 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 059/117] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 059/118] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -107613,10 +107613,10 @@ index 85bc9beb046d9a6deda2e3564f4d5bd01d6fc27b..4acdbef46a8f0556469b5580a39c18ce * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From d2cbcfafa4d388097114e278519cf6da8a347760 Mon Sep 17 00:00:00 2001 +From e3fbcedfa440961f973afc555c5c792e86072110 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/117] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/118] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -107652,10 +107652,10 @@ index ae83af649a607f67239f1a64bf45dd4b5770cc7d..4a7af9d0b910f59d17421ce14138400d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From effebe5180384b5daac83ebb51406cde2ba68c4e Mon Sep 17 00:00:00 2001 +From cb490033b6623d6df8a5568317e26501a511e1ee Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/117] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/118] 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 @@ -108013,10 +108013,10 @@ index 227a107214a02deadcca3db202da265eba1fdd21..b0f6e33bd30c35664ceee057f4c3ad32 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 9d4eb32dd0bf34d93915514fecf73721065b4c6f Mon Sep 17 00:00:00 2001 +From 3eae543d276098fd975f15409724f49fc7f5fee2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 062/117] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/118] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -109591,10 +109591,10 @@ index 333dc3c2e5ffbb2c5ab8fcfb6115b6162643cf20..46b787a6474ffa857da9b663948863ec bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 00e0f16f2ec443ab79881962f045eb5322171022 Mon Sep 17 00:00:00 2001 +From 5d1adffa7d058d9f53796dcde41a572c28b5c8fd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/117] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/118] 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 @@ -109629,10 +109629,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From 29d441e6aaac4af9670e71c4f5ed94d1bfd75eef Mon Sep 17 00:00:00 2001 +From 829742ee037607b5091e2044792aa28d3748af34 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/117] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/118] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -110497,10 +110497,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From dcb7fda39b396976dddec43e13171d59b42bd91c Mon Sep 17 00:00:00 2001 +From 8623732fdf50b8808240d8d959d086553daf9197 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/117] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/118] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -110675,10 +110675,10 @@ index 0000000000000000000000000000000000000000..45f2b770ad9e67728ca599a7445d6ae9 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From c3b3e4fd15b052965bc401cbfcd3b7e781922b5f Mon Sep 17 00:00:00 2001 +From 30de099c2e20d442486331817d29a4f5ba1506fe Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/117] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/118] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -110962,10 +110962,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From acd0ec7e87babcc0ca1928cdaad98f1da06d50af Mon Sep 17 00:00:00 2001 +From daf62d077f66270f3f88a3e5fa058c6d3885f54e Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/117] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/118] 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 @@ -111014,10 +111014,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From efca907b192bb1405406f777a0984b4288ae3a19 Mon Sep 17 00:00:00 2001 +From 1e761e3e8abff0c154cd7be50eb3854157260032 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/117] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/118] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -111361,10 +111361,10 @@ index 0000000000000000000000000000000000000000..19dc953b7227ba86123fc7a2ba654499 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 6d1d0dab7c38f200f0f98dbb85abad5ad8a98d6c Mon Sep 17 00:00:00 2001 +From bbe7cec41a8c9178db2486477472ceb737761a7b Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/117] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/118] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -111694,10 +111694,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 5b98d5462c7e6100b6f982ebef21806050fcf928 Mon Sep 17 00:00:00 2001 +From cc51f9a5cf72cb4e8178902cc3d80a878574377b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 070/117] iqaudio-dac: Compile fix - untested +Subject: [PATCH 070/118] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -111721,10 +111721,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From 536787333525f900adae6a26ebeaaa251241a2f0 Mon Sep 17 00:00:00 2001 +From 097012dbf23088dc7bfc7f637dac7e03ee9ac742 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 071/117] Added support for HiFiBerry DAC+ +Subject: [PATCH 071/118] 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. @@ -112354,10 +112354,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From d88d0820ffa04f1fece2e2841a09c757753d04c8 Mon Sep 17 00:00:00 2001 +From 798717fecb6f9c838b9eaa84f11acc760af0c966 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 072/117] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 072/118] 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. @@ -113190,10 +113190,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 1793611fcb3ef9dd3d705eb483d2685a82666210 Mon Sep 17 00:00:00 2001 +From 1094b85d81f72de26606f30482ca243867a90738 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 Dec 2016 16:26:54 +0000 -Subject: [PATCH 073/117] Revert "Added driver for HiFiBerry Amp amplifier +Subject: [PATCH 073/118] Revert "Added driver for HiFiBerry Amp amplifier add-on board" This reverts commit 3e6b00833d92a50cbcc9922deb6e1bc8fcdbb587. @@ -114015,10 +114015,10 @@ index 8f019e04898754d2f87e9630137be9e8f612a342..00000000000000000000000000000000 - -#endif /* _TAS5713_H */ -From 4fbd138ea9b76429401f8eff7aad278fafaeae95 Mon Sep 17 00:00:00 2001 +From c8e89c69ce685339afdcfa83d35a2a1d295fcf9e Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 074/117] Update ds1307 driver for device-tree support +Subject: [PATCH 074/118] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -114045,10 +114045,10 @@ index 4e31036ee2596dec93accd26f627c5b95591ae9f..b92044cf03e750afa521a93519500e9d .driver = { .name = "rtc-ds1307", -From 08a4e14020e883279774bce70ec373b41d273251 Mon Sep 17 00:00:00 2001 +From 7f314dbd22408377f9e7e3537dc0521ae933b53e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 075/117] Add driver for rpi-proto +Subject: [PATCH 075/118] 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 @@ -114263,10 +114263,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From f74767fb709e914de7461eb96ca81d2cf8cd59a2 Mon Sep 17 00:00:00 2001 +From 2ef9c52bf68b163dda3666a20dfefcbed2e42bf6 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 076/117] RaspiDAC3 support +Subject: [PATCH 076/118] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -114509,10 +114509,10 @@ index 0000000000000000000000000000000000000000..dd9eeea2af0382307f437e6db09d1546 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 6eb75b6cc31ff70393941ca8a6f6b4c5066856c0 Mon Sep 17 00:00:00 2001 +From b9bbce6e6914108063a3a1b2c17ed792a3dfd351 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 077/117] Add Support for JustBoom Audio boards +Subject: [PATCH 077/118] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -114966,10 +114966,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 157d6b14a6457c333f0c6a110dc0201306a94c9a Mon Sep 17 00:00:00 2001 +From d146863cec303731b37c7d86bcf56ddcafcd2199 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 078/117] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 078/118] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -115151,10 +115151,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 749251b374f33da0c68119f99f05669118fd1c9b Mon Sep 17 00:00:00 2001 +From ed26616bccf0c8d84600da21240bcbd913ee7e7f Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 079/117] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 079/118] 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. @@ -115405,10 +115405,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 7dfcbc3c599bae13cd2540a3e62f6db93cbf61cc Mon Sep 17 00:00:00 2001 +From 4466167663935a49e4828c67d5788ec47a79d417 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 080/117] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 080/118] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -115708,10 +115708,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 9231229e445c3cb7f0607c9e352a3b7d74efdc2b Mon Sep 17 00:00:00 2001 +From 24c4db954f875c5da3c9afd5c9b491f6c4210656 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 081/117] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 081/118] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -116184,10 +116184,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From a5aed00df966a45a543364bd1d9ab975542d97ff Mon Sep 17 00:00:00 2001 +From 9519d83c7c32c808aa0dc201d1bda664666825bc Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 082/117] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 082/118] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -116360,10 +116360,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From c073c1415116c2d388b5ed70be6d35b98be09679 Mon Sep 17 00:00:00 2001 +From 48b527833946f505f1e8004207c2a2770e800767 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 083/117] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 083/118] 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, @@ -116570,10 +116570,10 @@ index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From fa03b5eb0fbc09c3d6b3381db13fbf010512d857 Mon Sep 17 00:00:00 2001 +From 6c886c8edd47456f9ea8735f003a71422c580b0e Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 084/117] Support for Blokas Labs pisound board +Subject: [PATCH 084/118] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -117750,10 +117750,10 @@ index 0000000000000000000000000000000000000000..4b8545487d06e4ea70073a5d063fb231 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 47ee27c35793d2f12f8f9bbda051651f0bbbb53f Mon Sep 17 00:00:00 2001 +From 6b2923c5d85c7daa2e1efdb6e083bda5db5579aa Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 085/117] rpi_display: add backlight driver and overlay +Subject: [PATCH 085/118] 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 @@ -117922,10 +117922,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 004c6b9b8260aef1d2fa88c474a81eb11500ea1b Mon Sep 17 00:00:00 2001 +From 7ce6a9a9e8e4ded0b5411be1f337e697c40ee38b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 086/117] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 086/118] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -118199,10 +118199,10 @@ index b0f6e33bd30c35664ceee057f4c3ad32b914291d..e92278968b2b979db2a1f855f70e7aaf RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 4baa0fad9997eb19fcdf94fc0284097b5f6450f6 Mon Sep 17 00:00:00 2001 +From 5310bef4d1b2160385c9bdd914e897f46d7e8911 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 087/117] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 087/118] 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 @@ -118231,10 +118231,10 @@ index e2c33b9528d82ed7a2c27d083d7b1d222da68178..5a11ff833e1fd112ba04df3a427cd94b uap->old_cr = 0; uap->port.dev = dev; -From b9975b161f9374a2237109fe17c2f277dff13cfa Mon Sep 17 00:00:00 2001 +From c65323ecc55f9524e86136e2d7dd7c69cb376bcb Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 088/117] OF: DT-Overlay configfs interface +Subject: [PATCH 088/118] 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. @@ -118666,10 +118666,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 2b19d223cdfd540ec596c12ddb24237437c4553c Mon Sep 17 00:00:00 2001 +From f302de7074e873da78f9ee2df75c86bf157a5521 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 089/117] brcm: adds support for BCM43341 wifi +Subject: [PATCH 089/118] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -118832,10 +118832,10 @@ index d0407d9ad7827cd756b6311410ffe2d9a7cacc78..f1fb8a3c7a3211e8429585861f2f42e0 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From 57b61902c0df8821fdb5a218fd3efc08d37bbc1e Mon Sep 17 00:00:00 2001 +From 2ee94ce425179c2d3760ee39ea3482d03638d182 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 090/117] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 090/118] 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. @@ -118858,10 +118858,10 @@ index 0879d64b1caf58afb6e5d494c07d9ab7e7cdf983..5161ab30fd533d50f516bb93d5b9f402 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 0fd0a1087055c392a8dc2e6c1c7371ef6411bcc3 Mon Sep 17 00:00:00 2001 +From ceb9c9d3a20e4cdad47fd4f84511143f69cd3235 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 091/117] config: Add default configs +Subject: [PATCH 091/118] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1297 +++++++++++++++++++++++++++++++++++ @@ -121488,10 +121488,10 @@ index 0000000000000000000000000000000000000000..8acee9f31202ec14f2933d92dd70831c +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 0c29fe95d20dd50ee910b30134775c4bb06b3db8 Mon Sep 17 00:00:00 2001 +From 4790a58452a6c6a8b8fd5d15dc46636f8a27dc0e Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 092/117] Add arm64 configuration and device tree differences. +Subject: [PATCH 092/118] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -122906,10 +122906,10 @@ index 0000000000000000000000000000000000000000..d7406f5a4620151044b8f716b4d10bb8 +CONFIG_LIBCRC32C=y +CONFIG_BCM2708_VCHIQ=n -From ae194771b72f32843cd0b94920e0b36309ca5174 Mon Sep 17 00:00:00 2001 +From afbfe676544fd2a127bab7baa1a11ecf3349569c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 15:05:11 +0000 -Subject: [PATCH 093/117] vchiq_arm: Tweak the logging output +Subject: [PATCH 093/118] vchiq_arm: Tweak the logging output Signed-off-by: Phil Elwell --- @@ -122984,10 +122984,10 @@ index 2c98da4307dff994a00dc246574ef0aaee05d5da..160db24aeea33a8296923501009c1f02 switch (type) { -From 342b9a563f3e7b6f1703f124ada738ff801707a1 Mon Sep 17 00:00:00 2001 +From fc373b8605790ab0f0ebdbb9f057818873a2186e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 14:16:25 +0000 -Subject: [PATCH 094/117] vchiq_arm: Access the dequeue_pending flag locked +Subject: [PATCH 094/118] vchiq_arm: Access the dequeue_pending flag locked Reading through this code looking for another problem (now found in userland) the use of dequeue_pending outside a lock didn't seem safe. @@ -123045,10 +123045,10 @@ index 7b6cd4d80621e38ff6d47fcd87b45fbe9cd4259b..d8669fa7f39b077877eca1829ba9538b return add_completion(instance, reason, header, user_service, -From 9b026ab49d11d8a263f8bb3fc03b8af2229392bb Mon Sep 17 00:00:00 2001 +From 566bfd7cc8e5acde2543833fcd56c848f8e9c46b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 20:53:47 +0000 -Subject: [PATCH 095/117] vchiq_arm: Service callbacks must not fail +Subject: [PATCH 095/118] vchiq_arm: Service callbacks must not fail Service callbacks are not allowed to return an error. The internal callback that delivers events and messages to user tasks does not enqueue them if @@ -123074,10 +123074,10 @@ index d8669fa7f39b077877eca1829ba9538bf2e21a82..54552c6ce54f413c9781ba279b936f98 DEBUG_TRACE(SERVICE_CALLBACK_LINE); } -From d82cf6322c37f25f7df4343682ef6ceb6aa99611 Mon Sep 17 00:00:00 2001 +From 0f1f6312527a32f11e6ee42a8d63d75eba250925 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 21 Apr 2016 13:49:32 +0100 -Subject: [PATCH 096/117] vchiq_arm: Add completion records under the mutex +Subject: [PATCH 096/118] vchiq_arm: Add completion records under the mutex An issue was observed when flushing openmax components which generate a large number of messages returning @@ -123140,10 +123140,10 @@ index 54552c6ce54f413c9781ba279b936f98be4f47b0..bde8955b7d8505d73579b77b5b392154 return VCHIQ_SUCCESS; -From 286253b448c1b3776490a9f558af2a6a6aecab69 Mon Sep 17 00:00:00 2001 +From 89fdf1228ffb4140cc1211cd520adc5f002ec81b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jun 2016 13:51:44 +0100 -Subject: [PATCH 097/117] vchiq_arm: Avoid use of mutex in add_completion +Subject: [PATCH 097/118] vchiq_arm: Avoid use of mutex in add_completion Claiming the completion_mutex within add_completion did prevent some messages appearing twice, but provokes a deadlock caused by vcsm using @@ -123337,10 +123337,10 @@ index 160db24aeea33a8296923501009c1f02bc41e599..71a3bedc55314f3b22dbff40c05dedf0 up(&state->slot_available_event); } -From 729ab91a950906783834bd656b9451865de077b5 Mon Sep 17 00:00:00 2001 +From 8e1a7a0a6eb06e6d0af55aca76849c72a261a8e9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:14:10 -0700 -Subject: [PATCH 098/117] staging/vchi: Convert to current get_user_pages() +Subject: [PATCH 098/118] staging/vchi: Convert to current get_user_pages() arguments. Signed-off-by: Eric Anholt @@ -123377,10 +123377,10 @@ index e5cdda12c7e5c35c69eb96991cfdb8326def167f..085d37588c59198b4e5f00b9249bb842 num_pages, /* len */ 0, /* gup_flags */ -From 8e95d4c5b6ac9841f2674876ba65b5e9f3f5ea6f Mon Sep 17 00:00:00 2001 +From efe65d3f6da0049c9cbb44f69eca21cb9ea50121 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:16:03 -0700 -Subject: [PATCH 099/117] staging/vchi: Update for rename of +Subject: [PATCH 099/118] staging/vchi: Update for rename of page_cache_release() to put_page(). Signed-off-by: Eric Anholt @@ -123425,10 +123425,10 @@ index 085d37588c59198b4e5f00b9249bb8421695854f..5a2b8fb459ebe086ec229f37b6381bdb kfree(pages); } -From ff23b67c23786e575f2633971a6323791b2e3bfb Mon Sep 17 00:00:00 2001 +From dc360754977a1532c5b736f7e71349e06f6f623c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:21:17 -0700 -Subject: [PATCH 100/117] drivers/vchi: Remove dependency on CONFIG_BROKEN. +Subject: [PATCH 100/118] drivers/vchi: Remove dependency on CONFIG_BROKEN. The driver builds now. @@ -123450,10 +123450,10 @@ index 9676fb29075a457109e4d4235f086987aec74868..db8e1beb89f9f8c48ea5964016c8285e help Kernel to VideoCore communication interface for the -From cb4cb8f60d2830afab7182c8b81690a9da8870f5 Mon Sep 17 00:00:00 2001 +From 289c3f75740d07ac8fc64bcaa07ebf91d02d87ea Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 101/117] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 101/118] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -123497,10 +123497,10 @@ index e92278968b2b979db2a1f855f70e7aafb224fa98..09e3d871d110eb0762ebdb5ea3293537 #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From 528843b9eadca74fb149136755278a22eee2aa57 Mon Sep 17 00:00:00 2001 +From 7ab9682505e6ccaa7249f90e8c444c8ea4cdf259 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 102/117] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 102/118] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -123522,10 +123522,10 @@ index 09e3d871d110eb0762ebdb5ea329353738d58661..2859db09e25bb945251e85edb39bc434 enum rpi_firmware_property_status { -From e0757b63d323cca5bf2fb39cd83167e7b813e332 Mon Sep 17 00:00:00 2001 +From b7aa695992e5e42a6be288ea307769b53e294c5d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 103/117] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 103/118] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -124292,10 +124292,10 @@ index 0000000000000000000000000000000000000000..d18a1dae51a2275846c9826b5bf1ba57 + }, +}; -From 45da1a89df1ef188ad03d1cfe04a896ef5be6ec8 Mon Sep 17 00:00:00 2001 +From 409fc2849c293e495a2fd3217c91ec19aa02a14c 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 104/117] i2c: bcm2835: Fix hang for writing messages larger +Subject: [PATCH 104/118] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124385,10 +124385,10 @@ index d4f3239b56865919e1b781b20a7c5ebcd76b4eb9..f283b714aa79e2e4685ed95b04b6b289 i2c_dev->msg_buf_remaining = msg->len; reinit_completion(&i2c_dev->completion); -From a4a279b9a43ef53565982dd5f1e3ee2d72c5ed76 Mon Sep 17 00:00:00 2001 +From 2992b3ee682b67b8098aac4ca2cb244e9fdbdc7c 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 105/117] i2c: bcm2835: Protect against unexpected TXW/RXR +Subject: [PATCH 105/118] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124513,10 +124513,10 @@ index f283b714aa79e2e4685ed95b04b6b289f7e9eee7..d2ba1a4de36af512e8e3c97251bd3537 return -ETIMEDOUT; } -From e5bf50705025b1f31af208376074f40eb5b4cf7e Mon Sep 17 00:00:00 2001 +From eae3435b9be49b5d7fd3b21b5985665ac78e3bfb 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 106/117] i2c: bcm2835: Use dev_dbg logging on transfer errors +Subject: [PATCH 106/118] i2c: bcm2835: Use dev_dbg logging on transfer errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124548,10 +124548,10 @@ index d2ba1a4de36af512e8e3c97251bd3537ae61591a..54d510abd46a117c9238fc6d7edec840 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 61ffed8a93899c6fd821b5c001aa65f8ff37f231 Mon Sep 17 00:00:00 2001 +From d3b13d1fe86b367a2bb34bde541dea378a9bb159 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 107/117] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK +Subject: [PATCH 107/118] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124595,10 +124595,10 @@ index 54d510abd46a117c9238fc6d7edec84019d1f60d..565ef69ce61423544dc0558c85ef318b if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) -From 3851eff26d1e9f214315a10aef3f35bbc6582ab3 Mon Sep 17 00:00:00 2001 +From 8d90227b02b2781f87de0e472990dc5e24eb8d7d 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 108/117] i2c: bcm2835: Add support for Repeated Start +Subject: [PATCH 108/118] i2c: bcm2835: Add support for Repeated Start Condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124780,10 +124780,10 @@ index 565ef69ce61423544dc0558c85ef318b0ae9c324..241e08ae7c27cec23fad3c1bf3ebad3a static u32 bcm2835_i2c_func(struct i2c_adapter *adap) -From f37e2f0d866eefaec803fa34573c6aeddc0f012e Mon Sep 17 00:00:00 2001 +From fa195989cbbf0c5935998064ceca71c1a7c0828a 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 109/117] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT +Subject: [PATCH 109/118] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124820,10 +124820,10 @@ index 241e08ae7c27cec23fad3c1bf3ebad3a4d2a8e6f..d2085dd3742eabebc537621968088261 bcm2835_i2c_writel(i2c_dev, BCM2835_I2C_C, BCM2835_I2C_C_CLEAR); -From 660ec8243ace26fcd01b3cb819ca0781adc58bee Mon Sep 17 00:00:00 2001 +From d51893d40fa09cc45705dd3455767994b063c23e 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 110/117] i2c: bcm2835: Add support for dynamic clock +Subject: [PATCH 110/118] i2c: bcm2835: Add support for dynamic clock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124939,10 +124939,10 @@ index d2085dd3742eabebc537621968088261f8dc7ea8..c3436f627028477f7e21b47e079fd5ab irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); if (!irq) { -From 4557adc6e37b459329e6c7e095ba76a54a5578d3 Mon Sep 17 00:00:00 2001 +From ee509744d81b69d5be41a42ed1604ba36362a832 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 111/117] i2c: bcm2835: Add debug support +Subject: [PATCH 111/118] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -125131,10 +125131,10 @@ index c3436f627028477f7e21b47e079fd5ab06ec188a..8642f580ce41803bd22c76a0fa80d083 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 47a236682198e2cc63e9e5413fe9ec22965e9536 Mon Sep 17 00:00:00 2001 +From 871ba19b271f2b4e5957005e88e0ec1a5100216b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 31 Dec 2016 14:15:50 +0000 -Subject: [PATCH 112/117] arm64: Add CONFIG_ARCH_BCM2835 +Subject: [PATCH 112/118] arm64: Add CONFIG_ARCH_BCM2835 --- arch/arm64/configs/bcmrpi3_defconfig | 1 + @@ -125150,10 +125150,10 @@ index d7406f5a4620151044b8f716b4d10bb818648e06..53da5c7a33e5898a66e549fb0c39fe3d CONFIG_BCM2708_VCHIQ=n +CONFIG_ARCH_BCM2835=y -From d832d4e53ace76069c5a4e0a9cf32fc5eaf575f6 Mon Sep 17 00:00:00 2001 +From c9f095b015beaa2b8926dc16a692d946367c0223 Mon Sep 17 00:00:00 2001 From: Alex Tucker Date: Tue, 13 Dec 2016 19:50:18 +0000 -Subject: [PATCH 113/117] Add support for Silicon Labs Si7013/20/21 +Subject: [PATCH 113/118] Add support for Silicon Labs Si7013/20/21 humidity/temperature sensor. --- @@ -125228,10 +125228,10 @@ index f6d134c095af2398fc55ae7d2b0e86456c30627c..31bda8da4cb6a56bfe493a81b9189009 }; }; -From c95baff548c5efbe601f935a0c4c302df0ceecfb Mon Sep 17 00:00:00 2001 +From 988ff6b453f319ec4bdd13160cd9c95c4347a703 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Jan 2017 21:27:46 +0000 -Subject: [PATCH 114/117] Document the si7020 option +Subject: [PATCH 114/118] Document the si7020 option --- arch/arm/boot/dts/overlays/README | 3 +++ @@ -125252,10 +125252,10 @@ index 81d991803be335e5a1bc3bb0a8c7a2c9f5c392bd..e8fa4ccb44c34a20485c4e6155467af9 Name: i2c0-bcm2708 Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations -From b94e1c01d2e98839f2825f987b514cd3921cd9ec Mon Sep 17 00:00:00 2001 +From 1b0c1c6ce71d6076ec100bf1dbb3b5e87f64556b Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Thu, 5 Jan 2017 02:38:16 +0200 -Subject: [PATCH 115/117] pisound improvements: +Subject: [PATCH 115/118] pisound improvements: * Added a writable sysfs object to enable scripts / user space software to blink MIDI activity LEDs for variable duration. @@ -125549,10 +125549,10 @@ index 4b8545487d06e4ea70073a5d063fb2310b3b94d0..ba70734b89e61a11201657406223f0b3 }; -From 19e02d36f5d71758ca17c359aae7b8f544ff2285 Mon Sep 17 00:00:00 2001 +From fcd5ab41bc1ff092661afd914247c667c45529ea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jan 2017 09:23:06 +0000 -Subject: [PATCH 116/117] Revert "Revert "Added driver for HiFiBerry Amp +Subject: [PATCH 116/118] Revert "Revert "Added driver for HiFiBerry Amp amplifier add-on board"" This reverts commit bf84babd8fffcb79c60f1342c2416f8e1e4b7af9. @@ -126376,10 +126376,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 4ce1d9a41af6bd692c2386db82458617906463d6 Mon Sep 17 00:00:00 2001 +From 85a791fa81082ce933ba66d0f63494486e50ca4d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jan 2017 09:42:09 +0000 -Subject: [PATCH 117/117] hifiberry-amp: Adjust for ALSA object refactoring +Subject: [PATCH 117/118] hifiberry-amp: Adjust for ALSA object refactoring See: https://github.com/raspberrypi/linux/issues/1775 --- @@ -126403,3 +126403,96 @@ index 9b2713861dcbed751842ca29c88eb1eae5867411..560234d58a6b0a6e7fd3a63e8de73339 }; + +From 02fd5648e60335c1408847b73bf43dce7c868ac9 Mon Sep 17 00:00:00 2001 +From: Giedrius Trainavicius +Date: Sun, 8 Jan 2017 15:58:54 +0200 +Subject: [PATCH 118/118] bcm2835-i2s: Changes for allowing asymmetric sample + formats. + +This is achieved by making changes only to the requested +stream direction format, keeping the other stream direction +configuration intact. + +Signed-off-by: Giedrius Trainavicius +--- + sound/soc/bcm/bcm2835-i2s.c | 54 +++++++++++++++++++++++++++++++-------------- + 1 file changed, 38 insertions(+), 16 deletions(-) + +diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c +index 6ba20498202ed36906b52096893a88867a79269f..171c2401dfe192740fca3356268aff6432f284ea 100644 +--- a/sound/soc/bcm/bcm2835-i2s.c ++++ b/sound/soc/bcm/bcm2835-i2s.c +@@ -237,7 +237,9 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, + unsigned int sampling_rate = params_rate(params); + unsigned int data_length, data_delay, bclk_ratio; + unsigned int ch1pos, ch2pos, mode, format; ++ unsigned int previous_ftxp, previous_frxp; + uint32_t csreg; ++ bool packed; + + /* + * If a stream is already enabled, +@@ -320,26 +322,46 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, + return -EINVAL; + } + +- /* +- * Set format for both streams. +- * We cannot set another frame length +- * (and therefore word length) anyway, +- * so the format will be the same. +- */ +- regmap_write(dev->i2s_regmap, BCM2835_I2S_RXC_A_REG, format); +- regmap_write(dev->i2s_regmap, BCM2835_I2S_TXC_A_REG, format); ++ /* Set the format for the matching stream direction. */ ++ switch (substream->stream) { ++ case SNDRV_PCM_STREAM_PLAYBACK: ++ regmap_write(dev->i2s_regmap, BCM2835_I2S_TXC_A_REG, format); ++ break; ++ case SNDRV_PCM_STREAM_CAPTURE: ++ regmap_write(dev->i2s_regmap, BCM2835_I2S_RXC_A_REG, format); ++ break; ++ default: ++ return -EINVAL; ++ } + + /* Setup the I2S mode */ ++ /* Keep existing FTXP and FRXP values. */ ++ regmap_read(dev->i2s_regmap, BCM2835_I2S_MODE_A_REG, &mode); ++ ++ previous_ftxp = mode & BCM2835_I2S_FTXP; ++ previous_frxp = mode & BCM2835_I2S_FRXP; ++ + mode = 0; + +- if (data_length <= 16) { +- /* +- * Use frame packed mode (2 channels per 32 bit word) +- * We cannot set another frame length in the second stream +- * (and therefore word length) anyway, +- * so the format will be the same. +- */ +- mode |= BCM2835_I2S_FTXP | BCM2835_I2S_FRXP; ++ /* ++ * Retain the frame packed mode (2 channels per 32 bit word) ++ * of the other direction stream intact. The formats of each ++ * direction can be different as long as the frame length is ++ * shared for both. ++ */ ++ packed = data_length <= 16; ++ ++ switch (substream->stream) { ++ case SNDRV_PCM_STREAM_PLAYBACK: ++ mode |= previous_frxp; ++ mode |= packed ? BCM2835_I2S_FTXP : 0; ++ break; ++ case SNDRV_PCM_STREAM_CAPTURE: ++ mode |= previous_ftxp; ++ mode |= packed ? BCM2835_I2S_FRXP : 0; ++ break; ++ default: ++ return -EINVAL; + } + + mode |= BCM2835_I2S_FLEN(bclk_ratio - 1); diff --git a/projects/RPi2/patches/linux/linux-01-RPi_support.patch b/projects/RPi2/patches/linux/linux-01-RPi_support.patch index b3ddabdbb5..27ab80d463 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 0f5c3a9e8916c5274cb9f4984b1d658a6783ff23 Mon Sep 17 00:00:00 2001 +From ad221e75ca78e7b45517c4a596ee8f8e48b09960 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/117] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/118] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -48,10 +48,10 @@ index 831aa33d078ae7d2dd57fdded5de71d1eb915f99..b77935bded8c0ff7808b00f170ff10e5 usbnet_skb_return(dev, ax_skb); } -From 9f72a1ead6869c804c7366133459c9c819847543 Mon Sep 17 00:00:00 2001 +From cfe436f9931be38d89cbecdf4d1ca13aee366990 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/117] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/118] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index b77935bded8c0ff7808b00f170ff10e594300ad0..693f163684de921404738e33244881e0 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From c2ad68ad758883a9f1972ade64a28780167d9933 Mon Sep 17 00:00:00 2001 +From e4567736c09da23abfebb86e052047041bf30105 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/117] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/118] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 693f163684de921404738e33244881e0aab92ec9..df60c989fc229bf0aab3c27e95ccd453 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From e2e84770092cf9ea489ee882317dde91c854dd4a Mon Sep 17 00:00:00 2001 +From cdf57f590c9e3ff27d89dfa899d4a0b609ef769d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/117] Protect __release_resource against resources without +Subject: [PATCH 004/118] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -224,10 +224,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 8040c1c5883e7f06621c3d18c29a51aeabc7c98a Mon Sep 17 00:00:00 2001 +From f53e12f49ae97f55c8fa00e68de5de52b110bbc7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/117] mm: Remove the PFN busy warning +Subject: [PATCH 005/118] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -252,10 +252,10 @@ index 34ada718ef47c4b27730214d584f9350fefb9883..3fa01a5280db96075798e4cbd58d5520 goto done; } -From 6c99bcf32b3edc693cf045bf71a37f2703d3ccaa Mon Sep 17 00:00:00 2001 +From a6ef83b5f0634de5963aa6aabfeec2e55d8afd09 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/117] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/118] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -282,10 +282,10 @@ index d96b2c947e74e3edab3917551c64fbd1ced0f34c..93e3f7660c4230c9f1dd3b195958cb49 #endif } else if (stat) { -From 9ac715e2bb2c7b4e0e9cdfb08e9a2ba6bf648e54 Mon Sep 17 00:00:00 2001 +From 968fe34e6ac79edbdcbadc5fa87082fdd77be3ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 007/117] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 007/118] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -414,10 +414,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From dd4547cf48b5a8deaee72dda65f60d7d54828164 Mon Sep 17 00:00:00 2001 +From 0bac3ae5f7ee20fab229c5aeeeaa10a9b16ee9e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 008/117] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 008/118] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -516,10 +516,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From 0e31c4a839a47944137a7f011e9ae2c83e356e8a Mon Sep 17 00:00:00 2001 +From 16340fb762b9570e5b577bea5708e660b154e41f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 009/117] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 009/118] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -540,10 +540,10 @@ index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..d780491b8013a4e97fa843958964454e }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From d48949ae8236945df38224bb99e78126ed1de4d6 Mon Sep 17 00:00:00 2001 +From 332ead9fc0db97e1950bd1baaec720d92f86c58a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 010/117] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 010/118] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -563,10 +563,10 @@ index 240a361b674fe72ce657067e5303156b7add6a6f..14f6cdfd744209482056d206dc476d94 for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From 864f41ce25ef52b0070e912dacaa4d03c8410add Mon Sep 17 00:00:00 2001 +From 4b12f273ccf3d7a3949419a6dfcb78b1abf72d6e Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 011/117] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 011/118] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -588,10 +588,10 @@ index fa77165fab2c1348163979da507df17e7168c49b..d11e2e4ea189466e686d762cb6c6fef9 .can_sleep = false, }; -From e7a6f4ed5a62c85cccf2dd3565e42db05f474fbb Mon Sep 17 00:00:00 2001 +From 0ab76cad363c7a9b847c775f966b9c28228e112d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 012/117] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 012/118] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -737,10 +737,10 @@ index d11e2e4ea189466e686d762cb6c6fef9111ecf8e..107ad7d58de8f8a7f55e09c9cdcf7d66 }, }; -From c4175cc718b15617ce1e7d6eb4dc9d4fa60d4fa8 Mon Sep 17 00:00:00 2001 +From 74fdb3c2e15771b27e12085cf45bc97fb24af85d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/117] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/118] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -767,10 +767,10 @@ index 107ad7d58de8f8a7f55e09c9cdcf7d66fa7ab66b..644bdecbcfcb79d3b84a33769265fca5 pc->irq_data[i].irqgroup = i; -From a1d3b1b8f4b5fb273ae1a1782c10bebe9f2ec390 Mon Sep 17 00:00:00 2001 +From aed251a577cad2c0b089908ac31de9278d43f0a6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 May 2016 12:32:47 +0100 -Subject: [PATCH 014/117] pinctrl-bcm2835: Return pins to inputs when freed +Subject: [PATCH 014/118] 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 @@ -811,10 +811,10 @@ index 644bdecbcfcb79d3b84a33769265fca5d3d0c9e5..81a66cba2ab0f7e3ae179de7edd10122 .get_function_name = bcm2835_pmx_get_function_name, .get_function_groups = bcm2835_pmx_get_function_groups, -From fb5e309e3a776b24d2828299f7fc3e64d7004a1b Mon Sep 17 00:00:00 2001 +From d1ad182a5691887e196dfa1f5a446a7ba7376b02 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 015/117] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 015/118] 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 @@ -895,10 +895,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 411a3971d039e5e0af4bbf0452f2677efe046157 Mon Sep 17 00:00:00 2001 +From 7db6bd48d813575485cc9198945c1a7b35738d86 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 016/117] spi-bcm2835: Disable forced software CS +Subject: [PATCH 016/118] 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 @@ -932,10 +932,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 33e78476ef56aefd55b116c4dd7e1476bb658ea1 Mon Sep 17 00:00:00 2001 +From 75f7a6605403141ed4d06512c7575b5a2c8ba98e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 017/117] spi-bcm2835: Remove unused code +Subject: [PATCH 017/118] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1023,10 +1023,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 3a41fcfcb5de93d9665b7f92a78e3dd3ec708afb Mon Sep 17 00:00:00 2001 +From 5f964e4c7a409259176d23a76d67921a5d9d4341 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 018/117] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 018/118] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1079,10 +1079,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 1de44ea2a0505cbb479b53b570d81053172d2757 Mon Sep 17 00:00:00 2001 +From 686de609ac017c025dc69c8a9a955cdf8f65fe9a 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 019/117] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 019/118] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1185,10 +1185,10 @@ index e18dc596cf2447fa9ef7e41b62d9396e29043426..80d35f760b4a4a51e60c355a84d538ba MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From 8e68d7e8e9531a08943661d414170f20a7a8adf1 Mon Sep 17 00:00:00 2001 +From 7a6973b406e694db4a471e02386dfff172956504 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 020/117] firmware: Updated mailbox header +Subject: [PATCH 020/118] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 11 +++++++++++ @@ -1251,10 +1251,10 @@ index 3fb357193f09914fe21f8555a4b8613f74f22bc3..227a107214a02deadcca3db202da265e RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From 2b4ba7a666ea183ee12d7fb50eca5eb9182c62d2 Mon Sep 17 00:00:00 2001 +From 8c4038efde58ff4b6d435befe924380ef6e3045f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 021/117] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 021/118] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1272,10 +1272,10 @@ Signed-off-by: Eric Anholt 1 file changed, 9 insertions(+) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 8c7763fd9efc52b30f02d9ebcd4fdb10d2876465..a73f0873b7b8f78bc4a70f01e17eb287eec1d9e3 100644 +index 3bbd2a58db470a89b870a793e59ddf9fc4f48e57..7040c6426e35c11608121893b662c601cd8d6543 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1260,6 +1260,15 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, +@@ -1262,6 +1262,15 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, init.name = data->name; init.flags = data->flags | CLK_IGNORE_UNUSED; @@ -1292,10 +1292,10 @@ index 8c7763fd9efc52b30f02d9ebcd4fdb10d2876465..a73f0873b7b8f78bc4a70f01e17eb287 init.ops = &bcm2835_vpu_clock_clk_ops; } else { -From 1f08bbd0e3146406742102c155068e4ef929f800 Mon Sep 17 00:00:00 2001 +From 43129b4fa17eab0b3af27b7034719c5eb91fcaec Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 022/117] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 022/118] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1315,10 +1315,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 999a0a1939166af1617ef2d320a658af942e7785 Mon Sep 17 00:00:00 2001 +From ab70dae22d22f9c5f4f03e84ac1c1b1d4d35bef9 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 023/117] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 023/118] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1442,10 +1442,10 @@ index 4dddd8298a227d64862f2e92954a465f2e44b3f6..1f545e024422f59280932713e6a1b051 register_restart_handler(&wdt->restart_handler); if (pm_power_off == NULL) -From 1356c426a196233a758cb8600a65c12f4d28fee2 Mon Sep 17 00:00:00 2001 +From 3937b628148a61d360f847848b11ac94afea29cd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 024/117] reboot: Use power off rather than busy spinning when +Subject: [PATCH 024/118] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1468,10 +1468,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From e52cf56957fa81e15358b8f9be2ffbcf73c8d9a3 Mon Sep 17 00:00:00 2001 +From dbd5f14e9ba84e12761d3193d082a0d74ed32008 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 025/117] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 025/118] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1490,10 +1490,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..e037a6dd79d1881a09e3ca9115782709 help This enables support for the RPi power domains which can be enabled -From 506d83ebc14a82fc4012066009847c4809528ea1 Mon Sep 17 00:00:00 2001 +From 6224c852d202401287990cc77ec5797218db6133 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 026/117] Register the clocks early during the boot process, so +Subject: [PATCH 026/118] 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. @@ -1504,10 +1504,10 @@ Signed-off-by: Martin Sperl 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index a73f0873b7b8f78bc4a70f01e17eb287eec1d9e3..56fd47891e50dddcf83e687f1d53aeb46d85a7b2 100644 +index 7040c6426e35c11608121893b662c601cd8d6543..21e2a538ff0d0ab4e63adff9b93705f3d45fa15d 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1901,8 +1901,15 @@ static int bcm2835_clk_probe(struct platform_device *pdev) +@@ -1903,8 +1903,15 @@ static int bcm2835_clk_probe(struct platform_device *pdev) if (ret) return ret; @@ -1524,7 +1524,7 @@ index a73f0873b7b8f78bc4a70f01e17eb287eec1d9e3..56fd47891e50dddcf83e687f1d53aeb4 } static const struct of_device_id bcm2835_clk_of_match[] = { -@@ -1919,7 +1926,11 @@ static struct platform_driver bcm2835_clk_driver = { +@@ -1921,7 +1928,11 @@ static struct platform_driver bcm2835_clk_driver = { .probe = bcm2835_clk_probe, }; @@ -1538,10 +1538,10 @@ index a73f0873b7b8f78bc4a70f01e17eb287eec1d9e3..56fd47891e50dddcf83e687f1d53aeb4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From abc0233dfad657481294905031fae06d95ed1504 Mon Sep 17 00:00:00 2001 +From ed16aee637b73805a208d0d4d2f00b5d9f5f789a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 027/117] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 027/118] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1567,10 +1567,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From c9be73a0b68dee2d1b534d0ccdefa08607f8eeb3 Mon Sep 17 00:00:00 2001 +From 44e47b69c75d81807f24131821f6599435755427 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 028/117] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 028/118] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1590,10 +1590,10 @@ index 179219845dfcdfbeb586d12c5ec1296095d9fbf4..e0743e44f84188667a0c322e8c3d36f1 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From 21f52f8fcc6530bbc3b7f3391a579f2401b4c8b5 Mon Sep 17 00:00:00 2001 +From b345482052faa86e6db9fe01613bae550fee93f8 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 029/117] BCM2835_DT: Fix I2S register map +Subject: [PATCH 029/118] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1631,10 +1631,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 0e3afb9fafa9e1629d896456b2eb8c1a3a7dacf7 Mon Sep 17 00:00:00 2001 +From b14d3bae8ca43d7636bfd91dda5a8bc9c8a06154 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 030/117] Main bcm2708/bcm2709 linux port +Subject: [PATCH 030/118] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1841,10 +1841,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From dec2b6ff2e66f67b140513340bb94ec363979395 Mon Sep 17 00:00:00 2001 +From 94e3bcec0b0e4f94bca7374cbb32ed6e36d103d5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 031/117] Add dwc_otg driver +Subject: [PATCH 031/118] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -62901,10 +62901,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 5bf3ea4c4f421176371587b3a229bb4ed34f4e5f Mon Sep 17 00:00:00 2001 +From 83b46b448602db774a6fb361fd6c1b9e0c8509b0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 032/117] bcm2708 framebuffer driver +Subject: [PATCH 032/118] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66363,10 +66363,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 4b0bb52b1462df2e112a1f9c4997abf6bba209ae Mon Sep 17 00:00:00 2001 +From 3e6b7dca18903fbcef8b22805d2877704b8cc9f0 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 033/117] dmaengine: Add support for BCM2708 +Subject: [PATCH 033/118] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66997,10 +66997,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From ad35f3a2ff8355dd259c8434f5f161f7e4d6ec67 Mon Sep 17 00:00:00 2001 +From c88dfcfa730ab5573a722c208e9ff326563b375e Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 034/117] MMC: added alternative MMC driver +Subject: [PATCH 034/118] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68750,10 +68750,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From 827ed14e23517744847b9a436520fcce8563eda9 Mon Sep 17 00:00:00 2001 +From c276600e049838697dbf80363852e8968f63fa2a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 035/117] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 035/118] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71158,10 +71158,10 @@ index 0000000000000000000000000000000000000000..a9bc79bfdbb71807819dfe2d8f165144 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From d9b052ba96138eca16bc0592a1d4d04668126d25 Mon Sep 17 00:00:00 2001 +From 380c5bcb89cb9ff9bb7233f468b4c56246469024 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 036/117] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 036/118] 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, @@ -71297,10 +71297,10 @@ index 73fad83acbcb6a157587180516f9ffe7c61eb7d7..e7c9d3098ac06e3c6554fa3373a311f9 unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From ec63a15095c98f76f46b77eaf0c5c4a2be16c4f9 Mon Sep 17 00:00:00 2001 +From 4242c82a0364d1451c54c4f921af3f4f2c537dc3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 037/117] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 037/118] 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 @@ -72636,10 +72636,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From b298dc2b546a6de8ac3aef42e5ae2ed5464e1c83 Mon Sep 17 00:00:00 2001 +From 6ea5c5ec0e9223d94037f4501e520f9e594fcb68 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 038/117] bcm2708: alsa sound driver +Subject: [PATCH 038/118] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75374,10 +75374,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From f7b479da6fc4c829121d0c8a8604f74600e6145c Mon Sep 17 00:00:00 2001 +From 95547683299d0aef3ca13d192481e529cbcb6ad2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 039/117] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 039/118] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -75901,10 +75901,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From eb1da72bb0bd3dcaa5c9e673b445e85152945c0d Mon Sep 17 00:00:00 2001 +From 23b1ab3b736cd7d77cc610958a219f0284d84b70 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 040/117] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 040/118] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -80311,10 +80311,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From a1ea0495e7a63034c1a36b7d7ac979d4b426b7c0 Mon Sep 17 00:00:00 2001 +From e95f43b6d8757c6264ba1f665ec7b45732691ab6 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 041/117] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 041/118] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -80625,10 +80625,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From ab0bcd94ddec170d2b008e44c194d68f0ab7dc4e Mon Sep 17 00:00:00 2001 +From 82ff85d9274fccc8df9a59d99066e0e1f1772f9f Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 042/117] Add SMI driver +Subject: [PATCH 042/118] Add SMI driver Signed-off-by: Luke Wren --- @@ -82579,10 +82579,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From 67184cc70701d3762d8bb431f5f7f71c608d1705 Mon Sep 17 00:00:00 2001 +From 7681571a6b97b4c2892ca63b76d5a8cb215c3802 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 043/117] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 043/118] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -82752,10 +82752,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From 4e7e326f6fa7ee68d4503bff246ceaa8544b038e Mon Sep 17 00:00:00 2001 +From 68b7fa34af2f20c36933fe3f7c657bafa400f458 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 044/117] Add SMI NAND driver +Subject: [PATCH 044/118] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -83120,10 +83120,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 460d2fe85c66690b0171e83d9b8c644ae380cbe2 Mon Sep 17 00:00:00 2001 +From ac544a9fe824b139bbd4c2b75ae4cad9fba5777a Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 045/117] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 045/118] 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 @@ -83986,10 +83986,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From edf71e993bab4fb6a6f5258e1f30b25e83b9771e Mon Sep 17 00:00:00 2001 +From e5cc98d9c41d2f8dcb912feefd8f5829ee7ce075 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 046/117] Add cpufreq driver +Subject: [PATCH 046/118] Add cpufreq driver Signed-off-by: popcornmix --- @@ -84256,10 +84256,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 3d13606d584bd16d9ac897cffe9deac24468c4f4 Mon Sep 17 00:00:00 2001 +From f544a8ce034e18a89daed574edc29dd9de74f536 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 047/117] Added hwmon/thermal driver for reporting core +Subject: [PATCH 047/118] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -84425,10 +84425,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 39d15ad323ddb65c473bb3225bb16b3928b65d44 Mon Sep 17 00:00:00 2001 +From 660794f62a377f9ca817e7d29c06f1c548489a26 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 048/117] Add Chris Boot's i2c driver +Subject: [PATCH 048/118] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85093,10 +85093,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 2570a2a3cf115f29fedec989294b9f6dbe2f3f95 Mon Sep 17 00:00:00 2001 +From 08afd466271b5732eac8e4974361546aad8e3aca 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 049/117] char: broadcom: Add vcio module +Subject: [PATCH 049/118] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85322,10 +85322,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From c8496b489a9b844b092ede93253cadcf0cef5246 Mon Sep 17 00:00:00 2001 +From 426ef96150c966b43d39a2ca6b9c055f8cd72930 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 050/117] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 050/118] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85408,10 +85408,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From f494e1215f199fd5b333527df53d051a7847339b Mon Sep 17 00:00:00 2001 +From 986fa8434b81e4c5e7203434beb7dca80d4c9a42 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 051/117] bcm2835: add v4l2 camera device +Subject: [PATCH 051/118] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -93153,10 +93153,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From 467383faec292eff5dc92ef4ec075b03ff372be4 Mon Sep 17 00:00:00 2001 +From 1eae4deb95fecca9b104385232470efbc8e348da Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 052/117] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 052/118] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -93676,10 +93676,10 @@ index 0000000000000000000000000000000000000000..60206de7fa9a49bd027c635306674a29 + return $trailer; +} -From 5729bf4fe7a0802eaa4a26248b7af49291e1186d Mon Sep 17 00:00:00 2001 +From 899b7bf32634a929de96ccde06485f52676c4545 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 053/117] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 053/118] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -96530,10 +96530,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From df6dc22cb2e5dafa0c5f3910e7e83f738b2791ed Mon Sep 17 00:00:00 2001 +From 52cb10b96ef40c97f0c7fe0f70846c6e582c3afe Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 054/117] BCM2708: Add core Device Tree support +Subject: [PATCH 054/118] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -106661,10 +106661,10 @@ index 0a07f9014944ed92a8e2e42983ae43be60b3e471..1967878a843461c3ff1f473b9a030eb0 # Bzip2 -From fdb1b0aec3ed223d102edb56214ba732bf838fd3 Mon Sep 17 00:00:00 2001 +From 1cdd49ad8df3ca95ddfe0c2d373d6ed7b4a5cefc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 055/117] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 055/118] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -106840,10 +106840,10 @@ index ddfcb2df3656cf0ab6aebd1fa3d624a6ec2e94e9..271563eb835f9018712e2076a88f341d /* Set LED brightness level * Must not sleep. Use brightness_set_blocking for drivers -From 975dcfa3356a4ad5cd7a86540931fba9a6fc0cd6 Mon Sep 17 00:00:00 2001 +From 1265a84c23cb9aed8388e0a41643024a34333dc3 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 056/117] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 056/118] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -107095,10 +107095,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From b7861fb612f0779a296eda7b88ddb78cf7ef6720 Mon Sep 17 00:00:00 2001 +From 7eb7c996151bac6551a4f5f0a23abad1ca0389ea Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 057/117] Speed up console framebuffer imageblit function +Subject: [PATCH 057/118] 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 @@ -107307,10 +107307,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From a72848506ff0da1a377fbb45fcbc4d244a594079 Mon Sep 17 00:00:00 2001 +From c3033b89522fdc4f7db951b18bca36ac35e2b1d6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 058/117] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 058/118] 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 @@ -107560,10 +107560,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 479a740f8b2caab35944c2579c14bd1e30e898b0 Mon Sep 17 00:00:00 2001 +From c816433b752c72c40773170eb7071cde1ebae347 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 059/117] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 059/118] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -107613,10 +107613,10 @@ index 85bc9beb046d9a6deda2e3564f4d5bd01d6fc27b..4acdbef46a8f0556469b5580a39c18ce * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From d2cbcfafa4d388097114e278519cf6da8a347760 Mon Sep 17 00:00:00 2001 +From e3fbcedfa440961f973afc555c5c792e86072110 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/117] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/118] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -107652,10 +107652,10 @@ index ae83af649a607f67239f1a64bf45dd4b5770cc7d..4a7af9d0b910f59d17421ce14138400d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From effebe5180384b5daac83ebb51406cde2ba68c4e Mon Sep 17 00:00:00 2001 +From cb490033b6623d6df8a5568317e26501a511e1ee Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/117] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/118] 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 @@ -108013,10 +108013,10 @@ index 227a107214a02deadcca3db202da265eba1fdd21..b0f6e33bd30c35664ceee057f4c3ad32 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 9d4eb32dd0bf34d93915514fecf73721065b4c6f Mon Sep 17 00:00:00 2001 +From 3eae543d276098fd975f15409724f49fc7f5fee2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 062/117] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/118] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -109591,10 +109591,10 @@ index 333dc3c2e5ffbb2c5ab8fcfb6115b6162643cf20..46b787a6474ffa857da9b663948863ec bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From 00e0f16f2ec443ab79881962f045eb5322171022 Mon Sep 17 00:00:00 2001 +From 5d1adffa7d058d9f53796dcde41a572c28b5c8fd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/117] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/118] 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 @@ -109629,10 +109629,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From 29d441e6aaac4af9670e71c4f5ed94d1bfd75eef Mon Sep 17 00:00:00 2001 +From 829742ee037607b5091e2044792aa28d3748af34 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/117] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/118] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -110497,10 +110497,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From dcb7fda39b396976dddec43e13171d59b42bd91c Mon Sep 17 00:00:00 2001 +From 8623732fdf50b8808240d8d959d086553daf9197 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/117] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/118] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -110675,10 +110675,10 @@ index 0000000000000000000000000000000000000000..45f2b770ad9e67728ca599a7445d6ae9 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From c3b3e4fd15b052965bc401cbfcd3b7e781922b5f Mon Sep 17 00:00:00 2001 +From 30de099c2e20d442486331817d29a4f5ba1506fe Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/117] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/118] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -110962,10 +110962,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From acd0ec7e87babcc0ca1928cdaad98f1da06d50af Mon Sep 17 00:00:00 2001 +From daf62d077f66270f3f88a3e5fa058c6d3885f54e Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/117] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/118] 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 @@ -111014,10 +111014,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From efca907b192bb1405406f777a0984b4288ae3a19 Mon Sep 17 00:00:00 2001 +From 1e761e3e8abff0c154cd7be50eb3854157260032 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/117] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/118] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -111361,10 +111361,10 @@ index 0000000000000000000000000000000000000000..19dc953b7227ba86123fc7a2ba654499 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 6d1d0dab7c38f200f0f98dbb85abad5ad8a98d6c Mon Sep 17 00:00:00 2001 +From bbe7cec41a8c9178db2486477472ceb737761a7b Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/117] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/118] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -111694,10 +111694,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 5b98d5462c7e6100b6f982ebef21806050fcf928 Mon Sep 17 00:00:00 2001 +From cc51f9a5cf72cb4e8178902cc3d80a878574377b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 070/117] iqaudio-dac: Compile fix - untested +Subject: [PATCH 070/118] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -111721,10 +111721,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From 536787333525f900adae6a26ebeaaa251241a2f0 Mon Sep 17 00:00:00 2001 +From 097012dbf23088dc7bfc7f637dac7e03ee9ac742 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 071/117] Added support for HiFiBerry DAC+ +Subject: [PATCH 071/118] 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. @@ -112354,10 +112354,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From d88d0820ffa04f1fece2e2841a09c757753d04c8 Mon Sep 17 00:00:00 2001 +From 798717fecb6f9c838b9eaa84f11acc760af0c966 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 072/117] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 072/118] 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. @@ -113190,10 +113190,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 1793611fcb3ef9dd3d705eb483d2685a82666210 Mon Sep 17 00:00:00 2001 +From 1094b85d81f72de26606f30482ca243867a90738 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 Dec 2016 16:26:54 +0000 -Subject: [PATCH 073/117] Revert "Added driver for HiFiBerry Amp amplifier +Subject: [PATCH 073/118] Revert "Added driver for HiFiBerry Amp amplifier add-on board" This reverts commit 3e6b00833d92a50cbcc9922deb6e1bc8fcdbb587. @@ -114015,10 +114015,10 @@ index 8f019e04898754d2f87e9630137be9e8f612a342..00000000000000000000000000000000 - -#endif /* _TAS5713_H */ -From 4fbd138ea9b76429401f8eff7aad278fafaeae95 Mon Sep 17 00:00:00 2001 +From c8e89c69ce685339afdcfa83d35a2a1d295fcf9e Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 074/117] Update ds1307 driver for device-tree support +Subject: [PATCH 074/118] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -114045,10 +114045,10 @@ index 4e31036ee2596dec93accd26f627c5b95591ae9f..b92044cf03e750afa521a93519500e9d .driver = { .name = "rtc-ds1307", -From 08a4e14020e883279774bce70ec373b41d273251 Mon Sep 17 00:00:00 2001 +From 7f314dbd22408377f9e7e3537dc0521ae933b53e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 075/117] Add driver for rpi-proto +Subject: [PATCH 075/118] 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 @@ -114263,10 +114263,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From f74767fb709e914de7461eb96ca81d2cf8cd59a2 Mon Sep 17 00:00:00 2001 +From 2ef9c52bf68b163dda3666a20dfefcbed2e42bf6 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 076/117] RaspiDAC3 support +Subject: [PATCH 076/118] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -114509,10 +114509,10 @@ index 0000000000000000000000000000000000000000..dd9eeea2af0382307f437e6db09d1546 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 6eb75b6cc31ff70393941ca8a6f6b4c5066856c0 Mon Sep 17 00:00:00 2001 +From b9bbce6e6914108063a3a1b2c17ed792a3dfd351 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 077/117] Add Support for JustBoom Audio boards +Subject: [PATCH 077/118] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -114966,10 +114966,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 157d6b14a6457c333f0c6a110dc0201306a94c9a Mon Sep 17 00:00:00 2001 +From d146863cec303731b37c7d86bcf56ddcafcd2199 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 078/117] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 078/118] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -115151,10 +115151,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 749251b374f33da0c68119f99f05669118fd1c9b Mon Sep 17 00:00:00 2001 +From ed26616bccf0c8d84600da21240bcbd913ee7e7f Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 079/117] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 079/118] 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. @@ -115405,10 +115405,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From 7dfcbc3c599bae13cd2540a3e62f6db93cbf61cc Mon Sep 17 00:00:00 2001 +From 4466167663935a49e4828c67d5788ec47a79d417 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 080/117] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 080/118] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -115708,10 +115708,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From 9231229e445c3cb7f0607c9e352a3b7d74efdc2b Mon Sep 17 00:00:00 2001 +From 24c4db954f875c5da3c9afd5c9b491f6c4210656 Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 081/117] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 081/118] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -116184,10 +116184,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From a5aed00df966a45a543364bd1d9ab975542d97ff Mon Sep 17 00:00:00 2001 +From 9519d83c7c32c808aa0dc201d1bda664666825bc Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 082/117] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 082/118] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -116360,10 +116360,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From c073c1415116c2d388b5ed70be6d35b98be09679 Mon Sep 17 00:00:00 2001 +From 48b527833946f505f1e8004207c2a2770e800767 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 083/117] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 083/118] 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, @@ -116570,10 +116570,10 @@ index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From fa03b5eb0fbc09c3d6b3381db13fbf010512d857 Mon Sep 17 00:00:00 2001 +From 6c886c8edd47456f9ea8735f003a71422c580b0e Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 084/117] Support for Blokas Labs pisound board +Subject: [PATCH 084/118] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -117750,10 +117750,10 @@ index 0000000000000000000000000000000000000000..4b8545487d06e4ea70073a5d063fb231 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 47ee27c35793d2f12f8f9bbda051651f0bbbb53f Mon Sep 17 00:00:00 2001 +From 6b2923c5d85c7daa2e1efdb6e083bda5db5579aa Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 085/117] rpi_display: add backlight driver and overlay +Subject: [PATCH 085/118] 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 @@ -117922,10 +117922,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 004c6b9b8260aef1d2fa88c474a81eb11500ea1b Mon Sep 17 00:00:00 2001 +From 7ce6a9a9e8e4ded0b5411be1f337e697c40ee38b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 086/117] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 086/118] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -118199,10 +118199,10 @@ index b0f6e33bd30c35664ceee057f4c3ad32b914291d..e92278968b2b979db2a1f855f70e7aaf RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 4baa0fad9997eb19fcdf94fc0284097b5f6450f6 Mon Sep 17 00:00:00 2001 +From 5310bef4d1b2160385c9bdd914e897f46d7e8911 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 087/117] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 087/118] 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 @@ -118231,10 +118231,10 @@ index e2c33b9528d82ed7a2c27d083d7b1d222da68178..5a11ff833e1fd112ba04df3a427cd94b uap->old_cr = 0; uap->port.dev = dev; -From b9975b161f9374a2237109fe17c2f277dff13cfa Mon Sep 17 00:00:00 2001 +From c65323ecc55f9524e86136e2d7dd7c69cb376bcb Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 088/117] OF: DT-Overlay configfs interface +Subject: [PATCH 088/118] 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. @@ -118666,10 +118666,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From 2b19d223cdfd540ec596c12ddb24237437c4553c Mon Sep 17 00:00:00 2001 +From f302de7074e873da78f9ee2df75c86bf157a5521 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 089/117] brcm: adds support for BCM43341 wifi +Subject: [PATCH 089/118] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -118832,10 +118832,10 @@ index d0407d9ad7827cd756b6311410ffe2d9a7cacc78..f1fb8a3c7a3211e8429585861f2f42e0 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From 57b61902c0df8821fdb5a218fd3efc08d37bbc1e Mon Sep 17 00:00:00 2001 +From 2ee94ce425179c2d3760ee39ea3482d03638d182 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 090/117] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 090/118] 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. @@ -118858,10 +118858,10 @@ index 0879d64b1caf58afb6e5d494c07d9ab7e7cdf983..5161ab30fd533d50f516bb93d5b9f402 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 0fd0a1087055c392a8dc2e6c1c7371ef6411bcc3 Mon Sep 17 00:00:00 2001 +From ceb9c9d3a20e4cdad47fd4f84511143f69cd3235 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 091/117] config: Add default configs +Subject: [PATCH 091/118] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1297 +++++++++++++++++++++++++++++++++++ @@ -121488,10 +121488,10 @@ index 0000000000000000000000000000000000000000..8acee9f31202ec14f2933d92dd70831c +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 0c29fe95d20dd50ee910b30134775c4bb06b3db8 Mon Sep 17 00:00:00 2001 +From 4790a58452a6c6a8b8fd5d15dc46636f8a27dc0e Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 092/117] Add arm64 configuration and device tree differences. +Subject: [PATCH 092/118] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -122906,10 +122906,10 @@ index 0000000000000000000000000000000000000000..d7406f5a4620151044b8f716b4d10bb8 +CONFIG_LIBCRC32C=y +CONFIG_BCM2708_VCHIQ=n -From ae194771b72f32843cd0b94920e0b36309ca5174 Mon Sep 17 00:00:00 2001 +From afbfe676544fd2a127bab7baa1a11ecf3349569c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 15:05:11 +0000 -Subject: [PATCH 093/117] vchiq_arm: Tweak the logging output +Subject: [PATCH 093/118] vchiq_arm: Tweak the logging output Signed-off-by: Phil Elwell --- @@ -122984,10 +122984,10 @@ index 2c98da4307dff994a00dc246574ef0aaee05d5da..160db24aeea33a8296923501009c1f02 switch (type) { -From 342b9a563f3e7b6f1703f124ada738ff801707a1 Mon Sep 17 00:00:00 2001 +From fc373b8605790ab0f0ebdbb9f057818873a2186e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 14:16:25 +0000 -Subject: [PATCH 094/117] vchiq_arm: Access the dequeue_pending flag locked +Subject: [PATCH 094/118] vchiq_arm: Access the dequeue_pending flag locked Reading through this code looking for another problem (now found in userland) the use of dequeue_pending outside a lock didn't seem safe. @@ -123045,10 +123045,10 @@ index 7b6cd4d80621e38ff6d47fcd87b45fbe9cd4259b..d8669fa7f39b077877eca1829ba9538b return add_completion(instance, reason, header, user_service, -From 9b026ab49d11d8a263f8bb3fc03b8af2229392bb Mon Sep 17 00:00:00 2001 +From 566bfd7cc8e5acde2543833fcd56c848f8e9c46b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 20:53:47 +0000 -Subject: [PATCH 095/117] vchiq_arm: Service callbacks must not fail +Subject: [PATCH 095/118] vchiq_arm: Service callbacks must not fail Service callbacks are not allowed to return an error. The internal callback that delivers events and messages to user tasks does not enqueue them if @@ -123074,10 +123074,10 @@ index d8669fa7f39b077877eca1829ba9538bf2e21a82..54552c6ce54f413c9781ba279b936f98 DEBUG_TRACE(SERVICE_CALLBACK_LINE); } -From d82cf6322c37f25f7df4343682ef6ceb6aa99611 Mon Sep 17 00:00:00 2001 +From 0f1f6312527a32f11e6ee42a8d63d75eba250925 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 21 Apr 2016 13:49:32 +0100 -Subject: [PATCH 096/117] vchiq_arm: Add completion records under the mutex +Subject: [PATCH 096/118] vchiq_arm: Add completion records under the mutex An issue was observed when flushing openmax components which generate a large number of messages returning @@ -123140,10 +123140,10 @@ index 54552c6ce54f413c9781ba279b936f98be4f47b0..bde8955b7d8505d73579b77b5b392154 return VCHIQ_SUCCESS; -From 286253b448c1b3776490a9f558af2a6a6aecab69 Mon Sep 17 00:00:00 2001 +From 89fdf1228ffb4140cc1211cd520adc5f002ec81b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jun 2016 13:51:44 +0100 -Subject: [PATCH 097/117] vchiq_arm: Avoid use of mutex in add_completion +Subject: [PATCH 097/118] vchiq_arm: Avoid use of mutex in add_completion Claiming the completion_mutex within add_completion did prevent some messages appearing twice, but provokes a deadlock caused by vcsm using @@ -123337,10 +123337,10 @@ index 160db24aeea33a8296923501009c1f02bc41e599..71a3bedc55314f3b22dbff40c05dedf0 up(&state->slot_available_event); } -From 729ab91a950906783834bd656b9451865de077b5 Mon Sep 17 00:00:00 2001 +From 8e1a7a0a6eb06e6d0af55aca76849c72a261a8e9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:14:10 -0700 -Subject: [PATCH 098/117] staging/vchi: Convert to current get_user_pages() +Subject: [PATCH 098/118] staging/vchi: Convert to current get_user_pages() arguments. Signed-off-by: Eric Anholt @@ -123377,10 +123377,10 @@ index e5cdda12c7e5c35c69eb96991cfdb8326def167f..085d37588c59198b4e5f00b9249bb842 num_pages, /* len */ 0, /* gup_flags */ -From 8e95d4c5b6ac9841f2674876ba65b5e9f3f5ea6f Mon Sep 17 00:00:00 2001 +From efe65d3f6da0049c9cbb44f69eca21cb9ea50121 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:16:03 -0700 -Subject: [PATCH 099/117] staging/vchi: Update for rename of +Subject: [PATCH 099/118] staging/vchi: Update for rename of page_cache_release() to put_page(). Signed-off-by: Eric Anholt @@ -123425,10 +123425,10 @@ index 085d37588c59198b4e5f00b9249bb8421695854f..5a2b8fb459ebe086ec229f37b6381bdb kfree(pages); } -From ff23b67c23786e575f2633971a6323791b2e3bfb Mon Sep 17 00:00:00 2001 +From dc360754977a1532c5b736f7e71349e06f6f623c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:21:17 -0700 -Subject: [PATCH 100/117] drivers/vchi: Remove dependency on CONFIG_BROKEN. +Subject: [PATCH 100/118] drivers/vchi: Remove dependency on CONFIG_BROKEN. The driver builds now. @@ -123450,10 +123450,10 @@ index 9676fb29075a457109e4d4235f086987aec74868..db8e1beb89f9f8c48ea5964016c8285e help Kernel to VideoCore communication interface for the -From cb4cb8f60d2830afab7182c8b81690a9da8870f5 Mon Sep 17 00:00:00 2001 +From 289c3f75740d07ac8fc64bcaa07ebf91d02d87ea Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 101/117] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 101/118] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -123497,10 +123497,10 @@ index e92278968b2b979db2a1f855f70e7aafb224fa98..09e3d871d110eb0762ebdb5ea3293537 #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From 528843b9eadca74fb149136755278a22eee2aa57 Mon Sep 17 00:00:00 2001 +From 7ab9682505e6ccaa7249f90e8c444c8ea4cdf259 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 102/117] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 102/118] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -123522,10 +123522,10 @@ index 09e3d871d110eb0762ebdb5ea329353738d58661..2859db09e25bb945251e85edb39bc434 enum rpi_firmware_property_status { -From e0757b63d323cca5bf2fb39cd83167e7b813e332 Mon Sep 17 00:00:00 2001 +From b7aa695992e5e42a6be288ea307769b53e294c5d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 103/117] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 103/118] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -124292,10 +124292,10 @@ index 0000000000000000000000000000000000000000..d18a1dae51a2275846c9826b5bf1ba57 + }, +}; -From 45da1a89df1ef188ad03d1cfe04a896ef5be6ec8 Mon Sep 17 00:00:00 2001 +From 409fc2849c293e495a2fd3217c91ec19aa02a14c 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 104/117] i2c: bcm2835: Fix hang for writing messages larger +Subject: [PATCH 104/118] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124385,10 +124385,10 @@ index d4f3239b56865919e1b781b20a7c5ebcd76b4eb9..f283b714aa79e2e4685ed95b04b6b289 i2c_dev->msg_buf_remaining = msg->len; reinit_completion(&i2c_dev->completion); -From a4a279b9a43ef53565982dd5f1e3ee2d72c5ed76 Mon Sep 17 00:00:00 2001 +From 2992b3ee682b67b8098aac4ca2cb244e9fdbdc7c 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 105/117] i2c: bcm2835: Protect against unexpected TXW/RXR +Subject: [PATCH 105/118] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124513,10 +124513,10 @@ index f283b714aa79e2e4685ed95b04b6b289f7e9eee7..d2ba1a4de36af512e8e3c97251bd3537 return -ETIMEDOUT; } -From e5bf50705025b1f31af208376074f40eb5b4cf7e Mon Sep 17 00:00:00 2001 +From eae3435b9be49b5d7fd3b21b5985665ac78e3bfb 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 106/117] i2c: bcm2835: Use dev_dbg logging on transfer errors +Subject: [PATCH 106/118] i2c: bcm2835: Use dev_dbg logging on transfer errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124548,10 +124548,10 @@ index d2ba1a4de36af512e8e3c97251bd3537ae61591a..54d510abd46a117c9238fc6d7edec840 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 61ffed8a93899c6fd821b5c001aa65f8ff37f231 Mon Sep 17 00:00:00 2001 +From d3b13d1fe86b367a2bb34bde541dea378a9bb159 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 107/117] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK +Subject: [PATCH 107/118] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124595,10 +124595,10 @@ index 54d510abd46a117c9238fc6d7edec84019d1f60d..565ef69ce61423544dc0558c85ef318b if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) -From 3851eff26d1e9f214315a10aef3f35bbc6582ab3 Mon Sep 17 00:00:00 2001 +From 8d90227b02b2781f87de0e472990dc5e24eb8d7d 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 108/117] i2c: bcm2835: Add support for Repeated Start +Subject: [PATCH 108/118] i2c: bcm2835: Add support for Repeated Start Condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124780,10 +124780,10 @@ index 565ef69ce61423544dc0558c85ef318b0ae9c324..241e08ae7c27cec23fad3c1bf3ebad3a static u32 bcm2835_i2c_func(struct i2c_adapter *adap) -From f37e2f0d866eefaec803fa34573c6aeddc0f012e Mon Sep 17 00:00:00 2001 +From fa195989cbbf0c5935998064ceca71c1a7c0828a 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 109/117] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT +Subject: [PATCH 109/118] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124820,10 +124820,10 @@ index 241e08ae7c27cec23fad3c1bf3ebad3a4d2a8e6f..d2085dd3742eabebc537621968088261 bcm2835_i2c_writel(i2c_dev, BCM2835_I2C_C, BCM2835_I2C_C_CLEAR); -From 660ec8243ace26fcd01b3cb819ca0781adc58bee Mon Sep 17 00:00:00 2001 +From d51893d40fa09cc45705dd3455767994b063c23e 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 110/117] i2c: bcm2835: Add support for dynamic clock +Subject: [PATCH 110/118] i2c: bcm2835: Add support for dynamic clock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124939,10 +124939,10 @@ index d2085dd3742eabebc537621968088261f8dc7ea8..c3436f627028477f7e21b47e079fd5ab irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); if (!irq) { -From 4557adc6e37b459329e6c7e095ba76a54a5578d3 Mon Sep 17 00:00:00 2001 +From ee509744d81b69d5be41a42ed1604ba36362a832 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 111/117] i2c: bcm2835: Add debug support +Subject: [PATCH 111/118] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -125131,10 +125131,10 @@ index c3436f627028477f7e21b47e079fd5ab06ec188a..8642f580ce41803bd22c76a0fa80d083 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 47a236682198e2cc63e9e5413fe9ec22965e9536 Mon Sep 17 00:00:00 2001 +From 871ba19b271f2b4e5957005e88e0ec1a5100216b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 31 Dec 2016 14:15:50 +0000 -Subject: [PATCH 112/117] arm64: Add CONFIG_ARCH_BCM2835 +Subject: [PATCH 112/118] arm64: Add CONFIG_ARCH_BCM2835 --- arch/arm64/configs/bcmrpi3_defconfig | 1 + @@ -125150,10 +125150,10 @@ index d7406f5a4620151044b8f716b4d10bb818648e06..53da5c7a33e5898a66e549fb0c39fe3d CONFIG_BCM2708_VCHIQ=n +CONFIG_ARCH_BCM2835=y -From d832d4e53ace76069c5a4e0a9cf32fc5eaf575f6 Mon Sep 17 00:00:00 2001 +From c9f095b015beaa2b8926dc16a692d946367c0223 Mon Sep 17 00:00:00 2001 From: Alex Tucker Date: Tue, 13 Dec 2016 19:50:18 +0000 -Subject: [PATCH 113/117] Add support for Silicon Labs Si7013/20/21 +Subject: [PATCH 113/118] Add support for Silicon Labs Si7013/20/21 humidity/temperature sensor. --- @@ -125228,10 +125228,10 @@ index f6d134c095af2398fc55ae7d2b0e86456c30627c..31bda8da4cb6a56bfe493a81b9189009 }; }; -From c95baff548c5efbe601f935a0c4c302df0ceecfb Mon Sep 17 00:00:00 2001 +From 988ff6b453f319ec4bdd13160cd9c95c4347a703 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Jan 2017 21:27:46 +0000 -Subject: [PATCH 114/117] Document the si7020 option +Subject: [PATCH 114/118] Document the si7020 option --- arch/arm/boot/dts/overlays/README | 3 +++ @@ -125252,10 +125252,10 @@ index 81d991803be335e5a1bc3bb0a8c7a2c9f5c392bd..e8fa4ccb44c34a20485c4e6155467af9 Name: i2c0-bcm2708 Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations -From b94e1c01d2e98839f2825f987b514cd3921cd9ec Mon Sep 17 00:00:00 2001 +From 1b0c1c6ce71d6076ec100bf1dbb3b5e87f64556b Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Thu, 5 Jan 2017 02:38:16 +0200 -Subject: [PATCH 115/117] pisound improvements: +Subject: [PATCH 115/118] pisound improvements: * Added a writable sysfs object to enable scripts / user space software to blink MIDI activity LEDs for variable duration. @@ -125549,10 +125549,10 @@ index 4b8545487d06e4ea70073a5d063fb2310b3b94d0..ba70734b89e61a11201657406223f0b3 }; -From 19e02d36f5d71758ca17c359aae7b8f544ff2285 Mon Sep 17 00:00:00 2001 +From fcd5ab41bc1ff092661afd914247c667c45529ea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jan 2017 09:23:06 +0000 -Subject: [PATCH 116/117] Revert "Revert "Added driver for HiFiBerry Amp +Subject: [PATCH 116/118] Revert "Revert "Added driver for HiFiBerry Amp amplifier add-on board"" This reverts commit bf84babd8fffcb79c60f1342c2416f8e1e4b7af9. @@ -126376,10 +126376,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 4ce1d9a41af6bd692c2386db82458617906463d6 Mon Sep 17 00:00:00 2001 +From 85a791fa81082ce933ba66d0f63494486e50ca4d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jan 2017 09:42:09 +0000 -Subject: [PATCH 117/117] hifiberry-amp: Adjust for ALSA object refactoring +Subject: [PATCH 117/118] hifiberry-amp: Adjust for ALSA object refactoring See: https://github.com/raspberrypi/linux/issues/1775 --- @@ -126403,3 +126403,96 @@ index 9b2713861dcbed751842ca29c88eb1eae5867411..560234d58a6b0a6e7fd3a63e8de73339 }; + +From 02fd5648e60335c1408847b73bf43dce7c868ac9 Mon Sep 17 00:00:00 2001 +From: Giedrius Trainavicius +Date: Sun, 8 Jan 2017 15:58:54 +0200 +Subject: [PATCH 118/118] bcm2835-i2s: Changes for allowing asymmetric sample + formats. + +This is achieved by making changes only to the requested +stream direction format, keeping the other stream direction +configuration intact. + +Signed-off-by: Giedrius Trainavicius +--- + sound/soc/bcm/bcm2835-i2s.c | 54 +++++++++++++++++++++++++++++++-------------- + 1 file changed, 38 insertions(+), 16 deletions(-) + +diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c +index 6ba20498202ed36906b52096893a88867a79269f..171c2401dfe192740fca3356268aff6432f284ea 100644 +--- a/sound/soc/bcm/bcm2835-i2s.c ++++ b/sound/soc/bcm/bcm2835-i2s.c +@@ -237,7 +237,9 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, + unsigned int sampling_rate = params_rate(params); + unsigned int data_length, data_delay, bclk_ratio; + unsigned int ch1pos, ch2pos, mode, format; ++ unsigned int previous_ftxp, previous_frxp; + uint32_t csreg; ++ bool packed; + + /* + * If a stream is already enabled, +@@ -320,26 +322,46 @@ static int bcm2835_i2s_hw_params(struct snd_pcm_substream *substream, + return -EINVAL; + } + +- /* +- * Set format for both streams. +- * We cannot set another frame length +- * (and therefore word length) anyway, +- * so the format will be the same. +- */ +- regmap_write(dev->i2s_regmap, BCM2835_I2S_RXC_A_REG, format); +- regmap_write(dev->i2s_regmap, BCM2835_I2S_TXC_A_REG, format); ++ /* Set the format for the matching stream direction. */ ++ switch (substream->stream) { ++ case SNDRV_PCM_STREAM_PLAYBACK: ++ regmap_write(dev->i2s_regmap, BCM2835_I2S_TXC_A_REG, format); ++ break; ++ case SNDRV_PCM_STREAM_CAPTURE: ++ regmap_write(dev->i2s_regmap, BCM2835_I2S_RXC_A_REG, format); ++ break; ++ default: ++ return -EINVAL; ++ } + + /* Setup the I2S mode */ ++ /* Keep existing FTXP and FRXP values. */ ++ regmap_read(dev->i2s_regmap, BCM2835_I2S_MODE_A_REG, &mode); ++ ++ previous_ftxp = mode & BCM2835_I2S_FTXP; ++ previous_frxp = mode & BCM2835_I2S_FRXP; ++ + mode = 0; + +- if (data_length <= 16) { +- /* +- * Use frame packed mode (2 channels per 32 bit word) +- * We cannot set another frame length in the second stream +- * (and therefore word length) anyway, +- * so the format will be the same. +- */ +- mode |= BCM2835_I2S_FTXP | BCM2835_I2S_FRXP; ++ /* ++ * Retain the frame packed mode (2 channels per 32 bit word) ++ * of the other direction stream intact. The formats of each ++ * direction can be different as long as the frame length is ++ * shared for both. ++ */ ++ packed = data_length <= 16; ++ ++ switch (substream->stream) { ++ case SNDRV_PCM_STREAM_PLAYBACK: ++ mode |= previous_frxp; ++ mode |= packed ? BCM2835_I2S_FTXP : 0; ++ break; ++ case SNDRV_PCM_STREAM_CAPTURE: ++ mode |= previous_ftxp; ++ mode |= packed ? BCM2835_I2S_FRXP : 0; ++ break; ++ default: ++ return -EINVAL; + } + + mode |= BCM2835_I2S_FLEN(bclk_ratio - 1);