diff --git a/.raspberrypi2.metadata b/.raspberrypi2.metadata index 316278a..050401e 100644 --- a/.raspberrypi2.metadata +++ b/.raspberrypi2.metadata @@ -1,3 +1,3 @@ be0b909f1fbb760cc2d5cf146e1da3b2af0cf899 SOURCES/linux-5.10.tar.xz -21258cd15b5b6090295f9dad236bfb978285cc0c SOURCES/c8c985aed7b849deefc77236d9fc550ee7bec15d.tar.gz -c8fe26a015d1f4715f41813bbdd41d2d2ee1e34f SOURCES/patch-5.10.78.xz +27689d07c634b70b5e06db9e9379dda42cd5945a SOURCES/577aef2bc2f8e9dcd6955a85cf0621cc73b29db7.tar.gz +bb4b965d1d8ccb8c38216b9717d7508394f84b3f SOURCES/patch-5.10.100.xz diff --git a/SOURCES/rpi-5.10.x.patch b/SOURCES/rpi-5.10.x.patch index 63efc99..9226b6f 100644 --- a/SOURCES/rpi-5.10.x.patch +++ b/SOURCES/rpi-5.10.x.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Thu, 21 Sep 2017 09:55:42 -0500 -Subject: [PATCH 001/941] arm: partially revert +Subject: [PATCH 0001/1074] arm: partially revert 702b94bff3c50542a6e4ab9a4f4cef093262fe65 * Re-expose some dmi APIs for use in VCSM @@ -112,8 +112,8 @@ index e21249548e9f..33e4a9b8f1ba 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 29 Oct 2018 14:45:45 +0000 -Subject: [PATCH 002/941] Revert "rtc: pcf8523: properly handle oscillator stop - bit" +Subject: [PATCH 0002/1074] Revert "rtc: pcf8523: properly handle oscillator + stop bit" This reverts commit ede44c908d44b166a5b6bd7caacd105c2ff5a70f. @@ -174,7 +174,7 @@ index 57d351dfe272..0aa1e8f9ee75 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 15 Mar 2019 21:11:10 +0000 -Subject: [PATCH 003/941] Revert "staging: bcm2835-audio: Drop DT dependency" +Subject: [PATCH 0003/1074] Revert "staging: bcm2835-audio: Drop DT dependency" This reverts commit b7491a9fca2dc2535b9dc922550a37c5baae9d3d. --- @@ -276,7 +276,7 @@ index c250fbef2fa3..b42917c25050 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Apr 2020 13:41:10 +0100 -Subject: [PATCH 004/941] Revert "spi: spidev: Fix CS polarity if GPIO +Subject: [PATCH 0004/1074] Revert "spi: spidev: Fix CS polarity if GPIO descriptors are used" This reverts commit 83b2a8fe43bda0c11981ad6afa5dd0104d78be28. @@ -314,7 +314,7 @@ index 859910ec8d9f..225577709c03 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Nov 2020 11:49:53 +0000 -Subject: [PATCH 005/941] Revert "mailbox: avoid timer start from callback" +Subject: [PATCH 0005/1074] Revert "mailbox: avoid timer start from callback" This reverts commit c7dacf5b0f32957b24ef29df1207dc2cd8307743. @@ -378,7 +378,7 @@ index 3e7d4b20ab34..0b821a5b2db8 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 1 Mar 2021 09:12:44 +0000 -Subject: [PATCH 006/941] Revert "Bluetooth: Always request for user +Subject: [PATCH 0006/1074] Revert "Bluetooth: Always request for user confirmation for Just Works (LE SC)" This reverts commit ffee202a78c2980688bc5d2f7d56480e69a5e0c9. @@ -429,7 +429,7 @@ index 2b7879afc333..36ac2db5340c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 1 Mar 2021 09:14:35 +0000 -Subject: [PATCH 007/941] Revert "Bluetooth: Always request for user +Subject: [PATCH 0007/1074] Revert "Bluetooth: Always request for user confirmation for Just Works" This reverts commit 92516cd97fd4d8ad5b1421a0d51771044f453a5f. @@ -478,7 +478,7 @@ index 36ac2db5340c..7c3be6b3d454 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 008/941] smsx95xx: fix crimes against truesize +Subject: [PATCH 0008/1074] 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. @@ -531,7 +531,7 @@ index 465e11dcdf12..1501859a3d15 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 009/941] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 0009/1074] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -580,7 +580,7 @@ index 1501859a3d15..b51571e38832 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 010/941] Allow mac address to be set in smsc95xx +Subject: [PATCH 0010/1074] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -682,8 +682,8 @@ index b51571e38832..2c7c91b4d418 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 011/941] Protect __release_resource against resources without - parents +Subject: [PATCH 0011/1074] Protect __release_resource against resources + without parents Without this patch, removing a device tree overlay can crash here. @@ -716,7 +716,7 @@ index 817545ff80b9..375a43d99b28 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:33:30 +0000 -Subject: [PATCH 012/941] irq-bcm2836: Avoid "Invalid trigger warning" +Subject: [PATCH 0012/1074] irq-bcm2836: Avoid "Invalid trigger warning" Initialise the level for each IRQ to avoid a warning from the arm arch timer code. @@ -746,7 +746,7 @@ index cbc7c740e4dc..f4247c257581 100644 From 0000000000000000000000000000000000000000 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 013/941] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 0013/1074] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -881,7 +881,7 @@ index a1e004af23e7..50a03f8c9c57 100644 From 0000000000000000000000000000000000000000 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 014/941] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 0014/1074] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -986,7 +986,7 @@ index 50a03f8c9c57..b3219aa763a6 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 015/941] spi: spidev: Completely disable the spidev warning +Subject: [PATCH 0015/1074] spi: spidev: Completely disable the spidev warning An alternative strategy would be to use "rpi,spidev" instead, but that would require many Raspberry Pi Device Tree changes. @@ -1016,7 +1016,7 @@ index 225577709c03..a262479f0a92 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 016/941] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 0016/1074] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1125,7 +1125,7 @@ index 630dfbb01a40..bf7ba96a39f9 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 017/941] firmware: Updated mailbox header +Subject: [PATCH 0017/1074] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 3 +++ @@ -1158,7 +1158,7 @@ index fdfef7fe40df..900268868196 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 018/941] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 0018/1074] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1184,7 +1184,7 @@ index c3691fa4210e..ead1fd376d2d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 16:50:59 +0200 -Subject: [PATCH 019/941] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 0019/1074] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1292,8 +1292,8 @@ index dec6ca019bea..62937e6f83ca 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 020/941] reboot: Use power off rather than busy spinning when - halt is requested +Subject: [PATCH 0020/1074] reboot: Use power off rather than busy spinning + when halt is requested --- arch/arm/kernel/reboot.c | 4 +--- @@ -1321,7 +1321,7 @@ index 0ce388f15422..63373adab475 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 021/941] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 0021/1074] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1346,8 +1346,8 @@ index 24f92a6e882a..a6a705ec30c7 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 022/941] Register the clocks early during the boot process, so - that special/critical clocks can get enabled early on in the boot process +Subject: [PATCH 0022/1074] 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. @@ -1357,10 +1357,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 1ac803e14fa3..2482458795c2 100644 +index 178886823b90..e037d51a4b35 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -2295,8 +2295,15 @@ static int bcm2835_clk_probe(struct platform_device *pdev) +@@ -2290,8 +2290,15 @@ static int bcm2835_clk_probe(struct platform_device *pdev) if (ret) return ret; @@ -1377,7 +1377,7 @@ index 1ac803e14fa3..2482458795c2 100644 } static const struct cprman_plat_data cprman_bcm2835_plat_data = { -@@ -2322,7 +2329,11 @@ static struct platform_driver bcm2835_clk_driver = { +@@ -2317,7 +2324,11 @@ static struct platform_driver bcm2835_clk_driver = { .probe = bcm2835_clk_probe, }; @@ -1397,7 +1397,7 @@ index 1ac803e14fa3..2482458795c2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 023/941] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 0023/1074] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1428,7 +1428,7 @@ index 1a7c43b43c6b..ee47667d0710 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 024/941] clk-bcm2835: Mark used PLLs and dividers CRITICAL +Subject: [PATCH 0024/1074] clk-bcm2835: Mark used PLLs and dividers CRITICAL The VPU configures and relies on several PLLs and dividers. Mark all enabled dividers and their PLLs as CRITICAL to prevent the kernel from @@ -1440,10 +1440,10 @@ Signed-off-by: Phil Elwell 1 file changed, 5 insertions(+) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 2482458795c2..0f716cb070a7 100644 +index e037d51a4b35..d5eb8fabc7d0 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1384,6 +1384,11 @@ bcm2835_register_pll_divider(struct bcm2835_cprman *cprman, +@@ -1379,6 +1379,11 @@ bcm2835_register_pll_divider(struct bcm2835_cprman *cprman, divider->div.hw.init = &init; divider->div.table = NULL; @@ -1462,7 +1462,7 @@ index 2482458795c2..0f716cb070a7 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Feb 2017 17:20:08 +0000 -Subject: [PATCH 025/941] clk-bcm2835: Add claim-clocks property +Subject: [PATCH 0025/1074] clk-bcm2835: Add claim-clocks property The claim-clocks property can be used to prevent PLLs and dividers from being marked as critical. It contains a vector of clock IDs, @@ -1477,10 +1477,10 @@ Signed-off-by: Phil Elwell 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 0f716cb070a7..50f018fbb562 100644 +index d5eb8fabc7d0..c3071057fd00 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1312,6 +1312,8 @@ static const struct clk_ops bcm2835_vpu_clock_clk_ops = { +@@ -1307,6 +1307,8 @@ static const struct clk_ops bcm2835_vpu_clock_clk_ops = { .debug_init = bcm2835_clock_debug_init, }; @@ -1489,7 +1489,7 @@ index 0f716cb070a7..50f018fbb562 100644 static struct clk_hw *bcm2835_register_pll(struct bcm2835_cprman *cprman, const void *data) { -@@ -1329,6 +1331,9 @@ static struct clk_hw *bcm2835_register_pll(struct bcm2835_cprman *cprman, +@@ -1324,6 +1326,9 @@ static struct clk_hw *bcm2835_register_pll(struct bcm2835_cprman *cprman, init.ops = &bcm2835_pll_clk_ops; init.flags = pll_data->flags | CLK_IGNORE_UNUSED; @@ -1499,7 +1499,7 @@ index 0f716cb070a7..50f018fbb562 100644 pll = kzalloc(sizeof(*pll), GFP_KERNEL); if (!pll) return NULL; -@@ -1384,9 +1389,11 @@ bcm2835_register_pll_divider(struct bcm2835_cprman *cprman, +@@ -1379,9 +1384,11 @@ bcm2835_register_pll_divider(struct bcm2835_cprman *cprman, divider->div.hw.init = &init; divider->div.table = NULL; @@ -1514,7 +1514,7 @@ index 0f716cb070a7..50f018fbb562 100644 } divider->cprman = cprman; -@@ -1442,6 +1449,15 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, +@@ -1437,6 +1444,15 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, init.name = clock_data->name; init.flags = clock_data->flags | CLK_IGNORE_UNUSED; @@ -1530,7 +1530,7 @@ index 0f716cb070a7..50f018fbb562 100644 /* * Pass the CLK_SET_RATE_PARENT flag if we are allowed to propagate * rate changes on at least of the parents. -@@ -2221,6 +2237,8 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { +@@ -2216,6 +2232,8 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { .ctl_reg = CM_PERIICTL), }; @@ -1539,7 +1539,7 @@ index 0f716cb070a7..50f018fbb562 100644 /* * Permanently take a reference on the parent of the SDRAM clock. * -@@ -2240,6 +2258,19 @@ static int bcm2835_mark_sdc_parent_critical(struct clk *sdc) +@@ -2235,6 +2253,19 @@ static int bcm2835_mark_sdc_parent_critical(struct clk *sdc) return clk_prepare_enable(parent); } @@ -1559,7 +1559,7 @@ index 0f716cb070a7..50f018fbb562 100644 static int bcm2835_clk_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; -@@ -2249,6 +2280,7 @@ static int bcm2835_clk_probe(struct platform_device *pdev) +@@ -2244,6 +2275,7 @@ static int bcm2835_clk_probe(struct platform_device *pdev) const size_t asize = ARRAY_SIZE(clk_desc_array); const struct cprman_plat_data *pdata; size_t i; @@ -1567,7 +1567,7 @@ index 0f716cb070a7..50f018fbb562 100644 int ret; pdata = of_device_get_match_data(&pdev->dev); -@@ -2267,6 +2299,13 @@ static int bcm2835_clk_probe(struct platform_device *pdev) +@@ -2262,6 +2294,13 @@ static int bcm2835_clk_probe(struct platform_device *pdev) if (IS_ERR(cprman->regs)) return PTR_ERR(cprman->regs); @@ -1588,7 +1588,7 @@ index 0f716cb070a7..50f018fbb562 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Mar 2017 09:06:18 +0000 -Subject: [PATCH 026/941] clk-bcm2835: Read max core clock from firmware +Subject: [PATCH 0026/1074] clk-bcm2835: Read max core clock from firmware The VPU is responsible for managing the core clock, usually under direction from the bcm2835-cpufreq driver but not via the clk-bcm2835 @@ -1611,7 +1611,7 @@ Signed-off-by: Phil Elwell 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 50f018fbb562..f1ef788c1194 100644 +index c3071057fd00..cf74711157e7 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c @@ -35,6 +35,7 @@ @@ -1639,7 +1639,7 @@ index 50f018fbb562..f1ef788c1194 100644 spinlock_t regs_lock; /* spinlock for all clocks */ unsigned int soc; -@@ -1016,6 +1020,30 @@ static unsigned long bcm2835_clock_get_rate(struct clk_hw *hw, +@@ -1011,6 +1015,30 @@ static unsigned long bcm2835_clock_get_rate(struct clk_hw *hw, return bcm2835_clock_rate_from_divisor(clock, parent_rate, div); } @@ -1670,7 +1670,7 @@ index 50f018fbb562..f1ef788c1194 100644 static void bcm2835_clock_wait_busy(struct bcm2835_clock *clock) { struct bcm2835_cprman *cprman = clock->cprman; -@@ -1304,7 +1332,7 @@ static int bcm2835_vpu_clock_is_on(struct clk_hw *hw) +@@ -1299,7 +1327,7 @@ static int bcm2835_vpu_clock_is_on(struct clk_hw *hw) */ static const struct clk_ops bcm2835_vpu_clock_clk_ops = { .is_prepared = bcm2835_vpu_clock_is_on, @@ -1679,7 +1679,7 @@ index 50f018fbb562..f1ef788c1194 100644 .set_rate = bcm2835_clock_set_rate, .determine_rate = bcm2835_clock_determine_rate, .set_parent = bcm2835_clock_set_parent, -@@ -2279,6 +2307,7 @@ static int bcm2835_clk_probe(struct platform_device *pdev) +@@ -2274,6 +2302,7 @@ static int bcm2835_clk_probe(struct platform_device *pdev) const struct bcm2835_clk_desc *desc; const size_t asize = ARRAY_SIZE(clk_desc_array); const struct cprman_plat_data *pdata; @@ -1687,7 +1687,7 @@ index 50f018fbb562..f1ef788c1194 100644 size_t i; u32 clk_id; int ret; -@@ -2299,6 +2328,14 @@ static int bcm2835_clk_probe(struct platform_device *pdev) +@@ -2294,6 +2323,14 @@ static int bcm2835_clk_probe(struct platform_device *pdev) if (IS_ERR(cprman->regs)) return PTR_ERR(cprman->regs); @@ -1709,7 +1709,7 @@ index 50f018fbb562..f1ef788c1194 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 9 Feb 2017 14:36:44 +0000 -Subject: [PATCH 027/941] sound: Demote deferral errors to INFO level +Subject: [PATCH 0027/1074] sound: Demote deferral errors to INFO level At present there is no mechanism to specify driver load order, which can lead to deferrals and repeated retries until successful. @@ -1722,7 +1722,7 @@ Signed-off-by: Phil Elwell 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c -index e677422c1058..880ae162eaa5 100644 +index 133296596864..63e07d283b6f 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1016,7 +1016,7 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card, @@ -1750,7 +1750,7 @@ index e677422c1058..880ae162eaa5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Claggy3 Date: Sat, 11 Feb 2017 14:00:30 +0000 -Subject: [PATCH 028/941] Update vfpmodule.c +Subject: [PATCH 0028/1074] Update vfpmodule.c Christopher Alexander Tobias Schulze - May 2, 2015, 11:57 a.m. This patch fixes a problem with VFP state save and restore related @@ -1893,7 +1893,7 @@ index 2cb355c1b5b7..1e2dcf81aefa 100644 From 0000000000000000000000000000000000000000 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 029/941] i2c: bcm2835: Add debug support +Subject: [PATCH 0029/1074] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2088,7 +2088,7 @@ index 37443edbf754..18b2e9e3d752 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 030/941] mm: Remove the PFN busy warning +Subject: [PATCH 0030/1074] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -2100,10 +2100,10 @@ Signed-off-by: Eric Anholt 1 file changed, 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index e8e0f1cec8b0..299688722120 100644 +index c63656c42e28..8446d59c6304 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -8594,8 +8594,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, +@@ -8596,8 +8596,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, /* Make sure the range is really isolated. */ if (test_pages_isolated(outer_start, end, 0)) { @@ -2119,7 +2119,7 @@ index e8e0f1cec8b0..299688722120 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Jan 2018 16:52:45 +0000 -Subject: [PATCH 031/941] irqchip: irq-bcm2836: Remove regmap and syscon use +Subject: [PATCH 0031/1074] irqchip: irq-bcm2836: Remove regmap and syscon use The syscon node defines a register range that duplicates that used by the local_intc node on bcm2836/7. Since irq-bcm2835 and irq-bcm2836 are @@ -2239,7 +2239,7 @@ index f4247c257581..2187672e5be3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Oct 2017 15:04:29 +0100 -Subject: [PATCH 032/941] lan78xx: Enable LEDs and auto-negotiation +Subject: [PATCH 0032/1074] lan78xx: Enable LEDs and auto-negotiation For applications of the LAN78xx that don't have valid programmed EEPROMs or OTPs, enabling both LEDs and auto-negotiation by default @@ -2251,10 +2251,10 @@ Signed-off-by: Phil Elwell 1 file changed, 11 insertions(+) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c -index a4f9912b3636..65b9ff30edcb 100644 +index 6f7b70522d92..1acbefbb679e 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c -@@ -2461,6 +2461,11 @@ static int lan78xx_reset(struct lan78xx_net *dev) +@@ -2463,6 +2463,11 @@ static int lan78xx_reset(struct lan78xx_net *dev) int ret = 0; unsigned long timeout; u8 sig; @@ -2266,7 +2266,7 @@ index a4f9912b3636..65b9ff30edcb 100644 ret = lan78xx_read_reg(dev, HW_CFG, &buf); buf |= HW_CFG_LRST_; -@@ -2514,6 +2519,9 @@ static int lan78xx_reset(struct lan78xx_net *dev) +@@ -2516,6 +2521,9 @@ static int lan78xx_reset(struct lan78xx_net *dev) ret = lan78xx_read_reg(dev, HW_CFG, &buf); buf |= HW_CFG_MEF_; @@ -2276,7 +2276,7 @@ index a4f9912b3636..65b9ff30edcb 100644 ret = lan78xx_write_reg(dev, HW_CFG, buf); ret = lan78xx_read_reg(dev, USB_CFG0, &buf); -@@ -2569,6 +2577,9 @@ static int lan78xx_reset(struct lan78xx_net *dev) +@@ -2571,6 +2579,9 @@ static int lan78xx_reset(struct lan78xx_net *dev) buf |= MAC_CR_AUTO_DUPLEX_ | MAC_CR_AUTO_SPEED_; } } @@ -2293,7 +2293,7 @@ index a4f9912b3636..65b9ff30edcb 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 033/941] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 0033/1074] 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 @@ -2305,10 +2305,10 @@ use the same logic. 1 file changed, 5 insertions(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index 87dc3fc15694..fe48193de094 100644 +index 61183e7ff009..aa9d06da0641 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c -@@ -2599,7 +2599,12 @@ static int pl011_setup_port(struct device *dev, struct uart_amba_port *uap, +@@ -2578,7 +2578,12 @@ static int pl011_setup_port(struct device *dev, struct uart_amba_port *uap, if (IS_ERR(base)) return PTR_ERR(base); @@ -2328,7 +2328,7 @@ index 87dc3fc15694..fe48193de094 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Mar 2017 16:07:39 +0000 -Subject: [PATCH 034/941] amba_pl011: Round input clock up +Subject: [PATCH 0034/1074] amba_pl011: Round input clock up The UART clock is initialised to be as close to the requested frequency as possible without exceeding it. Now that there is a @@ -2352,7 +2352,7 @@ Signed-off-by: Phil Elwell 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index fe48193de094..339ecce1ad0d 100644 +index aa9d06da0641..68c1bb079b1a 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -1642,6 +1642,23 @@ static void pl011_put_poll_char(struct uart_port *port, @@ -2388,7 +2388,7 @@ index fe48193de094..339ecce1ad0d 100644 /* Clear pending error and receive interrupts */ pl011_write(UART011_OEIS | UART011_BEIS | UART011_PEIS | -@@ -2313,7 +2330,7 @@ static int pl011_console_setup(struct console *co, char *options) +@@ -2292,7 +2309,7 @@ static int pl011_console_setup(struct console *co, char *options) plat->init(); } @@ -2397,7 +2397,7 @@ index fe48193de094..339ecce1ad0d 100644 if (uap->vendor->fixed_options) { baud = uap->fixed_baud; -@@ -2530,6 +2547,7 @@ static struct uart_driver amba_reg = { +@@ -2509,6 +2526,7 @@ static struct uart_driver amba_reg = { .cons = AMBA_CONSOLE, }; @@ -2405,7 +2405,7 @@ index fe48193de094..339ecce1ad0d 100644 static int pl011_probe_dt_alias(int index, struct device *dev) { struct device_node *np; -@@ -2561,6 +2579,7 @@ static int pl011_probe_dt_alias(int index, struct device *dev) +@@ -2540,6 +2558,7 @@ static int pl011_probe_dt_alias(int index, struct device *dev) return ret; } @@ -2420,7 +2420,7 @@ index fe48193de094..339ecce1ad0d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 035/941] amba_pl011: Insert mb() for correct FIFO handling +Subject: [PATCH 0035/1074] amba_pl011: Insert mb() for correct FIFO handling The pl011 register accessor functions use the _relaxed versions of the standard readl() and writel() functions, meaning that there are no @@ -2435,7 +2435,7 @@ Signed-off-by: Phil Elwell 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index 339ecce1ad0d..afb0175bf592 100644 +index 68c1bb079b1a..e4f2baef409d 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -1377,6 +1377,7 @@ static bool pl011_tx_char(struct uart_amba_port *uap, unsigned char c, @@ -2453,7 +2453,7 @@ index 339ecce1ad0d..afb0175bf592 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 29 Sep 2017 10:32:19 +0100 -Subject: [PATCH 036/941] amba_pl011: Add cts-event-workaround DT property +Subject: [PATCH 0036/1074] amba_pl011: Add cts-event-workaround DT property The BCM2835 PL011 implementation seems to have a bug that can lead to a transmission lockup if CTS changes frequently. A workaround was added to @@ -2489,10 +2489,10 @@ index c23c93b400f0..5e1d6483b2a9 100644 - compatible - reg diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index afb0175bf592..17ef9c2a4d72 100644 +index e4f2baef409d..6368466050d6 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c -@@ -2686,6 +2686,11 @@ static int pl011_probe(struct amba_device *dev, const struct amba_id *id) +@@ -2665,6 +2665,11 @@ static int pl011_probe(struct amba_device *dev, const struct amba_id *id) if (IS_ERR(uap->clk)) return PTR_ERR(uap->clk); @@ -2511,7 +2511,7 @@ index afb0175bf592..17ef9c2a4d72 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 11 Jul 2019 13:13:39 +0100 -Subject: [PATCH 037/941] tty: amba-pl011: Make TX optimisation conditional +Subject: [PATCH 0037/1074] tty: amba-pl011: Make TX optimisation conditional pl011_tx_chars takes a "from_irq" parameter to reduce the number of register accesses. When from_irq is true the function assumes that the @@ -2543,7 +2543,7 @@ Signed-off-by: Phil Elwell 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index 17ef9c2a4d72..8b1f8167c85d 100644 +index 6368466050d6..111f32d31d0e 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -265,6 +265,7 @@ struct uart_amba_port { @@ -2602,7 +2602,7 @@ index 17ef9c2a4d72..8b1f8167c85d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 24 Jan 2020 11:38:28 +0000 -Subject: [PATCH 038/941] tty: amba-pl011: Add un/throttle support +Subject: [PATCH 0038/1074] tty: amba-pl011: Add un/throttle support The PL011 driver lacks throttle and unthrottle methods. As a result, sending more data to the Pi than it can immediately sink while CRTSCTS @@ -2617,7 +2617,7 @@ Signed-off-by: Phil Elwell 1 file changed, 28 insertions(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index 8b1f8167c85d..9df9bc8f9dfd 100644 +index 111f32d31d0e..7575beb2c4e9 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -1317,6 +1317,32 @@ static void pl011_start_tx(struct uart_port *port) @@ -2653,7 +2653,7 @@ index 8b1f8167c85d..9df9bc8f9dfd 100644 static void pl011_stop_rx(struct uart_port *port) { struct uart_amba_port *uap = -@@ -2156,6 +2182,8 @@ static const struct uart_ops amba_pl011_pops = { +@@ -2139,6 +2165,8 @@ static const struct uart_ops amba_pl011_pops = { .stop_tx = pl011_stop_tx, .start_tx = pl011_start_tx, .stop_rx = pl011_stop_rx, @@ -2669,7 +2669,7 @@ index 8b1f8167c85d..9df9bc8f9dfd 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 Jan 2020 09:35:19 +0000 -Subject: [PATCH 039/941] tty: amba-pl011: Avoid rare write-when-full error +Subject: [PATCH 0039/1074] tty: amba-pl011: Avoid rare write-when-full error Under some circumstances on BCM283x processors data loss can be observed - a single byte missing from the TX output stream. These bytes @@ -2696,7 +2696,7 @@ Signed-off-by: Phil Elwell 1 file changed, 4 insertions(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index 9df9bc8f9dfd..760301512509 100644 +index 7575beb2c4e9..8e451958288b 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -1438,6 +1438,10 @@ static bool pl011_tx_chars(struct uart_amba_port *uap, bool from_irq) @@ -2717,7 +2717,7 @@ index 9df9bc8f9dfd..760301512509 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 040/941] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 0040/1074] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -2726,7 +2726,7 @@ Signed-off-by: Noralf Tronnes 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c -index 1d21129f7751..bbf761c41dc5 100644 +index 6768b2f03d68..0d1fb1a9d2db 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c @@ -362,7 +362,7 @@ static const struct gpio_chip bcm2835_gpio_chip = { @@ -2745,7 +2745,7 @@ index 1d21129f7751..bbf761c41dc5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 041/941] Main bcm2708/bcm2709 linux port +Subject: [PATCH 0041/1074] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -2907,7 +2907,7 @@ index 39761d190545..9766d8b50778 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 042/941] Add dwc_otg driver +Subject: [PATCH 0042/1074] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -4036,10 +4036,10 @@ index 26f9fb9f67ca..fe8c7a85e141 100644 return i; } diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c -index 95a9bae72f13..54a53e225625 100644 +index 18ee3914b468..6ab15e05a6f9 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c -@@ -5494,7 +5494,7 @@ static void port_event(struct usb_hub *hub, int port1) +@@ -5506,7 +5506,7 @@ static void port_event(struct usb_hub *hub, int port1) port_dev->over_current_count++; port_over_current_notify(port_dev); @@ -64730,7 +64730,7 @@ index 000000000000..cdc9963176e5 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 043/941] bcm2708 framebuffer driver +Subject: [PATCH 0043/1074] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68304,8 +68304,8 @@ index 900268868196..df2ba29b4ae0 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Thu, 14 Mar 2019 13:27:54 +0000 -Subject: [PATCH 044/941] Pulled in the multi frame buffer support from the Pi3 - repo +Subject: [PATCH 0044/1074] Pulled in the multi frame buffer support from the + Pi3 repo --- drivers/video/fbdev/bcm2708_fb.c | 457 +++++++++++++++------ @@ -69139,7 +69139,7 @@ index df2ba29b4ae0..bc3829dfcc33 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 045/941] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 0045/1074] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -69486,7 +69486,7 @@ index 4c14e8be7267..3c6f12b76214 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 046/941] Speed up console framebuffer imageblit function +Subject: [PATCH 0046/1074] 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 @@ -69701,7 +69701,7 @@ index a2bb276a8b24..436494fba15a 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 047/941] dmaengine: Add support for BCM2708 +Subject: [PATCH 0047/1074] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -70355,7 +70355,7 @@ index 000000000000..6ca874d332a8 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 048/941] MMC: added alternative MMC driver +Subject: [PATCH 0048/1074] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -70621,7 +70621,7 @@ index 94caee49da99..da599f075bc2 100644 if (mmc_blk_alloc_parts(card, md)) goto out; diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c -index b5f3f160c842..c73368d5d6b2 100644 +index eb82f6aac951..6870e8bbd2ec 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -1874,7 +1874,8 @@ EXPORT_SYMBOL(mmc_erase); @@ -70654,7 +70654,7 @@ index d68e6e513a4f..e41bc00ece42 100644 }; diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig -index 31481c9fcc2e..96a5b01d2b27 100644 +index 30ff42fd173e..2afa23cc10bc 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -5,6 +5,35 @@ @@ -72307,7 +72307,7 @@ index 42df06c6b19c..e7f45a2b0c72 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 049/941] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 0049/1074] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -72558,7 +72558,7 @@ Signed-off-by: Phil Elwell create mode 100644 drivers/mmc/host/bcm2835-sdhost.c diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig -index 96a5b01d2b27..49f56beb5fde 100644 +index 2afa23cc10bc..c077890df8ab 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -34,6 +34,16 @@ config MMC_BCM2835_PIO_DMA_BARRIER @@ -74799,7 +74799,7 @@ index 000000000000..7caba5e12f79 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 050/941] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 0050/1074] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -75303,7 +75303,8 @@ index 000000000000..3c7079237496 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 051/941] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 0051/1074] Add /dev/gpiomem device for rootless user GPIO + access Signed-off-by: Luke Wren @@ -75613,7 +75614,7 @@ index 000000000000..f5e7f1ba8fb6 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 052/941] Add SMI driver +Subject: [PATCH 0052/1074] Add SMI driver Signed-off-by: Luke Wren @@ -77550,7 +77551,7 @@ index 000000000000..ee3a75edfc03 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 053/941] Add Chris Boot's i2c driver +Subject: [PATCH 0053/1074] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -78221,7 +78222,7 @@ index 000000000000..962f2e5c7455 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 054/941] char: broadcom: Add vcio module +Subject: [PATCH 0054/1074] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -78486,7 +78487,7 @@ index 000000000000..d2598663a2b5 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 055/941] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 0055/1074] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -78566,7 +78567,7 @@ index 1d965c1252ca..f039319020be 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 056/941] BCM2708: Add core Device Tree support +Subject: [PATCH 0056/1074] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -82635,7 +82636,7 @@ index 000000000000..4f903a787d65 + status = "disabled"; +}; diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi -index 398ecd7b9b68..d1a39fa077c0 100644 +index 55ec83bde5a6..c73a114bb01e 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -318,7 +318,8 @@ @@ -82717,7 +82718,7 @@ index 398ecd7b9b68..d1a39fa077c0 100644 device_type = "pci"; #address-cells = <3>; #interrupt-cells = <1>; -@@ -503,7 +517,7 @@ +@@ -509,7 +523,7 @@ genet: ethernet@7d580000 { compatible = "brcm,bcm2711-genet-v5"; @@ -82726,7 +82727,7 @@ index 398ecd7b9b68..d1a39fa077c0 100644 #address-cells = <0x1>; #size-cells = <0x1>; interrupts = , -@@ -1010,7 +1024,7 @@ +@@ -1018,7 +1032,7 @@ alloc-ranges = <0x0 0x00000000 0x40000000>; }; @@ -83076,10 +83077,10 @@ index 0ff0e9e25327..000000000000 - g-tx-fifo-size = <256 256 512 512 512 768 768>; -}; diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi -index 0f3be55201a5..6d305b8b5ebe 100644 +index ffdf7c4fba46..fcc0656876f5 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi -@@ -334,7 +334,7 @@ +@@ -336,7 +336,7 @@ status = "disabled"; }; @@ -83088,7 +83089,7 @@ index 0f3be55201a5..6d305b8b5ebe 100644 compatible = "brcm,bcm2835-i2c"; reg = <0x7e205000 0x200>; interrupts = <2 21>; -@@ -344,6 +344,30 @@ +@@ -346,6 +346,30 @@ status = "disabled"; }; @@ -105052,7 +105053,7 @@ index 94133708889d..9c0df5bde46c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 057/941] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 0057/1074] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -105236,7 +105237,7 @@ index 6a8d6409c993..aefab0783075 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:54:08 +0100 -Subject: [PATCH 058/941] Added Device IDs for August DVB-T 205 +Subject: [PATCH 0058/1074] Added Device IDs for August DVB-T 205 --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 4 ++++ @@ -105264,7 +105265,7 @@ index c278b9b0f102..05f2297cf583 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 059/941] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 0059/1074] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -106887,7 +106888,7 @@ index 084734d3da5c..6af65533dbea 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 060/941] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 0060/1074] 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 @@ -106928,7 +106929,7 @@ index 1c5af2fef142..3e670131f2a8 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 061/941] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 0061/1074] mfd: Add Raspberry Pi Sense HAT core driver mfd: Add rpi_sense_core of compatible string --- @@ -107814,7 +107815,7 @@ index 000000000000..56196dc2af10 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 062/941] Add support for all the downstream rpi sound card +Subject: [PATCH 0062/1074] Add support for all the downstream rpi sound card drivers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -123033,7 +123034,7 @@ index 000000000000..8f019e048987 + +#endif /* _TAS5713_H */ diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c -index 880ae162eaa5..54cbdb75f109 100644 +index 63e07d283b6f..cdea2d46bef8 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1429,7 +1429,15 @@ int snd_soc_runtime_set_dai_fmt(struct snd_soc_pcm_runtime *rtd, @@ -123060,8 +123061,8 @@ index 880ae162eaa5..54cbdb75f109 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Joerg Schambacher Date: Fri, 16 Oct 2020 15:17:07 +0200 -Subject: [PATCH 063/941] Fixes a problem when module probes before i2c module - is available +Subject: [PATCH 0063/1074] Fixes a problem when module probes before i2c + module is available The driver crashed while a NULL pointer returned by i2c_get_adapter() has been used to access the i2c bus functions. @@ -123112,7 +123113,7 @@ index a6d078bc4a9a..157ab4c2cc85 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 064/941] rpi_display: add backlight driver and overlay +Subject: [PATCH 0064/1074] 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 @@ -123295,7 +123296,7 @@ index 000000000000..14a0d9b03739 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 065/941] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 0065/1074] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -123562,7 +123563,7 @@ index 000000000000..49e28ad9760e From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 066/941] OF: DT-Overlay configfs interface +Subject: [PATCH 0066/1074] 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. @@ -124003,7 +124004,7 @@ index 000000000000..178f0629b0f0 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 067/941] brcm: adds support for BCM43341 wifi +Subject: [PATCH 0067/1074] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -124154,7 +124155,7 @@ index 6d5d5c39c635..bfe4b8e5a716 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 068/941] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 0068/1074] 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. @@ -124183,7 +124184,7 @@ index 996729e78105..6d179e455721 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 069/941] config: Add default configs +Subject: [PATCH 0069/1074] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1473 +++++++++++++++++++++++++ @@ -131561,7 +131562,7 @@ index 000000000000..d542d2522076 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 070/941] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 0070/1074] ARM64: Round-Robin dispatch IRQs between CPUs. IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced @@ -131641,7 +131642,7 @@ index 2187672e5be3..0b2af88b69a0 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 11 Feb 2017 01:18:31 -0800 -Subject: [PATCH 071/941] ARM64: Force hardware emulation of deprecated +Subject: [PATCH 0071/1074] ARM64: Force hardware emulation of deprecated instructions. --- @@ -131675,7 +131676,7 @@ index 7364de008bab..a11467132346 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 25 Aug 2017 19:18:13 +0100 -Subject: [PATCH 072/941] cache: export clean and invalidate +Subject: [PATCH 0072/1074] cache: export clean and invalidate hack: cache: Fix linker error --- @@ -131736,7 +131737,7 @@ index dc8f152f3556..536df5db66e4 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 14 Nov 2017 15:13:15 +0000 -Subject: [PATCH 073/941] AXI performance monitor driver (#2222) +Subject: [PATCH 0073/1074] AXI performance monitor driver (#2222) Uses the debugfs I/F to provide access to the AXI bus performance monitors. @@ -132438,7 +132439,7 @@ index 000000000000..5ae2bdaa88b4 From 0000000000000000000000000000000000000000 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 074/941] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 0074/1074] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -132507,7 +132508,7 @@ index bfc556f76720..73ec2427fbcf 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 16 Jul 2018 14:40:13 +0100 -Subject: [PATCH 075/941] dwc-otg: FIQ: Fix "bad mode in data abort handler" +Subject: [PATCH 0075/1074] dwc-otg: FIQ: Fix "bad mode in data abort handler" Create a semi-static mapping for the USB registers early in the boot process, before additional kernel threads are started, so all threads @@ -132629,7 +132630,7 @@ index 73ec2427fbcf..9b6c921106b5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 Dec 2017 09:18:32 +0000 -Subject: [PATCH 076/941] ARM: Activate FIQs to avoid __irq_startup warnings +Subject: [PATCH 0076/1074] ARM: Activate FIQs to avoid __irq_startup warnings There is a new test in __irq_startup that the IRQ is activated, which hasn't been the case for FIQs since they bypass some of the usual setup. @@ -132671,8 +132672,8 @@ index 98ca3e3fa847..c3fe7d3cf482 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 077/941] raspberrypi-firmware: Export the general transaction - function. +Subject: [PATCH 0077/1074] raspberrypi-firmware: Export the general + transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -132709,7 +132710,7 @@ index f039319020be..2929fb4cea80 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 20 Feb 2018 10:07:27 +0000 -Subject: [PATCH 078/941] i2c-gpio: Also set bus numbers from reg property +Subject: [PATCH 0078/1074] i2c-gpio: Also set bus numbers from reg property I2C busses can be assigned specific bus numbers using aliases in Device Tree - string properties where the name is the alias and the @@ -132750,8 +132751,8 @@ index a4a6825c8758..cfbcf3952ddc 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: hdoverobinson Date: Tue, 13 Mar 2018 06:58:39 -0400 -Subject: [PATCH 079/941] added capture_clear option to pps-gpio via dtoverlay - (#2433) +Subject: [PATCH 0079/1074] added capture_clear option to pps-gpio via + dtoverlay (#2433) --- drivers/pps/clients/pps-gpio.c | 2 ++ @@ -132777,7 +132778,7 @@ index e0de1df2ede0..ee7d8f4e7f2e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 9 Mar 2018 12:01:00 +0000 -Subject: [PATCH 080/941] lan78xx: Read initial EEE status from DT +Subject: [PATCH 0080/1074] lan78xx: Read initial EEE status from DT Add two new DT properties: * microchip,eee-enabled - a boolean to enable EEE @@ -132790,10 +132791,10 @@ Signed-off-by: Phil Elwell 1 file changed, 16 insertions(+) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c -index 65b9ff30edcb..7ed593fbff94 100644 +index 1acbefbb679e..cdf9e8acf80a 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c -@@ -2643,6 +2643,22 @@ static int lan78xx_open(struct net_device *net) +@@ -2645,6 +2645,22 @@ static int lan78xx_open(struct net_device *net) netif_dbg(dev, ifup, dev->net, "phy initialised successfully"); @@ -132823,7 +132824,7 @@ index 65b9ff30edcb..7ed593fbff94 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 081/941] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 0081/1074] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -132861,7 +132862,7 @@ index 009a0469d54f..2d18616f45e2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Nick Bulleid Date: Thu, 10 May 2018 21:57:02 +0100 -Subject: [PATCH 082/941] Add ability to export gpio used by gpio-poweroff +Subject: [PATCH 0082/1074] Add ability to export gpio used by gpio-poweroff Signed-off-by: Nick Bulleid @@ -132926,7 +132927,7 @@ index 3e670131f2a8..e5dca66360a7 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 12 May 2018 21:35:43 +0100 -Subject: [PATCH 083/941] firmware/raspberrypi: Notify firmware of a reboot +Subject: [PATCH 0083/1074] firmware/raspberrypi: Notify firmware of a reboot Register for reboot notifications, sending RPI_FIRMWARE_NOTIFY_REBOOT over the mailbox interface on reception. @@ -133016,7 +133017,7 @@ index 2929fb4cea80..a7fde9de6f70 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 14 Jun 2018 11:21:04 +0100 -Subject: [PATCH 084/941] irqchip: irq-bcm2835: Calc. FIQ_START at boot-time +Subject: [PATCH 0084/1074] irqchip: irq-bcm2835: Calc. FIQ_START at boot-time ad83c7cb2f37 ("irqchip/irq-bcm2836: Add support for DT interrupt polarity") changed the way that the BCM2836/7 local interrupts are mapped; instead @@ -133088,7 +133089,7 @@ index 18b7483588c2..0e6c0811dc1e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 14 Jun 2018 15:07:26 +0100 -Subject: [PATCH 085/941] of: configfs: Use of_overlay_fdt_apply API call +Subject: [PATCH 0085/1074] of: configfs: Use of_overlay_fdt_apply API call The published API to the dynamic overlay application mechanism now takes a Flattened Device Tree blob as input so that it can manage the @@ -133208,7 +133209,8 @@ index 178f0629b0f0..ac04301dabe1 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 Jun 2018 15:21:10 +0100 -Subject: [PATCH 086/941] net: lan78xx: Disable TCP Segmentation Offload (TSO) +Subject: [PATCH 0086/1074] net: lan78xx: Disable TCP Segmentation Offload + (TSO) TSO seems to be having issues when packets are dropped and the remote end uses Selective Acknowledge (SACK) to denote that @@ -133227,10 +133229,10 @@ Signed-off-by: Dave Stevenson 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c -index 7ed593fbff94..4e83c766e367 100644 +index cdf9e8acf80a..cf447b56a320 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c -@@ -425,6 +425,15 @@ static int msg_level = -1; +@@ -427,6 +427,15 @@ static int msg_level = -1; module_param(msg_level, int, 0); MODULE_PARM_DESC(msg_level, "Override default message level"); @@ -133246,7 +133248,7 @@ index 7ed593fbff94..4e83c766e367 100644 static int lan78xx_read_reg(struct lan78xx_net *dev, u32 index, u32 *data) { u32 *buf = kmalloc(sizeof(u32), GFP_KERNEL); -@@ -2925,8 +2934,14 @@ static int lan78xx_bind(struct lan78xx_net *dev, struct usb_interface *intf) +@@ -2927,8 +2936,14 @@ static int lan78xx_bind(struct lan78xx_net *dev, struct usb_interface *intf) if (DEFAULT_RX_CSUM_ENABLE) dev->net->features |= NETIF_F_RXCSUM; @@ -133270,7 +133272,7 @@ index 7ed593fbff94..4e83c766e367 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 20 Jun 2018 12:20:01 +0100 -Subject: [PATCH 087/941] brcmfmac: Re-enable firmware roaming support +Subject: [PATCH 0087/1074] brcmfmac: Re-enable firmware roaming support As of 4.18, a firmware that implements the update_connect_params method but doesn't claim to support roaming causes an error. We @@ -133305,7 +133307,7 @@ index 591dcd04b4b4..e3758bd86acf 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 5 Apr 2018 14:46:11 +0100 -Subject: [PATCH 088/941] lan78xx: Move enabling of EEE into PHY init code +Subject: [PATCH 0088/1074] lan78xx: Move enabling of EEE into PHY init code Enable EEE mode as soon as possible after connecting to the PHY, and before phy_start. This avoids a second link negotiation, which speeds @@ -133319,10 +133321,10 @@ Signed-off-by: Phil Elwell 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c -index 4e83c766e367..0b929409760c 100644 +index cf447b56a320..061b5a179904 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c -@@ -2175,6 +2175,22 @@ static int lan78xx_phy_init(struct lan78xx_net *dev) +@@ -2177,6 +2177,22 @@ static int lan78xx_phy_init(struct lan78xx_net *dev) mii_adv_to_linkmode_adv_t(fc, mii_adv); linkmode_or(phydev->advertising, fc, phydev->advertising); @@ -133345,7 +133347,7 @@ index 4e83c766e367..0b929409760c 100644 if (phydev->mdio.dev.of_node) { u32 reg; int len; -@@ -2652,22 +2668,6 @@ static int lan78xx_open(struct net_device *net) +@@ -2654,22 +2670,6 @@ static int lan78xx_open(struct net_device *net) netif_dbg(dev, ifup, dev->net, "phy initialised successfully"); @@ -133375,7 +133377,7 @@ index 4e83c766e367..0b929409760c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 9 Jul 2018 12:54:25 +0100 -Subject: [PATCH 089/941] Add rpi-poe-fan driver +Subject: [PATCH 0089/1074] Add rpi-poe-fan driver Signed-off-by: Serge Schneider @@ -133491,7 +133493,7 @@ index 000000000000..9182ab633993 +the commands to the board over I2C on the ID_EEPROM pins. The driver exposes +the fan to the user space through the hwmon sysfs interface. diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig -index a850e4f0e0bd..ecf08982c352 100644 +index 0c2b032ee617..bcba1433f076 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1489,6 +1489,17 @@ config SENSORS_RASPBERRYPI_HWMON @@ -133973,7 +133975,7 @@ index 000000000000..c9654e9e9f2d From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 17 Sep 2018 17:31:18 +0100 -Subject: [PATCH 090/941] cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880 +Subject: [PATCH 0090/1074] cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880 with MEDIA_SUBDRV_AUTOSELECT --- @@ -133999,8 +134001,8 @@ index 857ef4ace6e9..deae75ea3c44 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 6 Oct 2018 16:46:18 +0200 -Subject: [PATCH 091/941] hwmon: raspberrypi: Prevent voltage low warnings from - filling log +Subject: [PATCH 0091/1074] hwmon: raspberrypi: Prevent voltage low warnings + from filling log Although the correct fix for low voltage warnings is to improve the power supply, the current implementation @@ -134080,7 +134082,7 @@ index d3a64a35f7a9..db3b03438dd0 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 13 Oct 2018 13:31:21 +0200 -Subject: [PATCH 092/941] firmware: raspberrypi: Add backward compatible +Subject: [PATCH 0092/1074] firmware: raspberrypi: Add backward compatible get_throttled Avoid a hard userspace ABI change by adding a compatible get_throttled @@ -134165,7 +134167,7 @@ index a7fde9de6f70..bfbbf00d795c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 6 Nov 2018 12:57:48 +0000 -Subject: [PATCH 093/941] sc16is7xx: Don't spin if no data received +Subject: [PATCH 0093/1074] sc16is7xx: Don't spin if no data received See: https://github.com/raspberrypi/linux/issues/2676 @@ -134194,7 +134196,7 @@ index 9adb8362578c..f64e051c0030 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Mon, 7 May 2018 11:54:08 -0600 -Subject: [PATCH 094/941] drivers: thermal: step_wise: add support for +Subject: [PATCH 0094/1074] drivers: thermal: step_wise: add support for hysteresis Step wise governor increases the mitigation level when the temperature @@ -134294,7 +134296,7 @@ index 2ae7198d3067..abe34cfe21fe 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 2 Oct 2018 11:14:15 +0100 -Subject: [PATCH 095/941] drivers: thermal: step_wise: avoid throttling at +Subject: [PATCH 0095/1074] drivers: thermal: step_wise: avoid throttling at hysteresis temperature after dropping below it Signed-off-by: Serge Schneider @@ -134322,7 +134324,7 @@ index abe34cfe21fe..5c8602933201 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Fri, 2 Nov 2018 11:55:49 +0000 -Subject: [PATCH 096/941] Update issue templates (#2736) +Subject: [PATCH 0096/1074] Update issue templates (#2736) --- .github/ISSUE_TEMPLATE/bug_report.md | 34 ++++++++++++++++++++++++++++ @@ -134376,7 +134378,7 @@ index 000000000000..09bdc4a96838 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 26 Nov 2018 19:46:58 +0000 -Subject: [PATCH 097/941] net: lan78xx: Support auto-downshift to 100Mb/s +Subject: [PATCH 0097/1074] net: lan78xx: Support auto-downshift to 100Mb/s Ethernet cables with faulty or missing pairs (specifically pairs C and D) allow auto-negotiation to 1000Mbs, but do not support the successful @@ -134477,7 +134479,7 @@ index 517288da19fd..626c450d71f4 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 10 Jan 2019 17:58:06 +0000 -Subject: [PATCH 098/941] firmware: raspberrypi: Report the fw variant during +Subject: [PATCH 0098/1074] firmware: raspberrypi: Report the fw variant during probe The driver already reported the firmware build date during probe. @@ -134586,7 +134588,8 @@ index bc3829dfcc33..4728741132b1 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Joshua Emele Date: Wed, 7 Nov 2018 16:07:40 -0800 -Subject: [PATCH 099/941] lan78xx: Debounce link events to minimize poll storm +Subject: [PATCH 0099/1074] lan78xx: Debounce link events to minimize poll + storm The bInterval is set to 4 (i.e. 8 microframes => 1ms) and the only bit that the driver pays attention to is "link was reset". If there's a @@ -134600,10 +134603,10 @@ See: https://github.com/raspberrypi/linux/issues/2447 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c -index 0b929409760c..9c0f3b5797fc 100644 +index 061b5a179904..ef1e643457db 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c -@@ -434,6 +434,11 @@ static bool enable_tso; +@@ -436,6 +436,11 @@ static bool enable_tso; module_param(enable_tso, bool, 0644); MODULE_PARM_DESC(enable_tso, "Enables TCP segmentation offload"); @@ -134615,7 +134618,7 @@ index 0b929409760c..9c0f3b5797fc 100644 static int lan78xx_read_reg(struct lan78xx_net *dev, u32 index, u32 *data) { u32 *buf = kmalloc(sizeof(u32), GFP_KERNEL); -@@ -3768,7 +3773,13 @@ static int lan78xx_probe(struct usb_interface *intf, +@@ -3770,7 +3775,13 @@ static int lan78xx_probe(struct usb_interface *intf, netdev->max_mtu = MAX_SINGLE_PACKET_SIZE; netif_set_gso_max_size(netdev, MAX_SINGLE_PACKET_SIZE - MAX_HEADER); @@ -134637,7 +134640,7 @@ index 0b929409760c..9c0f3b5797fc 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 5 Mar 2019 09:51:22 +0000 -Subject: [PATCH 100/941] lan78xx: EEE support is now a PHY property +Subject: [PATCH 0100/1074] lan78xx: EEE support is now a PHY property Now that EEE support is a property of the PHY, use the PHY's DT node when querying the EEE-related properties. @@ -134650,10 +134653,10 @@ Signed-off-by: Phil Elwell 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c -index 9c0f3b5797fc..053f3faf1631 100644 +index ef1e643457db..cf5f07383147 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c -@@ -2180,7 +2180,7 @@ static int lan78xx_phy_init(struct lan78xx_net *dev) +@@ -2182,7 +2182,7 @@ static int lan78xx_phy_init(struct lan78xx_net *dev) mii_adv_to_linkmode_adv_t(fc, mii_adv); linkmode_or(phydev->advertising, fc, phydev->advertising); @@ -134669,7 +134672,7 @@ index 9c0f3b5797fc..053f3faf1631 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 20 Jul 2018 22:03:41 +0100 -Subject: [PATCH 101/941] bcm2835-dma: Add support for per-channel flags +Subject: [PATCH 0101/1074] bcm2835-dma: Add support for per-channel flags Add the ability to interpret the high bits of the dreq specifier as flags to be included in the DMA_CS register. The motivation for this @@ -134723,7 +134726,7 @@ index bf7ba96a39f9..87b5d0bef355 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Fri, 29 Mar 2019 10:53:14 +0000 -Subject: [PATCH 102/941] rtc: rv3028: Add backup switchover mode support +Subject: [PATCH 0102/1074] rtc: rv3028: Add backup switchover mode support Signed-off-by: Phil Howard --- @@ -134779,7 +134782,7 @@ index fa226f0fe67d..20baf2257631 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 2 May 2019 11:53:45 +0100 -Subject: [PATCH 103/941] lan78xx: use default alignment for rx buffers +Subject: [PATCH 0103/1074] lan78xx: use default alignment for rx buffers The lan78xx uses a 12-byte hardware rx header, so there is no need to allocate SKBs with NET_IP_ALIGN set. Removes alignment faults @@ -134789,10 +134792,10 @@ in both dwc_otg and in ipv6 processing. 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c -index 053f3faf1631..31eb1a420fb1 100644 +index cf5f07383147..3667f5b9d7f4 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c -@@ -3169,7 +3169,7 @@ static int rx_submit(struct lan78xx_net *dev, struct urb *urb, gfp_t flags) +@@ -3171,7 +3171,7 @@ static int rx_submit(struct lan78xx_net *dev, struct urb *urb, gfp_t flags) size_t size = dev->rx_urb_size; int ret = 0; @@ -134808,7 +134811,7 @@ index 053f3faf1631..31eb1a420fb1 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:55:37 +0000 -Subject: [PATCH 104/941] media: ov5647: Add set_fmt and get_fmt calls. +Subject: [PATCH 0104/1074] media: ov5647: Add set_fmt and get_fmt calls. There's no way to query the subdevice for the supported resolutions. @@ -134861,7 +134864,7 @@ index e7d2e5b4ad4b..3e587eb0a30e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:56:33 +0000 -Subject: [PATCH 105/941] media: ov5647: Add support for PWDN GPIO. +Subject: [PATCH 0105/1074] media: ov5647: Add support for PWDN GPIO. Add support for an optional GPIO connected to PWDN on the sensor. @@ -134959,7 +134962,7 @@ index 3e587eb0a30e..c39e3d20e3ef 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:56:47 +0000 -Subject: [PATCH 106/941] media: ov5647: Add support for non-continuous clock +Subject: [PATCH 0106/1074] media: ov5647: Add support for non-continuous clock mode The driver was only supporting continuous clock mode @@ -135044,7 +135047,7 @@ index c39e3d20e3ef..8a1a515388e0 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:56:59 +0000 -Subject: [PATCH 107/941] media: tc358743: Increase FIFO level to 374. +Subject: [PATCH 0107/1074] media: tc358743: Increase FIFO level to 374. The existing fixed value of 16 worked for UYVY 720P60 over 2 lanes at 594MHz, or UYVY 1080P60 over 4 lanes. (RGB888 @@ -135081,7 +135084,7 @@ index f21da11caf22..471a56cf96b8 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Thu, 21 Sep 2017 17:30:24 +0200 -Subject: [PATCH 108/941] media: tc358743: fix connected/active CSI-2 lane +Subject: [PATCH 0108/1074] media: tc358743: fix connected/active CSI-2 lane reporting g_mbus_config was supposed to indicate all supported lane numbers, not @@ -135163,7 +135166,8 @@ index c20e2dc6d432..396fb88266be 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:57:21 +0000 -Subject: [PATCH 109/941] media: tc358743: Add support for 972Mbit/s link freq. +Subject: [PATCH 0109/1074] media: tc358743: Add support for 972Mbit/s link + freq. Adds register setups for running the CSI lanes at 972Mbit/s, which allows 1080P50 UYVY down 2 lanes. @@ -135248,7 +135252,7 @@ index 44ae2f33334a..24f176ee8a7b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:57:34 +0000 -Subject: [PATCH 110/941] media: tc358743: Check I2C succeeded during probe. +Subject: [PATCH 0110/1074] media: tc358743: Check I2C succeeded during probe. The probe for the TC358743 reads the CHIPID register from the device and compares it to the expected value of 0. @@ -135352,7 +135356,7 @@ index 24f176ee8a7b..ba8f63dbbd37 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:57:46 +0000 -Subject: [PATCH 111/941] media: adv7180: Default to the first valid input +Subject: [PATCH 0111/1074] media: adv7180: Default to the first valid input The hardware default is differential CVBS on AIN1 & 2, which isn't very useful. @@ -135403,7 +135407,7 @@ index 4498d14d3429..e98dd2bee1e5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:57:56 +0000 -Subject: [PATCH 112/941] media: adv7180: Add YPrPb support for ADV7282M +Subject: [PATCH 0112/1074] media: adv7180: Add YPrPb support for ADV7282M The ADV7282M can support YPbPr on AIN1-3, but this was not selectable from the driver. Add it to the list of @@ -135433,7 +135437,7 @@ index e98dd2bee1e5..4103690a71df 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:58:08 +0000 -Subject: [PATCH 113/941] media: videodev2: Add helper defines for printing +Subject: [PATCH 0113/1074] media: videodev2: Add helper defines for printing FOURCCs New helper defines that allow printing of a FOURCC using @@ -135467,7 +135471,7 @@ index 534eaa4d39bc..56c443cc2c3d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:59:06 +0000 -Subject: [PATCH 114/941] dt-bindings: Document BCM283x CSI2/CCP2 receiver +Subject: [PATCH 0114/1074] dt-bindings: Document BCM283x CSI2/CCP2 receiver Document the DT bindings for the CSI2/CCP2 receiver peripheral (known as Unicam) on BCM283x SoCs. @@ -135577,7 +135581,7 @@ index 000000000000..7714fb374b34 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 31 Oct 2018 14:59:40 +0000 -Subject: [PATCH 115/941] MAINTAINERS: Add entry for BCM2835 Unicam driver +Subject: [PATCH 0115/1074] MAINTAINERS: Add entry for BCM2835 Unicam driver Adds entry for the new BCM2835 Unicam (CSI-2 receiver) driver @@ -135587,7 +135591,7 @@ Signed-off-by: Dave Stevenson 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS -index 4fef10dd2975..cbfee297e9f9 100644 +index c64c9354c287..a0102d502aed 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3417,6 +3417,13 @@ N: bcm113* @@ -135611,7 +135615,7 @@ index 4fef10dd2975..cbfee297e9f9 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 22 Nov 2018 17:31:06 +0000 -Subject: [PATCH 116/941] media: tc358743: Return an appropriate colorspace +Subject: [PATCH 0116/1074] media: tc358743: Return an appropriate colorspace from tc358743_set_fmt When calling tc358743_set_fmt, the code was calling tc358743_get_fmt @@ -135715,7 +135719,8 @@ index ba8f63dbbd37..b77b900bf6ad 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 16:20:46 +0000 -Subject: [PATCH 117/941] staging: mmal-vchiq: Avoid use of bool in structures +Subject: [PATCH 0117/1074] staging: mmal-vchiq: Avoid use of bool in + structures Fixes up a checkpatch error "Avoid using bool structure members because of possible alignment issues". @@ -135745,7 +135750,8 @@ index d697ea55a0da..4a2fc257fb9f 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 18:15:38 +0100 -Subject: [PATCH 118/941] staging: mmal-vchiq: Add support for event callbacks. +Subject: [PATCH 0118/1074] staging: mmal-vchiq: Add support for event + callbacks. (Preparation for the codec driver). The codec uses the event mechanism to report things such as @@ -136113,8 +136119,8 @@ index 1dc81ecf9268..e87f88f99338 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 24 Sep 2018 18:26:02 +0100 -Subject: [PATCH 119/941] staging: vc04_services: Support sending data to MMAL - ports +Subject: [PATCH 0119/1074] staging: vc04_services: Support sending data to + MMAL ports Add the ability to send data to ports. This only supports zero copy mode as the required bulk transfer setup calls @@ -136161,7 +136167,8 @@ index 4d2ba6851d87..2f25b96673e5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 29 Oct 2018 17:57:45 +0000 -Subject: [PATCH 120/941] media: videobuf2: Allow exporting of a struct dmabuf +Subject: [PATCH 0120/1074] media: videobuf2: Allow exporting of a struct + dmabuf videobuf2 only allowed exporting a dmabuf as a file descriptor, but there are instances where having the struct dma_buf is @@ -136252,8 +136259,8 @@ index bbb3f26fbde9..7a4aa9cb28c9 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 22 Jan 2019 12:04:09 +0000 -Subject: [PATCH 121/941] staging: mmal-vchiq: Fix client_component for 64 bit - kernel +Subject: [PATCH 0121/1074] staging: mmal-vchiq: Fix client_component for 64 + bit kernel The MMAL client_component field is used with the event mechanism to allow the client to identify the component for @@ -136293,7 +136300,7 @@ index 2f25b96673e5..43b80a32c922 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 24 Jan 2019 15:09:28 +0000 -Subject: [PATCH 122/941] clk: clk-bcm2835: Use %zd when printing size_t +Subject: [PATCH 0122/1074] clk: clk-bcm2835: Use %zd when printing size_t The debug text for how many clocks have been registered uses "%d" with a size_t. Correct it to "%zd". @@ -136304,10 +136311,10 @@ Signed-off-by: Dave Stevenson 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index f1ef788c1194..2674b979a072 100644 +index cf74711157e7..14d18e1df797 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -2382,7 +2382,7 @@ static int bcm2835_clk_probe(struct platform_device *pdev) +@@ -2377,7 +2377,7 @@ static int bcm2835_clk_probe(struct platform_device *pdev) return ret; /* note that we have registered all the clocks */ @@ -136323,7 +136330,7 @@ index f1ef788c1194..2674b979a072 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 18 Sep 2018 11:08:51 +0100 -Subject: [PATCH 123/941] media: ov5647: Use gpiod_set_value_cansleep +Subject: [PATCH 0123/1074] media: ov5647: Use gpiod_set_value_cansleep All calls to the gpio library are in contexts that can sleep, therefore there is no issue with having those GPIOs controlled @@ -136383,7 +136390,7 @@ index 8a1a515388e0..07550377be2e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 Feb 2019 12:33:29 +0000 -Subject: [PATCH 124/941] staging: mmal_vchiq: Add in the Bayer encoding +Subject: [PATCH 0124/1074] staging: mmal_vchiq: Add in the Bayer encoding formats The list of formats was copied before Bayer support was added. @@ -136440,7 +136447,7 @@ index 2be9941a1f30..44ba91aa6d47 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 18 Feb 2019 15:52:29 +0000 -Subject: [PATCH 125/941] staging: mmal-vchiq: Update mmal_parameters.h with +Subject: [PATCH 0125/1074] staging: mmal-vchiq: Update mmal_parameters.h with recently defined params mmal_parameters.h hasn't been updated to reflect additions made @@ -136502,7 +136509,7 @@ index a1e39b1b1701..1793103b18fd 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 1 May 2019 13:27:23 +0100 -Subject: [PATCH 126/941] staging: mmal-vchiq: Free the event context for +Subject: [PATCH 0126/1074] staging: mmal-vchiq: Free the event context for control ports vchiq_mmal_component_init calls init_event_context for the @@ -136536,7 +136543,7 @@ index 43b80a32c922..312cd6b74c30 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 2 May 2019 15:50:01 +0100 -Subject: [PATCH 127/941] staging: mmal-vchiq: Fix memory leak in error path +Subject: [PATCH 0127/1074] staging: mmal-vchiq: Fix memory leak in error path On error, vchiq_mmal_component_init could leave the event context allocated for ports. @@ -136618,7 +136625,7 @@ index 312cd6b74c30..f5222a4b26b3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 12 Jun 2019 17:15:05 +0100 -Subject: [PATCH 128/941] w1: w1-gpio: Make GPIO an output for strong pullup +Subject: [PATCH 0128/1074] w1: w1-gpio: Make GPIO an output for strong pullup The logic to drive the data line high to implement a strong pullup assumed that the pin was already an output - setting a value does @@ -136651,7 +136658,7 @@ index d4632aace402..4832cd8c2596 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 20 Feb 2019 08:49:39 +0000 -Subject: [PATCH 129/941] arm: bcm2835: Fix FIQ early ioremap +Subject: [PATCH 0129/1074] arm: bcm2835: Fix FIQ early ioremap The ioremapping creates mappings within the vmalloc area. The equivalent early function, create_mapping, now checks that the @@ -136730,7 +136737,7 @@ index 9b6c921106b5..9bd9842da59f 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 May 2019 15:47:42 +0100 -Subject: [PATCH 130/941] arm: bcm2835: DMA can only address 1GB +Subject: [PATCH 0130/1074] arm: bcm2835: DMA can only address 1GB The legacy peripherals can only address the first gigabyte of RAM, so ensure that DMA allocations are restricted to that region. @@ -136761,7 +136768,7 @@ index 9bd9842da59f..7d59a9364175 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Sat, 4 May 2019 17:06:15 +0200 -Subject: [PATCH 131/941] hwrng: iproc-rng200: Add BCM2838 support +Subject: [PATCH 0131/1074] hwrng: iproc-rng200: Add BCM2838 support The HWRNG on the BCM2838 is compatible to iproc-rng200, so add the support to this driver instead of bcm2835-rng. @@ -136922,7 +136929,7 @@ index 01583faf9893..2a92ea658096 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 2 Aug 2019 15:20:11 +0100 -Subject: [PATCH 132/941] mmc: sdhci-iproc: Fix vmmc regulators on iProc +Subject: [PATCH 0132/1074] mmc: sdhci-iproc: Fix vmmc regulators on iProc The Linux support for controlling card power via regulators appears to be contentious. I would argue that the default behaviour is contrary to @@ -136974,7 +136981,7 @@ index b9eb2ec61a83..7658898cf39b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 1 Nov 2018 17:31:37 +0000 -Subject: [PATCH 133/941] vchiq: Add 36-bit address support +Subject: [PATCH 0133/1074] vchiq: Add 36-bit address support Conditional on a new compatible string, change the pagelist encoding such that the top 24 bits are the pfn, leaving 8 bits for run length @@ -137186,7 +137193,7 @@ index 0784c5002417..f8b1c005af62 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 30 Apr 2019 19:15:30 +0100 -Subject: [PATCH 134/941] bcm2835-pcm.c: Support multichannel audio +Subject: [PATCH 0134/1074] bcm2835-pcm.c: Support multichannel audio --- .../vc04_services/bcm2835-audio/bcm2835-pcm.c | 17 +++++++++-------- @@ -137238,7 +137245,7 @@ index 096f2c54258a..3c0033101e6e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Wed, 12 Sep 2018 14:44:53 +0100 -Subject: [PATCH 135/941] bcmgenet: constrain max DMA burst length +Subject: [PATCH 0135/1074] bcmgenet: constrain max DMA burst length --- drivers/net/ethernet/broadcom/genet/bcmgenet.h | 2 +- @@ -137264,7 +137271,7 @@ index f6ca01da141d..45ea07829b8c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 27 Mar 2019 13:45:46 +0000 -Subject: [PATCH 136/941] bcmgenet: Better coalescing parameter defaults +Subject: [PATCH 0136/1074] bcmgenet: Better coalescing parameter defaults Set defaults for TX and RX packet coalescing to be equivalent to: @@ -137280,7 +137287,7 @@ Signed-off-by: Phil Elwell 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c -index db74241935ab..05d138849867 100644 +index e19cf020e5ae..e291477d75f3 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -2595,7 +2595,7 @@ static void bcmgenet_init_tx_ring(struct bcmgenet_priv *priv, @@ -137292,7 +137299,7 @@ index db74241935ab..05d138849867 100644 /* Disable rate control for now */ bcmgenet_tdma_ring_writel(priv, index, flow_period_val, TDMA_FLOW_PERIOD); -@@ -4058,9 +4058,12 @@ static int bcmgenet_probe(struct platform_device *pdev) +@@ -4060,9 +4060,12 @@ static int bcmgenet_probe(struct platform_device *pdev) netif_set_real_num_rx_queues(priv->dev, priv->hw_params->rx_queues + 1); /* Set default coalescing parameters */ @@ -137313,7 +137320,7 @@ index db74241935ab..05d138849867 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 14 May 2019 17:17:59 +0100 -Subject: [PATCH 137/941] net: genet: enable link energy detect powerdown for +Subject: [PATCH 0137/1074] net: genet: enable link energy detect powerdown for external PHYs There are several warts surrounding bcmgenet_mii_probe() as this @@ -137350,7 +137357,7 @@ index f9e91304d232..7abd5ddebd8e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Mon, 13 May 2019 11:05:27 +0000 -Subject: [PATCH 138/941] spi: bcm2835: enable shared interrupt support +Subject: [PATCH 0138/1074] spi: bcm2835: enable shared interrupt support Add shared interrupt support for this driver. @@ -137391,7 +137398,7 @@ index 33c32e931767..1240422970df 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Jan 2019 16:11:50 +0000 -Subject: [PATCH 139/941] clk-bcm2835: Don't wait for pllh lock +Subject: [PATCH 0139/1074] clk-bcm2835: Don't wait for pllh lock Signed-off-by: Phil Elwell --- @@ -137399,7 +137406,7 @@ Signed-off-by: Phil Elwell 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 2674b979a072..38f97f1707d2 100644 +index 14d18e1df797..f6ae51f7e861 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c @@ -644,15 +644,17 @@ static int bcm2835_pll_on(struct clk_hw *hw) @@ -137435,7 +137442,7 @@ index 2674b979a072..38f97f1707d2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 11 Jan 2019 17:31:07 -0800 -Subject: [PATCH 140/941] soc: bcm: bcm2835-pm: Add support for 2711. +Subject: [PATCH 0140/1074] soc: bcm: bcm2835-pm: Add support for 2711. Without the actual power management part any more, there's a lot less to set up for V3D. We just need to clear the RSTN field for the power @@ -137547,7 +137554,7 @@ index ed37dc40e82a..b2d157091e12 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 May 2019 15:11:05 -0700 -Subject: [PATCH 141/941] clk: bcm2835: Add support for setting leaf clock +Subject: [PATCH 0141/1074] clk: bcm2835: Add support for setting leaf clock rates while running. As long as you wait for !BUSY, you can do glitch-free updates of clock @@ -137559,10 +137566,10 @@ Signed-off-by: Eric Anholt 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 38f97f1707d2..4cf4f5e12fe2 100644 +index f6ae51f7e861..12333df4c9d5 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1115,15 +1115,19 @@ static int bcm2835_clock_set_rate(struct clk_hw *hw, +@@ -1110,15 +1110,19 @@ static int bcm2835_clock_set_rate(struct clk_hw *hw, spin_lock(&cprman->regs_lock); @@ -137590,7 +137597,7 @@ index 38f97f1707d2..4cf4f5e12fe2 100644 ctl |= (div & CM_DIV_FRAC_MASK) ? CM_FRAC : 0; cprman_write(cprman, data->ctl_reg, ctl); -@@ -1499,7 +1503,7 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, +@@ -1494,7 +1498,7 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, init.ops = &bcm2835_vpu_clock_clk_ops; } else { init.ops = &bcm2835_clock_clk_ops; @@ -137606,7 +137613,7 @@ index 38f97f1707d2..4cf4f5e12fe2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 May 2019 15:24:04 -0700 -Subject: [PATCH 142/941] clk: bcm2835: Allow reparenting leaf clocks while +Subject: [PATCH 0142/1074] clk: bcm2835: Allow reparenting leaf clocks while they're running. This falls under the same "we can reprogram glitch-free as long as we @@ -137619,10 +137626,10 @@ Signed-off-by: Eric Anholt 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 4cf4f5e12fe2..3c55594684cd 100644 +index 12333df4c9d5..fd0824e5bfa1 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1104,8 +1104,10 @@ static int bcm2835_clock_on(struct clk_hw *hw) +@@ -1099,8 +1099,10 @@ static int bcm2835_clock_on(struct clk_hw *hw) return 0; } @@ -137635,7 +137642,7 @@ index 4cf4f5e12fe2..3c55594684cd 100644 { struct bcm2835_clock *clock = bcm2835_clock_from_hw(hw); struct bcm2835_cprman *cprman = clock->cprman; -@@ -1127,6 +1129,11 @@ static int bcm2835_clock_set_rate(struct clk_hw *hw, +@@ -1122,6 +1124,11 @@ static int bcm2835_clock_set_rate(struct clk_hw *hw, bcm2835_clock_wait_busy(clock); } @@ -137647,7 +137654,7 @@ index 4cf4f5e12fe2..3c55594684cd 100644 ctl &= ~CM_FRAC; ctl |= (div & CM_DIV_FRAC_MASK) ? CM_FRAC : 0; cprman_write(cprman, data->ctl_reg, ctl); -@@ -1138,6 +1145,12 @@ static int bcm2835_clock_set_rate(struct clk_hw *hw, +@@ -1133,6 +1140,12 @@ static int bcm2835_clock_set_rate(struct clk_hw *hw, return 0; } @@ -137660,7 +137667,7 @@ index 4cf4f5e12fe2..3c55594684cd 100644 static bool bcm2835_clk_is_pllc(struct clk_hw *hw) { -@@ -1321,6 +1334,7 @@ static const struct clk_ops bcm2835_clock_clk_ops = { +@@ -1316,6 +1329,7 @@ static const struct clk_ops bcm2835_clock_clk_ops = { .unprepare = bcm2835_clock_off, .recalc_rate = bcm2835_clock_get_rate, .set_rate = bcm2835_clock_set_rate, @@ -137668,7 +137675,7 @@ index 4cf4f5e12fe2..3c55594684cd 100644 .determine_rate = bcm2835_clock_determine_rate, .set_parent = bcm2835_clock_set_parent, .get_parent = bcm2835_clock_get_parent, -@@ -1503,7 +1517,6 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, +@@ -1498,7 +1512,6 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman, init.ops = &bcm2835_vpu_clock_clk_ops; } else { init.ops = &bcm2835_clock_clk_ops; @@ -137683,7 +137690,7 @@ index 4cf4f5e12fe2..3c55594684cd 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 11 Jun 2019 10:55:00 +0100 -Subject: [PATCH 143/941] usb: add plumbing for updating interrupt endpoint +Subject: [PATCH 0143/1074] usb: add plumbing for updating interrupt endpoint interval state xHCI caches device and endpoint data after the interface is configured, @@ -137708,10 +137715,10 @@ Signed-off-by: Jonathan Bell 4 files changed, 34 insertions(+) diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c -index 4bbf3316a9a5..23ea20b9be27 100644 +index ddd1d3eef912..92357f32d2c1 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c -@@ -1945,6 +1945,16 @@ int usb_hcd_alloc_bandwidth(struct usb_device *udev, +@@ -1966,6 +1966,16 @@ int usb_hcd_alloc_bandwidth(struct usb_device *udev, return ret; } @@ -137768,10 +137775,10 @@ index d6a41841b93e..32be892f53cf 100644 /* this request isn't really synchronous, but it belongs with the others */ extern int usb_driver_set_configuration(struct usb_device *udev, int config); diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h -index 9f05016d823f..710e24d74759 100644 +index 3dbb42c637c1..a60b7fc02fce 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h -@@ -384,6 +384,11 @@ struct hc_driver { +@@ -382,6 +382,11 @@ struct hc_driver { * or bandwidth constraints. */ void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *); @@ -137783,7 +137790,7 @@ index 9f05016d823f..710e24d74759 100644 /* Returns the hardware-chosen device address */ int (*address_device)(struct usb_hcd *, struct usb_device *udev); /* prepares the hardware to send commands to the device */ -@@ -445,6 +450,8 @@ extern void usb_hcd_unmap_urb_setup_for_dma(struct usb_hcd *, struct urb *); +@@ -443,6 +448,8 @@ extern void usb_hcd_unmap_urb_setup_for_dma(struct usb_hcd *, struct urb *); extern void usb_hcd_unmap_urb_for_dma(struct usb_hcd *, struct urb *); extern void usb_hcd_flush_endpoint(struct usb_device *udev, struct usb_host_endpoint *ep); @@ -137799,7 +137806,7 @@ index 9f05016d823f..710e24d74759 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 11 Jun 2019 11:33:39 +0100 -Subject: [PATCH 144/941] xhci: implement xhci_fixup_endpoint for interval +Subject: [PATCH 0144/1074] xhci: implement xhci_fixup_endpoint for interval adjustments Must be called in a non-atomic context, after the endpoint @@ -137812,10 +137819,10 @@ Signed-off-by: Jonathan Bell 1 file changed, 98 insertions(+) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c -index 0d6dc2e20f2a..c424435fa960 100644 +index 325eb1609f8c..3fc54bf311f7 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c -@@ -1467,6 +1467,103 @@ static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, +@@ -1466,6 +1466,103 @@ static int xhci_check_maxpacket(struct xhci_hcd *xhci, unsigned int slot_id, return ret; } @@ -137919,7 +137926,7 @@ index 0d6dc2e20f2a..c424435fa960 100644 /* * non-error returns are a promise to giveback() the urb later * we drop ownership so next owner (or urb unlink) can get it -@@ -5367,6 +5464,7 @@ static const struct hc_driver xhci_hc_driver = { +@@ -5370,6 +5467,7 @@ static const struct hc_driver xhci_hc_driver = { .endpoint_reset = xhci_endpoint_reset, .check_bandwidth = xhci_check_bandwidth, .reset_bandwidth = xhci_reset_bandwidth, @@ -137934,7 +137941,7 @@ index 0d6dc2e20f2a..c424435fa960 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 11 Jun 2019 11:42:03 +0100 -Subject: [PATCH 145/941] usbhid: call usb_fixup_endpoint after mangling +Subject: [PATCH 0145/1074] usbhid: call usb_fixup_endpoint after mangling intervals Lets the mousepoll override mechanism work with xhci. @@ -137963,7 +137970,7 @@ index 2d18616f45e2..1f0e61d1312d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 11 Jun 2019 17:38:28 +0100 -Subject: [PATCH 146/941] arm: bcm2835: Add bcm2838 compatible string. +Subject: [PATCH 0146/1074] arm: bcm2835: Add bcm2838 compatible string. Signed-off-by: Phil Elwell --- @@ -137989,7 +137996,7 @@ index 7d59a9364175..282a023027fc 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 4 Oct 2018 17:22:43 -0700 -Subject: [PATCH 147/941] drm/v3d: Add support for 2711. +Subject: [PATCH 0147/1074] drm/v3d: Add support for 2711. Signed-off-by: Eric Anholt --- @@ -138015,7 +138022,7 @@ index 9f7c26193831..a463f8c0ad4c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 14 Jan 2019 12:35:43 -0800 -Subject: [PATCH 148/941] drm/v3d: Skip MMU flush if the device is currently +Subject: [PATCH 0148/1074] drm/v3d: Skip MMU flush if the device is currently off. If it's off, we know it will be reset on poweron, so the MMU won't @@ -138073,7 +138080,7 @@ index 5a453532901f..8986e7b96461 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 14 Jan 2019 14:47:57 -0800 -Subject: [PATCH 149/941] drm/v3d: Hook up the runtime PM ops. +Subject: [PATCH 0149/1074] drm/v3d: Hook up the runtime PM ops. In translating the runtime PM code from vc4, I missed the ".pm" assignment to actually connect them up. Fixes missing MMU setup if @@ -138113,7 +138120,7 @@ index a463f8c0ad4c..5f581fe8c918 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 12 Jul 2019 15:38:35 +0100 -Subject: [PATCH 150/941] i2c: bcm2835: Set clock-stretch timeout to 35ms +Subject: [PATCH 0150/1074] i2c: bcm2835: Set clock-stretch timeout to 35ms The BCM2835 I2C blocks have a register to set the clock-stretch timeout - how long the device is allowed to hold SCL low - in bus @@ -138166,7 +138173,7 @@ index 18b2e9e3d752..5b2589b6b9cc 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Aug 2019 15:23:14 +0100 -Subject: [PATCH 151/941] clk-bcm2835: Avoid null pointer exception +Subject: [PATCH 0151/1074] clk-bcm2835: Avoid null pointer exception clk_desc_array[BCM2835_PLLB] doesn't exist so we dereference null when iterating @@ -138176,10 +138183,10 @@ Signed-off-by: popcornmix 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 3c55594684cd..d686c51a68a9 100644 +index fd0824e5bfa1..14ace933a466 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -2310,9 +2310,11 @@ static bool bcm2835_clk_is_claimed(const char *name) +@@ -2305,9 +2305,11 @@ static bool bcm2835_clk_is_claimed(const char *name) int i; for (i = 0; i < ARRAY_SIZE(clk_desc_array); i++) { @@ -138201,7 +138208,7 @@ index 3c55594684cd..d686c51a68a9 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 14 Jan 2019 15:13:17 -0800 -Subject: [PATCH 152/941] drm/v3d: HACK: gut runtime pm for now. +Subject: [PATCH 0152/1074] drm/v3d: HACK: gut runtime pm for now. Something is still unstable -- on starting a new glxgears from an idle X11, I get an MMU violation in high addresses. The CTS also failed @@ -138318,7 +138325,7 @@ index 5f581fe8c918..e6dffb116eb3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 May 2019 13:22:53 -0700 -Subject: [PATCH 153/941] drm/v3d: Clock V3D down when not in use. +Subject: [PATCH 0153/1074] drm/v3d: Clock V3D down when not in use. My various attempts at re-enabling runtime PM have failed, so just crank the clock down when V3D is idle to reduce power consumption. @@ -138384,7 +138391,7 @@ index 8a390738d65b..1372e913e765 100644 /* Virtual and DMA addresses of the single shared page table. */ diff --git a/drivers/gpu/drm/v3d/v3d_gem.c b/drivers/gpu/drm/v3d/v3d_gem.c -index 182c586525eb..b7b439de8660 100644 +index 64fe63c1938f..61b2e8267607 100644 --- a/drivers/gpu/drm/v3d/v3d_gem.c +++ b/drivers/gpu/drm/v3d/v3d_gem.c @@ -4,6 +4,7 @@ @@ -138489,7 +138496,7 @@ index 182c586525eb..b7b439de8660 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Thu, 9 May 2019 14:30:37 +0100 -Subject: [PATCH 154/941] drivers: char: add chardev for mmap'ing the RPiVid +Subject: [PATCH 0154/1074] drivers: char: add chardev for mmap'ing the RPiVid control registers Based on the gpiomem driver, allow mapping of the decoder register @@ -138947,7 +138954,7 @@ index b2d157091e12..f70a810c55f7 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Thu, 1 Aug 2019 16:41:20 +0100 -Subject: [PATCH 155/941] hid: usb: Add device quirks for Freeway Airmouse T3 +Subject: [PATCH 0155/1074] hid: usb: Add device quirks for Freeway Airmouse T3 and MX3 These wireless mouse/keyboard combo remote control devices specify @@ -138968,7 +138975,7 @@ Signed-off-by: Jonathan Bell 2 files changed, 8 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h -index 136b58a91c04..fae50dbda6aa 100644 +index 370ec4402ebe..f87d2205be42 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -221,6 +221,9 @@ @@ -138981,7 +138988,7 @@ index 136b58a91c04..fae50dbda6aa 100644 #define USB_VENDOR_ID_BELKIN 0x050d #define USB_DEVICE_ID_FLIP_KVM 0x3201 -@@ -1268,6 +1271,9 @@ +@@ -1270,6 +1273,9 @@ #define USB_VENDOR_ID_XAT 0x2505 #define USB_DEVICE_ID_XAT_CSR 0x0220 @@ -138992,7 +138999,7 @@ index 136b58a91c04..fae50dbda6aa 100644 #define USB_DEVICE_ID_XIN_MO_DUAL_ARCADE 0x05e1 #define USB_DEVICE_ID_THT_2P_ARCADE 0x75e1 diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c -index be53c723c729..9f9d5778114e 100644 +index 84a30202e3db..fd02b2821daf 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -41,6 +41,7 @@ static const struct hid_device_id hid_quirks[] = { @@ -139003,7 +139010,7 @@ index be53c723c729..9f9d5778114e 100644 { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_MULTI_TOUCH), HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_PIXART_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_PIXART_USB_OPTICAL_MOUSE2), HID_QUIRK_ALWAYS_POLL }, -@@ -193,6 +194,7 @@ static const struct hid_device_id hid_quirks[] = { +@@ -194,6 +195,7 @@ static const struct hid_device_id hid_quirks[] = { { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_XIN_MO_DUAL_ARCADE), HID_QUIRK_MULTI_INPUT }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_GROUP_AUDIO), HID_QUIRK_NOGET }, @@ -139018,7 +139025,7 @@ index be53c723c729..9f9d5778114e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 16 Jul 2019 12:18:21 +0100 -Subject: [PATCH 156/941] Add HDMI1 facility to the driver. +Subject: [PATCH 0156/1074] Add HDMI1 facility to the driver. For generic ALSA, all you need is the bcm2835.h change, but have also added structures for IEC958 HDMI. Not sure how to @@ -139111,7 +139118,7 @@ index 1b36475872d6..02f50768af96 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 9 Aug 2019 08:51:43 +0100 -Subject: [PATCH 157/941] net: bcmgenet: Workaround #2 for Pi4 Ethernet fail +Subject: [PATCH 0157/1074] net: bcmgenet: Workaround #2 for Pi4 Ethernet fail Some combinations of Pi 4Bs and Ethernet switches don't reliably get a DCHP-assigned IP address, leaving the unit with a self=assigned 169.254 @@ -139136,7 +139143,7 @@ Signed-off-by: Phil Elwell 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c -index 05d138849867..82cd64876d66 100644 +index e291477d75f3..059bc99cda87 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -67,6 +67,9 @@ @@ -139168,7 +139175,7 @@ index 05d138849867..82cd64876d66 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 13 Aug 2019 15:53:29 +0100 -Subject: [PATCH 158/941] xhci: Use more event ring segment table entries +Subject: [PATCH 0158/1074] xhci: Use more event ring segment table entries Users have reported log spam created by "Event Ring Full" xHC event TRBs. These are caused by interrupt latency in conjunction with a very @@ -139236,7 +139243,7 @@ index 45584a278336..3089c4880606 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 15 Aug 2019 12:02:34 +0100 -Subject: [PATCH 159/941] configs: arm64/bcm2711: Enable V3D +Subject: [PATCH 0159/1074] configs: arm64/bcm2711: Enable V3D Enable the V3D driver, which depends on BCM2835_POWER. @@ -139270,7 +139277,7 @@ index 9a5c44606337..b0e048697964 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Sep 2019 18:16:56 +0100 -Subject: [PATCH 160/941] arch/arm: Add model string to cpuinfo +Subject: [PATCH 0160/1074] arch/arm: Add model string to cpuinfo Signed-off-by: Phil Elwell --- @@ -139312,7 +139319,7 @@ index b06602cea99c..647caa3f6c7f 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Sep 2019 18:17:25 +0100 -Subject: [PATCH 161/941] arch/arm64: Add Revision, Serial, Model to cpuinfo +Subject: [PATCH 0161/1074] arch/arm64: Add Revision, Serial, Model to cpuinfo Signed-off-by: Phil Elwell --- @@ -139376,7 +139383,7 @@ index 77605aec25fe..721350d21074 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 28 Aug 2019 13:34:30 +0100 -Subject: [PATCH 162/941] media: dt-bindings: Add binding for the Sony IMX219 +Subject: [PATCH 0162/1074] media: dt-bindings: Add binding for the Sony IMX219 sensor The IMX219 is an 8MPix CSI2 sensor, supporting 2 or 4 data lanes. @@ -139460,7 +139467,7 @@ index 000000000000..a02f1ce1e120 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 6 Sep 2019 15:04:51 +0100 -Subject: [PATCH 163/941] v4l2: Add a Greyworld AWB mode. +Subject: [PATCH 0163/1074] v4l2: Add a Greyworld AWB mode. Adds a simple greyworld white balance preset, mainly for use with cameras without an IR filter (eg Raspberry Pi NoIR) @@ -139502,7 +139509,7 @@ index a184c4939438..fbe96b80a748 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 6 Sep 2019 15:13:06 +0100 -Subject: [PATCH 164/941] staging: bcm2835-camera: Add greyworld AWB mode +Subject: [PATCH 0164/1074] staging: bcm2835-camera: Add greyworld AWB mode This is mainly used for the NoIR camera which has no IR filter and can completely confuse normal AWB presets. @@ -139547,7 +139554,7 @@ index 1793103b18fd..27bafc5f01d2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 18 Sep 2019 17:22:36 +0100 -Subject: [PATCH 165/941] drm/v3d: Delete pm_runtime support +Subject: [PATCH 0165/1074] drm/v3d: Delete pm_runtime support The pm_runtime was blocking changelist submission, so delete it as a temporary workaround. @@ -139559,7 +139566,7 @@ Signed-off-by: Phil Elwell 2 files changed, 16 deletions(-) diff --git a/drivers/gpu/drm/v3d/v3d_gem.c b/drivers/gpu/drm/v3d/v3d_gem.c -index b7b439de8660..49c7920608e2 100644 +index 61b2e8267607..2f218bb3ddd7 100644 --- a/drivers/gpu/drm/v3d/v3d_gem.c +++ b/drivers/gpu/drm/v3d/v3d_gem.c @@ -478,10 +478,6 @@ v3d_job_init(struct v3d_dev *v3d, struct drm_file *file_priv, @@ -139617,7 +139624,7 @@ index 8986e7b96461..618503f2f2f1 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 23 Sep 2019 09:26:41 +0100 -Subject: [PATCH 166/941] kbuild: Allow .dtbo overlays to be built piecemeal +Subject: [PATCH 0166/1074] kbuild: Allow .dtbo overlays to be built piecemeal Before 4.20, it was possible to build an arbitrary overlay by copying it to arm/boot/dts/overlays/mytest-overlay.dts and running: @@ -139639,7 +139646,7 @@ Signed-off-by: Phil Elwell 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile -index a58f49e415dc..49c7041fd947 100644 +index fb96cca42ddb..b7879a6ff4cb 100644 --- a/Makefile +++ b/Makefile @@ -1354,6 +1354,9 @@ ifneq ($(dtstree),) @@ -139659,7 +139666,7 @@ index a58f49e415dc..49c7041fd947 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Thu, 19 Sep 2019 20:45:30 +0200 -Subject: [PATCH 167/941] ARM: bcm: Switch board, clk and pinctrl to bcm2711 +Subject: [PATCH 0167/1074] ARM: bcm: Switch board, clk and pinctrl to bcm2711 compatible After the decision to use bcm2711 compatible for upstream, we should @@ -139691,7 +139698,8 @@ index 282a023027fc..e538e0f899a5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Tue, 24 Sep 2019 18:26:55 +0100 -Subject: [PATCH 168/941] Rename HDMI ALSA device names, check for enable state +Subject: [PATCH 0168/1074] Rename HDMI ALSA device names, check for enable + state HDMI Alsa devices renamed to match names used by DRM, to HDMI 1 and HDMI 2 @@ -139836,7 +139844,7 @@ index eb8a8a5b7ec8..f926784c622d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Markus Proeller Date: Thu, 10 Oct 2019 19:12:08 +0200 -Subject: [PATCH 169/941] dt-bindings: Add binding for the Infineon IRS1125 +Subject: [PATCH 0169/1074] dt-bindings: Add binding for the Infineon IRS1125 sensor Adds a binding for the Infineon IRS1125 time-of-flight depth @@ -139909,7 +139917,7 @@ index 000000000000..25a48028c957 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Markus Proeller Date: Thu, 10 Oct 2019 19:12:36 +0200 -Subject: [PATCH 170/941] media: i2c: Add a driver for the Infineon IRS1125 +Subject: [PATCH 0170/1074] media: i2c: Add a driver for the Infineon IRS1125 depth sensor The Infineon IRS1125 is a time of flight depth sensor that @@ -141154,7 +141162,7 @@ index 000000000000..dccaca23aa76 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 Nov 2019 14:01:41 +0000 -Subject: [PATCH 171/941] drm/v3d: Don't clear MMU control bits on exception +Subject: [PATCH 0171/1074] drm/v3d: Don't clear MMU control bits on exception MMU exception conditions are reported in the V3D_MMU_CTRL register as write-1-to-clear (W1C) bits. The MMU interrupt handling code clears any @@ -141194,7 +141202,7 @@ index c88686489b88..b804783e2795 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 Nov 2019 20:18:08 +0000 -Subject: [PATCH 172/941] drm/v3d: Suppress all but the first MMU error +Subject: [PATCH 0172/1074] drm/v3d: Suppress all but the first MMU error The v3d driver currently encounters a lot of MMU PTE exceptions, so only log the first to avoid swamping the kernel log. @@ -141239,7 +141247,7 @@ index b804783e2795..063418907a19 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 12 Nov 2019 16:41:21 +0000 -Subject: [PATCH 173/941] drm/v3d: Plug dma_fence leak +Subject: [PATCH 0173/1074] drm/v3d: Plug dma_fence leak The irq_fence and done_fence are given a reference that is never released. The necessary dma_fence_put()s seem to have been @@ -141253,7 +141261,7 @@ Signed-off-by: Phil Elwell 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/v3d/v3d_gem.c b/drivers/gpu/drm/v3d/v3d_gem.c -index 49c7920608e2..bfbe33a9492d 100644 +index 2f218bb3ddd7..5c6c4558e65c 100644 --- a/drivers/gpu/drm/v3d/v3d_gem.c +++ b/drivers/gpu/drm/v3d/v3d_gem.c @@ -410,6 +410,9 @@ v3d_job_free(struct kref *ref) @@ -141273,7 +141281,7 @@ index 49c7920608e2..bfbe33a9492d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 6 Nov 2019 13:57:48 +0000 -Subject: [PATCH 174/941] staging: vchiq_arm: Register vcsm-cma as a platform +Subject: [PATCH 0174/1074] staging: vchiq_arm: Register vcsm-cma as a platform driver Following the same pattern as bcm2835-camera and bcm2835-audio, @@ -141319,7 +141327,7 @@ index b8579af3948c..5d4b976820fa 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 6 Nov 2019 13:57:58 +0000 -Subject: [PATCH 175/941] staging: vchiq_arm: Register bcm2835-codec as a +Subject: [PATCH 0175/1074] staging: vchiq_arm: Register bcm2835-codec as a platform driver Following the same pattern as bcm2835-camera and bcm2835-audio, @@ -141365,7 +141373,7 @@ index 5d4b976820fa..3bbe533007e5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 14 Nov 2019 11:59:01 +0000 -Subject: [PATCH 176/941] net: bcmgenet: The second IRQ is optional +Subject: [PATCH 0176/1074] net: bcmgenet: The second IRQ is optional As of 5.4, the kernel logs errors for absent IRQs unless requested with platform_get_irq_optional. @@ -141395,7 +141403,7 @@ index 063418907a19..0f7a23f051df 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Thu, 31 Oct 2019 14:39:44 +0000 -Subject: [PATCH 177/941] net:phy:2711 Allow ethernet LED mode to be set via +Subject: [PATCH 0177/1074] net:phy:2711 Allow ethernet LED mode to be set via device tree Add device tree entries and code to allow the specification of @@ -141407,7 +141415,7 @@ Signed-off-by: James Hughes 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c -index dbed15dc0fe7..10d70bde381c 100644 +index 644861366d54..0093792f74bb 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -313,6 +313,9 @@ static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) @@ -141447,7 +141455,8 @@ index dbed15dc0fe7..10d70bde381c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Thu, 7 Nov 2019 14:59:59 +0000 -Subject: [PATCH 178/941] net:phy:2711 Change the default ethernet LED actions +Subject: [PATCH 0178/1074] net:phy:2711 Change the default ethernet LED + actions This should return default behaviour back to that of previous releases. @@ -141456,7 +141465,7 @@ releases. 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c -index 10d70bde381c..6de9b072b6b9 100644 +index 0093792f74bb..ba621cf08fe0 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -314,7 +314,7 @@ static int bcm54xx_config_init(struct phy_device *phydev) @@ -141486,7 +141495,7 @@ index 10d70bde381c..6de9b072b6b9 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 23 Aug 2019 16:34:38 +0100 -Subject: [PATCH 179/941] v3d_drv: Handle missing clock more gracefully +Subject: [PATCH 0179/1074] v3d_drv: Handle missing clock more gracefully Signed-off-by: popcornmix --- @@ -141519,7 +141528,7 @@ index 065fb20cc4a8..bfbea29c6c1f 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 5 Sep 2019 17:59:14 +0100 -Subject: [PATCH 180/941] v3d_gem: Kick the clock so firmware knows we are +Subject: [PATCH 0180/1074] v3d_gem: Kick the clock so firmware knows we are using firmware clock interface Setting the v3d clock to low value allows firmware to handle dvfs in case @@ -141531,7 +141540,7 @@ Signed-off-by: popcornmix 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/v3d/v3d_gem.c b/drivers/gpu/drm/v3d/v3d_gem.c -index bfbe33a9492d..b4fb899a9409 100644 +index 5c6c4558e65c..59a5e0f8fa3b 100644 --- a/drivers/gpu/drm/v3d/v3d_gem.c +++ b/drivers/gpu/drm/v3d/v3d_gem.c @@ -920,6 +920,10 @@ v3d_gem_init(struct drm_device *dev) @@ -141552,8 +141561,8 @@ index bfbe33a9492d..b4fb899a9409 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 9 Sep 2019 15:49:56 +0100 -Subject: [PATCH 181/941] clk-raspberrypi: Allow cpufreq driver to also adjust - gpu clocks +Subject: [PATCH 0181/1074] clk-raspberrypi: Allow cpufreq driver to also + adjust gpu clocks For performance/power it is beneficial to adjust gpu clocks with arm clock. This is how the downstream cpufreq driver works @@ -141583,7 +141592,7 @@ index f89b9cfc4309..f4884a5b598a 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 3 Sep 2019 20:28:00 +0100 -Subject: [PATCH 182/941] clk-bcm2835: Disable v3d clock +Subject: [PATCH 0182/1074] clk-bcm2835: Disable v3d clock This is controlled by firmware, see clk-raspberrypi.c @@ -141593,10 +141602,10 @@ Signed-off-by: popcornmix 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index d686c51a68a9..84f24244d1b5 100644 +index 14ace933a466..4ec1fdd18de7 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -1741,16 +1741,12 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { +@@ -1736,16 +1736,12 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { .hold_mask = CM_PLLA_HOLDCORE, .fixed_divider = 1, .flags = CLK_SET_RATE_PARENT), @@ -141619,7 +141628,7 @@ index d686c51a68a9..84f24244d1b5 100644 [BCM2835_PLLA_DSI0] = REGISTER_PLL_DIV( SOC_ALL, .name = "plla_dsi0", -@@ -2051,14 +2047,12 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { +@@ -2046,14 +2042,12 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { .int_bits = 6, .frac_bits = 0, .tcnt_mux = 3), @@ -141647,7 +141656,7 @@ index d686c51a68a9..84f24244d1b5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 22 Nov 2019 16:23:32 +0000 -Subject: [PATCH 183/941] drm/v3d: Set dma_mask as well as coherent_dma_mask +Subject: [PATCH 0183/1074] drm/v3d: Set dma_mask as well as coherent_dma_mask Both coherent_dma_mask and dma_mask act as constraints on allocations and bounce buffer usage, so be sure to set dma_mask to the appropriate @@ -141680,7 +141689,7 @@ index bfbea29c6c1f..3237f47a4792 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 29 Jan 2019 16:13:25 +0000 -Subject: [PATCH 184/941] staging: vchiq_arm: Set up dma ranges on child +Subject: [PATCH 0184/1074] staging: vchiq_arm: Set up dma ranges on child devices The VCHIQ driver now loads the audio, camera, codec, and vc-sm @@ -141719,7 +141728,7 @@ index 3bbe533007e5..ed6c1747be64 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 18 Jun 2019 12:15:50 +0100 -Subject: [PATCH 185/941] staging: vchiq: Use the old dma controller for OF +Subject: [PATCH 0185/1074] staging: vchiq: Use the old dma controller for OF config on platform devices vchiq on Pi4 is no longer under the soc node, therefore it @@ -141776,7 +141785,7 @@ index ed6c1747be64..5e704b366676 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Fri, 27 Dec 2019 11:40:56 +0100 -Subject: [PATCH 186/941] ARM: bcm: Backport BCM2711 support from upstream +Subject: [PATCH 0186/1074] ARM: bcm: Backport BCM2711 support from upstream Make the BCM2711 a different machine, but keep it in board_bcm2835. @@ -141829,7 +141838,7 @@ index e538e0f899a5..91a758c61f48 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Luke Hinds <7058938+lukehinds@users.noreply.github.com> Date: Wed, 22 Jan 2020 16:03:00 +0000 -Subject: [PATCH 187/941] Initialise rpi-firmware before clk-bcm2835 +Subject: [PATCH 0187/1074] Initialise rpi-firmware before clk-bcm2835 The IMA (Integrity Measurement Architecture) looks for a TPM (Trusted Platform Module) having been registered when it initialises; otherwise @@ -141852,10 +141861,10 @@ Co-authored-by: Phil Elwell 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c -index 84f24244d1b5..20155bb28e3c 100644 +index 4ec1fdd18de7..4b0c8d614b85 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c -@@ -2429,7 +2429,7 @@ static int __init __bcm2835_clk_driver_init(void) +@@ -2424,7 +2424,7 @@ static int __init __bcm2835_clk_driver_init(void) { return platform_driver_register(&bcm2835_clk_driver); } @@ -141884,7 +141893,7 @@ index a3f9d0cbcebb..a47609ec7e63 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 3 Feb 2020 17:30:46 +0000 -Subject: [PATCH 188/941] staging: vchiq_arm: Give vchiq children DT nodes +Subject: [PATCH 0188/1074] staging: vchiq_arm: Give vchiq children DT nodes vchiq kernel clients are now instantiated as platform drivers rather than using DT, but the children of the vchiq interface may still @@ -141929,7 +141938,7 @@ index 5e704b366676..8d518bd9a6cd 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Jan 2020 16:04:30 +0000 -Subject: [PATCH 189/941] pinctrl: bcm2835: Remove gpiochip on error +Subject: [PATCH 0189/1074] pinctrl: bcm2835: Remove gpiochip on error A failure in gpiochip_irqchip_add leads to a leak of a gpiochip. Fix the leak with the use of devm_gpiochip_add_data. @@ -141941,10 +141950,10 @@ Signed-off-by: Phil Elwell 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c -index bbf761c41dc5..2696029e1689 100644 +index 0d1fb1a9d2db..3d53538a4f3e 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c -@@ -1300,7 +1300,7 @@ static int bcm2835_pinctrl_probe(struct platform_device *pdev) +@@ -1318,7 +1318,7 @@ static int bcm2835_pinctrl_probe(struct platform_device *pdev) girq->default_type = IRQ_TYPE_NONE; girq->handler = handle_level_irq; @@ -141952,91 +141961,7 @@ index bbf761c41dc5..2696029e1689 100644 + err = devm_gpiochip_add_data(dev, &pc->gpio_chip, pc); if (err) { dev_err(dev, "could not add GPIO chip\n"); - return err; --- -2.18.4 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Mon, 6 Jan 2020 14:05:42 +0000 -Subject: [PATCH 190/941] pinctrl: bcm2835: Change init order for gpio hogs - -pinctrl-bcm2835 is a combined pinctrl/gpio driver. Currently the gpio -side is registered first, but this breaks gpio hogs (which are -configured during gpiochip_add_data). Part of the hog initialisation -is a call to pinctrl_gpio_request, and since the pinctrl driver hasn't -yet been registered this results in an -EPROBE_DEFER from which it can -never recover. - -Change the initialisation sequence to register the pinctrl driver -first. - -See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=260600 - -Signed-off-by: Phil Elwell ---- - drivers/pinctrl/bcm/pinctrl-bcm2835.c | 29 +++++++++++++++------------ - 1 file changed, 16 insertions(+), 13 deletions(-) - -diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c -index 2696029e1689..edb3a863871d 100644 ---- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c -+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c -@@ -1244,6 +1244,18 @@ static int bcm2835_pinctrl_probe(struct platform_device *pdev) - raw_spin_lock_init(&pc->irq_lock[i]); - } - -+ pc->pctl_desc = *pdata->pctl_desc; -+ pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); -+ if (IS_ERR(pc->pctl_dev)) { -+ gpiochip_remove(&pc->gpio_chip); -+ return PTR_ERR(pc->pctl_dev); -+ } -+ -+ pc->gpio_range = *pdata->gpio_range; -+ pc->gpio_range.base = pc->gpio_chip.base; -+ pc->gpio_range.gc = &pc->gpio_chip; -+ pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range); -+ - girq = &pc->gpio_chip.irq; - girq->chip = &bcm2835_gpio_irq_chip; - girq->parent_handler = bcm2835_gpio_irq_handler; -@@ -1251,8 +1263,10 @@ static int bcm2835_pinctrl_probe(struct platform_device *pdev) - girq->parents = devm_kcalloc(dev, BCM2835_NUM_IRQS, - sizeof(*girq->parents), - GFP_KERNEL); -- if (!girq->parents) -+ if (!girq->parents) { -+ pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range); - return -ENOMEM; -+ } - - if (is_7211) { - pc->wake_irq = devm_kcalloc(dev, BCM2835_NUM_IRQS, -@@ -1303,21 +1317,10 @@ static int bcm2835_pinctrl_probe(struct platform_device *pdev) - err = devm_gpiochip_add_data(dev, &pc->gpio_chip, pc); - if (err) { - dev_err(dev, "could not add GPIO chip\n"); -+ pinctrl_remove_gpio_range(pc->pctl_dev, &pc->gpio_range); - return err; - } - -- pc->pctl_desc = *pdata->pctl_desc; -- pc->pctl_dev = devm_pinctrl_register(dev, &pc->pctl_desc, pc); -- if (IS_ERR(pc->pctl_dev)) { -- gpiochip_remove(&pc->gpio_chip); -- return PTR_ERR(pc->pctl_dev); -- } -- -- pc->gpio_range = *pdata->gpio_range; -- pc->gpio_range.base = pc->gpio_chip.base; -- pc->gpio_range.gc = &pc->gpio_chip; -- pinctrl_add_gpio_range(pc->pctl_dev, &pc->gpio_range); -- - return 0; - } - + goto out_remove; -- 2.18.4 @@ -142044,7 +141969,7 @@ index 2696029e1689..edb3a863871d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 25 Feb 2020 17:38:20 +0000 -Subject: [PATCH 191/941] pinctrl: bcm2835: Accept fewer than expected IRQs +Subject: [PATCH 0190/1074] pinctrl: bcm2835: Accept fewer than expected IRQs The downstream .dts files only request two GPIO IRQs. Truncate the array of parent IRQs when irq_of_parse_and_map returns 0. @@ -142055,10 +141980,10 @@ Signed-off-by: Phil Elwell 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c -index edb3a863871d..bda29f421e78 100644 +index 3d53538a4f3e..a1625285927e 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c -@@ -1288,9 +1288,13 @@ static int bcm2835_pinctrl_probe(struct platform_device *pdev) +@@ -1290,9 +1290,13 @@ static int bcm2835_pinctrl_probe(struct platform_device *pdev) char *name; girq->parents[i] = irq_of_parse_and_map(np, i); @@ -142081,7 +142006,7 @@ index edb3a863871d..bda29f421e78 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 2 Mar 2020 14:40:19 +0000 -Subject: [PATCH 192/941] drivers: char: vcio: Use common compat header +Subject: [PATCH 0191/1074] drivers: char: vcio: Use common compat header The definition of compat_ptr is now common for most platforms, but requires the inclusion of . @@ -142110,7 +142035,7 @@ index d2598663a2b5..a39155a94fb7 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 2 Mar 2020 14:42:23 +0000 -Subject: [PATCH 193/941] video: fbdev: bcm2708_fb: Use common compat header +Subject: [PATCH 0192/1074] video: fbdev: bcm2708_fb: Use common compat header The definition of compat_ptr is now common for most platforms, but requires the inclusion of . @@ -142139,7 +142064,7 @@ index 0e9ec3f593b8..17e9260655e4 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 6 Feb 2020 12:23:15 +0000 -Subject: [PATCH 194/941] of: overlay: Correct symbol path fixups +Subject: [PATCH 0193/1074] of: overlay: Correct symbol path fixups When symbols from overlays are added to the live tree their paths must be rebased. The translated symbol is normally the result of joining @@ -142182,7 +142107,8 @@ index 43a77d720008..bccef312f4c3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jim Quinlan Date: Mon, 15 Jan 2018 18:28:39 -0500 -Subject: [PATCH 195/941] dt-bindings: pci: Add DT docs for Brcmstb PCIe device +Subject: [PATCH 0194/1074] dt-bindings: pci: Add DT docs for Brcmstb PCIe + device The DT bindings description of the Brcmstb PCIe device is described. This node can be used by almost all Broadcom settop box chips, using @@ -142266,7 +142192,7 @@ index 000000000000..a1a9ad5e70ca From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Nataliya Korovkina Date: Thu, 12 Mar 2020 17:22:53 -0400 -Subject: [PATCH 196/941] Kbuild: Allow .dtbo overlays to be built, adjust. +Subject: [PATCH 0195/1074] Kbuild: Allow .dtbo overlays to be built, adjust. This is adjustment to commit d368ceaacdccd7732dc97d1d7987bdf7149d62e3 "kbuild: Allow .dtbo overlays to be built piecemeal" @@ -142279,7 +142205,7 @@ Signed-off-by: Nataliya Korovkina 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile -index 49c7041fd947..1272da9cb1ec 100644 +index b7879a6ff4cb..e2a077331336 100644 --- a/Makefile +++ b/Makefile @@ -1354,7 +1354,7 @@ ifneq ($(dtstree),) @@ -142298,7 +142224,7 @@ index 49c7041fd947..1272da9cb1ec 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 Apr 2020 11:22:44 +0100 -Subject: [PATCH 197/941] bcmgenet: Disable skip_umac_reset by default +Subject: [PATCH 0196/1074] bcmgenet: Disable skip_umac_reset by default Possible fixed upstream by 'net: bcmgenet: keep MAC in reset until PHY is up' @@ -142308,7 +142234,7 @@ Signed-off-by: popcornmix 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c -index 82cd64876d66..06e0e3d0f2b5 100644 +index 059bc99cda87..705dce0be7cf 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -67,7 +67,7 @@ @@ -142327,7 +142253,7 @@ index 82cd64876d66..06e0e3d0f2b5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 24 Jan 2020 14:22:06 +0000 -Subject: [PATCH 198/941] drm/fourcc: Add packed 10bit YUV 4:2:0 format +Subject: [PATCH 0197/1074] drm/fourcc: Add packed 10bit YUV 4:2:0 format Adds a format that is 3 10bit YUV 4:2:0 samples packed into a 32bit work (with 2 spare bits). @@ -142390,7 +142316,7 @@ index 5498d7a6556a..3aeab2680295 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jernej Skrabec Date: Fri, 13 Dec 2019 17:04:25 +0100 -Subject: [PATCH 199/941] media: uapi: hevc: Add scaling matrix control +Subject: [PATCH 0198/1074] media: uapi: hevc: Add scaling matrix control Taken from https://patchwork.linuxtv.org/patch/60728/ Changes (mainly documentation) have been requested. @@ -142552,7 +142478,7 @@ index a3b650ab00f6..3cf7da003cd9 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jernej Skrabec Date: Fri, 13 Dec 2019 17:04:27 +0100 -Subject: [PATCH 200/941] media: uapi: hevc: Add segment address field +Subject: [PATCH 0199/1074] media: uapi: hevc: Add segment address field From https://patchwork.linuxtv.org/patch/60725/ Changes requested, but mainly docs. @@ -142621,7 +142547,7 @@ index 3cf7da003cd9..ffc701e268eb 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 23 Mar 2020 19:00:17 +0000 -Subject: [PATCH 201/941] media: uapi: Add hevc ctrls for WPP decoding +Subject: [PATCH 0200/1074] media: uapi: Add hevc ctrls for WPP decoding WPP can allow greater parallelism within the decode, but needs offset information to be passed in. @@ -142667,8 +142593,8 @@ index ffc701e268eb..6a4901d7caf3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 24 Jan 2020 14:28:21 +0000 -Subject: [PATCH 202/941] media: videodev2.h: Add a format for column YUV4:2:0 - modes +Subject: [PATCH 0201/1074] media: videodev2.h: Add a format for column + YUV4:2:0 modes Some of the Broadcom codec blocks use a column based YUV4:2:0 image format, so add the documentation and defines for both 8 and 10 bit @@ -142950,10 +142876,10 @@ index 4a05a105a9e6..e4514f1a35f1 100644 pixfmt-nv16m pixfmt-nv24 diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c -index 9eda8b91d17a..cc7cb09b7116 100644 +index 6d6d30dbbe68..dd829cc2f29d 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c -@@ -1325,6 +1325,8 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) +@@ -1343,6 +1343,8 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) case V4L2_PIX_FMT_NV61M: descr = "Y/CrCb 4:2:2 (N-C)"; break; case V4L2_PIX_FMT_NV12MT: descr = "Y/CbCr 4:2:0 (64x32 MB, N-C)"; break; case V4L2_PIX_FMT_NV12MT_16X16: descr = "Y/CbCr 4:2:0 (16x16 MB, N-C)"; break; @@ -142984,7 +142910,7 @@ index 56c443cc2c3d..568801746d2d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 17 Mar 2020 10:53:16 +0000 -Subject: [PATCH 203/941] media: dt-bindings: media: Add binding for the +Subject: [PATCH 0202/1074] media: dt-bindings: media: Add binding for the Raspberry PI HEVC decoder Adds a binding for the HEVC decoder found on the BCM2711 / Raspberry Pi 4. @@ -143075,7 +143001,7 @@ index 000000000000..ce6b81a10303 + +... diff --git a/MAINTAINERS b/MAINTAINERS -index cbfee297e9f9..b5113e381d78 100644 +index a0102d502aed..5923b2c821f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3417,6 +3417,13 @@ N: bcm113* @@ -143099,7 +143025,7 @@ index cbfee297e9f9..b5113e381d78 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: John Cox Date: Thu, 5 Mar 2020 18:30:41 +0000 -Subject: [PATCH 204/941] staging: media: Add Raspberry Pi V4L2 H265 decoder +Subject: [PATCH 0203/1074] staging: media: Add Raspberry Pi V4L2 H265 decoder This driver is for the HEVC/H265 decoder block on the Raspberry Pi 4, and conforms to the V4L2 stateless decoder API. @@ -147481,7 +147407,7 @@ index 000000000000..9c4f3fb2f9f6 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Fri, 6 Dec 2019 13:05:27 +0100 -Subject: [PATCH 205/941] mmc: sdhci: Silence MMC warnings +Subject: [PATCH 0204/1074] mmc: sdhci: Silence MMC warnings When the MMC isn't plugged in, the driver will spam the console which is pretty annoying when using NFS. @@ -147492,7 +147418,7 @@ Signed-off-by: Maxime Ripard 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c -index 07d131fac760..1be14eaf6229 100644 +index d42e86cdff12..0533339d7979 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -41,7 +41,7 @@ @@ -147504,7 +147430,7 @@ index 07d131fac760..1be14eaf6229 100644 #define MAX_TUNING_LOOP 40 -@@ -3133,7 +3133,7 @@ static void sdhci_timeout_timer(struct timer_list *t) +@@ -3145,7 +3145,7 @@ static void sdhci_timeout_timer(struct timer_list *t) spin_lock_irqsave(&host->lock, flags); if (host->cmd && !sdhci_data_line_cmd(host->cmd)) { @@ -147513,7 +147439,7 @@ index 07d131fac760..1be14eaf6229 100644 mmc_hostname(host->mmc)); sdhci_dumpregs(host); -@@ -3155,7 +3155,7 @@ static void sdhci_timeout_data_timer(struct timer_list *t) +@@ -3167,7 +3167,7 @@ static void sdhci_timeout_data_timer(struct timer_list *t) if (host->data || host->data_cmd || (host->cmd && sdhci_data_line_cmd(host->cmd))) { @@ -147529,7 +147455,7 @@ index 07d131fac760..1be14eaf6229 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Thu, 13 Feb 2020 17:51:09 +0100 -Subject: [PATCH 206/941] dt-bindings: clock: Add a binding for the RPi +Subject: [PATCH 0205/1074] dt-bindings: clock: Add a binding for the RPi Firmware clocks The firmare running on the RPi VideoCore can be used to discover and @@ -147599,7 +147525,7 @@ index 000000000000..d37bc311321d From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Thu, 13 Feb 2020 16:45:24 +0100 -Subject: [PATCH 207/941] dt-bindings: display: vc4: hdmi: Add BCM2711 HDMI +Subject: [PATCH 0206/1074] dt-bindings: display: vc4: hdmi: Add BCM2711 HDMI controllers bindings The HDMI controllers found in the BCM2711 SoC need some adjustments to the @@ -147779,7 +147705,7 @@ index f54b4e4808f0..899d8cfa1731 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 27 Jan 2020 10:22:44 +0000 -Subject: [PATCH 208/941] drm: Checking of the pitch is only valid for linear +Subject: [PATCH 0207/1074] drm: Checking of the pitch is only valid for linear formats framebuffer_check was computing a minimum pitch value and ensuring @@ -147825,7 +147751,7 @@ index 2f5b0c2bb0fe..89ced6af9c5c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Apr 2020 22:18:52 +0100 -Subject: [PATCH 209/941] driver: char: rpivid: Remove legacy name support +Subject: [PATCH 0208/1074] driver: char: rpivid: Remove legacy name support Signed-off-by: Phil Elwell --- @@ -147884,7 +147810,7 @@ index fbf3d4f3fe0c..5f4c91924ec1 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Apr 2020 10:46:19 +0100 -Subject: [PATCH 210/941] spi: Force CS_HIGH if GPIO descriptors are used +Subject: [PATCH 0209/1074] spi: Force CS_HIGH if GPIO descriptors are used Commit f3186dd87669 ("spi: Optionally use GPIO descriptors for CS GPIOs") amended of_spi_parse_dt() to always set SPI_CS_HIGH for SPI slaves whose @@ -147947,7 +147873,7 @@ index 8c261eac2cee..4436fd319df3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 21 Apr 2020 11:30:23 +0100 -Subject: [PATCH 211/941] driver: char: rpivid: Don't map more than wanted +Subject: [PATCH 0210/1074] driver: char: rpivid: Don't map more than wanted Limit mappings to the permitted range, but don't map more than asked for otherwise we walk off the end of the allocated VMA. @@ -148004,7 +147930,7 @@ index 5f4c91924ec1..9f38083f4cb6 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Wed, 1 Apr 2020 08:39:49 +0100 -Subject: [PATCH 212/941] media: bcm2835-unicam: Driver for CCP2/CSI2 camera +Subject: [PATCH 0211/1074] media: bcm2835-unicam: Driver for CCP2/CSI2 camera interface Add driver for the Unicam camera receiver block on @@ -148030,7 +147956,7 @@ Signed-off-by: Naushir Patuck create mode 100644 drivers/media/platform/bcm2835/vc4-regs-unicam.h diff --git a/MAINTAINERS b/MAINTAINERS -index b5113e381d78..95f16069bdc4 100644 +index 5923b2c821f2..fb9e08c7637e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3425,7 +3425,7 @@ F: Documentation/devicetree/bindings/media/rpivid_hevc.jaml @@ -150735,7 +150661,7 @@ index 000000000000..ae059a171d0f From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Wed, 1 Apr 2020 08:46:29 +0100 -Subject: [PATCH 213/941] media: uapi: v4l2-core: Add sensor ancillary data +Subject: [PATCH 0212/1074] media: uapi: v4l2-core: Add sensor ancillary data V4L2 foucc type. Add V4L2_META_FMT_SENSOR_DATA format 4CC. @@ -150803,10 +150729,10 @@ index 000000000000..4a67e204d08a +and cannot be modified with a call to :c:type:`VIDIOC_SUBDEV_S_FMT`. + diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c -index cc7cb09b7116..dd6cd2dabdb7 100644 +index dd829cc2f29d..88cf92dc3698 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c -@@ -1404,6 +1404,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) +@@ -1422,6 +1422,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) case V4L2_META_FMT_UVC: descr = "UVC Payload Header Metadata"; break; case V4L2_META_FMT_D4XX: descr = "Intel D4xx UVC Metadata"; break; case V4L2_META_FMT_VIVID: descr = "Vivid Metadata"; break; @@ -150833,8 +150759,8 @@ index 568801746d2d..d93d5bb7059b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Tue, 21 Jan 2020 14:06:47 +0000 -Subject: [PATCH 214/941] media: uapi: Add MEDIA_BUS_FMT_SENSOR_DATA media bus - format +Subject: [PATCH 0213/1074] media: uapi: Add MEDIA_BUS_FMT_SENSOR_DATA media + bus format This patch adds MEDIA_BUS_FMT_SENSOR_DATA used by the bcm2835-unicam driver to support CSI-2 embedded data streams from camera sensors. @@ -150905,7 +150831,7 @@ index 84fa53ffb13f..3c2848e91c1b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Tue, 7 Apr 2020 10:42:14 +0100 -Subject: [PATCH 215/941] media: bcm2835-unicam: Add support for mulitple +Subject: [PATCH 0214/1074] media: bcm2835-unicam: Add support for mulitple device nodes. Move device node specific state out of the device state structure and @@ -151994,7 +151920,7 @@ index 9da9f22c3db5..b34551a3f44b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 16 Apr 2020 11:35:41 +0100 -Subject: [PATCH 216/941] media: bcm2835-unicam: Add embedded data node. +Subject: [PATCH 0215/1074] media: bcm2835-unicam: Add embedded data node. This patch adds a new node in the bcm2835-unicam driver to support CSI-2 embedded data streams. The subdevice is queried to see if @@ -153168,8 +153094,8 @@ index b34551a3f44b..d5e0f70b600c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 2 Apr 2020 16:08:51 +0100 -Subject: [PATCH 217/941] media: bcm2835-unicam: Use dummy buffer if none have - been queued +Subject: [PATCH 0216/1074] media: bcm2835-unicam: Use dummy buffer if none + have been queued If no buffer has been queued by a userland application, we use an internal dummy buffer for the hardware to spin in. This will allow @@ -153482,7 +153408,7 @@ index d5e0f70b600c..933f1ba49e3d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 24 Mar 2020 23:13:02 +0200 -Subject: [PATCH 218/941] media: bcm2835-unicam: Disable event-related ioctls +Subject: [PATCH 0217/1074] media: bcm2835-unicam: Disable event-related ioctls on metadata node The unicam driver supports both the SOURCE_CHANGE and CTRL events. Both @@ -153519,8 +153445,8 @@ index 933f1ba49e3d..2d4c7a247fc5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 24 Mar 2020 23:13:02 +0200 -Subject: [PATCH 219/941] media: bcm2835-unicam: Add support for the FRAME_SYNC - event +Subject: [PATCH 0218/1074] media: bcm2835-unicam: Add support for the + FRAME_SYNC event The FRAME_SYNC event is useful for userspace image processing algorithms to program the camera sensor as early as possible after frame start. @@ -153580,8 +153506,8 @@ index 2d4c7a247fc5..21d3a8585118 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 12 Mar 2020 14:09:38 +0000 -Subject: [PATCH 220/941] media: imx219: Advertise embedded data node on media - pad 1 +Subject: [PATCH 0219/1074] media: imx219: Advertise embedded data node on + media pad 1 This commit updates the imx219 driver to adverise support for embedded data streams. This can then be used by the bcm2835-unicam driver, which @@ -153922,8 +153848,8 @@ index 4771d0ef2c46..5af610f7fc08 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Tue, 21 Apr 2020 16:26:03 +0100 -Subject: [PATCH 221/941] media: bcm2835-unicam: Re-fetch mbus code from subdev - on a g_fmt call +Subject: [PATCH 0220/1074] media: bcm2835-unicam: Re-fetch mbus code from + subdev on a g_fmt call The sensor subdevice may change the Bayer order if a H/V flip is requested after a s_fmt call. Unicam g_fmt must call the subdev get_fmt @@ -153977,7 +153903,7 @@ index 21d3a8585118..d4684fb2797f 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 23 Apr 2020 10:20:26 +0100 -Subject: [PATCH 222/941] media: uapi: v4l2-core: Add ISP statistics output +Subject: [PATCH 0221/1074] media: uapi: v4l2-core: Add ISP statistics output V4L2 fourcc type Add V4L2_META_FMT_BCM2835_ISP_STATS V4L2 format type. @@ -154054,10 +153980,10 @@ index 000000000000..f974774c8252 + bcm2835_isp_stats_focus bcm2835_isp_stats + diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c -index dd6cd2dabdb7..d85a2b5abaee 100644 +index 88cf92dc3698..046bbbff85dd 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c -@@ -1405,6 +1405,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) +@@ -1423,6 +1423,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) case V4L2_META_FMT_D4XX: descr = "Intel D4xx UVC Metadata"; break; case V4L2_META_FMT_VIVID: descr = "Vivid Metadata"; break; case V4L2_META_FMT_SENSOR_DATA: descr = "Sensor Ancillary Metadata"; break; @@ -154084,7 +154010,7 @@ index d93d5bb7059b..e9fbb04a3519 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Tue, 21 Apr 2020 15:06:19 +0100 -Subject: [PATCH 223/941] media: uapi: v4l-ctrls: Add CID base for the +Subject: [PATCH 0222/1074] media: uapi: v4l-ctrls: Add CID base for the bcm2835-isp driver We are reserving controls for the new bcm2835-isp driver. @@ -154264,7 +154190,7 @@ index fbe96b80a748..0b8ae128b961 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Wed, 22 Apr 2020 08:32:32 +0100 -Subject: [PATCH 224/941] staging: vchiq: Load bcm2835_isp driver from vchiq +Subject: [PATCH 0223/1074] staging: vchiq: Load bcm2835_isp driver from vchiq bcmn2835_isp is a platform driver dependent on vchiq, therefore add the load/unload functions for it to vchiq. @@ -154309,7 +154235,7 @@ index 8d518bd9a6cd..08083aa61808 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 4 Apr 2019 13:33:47 +0100 -Subject: [PATCH 225/941] bcm2835-dma: Add proper 40-bit DMA support +Subject: [PATCH 0224/1074] bcm2835-dma: Add proper 40-bit DMA support BCM2711 has 4 DMA channels with a 40-bit address range, allowing them to access the full 4GB of memory on a Pi 4. @@ -155115,7 +155041,7 @@ index 87b5d0bef355..ac0458a8027f 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 20 Apr 2020 11:01:21 +0100 -Subject: [PATCH 226/941] media: i2c: imx219: Declare that the driver can +Subject: [PATCH 0225/1074] media: i2c: imx219: Declare that the driver can create events The flag V4L2_SUBDEV_FL_HAS_EVENTS is required if the subdev can @@ -155148,7 +155074,7 @@ index 5af610f7fc08..79faa8cce94e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Wed, 15 Jan 2020 13:40:38 +0000 -Subject: [PATCH 227/941] media: ov5647: Fix return codes from +Subject: [PATCH 0226/1074] media: ov5647: Fix return codes from ov5647_write/ov5647_read functions. Previously they were returning positive non-zero codes for success, @@ -155228,8 +155154,8 @@ index 07550377be2e..6ecc018ac431 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Wed, 29 Jan 2020 15:30:53 +0000 -Subject: [PATCH 228/941] media: ov5647: Add basic support for multiple sensor - modes. +Subject: [PATCH 0227/1074] media: ov5647: Add basic support for multiple + sensor modes. Specifically: @@ -155641,7 +155567,7 @@ index 6ecc018ac431..0d84b7640cf3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Wed, 29 Jan 2020 15:31:23 +0000 -Subject: [PATCH 229/941] media: ov5647: Add V4L2 controls for analogue gain, +Subject: [PATCH 0228/1074] media: ov5647: Add V4L2 controls for analogue gain, exposure and AWB Added basic v4l2_ctrl_handler infrastructure (there was none @@ -155924,7 +155850,7 @@ index 0d84b7640cf3..16cfafc9cf9c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Wed, 29 Jan 2020 15:31:28 +0000 -Subject: [PATCH 230/941] media: ov5647: Add extra 10-bit sensor modes. +Subject: [PATCH 0229/1074] media: ov5647: Add extra 10-bit sensor modes. The 8-bit VGA mode remains, we add the following 10-bit modes: @@ -156479,7 +156405,7 @@ index 16cfafc9cf9c..fc6c5d9c4532 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Wed, 29 Jan 2020 15:31:32 +0000 -Subject: [PATCH 231/941] media: ov5647: change defaults to better match raw +Subject: [PATCH 0230/1074] media: ov5647: change defaults to better match raw camera applications. Specifically: @@ -156544,7 +156470,7 @@ index fc6c5d9c4532..66b3ee5cc190 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 11:46:07 +0100 -Subject: [PATCH 232/941] media: i2c: ov5647: Add support for g_selection to +Subject: [PATCH 0231/1074] media: i2c: ov5647: Add support for g_selection to reflect cropping/binning In order to apply lens shading correctly the client needs to know how @@ -156756,7 +156682,8 @@ index 66b3ee5cc190..e7c7e3ab4b38 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 11:50:52 +0100 -Subject: [PATCH 233/941] media: i2c: ov5467: Fixup error path to release mutex +Subject: [PATCH 0232/1074] media: i2c: ov5467: Fixup error path to release + mutex "87f3ab9 media: ov5647: Add basic support for multiple sensor modes." added a return path ov5647_set_fmt that didn't release the device @@ -156791,7 +156718,7 @@ index e7c7e3ab4b38..09d68b0b4a13 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 12:25:13 +0100 -Subject: [PATCH 234/941] media: i2c: ov5647: Support V4L2_CID_PIXEL_RATE +Subject: [PATCH 0233/1074] media: i2c: ov5647: Support V4L2_CID_PIXEL_RATE Clients need to know the pixel rate in order to compute exposure and frame rate values. @@ -156928,7 +156855,7 @@ index 09d68b0b4a13..02d72feb837e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 17:25:56 +0100 -Subject: [PATCH 235/941] media: i2c: ov5647: Set V4L2_SUBDEV_FL_HAS_EVENTS +Subject: [PATCH 0234/1074] media: i2c: ov5647: Set V4L2_SUBDEV_FL_HAS_EVENTS flag The ov5647 subdev can generate control events, therefore set @@ -157077,7 +157004,7 @@ index 02d72feb837e..c012e0b3d68b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 21:39:58 +0100 -Subject: [PATCH 236/941] media: i2c: ov5647: Add support for V4L2_CID_VBLANK +Subject: [PATCH 0235/1074] media: i2c: ov5647: Add support for V4L2_CID_VBLANK Adds vblank control to allow for frame rate control. @@ -157288,7 +157215,7 @@ index c012e0b3d68b..445a0ce186ec 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 21:47:25 +0100 -Subject: [PATCH 237/941] media: i2c: ov5647: Neither analogue gain nor +Subject: [PATCH 0236/1074] media: i2c: ov5647: Neither analogue gain nor exposure need EXECUTE_ON_WRITE The controls for analogue gain and exposure were defined with @@ -157352,7 +157279,7 @@ index 445a0ce186ec..49247711221c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 22:11:01 +0100 -Subject: [PATCH 238/941] media: i2c: ov5647: Use member names in mode tables +Subject: [PATCH 0237/1074] media: i2c: ov5647: Use member names in mode tables To make adding new members to the mode structures easier, use the member names in the initialisers. @@ -157469,7 +157396,7 @@ index 49247711221c..da4ef30d8f32 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 30 Apr 2020 11:03:00 +0100 -Subject: [PATCH 239/941] media: i2c: ov5647: Advertise the correct exposure +Subject: [PATCH 0238/1074] media: i2c: ov5647: Advertise the correct exposure range Exposure is clipped by the VTS of the mode, so needs to be updated as @@ -157594,7 +157521,7 @@ index da4ef30d8f32..6d84d2785f74 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 16:45:02 +0100 -Subject: [PATCH 240/941] media: bcm2835-unicam: Add support for +Subject: [PATCH 0239/1074] media: bcm2835-unicam: Add support for VIDIOC_[S|G]_SELECTION Sensors are now reflecting cropping and scaling parameters through @@ -157682,7 +157609,7 @@ index d4684fb2797f..0e1d525a0b35 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 29 Apr 2020 22:05:09 +0100 -Subject: [PATCH 241/941] media: bcm2835-unicam: Do not stop streaming in +Subject: [PATCH 0240/1074] media: bcm2835-unicam: Do not stop streaming in unicam_release unicam_release calls _vb2_fop_release, which will call stop_streaming @@ -157716,7 +157643,7 @@ index 0e1d525a0b35..c7e211d04ed3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 30 Apr 2020 09:52:50 +0100 -Subject: [PATCH 242/941] media: bcm2835-unicam: Fix reference counting in +Subject: [PATCH 0241/1074] media: bcm2835-unicam: Fix reference counting in unicam_open The reference counting of node->open was only incremented after @@ -157760,7 +157687,7 @@ index c7e211d04ed3..a79fc4d99d36 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jacko Dirks Date: Tue, 5 May 2020 14:28:14 +0200 -Subject: [PATCH 243/941] media: i2c: tc358743: Fix fallthrough warning +Subject: [PATCH 0242/1074] media: i2c: tc358743: Fix fallthrough warning Signed-off-by: Jacko Dirks --- @@ -157786,7 +157713,7 @@ index b77b900bf6ad..ee6779a81d43 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jacko Dirks Date: Tue, 5 May 2020 14:33:31 +0200 -Subject: [PATCH 244/941] media: bcm2835: unicam: Fix uninitialized warning +Subject: [PATCH 0243/1074] media: bcm2835: unicam: Fix uninitialized warning Signed-off-by: Jacko Dirks --- @@ -157813,7 +157740,7 @@ index a79fc4d99d36..92e5deb4c6fd 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 5 May 2020 19:45:41 +0100 -Subject: [PATCH 245/941] video: bcm2708_fb: Disable FB if no displays found +Subject: [PATCH 0244/1074] video: bcm2708_fb: Disable FB if no displays found If the firmware hasn't detected a display, the driver would assume one display was available, but because it had failed to retrieve the @@ -157853,7 +157780,7 @@ index 17e9260655e4..dac5c021ce52 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 7 May 2020 15:50:54 +0100 -Subject: [PATCH 246/941] dt-bindings: media: i2c: Add IMX477 CMOS sensor +Subject: [PATCH 0245/1074] dt-bindings: media: i2c: Add IMX477 CMOS sensor binding Add YAML device tree binding for IMX477 CMOS image sensor. @@ -157990,7 +157917,7 @@ index 000000000000..0994e13e67f6 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 May 2020 18:28:27 +0100 -Subject: [PATCH 247/941] media: bcm2835-unicam: Always service interrupts +Subject: [PATCH 0246/1074] media: bcm2835-unicam: Always service interrupts From when bringing up the driver, there was a check in the isr to ignore interrupts (claiming them handled) should the driver @@ -158047,7 +157974,7 @@ index 92e5deb4c6fd..52a534d932bf 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 13 May 2020 20:10:15 +0100 -Subject: [PATCH 248/941] sc16is7xx: Fix for hardware flow control +Subject: [PATCH 0247/1074] sc16is7xx: Fix for hardware flow control The SC16IS7XX hardware flow control is mishandled by the driver in a number of ways: @@ -158123,8 +158050,8 @@ index f64e051c0030..8e3b83fac33c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 15 May 2020 13:42:10 +0100 -Subject: [PATCH 249/941] staging: vc04_services: mmal-vchiq: Update parameters - list +Subject: [PATCH 0248/1074] staging: vc04_services: mmal-vchiq: Update + parameters list Adds in a couple of new MMAL parameter defines. @@ -158157,7 +158084,7 @@ index 27bafc5f01d2..89059bca0b77 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 15 May 2020 13:48:59 +0100 -Subject: [PATCH 250/941] staging:vc04_services: bcm2835-camera: Request +Subject: [PATCH 0249/1074] staging:vc04_services: bcm2835-camera: Request headers with I-frame V4L2 wishes to have the codec header bytes in the same buffer as the @@ -158191,44 +158118,10 @@ index df90c1f9d148..bea37cb163fc 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Phil Elwell -Date: Wed, 8 Apr 2020 15:23:56 +0100 -Subject: [PATCH 251/941] kbuild: Disable gcc plugins - -The GCC plugin feature leads to different kernel configurations on what -ought to be equivalent build systems because they depend on the build -hosts native compilers rather than the cross compilers needed for the -target. This causes problems with module symbol version mismatches. - -Disable GCC plugins for all build hosts. - -Advanced build script hackery borrowed from a patch by milhouse. - -Signed-off-by: Phil Elwell ---- - scripts/gcc-plugin.sh | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/scripts/gcc-plugin.sh b/scripts/gcc-plugin.sh -index b79fd0bea838..c3d0c8fedbdd 100755 ---- a/scripts/gcc-plugin.sh -+++ b/scripts/gcc-plugin.sh -@@ -1,5 +1,6 @@ - #!/bin/sh - # SPDX-License-Identifier: GPL-2.0 -+exit 1 # Disable plugins - - set -e - --- -2.18.4 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 19 May 2020 11:46:47 +0100 -Subject: [PATCH 252/941] media: bcm2835-unicam: Retain packing information on - G_FMT +Subject: [PATCH 0250/1074] media: bcm2835-unicam: Retain packing information + on G_FMT The change to retrieve the pixel format always on g_fmt didn't check whether the native or unpacked version of the format @@ -158281,7 +158174,7 @@ index 52a534d932bf..b32b2d33a4e2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 5 May 2020 15:23:32 +0100 -Subject: [PATCH 253/941] zswap: Defer zswap initialisation +Subject: [PATCH 0251/1074] zswap: Defer zswap initialisation Enabling zswap support in the kernel configuration costs about 1.5MB of RAM, even when zswap is not enabled at runtime. This cost can be @@ -158412,7 +158305,7 @@ index fbb782924ccc..0ca7f6a68d20 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 22 May 2020 11:35:33 +0100 -Subject: [PATCH 254/941] SQUASH: pinctrl: bcm2835: Set base for bcm2711 GPIO +Subject: [PATCH 0252/1074] SQUASH: pinctrl: bcm2835: Set base for bcm2711 GPIO to 0 Without this patch GPIOs don't seem to work properly, primarily @@ -158426,7 +158319,7 @@ Signed-off-by: Phil Elwell 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c -index bda29f421e78..c5d88157f4b2 100644 +index a1625285927e..a94a9c82f0e5 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c @@ -378,7 +378,7 @@ static const struct gpio_chip bcm2711_gpio_chip = { @@ -158445,7 +158338,7 @@ index bda29f421e78..c5d88157f4b2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 20 May 2020 16:36:33 +0100 -Subject: [PATCH 255/941] staging: vchiq_arm: Clean up 40-bit DMA support +Subject: [PATCH 0253/1074] staging: vchiq_arm: Clean up 40-bit DMA support Manage the split between addresses for the VPU and addresses for the 40-bit DMA controller with a dedicated DMA device pointer that on non- @@ -158627,7 +158520,7 @@ index 08083aa61808..c3ca18e4e85c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Thu, 28 May 2020 11:09:48 +0100 -Subject: [PATCH 256/941] media: bcm2835-unicam: change minimum number of +Subject: [PATCH 0254/1074] media: bcm2835-unicam: change minimum number of vb2_queue buffers to 1 Since the unicam driver was modified to write to a dummy buffer when no @@ -158661,7 +158554,7 @@ index b32b2d33a4e2..e76323af0952 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 19 May 2020 09:46:12 +0100 -Subject: [PATCH 257/941] brcmfmac: BCM43436 needs dedicated firmware +Subject: [PATCH 0255/1074] brcmfmac: BCM43436 needs dedicated firmware Signed-off-by: Phil Elwell --- @@ -158697,7 +158590,7 @@ index bfe4b8e5a716..d6a4d6b8ea29 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Fri, 5 Jun 2020 09:22:49 +0000 -Subject: [PATCH 258/941] snd_bcm2835: disable HDMI audio when vc4 is used +Subject: [PATCH 0256/1074] snd_bcm2835: disable HDMI audio when vc4 is used (#3640) Things don't work too well when both the vc4 driver and the firmware @@ -158736,7 +158629,7 @@ index f926784c622d..31968fec297f 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Apr 2018 14:42:27 +0100 -Subject: [PATCH 259/941] gpiolib: Don't prevent IRQ usage of output GPIOs +Subject: [PATCH 0257/1074] gpiolib: Don't prevent IRQ usage of output GPIOs Upstream Linux deems using output GPIOs to generate IRQs as a bogus use case, even though the BCM2835 GPIO controller is capable of doing @@ -158792,7 +158685,7 @@ index af5bb8fedfea..2bd26c985246 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 11 Jun 2020 09:57:03 +0100 -Subject: [PATCH 260/941] PCI: brcmstb: Add DT property to control L1SS +Subject: [PATCH 0258/1074] PCI: brcmstb: Add DT property to control L1SS The BRCM PCIe block has controls to enable control of the CLKREQ# signal by the L1SS, and to gate the refclk with the CLKREQ# input. @@ -158877,7 +158770,7 @@ index 9c3d2982248d..fea54f6fb7b1 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Markus Proeller Date: Tue, 16 Jun 2020 13:24:31 +0200 -Subject: [PATCH 261/941] media: irs1125: Using i2c_transfer for ic2 reads +Subject: [PATCH 0259/1074] media: irs1125: Using i2c_transfer for ic2 reads Reading data over i2c is done by using i2c_transfer to ensure that this operation can't be interrupted. @@ -158948,7 +158841,7 @@ index 25e1dd5a08ef..6680afea5894 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Markus Proeller Date: Tue, 16 Jun 2020 13:27:42 +0200 -Subject: [PATCH 262/941] media: irs1125: Refactoring and debug messages +Subject: [PATCH 0260/1074] media: irs1125: Refactoring and debug messages Changed some variable names to comply with checkpatch --strict mode. Debug messages added. @@ -159077,7 +158970,7 @@ index 6680afea5894..289f0c25b141 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Markus Proeller Date: Tue, 16 Jun 2020 13:31:36 +0200 -Subject: [PATCH 263/941] media: irs1125: Atomic access to imager +Subject: [PATCH 0261/1074] media: irs1125: Atomic access to imager reconfiguration Instead of changing the exposure and framerate settings for all sequences, @@ -159466,7 +159359,7 @@ index dccaca23aa76..96d676123d5e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Markus Proeller Date: Tue, 16 Jun 2020 13:33:56 +0200 -Subject: [PATCH 264/941] media: irs1125: Keep HW in sync after imager reset +Subject: [PATCH 0262/1074] media: irs1125: Keep HW in sync after imager reset When closing the video device, the irs1125 is put in power down state. To keep V4L2 ctrls and the HW in sync, v4l2_ctrl_handler_setup is @@ -159653,7 +159546,7 @@ index d59e05004a03..30c3d2640386 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Maxim Mikityanskiy Date: Sat, 20 Jun 2020 15:40:00 +0300 -Subject: [PATCH 265/941] staging: bcm2835-audio: Add missing MODULE_ALIAS +Subject: [PATCH 0263/1074] staging: bcm2835-audio: Add missing MODULE_ALIAS Commit 8353fe6f1e0f ("Revert "staging: bcm2835-audio: Drop DT dependency"") reverts the upstream change and makes bcm2835-audio use @@ -159689,7 +159582,7 @@ index 31968fec297f..a0cba3823e5e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 Jun 2020 11:51:05 +0100 -Subject: [PATCH 266/941] brcmfmac: Prefer a ccode from OTP over nvram file +Subject: [PATCH 0264/1074] brcmfmac: Prefer a ccode from OTP over nvram file Allow the nvram file to set a default ccode (regulatory domain) without overriding one set in OTP. @@ -159826,7 +159719,7 @@ index d821a4758f8c..adfea97c9a43 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 23 Jun 2020 10:05:57 +0100 -Subject: [PATCH 267/941] drivers: media: Remove the downstream version of +Subject: [PATCH 0265/1074] drivers: media: Remove the downstream version of bcm2835-unicam About to be replaced by the upstream version. @@ -163017,7 +162910,7 @@ index ae059a171d0f..000000000000 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Mon, 4 May 2020 12:25:41 +0300 -Subject: [PATCH 268/941] media: bcm2835-unicam: Driver for CCP2/CSI2 camera +Subject: [PATCH 0266/1074] media: bcm2835-unicam: Driver for CCP2/CSI2 camera interface Add a driver for the Unicam camera receiver block on BCM283x processors. @@ -163046,7 +162939,7 @@ Reported-by: kbuild test robot create mode 100644 drivers/media/platform/bcm2835/vc4-regs-unicam.h diff --git a/MAINTAINERS b/MAINTAINERS -index 95f16069bdc4..78fd5dd08269 100644 +index fb9e08c7637e..8ee9a5e8db7f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3429,7 +3429,7 @@ M: Raspberry Pi Kernel Maintenance @@ -166185,7 +166078,7 @@ index 000000000000..ae059a171d0f From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 23 Jun 2020 14:32:51 +0100 -Subject: [PATCH 269/941] media: bcm2835-unicam: Add support for +Subject: [PATCH 0267/1074] media: bcm2835-unicam: Add support for get_mbus_config to set num lanes Use the get_mbus_config pad subdev call to allow a source to use @@ -166247,8 +166140,8 @@ index 2e9387cbc1e0..9adfb2d217af 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 26 Jun 2020 15:53:44 +0100 -Subject: [PATCH 270/941] media: bcm2835-unicam: Avoid gcc warning over {0} on - endpoint +Subject: [PATCH 0268/1074] media: bcm2835-unicam: Avoid gcc warning over {0} + on endpoint Older gcc versions object to = { 0 } initialisation if the first elemtn in the structure is a substructure. @@ -166280,7 +166173,7 @@ index 9adfb2d217af..a65e1da55142 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Fri, 12 Jun 2020 15:53:46 +0200 -Subject: [PATCH 271/941] media: i2c: imx290: set the format before +Subject: [PATCH 0269/1074] media: i2c: imx290: set the format before VIDIOC_SUBDEV_G_FMT is called Commit d46cfdc86c30d5ec768924f0b1e2683c8d20b671 upstream. @@ -166326,7 +166219,7 @@ index adcddf3204f7..ad2318390678 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 25 Jun 2020 08:28:51 +0100 -Subject: [PATCH 272/941] media: i2c: imx290: Add support for 74.25MHz clock +Subject: [PATCH 0270/1074] media: i2c: imx290: Add support for 74.25MHz clock The existing driver only supported a clock of 37.125MHz, but the sensor also supports 74.25MHz. @@ -166596,7 +166489,7 @@ index ad2318390678..fe1078f7721e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 11 Jun 2020 13:41:43 +0100 -Subject: [PATCH 273/941] media: i2c: imx290: Correct range for V4L2_CID_GAIN +Subject: [PATCH 0271/1074] media: i2c: imx290: Correct range for V4L2_CID_GAIN to 0-238 The datasheet lists the gain as being 0.0 to 72.0dB in 0.3dB steps, which @@ -166628,7 +166521,7 @@ index fe1078f7721e..c193b7b8d8e5 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 11 Jun 2020 14:36:40 +0100 -Subject: [PATCH 274/941] media: i2c: imx290: Convert HMAX setting into +Subject: [PATCH 0272/1074] media: i2c: imx290: Convert HMAX setting into V4L2_CID_HBLANK Userspace needs to know HBLANK if it is to work out exposure times @@ -166793,7 +166686,7 @@ index c193b7b8d8e5..b12213f6355b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 11 Jun 2020 18:09:12 +0100 -Subject: [PATCH 275/941] media: i2c: imx290: Add support for V4L2_CID_VBLANK +Subject: [PATCH 0273/1074] media: i2c: imx290: Add support for V4L2_CID_VBLANK In order to calculate framerate and durations userspace needs the vertical blanking information. This can be configurable, @@ -166940,7 +166833,7 @@ index b12213f6355b..357614af64f7 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 11 Jun 2020 18:19:13 +0100 -Subject: [PATCH 276/941] media: i2c: imx290: Add exposure control to the +Subject: [PATCH 0274/1074] media: i2c: imx290: Add exposure control to the driver. Adds support for V4L2_CID_EXPOSURE so that userspace can control @@ -167039,7 +166932,7 @@ index 357614af64f7..2eae36b0ad5c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 11 Jun 2020 18:34:16 +0100 -Subject: [PATCH 277/941] media: i2c: imx290: Add H and V flip controls +Subject: [PATCH 0275/1074] media: i2c: imx290: Add H and V flip controls The sensor supports horizontal and vertical flips, so support them through V4L2_CID_HFLIP and V4L2_CID_VFLIP. @@ -167128,7 +167021,7 @@ index 2eae36b0ad5c..3d6734da7d64 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 25 Jun 2020 16:52:14 +0100 -Subject: [PATCH 278/941] media: dt-bindings: media: i2c: Add mono version to +Subject: [PATCH 0276/1074] media: dt-bindings: media: i2c: Add mono version to IMX290 bindings The IMX290 module is available as either monochrome or colour and @@ -167170,8 +167063,8 @@ index a3cc21410f7c..294e63650d9e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 25 Jun 2020 17:03:11 +0100 -Subject: [PATCH 279/941] media : i2c: imx290: Add support for the mono sensor - variant. +Subject: [PATCH 0277/1074] media : i2c: imx290: Add support for the mono + sensor variant. The IMX290 module is available as either mono or colour (Bayer). @@ -167361,7 +167254,7 @@ index 3d6734da7d64..09df70849928 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 26 Jun 2020 18:11:49 +0100 -Subject: [PATCH 280/941] media: i2c: imx290: Switch set_hmax to use +Subject: [PATCH 0278/1074] media: i2c: imx290: Switch set_hmax to use imx290_write_buffered_reg imx290_set_hmax was using two independent writes to set up hmax, @@ -167410,7 +167303,7 @@ index 09df70849928..b824dfe29bbd 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 2 Jul 2020 13:53:20 +0100 -Subject: [PATCH 281/941] serial: 8250: bcm2835aux - defer if clock is zero +Subject: [PATCH 0279/1074] serial: 8250: bcm2835aux - defer if clock is zero See: https://github.com/raspberrypi/linux/issues/3700 @@ -167444,8 +167337,8 @@ index fd95860cd661..fc36e5963e30 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 7 May 2020 16:59:03 +0100 -Subject: [PATCH 282/941] media: Add a pixel format for MIPI packed 12bit luma - only. +Subject: [PATCH 0280/1074] media: Add a pixel format for MIPI packed 12bit + luma only. This is the format used by monochrome 12bit image sensors. @@ -167522,10 +167415,10 @@ index e4514f1a35f1..c6e4d17ccd68 100644 pixfmt-y10b pixfmt-y10p diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c -index d85a2b5abaee..1dc10b5c4ee0 100644 +index 046bbbff85dd..333ecbf999d3 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c -@@ -1283,6 +1283,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) +@@ -1301,6 +1301,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) case V4L2_PIX_FMT_Y16_BE: descr = "16-bit Greyscale BE"; break; case V4L2_PIX_FMT_Y10BPACK: descr = "10-bit Greyscale (Packed)"; break; case V4L2_PIX_FMT_Y10P: descr = "10-bit Greyscale (MIPI Packed)"; break; @@ -167552,8 +167445,8 @@ index e9fbb04a3519..e72c28ea0235 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 25 Jun 2020 17:51:03 +0100 -Subject: [PATCH 283/941] media: Add a pixel format for MIPI packed 14bit luma - only. +Subject: [PATCH 0281/1074] media: Add a pixel format for MIPI packed 14bit + luma only. This is the format used by monochrome 14bit image sensors. @@ -167639,10 +167532,10 @@ index c6e4d17ccd68..ba3a5b599362 100644 pixfmt-y10p pixfmt-y16 diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c -index 1dc10b5c4ee0..d72b462bb054 100644 +index 333ecbf999d3..2ee902f64ddc 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c -@@ -1284,6 +1284,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) +@@ -1302,6 +1302,7 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt) case V4L2_PIX_FMT_Y10BPACK: descr = "10-bit Greyscale (Packed)"; break; case V4L2_PIX_FMT_Y10P: descr = "10-bit Greyscale (MIPI Packed)"; break; case V4L2_PIX_FMT_Y12P: descr = "12-bit Greyscale (MIPI Packed)"; break; @@ -167669,7 +167562,7 @@ index e72c28ea0235..53d526dbe004 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 25 Jun 2020 17:53:32 +0100 -Subject: [PATCH 284/941] media: bcm2835-unicam: Add support for 12bit mono +Subject: [PATCH 0282/1074] media: bcm2835-unicam: Add support for 12bit mono packed format Now that V4L2_PIX_FMT_Y12P is defined, allow passing raw 12bit @@ -167700,7 +167593,7 @@ index a65e1da55142..5edb58cc9f03 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 25 Jun 2020 18:03:47 +0100 -Subject: [PATCH 285/941] media: bcm2835-unicam: Add support for 14bit mono +Subject: [PATCH 0283/1074] media: bcm2835-unicam: Add support for 14bit mono sources Now that V4L2_PIX_FMT_Y14 and V4L2_PIX_FMT_Y14P are defined, @@ -167735,8 +167628,8 @@ index 5edb58cc9f03..778153943160 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 1 Jul 2020 10:57:57 +0100 -Subject: [PATCH 286/941] media: bcm2835-unicam: Add support for unpacked 14bit - Bayer formats +Subject: [PATCH 0284/1074] media: bcm2835-unicam: Add support for unpacked + 14bit Bayer formats Now that the 14bit non-packed Bayer formats are defined, add them into the supported formats lookup table. @@ -167783,7 +167676,7 @@ index 778153943160..c97ecfc0e55b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Jul 2020 20:28:27 +0100 -Subject: [PATCH 287/941] bcm2835-dma: Add NO_WAIT_RESP flag +Subject: [PATCH 0285/1074] bcm2835-dma: Add NO_WAIT_RESP flag Use bit 27 of the dreq value (the second cell of the DT DMA descriptor) to request that the WAIT_RESP bit is not set. @@ -167843,7 +167736,7 @@ index ac0458a8027f..84b1009da23b 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Zefa Chen Date: Fri, 17 May 2019 18:23:03 +0800 -Subject: [PATCH 288/941] media: i2c: add ov9281 driver. +Subject: [PATCH 0286/1074] media: i2c: add ov9281 driver. Change-Id: I7b77250bbc56d2f861450cf77271ad15f9b88ab1 Signed-off-by: Zefa Chen @@ -169072,7 +168965,7 @@ index 000000000000..4a6324a3e5da From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 14 Apr 2020 15:47:09 +0100 -Subject: [PATCH 289/941] media: i2c: ov9281: fix mclk issue when probe +Subject: [PATCH 0287/1074] media: i2c: ov9281: fix mclk issue when probe multiple camera. Takes the ov9281 part only from the Rockchip's patch. @@ -169138,8 +169031,8 @@ index 4a6324a3e5da..0d6759942f79 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 14 Apr 2020 15:51:50 +0100 -Subject: [PATCH 290/941] media: i2c: ov9281: add enum_frame_interval function - for iq tool 2.2 and hal3 +Subject: [PATCH 0288/1074] media: i2c: ov9281: add enum_frame_interval + function for iq tool 2.2 and hal3 Adds the ov9281 parts of the Rockchip patch adding enum_frame_interval to a large number of drivers. @@ -169241,8 +169134,8 @@ index 0d6759942f79..273aa904683c 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 14 Apr 2020 16:12:33 +0100 -Subject: [PATCH 291/941] media: i2c: ov9281: Fixup for recent kernel releases, - and remove custom code +Subject: [PATCH 0289/1074] media: i2c: ov9281: Fixup for recent kernel + releases, and remove custom code The Rockchip driver was based on a 4.4 kernel, and had several custom Rockchip parts. @@ -169924,7 +169817,7 @@ index 273aa904683c..7b9bea476cfb 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 6 Jul 2020 17:51:32 +0100 -Subject: [PATCH 292/941] media: i2c: ov9281: Read chip ID via 2 reads +Subject: [PATCH 0290/1074] media: i2c: ov9281: Read chip ID via 2 reads Vision Components have made an OV9281 module which blocks reading back the majority of registers to comply with NDAs, and in doing @@ -169972,8 +169865,8 @@ index 7b9bea476cfb..bb8efc3d3cba 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Jul 2020 10:31:53 +0100 -Subject: [PATCH 293/941] media: i2c: imx290: Explicitly set v&h blank on mode - change +Subject: [PATCH 0291/1074] media: i2c: imx290: Explicitly set v&h blank on + mode change __v4l2_ctrl_modify_range only updates the current value should it be invalid within the new range. That can leave modes producing @@ -170024,7 +169917,7 @@ index b824dfe29bbd..b28834823f86 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Jul 2020 11:23:48 +0100 -Subject: [PATCH 294/941] media: i2c: imx290: Add support for g_selection to +Subject: [PATCH 0292/1074] media: i2c: imx290: Add support for g_selection to report cropping Userspace needs to know the cropping arrangements for each mode, @@ -170186,8 +170079,8 @@ index b28834823f86..24bf40d729b7 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Jul 2020 11:51:26 +0100 -Subject: [PATCH 295/941] media: i2c: imx290: Set the colorspace fields in the - format +Subject: [PATCH 0293/1074] media: i2c: imx290: Set the colorspace fields in + the format The colorspace fields were left untouched in imx290_set_fmt which lead to a v4l2-compliance failure. @@ -170223,7 +170116,7 @@ index 24bf40d729b7..2e646fb01856 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Jul 2020 14:23:40 +0100 -Subject: [PATCH 296/941] media: bcm2835-unicam: Reinstate V4L2_CAP_READWRITE +Subject: [PATCH 0294/1074] media: bcm2835-unicam: Reinstate V4L2_CAP_READWRITE in the caps v4l2-compliance throws a failure if the device doesn't advertise @@ -170257,7 +170150,7 @@ index c97ecfc0e55b..20b46a9e04c3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Jul 2020 14:52:43 +0100 -Subject: [PATCH 297/941] media: bcm2835-unicam: Ensure type is VIDEO_CAPTURE +Subject: [PATCH 0295/1074] media: bcm2835-unicam: Ensure type is VIDEO_CAPTURE in [g|s]_selection [g|s]_selection pass in a buffer type that needs to be validated @@ -170299,7 +170192,7 @@ index 20b46a9e04c3..de288f87ff2f 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Mon, 11 May 2020 13:02:22 +0100 -Subject: [PATCH 298/941] media: bcm2835: unicam: Set VPU min clock freq to +Subject: [PATCH 0296/1074] media: bcm2835: unicam: Set VPU min clock freq to 250Mhz. When streaming with Unicam, the VPU must have a clock frequency of at @@ -170432,7 +170325,7 @@ index de288f87ff2f..295db7564614 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Mon, 11 May 2020 13:06:27 +0100 -Subject: [PATCH 299/941] dt-bindings: bcm2835-unicam: Update documentation +Subject: [PATCH 0297/1074] dt-bindings: bcm2835-unicam: Update documentation with new clock params Update the documentation to reflect the new "VPU" clock needed @@ -170476,7 +170369,7 @@ index 7714fb374b34..164d0377dcd2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 4 Jul 2020 01:45:08 +0300 -Subject: [PATCH 300/941] media: i2c: ov5647: Parse and register properties +Subject: [PATCH 0298/1074] media: i2c: ov5647: Parse and register properties Parse device properties and register controls for them using the V4L2 fwnode properties helpers. @@ -170531,7 +170424,7 @@ index 6d84d2785f74..86a821a172b3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Jul 2020 10:33:19 +0100 -Subject: [PATCH 301/941] leds: Add the actpwr trigger +Subject: [PATCH 0299/1074] leds: Add the actpwr trigger The actpwr trigger is a meta trigger that cycles between an inverted mmc0 and default-on. It is written in a way that could fairly easily @@ -170777,7 +170670,7 @@ index 000000000000..1a52107ceb03 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 21 Jul 2020 17:34:09 +0100 -Subject: [PATCH 302/941] staging: vchiq_arm: children inherit DMA config +Subject: [PATCH 0300/1074] staging: vchiq_arm: children inherit DMA config Although it is no longer necessary for vchiq's children to have a different DMA configuration to the parent, they do still need to @@ -170819,7 +170712,7 @@ index c3ca18e4e85c..a936102dbc34 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 22 Jul 2020 17:59:31 +0100 -Subject: [PATCH 303/941] bcm2835-dma: Advertise the full DMA range +Subject: [PATCH 0301/1074] bcm2835-dma: Advertise the full DMA range Unless the DMA mask is set wider than 32 bits, DMA mapping will use a bounce buffer. @@ -170902,7 +170795,7 @@ index 84b1009da23b..d1127b9058a4 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 29 Jul 2020 13:47:55 +0100 -Subject: [PATCH 304/941] ARM: proc-v7: Force misalignment of early stmia +Subject: [PATCH 0302/1074] ARM: proc-v7: Force misalignment of early stmia In an attempt to prevent the problem of CPUn not starting, explicitly misalign the scratch space used to save registers acros the cache @@ -170968,7 +170861,7 @@ index 28c9d32fa99a..3e77e8982df3 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Wed, 19 Aug 2020 17:02:22 +0300 -Subject: [PATCH 305/941] media: bcm2835: unicam: Select MEDIA_CONTROLLER and +Subject: [PATCH 0303/1074] media: bcm2835: unicam: Select MEDIA_CONTROLLER and VIDEO_V4L2_SUBDEV_API That is what almost all other drivers appear to be doing. @@ -171001,7 +170894,7 @@ index ec46e3ef053c..7d5a0e6ba762 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Wed, 19 Aug 2020 17:05:53 +0300 -Subject: [PATCH 306/941] staging: media: rpivid: Select MEDIA_CONTROLLER and +Subject: [PATCH 0304/1074] staging: media: rpivid: Select MEDIA_CONTROLLER and MEDIA_CONTROLLER_REQUEST_API MEDIA_CONTROLLER_REQUEST_API is a hidden option. If rpivid depends on it, @@ -171039,8 +170932,8 @@ index 58b470c80db1..304c3edf0e71 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 27 Aug 2020 16:30:26 +0100 -Subject: [PATCH 307/941] media: bcm2835-unicam: Drop WARN on uing direct cache - alias +Subject: [PATCH 0305/1074] media: bcm2835-unicam: Drop WARN on uing direct + cache alias Pi 0&1 pass all ARM accesses through the VPU L2 cache, therefore the dma-ranges property sets the cache alias bits to other @@ -171079,8 +170972,8 @@ index 295db7564614..35ddb97f7f75 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 10 Jul 2020 12:40:50 +0100 -Subject: [PATCH 308/941] media: i2c: tc358743: Only allow supported pixel fmts - in set_fmt +Subject: [PATCH 0306/1074] media: i2c: tc358743: Only allow supported pixel + fmts in set_fmt Fix commit "media: tc358743: Return an appropriate colorspace from tc358743_set_fmt" to ensure that the format passed in to set_fmt @@ -171115,7 +171008,7 @@ index ee6779a81d43..ce64c25c1511 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 7 Jul 2020 18:29:10 +0100 -Subject: [PATCH 309/941] media: i2c: ov9281: Add support for 8 bit readout +Subject: [PATCH 0307/1074] media: i2c: ov9281: Add support for 8 bit readout The sensor supports 8 bit mode as well as 10bit, so add the relevant code to allow selection of this. @@ -171309,7 +171202,7 @@ index bb8efc3d3cba..9610c24ceff1 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 3 Sep 2020 14:02:21 +0100 -Subject: [PATCH 310/941] bcm2835-mmc: uninitialized_var is no more +Subject: [PATCH 0308/1074] bcm2835-mmc: uninitialized_var is no more --- drivers/mmc/host/bcm2835-mmc.c | 2 +- @@ -171335,7 +171228,7 @@ index caf46be8eb0d..cdc1318e5936 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 3 Sep 2020 14:02:41 +0100 -Subject: [PATCH 311/941] dwc_otg: whitelist_table is now productlist_table +Subject: [PATCH 0309/1074] dwc_otg: whitelist_table is now productlist_table --- drivers/usb/core/otg_productlist.h | 2 +- @@ -171361,7 +171254,7 @@ index 1839e169469b..b16e528859a8 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: detule Date: Tue, 2 Oct 2018 04:10:08 -0400 -Subject: [PATCH 312/941] vchiq_2835_arm: Implement a DMA pool for small bulk +Subject: [PATCH 0310/1074] vchiq_2835_arm: Implement a DMA pool for small bulk transfers (#2699) During a bulk transfer we request a DMA allocation to hold the @@ -171489,7 +171382,7 @@ index 76179739de12..2a1d8d6541b2 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 3 Sep 2020 17:09:07 +0100 -Subject: [PATCH 313/941] include/firmware: Add enum for +Subject: [PATCH 0311/1074] include/firmware: Add enum for RPI_FIRMWARE_FRAMEBUFFER_GET_DISPLAY_ID Used by audio and FKMS. @@ -171518,8 +171411,8 @@ index 4728741132b1..21bfcafae74e 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 19 May 2020 14:54:28 +0100 -Subject: [PATCH 314/941] drm/vc4: Adopt the dma configuration from the HVS or - V3D component +Subject: [PATCH 0312/1074] drm/vc4: Adopt the dma configuration from the HVS + or V3D component vc4_drv isn't necessarily under the /soc node in DT as it is a virtual device, but it is the one that does the allocations. @@ -171578,7 +171471,7 @@ index 839610f8092a..de02c57ed276 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 10 Mar 2020 22:21:15 +0000 -Subject: [PATCH 315/941] vc4_hdmi: Set HDMI_MAI_FMT +Subject: [PATCH 0313/1074] vc4_hdmi: Set HDMI_MAI_FMT The hardware uses this for generating the right audio data island packets when using formats other than PCM @@ -171590,10 +171483,10 @@ Signed-off-by: Dom Cobley 2 files changed, 78 insertions(+) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c -index ee293f061f0a..8c02dcc213b9 100644 +index 5d5c4e9a8621..f1551a4a7ba6 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -988,6 +988,44 @@ static void vc4_hdmi_audio_shutdown(struct snd_pcm_substream *substream, +@@ -989,6 +989,44 @@ static void vc4_hdmi_audio_shutdown(struct snd_pcm_substream *substream, vc4_hdmi->audio.substream = NULL; } @@ -171638,7 +171531,7 @@ index ee293f061f0a..8c02dcc213b9 100644 /* HDMI audio codec callbacks */ static int vc4_hdmi_audio_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, -@@ -998,6 +1036,8 @@ static int vc4_hdmi_audio_hw_params(struct snd_pcm_substream *substream, +@@ -999,6 +1037,8 @@ static int vc4_hdmi_audio_hw_params(struct snd_pcm_substream *substream, struct device *dev = &vc4_hdmi->pdev->dev; u32 audio_packet_config, channel_mask; u32 channel_map; @@ -171647,7 +171540,7 @@ index ee293f061f0a..8c02dcc213b9 100644 if (substream != vc4_hdmi->audio.substream) return -EINVAL; -@@ -1018,6 +1058,14 @@ static int vc4_hdmi_audio_hw_params(struct snd_pcm_substream *substream, +@@ -1019,6 +1059,14 @@ static int vc4_hdmi_audio_hw_params(struct snd_pcm_substream *substream, vc4_hdmi_audio_set_mai_clock(vc4_hdmi); @@ -171710,7 +171603,7 @@ index be2c32a519b3..489f921ef44d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 17 Mar 2020 12:12:22 +0100 -Subject: [PATCH 316/941] drm/vc4: add iec958 controls to vc4_hdmi +Subject: [PATCH 0314/1074] drm/vc4: add iec958 controls to vc4_hdmi Although vc4 get an IEC958 formatted stream passed in from userspace the driver needs the info from the channel status bits to properly @@ -171726,7 +171619,7 @@ Signed-off-by: Matthias Reichl 2 files changed, 62 insertions(+) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c -index 8c02dcc213b9..a7758efaa078 100644 +index f1551a4a7ba6..ef612b115788 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -44,6 +44,7 @@ @@ -171737,7 +171630,7 @@ index 8c02dcc213b9..a7758efaa078 100644 #include #include #include -@@ -1179,6 +1180,47 @@ static int vc4_hdmi_audio_eld_ctl_get(struct snd_kcontrol *kcontrol, +@@ -1180,6 +1181,47 @@ static int vc4_hdmi_audio_eld_ctl_get(struct snd_kcontrol *kcontrol, return 0; } @@ -171785,7 +171678,7 @@ index 8c02dcc213b9..a7758efaa078 100644 static const struct snd_kcontrol_new vc4_hdmi_audio_controls[] = { { .access = SNDRV_CTL_ELEM_ACCESS_READ | -@@ -1188,6 +1230,19 @@ static const struct snd_kcontrol_new vc4_hdmi_audio_controls[] = { +@@ -1189,6 +1231,19 @@ static const struct snd_kcontrol_new vc4_hdmi_audio_controls[] = { .info = vc4_hdmi_audio_eld_ctl_info, .get = vc4_hdmi_audio_eld_ctl_get, }, @@ -171805,7 +171698,7 @@ index 8c02dcc213b9..a7758efaa078 100644 }; static const struct snd_soc_dapm_widget vc4_hdmi_audio_widgets[] = { -@@ -1308,6 +1363,11 @@ static int vc4_hdmi_audio_init(struct vc4_hdmi *vc4_hdmi) +@@ -1309,6 +1364,11 @@ static int vc4_hdmi_audio_init(struct vc4_hdmi *vc4_hdmi) vc4_hdmi->audio.dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; vc4_hdmi->audio.dma_data.maxburst = 2; @@ -171837,7 +171730,7 @@ index 0526a9cf608a..dec3e0a9ab07 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 19 Mar 2020 20:00:35 +0100 -Subject: [PATCH 317/941] drm/vc4: move setup from hw_params to prepare +Subject: [PATCH 0315/1074] drm/vc4: move setup from hw_params to prepare Configuring HDMI audio registers in prepare allows us to take IEC958 bits into account which are set by the alsa hook after @@ -171849,10 +171742,10 @@ Signed-off-by: Matthias Reichl 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c -index a7758efaa078..846b027126d0 100644 +index ef612b115788..59728c288ce4 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -1028,9 +1028,8 @@ static int sample_rate_to_mai_fmt(int samplerate) +@@ -1029,9 +1029,8 @@ static int sample_rate_to_mai_fmt(int samplerate) } /* HDMI audio codec callbacks */ @@ -171864,7 +171757,7 @@ index a7758efaa078..846b027126d0 100644 { struct vc4_hdmi *vc4_hdmi = dai_to_hdmi(dai); struct drm_encoder *encoder = &vc4_hdmi->encoder.base.base; -@@ -1043,12 +1042,15 @@ static int vc4_hdmi_audio_hw_params(struct snd_pcm_substream *substream, +@@ -1044,12 +1043,15 @@ static int vc4_hdmi_audio_hw_params(struct snd_pcm_substream *substream, if (substream != vc4_hdmi->audio.substream) return -EINVAL; @@ -171885,7 +171778,7 @@ index a7758efaa078..846b027126d0 100644 HDMI_WRITE(HDMI_MAI_CTL, VC4_HD_MAI_CTL_RESET | -@@ -1270,7 +1272,7 @@ static const struct snd_soc_component_driver vc4_hdmi_audio_component_drv = { +@@ -1271,7 +1273,7 @@ static const struct snd_soc_component_driver vc4_hdmi_audio_component_drv = { static const struct snd_soc_dai_ops vc4_hdmi_audio_dai_ops = { .startup = vc4_hdmi_audio_startup, .shutdown = vc4_hdmi_audio_shutdown, @@ -171901,7 +171794,7 @@ index a7758efaa078..846b027126d0 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dom Cobley Date: Fri, 10 Jul 2020 11:51:16 +0100 -Subject: [PATCH 318/941] drm/vc4: enable HBR MAI format on HBR streams +Subject: [PATCH 0316/1074] drm/vc4: enable HBR MAI format on HBR streams Signed-off-by: Matthias Reichl --- @@ -171909,10 +171802,10 @@ Signed-off-by: Matthias Reichl 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c -index 846b027126d0..7f740fde0b4d 100644 +index 59728c288ce4..dfb7de1eb097 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -1062,7 +1062,11 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, +@@ -1063,7 +1063,11 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, vc4_hdmi_audio_set_mai_clock(vc4_hdmi); mai_sample_rate = sample_rate_to_mai_fmt(vc4_hdmi->audio.samplerate); @@ -171932,7 +171825,7 @@ index 846b027126d0..7f740fde0b4d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dom Cobley Date: Thu, 25 Jun 2020 18:48:40 +0100 -Subject: [PATCH 319/941] vc4_hdmi: Remove firmware logic for MAI threshold +Subject: [PATCH 0317/1074] vc4_hdmi: Remove firmware logic for MAI threshold setting This was a workaround for bugs in hardware on earlier Pi models @@ -171946,10 +171839,10 @@ Signed-off-by: Dom Cobley 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c -index 7f740fde0b4d..5a8f4adc3840 100644 +index dfb7de1eb097..7b8a3e44c0df 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -1083,22 +1083,12 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, +@@ -1084,22 +1084,12 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, audio_packet_config |= VC4_SET_FIELD(channel_mask, VC4_HDMI_AUDIO_PACKET_CEA_MASK); @@ -171985,7 +171878,7 @@ index 7f740fde0b4d..5a8f4adc3840 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dom Cobley Date: Tue, 30 Jun 2020 11:23:49 +0100 -Subject: [PATCH 320/941] vc_hdmi: Set VC4_HDMI_MAI_CONFIG_FORMAT_REVERSE +Subject: [PATCH 0318/1074] vc_hdmi: Set VC4_HDMI_MAI_CONFIG_FORMAT_REVERSE Without this bit set, HDMI_MAI_FORMAT doesn't pick up the format and samplerate from DVP_CFG_MAI0_FMT and you @@ -171997,10 +171890,10 @@ Signed-off-by: Dom Cobley 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c -index 5a8f4adc3840..a016f30a662d 100644 +index 7b8a3e44c0df..d89231bc85f1 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c -@@ -1092,6 +1092,7 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, +@@ -1093,6 +1093,7 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, HDMI_WRITE(HDMI_MAI_CONFIG, VC4_HDMI_MAI_CONFIG_BIT_REVERSE | @@ -172015,7 +171908,7 @@ index 5a8f4adc3840..a016f30a662d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 20 Apr 2020 18:00:38 +0100 -Subject: [PATCH 321/941] vc4: Report channel mapping back to userspace +Subject: [PATCH 0319/1074] vc4: Report channel mapping back to userspace This follows logic in hdmi-codec.c to use speaker layout from ELD to choose a suitable speaker mapping based on @@ -172032,7 +171925,7 @@ Signed-off-by: Dom Cobley 2 files changed, 418 insertions(+) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c -index a016f30a662d..30de86b63a58 100644 +index d89231bc85f1..167fbf60eaf1 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -49,6 +49,7 @@ @@ -172043,7 +171936,7 @@ index a016f30a662d..30de86b63a58 100644 #include "media/cec.h" #include "vc4_drv.h" #include "vc4_hdmi.h" -@@ -83,6 +84,311 @@ +@@ -84,6 +85,311 @@ #define CEC_CLOCK_FREQ 40000 #define VC4_HSM_MID_CLOCK 149985000 @@ -172355,7 +172248,7 @@ index a016f30a662d..30de86b63a58 100644 static int vc4_hdmi_debugfs_regs(struct seq_file *m, void *unused) { struct drm_info_node *node = (struct drm_info_node *)m->private; -@@ -378,6 +684,9 @@ static void vc4_hdmi_set_audio_infoframe(struct drm_encoder *encoder) +@@ -379,6 +685,9 @@ static void vc4_hdmi_set_audio_infoframe(struct drm_encoder *encoder) frame.audio.sample_size = HDMI_AUDIO_SAMPLE_SIZE_STREAM; frame.audio.channels = vc4_hdmi->audio.channels; @@ -172365,7 +172258,7 @@ index a016f30a662d..30de86b63a58 100644 vc4_hdmi_write_infoframe(encoder, &frame); } -@@ -952,6 +1261,10 @@ static int vc4_hdmi_audio_startup(struct snd_pcm_substream *substream, +@@ -953,6 +1262,10 @@ static int vc4_hdmi_audio_startup(struct snd_pcm_substream *substream, if (ret) return ret; @@ -172376,7 +172269,7 @@ index a016f30a662d..30de86b63a58 100644 return 0; } -@@ -1038,6 +1351,7 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, +@@ -1039,6 +1352,7 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, u32 channel_map; u32 mai_audio_format; u32 mai_sample_rate; @@ -172384,7 +172277,7 @@ index a016f30a662d..30de86b63a58 100644 if (substream != vc4_hdmi->audio.substream) return -EINVAL; -@@ -1100,6 +1414,14 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, +@@ -1101,6 +1415,14 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream, HDMI_WRITE(HDMI_AUDIO_PACKET_CONFIG, audio_packet_config); vc4_hdmi_set_n_cts(vc4_hdmi); @@ -172399,7 +172292,7 @@ index a016f30a662d..30de86b63a58 100644 vc4_hdmi_set_audio_infoframe(encoder); return 0; -@@ -1218,6 +1540,89 @@ static int vc4_spdif_mask_get(struct snd_kcontrol *kcontrol, +@@ -1219,6 +1541,89 @@ static int vc4_spdif_mask_get(struct snd_kcontrol *kcontrol, return 0; } @@ -172489,7 +172382,7 @@ index a016f30a662d..30de86b63a58 100644 static const struct snd_kcontrol_new vc4_hdmi_audio_controls[] = { { .access = SNDRV_CTL_ELEM_ACCESS_READ | -@@ -1240,6 +1645,16 @@ static const struct snd_kcontrol_new vc4_hdmi_audio_controls[] = { +@@ -1241,6 +1646,16 @@ static const struct snd_kcontrol_new vc4_hdmi_audio_controls[] = { .info = vc4_spdif_info, .get = vc4_spdif_mask_get, }, @@ -172527,7 +172420,7 @@ index dec3e0a9ab07..e9dbdc80eb2d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Fri, 24 Jan 2020 14:25:41 +0000 -Subject: [PATCH 322/941] drm/vc4: Add support for DRM_FORMAT_P030 to vc4 +Subject: [PATCH 0320/1074] drm/vc4: Add support for DRM_FORMAT_P030 to vc4 planes This currently doesn't handle non-zero source rectangles correctly, @@ -172696,7 +172589,7 @@ index af4b8944a603..ec591839810a 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 17 Sep 2019 18:28:17 +0100 -Subject: [PATCH 323/941] drm/vc4: Add support for YUV color encodings and +Subject: [PATCH 0321/1074] drm/vc4: Add support for YUV color encodings and ranges The BT601/BT709 color encoding and limited vs full @@ -172843,7 +172736,7 @@ index 489f921ef44d..78fd28599aeb 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 7 Sep 2020 17:32:27 +0100 -Subject: [PATCH 324/941] drm/vc4: Add firmware-kms mode +Subject: [PATCH 0322/1074] drm/vc4: Add firmware-kms mode This is a squash of all firmware-kms related patches from previous branches, up to and including @@ -175227,7 +175120,7 @@ index 21bfcafae74e..b3ab1c091f41 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 19 May 2020 16:20:30 +0100 -Subject: [PATCH 325/941] drm/vc4: Add FKMS as an acceptable node for dma +Subject: [PATCH 0323/1074] drm/vc4: Add FKMS as an acceptable node for dma ranges. Under FKMS, the firmware (via FKMS) also requires the VideoCore cache @@ -175260,7 +175153,7 @@ index c8f9031fa946..d6576841d0fe 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Fri, 8 May 2020 10:00:12 +0100 -Subject: [PATCH 326/941] media: i2c: Add driver for Sony IMX477 sensor +Subject: [PATCH 0324/1074] media: i2c: Add driver for Sony IMX477 sensor Adds a driver for the 12MPix Sony IMX477 CSI2 sensor. Whilst the sensor supports 2 or 4 CSI2 data lanes, this driver @@ -175283,10 +175176,10 @@ Signed-off-by: Naushir Patuck create mode 100644 drivers/media/i2c/imx477.c diff --git a/MAINTAINERS b/MAINTAINERS -index 78fd5dd08269..a0448741417a 100644 +index 8ee9a5e8db7f..55b3180a8ab0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS -@@ -16346,6 +16346,14 @@ S: Maintained +@@ -16345,6 +16345,14 @@ S: Maintained T: git git://linuxtv.org/media_tree.git F: drivers/media/i2c/imx355.c @@ -177539,7 +177432,7 @@ index 000000000000..ec56b0cfd57b From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Fri, 8 May 2020 09:41:17 +0100 -Subject: [PATCH 327/941] media: i2c: imx477: Add support for adaptive frame +Subject: [PATCH 0325/1074] media: i2c: imx477: Add support for adaptive frame control Use V4L2_CID_EXPOSURE_AUTO_PRIORITY to control if the driver should @@ -177727,7 +177620,7 @@ index ec56b0cfd57b..bd0e2c291a32 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Tue, 19 May 2020 16:56:33 +0100 -Subject: [PATCH 328/941] media: i2c: imx477: Return correct result on sensor +Subject: [PATCH 0326/1074] media: i2c: imx477: Return correct result on sensor id verification The test should return -EIO if the register read id does not match @@ -177758,7 +177651,7 @@ index bd0e2c291a32..e42a8633087d 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 4 Jul 2020 01:45:08 +0300 -Subject: [PATCH 329/941] media: i2c: imx477: Parse and register properties +Subject: [PATCH 0327/1074] media: i2c: imx477: Parse and register properties Parse device properties and register controls for them using the V4L2 fwnode properties helpers. @@ -177809,7 +177702,7 @@ index e42a8633087d..3fbb173fa079 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Wed, 13 May 2020 18:28:27 +0100 -Subject: [PATCH 330/941] media: bcm2835-unicam: Always service interrupts +Subject: [PATCH 0328/1074] media: bcm2835-unicam: Always service interrupts From when bringing up the driver, there was a check in the isr to ignore interrupts (claiming them handled) should the driver @@ -177866,7 +177759,7 @@ index 35ddb97f7f75..d4ba911fe7e7 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jacko Dirks Date: Tue, 5 May 2020 14:33:31 +0200 -Subject: [PATCH 331/941] media: bcm2835: unicam: Fix uninitialized warning +Subject: [PATCH 0329/1074] media: bcm2835: unicam: Fix uninitialized warning Signed-off-by: Jacko Dirks --- @@ -177893,7 +177786,7 @@ index d4ba911fe7e7..8b091d3a0d15 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 23 Jun 2020 15:14:05 +0100 -Subject: [PATCH 332/941] media: bcm2835-unicam: Fixup review comments from +Subject: [PATCH 0330/1074] media: bcm2835-unicam: Fixup review comments from Hans. Updates the driver based on the upstream review comments from @@ -178145,8 +178038,8 @@ index 8b091d3a0d15..7dc96c3e8e83 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 19 May 2020 11:46:47 +0100 -Subject: [PATCH 333/941] media: bcm2835-unicam: Retain packing information on - G_FMT +Subject: [PATCH 0331/1074] media: bcm2835-unicam: Retain packing information + on G_FMT The change to retrieve the pixel format always on g_fmt didn't check whether the native or unpacked version of the format @@ -178199,7 +178092,7 @@ index 7dc96c3e8e83..98ae97c367ea 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Thu, 28 May 2020 11:09:48 +0100 -Subject: [PATCH 334/941] media: bcm2835-unicam: change minimum number of +Subject: [PATCH 0332/1074] media: bcm2835-unicam: change minimum number of vb2_queue buffers to 1 Since the unicam driver was modified to write to a dummy buffer when no @@ -178233,7 +178126,7 @@ index 98ae97c367ea..6501fb205e20 100644 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 1 Sep 2020 18:15:27 +0100 -Subject: [PATCH 335/941] staging/fbtft: Add support for display variants +Subject: [PATCH 0333/1074] staging/fbtft: Add support for display variants Display variants are intended as a replacement for the now-deleted fbtft_device drivers. Drivers can register additional compatible @@ -178319,7 +178212,7 @@ index 9670a8989b91..1a3219657cbb 100644 MODULE_DESCRIPTION("FB driver for the ST7735R LCD Controller"); MODULE_AUTHOR("Noralf Tronnes"); diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c -index 3723269890d5..6f4ad6e97637 100644 +index d0c8d85f3db0..39ecd7c7ec61 100644 --- a/drivers/staging/fbtft/fbtft-core.c +++ b/drivers/staging/fbtft/fbtft-core.c @@ -24,6 +24,8 @@ @@ -178331,7 +178224,7 @@ index 3723269890d5..6f4ad6e97637 100644 #include