From cd3b600cbf6d4d7562c5f43f719f23ed9953ea22 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sat, 24 Sep 2016 19:30:39 +0100 Subject: [PATCH 1/2] linux: update to linux-4.7.5 --- packages/linux/package.mk | 2 +- .../{4.7.4 => 4.7.5}/linux-004-fix-build-with-gcc-5.patch | 0 .../{4.7.4 => 4.7.5}/linux-051-ouya_controller_support.patch | 0 .../{4.7.4 => 4.7.5}/linux-052-XBOX_remote_support.patch | 0 .../{4.7.4 => 4.7.5}/linux-053-spinelplus-remote-0.2.patch | 0 ...ton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch | 0 ...57-Removed-MCE-customer-code-restriction-in-rc6-decode.patch | 0 .../linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch | 0 .../{4.7.4 => 4.7.5}/linux-062-imon_pad_ignore_diagonal.patch | 0 .../linux-203-stb0899_enable_low_symbol_rate.patch | 0 .../{4.7.4 => 4.7.5}/linux-212-mantis_stb0899_faster_lock.patch | 0 .../patches/{4.7.4 => 4.7.5}/linux-221-ddbridge-features.patch | 0 .../{4.7.4 => 4.7.5}/linux-222-stb0899_signal_quality.patch | 0 .../{4.7.4 => 4.7.5}/linux-227-ds3000-invalid-symbol-rate.patch | 0 .../{4.7.4 => 4.7.5}/linux-231-Terratec-Cinergy-S2-Rev.3.patch | 0 .../linux-950-saa716x_PCIe_interface_chipset.patch.todo | 0 ...990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch | 0 ...x-999-i915-extend-fake-hdmi-live-status-to-valley-view.patch | 0 .../linux-999-i915-implement-passthrough-colors.patch | 0 .../{4.7.4 => 4.7.5}/linux-999-i915-use-legacy-turbo.patch | 0 .../linux-999-partly-revert-media-rc-core.patch | 0 ...999.02-0001-pm-disable-async-suspend-resume-by-default.patch | 0 ...5-eMMC-Don-t-initialize-partitions-on-RPMB-flagged-are.patch | 0 23 files changed, 1 insertion(+), 1 deletion(-) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-004-fix-build-with-gcc-5.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-051-ouya_controller_support.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-052-XBOX_remote_support.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-053-spinelplus-remote-0.2.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-062-imon_pad_ignore_diagonal.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-203-stb0899_enable_low_symbol_rate.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-212-mantis_stb0899_faster_lock.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-221-ddbridge-features.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-222-stb0899_signal_quality.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-227-ds3000-invalid-symbol-rate.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-231-Terratec-Cinergy-S2-Rev.3.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-950-saa716x_PCIe_interface_chipset.patch.todo (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-999-i915-extend-fake-hdmi-live-status-to-valley-view.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-999-i915-implement-passthrough-colors.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-999-i915-use-legacy-turbo.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-999-partly-revert-media-rc-core.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch (100%) rename packages/linux/patches/{4.7.4 => 4.7.5}/linux-999.05-eMMC-Don-t-initialize-partitions-on-RPMB-flagged-are.patch (100%) diff --git a/packages/linux/package.mk b/packages/linux/package.mk index af5d2cba83..8bdb7cec12 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -61,7 +61,7 @@ case "$LINUX" in PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan irqbalanced" ;; *) - PKG_VERSION="4.7.4" + PKG_VERSION="4.7.5" PKG_URL="http://www.kernel.org/pub/linux/kernel/v4.x/$PKG_NAME-$PKG_VERSION.tar.xz" ;; esac diff --git a/packages/linux/patches/4.7.4/linux-004-fix-build-with-gcc-5.patch b/packages/linux/patches/4.7.5/linux-004-fix-build-with-gcc-5.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-004-fix-build-with-gcc-5.patch rename to packages/linux/patches/4.7.5/linux-004-fix-build-with-gcc-5.patch diff --git a/packages/linux/patches/4.7.4/linux-051-ouya_controller_support.patch b/packages/linux/patches/4.7.5/linux-051-ouya_controller_support.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-051-ouya_controller_support.patch rename to packages/linux/patches/4.7.5/linux-051-ouya_controller_support.patch diff --git a/packages/linux/patches/4.7.4/linux-052-XBOX_remote_support.patch b/packages/linux/patches/4.7.5/linux-052-XBOX_remote_support.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-052-XBOX_remote_support.patch rename to packages/linux/patches/4.7.5/linux-052-XBOX_remote_support.patch diff --git a/packages/linux/patches/4.7.4/linux-053-spinelplus-remote-0.2.patch b/packages/linux/patches/4.7.5/linux-053-spinelplus-remote-0.2.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-053-spinelplus-remote-0.2.patch rename to packages/linux/patches/4.7.5/linux-053-spinelplus-remote-0.2.patch diff --git a/packages/linux/patches/4.7.4/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch b/packages/linux/patches/4.7.5/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch rename to packages/linux/patches/4.7.5/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch diff --git a/packages/linux/patches/4.7.4/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch b/packages/linux/patches/4.7.5/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch rename to packages/linux/patches/4.7.5/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch diff --git a/packages/linux/patches/4.7.4/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch b/packages/linux/patches/4.7.5/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch rename to packages/linux/patches/4.7.5/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch diff --git a/packages/linux/patches/4.7.4/linux-062-imon_pad_ignore_diagonal.patch b/packages/linux/patches/4.7.5/linux-062-imon_pad_ignore_diagonal.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-062-imon_pad_ignore_diagonal.patch rename to packages/linux/patches/4.7.5/linux-062-imon_pad_ignore_diagonal.patch diff --git a/packages/linux/patches/4.7.4/linux-203-stb0899_enable_low_symbol_rate.patch b/packages/linux/patches/4.7.5/linux-203-stb0899_enable_low_symbol_rate.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-203-stb0899_enable_low_symbol_rate.patch rename to packages/linux/patches/4.7.5/linux-203-stb0899_enable_low_symbol_rate.patch diff --git a/packages/linux/patches/4.7.4/linux-212-mantis_stb0899_faster_lock.patch b/packages/linux/patches/4.7.5/linux-212-mantis_stb0899_faster_lock.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-212-mantis_stb0899_faster_lock.patch rename to packages/linux/patches/4.7.5/linux-212-mantis_stb0899_faster_lock.patch diff --git a/packages/linux/patches/4.7.4/linux-221-ddbridge-features.patch b/packages/linux/patches/4.7.5/linux-221-ddbridge-features.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-221-ddbridge-features.patch rename to packages/linux/patches/4.7.5/linux-221-ddbridge-features.patch diff --git a/packages/linux/patches/4.7.4/linux-222-stb0899_signal_quality.patch b/packages/linux/patches/4.7.5/linux-222-stb0899_signal_quality.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-222-stb0899_signal_quality.patch rename to packages/linux/patches/4.7.5/linux-222-stb0899_signal_quality.patch diff --git a/packages/linux/patches/4.7.4/linux-227-ds3000-invalid-symbol-rate.patch b/packages/linux/patches/4.7.5/linux-227-ds3000-invalid-symbol-rate.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-227-ds3000-invalid-symbol-rate.patch rename to packages/linux/patches/4.7.5/linux-227-ds3000-invalid-symbol-rate.patch diff --git a/packages/linux/patches/4.7.4/linux-231-Terratec-Cinergy-S2-Rev.3.patch b/packages/linux/patches/4.7.5/linux-231-Terratec-Cinergy-S2-Rev.3.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-231-Terratec-Cinergy-S2-Rev.3.patch rename to packages/linux/patches/4.7.5/linux-231-Terratec-Cinergy-S2-Rev.3.patch diff --git a/packages/linux/patches/4.7.4/linux-950-saa716x_PCIe_interface_chipset.patch.todo b/packages/linux/patches/4.7.5/linux-950-saa716x_PCIe_interface_chipset.patch.todo similarity index 100% rename from packages/linux/patches/4.7.4/linux-950-saa716x_PCIe_interface_chipset.patch.todo rename to packages/linux/patches/4.7.5/linux-950-saa716x_PCIe_interface_chipset.patch.todo diff --git a/packages/linux/patches/4.7.4/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch b/packages/linux/patches/4.7.5/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch rename to packages/linux/patches/4.7.5/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch diff --git a/packages/linux/patches/4.7.4/linux-999-i915-extend-fake-hdmi-live-status-to-valley-view.patch b/packages/linux/patches/4.7.5/linux-999-i915-extend-fake-hdmi-live-status-to-valley-view.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-999-i915-extend-fake-hdmi-live-status-to-valley-view.patch rename to packages/linux/patches/4.7.5/linux-999-i915-extend-fake-hdmi-live-status-to-valley-view.patch diff --git a/packages/linux/patches/4.7.4/linux-999-i915-implement-passthrough-colors.patch b/packages/linux/patches/4.7.5/linux-999-i915-implement-passthrough-colors.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-999-i915-implement-passthrough-colors.patch rename to packages/linux/patches/4.7.5/linux-999-i915-implement-passthrough-colors.patch diff --git a/packages/linux/patches/4.7.4/linux-999-i915-use-legacy-turbo.patch b/packages/linux/patches/4.7.5/linux-999-i915-use-legacy-turbo.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-999-i915-use-legacy-turbo.patch rename to packages/linux/patches/4.7.5/linux-999-i915-use-legacy-turbo.patch diff --git a/packages/linux/patches/4.7.4/linux-999-partly-revert-media-rc-core.patch b/packages/linux/patches/4.7.5/linux-999-partly-revert-media-rc-core.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-999-partly-revert-media-rc-core.patch rename to packages/linux/patches/4.7.5/linux-999-partly-revert-media-rc-core.patch diff --git a/packages/linux/patches/4.7.4/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch b/packages/linux/patches/4.7.5/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch rename to packages/linux/patches/4.7.5/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch diff --git a/packages/linux/patches/4.7.4/linux-999.05-eMMC-Don-t-initialize-partitions-on-RPMB-flagged-are.patch b/packages/linux/patches/4.7.5/linux-999.05-eMMC-Don-t-initialize-partitions-on-RPMB-flagged-are.patch similarity index 100% rename from packages/linux/patches/4.7.4/linux-999.05-eMMC-Don-t-initialize-partitions-on-RPMB-flagged-are.patch rename to packages/linux/patches/4.7.5/linux-999.05-eMMC-Don-t-initialize-partitions-on-RPMB-flagged-are.patch From 41a3b15260134861a87c6307ff5cdc2df902f7f4 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sat, 24 Sep 2016 19:32:59 +0100 Subject: [PATCH 2/2] RPi/RPi2: update linux support patches for linux 4.7.5 --- .../patches/linux/linux-01-RPi_support.patch | 1208 ++++++++++++----- .../patches/linux/linux-01-RPi_support.patch | 1208 ++++++++++++----- 2 files changed, 1786 insertions(+), 630 deletions(-) diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index af90b477ef..8117c4e308 100644 --- a/projects/RPi/patches/linux/linux-01-RPi_support.patch +++ b/projects/RPi/patches/linux/linux-01-RPi_support.patch @@ -1,7 +1,7 @@ -From 6dec3415cadfbfa6c6aab985cb5bf3993a4a15bf Mon Sep 17 00:00:00 2001 +From 85140dab667b9b2fe05e60da0019f74e629cce84 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 27 Apr 2016 17:43:28 +0100 -Subject: [PATCH 001/155] Revert "SUNRPC: Make NFS swap work with multipath" +Subject: [PATCH 001/160] Revert "SUNRPC: Make NFS swap work with multipath" This reverts commit 15001e5a7e1e207b6bd258cd8f187814cd15b6dc. --- @@ -95,10 +95,10 @@ index 2808d550d2730ff8e36b6d8c072c65e1631064c4..b362c2f099941c1f3388507983ffbdd1 EXPORT_SYMBOL_GPL(rpc_clnt_swap_deactivate); #endif /* CONFIG_SUNRPC_SWAP */ -From ae9d0ccae437098371657db53e18b403b987bf68 Mon Sep 17 00:00:00 2001 +From 80447b7a0872dee9f8c87cb0c8acf231cf8c8d33 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 002/155] smsx95xx: fix crimes against truesize +Subject: [PATCH 002/160] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -145,10 +145,10 @@ index dc989a8b5afbd62b07cd65a2fa5edde67d3cc5fb..116680e3089f16e1e3e9113a3b93e62c usbnet_skb_return(dev, ax_skb); } -From cb683c4df049afc33c0b6be4497a3d4870a8035c Mon Sep 17 00:00:00 2001 +From afedae5b0feb987339b93429825104d89b0b2473 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Apr 2015 16:58:45 +0100 -Subject: [PATCH 003/155] smsc95xx: Disable turbo mode by default +Subject: [PATCH 003/160] smsc95xx: Disable turbo mode by default --- drivers/net/usb/smsc95xx.c | 2 +- @@ -168,10 +168,10 @@ index 116680e3089f16e1e3e9113a3b93e62cb78cc1bb..aa4cb43dcd9ba83b042332bc15a4dce6 MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction"); -From 78a225f390667ae1636fe97d692b0e5bf98e6172 Mon Sep 17 00:00:00 2001 +From d3085ed3cde44729d914f1153796bcbe4bea34ef Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 004/155] add smsc95xx packetsize module_param +Subject: [PATCH 004/160] add smsc95xx packetsize module_param Signed-off-by: Sam Nazarko --- @@ -213,10 +213,10 @@ index aa4cb43dcd9ba83b042332bc15a4dce68affce28..889bdabd9dea6cebccc361aa4ac569d7 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From e2ecbaa97d546c82fc7ca9f33da57d158ee55f40 Mon Sep 17 00:00:00 2001 +From 55e89e26a442b017f46f820fa02b617745e59f4b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 005/155] Allow mac address to be set in smsc95xx +Subject: [PATCH 005/160] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -312,10 +312,10 @@ index 889bdabd9dea6cebccc361aa4ac569d73681396b..d22a2324085fbf61fbd8920362bfc7b9 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From feae03f238cfa82a416a07745c67e87e1ab38093 Mon Sep 17 00:00:00 2001 +From 4a8e36817206ba201ca6e8d04f6a808b6f23c1ef Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 13:28:24 +0000 -Subject: [PATCH 006/155] serial: Take care starting a hung-up tty's port +Subject: [PATCH 006/160] serial: Take care starting a hung-up tty's port tty_port_hangup sets a port's tty field to NULL (holding the port lock), but uart_tx_stopped, called from __uart_start (with the port lock), @@ -343,10 +343,10 @@ index a3d7c0d4a03e75016023184a5fea18c91d9d8dbc..d61b4167a03205f917448d0bd71a84d0 return 0; } -From a2dcb08ce8a545cb651c852fe59c1e4a9d84e2de Mon Sep 17 00:00:00 2001 +From d223b7d0a066df0789a87aedd6efc2bbb088c900 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Jun 2014 13:42:01 +0100 -Subject: [PATCH 007/155] vmstat: Workaround for issue where dirty page count +Subject: [PATCH 007/160] vmstat: Workaround for issue where dirty page count goes negative See: @@ -373,10 +373,10 @@ index d2da8e053210041bfcefb9e04b59d195880d2d0e..e3258dc35371ee6e528dc02ffc705570 static inline void __inc_zone_page_state(struct page *page, -From 792b82b6a78b76b420ed0887b2b3c36d8bf43942 Mon Sep 17 00:00:00 2001 +From 454326ed2aa2bb113ff3bd9af66d2cf27361b232 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 008/155] Protect __release_resource against resources without +Subject: [PATCH 008/160] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -404,10 +404,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 8c0863f34e145e729e9e7b4f59bb536f725e839a Mon Sep 17 00:00:00 2001 +From 474070c9d24b248170daba23f48a40cbfb4d48af Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 009/155] mm: Remove the PFN busy warning +Subject: [PATCH 009/160] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -419,10 +419,10 @@ Signed-off-by: Eric Anholt 1 file changed, 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 8b3e1341b7544608cac4777a37bbd424432488e1..9dba743762508ea1cced150388afa38f7eb2878c 100644 +index 6e354199151b9f71c3e8671a6f5bdee5fd29f866..9b542a3a16d5ebba8ef2c411489e7b81d6878e4e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -7452,8 +7452,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, +@@ -7406,8 +7406,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, /* Make sure the range is really isolated. */ if (test_pages_isolated(outer_start, end, false)) { @@ -432,10 +432,10 @@ index 8b3e1341b7544608cac4777a37bbd424432488e1..9dba743762508ea1cced150388afa38f goto done; } -From b47b6fd41e6e42cb37e7a4ca2225acf1d9ceb4ff Mon Sep 17 00:00:00 2001 +From 6fc44dfa2aa5034d83390c2088854a65a2c885a5 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 010/155] BCM2835_DT: Fix I2S register map +Subject: [PATCH 010/160] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -473,10 +473,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 3322c2f60fc3d9fdcd67c68ba3a232171bf88903 Mon Sep 17 00:00:00 2001 +From b07a16e590854089f6f2b3dd859f61fcb822ec70 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 011/155] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 011/160] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -503,10 +503,10 @@ index 72ff1d5c5de67058f4ef22bb233c41b7c737d6e3..de3b3a37a63d00cc82ae4725b2fe8584 #endif } else if (stat) { -From 9f6ae60d123aa8cccd997e653edfa0da4b9f93ab Mon Sep 17 00:00:00 2001 +From 1a365abfcc02faa9eac431f0d4b79447a5bbfb2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 012/155] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 012/160] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -635,10 +635,10 @@ index bf9cc5f2e839e845fe1ce65caa672b6212d3ffbc..3f601f98aa884b941fbb84edb349f6c4 } -From 44324d0925f808bbd1482f8ed635e24a731e3afb Mon Sep 17 00:00:00 2001 +From 8515f16c66137436ae27f3cd30f54e6ed44df0db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 013/155] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 013/160] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -734,10 +734,10 @@ index 3f601f98aa884b941fbb84edb349f6c469b940b1..20deb282286834b1f234a65e614b8584 for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From 17cee93090e1fd8aa04b8d5d74367ba9a139a598 Mon Sep 17 00:00:00 2001 +From cc3bdb48e8fe6d818ec8d08924445496035ef750 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 014/155] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 014/160] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -758,10 +758,10 @@ index e3c19f30f591115a823467033702ff1b232c5ebc..f4963e3c1dbcd13edb9b97e9dad65438 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 46cfac8fddd6a1330cb040a6711aeec80b8f2e7d Mon Sep 17 00:00:00 2001 +From bd1bd92ee39a8759e54069c26df11e147bb80fe8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 015/155] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 015/160] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -781,10 +781,10 @@ index 0fbd7c033a251e7d0cb214ed2bbd1ad1f19f0a76..00fc96497968c826978465957454ad73 for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From 218ae563629497a9b71d60ad1d7312d3174da85b Mon Sep 17 00:00:00 2001 +From 70f3a84d7e89aa30c1788fb4250451fd29622602 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 016/155] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 016/160] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -806,10 +806,10 @@ index fa77165fab2c1348163979da507df17e7168c49b..d11e2e4ea189466e686d762cb6c6fef9 .can_sleep = false, }; -From 8b9d875ffa0790cd563b9d306659fc0aa7708412 Mon Sep 17 00:00:00 2001 +From e92255faddcd4ea8b8a3b1f43efc55ee686eb0ea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 017/155] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 017/160] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -955,10 +955,10 @@ index d11e2e4ea189466e686d762cb6c6fef9111ecf8e..107ad7d58de8f8a7f55e09c9cdcf7d66 }, }; -From 9a765cdec884cdb8d378beee5354558dbd128f55 Mon Sep 17 00:00:00 2001 +From 33b90831d53290f3b44a9e90348eaa481cc0498a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 018/155] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 018/160] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -985,10 +985,10 @@ index 107ad7d58de8f8a7f55e09c9cdcf7d66fa7ab66b..644bdecbcfcb79d3b84a33769265fca5 pc->irq_data[i].irqgroup = i; -From fd3c53af336bf66c2d9fd99dac9f29dbe066c56f Mon Sep 17 00:00:00 2001 +From 19282689da8c56bc879fdf485f6abeb6973f0844 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 May 2016 12:32:47 +0100 -Subject: [PATCH 019/155] pinctrl-bcm2835: Return pins to inputs when freed +Subject: [PATCH 019/160] pinctrl-bcm2835: Return pins to inputs when freed When dynamically unloading overlays, it is important that freed pins are restored to being inputs to prevent functions from being enabled in @@ -1029,10 +1029,10 @@ index 644bdecbcfcb79d3b84a33769265fca5d3d0c9e5..81a66cba2ab0f7e3ae179de7edd10122 .get_function_name = bcm2835_pmx_get_function_name, .get_function_groups = bcm2835_pmx_get_function_groups, -From c0080a691cd23adcb78401e4a6950a564dfb4366 Mon Sep 17 00:00:00 2001 +From 5f70dacc915fd6cf97aaa443f4754b3073b02fe0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 020/155] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 020/160] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -1113,10 +1113,10 @@ index f35cc10772f6670397ea923ad30158270dd68578..5dfe20ffc2866fa6789825016c585175 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From 07c584dc8656f3f17fa67514b1dd299c3fd6fa13 Mon Sep 17 00:00:00 2001 +From e733ed6f9e48806c8107784201bba9ecf0bc742c 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 021/155] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 021/160] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1174,10 +1174,10 @@ index 834d67684e205a185971c13ebc6620434eeac788..3b68a8d3501a5dcb1b4790c35d921cf5 static const char * const bcm2835_compat[] = { -From 55d232c121927a20d743a143238f3dd5ddcf7be8 Mon Sep 17 00:00:00 2001 +From 6862c73ab4893683ba162a63488f0a21364dd9af 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 022/155] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 022/160] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1280,10 +1280,10 @@ index 6149b27c33ad0962a19ed411055d9d05bfb252d3..43265b2847d37b3ee8f71b7528eebea1 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From c75b81a7d38aaeb4a08296a36645fa17d2f0bb1d Mon Sep 17 00:00:00 2001 +From dbeb12ee20104a8f475b83c90525c7f3b01309e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 15 Aug 2015 20:50:02 +0200 -Subject: [PATCH 023/155] bcm2835: Add support for uart1 +Subject: [PATCH 023/160] bcm2835: Add support for uart1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1340,10 +1340,10 @@ index 3b68a8d3501a5dcb1b4790c35d921cf5fa641ec7..e72e522fbc840c36a39cb6550850b3c6 static const char * const bcm2835_compat[] = { -From 46973c034e57297e45ce9bcb7fcafa6746f68749 Mon Sep 17 00:00:00 2001 +From 5020053dcafc64e24a4b26c747ddd408f2494d1f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 024/155] firmware: Updated mailbox header +Subject: [PATCH 024/160] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 11 +++++++++++ @@ -1406,10 +1406,10 @@ index 3fb357193f09914fe21f8555a4b8613f74f22bc3..227a107214a02deadcca3db202da265e RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From e4f8982579a6c85f7ec3c2b763c7c1b6fe94752d Mon Sep 17 00:00:00 2001 +From 1687875f22069b3b083c0285f34ea701a5c659c9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 025/155] Main bcm2708/bcm2709 linux port +Subject: [PATCH 025/160] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -3919,10 +3919,10 @@ index 45cde8cd39f2434f5f9ec02c702a91a7f6b971c9..6a01ffa629386bdecf85e5a4736f7c27 mmc_pm_flag_t pm_caps; /* supported pm features */ -From 1d30d086a88f36588b867894d9a6abda6f3f5a71 Mon Sep 17 00:00:00 2001 +From 4e2ae1c2c22c3888d8e14c817b0c48eb7bb9666c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 026/155] reboot: Use power off rather than busy spinning when +Subject: [PATCH 026/160] reboot: Use power off rather than busy spinning when halt is requested --- @@ -3945,10 +3945,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From b5972ba4019c7e3b6a7dbb9d1afb37f5112ad88e Mon Sep 17 00:00:00 2001 +From c88898bc3310cf2eca6010f597089f201cbf22fa Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 11 Nov 2015 21:01:15 +0000 -Subject: [PATCH 027/155] squash: include ARCH_BCM2708 / ARCH_BCM2709 +Subject: [PATCH 027/160] squash: include ARCH_BCM2708 / ARCH_BCM2709 --- drivers/char/hw_random/Kconfig | 2 +- @@ -4125,10 +4125,10 @@ index 6a834e109f1de47e533d17e87cdc73d8ee86fc4d..c5070aec5996aafb2d9daaf75163e16a select REGMAP_MMIO help -From 2cbb9d35d440fe16ea4c53308fdd1b55b696728b Mon Sep 17 00:00:00 2001 +From ecaacf3b3affb47dbf3057a670fa3d0481f51380 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 028/155] Add dwc_otg driver +Subject: [PATCH 028/160] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -65154,10 +65154,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From c0ba69fdd42b3733a4c797457190bd87d660bc37 Mon Sep 17 00:00:00 2001 +From 36b10d77ec4d343f10798af96c9811b43489519e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 029/155] bcm2708 framebuffer driver +Subject: [PATCH 029/160] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68616,10 +68616,10 @@ index 3c14e43b82fefe1d32f591d1b2f61d2cd28d0fa8..7626beb6a5bb8df601ddf0f6e6909d1f +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From 8bd7b5b80f835cfe8fdbbd1a4a483f31cca4e085 Mon Sep 17 00:00:00 2001 +From d0e33c90db2264691e7b5416ec0bf73992efa1db Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 030/155] dmaengine: Add support for BCM2708 +Subject: [PATCH 030/160] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69239,10 +69239,10 @@ index 0000000000000000000000000000000000000000..99cc7fdbf543207208bf3638a0d4dbb6 + +#endif /* _PLAT_BCM2708_DMA_H */ -From 13a6e695cea3ecb771220afd0e83dc5b74803137 Mon Sep 17 00:00:00 2001 +From 466ebdc4f7ed8425442d509784f347073f660d72 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 031/155] MMC: added alternative MMC driver +Subject: [PATCH 031/160] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -70989,10 +70989,10 @@ index 0000000000000000000000000000000000000000..ceb37930e167f47c9c848e8de757ad09 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From b83066084cc76064c2165215271de870b7759968 Mon Sep 17 00:00:00 2001 +From df2abdd2d2f0b30745797e8831aebd406b142c50 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 032/155] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 032/160] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -73372,10 +73372,10 @@ index 0000000000000000000000000000000000000000..d7b6b5a4e31f7aaa76470d3a79ea78a6 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From d46b9547093f004f22a6935c3eb2e56cbce9b165 Mon Sep 17 00:00:00 2001 +From 722b6794d2e52e5a7a3d45bade2d7ec2946d22de Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 033/155] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 033/160] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -73511,10 +73511,10 @@ index eb0151bac50c1fd796f479d017bc3c3d7017c9e9..fa4e6454456747f02a10621f4f4da3ac unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From 3d5dc37e10573d3537b8dbd6290e57127de5689b Mon Sep 17 00:00:00 2001 +From 86d1b63df9f2ec5a88e1477bf82727a6d913a82b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 034/155] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 034/160] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -74857,10 +74857,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From ba432ee1a343dc8f0ddff019f7aba89ca5673884 Mon Sep 17 00:00:00 2001 +From a50d6fb1d08d4e10ffd960064620a13dd259b6cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 035/155] bcm2708: alsa sound driver +Subject: [PATCH 035/160] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77597,10 +77597,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From 865ffdf2f00fbea1f002ed81fe73a9cb382c9ef7 Mon Sep 17 00:00:00 2001 +From d486fcd2a76a91a0da5731589daa29d7b36d1ed7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 036/155] bcm2708 vchiq driver +Subject: [PATCH 036/160] bcm2708 vchiq driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -90965,10 +90965,10 @@ index 0000000000000000000000000000000000000000..b6bfa21155e431e93bfb2c149d324371 + return vchiq_build_time; +} -From d5433d20d23e51a58b0cfdd2aec9a2533fcfbd82 Mon Sep 17 00:00:00 2001 +From 45b0a3b20bdd7980731b91b6d4ac844722968269 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 16:07:06 +0100 -Subject: [PATCH 037/155] vc_mem: Add vc_mem driver +Subject: [PATCH 037/160] vc_mem: Add vc_mem driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -91973,10 +91973,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 1e9667504bc1736808380ac166c10e36d1d27987 Mon Sep 17 00:00:00 2001 +From 663e66e2041feff8b531f1751a47a73963b6e093 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 038/155] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 038/160] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96394,10 +96394,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From bb1260dc69d150cdda227274f11acb878ddb50aa Mon Sep 17 00:00:00 2001 +From 508812e823828b6301f10494d64a2fe6b727de81 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 039/155] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 039/160] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -96708,10 +96708,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 4386b62f025ec1ae47f8d84cb03e6f769ad5eab8 Mon Sep 17 00:00:00 2001 +From 80bcc68854484e53f3fb1623366b77113d321a8c Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 040/155] Add SMI driver +Subject: [PATCH 040/160] Add SMI driver Signed-off-by: Luke Wren --- @@ -98662,10 +98662,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From ee34beffda4b93dd20697391253b7e3e7e54ce9f Mon Sep 17 00:00:00 2001 +From 33d59877baab7528a0bc755b08a5f7cf2fc83e5e Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 041/155] Add SMI NAND driver +Subject: [PATCH 041/160] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -99030,10 +99030,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From a74541a6108ba760a1eb16e7b881d2120b5e2c43 Mon Sep 17 00:00:00 2001 +From f2eb45a722283d6f1535f820490e19adb483b161 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 042/155] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 042/160] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -99896,10 +99896,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From c1e3998f73dfbdbc0f613a772582880b652c0c82 Mon Sep 17 00:00:00 2001 +From 08628bfe1ff6b5f0416f1a6955332bb400a0f9f1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 043/155] Add cpufreq driver +Subject: [PATCH 043/160] Add cpufreq driver Signed-off-by: popcornmix --- @@ -100161,10 +100161,10 @@ index 0000000000000000000000000000000000000000..3eb9e9326231b08e6ee95ad486485245 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 5a9013de86130a7d9a03f3b9a6b94f878c12a12d Mon Sep 17 00:00:00 2001 +From 2970c6cab2393555145f4571596a6aa44457f890 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 044/155] Added hwmon/thermal driver for reporting core +Subject: [PATCH 044/160] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -100330,10 +100330,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 4d2979d0681bc6e350bf6c303b405fbdba9e68b9 Mon Sep 17 00:00:00 2001 +From 54423646e1aaa940e2b20b3085fa6f27ae5a7658 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 045/155] Add Chris Boot's i2c driver +Subject: [PATCH 045/160] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -100990,10 +100990,10 @@ index 0000000000000000000000000000000000000000..c9b8e5cb1702e4b20e45214d81a7a40a +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From b48b174c9b6601de95560e24257fa21a5eef8d37 Mon Sep 17 00:00:00 2001 +From ebe9b66099d2e47cfdb27be6b66e11d7a2cf3640 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 046/155] char: broadcom: Add vcio module +Subject: [PATCH 046/160] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101219,10 +101219,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 937cd91f40469383693ce1fd32d4b414015e92cf Mon Sep 17 00:00:00 2001 +From fa76d3543d1bed9cf6c5df65291fc120c85db5bd 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 047/155] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 047/160] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101328,10 +101328,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..b980d531b35b9981a88356ef1c8a7b86 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 8b299c986e6f1e38578a59c81365014e41feb433 Mon Sep 17 00:00:00 2001 +From 7e229d273fd0cd1d06aed6d651270f60fde51e15 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 048/155] bcm2835: add v4l2 camera device +Subject: [PATCH 048/160] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -109063,10 +109063,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From 3d108dd4255cf670eef555a233a5d30cc2df1b49 Mon Sep 17 00:00:00 2001 +From e78f15237434691204d5bdd2f14cde7401b5a01d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 049/155] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 049/160] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -109578,10 +109578,10 @@ index 0000000000000000000000000000000000000000..78c5845d2f01deb04b477327d83fa606 + return $trailer; +} -From 15050388b44ed0cd81a9967d60888fed9fb674f7 Mon Sep 17 00:00:00 2001 +From a5e43d6de1de7804f17b5c04dc1fac94b3d072d2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 050/155] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 050/160] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -112432,10 +112432,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From 983977c57c3d6a35af423eaacfe641cb38376ed5 Mon Sep 17 00:00:00 2001 +From b17ddd61ac7d378d0fb8f4344138bbba35952415 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 051/155] BCM2708: Add core Device Tree support +Subject: [PATCH 051/160] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -121031,10 +121031,10 @@ index 0000000000000000000000000000000000000000..8498134fdbb3912e9ce18282b53084d8 + +}; -From d7cb5b4a595c86c556a8909be5c3383849f1e2fd Mon Sep 17 00:00:00 2001 +From 57e8aae6836571f3d4b0b521baccc2d623c34aec Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 20:00:21 +0000 -Subject: [PATCH 052/155] BCM270X_DT: Add a .dtbo target, use for overlays +Subject: [PATCH 052/160] BCM270X_DT: Add a .dtbo target, use for overlays Change the filenames and extensions to keep the pre-DDT style of overlay (-overlay.dtb) distinct from new ones that use a @@ -121117,10 +121117,10 @@ index e7df0f5db7ec273f45b755668815ce96ba1ffe46..8f50f48329b9460b7268322ea4fd99cf # Bzip2 -From fd68807e0350bd27d993c11f098f98ee0b0b41ed Mon Sep 17 00:00:00 2001 +From dbacdaa690fcb985f2d2cc679f6ea9c3dda3d5d7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 8 Apr 2016 17:43:27 +0100 -Subject: [PATCH 053/155] BCM270X_DT: Don't generate "linux,phandle" props +Subject: [PATCH 053/160] BCM270X_DT: Don't generate "linux,phandle" props The EPAPR standard says to use "phandle" properties to store phandles, rather than the deprecated "linux,phandle" version. By default, dtc @@ -121146,10 +121146,10 @@ index 8f50f48329b9460b7268322ea4fd99cf764134ec..c1c3ceb265a3fd223b8a2a0a548ddad3 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -From cbf1b3b80001e92f8e806fc4a47f1b9adfd78562 Mon Sep 17 00:00:00 2001 +From 0836c399d3063320e8986020c58d0a77e40174ab Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 054/155] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 054/160] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -121325,10 +121325,10 @@ index e5e7f2e80a54dd2f15737a3ef478287458641f6e..68086e559d963ed06a0ceb916f9b1555 /* Set LED brightness level * Must not sleep. Use brightness_set_blocking for drivers -From fb10d4212dd5afed4fd588a0511fad627e3515ed Mon Sep 17 00:00:00 2001 +From e3ab8ffceaac6bb798fc249abeabe2a77a4e87c5 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 055/155] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 055/160] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -121421,10 +121421,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..fa72af0c981710fe80bacf4cf6612f6d #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From 93c9968c12ad280e8d339c448b5ea0e3d2b785a2 Mon Sep 17 00:00:00 2001 +From 73924b43341f46501dbba545a3f4ee56b972d56d Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 056/155] Speed up console framebuffer imageblit function +Subject: [PATCH 056/160] 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 @@ -121633,10 +121633,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 56cf9f4d6761b5e357535891b0c21262d2e0243f Mon Sep 17 00:00:00 2001 +From eb61767d03a3a5b5c7c91a3f09e6133fb38d8912 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 057/155] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 057/160] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -121886,10 +121886,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 41b197d28f8570554fe51bab77a586338c7a3a9a Mon Sep 17 00:00:00 2001 +From b81a1ef8d64e5796eb5f207e748dfbdd888f67ad Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 058/155] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 058/160] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -121939,10 +121939,10 @@ index e0be49fc382fc339269b9be29fda59d4ad619962..9b31046d0b00c66d86c1b07003a79edb * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From d387d3f7033385df7c390b03e1c08274a13bbc8a Mon Sep 17 00:00:00 2001 +From 36019cb160a045c3fb4cd136d795755e97e11264 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 059/155] config: Add default configs +Subject: [PATCH 059/160] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1288 +++++++++++++++++++++++++++++++++++ @@ -124548,10 +124548,10 @@ index 0000000000000000000000000000000000000000..da2df3d30e15a55a34b45d3ebbf98e90 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 2c375b978274a0310d172579e6607e06e657d185 Mon Sep 17 00:00:00 2001 +From 15eed447c76bfdb356e61a582987f6c1ca462ec9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/155] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/160] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -124587,10 +124587,10 @@ index ae83af649a607f67239f1a64bf45dd4b5770cc7d..4a7af9d0b910f59d17421ce14138400d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From d4086877610264af4cf62f1beb1ebe3a5f691381 Mon Sep 17 00:00:00 2001 +From 2a7a014316a4f5d6b38870e34e8e5605a39966d3 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/155] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/160] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -124885,10 +124885,10 @@ index 0000000000000000000000000000000000000000..b27dbee8f56773dbd2a5503dc864747d +MODULE_DESCRIPTION("Touchscreen driver for memory based FT5406"); +MODULE_LICENSE("GPL"); -From aba105381fc7f2f49398536078b2b65c02110292 Mon Sep 17 00:00:00 2001 +From 4db4ba8d22267cd28d2d2705a5f82f0d8e073dc6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 062/155] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/160] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -126444,10 +126444,10 @@ index 6bd1089b07e0960830ed6bd6a8345202b7efd8b0..cd17dd11ebe7bbe00089e70cd2ccea74 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From 958e052d0b73874a924b9fba8a361caa5c2d9708 Mon Sep 17 00:00:00 2001 +From ed46157e325e73317bc6b88803b7038087871d84 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/155] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/160] 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 @@ -126482,10 +126482,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From b0b113159ee25eb9276c792b877b60b8ec404fb9 Mon Sep 17 00:00:00 2001 +From d4cb8d691b8b4e985b706784ef7bf7c5bd5f0494 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/155] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/160] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -127351,10 +127351,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 6d62d265a7a40b9f701119b83d8bc1e0a0af580a Mon Sep 17 00:00:00 2001 +From eb20b6f24b3e4852843d766486700022fed0d9c8 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/155] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/160] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -127525,10 +127525,10 @@ index 0000000000000000000000000000000000000000..29ecc08a227cdd4b3c6141935d0c5d21 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From e5c974f98c5290ae4f6516d906071ad44d409e79 Mon Sep 17 00:00:00 2001 +From 1b13fbfa1501e2e38763e55421b397ba78af52a5 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/155] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/160] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -127812,10 +127812,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 9753cfd1ad3333de35b4563d36b86204bc089227 Mon Sep 17 00:00:00 2001 +From 3ca3ae5fe309276fa08dd9872949e6907004706b Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/155] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/160] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -127864,10 +127864,10 @@ index 8d914702cae4a3fe2c0ca0599cd1ec79f7322c83..c846716b4ed1027ade5512e8be90801d .dapm_widgets = wm8804_dapm_widgets, .num_dapm_widgets = ARRAY_SIZE(wm8804_dapm_widgets), -From 2517c2234715af1cc68040a7cea7e523afda4f71 Mon Sep 17 00:00:00 2001 +From b228805ea43ea250c4f645cb2ac77220776961ea Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/155] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/160] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -128155,10 +128155,10 @@ index 0000000000000000000000000000000000000000..9840e15d3e2be6396bc3ce6e74749408 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 72d5a826ef5eb378775d293afac0a5f0638efaea Mon Sep 17 00:00:00 2001 +From 39ccaccfb64d00b84aa75d36759da36deb48ea3e Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/155] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/160] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -128488,10 +128488,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From b81c09e102abb8c24dcd5437283a3e911976fdf5 Mon Sep 17 00:00:00 2001 +From 2bc4473fe11cf5d0bfc9b9f2814432e62354c871 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 070/155] iqaudio-dac: Compile fix - untested +Subject: [PATCH 070/160] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -128515,10 +128515,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From 1a11e449eb6bcdddebf97b5246921124ea5f8063 Mon Sep 17 00:00:00 2001 +From 7ed1d8b90a8de167fea3a38d371543371c00d7ed Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 071/155] Added support for HiFiBerry DAC+ +Subject: [PATCH 071/160] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -129147,10 +129147,10 @@ index 047c48953a20cd4075000ac294a17fe59baedcde..090fe0ee08e8765f9edbb62777413bb6 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From d8042b95f2a8b21f43f5b44697dff194df528306 Mon Sep 17 00:00:00 2001 +From 0e99050970bddcb60e6009fbeae8292073fa3365 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 072/155] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 072/160] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -129982,10 +129982,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 87dfc7a10f86ca77b93bb653527bdbc86487e6cb Mon Sep 17 00:00:00 2001 +From 549dd643498e87490ee1a8b597cc2fb2cded7b14 Mon Sep 17 00:00:00 2001 From: "Daniel Matuschek (HiFiBerry)" Date: Tue, 26 Jul 2016 19:16:25 +0200 -Subject: [PATCH 073/155] Added HiFiBerry Digi+ Pro driver +Subject: [PATCH 073/160] Added HiFiBerry Digi+ Pro driver Signed-off-by: Daniel Matuschek --- @@ -130179,10 +130179,10 @@ index 9840e15d3e2be6396bc3ce6e74749408cc28c333..52ab9dea2e724c4238986ca53c59c849 ret = snd_soc_register_card(&snd_rpi_hifiberry_digi); -From 15f8aba305f21280d898582c3c7e8fdabadf0992 Mon Sep 17 00:00:00 2001 +From 4af2f0f326645c4e734410316ab7627ce93c4ac3 Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 074/155] Update ds1307 driver for device-tree support +Subject: [PATCH 074/160] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -130209,10 +130209,10 @@ index 821d9c089cdb48a40a244d1c18ab912d6f0b9432..409ed8e449e54ea6751185b1c0760cfc .driver = { .name = "rtc-ds1307", -From 5b1f7d5426046594cf2b2801294b2664ecf5e57b Mon Sep 17 00:00:00 2001 +From 33cd71352ddbd7a6234d552c51c1ee346041dab8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 075/155] Add driver for rpi-proto +Subject: [PATCH 075/160] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -130428,10 +130428,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From e2f770b14d0f979ce31f07a33f75ffb37f2e783d Mon Sep 17 00:00:00 2001 +From ec82f4a1f923ff412c83abc061dbe3d6bee8464d Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 076/155] RaspiDAC3 support +Subject: [PATCH 076/160] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -130680,10 +130680,10 @@ index 0000000000000000000000000000000000000000..e7422e2dd3d70622a48ab3b2e1929869 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 99709a269c2991737ea1c8419c2a1a651023610d Mon Sep 17 00:00:00 2001 +From af94b0968186839059e6a6867f3cefac465709e9 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:02:34 +0100 -Subject: [PATCH 077/155] tpa6130a2: Add headphone switch control +Subject: [PATCH 077/160] tpa6130a2: Add headphone switch control Signed-off-by: Jan Grulich --- @@ -130774,10 +130774,10 @@ index 11d85c5c787addb8d8add7fc2b52ab91cc49b63d..3caaa17e28e91e995d6781ca7f88b747 /* -From 58bc2d55e4fc0245304d979d57ea607bbe9f21ce Mon Sep 17 00:00:00 2001 +From df898eacdaea9ff095d34a24ab6a7c1d369d49e0 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 078/155] Add Support for JustBoom Audio boards +Subject: [PATCH 078/160] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -131231,10 +131231,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 2b24f64b08e2b20572d13430d9adcbb36063450c Mon Sep 17 00:00:00 2001 +From 061efa920408ea99294c986a36b6cc04b15825af Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 079/155] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 079/160] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -131416,10 +131416,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From a2dbfae46bda54cf7c745b27b60ad8fa22bc24fb Mon Sep 17 00:00:00 2001 +From 8b8433aa060506502a53d5ac56b7501254e2296b Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 080/155] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 080/160] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. @@ -131668,10 +131668,10 @@ index 0000000000000000000000000000000000000000..5ff0985e07efb96b95634a65995f09f7 +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From b03ffa06c9121e6fa122b95a9e2ff967da58d8bd Mon Sep 17 00:00:00 2001 +From 3e01e68f58d4b2a45e51c1c3528927ce649a534d Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 081/155] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 081/160] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -131971,10 +131971,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From bd67474106be7e8c569cc99ad3e0c7ebbfbcd219 Mon Sep 17 00:00:00 2001 +From ae5d2bd97a3a22b56f0b0a8bfe4148f167b1620c Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 082/155] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 082/160] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -132447,10 +132447,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From ffc075f489f9faa07cbeea017ce97e997e9aa305 Mon Sep 17 00:00:00 2001 +From 9df3c049fc6b31249a857fbf7fbd9b3e8f6d2483 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 083/155] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 083/160] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -132623,10 +132623,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 3aa04a6981c442199e8abd1040521a27fee08d20 Mon Sep 17 00:00:00 2001 +From 4c85ded5dd78fef79e7ea503089c04c4c8c48181 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Fri, 17 Jun 2016 14:48:16 +1000 -Subject: [PATCH 084/155] ASoc: wm8731: add 32bit mode. +Subject: [PATCH 084/160] ASoc: wm8731: add 32bit mode. commit cf5ef3a299ba32f6ac24c3c6ba18c1b7f1b5475f upstream. @@ -132665,10 +132665,10 @@ index 4bcf5f8ece50f3681948a9fbc47b85400d9a8b51..d18261a442560cd2c108c34295bd5b17 static const struct snd_soc_dai_ops wm8731_dai_ops = { .startup = wm8731_startup, -From e65a42fc3629eb30d3859a04aaca109ab4dc53e4 Mon Sep 17 00:00:00 2001 +From 22d4ac3067722af9a1779f00f5fcc5f974d823aa Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 085/155] rpi_display: add backlight driver and overlay +Subject: [PATCH 085/160] 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 @@ -132837,10 +132837,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From cce386b3b746d398ff95ff08124bd44aa8de23f4 Mon Sep 17 00:00:00 2001 +From 373875379972553316e5fe49b3acbd65d64dc386 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 086/155] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 086/160] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -133066,10 +133066,10 @@ index 0000000000000000000000000000000000000000..f3e0f1620b979e4fa3c7e556eb785ac2 +MODULE_DESCRIPTION("brcmvirt GPIO driver"); +MODULE_ALIAS("platform:brcmvirt-gpio"); -From e118f2b0ab3cb8449cee6cdc125ea54321f83c2d Mon Sep 17 00:00:00 2001 +From 2d7ef9b4c2ce575fba5c12253b0e9e0de818895b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 4 Mar 2016 12:49:09 +0000 -Subject: [PATCH 087/155] DRM_VC4: Allow to be built for ARCH_BCM270x +Subject: [PATCH 087/160] DRM_VC4: Allow to be built for ARCH_BCM270x --- drivers/gpu/drm/vc4/Kconfig | 2 +- @@ -133088,10 +133088,10 @@ index e53df59cb139f25f8e6ae916bca93abf0c49e063..f6e938208b73512f20eab46a383ca91b select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER -From e38289084ffd82fe9b5814be08f80f6c98230a33 Mon Sep 17 00:00:00 2001 +From f399fd1cbb377566fed2cef194172d04e1efaade Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 088/155] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 088/160] 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 @@ -133120,10 +133120,10 @@ index 1b7331e40d795e1ec5482d6a82871bd5ce050b60..a04d27ef682792808301ac2d2bfb67d5 uap->old_cr = 0; uap->port.dev = dev; -From 04a68b0d8a459e102ba3737572ce684435b8e91c Mon Sep 17 00:00:00 2001 +From f83983702d645f86f52003451280c34cbed61133 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 089/155] OF: DT-Overlay configfs interface +Subject: [PATCH 089/160] 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. @@ -133555,10 +133555,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From a42ae3585cc89d202bec80f043c0543ee5d2d4e9 Mon Sep 17 00:00:00 2001 +From 5c5d56c8590746e39ba2504ee1db9460f3f02acc Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 090/155] brcm: adds support for BCM43341 wifi +Subject: [PATCH 090/160] brcm: adds support for BCM43341 wifi --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 ++ @@ -133598,10 +133598,10 @@ index 699f2c2782ee9d898a25c95e0c5d45744d0777ff..15598b3687a213d8c00d45965a6b9351 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From bc172945ffa7bb4314027566f97bb7f88800d983 Mon Sep 17 00:00:00 2001 +From 33be674643dab97a139365bba4219ad9f2e6f973 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 17:25:59 +0000 -Subject: [PATCH 091/155] brcmfmac: Disable power management +Subject: [PATCH 091/160] brcmfmac: Disable power management Disable wireless power saving in the brcmfmac WLAN driver. This is a temporary measure until the connectivity loss resulting from power @@ -133613,7 +133613,7 @@ Signed-off-by: Phil Elwell 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -index 62f475e31077ca1fa1df15863f02ee0911c46997..d001128266f462beee5f9672c64ed2c0d9200334 100644 +index 121baba7acb194c4bba69fb78526f80e19223b65..541d07591218bff5809b6122c623b2e5ce47230b 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -2699,6 +2699,8 @@ brcmf_cfg80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *ndev, @@ -133626,10 +133626,10 @@ index 62f475e31077ca1fa1df15863f02ee0911c46997..d001128266f462beee5f9672c64ed2c0 if (!check_vif_up(ifp->vif)) { -From b6ae58b3a0eaa79e3b08853acb166305e0ad9fb9 Mon Sep 17 00:00:00 2001 +From 03fa35b877b4dda8d25b8005b40be70b558dc771 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 28 Apr 2016 17:13:47 +0100 -Subject: [PATCH 092/155] brcmfmac: Use original country code as a fallback +Subject: [PATCH 092/160] brcmfmac: Use original country code as a fallback Commit 73345fd212980d2e28a5c6d83801c903bd773680: @@ -133645,7 +133645,7 @@ Signed-off-by: Phil Elwell 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -index d001128266f462beee5f9672c64ed2c0d9200334..90eb79cc104427597046f2459e6f46de09702784 100644 +index 541d07591218bff5809b6122c623b2e5ce47230b..14d84a0975bbad24a04dc026824092514932d7c8 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -6597,12 +6597,18 @@ static s32 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], @@ -133688,10 +133688,10 @@ index d001128266f462beee5f9672c64ed2c0d9200334..90eb79cc104427597046f2459e6f46de ccreq->country_abbrev[1] = alpha2[1]; ccreq->country_abbrev[2] = 0; -From 983ad267bb9094db0a345a4b65b98c5675231a21 Mon Sep 17 00:00:00 2001 +From 30fb2e0d2b3753fae0078d983e045fdd398bdea2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 19 May 2016 15:36:09 +0100 -Subject: [PATCH 093/155] brcmfmac: Plug memory leak in brcmf_fill_bss_param +Subject: [PATCH 093/160] brcmfmac: Plug memory leak in brcmf_fill_bss_param See: https://github.com/raspberrypi/linux/issues/1471 @@ -133701,7 +133701,7 @@ Signed-off-by: Phil Elwell 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -index 90eb79cc104427597046f2459e6f46de09702784..27a59a9f7b9c108e728bdc7fc8d95139daec03fc 100644 +index 14d84a0975bbad24a04dc026824092514932d7c8..4a9a636d85b29eb379fa477dfbc7af80ec380dab 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -2473,7 +2473,7 @@ static void brcmf_fill_bss_param(struct brcmf_if *ifp, struct station_info *si) @@ -133724,10 +133724,10 @@ index 90eb79cc104427597046f2459e6f46de09702784..27a59a9f7b9c108e728bdc7fc8d95139 static s32 -From 661bbcb8536f37a6aad01e0caa335afeb00f086c Mon Sep 17 00:00:00 2001 +From c151e9ef4a8bbd80520461f7da6d1b2a8789c2f7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 094/155] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 094/160] 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. @@ -133750,10 +133750,10 @@ index 0879d64b1caf58afb6e5d494c07d9ab7e7cdf983..5161ab30fd533d50f516bb93d5b9f402 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From c6e7ccbefd749b39944fcd7cd905c53474901535 Mon Sep 17 00:00:00 2001 +From ba2faff6449773fef622d77b9a69a7c120b2ea62 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 22 Jan 2016 13:06:39 -0800 -Subject: [PATCH 095/155] drm/vc4: Add a debugfs node for tracking execution +Subject: [PATCH 095/160] drm/vc4: Add a debugfs node for tracking execution state. Signed-off-by: Eric Anholt @@ -133813,10 +133813,10 @@ index 78ab08e8f87eb064e3eeec761b26c19f11c1f4e5..be22d00baa43dedd80f49045bed89f74 vc4_queue_hangcheck(struct drm_device *dev) { -From b89b61ab9e154fece8494609f73b10210921ec14 Mon Sep 17 00:00:00 2001 +From c8d8c3de56c8ab70b1d7fdbaa9a216d15482f26a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:03:33 -0800 -Subject: [PATCH 096/155] drm/vc4: Include vc4_drm.h in uapi in downstream +Subject: [PATCH 096/160] drm/vc4: Include vc4_drm.h in uapi in downstream build. Signed-off-by: Eric Anholt @@ -133837,10 +133837,10 @@ index 9355dd8eff3ba39401dfe37e7fbf7737f0397f11..68828bf586f05a8d9b0a6ab409ee91a7 header-y += vmwgfx_drm.h header-y += msm_drm.h -From 0f705cf6c206bf92e1ec5760f1ebb1992ccdcdfd Mon Sep 17 00:00:00 2001 +From ee80e664fb3da1baf24cb76ec84a2f0ba065027f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 17:23:15 +0100 -Subject: [PATCH 097/155] cpufreq: Temporarily ignore io_is_busy=1 +Subject: [PATCH 097/160] cpufreq: Temporarily ignore io_is_busy=1 To speed testing of the new sdhost driver that adapts to changes in core_freq, hack the on-demand governor to treat io_is_busy=1 as @@ -133871,10 +133871,10 @@ index 300163430516766d56b842d8d12dc33175eee66b..9ab7b40005cb7ddfafc3917dc874eea8 /* we need to re-evaluate prev_cpu_idle */ gov_update_cpu_data(dbs_data); -From 30e3c2a190d7e39c66ea2493d5b373c1f6fe717d Mon Sep 17 00:00:00 2001 +From 0e02a3ac59cc298ace8b9c32b09e0f1101543f24 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Oct 2015 11:32:14 -0700 -Subject: [PATCH 098/155] drm/vc4: Force HDMI to connected. +Subject: [PATCH 098/160] drm/vc4: Force HDMI to connected. For some reason on the downstream tree, the HPD GPIO isn't working. @@ -133897,10 +133897,10 @@ index fd2644d231ff867a4409840eba7f8234a4a1faba..ed9c5274d06a215331aee44da1f7214a if (gpio_get_value_cansleep(vc4->hdmi->hpd_gpio) ^ vc4->hdmi->hpd_active_low) -From 94257ac2b2d3f499e9e8fabe9318c8f77dac2474 Mon Sep 17 00:00:00 2001 +From 51f4d9e97bc77836b259361d09ee57fb57211eb6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 19 Apr 2016 15:55:02 -0700 -Subject: [PATCH 099/155] ARM: bcm2708: Enable building power domain driver. +Subject: [PATCH 099/160] ARM: bcm2708: Enable building power domain driver. Signed-off-by: Eric Anholt --- @@ -133920,10 +133920,10 @@ index 3066edea184d765a670ded0cead470597654abc1..e23518142ceac6651641cc30c327d60d select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM -From 939d065ac75400d4b7043a7534aa7f5e2c79f0c4 Mon Sep 17 00:00:00 2001 +From d3df309fa1e69d7ad3df61e812d30002f8b673aa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 100/155] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 100/160] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -133943,10 +133943,10 @@ index f22e060709e547528b29b747f796b45c445d23fa..76b7bd7d9d33a0dcefcdb5fe3e0df4de MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 3ea56b21ce66afcc1ffee6c912e4d1f6afff717d Mon Sep 17 00:00:00 2001 +From 7e83ad63102e6889c4acee32d29c23f39a10b5a7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 101/155] spi-bcm2835: Disable forced software CS +Subject: [PATCH 101/160] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -133980,10 +133980,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 4ee0a3fc34cd312dbbfe71bd6284ae336eeaf772 Mon Sep 17 00:00:00 2001 +From df9c80d63ea3d996812152cac11e5d90d2083d1d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 28 Jul 2016 11:39:51 +0100 -Subject: [PATCH 102/155] config: Enable CONFIG_USER_NS +Subject: [PATCH 102/160] config: Enable CONFIG_USER_NS --- arch/arm/configs/bcm2709_defconfig | 2 +- @@ -134023,10 +134023,10 @@ index da2df3d30e15a55a34b45d3ebbf98e906da6379c..6c885f0518d0c015357a6fea1438841d CONFIG_BLK_DEV_INITRD=y CONFIG_EMBEDDED=y -From 2ccc6856c9df9253e3f06400ef532c5b309d31be Mon Sep 17 00:00:00 2001 +From c0c2e17102869d8fdc8ba67b960fb3e05a9905cd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 9 Aug 2016 22:19:28 +0100 -Subject: [PATCH 103/155] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 103/160] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -134057,10 +134057,10 @@ index d22a2324085fbf61fbd8920362bfc7b9f72bebe3..c846c55075387398d9bcb0957e31f5c8 MODULE_PARM_DESC(packetsize, "Override the RX URB packet size"); -From 0d553cabd39fa683f1e698438e099211fde1abd5 Mon Sep 17 00:00:00 2001 +From 30e5d764e12456254f610aa3a33c73f5b6ad2da8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Aug 2016 13:21:32 +0100 -Subject: [PATCH 104/155] smsc95xx: squash: Bump to packetsize=4096 +Subject: [PATCH 104/160] smsc95xx: squash: Bump to packetsize=4096 --- drivers/net/usb/smsc95xx.c | 2 +- @@ -134080,10 +134080,10 @@ index c846c55075387398d9bcb0957e31f5c82fd7d58d..e663cd24653411e502deb28d0ea9b828 MODULE_PARM_DESC(packetsize, "Override the RX URB packet size"); -From 9d064da683412482b000161ab6e59ee2a3fd49a6 Mon Sep 17 00:00:00 2001 +From 3240e0dcddee415428344dfb30efeff9c267a3b4 Mon Sep 17 00:00:00 2001 From: James Adams Date: Fri, 12 Aug 2016 14:35:00 +0100 -Subject: [PATCH 105/155] Add cm3 dts file +Subject: [PATCH 105/160] Add cm3 dts file --- arch/arm/boot/dts/Makefile | 1 + @@ -134286,10 +134286,10 @@ index 0000000000000000000000000000000000000000..6a3d2f21295a63e9211638b9e4ba2027 + }; +}; -From 82572c2206ef669c992078ebe4db147019001125 Mon Sep 17 00:00:00 2001 +From 4d4721c0e05ed5224a58e4fe7468536696117069 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Aug 2016 17:12:32 +0100 -Subject: [PATCH 106/155] config: Enable SENSORS_LM75 +Subject: [PATCH 106/160] config: Enable SENSORS_LM75 --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -134321,10 +134321,10 @@ index 6c885f0518d0c015357a6fea1438841db344cc46..7f02ad070f3f71c289a5e3d19f5eb682 CONFIG_SENSORS_SHTC1=m CONFIG_THERMAL=y -From 1fae86ceb36f34be5b00333990004c9bcb038ffa Mon Sep 17 00:00:00 2001 +From 01211cf706c036fff5ef341879dbf84c0713f02b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Aug 2016 17:00:18 +0100 -Subject: [PATCH 107/155] config: Enable SERIAL_SC16IS7XX +Subject: [PATCH 107/160] config: Enable SERIAL_SC16IS7XX --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -134356,10 +134356,10 @@ index 7f02ad070f3f71c289a5e3d19f5eb68253efc8fe..4b50842b84daf91adb553be669737a71 CONFIG_HW_RANDOM=y CONFIG_RAW_DRIVER=y -From bd0235991737b401cedc83e05c0b7f63685d3d7d Mon Sep 17 00:00:00 2001 +From cc5aa7238065d8aeec07cf3d3b57a2f69bd7e07e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Aug 2016 15:46:21 +0100 -Subject: [PATCH 108/155] snd-bcm2835: Don't allow responses from VC to be +Subject: [PATCH 108/160] snd-bcm2835: Don't allow responses from VC to be interrupted by user signals There should always be a response, and retry after a signal interruption is not handled, so don't report @@ -134422,10 +134422,10 @@ index 3de30945d8155b90d244734881a7caa81930fa7c..7ee436ca9fa2903d41d1bdd8f8f07740 ret = -1; -From 323f63d294f98f5694436823258e87129cf82f61 Mon Sep 17 00:00:00 2001 +From b9c9ca261c9d5ab9f6580d5799e11763c7fa6236 Mon Sep 17 00:00:00 2001 From: Bruno George de Moraes Date: Wed, 20 Aug 2014 23:53:57 -0300 -Subject: [PATCH 109/155] snd-bcm2835: Use bcm2835_hw params in preallocate +Subject: [PATCH 109/160] snd-bcm2835: Use bcm2835_hw params in preallocate --- sound/arm/bcm2835-pcm.c | 10 ++++++---- @@ -134462,10 +134462,10 @@ index d2de13cbd76ed16634f27c0843474825671a28eb..71b128924affac2b7a01d1169e43d437 mutex_unlock(&chip->audio_mutex); audio_info(" .. OUT\n"); -From 89e5316f907d61e104ac0b238797ef872b62d12c Mon Sep 17 00:00:00 2001 +From aadafd8a9bcf26b89a329a100ae9d19f605bf781 Mon Sep 17 00:00:00 2001 From: Bruno George de Moraes Date: Tue, 30 Aug 2016 12:54:38 +0100 -Subject: [PATCH 110/155] dwc_otg: Use kzalloc when suitable +Subject: [PATCH 110/160] dwc_otg: Use kzalloc when suitable --- drivers/usb/host/dwc_otg/dummy_audio.c | 3 +-- @@ -134507,10 +134507,10 @@ index 0eb0f3572d1230fdd23966c47ba9370d22bb8cb5..5624f32c9ea9117599df451af29fca2e return usb_req; -From 33e85357647fcfab29bfbe6fc6411b0895fa56e3 Mon Sep 17 00:00:00 2001 +From 3a1cdefd7b27960ac326bacf0f5ba286c12ffb57 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 11:44:59 -0700 -Subject: [PATCH 111/155] clk: bcm2835: Mark the VPU clock as critical +Subject: [PATCH 111/160] clk: bcm2835: Mark the VPU clock as critical The VPU clock is also the clock for our AXI bus, so we really can't disable it. This might have happened during boot if, for example, @@ -134556,10 +134556,10 @@ index 7a7970865c2d856b6b57113c2bb7e8074140a5dd..d9db03cb3fd84163f320dca6f2e533c6 /* clocks with per parent mux */ -From 715c11c8a954bfed817b7993527229219b8d07d2 Mon Sep 17 00:00:00 2001 +From 8574355bb51553b7fad7d22643dbf10bae82e51b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 112/155] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 112/160] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -134614,10 +134614,10 @@ index d9db03cb3fd84163f320dca6f2e533c61f61b5ad..f6bbe8d5929828048114286ec29a33e0 /* HDMI state machine */ [BCM2835_CLOCK_HSM] = REGISTER_PER_CLK( -From f7b77bb9065e3e058ecf0fa0fa4d49a124988947 Mon Sep 17 00:00:00 2001 +From b6628ac6c1d127ded8cf60e7d6d4aa5d16bdceb7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 12:39:45 -0700 -Subject: [PATCH 113/155] clk: bcm2835: Skip PLLC clocks when deciding on a new +Subject: [PATCH 113/160] clk: bcm2835: Skip PLLC clocks when deciding on a new clock parent If the firmware had set up a clock to source from PLLC, go along with @@ -134688,10 +134688,10 @@ index f6bbe8d5929828048114286ec29a33e02519eab8..e527649ee5e32d20cebd762f4badbfca div = bcm2835_clock_choose_div(hw, req->rate, prate, true); rate = bcm2835_clock_rate_from_divisor(clock, prate, div); -From 0528ab27d0aa0e4840e320606b64e65036d2ab33 Mon Sep 17 00:00:00 2001 +From 7d56bc76283de6c8be4d8785264447c502909565 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Jun 2016 12:05:35 -0700 -Subject: [PATCH 114/155] clk: bcm2835: Mark the CM SDRAM clock's parent as +Subject: [PATCH 114/160] clk: bcm2835: Mark the CM SDRAM clock's parent as critical While the SDRAM is being driven by its dedicated PLL most of the time, @@ -134765,10 +134765,10 @@ index e527649ee5e32d20cebd762f4badbfca06657a84..fbf616021704178a9d007219a0ea2a9f &cprman->onecell); } -From b63912faa5ddd7e5eea110972478f8be268aa14a Mon Sep 17 00:00:00 2001 +From 4f3d2e91574cdeda3826d6516e36d49c5a962112 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Mon, 25 Apr 2016 06:54:57 +0000 -Subject: [PATCH 115/155] ARM: bcm2708: enable clock manager by default +Subject: [PATCH 115/160] ARM: bcm2708: enable clock manager by default Enable the clock manager by default. @@ -134790,10 +134790,10 @@ index 74434b986e3fbb257debfc79caef9fa68f750043..416037450277cd17c280e2b5f9f5423b random: rng@7e104000 { -From 72da1aaa43f74bace967278e5010a30daddf3ed9 Mon Sep 17 00:00:00 2001 +From feb6d04ac058d2437e2fa050e259747d2c6c4b9e Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Mon, 25 Apr 2016 07:56:13 +0000 -Subject: [PATCH 116/155] ARM: 2708: i2s: removed clock registers and added +Subject: [PATCH 116/160] ARM: 2708: i2s: removed clock registers and added clock Removed clock registers from reg and added clock to i2s devicetree node. @@ -134819,10 +134819,10 @@ index 416037450277cd17c280e2b5f9f5423b1cd5502b..9af850fc2cacfccd4ec6262992e92482 dmas = <&dma 2>, <&dma 3>; dma-names = "tx", "rx"; -From ac8f2e50a067825e808363d8ed44a330428b44ef Mon Sep 17 00:00:00 2001 +From fda99d307674d382220d4172d5e7563a28c8655e Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 10:31:04 +0000 -Subject: [PATCH 117/155] ARM: bcm2708: use correct device-tree node names for +Subject: [PATCH 117/160] ARM: bcm2708: use correct device-tree node names for serial Upstream mandates the use of "serial" as name inside the device-tree. @@ -134891,10 +134891,10 @@ index 17d04cf87195a6ff192e1ddbe4f92b1afa9e5ddb..18f77453c38dbbf33f3726a5b4cce15b }; }; -From 829b7e885ec3bd681df57bf8900665390ed07ece Mon Sep 17 00:00:00 2001 +From 2681ce9d5be31a5392d201e92c1fa2419eb7aaec Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 10:52:17 +0000 -Subject: [PATCH 118/155] ARM: bcm2708: moved uart0 to use new clock framework +Subject: [PATCH 118/160] ARM: bcm2708: moved uart0 to use new clock framework Moved uart0 to use new clock framework. At the same time removed the fixed clock clk_uart0 @@ -135018,10 +135018,10 @@ index a72e6e5a0ac0b2492db3d8034a5196b3e19ae008..55ddafda0b17e480e129dc84c93e6743 i2s = <&i2s>,"status"; spi = <&spi0>,"status"; -From 14a9bde96cf37d6eb34603017d133df318850ade Mon Sep 17 00:00:00 2001 +From be823512b65c6ec77e48c7732652cc2e7809b865 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:12:37 +0000 -Subject: [PATCH 119/155] ARM: bcm2708: move spi0 to use new clock framework +Subject: [PATCH 119/160] ARM: bcm2708: move spi0 to use new clock framework use spi0 to use new clock framwork @@ -135044,10 +135044,10 @@ index a93c5a20e3a19a36441f213bf8e9306e90c60842..2eef648c4da0fe18c7134154a67b1529 #size-cells = <0>; status = "disabled"; -From d37534ccd791177f32635b5e20360d2d5854f120 Mon Sep 17 00:00:00 2001 +From e4c876c43324cce19ac42316c7d2e8d9f34e0c87 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:17:32 +0000 -Subject: [PATCH 120/155] ARM: bcm2708: move i2c to use new clock framework +Subject: [PATCH 120/160] ARM: bcm2708: move i2c to use new clock framework move i2c to use the new clock framework instead of the fixed clock @@ -135088,10 +135088,10 @@ index 2eef648c4da0fe18c7134154a67b1529b36b1eef..ac45bbd4e72c2a1668424ee8f714bd9f #size-cells = <0>; status = "disabled"; -From a20fe45c156c8a10c450331bb9b2e4e958b8c56d Mon Sep 17 00:00:00 2001 +From dacee7d465b1e61992b7c6782d48800cd4f8067b Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:19:11 +0000 -Subject: [PATCH 121/155] ARM: bcm2708: move pwm to new clock framework +Subject: [PATCH 121/160] ARM: bcm2708: move pwm to new clock framework Move PWM to use the new clock framework @@ -135116,10 +135116,10 @@ index ac45bbd4e72c2a1668424ee8f714bd9f605eaccd..4177be1f2d4404a775fe3e993f020fb5 status = "disabled"; }; -From 6decfeac90dcdf57c9bcfdb23b4fd58db7985d99 Mon Sep 17 00:00:00 2001 +From f2e309a1315044f5e5a8f57ceb6ff3969f6e360f Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:23:53 +0000 -Subject: [PATCH 122/155] ARM: bcm2708: fix auxiliar clock provider to use +Subject: [PATCH 122/160] ARM: bcm2708: fix auxiliar clock provider to use clock framework Fix the auxiliar clock provider to use the clock framework @@ -135149,10 +135149,10 @@ index 4177be1f2d4404a775fe3e993f020fb573cee7f2..f1b813d145874205a33068d278c0e79c uart1: serial@7e215040 { -From 806582be219234a491577e21f92caf28815c2aa7 Mon Sep 17 00:00:00 2001 +From bf2be15bfb7e1665f99a8dfca52521908276f9d4 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:32:21 +0000 -Subject: [PATCH 123/155] ARM: bcm2708: fix register range of spi-aux +Subject: [PATCH 123/160] ARM: bcm2708: fix register range of spi-aux Fix the register range of the spi-aux devices, as they do not control the gate. @@ -135185,10 +135185,10 @@ index f1b813d145874205a33068d278c0e79c6355ef20..37cde9cf317e6c5c76bcf3676a296696 clocks = <&aux BCM2835_AUX_CLOCK_SPI2>; #address-cells = <1>; -From 575b58d52b19410ac49841a853d968a19c9cb1d5 Mon Sep 17 00:00:00 2001 +From de058c81f02cba174454b9b7e4aacc890b2d0f23 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 12:12:16 +0000 -Subject: [PATCH 124/155] ARM: bcm2708: move to new clock manager and driver +Subject: [PATCH 124/160] ARM: bcm2708: move to new clock manager and driver for aux-uart Move to new aux-uart driver (from upstream) and enable it correctly @@ -135289,10 +135289,10 @@ index e46761d20f7b4c780784d48c9f8de23f47f5134c..1232132f218b5c09dd46f3e9f541ea7c help Support for the BCM2835 auxiliar mini UART. -From 471e3f1a0f4081bddc812551483510c0b41ae3e4 Mon Sep 17 00:00:00 2001 +From 60d3d6ca69fe4f451d90f6707b4cf30778fe9e90 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 12:44:22 +0000 -Subject: [PATCH 125/155] ARM: bcm2708: remove pwm clock +Subject: [PATCH 125/160] ARM: bcm2708: remove pwm clock Remove no longer necessary fixed pwm clock. @@ -135321,10 +135321,10 @@ index 011ef9786d46b4ba8db0c672339b7f22b5b75e08..aa6005c2460df08cf2f102148be251a7 clk_osc: clock@6 { compatible = "fixed-clock"; -From 46e016f48f3455d2bfa784152e72e4736b8acd69 Mon Sep 17 00:00:00 2001 +From 2270f86d3c859701ba016de4578af2e7d6548f91 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 126/155] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 126/160] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -135494,10 +135494,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From a69e3aa1fad07973778570543554828a299bd29c Mon Sep 17 00:00:00 2001 +From b2895998201ba90093f816ebd3188983373bed34 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 15:02:23 +0000 -Subject: [PATCH 127/155] ARM: bcm2835: move smi to use clock framework +Subject: [PATCH 127/160] ARM: bcm2835: move smi to use clock framework Move smi to use clock framework. @@ -135526,10 +135526,10 @@ index aa6005c2460df08cf2f102148be251a7a57d0bdf..d757ca03a4a35f5da464667b6897a654 dma-names = "rx-tx"; status = "disabled"; -From d82e9a8c455ac342410427398024ef15b77ef5c1 Mon Sep 17 00:00:00 2001 +From 5e3ed36729fd94dd1e56d29cd7de75c3d5193737 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 13:04:12 +0000 -Subject: [PATCH 128/155] ARM: bcm2708: move mmc to use clock framework +Subject: [PATCH 128/160] ARM: bcm2708: move mmc to use clock framework Move mmc to use clock framework. @@ -135570,10 +135570,10 @@ index d757ca03a4a35f5da464667b6897a654a69ca0b8..9689b971debfb2368da9f56cac2a4e04 clk_osc: clock@6 { compatible = "fixed-clock"; -From 578c12ee37e6fc7b0bd570842e815c81b5ea6e0b Mon Sep 17 00:00:00 2001 +From 54f2d726500608588221c5f11af1ec6625a5ee4a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 13:19:51 +0000 -Subject: [PATCH 129/155] ARM: bcm2708: move sdhost to use clock framework +Subject: [PATCH 129/160] ARM: bcm2708: move sdhost to use clock framework Move the sdhost device to use the clock framework. @@ -135600,10 +135600,10 @@ index 9689b971debfb2368da9f56cac2a4e04a1c6dd17..74b8b67dbc73ddd6fa36b3ae6df96c29 dma-names = "rx-tx"; brcm,overclock-50 = <0>; -From cda64d79670dce8bea71179ae6bda36540954c70 Mon Sep 17 00:00:00 2001 +From 121daf0e1fa71595d6ad80e9ddac009508bea01c Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 15:11:24 +0000 -Subject: [PATCH 130/155] ARM: bcm2708: remove clk_core as it is no longer used +Subject: [PATCH 130/160] ARM: bcm2708: remove clk_core as it is no longer used Remove clk_core from device tree as it is no longer used. Any "modification" to the core_clock in the bootloader is now @@ -135700,10 +135700,10 @@ index 55ddafda0b17e480e129dc84c93e6743ff533ec1..037ed41b140c448940c4a04d235fa6e6 act_led_gpio = <&act_led>,"gpios:4"; act_led_activelow = <&act_led>,"gpios:8"; -From 4e52183643de4975b5e2d775acbd59ee4a4199f8 Mon Sep 17 00:00:00 2001 +From 2fca143317250f7c652525da986732173c72090d Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Tue, 16 Aug 2016 20:07:38 +0100 -Subject: [PATCH 131/155] CM3: ARM: bcm2708: moved uart0 to use new clock +Subject: [PATCH 131/160] CM3: ARM: bcm2708: moved uart0 to use new clock framework Moved uart0 to use new clock framework. @@ -135734,10 +135734,10 @@ index 6a3d2f21295a63e9211638b9e4ba202753c8181b..f637da1d3b85dfc79e88b4bf0b3ec124 i2s = <&i2s>,"status"; spi = <&spi0>,"status"; -From d6432c8b07be7144b119171ea2f3831e2d081dad Mon Sep 17 00:00:00 2001 +From c1f67985eccdaf4fde3e7c00eb8f0784cbffa912 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Tue, 16 Aug 2016 20:09:33 +0100 -Subject: [PATCH 132/155] CM3: ARM: bcm2708: remove clk_core as it is no longer +Subject: [PATCH 132/160] CM3: ARM: bcm2708: remove clk_core as it is no longer used Remove clk_core from device tree as it is no longer used. @@ -135762,10 +135762,10 @@ index f637da1d3b85dfc79e88b4bf0b3ec12417ba2c21..a5d57893d5799e57ffe9b8efe553a03e act_led_gpio = <&act_led>,"gpios:4"; act_led_activelow = <&act_led>,"gpios:8"; -From 584b390ae725566966daf59fb561faa11d8cb9c1 Mon Sep 17 00:00:00 2001 +From 37416e434a2f9c6b9d8c5860b598fdf64b647762 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 133/155] Register the clocks early during the boot process, so +Subject: [PATCH 133/160] 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. @@ -135811,10 +135811,10 @@ index fbf616021704178a9d007219a0ea2a9f1704f0a6..cbbc8d4ddcffc797268c0ecb6477005f MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From e732da6682968ba842a47b8770ed8829e46099ed Mon Sep 17 00:00:00 2001 +From 27afd948c6e5c59d65d1427caa79ba089da6e016 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 May 2016 17:19:27 +0100 -Subject: [PATCH 134/155] brcmfmac: revise SDIO error message in +Subject: [PATCH 134/160] brcmfmac: revise SDIO error message in brcmf_sdio_drivestrengthinit The error message is given for something that is not an error here as @@ -135843,10 +135843,10 @@ index ea66454a3d7444f51827964aea01bf7573f2b473..f315428e4f696b4c53af4f5f9cbc3051 break; } -From c70a235381323fcf8f614ff95c55690fd53b3457 Mon Sep 17 00:00:00 2001 +From 4f35f415e0683d9588aa9284b7d1164796b78032 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 May 2016 17:26:31 +0100 -Subject: [PATCH 135/155] brcmfmac: use ndev->needed_headroom to reserve +Subject: [PATCH 135/160] brcmfmac: use ndev->needed_headroom to reserve additional header space When using nmap tool with FMAC, the nmap packets were be dropped by kernel @@ -135880,10 +135880,10 @@ index b590499f6883294525b094cb66c4449069eb2353..6570dba08bb482bbb3d47ff6f0790a70 drvr->rxsz = ndev->mtu + ndev->hard_header_len + -From b7e8bc9dd4a563aef036017c382686d35926659d Mon Sep 17 00:00:00 2001 +From 94d5db36ba85ab166b19bf9c0f261f302a03cf06 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Jun 2016 11:11:33 +0100 -Subject: [PATCH 136/155] brcmfmac: change rx_seq check log from error print to +Subject: [PATCH 136/160] brcmfmac: change rx_seq check log from error print to debug print The bus rx sequence is not in order because that control and event @@ -135915,10 +135915,10 @@ index f315428e4f696b4c53af4f5f9cbc30512097af36..8d716401af46cc9ade8daee2d1b6a17c rd->seq_num = rx_seq; } -From 3ca27ce783299fb44a893c4db140bfe763fbc5d8 Mon Sep 17 00:00:00 2001 +From 397907c8315909b03199eef476a4e098c8cf51bc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Aug 2016 11:26:57 +0100 -Subject: [PATCH 137/155] overlays: Add audremap overlay +Subject: [PATCH 137/160] overlays: Add audremap overlay The audremap overlay switches the PWM audio outputs to GPIO pins 12 (L) and 13 (R). @@ -135979,10 +135979,10 @@ index 0000000000000000000000000000000000000000..17bbabb712b1c5768f6446bd8cc3b668 + }; +}; -From c58cd240baf7ec4665495313b3792dc46e883947 Mon Sep 17 00:00:00 2001 +From 2b9828bb260b2d8130188d3d2991bb8c283d12ae Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Aug 2016 15:39:01 +0100 -Subject: [PATCH 138/155] overlays: Add swap_lr and enable_jack to audremap +Subject: [PATCH 138/160] overlays: Add swap_lr and enable_jack to audremap swap_lr causes the channels to be reversed, and enable_jack prevents the headphone output from being disabled. @@ -136034,10 +136034,10 @@ index 17bbabb712b1c5768f6446bd8cc3b6687ef24cb8..9582d6ab31218b4ed7b1d42a9190ca6e + }; }; -From 913e60e8b5feaababab88eff6b945242e9bfd168 Mon Sep 17 00:00:00 2001 +From 4c3ac0055a45c76807c8358b57cfa5aa7a1d93fd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Aug 2016 11:12:28 +0100 -Subject: [PATCH 139/155] BCM270X_DT: Add audio_pins to CM dtb +Subject: [PATCH 139/160] BCM270X_DT: Add audio_pins to CM dtb Bring the CM .dtb in line with other others. --- @@ -136061,10 +136061,10 @@ index d2dcc9c156b32a91a45c26b460fa971abd0dbdf5..ce9f54ff7e4ce76ad25ad0a19cf2ad48 &spi0 { -From 75e114c289f3f7be2c2467333558d92bd11c615c Mon Sep 17 00:00:00 2001 +From 3e5fe5c14d43b8f616c9732741ed341e4b49792f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Aug 2016 11:19:02 +0100 -Subject: [PATCH 140/155] BCM270X_DT: Don't enable UART0 in CM3 dtb +Subject: [PATCH 140/160] BCM270X_DT: Don't enable UART0 in CM3 dtb --- arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 12 ------------ @@ -136101,10 +136101,10 @@ index a5d57893d5799e57ffe9b8efe553a03ec4bde007..20388084b98cf942529eb60c55dc540c pinctrl-names = "default"; pinctrl-0 = <&spi0_pins &spi0_cs_pins>; -From d06bf79f9c9664ecd0f97c3de53348204dc338b8 Mon Sep 17 00:00:00 2001 +From 28b9310b4771c2f3811b61649a512a241cc89aa5 Mon Sep 17 00:00:00 2001 From: wavelet2 Date: Fri, 19 Aug 2016 09:32:53 +0100 -Subject: [PATCH 141/155] Overlay for Microchip MCP23S08/17 SPI gpio expanders +Subject: [PATCH 141/160] Overlay for Microchip MCP23S08/17 SPI gpio expanders (#1566) Added Overlay for Microchip MCP23S08/17 SPI gpio expanders @@ -136901,10 +136901,10 @@ index 0000000000000000000000000000000000000000..7dcbacb3cd007eb15b2b0f165fd8adc7 +}; + -From fce09741d4cb97a802e07329bf0d57319f15c572 Mon Sep 17 00:00:00 2001 +From 8fff3b92c95c0cfd04bbd42f7d30b7be0adfce06 Mon Sep 17 00:00:00 2001 From: Georgii Staroselskii Date: Tue, 23 Aug 2016 17:40:05 +0400 -Subject: [PATCH 142/155] overlays: added sc16is750 UART over I2C (#1617) +Subject: [PATCH 142/160] overlays: added sc16is750 UART over I2C (#1617) --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -136990,10 +136990,10 @@ index 0000000000000000000000000000000000000000..339d0d17c01ff182edd0871de9dc4ea7 + +}; -From 25dcacb541bfd88bdd1b9e7556b60a0b7e286d53 Mon Sep 17 00:00:00 2001 +From d3a6b4db08f040260d18641bf713c22e1159122d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Aug 2016 11:56:04 +0100 -Subject: [PATCH 143/155] overlays: Clarify gpio-poweroff semantics in README +Subject: [PATCH 143/160] overlays: Clarify gpio-poweroff semantics in README 1) GPIO pin is signalled on poweroff, not reboot. 2) In RPi kernels, halt is equivalent to poweroff. @@ -137017,10 +137017,10 @@ index f93b8ffd40157da92685095f75ea67943153a16b..7a98f105eb94b95f0f592cad5dd20dd6 Params: gpiopin GPIO for signalling (default 26) -From 2b691a6bcb38f9eb2baa0c4a36ca206cc2108d24 Mon Sep 17 00:00:00 2001 +From 95909d96c80aaeaa4837b41db7c15187c781be0d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 9 Aug 2016 21:51:41 +0100 -Subject: [PATCH 144/155] overlays: Add assert_falling_edge to pps-gpio overlay +Subject: [PATCH 144/160] overlays: Add assert_falling_edge to pps-gpio overlay See: https://github.com/raspberrypi/linux/issues/1590 --- @@ -137053,10 +137053,10 @@ index 40bf0e11015f5abebd0d4139276da888d728d569..50143a4bb215807ba0a0d0562f5827fa }; }; -From 44fc2291a0edb15a0988c55baa19372c9bbd0372 Mon Sep 17 00:00:00 2001 +From 245e32ac7050ae16965170a3041d42a0d1c618e5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 2 Sep 2016 17:21:42 +0100 -Subject: [PATCH 145/155] bcm2835-sdhost: Don't exit cmd wait loop on error +Subject: [PATCH 145/160] bcm2835-sdhost: Don't exit cmd wait loop on error The FAIL flag can be set in the CMD register before command processing is complete, leading to spurious "failed to complete" errors. This has @@ -137119,10 +137119,10 @@ index d7b6b5a4e31f7aaa76470d3a79ea78a643184855..22bfb340011b0c857f8eb4824eb0b656 mmc->f_min = host->max_clk / SDCDIV_MAX_CDIV; -From d038b09600e780dcbad899e4ee96a1b8b0b44bc2 Mon Sep 17 00:00:00 2001 +From 745a3c2defe45fca54b56f898c0f7d029c9337ba Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 2 Sep 2016 14:35:37 +0100 -Subject: [PATCH 146/155] BCM270X_DT: Use bcm2835-sdhost on Compute Module +Subject: [PATCH 146/160] BCM270X_DT: Use bcm2835-sdhost on Compute Module With the preceding commit: @@ -137152,10 +137152,10 @@ index f07609d97225b355dd2b6981d4f1fa28d0d40950..d33d462b4090e4a4f967a37212918b9c bus-width = <4>; status = "okay"; -From 5d01f38eb67532fc85d6506f17a6acbc60e554d1 Mon Sep 17 00:00:00 2001 +From c8beb4015fc71c74ac6e1d5e9961828b690b64c0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 7 Sep 2016 16:57:59 +0100 -Subject: [PATCH 147/155] fbmem: Ensure that parameters are properly checked +Subject: [PATCH 147/160] fbmem: Ensure that parameters are properly checked within fb_copyarea_user --- @@ -137182,10 +137182,10 @@ index 1d3b35ec8e393aac43dca0ec4566f7a7d0d8998a..7bf48e478c056fcd745026902961506d copy->dy + copy->height > info->var.yres || copy->sy + copy->height > info->var.yres) { -From 0c0c77239a3824a0f0e45eeecc84407b0084b36b Mon Sep 17 00:00:00 2001 +From 6ceb78c3246153dce45f20ae2f31131805615c37 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 9 Sep 2016 19:35:13 +0100 -Subject: [PATCH 148/155] config: Enabled SENSORS_INA2XX module +Subject: [PATCH 148/160] config: Enabled SENSORS_INA2XX module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -137217,10 +137217,10 @@ index 5535fee75c1a31c4fe014b1551af763fb2e7c289..a3155e9e6099b0894d9c9601fceaeb61 CONFIG_THERMAL_BCM2835=y CONFIG_WATCHDOG=y -From e6146223f8a12e0c8a07c4f6e5dcddde76cd8fc2 Mon Sep 17 00:00:00 2001 +From 48ce4b86b03ce4b21b6d719e3275bbf309f62607 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 12 Sep 2016 13:46:56 +0100 -Subject: [PATCH 149/155] overlays: Add dpi18 overlay (#1634) +Subject: [PATCH 149/160] overlays: Add dpi18 overlay (#1634) Add support for 18-bit DPI displays. Although the dpi24 overlay could be used, this overlay leaves GPIOs 22-27 free for other uses. @@ -137300,10 +137300,10 @@ index 0000000000000000000000000000000000000000..8098d5e28a71ffbc717db5c6b88305d2 + }; +}; -From 65ca6c3602903872102700aa0265fcc03c0a243d Mon Sep 17 00:00:00 2001 +From 7cf7912ce5c40a269a559791a4aaac83e52f8462 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 13 Sep 2016 16:32:37 +0100 -Subject: [PATCH 150/155] brcmfmac: do not use internal roaming engine by +Subject: [PATCH 150/160] brcmfmac: do not use internal roaming engine by default Some evidence of curing disconnects with this disabled, so make it a default. @@ -137327,10 +137327,10 @@ index 3e15d64c64813513bc22202dd9e468588699abb0..4051780f64f44a5ce522babe6c371a1b MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine"); -From ab93d0114d8bee0099ba078e4f7c7bd8dd72b74a Mon Sep 17 00:00:00 2001 +From 213bbbeaddc79451cc872797435e3e15fafd18e9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 Aug 2016 17:36:39 +0100 -Subject: [PATCH 151/155] config: Enable SERIAL_SC16IS7XX_SPI +Subject: [PATCH 151/160] config: Enable SERIAL_SC16IS7XX_SPI Previously only the I2C mode was supported. @@ -137365,10 +137365,10 @@ index a3155e9e6099b0894d9c9601fceaeb61412bdff3..0061b42f6a41e8640f19c14773333f18 CONFIG_HW_RANDOM=y CONFIG_RAW_DRIVER=y -From 578e81f73a8095b92098f85b85d1e7aa2415b58e Mon Sep 17 00:00:00 2001 +From e8089ead2b9a8d5241b8fb64971947a4011a8631 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Aug 2016 14:07:29 +0100 -Subject: [PATCH 152/155] config: Add CONFIG_IPVLAN module +Subject: [PATCH 152/160] config: Add CONFIG_IPVLAN module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -137400,10 +137400,10 @@ index 0061b42f6a41e8640f19c14773333f183c95bb6a..b726e62c7beff9b571bf7ab76101609d CONFIG_TUN=m CONFIG_VETH=m -From a98552617a3b08d7f43762b2a03fb4a49fd4dfb4 Mon Sep 17 00:00:00 2001 +From 277980f1117148aff6fb1d1c33a18b4f36560a2b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Aug 2016 14:08:55 +0100 -Subject: [PATCH 153/155] config: Add CONFIG_VXLAN module +Subject: [PATCH 153/160] config: Add CONFIG_VXLAN module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -137435,10 +137435,10 @@ index b726e62c7beff9b571bf7ab76101609daa418122..2c5d3ec8ccade1c55997a90aeaec31d1 CONFIG_TUN=m CONFIG_VETH=m -From 8828c619adb409c4e1c816620aeb79d6a25710af Mon Sep 17 00:00:00 2001 +From fdaba1c3e1b122f60e45c8ea711f6e19117aecf3 Mon Sep 17 00:00:00 2001 From: Jools Wills Date: Mon, 8 Aug 2016 11:04:29 +0100 -Subject: [PATCH 154/155] enable gembird joypad support +Subject: [PATCH 154/160] enable gembird joypad support --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -137470,10 +137470,10 @@ index 2c5d3ec8ccade1c55997a90aeaec31d126f3a22c..3abe26f65bc5d9406589cc4112d92235 CONFIG_HID_KEYTOUCH=m CONFIG_HID_KYE=m -From d93133c246aa765f9ec9a462cb992218768f3853 Mon Sep 17 00:00:00 2001 +From 19da11e2c6bc019ed16308c4d82c35b5c1de7282 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 15 Sep 2016 11:36:26 +0100 -Subject: [PATCH 155/155] config: Remove CONFIG_TRIM_UNUSED_KSYMS +Subject: [PATCH 155/160] config: Remove CONFIG_TRIM_UNUSED_KSYMS --- arch/arm/configs/bcm2709_defconfig | 1 - @@ -137504,3 +137504,581 @@ index 3abe26f65bc5d9406589cc4112d922351fc260c6..b2372c4f366d36a52caa1179a095d6a3 CONFIG_BLK_DEV_THROTTLING=y CONFIG_PARTITION_ADVANCED=y CONFIG_MAC_PARTITION=y + +From 78ca2a50717bfaa938170381d9ded98d9f70d60c Mon Sep 17 00:00:00 2001 +From: Clive Messer +Date: Mon, 19 Sep 2016 14:01:04 +0100 +Subject: [PATCH 156/160] Allo Piano DAC boards: Initial 2 channel (stereo) + support (#1645) + +Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, +using allo-piano-dac-pcm512x-audio overlay and allo-piano-dac ALSA ASoC +machine driver. + +NB. The initial support is 2 channel (stereo) ONLY! +(The Piano DAC 2.1 will only support 2 channel (stereo) left/right output, + pending an update to the upstream pcm512x codec driver, which will have + to be submitted via upstream. With the initial downstream support, + provided by this patch, the Piano DAC 2.1 subwoofer outputs will + not function.) + +Signed-off-by: Baswaraj K +Signed-off-by: Clive Messer +Tested-by: Clive Messer +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 20 +++ + .../allo-piano-dac-pcm512x-audio-overlay.dts | 54 ++++++++ + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + sound/soc/bcm/Kconfig | 7 + + sound/soc/bcm/Makefile | 2 + + sound/soc/bcm/allo-piano-dac.c | 144 +++++++++++++++++++++ + 8 files changed, 230 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts + create mode 100644 sound/soc/bcm/allo-piano-dac.c + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 58bd224d7b1329710ee290c2584a40df565418cc..b6ed1a3c06a7a67d1dd79bb7e55421d8eccba492 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -16,6 +16,7 @@ dtbo-$(RPI_DT_OVERLAYS) += adau1977-adc.dtbo + dtbo-$(RPI_DT_OVERLAYS) += ads1015.dtbo + dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo + dtbo-$(RPI_DT_OVERLAYS) += akkordion-iqdacplus.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += allo-piano-dac-pcm512x-audio.dtbo + dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo + dtbo-$(RPI_DT_OVERLAYS) += audioinjector-wm8731-audio.dtbo + dtbo-$(RPI_DT_OVERLAYS) += audremap.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index a6aa2dfaee53026459a48460ae3df409329a53d2..1ebb94c005d68b17792f95bd9792a08679298b26 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -235,6 +235,26 @@ Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec + that does not result in clipping/distortion!) + + ++Name: allo-piano-dac-pcm512x-audio ++Info: Configures the Allo Piano DAC (2.0/2.1) audio cards. ++ (NB. This initial support is for 2.0 channel audio ONLY! ie. stereo. ++ The subwoofer outputs on the Piano 2.1 are not currently supported!) ++Load: dtoverlay=allo-piano-dac-pcm512x-audio, ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24db_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ + Name: at86rf233 + Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver, + connected to spi0.0 +diff --git a/arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts b/arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts +new file mode 100644 +index 0000000000000000000000000000000000000000..a5468d850a911cd509365cf25f8ffa6ad071b90a +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts +@@ -0,0 +1,54 @@ ++/* ++ * Definitions for Allo Piano DAC (2.0/2.1) boards ++ * ++ * NB. The Piano DAC 2.1 board contains 2x TI PCM5142 DAC's. One DAC is stereo ++ * (left/right) and the other provides a subwoofer output, using DSP on the ++ * chip for digital high/low pass crossover. ++ * The initial support for this hardware, that doesn't require any codec driver ++ * modifications, uses only one DAC chip for stereo (left/right) output, the ++ * chip with 0x4c slave address. The other chip at 0x4d is currently ignored! ++ */ ++ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&i2c1>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ pcm5142@4c { ++ #sound-dai-cells = <0>; ++ compatible = "ti,pcm5142"; ++ reg = <0x4c>; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&sound>; ++ piano_dac: __overlay__ { ++ compatible = "allo,piano-dac"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++ ++ __overrides__ { ++ 24db_digital_gain = ++ <&piano_dac>,"allo,24db_digital_gain?"; ++ }; ++}; +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 1fbe104b5d46dce196abb750e65467395eb63dea..dc12da10db38efb54628119f0712ed9bc9082665 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -877,6 +877,7 @@ CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m + CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m + CONFIG_SND_DIGIDAC1_SOUNDCARD=m + CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m ++CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m + CONFIG_SND_SOC_ADAU1701=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index b2372c4f366d36a52caa1179a095d6a3e2eeb151..36215a0252a5f6305097319846f13118309b7a21 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -868,6 +868,7 @@ CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m + CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m + CONFIG_SND_DIGIDAC1_SOUNDCARD=m + CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m ++CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m + CONFIG_SND_SOC_ADAU1701=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m +diff --git a/sound/soc/bcm/Kconfig b/sound/soc/bcm/Kconfig +index 8873fd8adce1d17cb543251f5cdc6ac8f4bf523d..23eefb56fdc736660ad682217ce77b4ea1725d15 100644 +--- a/sound/soc/bcm/Kconfig ++++ b/sound/soc/bcm/Kconfig +@@ -114,3 +114,10 @@ config SND_BCM2708_SOC_DIONAUDIO_LOCO + select SND_SOC_PCM5102a + help + Say Y or M if you want to add support for Dion Audio LOCO. ++ ++config SND_BCM2708_SOC_ALLO_PIANO_DAC ++ tristate "Support for Allo Piano DAC" ++ depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S ++ select SND_SOC_PCM512x_I2C ++ help ++ Say Y or M if you want to add support for Allo Piano DAC. +diff --git a/sound/soc/bcm/Makefile b/sound/soc/bcm/Makefile +index 17f70f951322239696623c2347e5d846bbef2369..a2b642f10ee676a2c65abf1bd0ea1ba5a01ebda1 100644 +--- a/sound/soc/bcm/Makefile ++++ b/sound/soc/bcm/Makefile +@@ -19,6 +19,7 @@ snd-soc-raspidac3-objs := raspidac3.o + snd-soc-audioinjector-pi-soundcard-objs := audioinjector-pi-soundcard.o + snd-soc-digidac1-soundcard-objs := digidac1-soundcard.o + snd-soc-dionaudio-loco-objs := dionaudio_loco.o ++snd-soc-allo-piano-dac-objs := allo-piano-dac.o + + obj-$(CONFIG_SND_BCM2708_SOC_ADAU1977_ADC) += snd-soc-adau1977-adc.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC) += snd-soc-hifiberry-dac.o +@@ -35,3 +36,4 @@ obj-$(CONFIG_SND_BCM2708_SOC_RASPIDAC3) += snd-soc-raspidac3.o + obj-$(CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD) += snd-soc-audioinjector-pi-soundcard.o + obj-$(CONFIG_SND_DIGIDAC1_SOUNDCARD) += snd-soc-digidac1-soundcard.o + obj-$(CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO) += snd-soc-dionaudio-loco.o ++obj-$(CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC) += snd-soc-allo-piano-dac.o +diff --git a/sound/soc/bcm/allo-piano-dac.c b/sound/soc/bcm/allo-piano-dac.c +new file mode 100644 +index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99ecd7e4cf +--- /dev/null ++++ b/sound/soc/bcm/allo-piano-dac.c +@@ -0,0 +1,144 @@ ++/* ++ * ALSA ASoC Machine Driver for Allo Piano DAC ++ * ++ * Author: Baswaraj K ++ * Copyright 2016 ++ * based on code by Daniel Matuschek ++ * based on code by Florian Meier ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * version 2 as published by the Free Software Foundation. ++ * ++ * This program is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ */ ++ ++#include ++#include ++ ++#include ++#include ++#include ++#include ++ ++static bool digital_gain_0db_limit = true; ++ ++static int snd_allo_piano_dac_init(struct snd_soc_pcm_runtime *rtd) ++{ ++ if (digital_gain_0db_limit) { ++ int ret; ++ struct snd_soc_card *card = rtd->card; ++ ++ ret = snd_soc_limit_volume(card, "Digital Playback Volume", ++ 207); ++ if (ret < 0) ++ dev_warn(card->dev, "Failed to set volume limit: %d\n", ++ ret); ++ } ++ ++ return 0; ++} ++ ++static int snd_allo_piano_dac_hw_params( ++ struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) ++{ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_dai *cpu_dai = rtd->cpu_dai; ++ ++ unsigned int sample_bits = ++ snd_pcm_format_physical_width(params_format(params)); ++ ++ return snd_soc_dai_set_bclk_ratio(cpu_dai, sample_bits * 2); ++} ++ ++/* machine stream operations */ ++static struct snd_soc_ops snd_allo_piano_dac_ops = { ++ .hw_params = snd_allo_piano_dac_hw_params, ++}; ++ ++static struct snd_soc_dai_link snd_allo_piano_dac_dai[] = { ++{ ++ .name = "Piano DAC", ++ .stream_name = "Piano DAC HiFi", ++ .cpu_dai_name = "bcm2708-i2s.0", ++ .codec_dai_name = "pcm512x-hifi", ++ .platform_name = "bcm2708-i2s.0", ++ .codec_name = "pcm512x.1-004c", ++ .dai_fmt = SND_SOC_DAIFMT_I2S | ++ SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBS_CFS, ++ .ops = &snd_allo_piano_dac_ops, ++ .init = snd_allo_piano_dac_init, ++}, ++}; ++ ++/* audio machine driver */ ++static struct snd_soc_card snd_allo_piano_dac = { ++ .name = "PianoDAC", ++ .owner = THIS_MODULE, ++ .dai_link = snd_allo_piano_dac_dai, ++ .num_links = ARRAY_SIZE(snd_allo_piano_dac_dai), ++}; ++ ++static int snd_allo_piano_dac_probe(struct platform_device *pdev) ++{ ++ int ret = 0; ++ ++ snd_allo_piano_dac.dev = &pdev->dev; ++ ++ if (pdev->dev.of_node) { ++ struct device_node *i2s_node; ++ struct snd_soc_dai_link *dai; ++ ++ dai = &snd_allo_piano_dac_dai[0]; ++ i2s_node = of_parse_phandle(pdev->dev.of_node, ++ "i2s-controller", 0); ++ ++ if (i2s_node) { ++ dai->cpu_dai_name = NULL; ++ dai->cpu_of_node = i2s_node; ++ dai->platform_name = NULL; ++ dai->platform_of_node = i2s_node; ++ } ++ ++ digital_gain_0db_limit = !of_property_read_bool( ++ pdev->dev.of_node, "allo,24db_digital_gain"); ++ } ++ ++ ret = snd_soc_register_card(&snd_allo_piano_dac); ++ if (ret) ++ dev_err(&pdev->dev, ++ "snd_soc_register_card() failed: %d\n", ret); ++ ++ return ret; ++} ++ ++static int snd_allo_piano_dac_remove(struct platform_device *pdev) ++{ ++ return snd_soc_unregister_card(&snd_allo_piano_dac); ++} ++ ++static const struct of_device_id snd_allo_piano_dac_of_match[] = { ++ { .compatible = "allo,piano-dac", }, ++ { /* sentinel */ }, ++}; ++MODULE_DEVICE_TABLE(of, snd_allo_piano_dac_of_match); ++ ++static struct platform_driver snd_allo_piano_dac_driver = { ++ .driver = { ++ .name = "snd-allo-piano-dac", ++ .owner = THIS_MODULE, ++ .of_match_table = snd_allo_piano_dac_of_match, ++ }, ++ .probe = snd_allo_piano_dac_probe, ++ .remove = snd_allo_piano_dac_remove, ++}; ++ ++module_platform_driver(snd_allo_piano_dac_driver); ++ ++MODULE_AUTHOR("Baswaraj K "); ++MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); ++MODULE_LICENSE("GPL v2"); + +From ec6cdd8bc004d527b83708ff2c7257e50a9b372a Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 19 Sep 2016 17:16:09 +0100 +Subject: [PATCH 157/160] overlays: adjust overlays for absent pwm_clk + +Clocks are now managed by cprman, so pwm_clk no longer exists. + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts | 12 +++--------- + arch/arm/boot/dts/overlays/pwm-overlay.dts | 12 +++--------- + 2 files changed, 6 insertions(+), 18 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts b/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts +index 18e4e4fa9465c87eb96c8d712a9967c4805c7176..abdeddd0f2c873e2b1fffcf6f2b838ee0123768f 100644 +--- a/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts ++++ b/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts +@@ -29,25 +29,19 @@ N.B.: + + fragment@1 { + target = <&pwm>; +- __overlay__ { ++ frag1: __overlay__ { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_pins>; ++ assigned-clock-rates = <100000000>; + status = "okay"; + }; + }; + +- fragment@2 { +- target = <&clk_pwm>; +- frag2: __overlay__ { +- clock-frequency = <100000000>; +- }; +- }; +- + __overrides__ { + pin = <&pwm_pins>,"brcm,pins:0"; + pin2 = <&pwm_pins>,"brcm,pins:4"; + func = <&pwm_pins>,"brcm,function:0"; + func2 = <&pwm_pins>,"brcm,function:4"; +- clock = <&frag2>,"clock-frequency:0"; ++ clock = <&frag1>,"assigned-clock-rates:0"; + }; + }; +diff --git a/arch/arm/boot/dts/overlays/pwm-overlay.dts b/arch/arm/boot/dts/overlays/pwm-overlay.dts +index bf030a6d1545448faf5e7992a0dc5c505522433e..27809e8dc74660a8e922a1aff1bb2ca7186e411c 100644 +--- a/arch/arm/boot/dts/overlays/pwm-overlay.dts ++++ b/arch/arm/boot/dts/overlays/pwm-overlay.dts +@@ -27,23 +27,17 @@ N.B.: + + fragment@1 { + target = <&pwm>; +- __overlay__ { ++ frag1: __overlay__ { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_pins>; ++ assigned-clock-rates = <100000000>; + status = "okay"; + }; + }; + +- fragment@2 { +- target = <&clk_pwm>; +- frag2: __overlay__ { +- clock-frequency = <100000000>; +- }; +- }; +- + __overrides__ { + pin = <&pwm_pins>,"brcm,pins:0"; + func = <&pwm_pins>,"brcm,function:0"; +- clock = <&frag2>,"clock-frequency:0"; ++ clock = <&frag1>,"assigned-clock-rates:0"; + }; + }; + +From edc3561c035995935a96e874783d06998b7b8609 Mon Sep 17 00:00:00 2001 +From: Blogs14 +Date: Fri, 23 Sep 2016 11:02:56 +0100 +Subject: [PATCH 158/160] Correct typos in spi-gpio35-39-overlay.dts (#1651) + +bcrm,pins corrected to brcm,pins +--- + arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts b/arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts +index 9648063d5963f2f6ec8f31038f3af5820a8135a6..49803b309f8643385a3c97f6cdd2015f863d2d34 100644 +--- a/arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts ++++ b/arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts +@@ -18,14 +18,14 @@ + fragment@1 { + target = <&spi0_cs_pins>; + __overlay__ { +- bcrm,pins = <36 35>; ++ brcm,pins = <36 35>; + }; + }; + + fragment@2 { + target = <&spi0_pins>; + __overlay__ { +- bcrm,pins = <37 38 39>; ++ brcm,pins = <37 38 39>; + }; + }; + }; + +From 8576effc76822bb6e834c121a24a38660f692eec Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 31 Aug 2016 17:10:09 +0100 +Subject: [PATCH 159/160] brcmfmac: Change stop_ap sequence + +Patch from Broadcom/Cypress to resolve a customer error + +Signed-off-by: Phil Elwell +--- + drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +index 4a9a636d85b29eb379fa477dfbc7af80ec380dab..d859202156e7d877eb3d383c7a9386d6d188cba4 100644 +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +@@ -4663,12 +4663,15 @@ static int brcmf_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *ndev) + err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_DOWN, 1); + if (err < 0) + brcmf_err("BRCMF_C_DOWN error %d\n", err); +- err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_AP, 0); +- if (err < 0) +- brcmf_err("setting AP mode failed %d\n", err); ++ + err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_INFRA, 0); + if (err < 0) + brcmf_err("setting INFRA mode failed %d\n", err); ++ ++ err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_AP, 0); ++ if (err < 0) ++ brcmf_err("setting AP mode failed %d\n", err); ++ + if (brcmf_feat_is_enabled(ifp, BRCMF_FEAT_MBSS)) + brcmf_fil_iovar_int_set(ifp, "mbss", 0); + err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_REGULATORY, + +From 75d9470295522b876ec03d9ec2b50ebf26332e92 Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Thu, 15 Sep 2016 17:52:17 +0100 +Subject: [PATCH 160/160] drm/vc4: Enable limited range RGB output with CEA + modes. + +--- + drivers/gpu/drm/vc4/vc4_hdmi.c | 28 ++++++++++++++++++++++++++-- + drivers/gpu/drm/vc4/vc4_regs.h | 9 ++++++++- + 2 files changed, 34 insertions(+), 3 deletions(-) + +diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c +index ed9c5274d06a215331aee44da1f7214a0e1f6e28..5cf6ecbe8f6e1304d77678fc05a7a6fbde63523a 100644 +--- a/drivers/gpu/drm/vc4/vc4_hdmi.c ++++ b/drivers/gpu/drm/vc4/vc4_hdmi.c +@@ -284,6 +284,7 @@ static void vc4_hdmi_encoder_mode_set(struct drm_encoder *encoder, + struct drm_display_mode *unadjusted_mode, + struct drm_display_mode *mode) + { ++ struct vc4_hdmi_encoder *vc4_encoder = to_vc4_hdmi_encoder(encoder); + struct drm_device *dev = encoder->dev; + struct vc4_dev *vc4 = to_vc4_dev(dev); + bool debug_dump_regs = false; +@@ -299,6 +300,7 @@ static void vc4_hdmi_encoder_mode_set(struct drm_encoder *encoder, + u32 vertb = (VC4_SET_FIELD(0, VC4_HDMI_VERTB_VSPO) | + VC4_SET_FIELD(mode->vtotal - mode->vsync_end, + VC4_HDMI_VERTB_VBP)); ++ u32 csc_ctl; + + if (debug_dump_regs) { + DRM_INFO("HDMI regs before:\n"); +@@ -337,9 +339,31 @@ static void vc4_hdmi_encoder_mode_set(struct drm_encoder *encoder, + (vsync_pos ? 0 : VC4_HD_VID_CTL_VSYNC_LOW) | + (hsync_pos ? 0 : VC4_HD_VID_CTL_HSYNC_LOW)); + ++ csc_ctl = VC4_SET_FIELD(VC4_HD_CSC_CTL_ORDER_BGR, ++ VC4_HD_CSC_CTL_ORDER); ++ ++ if (vc4_encoder->hdmi_monitor && drm_match_cea_mode(mode) != 0) { ++ /* Enable limited range RGB output. This matrix is: ++ * [ 0 0 0.8594 16] ++ * [ 0 0.8594 0 16] ++ * [ 0.8594 0 0 16] ++ * [ 0 0 0 1] ++ */ ++ csc_ctl |= VC4_HD_CSC_CTL_ENABLE; ++ csc_ctl |= VC4_HD_CSC_CTL_RGB2YCC; ++ csc_ctl |= VC4_SET_FIELD(VC4_HD_CSC_CTL_MODE_CUSTOM, ++ VC4_HD_CSC_CTL_MODE); ++ ++ HD_WRITE(VC4_HD_CSC_12_11, (0x000 << 16) | 0x000); ++ HD_WRITE(VC4_HD_CSC_14_13, (0x100 << 16) | 0x6e0); ++ HD_WRITE(VC4_HD_CSC_22_21, (0x6e0 << 16) | 0x000); ++ HD_WRITE(VC4_HD_CSC_24_23, (0x100 << 16) | 0x000); ++ HD_WRITE(VC4_HD_CSC_32_31, (0x000 << 16) | 0x6e0); ++ HD_WRITE(VC4_HD_CSC_34_33, (0x100 << 16) | 0x000); ++ } ++ + /* The RGB order applies even when CSC is disabled. */ +- HD_WRITE(VC4_HD_CSC_CTL, VC4_SET_FIELD(VC4_HD_CSC_CTL_ORDER_BGR, +- VC4_HD_CSC_CTL_ORDER)); ++ HD_WRITE(VC4_HD_CSC_CTL, csc_ctl); + + HDMI_WRITE(VC4_HDMI_FIFO_CTL, VC4_HDMI_FIFO_CTL_MASTER_SLAVE_N); + +diff --git a/drivers/gpu/drm/vc4/vc4_regs.h b/drivers/gpu/drm/vc4/vc4_regs.h +index f99eece4cc97200ba664514dc26941cb6879e77d..6d3787739aae39c9f982acb3545e9ce39412a1f5 100644 +--- a/drivers/gpu/drm/vc4/vc4_regs.h ++++ b/drivers/gpu/drm/vc4/vc4_regs.h +@@ -508,10 +508,17 @@ + # define VC4_HD_CSC_CTL_MODE_SHIFT 2 + # define VC4_HD_CSC_CTL_MODE_RGB_TO_SD_YPRPB 0 + # define VC4_HD_CSC_CTL_MODE_RGB_TO_HD_YPRPB 1 +-# define VC4_HD_CSC_CTL_MODE_CUSTOM 2 ++# define VC4_HD_CSC_CTL_MODE_CUSTOM 3 + # define VC4_HD_CSC_CTL_RGB2YCC BIT(1) + # define VC4_HD_CSC_CTL_ENABLE BIT(0) + ++#define VC4_HD_CSC_12_11 0x044 ++#define VC4_HD_CSC_14_13 0x048 ++#define VC4_HD_CSC_22_21 0x04c ++#define VC4_HD_CSC_24_23 0x050 ++#define VC4_HD_CSC_32_31 0x054 ++#define VC4_HD_CSC_34_33 0x058 ++ + #define VC4_HD_FRAME_COUNT 0x068 + + /* HVS display list information. */ diff --git a/projects/RPi2/patches/linux/linux-01-RPi_support.patch b/projects/RPi2/patches/linux/linux-01-RPi_support.patch index af90b477ef..8117c4e308 100644 --- a/projects/RPi2/patches/linux/linux-01-RPi_support.patch +++ b/projects/RPi2/patches/linux/linux-01-RPi_support.patch @@ -1,7 +1,7 @@ -From 6dec3415cadfbfa6c6aab985cb5bf3993a4a15bf Mon Sep 17 00:00:00 2001 +From 85140dab667b9b2fe05e60da0019f74e629cce84 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 27 Apr 2016 17:43:28 +0100 -Subject: [PATCH 001/155] Revert "SUNRPC: Make NFS swap work with multipath" +Subject: [PATCH 001/160] Revert "SUNRPC: Make NFS swap work with multipath" This reverts commit 15001e5a7e1e207b6bd258cd8f187814cd15b6dc. --- @@ -95,10 +95,10 @@ index 2808d550d2730ff8e36b6d8c072c65e1631064c4..b362c2f099941c1f3388507983ffbdd1 EXPORT_SYMBOL_GPL(rpc_clnt_swap_deactivate); #endif /* CONFIG_SUNRPC_SWAP */ -From ae9d0ccae437098371657db53e18b403b987bf68 Mon Sep 17 00:00:00 2001 +From 80447b7a0872dee9f8c87cb0c8acf231cf8c8d33 Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 002/155] smsx95xx: fix crimes against truesize +Subject: [PATCH 002/160] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -145,10 +145,10 @@ index dc989a8b5afbd62b07cd65a2fa5edde67d3cc5fb..116680e3089f16e1e3e9113a3b93e62c usbnet_skb_return(dev, ax_skb); } -From cb683c4df049afc33c0b6be4497a3d4870a8035c Mon Sep 17 00:00:00 2001 +From afedae5b0feb987339b93429825104d89b0b2473 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Apr 2015 16:58:45 +0100 -Subject: [PATCH 003/155] smsc95xx: Disable turbo mode by default +Subject: [PATCH 003/160] smsc95xx: Disable turbo mode by default --- drivers/net/usb/smsc95xx.c | 2 +- @@ -168,10 +168,10 @@ index 116680e3089f16e1e3e9113a3b93e62cb78cc1bb..aa4cb43dcd9ba83b042332bc15a4dce6 MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction"); -From 78a225f390667ae1636fe97d692b0e5bf98e6172 Mon Sep 17 00:00:00 2001 +From d3085ed3cde44729d914f1153796bcbe4bea34ef Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 004/155] add smsc95xx packetsize module_param +Subject: [PATCH 004/160] add smsc95xx packetsize module_param Signed-off-by: Sam Nazarko --- @@ -213,10 +213,10 @@ index aa4cb43dcd9ba83b042332bc15a4dce68affce28..889bdabd9dea6cebccc361aa4ac569d7 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From e2ecbaa97d546c82fc7ca9f33da57d158ee55f40 Mon Sep 17 00:00:00 2001 +From 55e89e26a442b017f46f820fa02b617745e59f4b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 005/155] Allow mac address to be set in smsc95xx +Subject: [PATCH 005/160] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -312,10 +312,10 @@ index 889bdabd9dea6cebccc361aa4ac569d73681396b..d22a2324085fbf61fbd8920362bfc7b9 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From feae03f238cfa82a416a07745c67e87e1ab38093 Mon Sep 17 00:00:00 2001 +From 4a8e36817206ba201ca6e8d04f6a808b6f23c1ef Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 13:28:24 +0000 -Subject: [PATCH 006/155] serial: Take care starting a hung-up tty's port +Subject: [PATCH 006/160] serial: Take care starting a hung-up tty's port tty_port_hangup sets a port's tty field to NULL (holding the port lock), but uart_tx_stopped, called from __uart_start (with the port lock), @@ -343,10 +343,10 @@ index a3d7c0d4a03e75016023184a5fea18c91d9d8dbc..d61b4167a03205f917448d0bd71a84d0 return 0; } -From a2dcb08ce8a545cb651c852fe59c1e4a9d84e2de Mon Sep 17 00:00:00 2001 +From d223b7d0a066df0789a87aedd6efc2bbb088c900 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Jun 2014 13:42:01 +0100 -Subject: [PATCH 007/155] vmstat: Workaround for issue where dirty page count +Subject: [PATCH 007/160] vmstat: Workaround for issue where dirty page count goes negative See: @@ -373,10 +373,10 @@ index d2da8e053210041bfcefb9e04b59d195880d2d0e..e3258dc35371ee6e528dc02ffc705570 static inline void __inc_zone_page_state(struct page *page, -From 792b82b6a78b76b420ed0887b2b3c36d8bf43942 Mon Sep 17 00:00:00 2001 +From 454326ed2aa2bb113ff3bd9af66d2cf27361b232 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 008/155] Protect __release_resource against resources without +Subject: [PATCH 008/160] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -404,10 +404,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From 8c0863f34e145e729e9e7b4f59bb536f725e839a Mon Sep 17 00:00:00 2001 +From 474070c9d24b248170daba23f48a40cbfb4d48af Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 009/155] mm: Remove the PFN busy warning +Subject: [PATCH 009/160] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -419,10 +419,10 @@ Signed-off-by: Eric Anholt 1 file changed, 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 8b3e1341b7544608cac4777a37bbd424432488e1..9dba743762508ea1cced150388afa38f7eb2878c 100644 +index 6e354199151b9f71c3e8671a6f5bdee5fd29f866..9b542a3a16d5ebba8ef2c411489e7b81d6878e4e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -7452,8 +7452,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, +@@ -7406,8 +7406,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, /* Make sure the range is really isolated. */ if (test_pages_isolated(outer_start, end, false)) { @@ -432,10 +432,10 @@ index 8b3e1341b7544608cac4777a37bbd424432488e1..9dba743762508ea1cced150388afa38f goto done; } -From b47b6fd41e6e42cb37e7a4ca2225acf1d9ceb4ff Mon Sep 17 00:00:00 2001 +From 6fc44dfa2aa5034d83390c2088854a65a2c885a5 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 010/155] BCM2835_DT: Fix I2S register map +Subject: [PATCH 010/160] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -473,10 +473,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 3322c2f60fc3d9fdcd67c68ba3a232171bf88903 Mon Sep 17 00:00:00 2001 +From b07a16e590854089f6f2b3dd859f61fcb822ec70 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 011/155] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 011/160] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -503,10 +503,10 @@ index 72ff1d5c5de67058f4ef22bb233c41b7c737d6e3..de3b3a37a63d00cc82ae4725b2fe8584 #endif } else if (stat) { -From 9f6ae60d123aa8cccd997e653edfa0da4b9f93ab Mon Sep 17 00:00:00 2001 +From 1a365abfcc02faa9eac431f0d4b79447a5bbfb2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 012/155] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 012/160] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -635,10 +635,10 @@ index bf9cc5f2e839e845fe1ce65caa672b6212d3ffbc..3f601f98aa884b941fbb84edb349f6c4 } -From 44324d0925f808bbd1482f8ed635e24a731e3afb Mon Sep 17 00:00:00 2001 +From 8515f16c66137436ae27f3cd30f54e6ed44df0db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 013/155] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 013/160] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -734,10 +734,10 @@ index 3f601f98aa884b941fbb84edb349f6c469b940b1..20deb282286834b1f234a65e614b8584 for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From 17cee93090e1fd8aa04b8d5d74367ba9a139a598 Mon Sep 17 00:00:00 2001 +From cc3bdb48e8fe6d818ec8d08924445496035ef750 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 014/155] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 014/160] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -758,10 +758,10 @@ index e3c19f30f591115a823467033702ff1b232c5ebc..f4963e3c1dbcd13edb9b97e9dad65438 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From 46cfac8fddd6a1330cb040a6711aeec80b8f2e7d Mon Sep 17 00:00:00 2001 +From bd1bd92ee39a8759e54069c26df11e147bb80fe8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 015/155] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 015/160] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -781,10 +781,10 @@ index 0fbd7c033a251e7d0cb214ed2bbd1ad1f19f0a76..00fc96497968c826978465957454ad73 for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From 218ae563629497a9b71d60ad1d7312d3174da85b Mon Sep 17 00:00:00 2001 +From 70f3a84d7e89aa30c1788fb4250451fd29622602 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 016/155] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 016/160] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -806,10 +806,10 @@ index fa77165fab2c1348163979da507df17e7168c49b..d11e2e4ea189466e686d762cb6c6fef9 .can_sleep = false, }; -From 8b9d875ffa0790cd563b9d306659fc0aa7708412 Mon Sep 17 00:00:00 2001 +From e92255faddcd4ea8b8a3b1f43efc55ee686eb0ea Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 017/155] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 017/160] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -955,10 +955,10 @@ index d11e2e4ea189466e686d762cb6c6fef9111ecf8e..107ad7d58de8f8a7f55e09c9cdcf7d66 }, }; -From 9a765cdec884cdb8d378beee5354558dbd128f55 Mon Sep 17 00:00:00 2001 +From 33b90831d53290f3b44a9e90348eaa481cc0498a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 018/155] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 018/160] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -985,10 +985,10 @@ index 107ad7d58de8f8a7f55e09c9cdcf7d66fa7ab66b..644bdecbcfcb79d3b84a33769265fca5 pc->irq_data[i].irqgroup = i; -From fd3c53af336bf66c2d9fd99dac9f29dbe066c56f Mon Sep 17 00:00:00 2001 +From 19282689da8c56bc879fdf485f6abeb6973f0844 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 May 2016 12:32:47 +0100 -Subject: [PATCH 019/155] pinctrl-bcm2835: Return pins to inputs when freed +Subject: [PATCH 019/160] pinctrl-bcm2835: Return pins to inputs when freed When dynamically unloading overlays, it is important that freed pins are restored to being inputs to prevent functions from being enabled in @@ -1029,10 +1029,10 @@ index 644bdecbcfcb79d3b84a33769265fca5d3d0c9e5..81a66cba2ab0f7e3ae179de7edd10122 .get_function_name = bcm2835_pmx_get_function_name, .get_function_groups = bcm2835_pmx_get_function_groups, -From c0080a691cd23adcb78401e4a6950a564dfb4366 Mon Sep 17 00:00:00 2001 +From 5f70dacc915fd6cf97aaa443f4754b3073b02fe0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 020/155] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 020/160] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -1113,10 +1113,10 @@ index f35cc10772f6670397ea923ad30158270dd68578..5dfe20ffc2866fa6789825016c585175 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From 07c584dc8656f3f17fa67514b1dd299c3fd6fa13 Mon Sep 17 00:00:00 2001 +From e733ed6f9e48806c8107784201bba9ecf0bc742c 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 021/155] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 021/160] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1174,10 +1174,10 @@ index 834d67684e205a185971c13ebc6620434eeac788..3b68a8d3501a5dcb1b4790c35d921cf5 static const char * const bcm2835_compat[] = { -From 55d232c121927a20d743a143238f3dd5ddcf7be8 Mon Sep 17 00:00:00 2001 +From 6862c73ab4893683ba162a63488f0a21364dd9af 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 022/155] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 022/160] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1280,10 +1280,10 @@ index 6149b27c33ad0962a19ed411055d9d05bfb252d3..43265b2847d37b3ee8f71b7528eebea1 MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From c75b81a7d38aaeb4a08296a36645fa17d2f0bb1d Mon Sep 17 00:00:00 2001 +From dbeb12ee20104a8f475b83c90525c7f3b01309e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 15 Aug 2015 20:50:02 +0200 -Subject: [PATCH 023/155] bcm2835: Add support for uart1 +Subject: [PATCH 023/160] bcm2835: Add support for uart1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1340,10 +1340,10 @@ index 3b68a8d3501a5dcb1b4790c35d921cf5fa641ec7..e72e522fbc840c36a39cb6550850b3c6 static const char * const bcm2835_compat[] = { -From 46973c034e57297e45ce9bcb7fcafa6746f68749 Mon Sep 17 00:00:00 2001 +From 5020053dcafc64e24a4b26c747ddd408f2494d1f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 024/155] firmware: Updated mailbox header +Subject: [PATCH 024/160] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 11 +++++++++++ @@ -1406,10 +1406,10 @@ index 3fb357193f09914fe21f8555a4b8613f74f22bc3..227a107214a02deadcca3db202da265e RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From e4f8982579a6c85f7ec3c2b763c7c1b6fe94752d Mon Sep 17 00:00:00 2001 +From 1687875f22069b3b083c0285f34ea701a5c659c9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 025/155] Main bcm2708/bcm2709 linux port +Subject: [PATCH 025/160] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -3919,10 +3919,10 @@ index 45cde8cd39f2434f5f9ec02c702a91a7f6b971c9..6a01ffa629386bdecf85e5a4736f7c27 mmc_pm_flag_t pm_caps; /* supported pm features */ -From 1d30d086a88f36588b867894d9a6abda6f3f5a71 Mon Sep 17 00:00:00 2001 +From 4e2ae1c2c22c3888d8e14c817b0c48eb7bb9666c Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 026/155] reboot: Use power off rather than busy spinning when +Subject: [PATCH 026/160] reboot: Use power off rather than busy spinning when halt is requested --- @@ -3945,10 +3945,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From b5972ba4019c7e3b6a7dbb9d1afb37f5112ad88e Mon Sep 17 00:00:00 2001 +From c88898bc3310cf2eca6010f597089f201cbf22fa Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 11 Nov 2015 21:01:15 +0000 -Subject: [PATCH 027/155] squash: include ARCH_BCM2708 / ARCH_BCM2709 +Subject: [PATCH 027/160] squash: include ARCH_BCM2708 / ARCH_BCM2709 --- drivers/char/hw_random/Kconfig | 2 +- @@ -4125,10 +4125,10 @@ index 6a834e109f1de47e533d17e87cdc73d8ee86fc4d..c5070aec5996aafb2d9daaf75163e16a select REGMAP_MMIO help -From 2cbb9d35d440fe16ea4c53308fdd1b55b696728b Mon Sep 17 00:00:00 2001 +From ecaacf3b3affb47dbf3057a670fa3d0481f51380 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 028/155] Add dwc_otg driver +Subject: [PATCH 028/160] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -65154,10 +65154,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From c0ba69fdd42b3733a4c797457190bd87d660bc37 Mon Sep 17 00:00:00 2001 +From 36b10d77ec4d343f10798af96c9811b43489519e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 029/155] bcm2708 framebuffer driver +Subject: [PATCH 029/160] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68616,10 +68616,10 @@ index 3c14e43b82fefe1d32f591d1b2f61d2cd28d0fa8..7626beb6a5bb8df601ddf0f6e6909d1f +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From 8bd7b5b80f835cfe8fdbbd1a4a483f31cca4e085 Mon Sep 17 00:00:00 2001 +From d0e33c90db2264691e7b5416ec0bf73992efa1db Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 030/155] dmaengine: Add support for BCM2708 +Subject: [PATCH 030/160] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69239,10 +69239,10 @@ index 0000000000000000000000000000000000000000..99cc7fdbf543207208bf3638a0d4dbb6 + +#endif /* _PLAT_BCM2708_DMA_H */ -From 13a6e695cea3ecb771220afd0e83dc5b74803137 Mon Sep 17 00:00:00 2001 +From 466ebdc4f7ed8425442d509784f347073f660d72 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 031/155] MMC: added alternative MMC driver +Subject: [PATCH 031/160] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -70989,10 +70989,10 @@ index 0000000000000000000000000000000000000000..ceb37930e167f47c9c848e8de757ad09 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From b83066084cc76064c2165215271de870b7759968 Mon Sep 17 00:00:00 2001 +From df2abdd2d2f0b30745797e8831aebd406b142c50 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 032/155] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 032/160] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -73372,10 +73372,10 @@ index 0000000000000000000000000000000000000000..d7b6b5a4e31f7aaa76470d3a79ea78a6 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From d46b9547093f004f22a6935c3eb2e56cbce9b165 Mon Sep 17 00:00:00 2001 +From 722b6794d2e52e5a7a3d45bade2d7ec2946d22de Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 033/155] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 033/160] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -73511,10 +73511,10 @@ index eb0151bac50c1fd796f479d017bc3c3d7017c9e9..fa4e6454456747f02a10621f4f4da3ac unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From 3d5dc37e10573d3537b8dbd6290e57127de5689b Mon Sep 17 00:00:00 2001 +From 86d1b63df9f2ec5a88e1477bf82727a6d913a82b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 034/155] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 034/160] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -74857,10 +74857,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From ba432ee1a343dc8f0ddff019f7aba89ca5673884 Mon Sep 17 00:00:00 2001 +From a50d6fb1d08d4e10ffd960064620a13dd259b6cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 035/155] bcm2708: alsa sound driver +Subject: [PATCH 035/160] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77597,10 +77597,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From 865ffdf2f00fbea1f002ed81fe73a9cb382c9ef7 Mon Sep 17 00:00:00 2001 +From d486fcd2a76a91a0da5731589daa29d7b36d1ed7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 036/155] bcm2708 vchiq driver +Subject: [PATCH 036/160] bcm2708 vchiq driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -90965,10 +90965,10 @@ index 0000000000000000000000000000000000000000..b6bfa21155e431e93bfb2c149d324371 + return vchiq_build_time; +} -From d5433d20d23e51a58b0cfdd2aec9a2533fcfbd82 Mon Sep 17 00:00:00 2001 +From 45b0a3b20bdd7980731b91b6d4ac844722968269 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 16:07:06 +0100 -Subject: [PATCH 037/155] vc_mem: Add vc_mem driver +Subject: [PATCH 037/160] vc_mem: Add vc_mem driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -91973,10 +91973,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From 1e9667504bc1736808380ac166c10e36d1d27987 Mon Sep 17 00:00:00 2001 +From 663e66e2041feff8b531f1751a47a73963b6e093 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 038/155] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 038/160] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96394,10 +96394,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From bb1260dc69d150cdda227274f11acb878ddb50aa Mon Sep 17 00:00:00 2001 +From 508812e823828b6301f10494d64a2fe6b727de81 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 039/155] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 039/160] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -96708,10 +96708,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 4386b62f025ec1ae47f8d84cb03e6f769ad5eab8 Mon Sep 17 00:00:00 2001 +From 80bcc68854484e53f3fb1623366b77113d321a8c Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 040/155] Add SMI driver +Subject: [PATCH 040/160] Add SMI driver Signed-off-by: Luke Wren --- @@ -98662,10 +98662,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From ee34beffda4b93dd20697391253b7e3e7e54ce9f Mon Sep 17 00:00:00 2001 +From 33d59877baab7528a0bc755b08a5f7cf2fc83e5e Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 041/155] Add SMI NAND driver +Subject: [PATCH 041/160] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -99030,10 +99030,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From a74541a6108ba760a1eb16e7b881d2120b5e2c43 Mon Sep 17 00:00:00 2001 +From f2eb45a722283d6f1535f820490e19adb483b161 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 042/155] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 042/160] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -99896,10 +99896,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From c1e3998f73dfbdbc0f613a772582880b652c0c82 Mon Sep 17 00:00:00 2001 +From 08628bfe1ff6b5f0416f1a6955332bb400a0f9f1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 043/155] Add cpufreq driver +Subject: [PATCH 043/160] Add cpufreq driver Signed-off-by: popcornmix --- @@ -100161,10 +100161,10 @@ index 0000000000000000000000000000000000000000..3eb9e9326231b08e6ee95ad486485245 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 5a9013de86130a7d9a03f3b9a6b94f878c12a12d Mon Sep 17 00:00:00 2001 +From 2970c6cab2393555145f4571596a6aa44457f890 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 044/155] Added hwmon/thermal driver for reporting core +Subject: [PATCH 044/160] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -100330,10 +100330,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 4d2979d0681bc6e350bf6c303b405fbdba9e68b9 Mon Sep 17 00:00:00 2001 +From 54423646e1aaa940e2b20b3085fa6f27ae5a7658 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 045/155] Add Chris Boot's i2c driver +Subject: [PATCH 045/160] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -100990,10 +100990,10 @@ index 0000000000000000000000000000000000000000..c9b8e5cb1702e4b20e45214d81a7a40a +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From b48b174c9b6601de95560e24257fa21a5eef8d37 Mon Sep 17 00:00:00 2001 +From ebe9b66099d2e47cfdb27be6b66e11d7a2cf3640 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 046/155] char: broadcom: Add vcio module +Subject: [PATCH 046/160] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101219,10 +101219,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 937cd91f40469383693ce1fd32d4b414015e92cf Mon Sep 17 00:00:00 2001 +From fa76d3543d1bed9cf6c5df65291fc120c85db5bd 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 047/155] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 047/160] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -101328,10 +101328,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..b980d531b35b9981a88356ef1c8a7b86 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 8b299c986e6f1e38578a59c81365014e41feb433 Mon Sep 17 00:00:00 2001 +From 7e229d273fd0cd1d06aed6d651270f60fde51e15 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 048/155] bcm2835: add v4l2 camera device +Subject: [PATCH 048/160] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -109063,10 +109063,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From 3d108dd4255cf670eef555a233a5d30cc2df1b49 Mon Sep 17 00:00:00 2001 +From e78f15237434691204d5bdd2f14cde7401b5a01d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 049/155] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 049/160] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -109578,10 +109578,10 @@ index 0000000000000000000000000000000000000000..78c5845d2f01deb04b477327d83fa606 + return $trailer; +} -From 15050388b44ed0cd81a9967d60888fed9fb674f7 Mon Sep 17 00:00:00 2001 +From a5e43d6de1de7804f17b5c04dc1fac94b3d072d2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 050/155] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 050/160] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -112432,10 +112432,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From 983977c57c3d6a35af423eaacfe641cb38376ed5 Mon Sep 17 00:00:00 2001 +From b17ddd61ac7d378d0fb8f4344138bbba35952415 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 051/155] BCM2708: Add core Device Tree support +Subject: [PATCH 051/160] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -121031,10 +121031,10 @@ index 0000000000000000000000000000000000000000..8498134fdbb3912e9ce18282b53084d8 + +}; -From d7cb5b4a595c86c556a8909be5c3383849f1e2fd Mon Sep 17 00:00:00 2001 +From 57e8aae6836571f3d4b0b521baccc2d623c34aec Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 20:00:21 +0000 -Subject: [PATCH 052/155] BCM270X_DT: Add a .dtbo target, use for overlays +Subject: [PATCH 052/160] BCM270X_DT: Add a .dtbo target, use for overlays Change the filenames and extensions to keep the pre-DDT style of overlay (-overlay.dtb) distinct from new ones that use a @@ -121117,10 +121117,10 @@ index e7df0f5db7ec273f45b755668815ce96ba1ffe46..8f50f48329b9460b7268322ea4fd99cf # Bzip2 -From fd68807e0350bd27d993c11f098f98ee0b0b41ed Mon Sep 17 00:00:00 2001 +From dbacdaa690fcb985f2d2cc679f6ea9c3dda3d5d7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 8 Apr 2016 17:43:27 +0100 -Subject: [PATCH 053/155] BCM270X_DT: Don't generate "linux,phandle" props +Subject: [PATCH 053/160] BCM270X_DT: Don't generate "linux,phandle" props The EPAPR standard says to use "phandle" properties to store phandles, rather than the deprecated "linux,phandle" version. By default, dtc @@ -121146,10 +121146,10 @@ index 8f50f48329b9460b7268322ea4fd99cf764134ec..c1c3ceb265a3fd223b8a2a0a548ddad3 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -From cbf1b3b80001e92f8e806fc4a47f1b9adfd78562 Mon Sep 17 00:00:00 2001 +From 0836c399d3063320e8986020c58d0a77e40174ab Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 054/155] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 054/160] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -121325,10 +121325,10 @@ index e5e7f2e80a54dd2f15737a3ef478287458641f6e..68086e559d963ed06a0ceb916f9b1555 /* Set LED brightness level * Must not sleep. Use brightness_set_blocking for drivers -From fb10d4212dd5afed4fd588a0511fad627e3515ed Mon Sep 17 00:00:00 2001 +From e3ab8ffceaac6bb798fc249abeabe2a77a4e87c5 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 055/155] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 055/160] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -121421,10 +121421,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..fa72af0c981710fe80bacf4cf6612f6d #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From 93c9968c12ad280e8d339c448b5ea0e3d2b785a2 Mon Sep 17 00:00:00 2001 +From 73924b43341f46501dbba545a3f4ee56b972d56d Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 056/155] Speed up console framebuffer imageblit function +Subject: [PATCH 056/160] 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 @@ -121633,10 +121633,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 56cf9f4d6761b5e357535891b0c21262d2e0243f Mon Sep 17 00:00:00 2001 +From eb61767d03a3a5b5c7c91a3f09e6133fb38d8912 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 057/155] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 057/160] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -121886,10 +121886,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 41b197d28f8570554fe51bab77a586338c7a3a9a Mon Sep 17 00:00:00 2001 +From b81a1ef8d64e5796eb5f207e748dfbdd888f67ad Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 058/155] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 058/160] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -121939,10 +121939,10 @@ index e0be49fc382fc339269b9be29fda59d4ad619962..9b31046d0b00c66d86c1b07003a79edb * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From d387d3f7033385df7c390b03e1c08274a13bbc8a Mon Sep 17 00:00:00 2001 +From 36019cb160a045c3fb4cd136d795755e97e11264 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 059/155] config: Add default configs +Subject: [PATCH 059/160] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1288 +++++++++++++++++++++++++++++++++++ @@ -124548,10 +124548,10 @@ index 0000000000000000000000000000000000000000..da2df3d30e15a55a34b45d3ebbf98e90 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 2c375b978274a0310d172579e6607e06e657d185 Mon Sep 17 00:00:00 2001 +From 15eed447c76bfdb356e61a582987f6c1ca462ec9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/155] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/160] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -124587,10 +124587,10 @@ index ae83af649a607f67239f1a64bf45dd4b5770cc7d..4a7af9d0b910f59d17421ce14138400d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From d4086877610264af4cf62f1beb1ebe3a5f691381 Mon Sep 17 00:00:00 2001 +From 2a7a014316a4f5d6b38870e34e8e5605a39966d3 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/155] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/160] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -124885,10 +124885,10 @@ index 0000000000000000000000000000000000000000..b27dbee8f56773dbd2a5503dc864747d +MODULE_DESCRIPTION("Touchscreen driver for memory based FT5406"); +MODULE_LICENSE("GPL"); -From aba105381fc7f2f49398536078b2b65c02110292 Mon Sep 17 00:00:00 2001 +From 4db4ba8d22267cd28d2d2705a5f82f0d8e073dc6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 062/155] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/160] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -126444,10 +126444,10 @@ index 6bd1089b07e0960830ed6bd6a8345202b7efd8b0..cd17dd11ebe7bbe00089e70cd2ccea74 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From 958e052d0b73874a924b9fba8a361caa5c2d9708 Mon Sep 17 00:00:00 2001 +From ed46157e325e73317bc6b88803b7038087871d84 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/155] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/160] 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 @@ -126482,10 +126482,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From b0b113159ee25eb9276c792b877b60b8ec404fb9 Mon Sep 17 00:00:00 2001 +From d4cb8d691b8b4e985b706784ef7bf7c5bd5f0494 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/155] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/160] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -127351,10 +127351,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From 6d62d265a7a40b9f701119b83d8bc1e0a0af580a Mon Sep 17 00:00:00 2001 +From eb20b6f24b3e4852843d766486700022fed0d9c8 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/155] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/160] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -127525,10 +127525,10 @@ index 0000000000000000000000000000000000000000..29ecc08a227cdd4b3c6141935d0c5d21 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From e5c974f98c5290ae4f6516d906071ad44d409e79 Mon Sep 17 00:00:00 2001 +From 1b13fbfa1501e2e38763e55421b397ba78af52a5 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/155] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/160] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -127812,10 +127812,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 9753cfd1ad3333de35b4563d36b86204bc089227 Mon Sep 17 00:00:00 2001 +From 3ca3ae5fe309276fa08dd9872949e6907004706b Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/155] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/160] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -127864,10 +127864,10 @@ index 8d914702cae4a3fe2c0ca0599cd1ec79f7322c83..c846716b4ed1027ade5512e8be90801d .dapm_widgets = wm8804_dapm_widgets, .num_dapm_widgets = ARRAY_SIZE(wm8804_dapm_widgets), -From 2517c2234715af1cc68040a7cea7e523afda4f71 Mon Sep 17 00:00:00 2001 +From b228805ea43ea250c4f645cb2ac77220776961ea Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/155] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/160] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -128155,10 +128155,10 @@ index 0000000000000000000000000000000000000000..9840e15d3e2be6396bc3ce6e74749408 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From 72d5a826ef5eb378775d293afac0a5f0638efaea Mon Sep 17 00:00:00 2001 +From 39ccaccfb64d00b84aa75d36759da36deb48ea3e Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/155] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/160] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -128488,10 +128488,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From b81c09e102abb8c24dcd5437283a3e911976fdf5 Mon Sep 17 00:00:00 2001 +From 2bc4473fe11cf5d0bfc9b9f2814432e62354c871 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 070/155] iqaudio-dac: Compile fix - untested +Subject: [PATCH 070/160] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -128515,10 +128515,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From 1a11e449eb6bcdddebf97b5246921124ea5f8063 Mon Sep 17 00:00:00 2001 +From 7ed1d8b90a8de167fea3a38d371543371c00d7ed Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 071/155] Added support for HiFiBerry DAC+ +Subject: [PATCH 071/160] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -129147,10 +129147,10 @@ index 047c48953a20cd4075000ac294a17fe59baedcde..090fe0ee08e8765f9edbb62777413bb6 dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From d8042b95f2a8b21f43f5b44697dff194df528306 Mon Sep 17 00:00:00 2001 +From 0e99050970bddcb60e6009fbeae8292073fa3365 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 072/155] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 072/160] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -129982,10 +129982,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 87dfc7a10f86ca77b93bb653527bdbc86487e6cb Mon Sep 17 00:00:00 2001 +From 549dd643498e87490ee1a8b597cc2fb2cded7b14 Mon Sep 17 00:00:00 2001 From: "Daniel Matuschek (HiFiBerry)" Date: Tue, 26 Jul 2016 19:16:25 +0200 -Subject: [PATCH 073/155] Added HiFiBerry Digi+ Pro driver +Subject: [PATCH 073/160] Added HiFiBerry Digi+ Pro driver Signed-off-by: Daniel Matuschek --- @@ -130179,10 +130179,10 @@ index 9840e15d3e2be6396bc3ce6e74749408cc28c333..52ab9dea2e724c4238986ca53c59c849 ret = snd_soc_register_card(&snd_rpi_hifiberry_digi); -From 15f8aba305f21280d898582c3c7e8fdabadf0992 Mon Sep 17 00:00:00 2001 +From 4af2f0f326645c4e734410316ab7627ce93c4ac3 Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 074/155] Update ds1307 driver for device-tree support +Subject: [PATCH 074/160] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -130209,10 +130209,10 @@ index 821d9c089cdb48a40a244d1c18ab912d6f0b9432..409ed8e449e54ea6751185b1c0760cfc .driver = { .name = "rtc-ds1307", -From 5b1f7d5426046594cf2b2801294b2664ecf5e57b Mon Sep 17 00:00:00 2001 +From 33cd71352ddbd7a6234d552c51c1ee346041dab8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 075/155] Add driver for rpi-proto +Subject: [PATCH 075/160] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -130428,10 +130428,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From e2f770b14d0f979ce31f07a33f75ffb37f2e783d Mon Sep 17 00:00:00 2001 +From ec82f4a1f923ff412c83abc061dbe3d6bee8464d Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 076/155] RaspiDAC3 support +Subject: [PATCH 076/160] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -130680,10 +130680,10 @@ index 0000000000000000000000000000000000000000..e7422e2dd3d70622a48ab3b2e1929869 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 99709a269c2991737ea1c8419c2a1a651023610d Mon Sep 17 00:00:00 2001 +From af94b0968186839059e6a6867f3cefac465709e9 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:02:34 +0100 -Subject: [PATCH 077/155] tpa6130a2: Add headphone switch control +Subject: [PATCH 077/160] tpa6130a2: Add headphone switch control Signed-off-by: Jan Grulich --- @@ -130774,10 +130774,10 @@ index 11d85c5c787addb8d8add7fc2b52ab91cc49b63d..3caaa17e28e91e995d6781ca7f88b747 /* -From 58bc2d55e4fc0245304d979d57ea607bbe9f21ce Mon Sep 17 00:00:00 2001 +From df898eacdaea9ff095d34a24ab6a7c1d369d49e0 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 078/155] Add Support for JustBoom Audio boards +Subject: [PATCH 078/160] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -131231,10 +131231,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 2b24f64b08e2b20572d13430d9adcbb36063450c Mon Sep 17 00:00:00 2001 +From 061efa920408ea99294c986a36b6cc04b15825af Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 079/155] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 079/160] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -131416,10 +131416,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From a2dbfae46bda54cf7c745b27b60ad8fa22bc24fb Mon Sep 17 00:00:00 2001 +From 8b8433aa060506502a53d5ac56b7501254e2296b Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 080/155] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 080/160] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. @@ -131668,10 +131668,10 @@ index 0000000000000000000000000000000000000000..5ff0985e07efb96b95634a65995f09f7 +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From b03ffa06c9121e6fa122b95a9e2ff967da58d8bd Mon Sep 17 00:00:00 2001 +From 3e01e68f58d4b2a45e51c1c3528927ce649a534d Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 081/155] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 081/160] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -131971,10 +131971,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From bd67474106be7e8c569cc99ad3e0c7ebbfbcd219 Mon Sep 17 00:00:00 2001 +From ae5d2bd97a3a22b56f0b0a8bfe4148f167b1620c Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 082/155] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 082/160] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -132447,10 +132447,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From ffc075f489f9faa07cbeea017ce97e997e9aa305 Mon Sep 17 00:00:00 2001 +From 9df3c049fc6b31249a857fbf7fbd9b3e8f6d2483 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 083/155] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 083/160] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -132623,10 +132623,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 3aa04a6981c442199e8abd1040521a27fee08d20 Mon Sep 17 00:00:00 2001 +From 4c85ded5dd78fef79e7ea503089c04c4c8c48181 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Fri, 17 Jun 2016 14:48:16 +1000 -Subject: [PATCH 084/155] ASoc: wm8731: add 32bit mode. +Subject: [PATCH 084/160] ASoc: wm8731: add 32bit mode. commit cf5ef3a299ba32f6ac24c3c6ba18c1b7f1b5475f upstream. @@ -132665,10 +132665,10 @@ index 4bcf5f8ece50f3681948a9fbc47b85400d9a8b51..d18261a442560cd2c108c34295bd5b17 static const struct snd_soc_dai_ops wm8731_dai_ops = { .startup = wm8731_startup, -From e65a42fc3629eb30d3859a04aaca109ab4dc53e4 Mon Sep 17 00:00:00 2001 +From 22d4ac3067722af9a1779f00f5fcc5f974d823aa Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 085/155] rpi_display: add backlight driver and overlay +Subject: [PATCH 085/160] 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 @@ -132837,10 +132837,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From cce386b3b746d398ff95ff08124bd44aa8de23f4 Mon Sep 17 00:00:00 2001 +From 373875379972553316e5fe49b3acbd65d64dc386 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 086/155] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 086/160] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -133066,10 +133066,10 @@ index 0000000000000000000000000000000000000000..f3e0f1620b979e4fa3c7e556eb785ac2 +MODULE_DESCRIPTION("brcmvirt GPIO driver"); +MODULE_ALIAS("platform:brcmvirt-gpio"); -From e118f2b0ab3cb8449cee6cdc125ea54321f83c2d Mon Sep 17 00:00:00 2001 +From 2d7ef9b4c2ce575fba5c12253b0e9e0de818895b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 4 Mar 2016 12:49:09 +0000 -Subject: [PATCH 087/155] DRM_VC4: Allow to be built for ARCH_BCM270x +Subject: [PATCH 087/160] DRM_VC4: Allow to be built for ARCH_BCM270x --- drivers/gpu/drm/vc4/Kconfig | 2 +- @@ -133088,10 +133088,10 @@ index e53df59cb139f25f8e6ae916bca93abf0c49e063..f6e938208b73512f20eab46a383ca91b select DRM_KMS_HELPER select DRM_KMS_CMA_HELPER -From e38289084ffd82fe9b5814be08f80f6c98230a33 Mon Sep 17 00:00:00 2001 +From f399fd1cbb377566fed2cef194172d04e1efaade Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 088/155] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 088/160] 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 @@ -133120,10 +133120,10 @@ index 1b7331e40d795e1ec5482d6a82871bd5ce050b60..a04d27ef682792808301ac2d2bfb67d5 uap->old_cr = 0; uap->port.dev = dev; -From 04a68b0d8a459e102ba3737572ce684435b8e91c Mon Sep 17 00:00:00 2001 +From f83983702d645f86f52003451280c34cbed61133 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 089/155] OF: DT-Overlay configfs interface +Subject: [PATCH 089/160] 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. @@ -133555,10 +133555,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From a42ae3585cc89d202bec80f043c0543ee5d2d4e9 Mon Sep 17 00:00:00 2001 +From 5c5d56c8590746e39ba2504ee1db9460f3f02acc Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 090/155] brcm: adds support for BCM43341 wifi +Subject: [PATCH 090/160] brcm: adds support for BCM43341 wifi --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 ++ @@ -133598,10 +133598,10 @@ index 699f2c2782ee9d898a25c95e0c5d45744d0777ff..15598b3687a213d8c00d45965a6b9351 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From bc172945ffa7bb4314027566f97bb7f88800d983 Mon Sep 17 00:00:00 2001 +From 33be674643dab97a139365bba4219ad9f2e6f973 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 9 Mar 2016 17:25:59 +0000 -Subject: [PATCH 091/155] brcmfmac: Disable power management +Subject: [PATCH 091/160] brcmfmac: Disable power management Disable wireless power saving in the brcmfmac WLAN driver. This is a temporary measure until the connectivity loss resulting from power @@ -133613,7 +133613,7 @@ Signed-off-by: Phil Elwell 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -index 62f475e31077ca1fa1df15863f02ee0911c46997..d001128266f462beee5f9672c64ed2c0d9200334 100644 +index 121baba7acb194c4bba69fb78526f80e19223b65..541d07591218bff5809b6122c623b2e5ce47230b 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -2699,6 +2699,8 @@ brcmf_cfg80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *ndev, @@ -133626,10 +133626,10 @@ index 62f475e31077ca1fa1df15863f02ee0911c46997..d001128266f462beee5f9672c64ed2c0 if (!check_vif_up(ifp->vif)) { -From b6ae58b3a0eaa79e3b08853acb166305e0ad9fb9 Mon Sep 17 00:00:00 2001 +From 03fa35b877b4dda8d25b8005b40be70b558dc771 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 28 Apr 2016 17:13:47 +0100 -Subject: [PATCH 092/155] brcmfmac: Use original country code as a fallback +Subject: [PATCH 092/160] brcmfmac: Use original country code as a fallback Commit 73345fd212980d2e28a5c6d83801c903bd773680: @@ -133645,7 +133645,7 @@ Signed-off-by: Phil Elwell 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -index d001128266f462beee5f9672c64ed2c0d9200334..90eb79cc104427597046f2459e6f46de09702784 100644 +index 541d07591218bff5809b6122c623b2e5ce47230b..14d84a0975bbad24a04dc026824092514932d7c8 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -6597,12 +6597,18 @@ static s32 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], @@ -133688,10 +133688,10 @@ index d001128266f462beee5f9672c64ed2c0d9200334..90eb79cc104427597046f2459e6f46de ccreq->country_abbrev[1] = alpha2[1]; ccreq->country_abbrev[2] = 0; -From 983ad267bb9094db0a345a4b65b98c5675231a21 Mon Sep 17 00:00:00 2001 +From 30fb2e0d2b3753fae0078d983e045fdd398bdea2 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 19 May 2016 15:36:09 +0100 -Subject: [PATCH 093/155] brcmfmac: Plug memory leak in brcmf_fill_bss_param +Subject: [PATCH 093/160] brcmfmac: Plug memory leak in brcmf_fill_bss_param See: https://github.com/raspberrypi/linux/issues/1471 @@ -133701,7 +133701,7 @@ Signed-off-by: Phil Elwell 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c -index 90eb79cc104427597046f2459e6f46de09702784..27a59a9f7b9c108e728bdc7fc8d95139daec03fc 100644 +index 14d84a0975bbad24a04dc026824092514932d7c8..4a9a636d85b29eb379fa477dfbc7af80ec380dab 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -2473,7 +2473,7 @@ static void brcmf_fill_bss_param(struct brcmf_if *ifp, struct station_info *si) @@ -133724,10 +133724,10 @@ index 90eb79cc104427597046f2459e6f46de09702784..27a59a9f7b9c108e728bdc7fc8d95139 static s32 -From 661bbcb8536f37a6aad01e0caa335afeb00f086c Mon Sep 17 00:00:00 2001 +From c151e9ef4a8bbd80520461f7da6d1b2a8789c2f7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 094/155] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 094/160] 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. @@ -133750,10 +133750,10 @@ index 0879d64b1caf58afb6e5d494c07d9ab7e7cdf983..5161ab30fd533d50f516bb93d5b9f402 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From c6e7ccbefd749b39944fcd7cd905c53474901535 Mon Sep 17 00:00:00 2001 +From ba2faff6449773fef622d77b9a69a7c120b2ea62 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 22 Jan 2016 13:06:39 -0800 -Subject: [PATCH 095/155] drm/vc4: Add a debugfs node for tracking execution +Subject: [PATCH 095/160] drm/vc4: Add a debugfs node for tracking execution state. Signed-off-by: Eric Anholt @@ -133813,10 +133813,10 @@ index 78ab08e8f87eb064e3eeec761b26c19f11c1f4e5..be22d00baa43dedd80f49045bed89f74 vc4_queue_hangcheck(struct drm_device *dev) { -From b89b61ab9e154fece8494609f73b10210921ec14 Mon Sep 17 00:00:00 2001 +From c8d8c3de56c8ab70b1d7fdbaa9a216d15482f26a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 25 Jan 2016 13:03:33 -0800 -Subject: [PATCH 096/155] drm/vc4: Include vc4_drm.h in uapi in downstream +Subject: [PATCH 096/160] drm/vc4: Include vc4_drm.h in uapi in downstream build. Signed-off-by: Eric Anholt @@ -133837,10 +133837,10 @@ index 9355dd8eff3ba39401dfe37e7fbf7737f0397f11..68828bf586f05a8d9b0a6ab409ee91a7 header-y += vmwgfx_drm.h header-y += msm_drm.h -From 0f705cf6c206bf92e1ec5760f1ebb1992ccdcdfd Mon Sep 17 00:00:00 2001 +From ee80e664fb3da1baf24cb76ec84a2f0ba065027f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 30 Mar 2016 17:23:15 +0100 -Subject: [PATCH 097/155] cpufreq: Temporarily ignore io_is_busy=1 +Subject: [PATCH 097/160] cpufreq: Temporarily ignore io_is_busy=1 To speed testing of the new sdhost driver that adapts to changes in core_freq, hack the on-demand governor to treat io_is_busy=1 as @@ -133871,10 +133871,10 @@ index 300163430516766d56b842d8d12dc33175eee66b..9ab7b40005cb7ddfafc3917dc874eea8 /* we need to re-evaluate prev_cpu_idle */ gov_update_cpu_data(dbs_data); -From 30e3c2a190d7e39c66ea2493d5b373c1f6fe717d Mon Sep 17 00:00:00 2001 +From 0e02a3ac59cc298ace8b9c32b09e0f1101543f24 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Oct 2015 11:32:14 -0700 -Subject: [PATCH 098/155] drm/vc4: Force HDMI to connected. +Subject: [PATCH 098/160] drm/vc4: Force HDMI to connected. For some reason on the downstream tree, the HPD GPIO isn't working. @@ -133897,10 +133897,10 @@ index fd2644d231ff867a4409840eba7f8234a4a1faba..ed9c5274d06a215331aee44da1f7214a if (gpio_get_value_cansleep(vc4->hdmi->hpd_gpio) ^ vc4->hdmi->hpd_active_low) -From 94257ac2b2d3f499e9e8fabe9318c8f77dac2474 Mon Sep 17 00:00:00 2001 +From 51f4d9e97bc77836b259361d09ee57fb57211eb6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 19 Apr 2016 15:55:02 -0700 -Subject: [PATCH 099/155] ARM: bcm2708: Enable building power domain driver. +Subject: [PATCH 099/160] ARM: bcm2708: Enable building power domain driver. Signed-off-by: Eric Anholt --- @@ -133920,10 +133920,10 @@ index 3066edea184d765a670ded0cead470597654abc1..e23518142ceac6651641cc30c327d60d select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM -From 939d065ac75400d4b7043a7534aa7f5e2c79f0c4 Mon Sep 17 00:00:00 2001 +From d3df309fa1e69d7ad3df61e812d30002f8b673aa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 100/155] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 100/160] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -133943,10 +133943,10 @@ index f22e060709e547528b29b747f796b45c445d23fa..76b7bd7d9d33a0dcefcdb5fe3e0df4de MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From 3ea56b21ce66afcc1ffee6c912e4d1f6afff717d Mon Sep 17 00:00:00 2001 +From 7e83ad63102e6889c4acee32d29c23f39a10b5a7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 101/155] spi-bcm2835: Disable forced software CS +Subject: [PATCH 101/160] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -133980,10 +133980,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From 4ee0a3fc34cd312dbbfe71bd6284ae336eeaf772 Mon Sep 17 00:00:00 2001 +From df9c80d63ea3d996812152cac11e5d90d2083d1d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 28 Jul 2016 11:39:51 +0100 -Subject: [PATCH 102/155] config: Enable CONFIG_USER_NS +Subject: [PATCH 102/160] config: Enable CONFIG_USER_NS --- arch/arm/configs/bcm2709_defconfig | 2 +- @@ -134023,10 +134023,10 @@ index da2df3d30e15a55a34b45d3ebbf98e906da6379c..6c885f0518d0c015357a6fea1438841d CONFIG_BLK_DEV_INITRD=y CONFIG_EMBEDDED=y -From 2ccc6856c9df9253e3f06400ef532c5b309d31be Mon Sep 17 00:00:00 2001 +From c0c2e17102869d8fdc8ba67b960fb3e05a9905cd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 9 Aug 2016 22:19:28 +0100 -Subject: [PATCH 103/155] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 103/160] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -134057,10 +134057,10 @@ index d22a2324085fbf61fbd8920362bfc7b9f72bebe3..c846c55075387398d9bcb0957e31f5c8 MODULE_PARM_DESC(packetsize, "Override the RX URB packet size"); -From 0d553cabd39fa683f1e698438e099211fde1abd5 Mon Sep 17 00:00:00 2001 +From 30e5d764e12456254f610aa3a33c73f5b6ad2da8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Aug 2016 13:21:32 +0100 -Subject: [PATCH 104/155] smsc95xx: squash: Bump to packetsize=4096 +Subject: [PATCH 104/160] smsc95xx: squash: Bump to packetsize=4096 --- drivers/net/usb/smsc95xx.c | 2 +- @@ -134080,10 +134080,10 @@ index c846c55075387398d9bcb0957e31f5c82fd7d58d..e663cd24653411e502deb28d0ea9b828 MODULE_PARM_DESC(packetsize, "Override the RX URB packet size"); -From 9d064da683412482b000161ab6e59ee2a3fd49a6 Mon Sep 17 00:00:00 2001 +From 3240e0dcddee415428344dfb30efeff9c267a3b4 Mon Sep 17 00:00:00 2001 From: James Adams Date: Fri, 12 Aug 2016 14:35:00 +0100 -Subject: [PATCH 105/155] Add cm3 dts file +Subject: [PATCH 105/160] Add cm3 dts file --- arch/arm/boot/dts/Makefile | 1 + @@ -134286,10 +134286,10 @@ index 0000000000000000000000000000000000000000..6a3d2f21295a63e9211638b9e4ba2027 + }; +}; -From 82572c2206ef669c992078ebe4db147019001125 Mon Sep 17 00:00:00 2001 +From 4d4721c0e05ed5224a58e4fe7468536696117069 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Aug 2016 17:12:32 +0100 -Subject: [PATCH 106/155] config: Enable SENSORS_LM75 +Subject: [PATCH 106/160] config: Enable SENSORS_LM75 --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -134321,10 +134321,10 @@ index 6c885f0518d0c015357a6fea1438841db344cc46..7f02ad070f3f71c289a5e3d19f5eb682 CONFIG_SENSORS_SHTC1=m CONFIG_THERMAL=y -From 1fae86ceb36f34be5b00333990004c9bcb038ffa Mon Sep 17 00:00:00 2001 +From 01211cf706c036fff5ef341879dbf84c0713f02b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Aug 2016 17:00:18 +0100 -Subject: [PATCH 107/155] config: Enable SERIAL_SC16IS7XX +Subject: [PATCH 107/160] config: Enable SERIAL_SC16IS7XX --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -134356,10 +134356,10 @@ index 7f02ad070f3f71c289a5e3d19f5eb68253efc8fe..4b50842b84daf91adb553be669737a71 CONFIG_HW_RANDOM=y CONFIG_RAW_DRIVER=y -From bd0235991737b401cedc83e05c0b7f63685d3d7d Mon Sep 17 00:00:00 2001 +From cc5aa7238065d8aeec07cf3d3b57a2f69bd7e07e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Aug 2016 15:46:21 +0100 -Subject: [PATCH 108/155] snd-bcm2835: Don't allow responses from VC to be +Subject: [PATCH 108/160] snd-bcm2835: Don't allow responses from VC to be interrupted by user signals There should always be a response, and retry after a signal interruption is not handled, so don't report @@ -134422,10 +134422,10 @@ index 3de30945d8155b90d244734881a7caa81930fa7c..7ee436ca9fa2903d41d1bdd8f8f07740 ret = -1; -From 323f63d294f98f5694436823258e87129cf82f61 Mon Sep 17 00:00:00 2001 +From b9c9ca261c9d5ab9f6580d5799e11763c7fa6236 Mon Sep 17 00:00:00 2001 From: Bruno George de Moraes Date: Wed, 20 Aug 2014 23:53:57 -0300 -Subject: [PATCH 109/155] snd-bcm2835: Use bcm2835_hw params in preallocate +Subject: [PATCH 109/160] snd-bcm2835: Use bcm2835_hw params in preallocate --- sound/arm/bcm2835-pcm.c | 10 ++++++---- @@ -134462,10 +134462,10 @@ index d2de13cbd76ed16634f27c0843474825671a28eb..71b128924affac2b7a01d1169e43d437 mutex_unlock(&chip->audio_mutex); audio_info(" .. OUT\n"); -From 89e5316f907d61e104ac0b238797ef872b62d12c Mon Sep 17 00:00:00 2001 +From aadafd8a9bcf26b89a329a100ae9d19f605bf781 Mon Sep 17 00:00:00 2001 From: Bruno George de Moraes Date: Tue, 30 Aug 2016 12:54:38 +0100 -Subject: [PATCH 110/155] dwc_otg: Use kzalloc when suitable +Subject: [PATCH 110/160] dwc_otg: Use kzalloc when suitable --- drivers/usb/host/dwc_otg/dummy_audio.c | 3 +-- @@ -134507,10 +134507,10 @@ index 0eb0f3572d1230fdd23966c47ba9370d22bb8cb5..5624f32c9ea9117599df451af29fca2e return usb_req; -From 33e85357647fcfab29bfbe6fc6411b0895fa56e3 Mon Sep 17 00:00:00 2001 +From 3a1cdefd7b27960ac326bacf0f5ba286c12ffb57 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 11:44:59 -0700 -Subject: [PATCH 111/155] clk: bcm2835: Mark the VPU clock as critical +Subject: [PATCH 111/160] clk: bcm2835: Mark the VPU clock as critical The VPU clock is also the clock for our AXI bus, so we really can't disable it. This might have happened during boot if, for example, @@ -134556,10 +134556,10 @@ index 7a7970865c2d856b6b57113c2bb7e8074140a5dd..d9db03cb3fd84163f320dca6f2e533c6 /* clocks with per parent mux */ -From 715c11c8a954bfed817b7993527229219b8d07d2 Mon Sep 17 00:00:00 2001 +From 8574355bb51553b7fad7d22643dbf10bae82e51b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 112/155] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 112/160] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -134614,10 +134614,10 @@ index d9db03cb3fd84163f320dca6f2e533c61f61b5ad..f6bbe8d5929828048114286ec29a33e0 /* HDMI state machine */ [BCM2835_CLOCK_HSM] = REGISTER_PER_CLK( -From f7b77bb9065e3e058ecf0fa0fa4d49a124988947 Mon Sep 17 00:00:00 2001 +From b6628ac6c1d127ded8cf60e7d6d4aa5d16bdceb7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Apr 2016 12:39:45 -0700 -Subject: [PATCH 113/155] clk: bcm2835: Skip PLLC clocks when deciding on a new +Subject: [PATCH 113/160] clk: bcm2835: Skip PLLC clocks when deciding on a new clock parent If the firmware had set up a clock to source from PLLC, go along with @@ -134688,10 +134688,10 @@ index f6bbe8d5929828048114286ec29a33e02519eab8..e527649ee5e32d20cebd762f4badbfca div = bcm2835_clock_choose_div(hw, req->rate, prate, true); rate = bcm2835_clock_rate_from_divisor(clock, prate, div); -From 0528ab27d0aa0e4840e320606b64e65036d2ab33 Mon Sep 17 00:00:00 2001 +From 7d56bc76283de6c8be4d8785264447c502909565 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 1 Jun 2016 12:05:35 -0700 -Subject: [PATCH 114/155] clk: bcm2835: Mark the CM SDRAM clock's parent as +Subject: [PATCH 114/160] clk: bcm2835: Mark the CM SDRAM clock's parent as critical While the SDRAM is being driven by its dedicated PLL most of the time, @@ -134765,10 +134765,10 @@ index e527649ee5e32d20cebd762f4badbfca06657a84..fbf616021704178a9d007219a0ea2a9f &cprman->onecell); } -From b63912faa5ddd7e5eea110972478f8be268aa14a Mon Sep 17 00:00:00 2001 +From 4f3d2e91574cdeda3826d6516e36d49c5a962112 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Mon, 25 Apr 2016 06:54:57 +0000 -Subject: [PATCH 115/155] ARM: bcm2708: enable clock manager by default +Subject: [PATCH 115/160] ARM: bcm2708: enable clock manager by default Enable the clock manager by default. @@ -134790,10 +134790,10 @@ index 74434b986e3fbb257debfc79caef9fa68f750043..416037450277cd17c280e2b5f9f5423b random: rng@7e104000 { -From 72da1aaa43f74bace967278e5010a30daddf3ed9 Mon Sep 17 00:00:00 2001 +From feb6d04ac058d2437e2fa050e259747d2c6c4b9e Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Mon, 25 Apr 2016 07:56:13 +0000 -Subject: [PATCH 116/155] ARM: 2708: i2s: removed clock registers and added +Subject: [PATCH 116/160] ARM: 2708: i2s: removed clock registers and added clock Removed clock registers from reg and added clock to i2s devicetree node. @@ -134819,10 +134819,10 @@ index 416037450277cd17c280e2b5f9f5423b1cd5502b..9af850fc2cacfccd4ec6262992e92482 dmas = <&dma 2>, <&dma 3>; dma-names = "tx", "rx"; -From ac8f2e50a067825e808363d8ed44a330428b44ef Mon Sep 17 00:00:00 2001 +From fda99d307674d382220d4172d5e7563a28c8655e Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 10:31:04 +0000 -Subject: [PATCH 117/155] ARM: bcm2708: use correct device-tree node names for +Subject: [PATCH 117/160] ARM: bcm2708: use correct device-tree node names for serial Upstream mandates the use of "serial" as name inside the device-tree. @@ -134891,10 +134891,10 @@ index 17d04cf87195a6ff192e1ddbe4f92b1afa9e5ddb..18f77453c38dbbf33f3726a5b4cce15b }; }; -From 829b7e885ec3bd681df57bf8900665390ed07ece Mon Sep 17 00:00:00 2001 +From 2681ce9d5be31a5392d201e92c1fa2419eb7aaec Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 10:52:17 +0000 -Subject: [PATCH 118/155] ARM: bcm2708: moved uart0 to use new clock framework +Subject: [PATCH 118/160] ARM: bcm2708: moved uart0 to use new clock framework Moved uart0 to use new clock framework. At the same time removed the fixed clock clk_uart0 @@ -135018,10 +135018,10 @@ index a72e6e5a0ac0b2492db3d8034a5196b3e19ae008..55ddafda0b17e480e129dc84c93e6743 i2s = <&i2s>,"status"; spi = <&spi0>,"status"; -From 14a9bde96cf37d6eb34603017d133df318850ade Mon Sep 17 00:00:00 2001 +From be823512b65c6ec77e48c7732652cc2e7809b865 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:12:37 +0000 -Subject: [PATCH 119/155] ARM: bcm2708: move spi0 to use new clock framework +Subject: [PATCH 119/160] ARM: bcm2708: move spi0 to use new clock framework use spi0 to use new clock framwork @@ -135044,10 +135044,10 @@ index a93c5a20e3a19a36441f213bf8e9306e90c60842..2eef648c4da0fe18c7134154a67b1529 #size-cells = <0>; status = "disabled"; -From d37534ccd791177f32635b5e20360d2d5854f120 Mon Sep 17 00:00:00 2001 +From e4c876c43324cce19ac42316c7d2e8d9f34e0c87 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:17:32 +0000 -Subject: [PATCH 120/155] ARM: bcm2708: move i2c to use new clock framework +Subject: [PATCH 120/160] ARM: bcm2708: move i2c to use new clock framework move i2c to use the new clock framework instead of the fixed clock @@ -135088,10 +135088,10 @@ index 2eef648c4da0fe18c7134154a67b1529b36b1eef..ac45bbd4e72c2a1668424ee8f714bd9f #size-cells = <0>; status = "disabled"; -From a20fe45c156c8a10c450331bb9b2e4e958b8c56d Mon Sep 17 00:00:00 2001 +From dacee7d465b1e61992b7c6782d48800cd4f8067b Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:19:11 +0000 -Subject: [PATCH 121/155] ARM: bcm2708: move pwm to new clock framework +Subject: [PATCH 121/160] ARM: bcm2708: move pwm to new clock framework Move PWM to use the new clock framework @@ -135116,10 +135116,10 @@ index ac45bbd4e72c2a1668424ee8f714bd9f605eaccd..4177be1f2d4404a775fe3e993f020fb5 status = "disabled"; }; -From 6decfeac90dcdf57c9bcfdb23b4fd58db7985d99 Mon Sep 17 00:00:00 2001 +From f2e309a1315044f5e5a8f57ceb6ff3969f6e360f Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:23:53 +0000 -Subject: [PATCH 122/155] ARM: bcm2708: fix auxiliar clock provider to use +Subject: [PATCH 122/160] ARM: bcm2708: fix auxiliar clock provider to use clock framework Fix the auxiliar clock provider to use the clock framework @@ -135149,10 +135149,10 @@ index 4177be1f2d4404a775fe3e993f020fb573cee7f2..f1b813d145874205a33068d278c0e79c uart1: serial@7e215040 { -From 806582be219234a491577e21f92caf28815c2aa7 Mon Sep 17 00:00:00 2001 +From bf2be15bfb7e1665f99a8dfca52521908276f9d4 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 11:32:21 +0000 -Subject: [PATCH 123/155] ARM: bcm2708: fix register range of spi-aux +Subject: [PATCH 123/160] ARM: bcm2708: fix register range of spi-aux Fix the register range of the spi-aux devices, as they do not control the gate. @@ -135185,10 +135185,10 @@ index f1b813d145874205a33068d278c0e79c6355ef20..37cde9cf317e6c5c76bcf3676a296696 clocks = <&aux BCM2835_AUX_CLOCK_SPI2>; #address-cells = <1>; -From 575b58d52b19410ac49841a853d968a19c9cb1d5 Mon Sep 17 00:00:00 2001 +From de058c81f02cba174454b9b7e4aacc890b2d0f23 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 12:12:16 +0000 -Subject: [PATCH 124/155] ARM: bcm2708: move to new clock manager and driver +Subject: [PATCH 124/160] ARM: bcm2708: move to new clock manager and driver for aux-uart Move to new aux-uart driver (from upstream) and enable it correctly @@ -135289,10 +135289,10 @@ index e46761d20f7b4c780784d48c9f8de23f47f5134c..1232132f218b5c09dd46f3e9f541ea7c help Support for the BCM2835 auxiliar mini UART. -From 471e3f1a0f4081bddc812551483510c0b41ae3e4 Mon Sep 17 00:00:00 2001 +From 60d3d6ca69fe4f451d90f6707b4cf30778fe9e90 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 12:44:22 +0000 -Subject: [PATCH 125/155] ARM: bcm2708: remove pwm clock +Subject: [PATCH 125/160] ARM: bcm2708: remove pwm clock Remove no longer necessary fixed pwm clock. @@ -135321,10 +135321,10 @@ index 011ef9786d46b4ba8db0c672339b7f22b5b75e08..aa6005c2460df08cf2f102148be251a7 clk_osc: clock@6 { compatible = "fixed-clock"; -From 46e016f48f3455d2bfa784152e72e4736b8acd69 Mon Sep 17 00:00:00 2001 +From 2270f86d3c859701ba016de4578af2e7d6548f91 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 126/155] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 126/160] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -135494,10 +135494,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From a69e3aa1fad07973778570543554828a299bd29c Mon Sep 17 00:00:00 2001 +From b2895998201ba90093f816ebd3188983373bed34 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 15:02:23 +0000 -Subject: [PATCH 127/155] ARM: bcm2835: move smi to use clock framework +Subject: [PATCH 127/160] ARM: bcm2835: move smi to use clock framework Move smi to use clock framework. @@ -135526,10 +135526,10 @@ index aa6005c2460df08cf2f102148be251a7a57d0bdf..d757ca03a4a35f5da464667b6897a654 dma-names = "rx-tx"; status = "disabled"; -From d82e9a8c455ac342410427398024ef15b77ef5c1 Mon Sep 17 00:00:00 2001 +From 5e3ed36729fd94dd1e56d29cd7de75c3d5193737 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 13:04:12 +0000 -Subject: [PATCH 128/155] ARM: bcm2708: move mmc to use clock framework +Subject: [PATCH 128/160] ARM: bcm2708: move mmc to use clock framework Move mmc to use clock framework. @@ -135570,10 +135570,10 @@ index d757ca03a4a35f5da464667b6897a654a69ca0b8..9689b971debfb2368da9f56cac2a4e04 clk_osc: clock@6 { compatible = "fixed-clock"; -From 578c12ee37e6fc7b0bd570842e815c81b5ea6e0b Mon Sep 17 00:00:00 2001 +From 54f2d726500608588221c5f11af1ec6625a5ee4a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 13:19:51 +0000 -Subject: [PATCH 129/155] ARM: bcm2708: move sdhost to use clock framework +Subject: [PATCH 129/160] ARM: bcm2708: move sdhost to use clock framework Move the sdhost device to use the clock framework. @@ -135600,10 +135600,10 @@ index 9689b971debfb2368da9f56cac2a4e04a1c6dd17..74b8b67dbc73ddd6fa36b3ae6df96c29 dma-names = "rx-tx"; brcm,overclock-50 = <0>; -From cda64d79670dce8bea71179ae6bda36540954c70 Mon Sep 17 00:00:00 2001 +From 121daf0e1fa71595d6ad80e9ddac009508bea01c Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 15:11:24 +0000 -Subject: [PATCH 130/155] ARM: bcm2708: remove clk_core as it is no longer used +Subject: [PATCH 130/160] ARM: bcm2708: remove clk_core as it is no longer used Remove clk_core from device tree as it is no longer used. Any "modification" to the core_clock in the bootloader is now @@ -135700,10 +135700,10 @@ index 55ddafda0b17e480e129dc84c93e6743ff533ec1..037ed41b140c448940c4a04d235fa6e6 act_led_gpio = <&act_led>,"gpios:4"; act_led_activelow = <&act_led>,"gpios:8"; -From 4e52183643de4975b5e2d775acbd59ee4a4199f8 Mon Sep 17 00:00:00 2001 +From 2fca143317250f7c652525da986732173c72090d Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Tue, 16 Aug 2016 20:07:38 +0100 -Subject: [PATCH 131/155] CM3: ARM: bcm2708: moved uart0 to use new clock +Subject: [PATCH 131/160] CM3: ARM: bcm2708: moved uart0 to use new clock framework Moved uart0 to use new clock framework. @@ -135734,10 +135734,10 @@ index 6a3d2f21295a63e9211638b9e4ba202753c8181b..f637da1d3b85dfc79e88b4bf0b3ec124 i2s = <&i2s>,"status"; spi = <&spi0>,"status"; -From d6432c8b07be7144b119171ea2f3831e2d081dad Mon Sep 17 00:00:00 2001 +From c1f67985eccdaf4fde3e7c00eb8f0784cbffa912 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Tue, 16 Aug 2016 20:09:33 +0100 -Subject: [PATCH 132/155] CM3: ARM: bcm2708: remove clk_core as it is no longer +Subject: [PATCH 132/160] CM3: ARM: bcm2708: remove clk_core as it is no longer used Remove clk_core from device tree as it is no longer used. @@ -135762,10 +135762,10 @@ index f637da1d3b85dfc79e88b4bf0b3ec12417ba2c21..a5d57893d5799e57ffe9b8efe553a03e act_led_gpio = <&act_led>,"gpios:4"; act_led_activelow = <&act_led>,"gpios:8"; -From 584b390ae725566966daf59fb561faa11d8cb9c1 Mon Sep 17 00:00:00 2001 +From 37416e434a2f9c6b9d8c5860b598fdf64b647762 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 133/155] Register the clocks early during the boot process, so +Subject: [PATCH 133/160] 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. @@ -135811,10 +135811,10 @@ index fbf616021704178a9d007219a0ea2a9f1704f0a6..cbbc8d4ddcffc797268c0ecb6477005f MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From e732da6682968ba842a47b8770ed8829e46099ed Mon Sep 17 00:00:00 2001 +From 27afd948c6e5c59d65d1427caa79ba089da6e016 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 May 2016 17:19:27 +0100 -Subject: [PATCH 134/155] brcmfmac: revise SDIO error message in +Subject: [PATCH 134/160] brcmfmac: revise SDIO error message in brcmf_sdio_drivestrengthinit The error message is given for something that is not an error here as @@ -135843,10 +135843,10 @@ index ea66454a3d7444f51827964aea01bf7573f2b473..f315428e4f696b4c53af4f5f9cbc3051 break; } -From c70a235381323fcf8f614ff95c55690fd53b3457 Mon Sep 17 00:00:00 2001 +From 4f35f415e0683d9588aa9284b7d1164796b78032 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 May 2016 17:26:31 +0100 -Subject: [PATCH 135/155] brcmfmac: use ndev->needed_headroom to reserve +Subject: [PATCH 135/160] brcmfmac: use ndev->needed_headroom to reserve additional header space When using nmap tool with FMAC, the nmap packets were be dropped by kernel @@ -135880,10 +135880,10 @@ index b590499f6883294525b094cb66c4449069eb2353..6570dba08bb482bbb3d47ff6f0790a70 drvr->rxsz = ndev->mtu + ndev->hard_header_len + -From b7e8bc9dd4a563aef036017c382686d35926659d Mon Sep 17 00:00:00 2001 +From 94d5db36ba85ab166b19bf9c0f261f302a03cf06 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 6 Jun 2016 11:11:33 +0100 -Subject: [PATCH 136/155] brcmfmac: change rx_seq check log from error print to +Subject: [PATCH 136/160] brcmfmac: change rx_seq check log from error print to debug print The bus rx sequence is not in order because that control and event @@ -135915,10 +135915,10 @@ index f315428e4f696b4c53af4f5f9cbc30512097af36..8d716401af46cc9ade8daee2d1b6a17c rd->seq_num = rx_seq; } -From 3ca27ce783299fb44a893c4db140bfe763fbc5d8 Mon Sep 17 00:00:00 2001 +From 397907c8315909b03199eef476a4e098c8cf51bc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Aug 2016 11:26:57 +0100 -Subject: [PATCH 137/155] overlays: Add audremap overlay +Subject: [PATCH 137/160] overlays: Add audremap overlay The audremap overlay switches the PWM audio outputs to GPIO pins 12 (L) and 13 (R). @@ -135979,10 +135979,10 @@ index 0000000000000000000000000000000000000000..17bbabb712b1c5768f6446bd8cc3b668 + }; +}; -From c58cd240baf7ec4665495313b3792dc46e883947 Mon Sep 17 00:00:00 2001 +From 2b9828bb260b2d8130188d3d2991bb8c283d12ae Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Aug 2016 15:39:01 +0100 -Subject: [PATCH 138/155] overlays: Add swap_lr and enable_jack to audremap +Subject: [PATCH 138/160] overlays: Add swap_lr and enable_jack to audremap swap_lr causes the channels to be reversed, and enable_jack prevents the headphone output from being disabled. @@ -136034,10 +136034,10 @@ index 17bbabb712b1c5768f6446bd8cc3b6687ef24cb8..9582d6ab31218b4ed7b1d42a9190ca6e + }; }; -From 913e60e8b5feaababab88eff6b945242e9bfd168 Mon Sep 17 00:00:00 2001 +From 4c3ac0055a45c76807c8358b57cfa5aa7a1d93fd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Aug 2016 11:12:28 +0100 -Subject: [PATCH 139/155] BCM270X_DT: Add audio_pins to CM dtb +Subject: [PATCH 139/160] BCM270X_DT: Add audio_pins to CM dtb Bring the CM .dtb in line with other others. --- @@ -136061,10 +136061,10 @@ index d2dcc9c156b32a91a45c26b460fa971abd0dbdf5..ce9f54ff7e4ce76ad25ad0a19cf2ad48 &spi0 { -From 75e114c289f3f7be2c2467333558d92bd11c615c Mon Sep 17 00:00:00 2001 +From 3e5fe5c14d43b8f616c9732741ed341e4b49792f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Aug 2016 11:19:02 +0100 -Subject: [PATCH 140/155] BCM270X_DT: Don't enable UART0 in CM3 dtb +Subject: [PATCH 140/160] BCM270X_DT: Don't enable UART0 in CM3 dtb --- arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 12 ------------ @@ -136101,10 +136101,10 @@ index a5d57893d5799e57ffe9b8efe553a03ec4bde007..20388084b98cf942529eb60c55dc540c pinctrl-names = "default"; pinctrl-0 = <&spi0_pins &spi0_cs_pins>; -From d06bf79f9c9664ecd0f97c3de53348204dc338b8 Mon Sep 17 00:00:00 2001 +From 28b9310b4771c2f3811b61649a512a241cc89aa5 Mon Sep 17 00:00:00 2001 From: wavelet2 Date: Fri, 19 Aug 2016 09:32:53 +0100 -Subject: [PATCH 141/155] Overlay for Microchip MCP23S08/17 SPI gpio expanders +Subject: [PATCH 141/160] Overlay for Microchip MCP23S08/17 SPI gpio expanders (#1566) Added Overlay for Microchip MCP23S08/17 SPI gpio expanders @@ -136901,10 +136901,10 @@ index 0000000000000000000000000000000000000000..7dcbacb3cd007eb15b2b0f165fd8adc7 +}; + -From fce09741d4cb97a802e07329bf0d57319f15c572 Mon Sep 17 00:00:00 2001 +From 8fff3b92c95c0cfd04bbd42f7d30b7be0adfce06 Mon Sep 17 00:00:00 2001 From: Georgii Staroselskii Date: Tue, 23 Aug 2016 17:40:05 +0400 -Subject: [PATCH 142/155] overlays: added sc16is750 UART over I2C (#1617) +Subject: [PATCH 142/160] overlays: added sc16is750 UART over I2C (#1617) --- arch/arm/boot/dts/overlays/Makefile | 1 + @@ -136990,10 +136990,10 @@ index 0000000000000000000000000000000000000000..339d0d17c01ff182edd0871de9dc4ea7 + +}; -From 25dcacb541bfd88bdd1b9e7556b60a0b7e286d53 Mon Sep 17 00:00:00 2001 +From d3a6b4db08f040260d18641bf713c22e1159122d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Aug 2016 11:56:04 +0100 -Subject: [PATCH 143/155] overlays: Clarify gpio-poweroff semantics in README +Subject: [PATCH 143/160] overlays: Clarify gpio-poweroff semantics in README 1) GPIO pin is signalled on poweroff, not reboot. 2) In RPi kernels, halt is equivalent to poweroff. @@ -137017,10 +137017,10 @@ index f93b8ffd40157da92685095f75ea67943153a16b..7a98f105eb94b95f0f592cad5dd20dd6 Params: gpiopin GPIO for signalling (default 26) -From 2b691a6bcb38f9eb2baa0c4a36ca206cc2108d24 Mon Sep 17 00:00:00 2001 +From 95909d96c80aaeaa4837b41db7c15187c781be0d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 9 Aug 2016 21:51:41 +0100 -Subject: [PATCH 144/155] overlays: Add assert_falling_edge to pps-gpio overlay +Subject: [PATCH 144/160] overlays: Add assert_falling_edge to pps-gpio overlay See: https://github.com/raspberrypi/linux/issues/1590 --- @@ -137053,10 +137053,10 @@ index 40bf0e11015f5abebd0d4139276da888d728d569..50143a4bb215807ba0a0d0562f5827fa }; }; -From 44fc2291a0edb15a0988c55baa19372c9bbd0372 Mon Sep 17 00:00:00 2001 +From 245e32ac7050ae16965170a3041d42a0d1c618e5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 2 Sep 2016 17:21:42 +0100 -Subject: [PATCH 145/155] bcm2835-sdhost: Don't exit cmd wait loop on error +Subject: [PATCH 145/160] bcm2835-sdhost: Don't exit cmd wait loop on error The FAIL flag can be set in the CMD register before command processing is complete, leading to spurious "failed to complete" errors. This has @@ -137119,10 +137119,10 @@ index d7b6b5a4e31f7aaa76470d3a79ea78a643184855..22bfb340011b0c857f8eb4824eb0b656 mmc->f_min = host->max_clk / SDCDIV_MAX_CDIV; -From d038b09600e780dcbad899e4ee96a1b8b0b44bc2 Mon Sep 17 00:00:00 2001 +From 745a3c2defe45fca54b56f898c0f7d029c9337ba Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 2 Sep 2016 14:35:37 +0100 -Subject: [PATCH 146/155] BCM270X_DT: Use bcm2835-sdhost on Compute Module +Subject: [PATCH 146/160] BCM270X_DT: Use bcm2835-sdhost on Compute Module With the preceding commit: @@ -137152,10 +137152,10 @@ index f07609d97225b355dd2b6981d4f1fa28d0d40950..d33d462b4090e4a4f967a37212918b9c bus-width = <4>; status = "okay"; -From 5d01f38eb67532fc85d6506f17a6acbc60e554d1 Mon Sep 17 00:00:00 2001 +From c8beb4015fc71c74ac6e1d5e9961828b690b64c0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 7 Sep 2016 16:57:59 +0100 -Subject: [PATCH 147/155] fbmem: Ensure that parameters are properly checked +Subject: [PATCH 147/160] fbmem: Ensure that parameters are properly checked within fb_copyarea_user --- @@ -137182,10 +137182,10 @@ index 1d3b35ec8e393aac43dca0ec4566f7a7d0d8998a..7bf48e478c056fcd745026902961506d copy->dy + copy->height > info->var.yres || copy->sy + copy->height > info->var.yres) { -From 0c0c77239a3824a0f0e45eeecc84407b0084b36b Mon Sep 17 00:00:00 2001 +From 6ceb78c3246153dce45f20ae2f31131805615c37 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 9 Sep 2016 19:35:13 +0100 -Subject: [PATCH 148/155] config: Enabled SENSORS_INA2XX module +Subject: [PATCH 148/160] config: Enabled SENSORS_INA2XX module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -137217,10 +137217,10 @@ index 5535fee75c1a31c4fe014b1551af763fb2e7c289..a3155e9e6099b0894d9c9601fceaeb61 CONFIG_THERMAL_BCM2835=y CONFIG_WATCHDOG=y -From e6146223f8a12e0c8a07c4f6e5dcddde76cd8fc2 Mon Sep 17 00:00:00 2001 +From 48ce4b86b03ce4b21b6d719e3275bbf309f62607 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 12 Sep 2016 13:46:56 +0100 -Subject: [PATCH 149/155] overlays: Add dpi18 overlay (#1634) +Subject: [PATCH 149/160] overlays: Add dpi18 overlay (#1634) Add support for 18-bit DPI displays. Although the dpi24 overlay could be used, this overlay leaves GPIOs 22-27 free for other uses. @@ -137300,10 +137300,10 @@ index 0000000000000000000000000000000000000000..8098d5e28a71ffbc717db5c6b88305d2 + }; +}; -From 65ca6c3602903872102700aa0265fcc03c0a243d Mon Sep 17 00:00:00 2001 +From 7cf7912ce5c40a269a559791a4aaac83e52f8462 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 13 Sep 2016 16:32:37 +0100 -Subject: [PATCH 150/155] brcmfmac: do not use internal roaming engine by +Subject: [PATCH 150/160] brcmfmac: do not use internal roaming engine by default Some evidence of curing disconnects with this disabled, so make it a default. @@ -137327,10 +137327,10 @@ index 3e15d64c64813513bc22202dd9e468588699abb0..4051780f64f44a5ce522babe6c371a1b MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine"); -From ab93d0114d8bee0099ba078e4f7c7bd8dd72b74a Mon Sep 17 00:00:00 2001 +From 213bbbeaddc79451cc872797435e3e15fafd18e9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 Aug 2016 17:36:39 +0100 -Subject: [PATCH 151/155] config: Enable SERIAL_SC16IS7XX_SPI +Subject: [PATCH 151/160] config: Enable SERIAL_SC16IS7XX_SPI Previously only the I2C mode was supported. @@ -137365,10 +137365,10 @@ index a3155e9e6099b0894d9c9601fceaeb61412bdff3..0061b42f6a41e8640f19c14773333f18 CONFIG_HW_RANDOM=y CONFIG_RAW_DRIVER=y -From 578e81f73a8095b92098f85b85d1e7aa2415b58e Mon Sep 17 00:00:00 2001 +From e8089ead2b9a8d5241b8fb64971947a4011a8631 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Aug 2016 14:07:29 +0100 -Subject: [PATCH 152/155] config: Add CONFIG_IPVLAN module +Subject: [PATCH 152/160] config: Add CONFIG_IPVLAN module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -137400,10 +137400,10 @@ index 0061b42f6a41e8640f19c14773333f183c95bb6a..b726e62c7beff9b571bf7ab76101609d CONFIG_TUN=m CONFIG_VETH=m -From a98552617a3b08d7f43762b2a03fb4a49fd4dfb4 Mon Sep 17 00:00:00 2001 +From 277980f1117148aff6fb1d1c33a18b4f36560a2b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Aug 2016 14:08:55 +0100 -Subject: [PATCH 153/155] config: Add CONFIG_VXLAN module +Subject: [PATCH 153/160] config: Add CONFIG_VXLAN module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -137435,10 +137435,10 @@ index b726e62c7beff9b571bf7ab76101609daa418122..2c5d3ec8ccade1c55997a90aeaec31d1 CONFIG_TUN=m CONFIG_VETH=m -From 8828c619adb409c4e1c816620aeb79d6a25710af Mon Sep 17 00:00:00 2001 +From fdaba1c3e1b122f60e45c8ea711f6e19117aecf3 Mon Sep 17 00:00:00 2001 From: Jools Wills Date: Mon, 8 Aug 2016 11:04:29 +0100 -Subject: [PATCH 154/155] enable gembird joypad support +Subject: [PATCH 154/160] enable gembird joypad support --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -137470,10 +137470,10 @@ index 2c5d3ec8ccade1c55997a90aeaec31d126f3a22c..3abe26f65bc5d9406589cc4112d92235 CONFIG_HID_KEYTOUCH=m CONFIG_HID_KYE=m -From d93133c246aa765f9ec9a462cb992218768f3853 Mon Sep 17 00:00:00 2001 +From 19da11e2c6bc019ed16308c4d82c35b5c1de7282 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 15 Sep 2016 11:36:26 +0100 -Subject: [PATCH 155/155] config: Remove CONFIG_TRIM_UNUSED_KSYMS +Subject: [PATCH 155/160] config: Remove CONFIG_TRIM_UNUSED_KSYMS --- arch/arm/configs/bcm2709_defconfig | 1 - @@ -137504,3 +137504,581 @@ index 3abe26f65bc5d9406589cc4112d922351fc260c6..b2372c4f366d36a52caa1179a095d6a3 CONFIG_BLK_DEV_THROTTLING=y CONFIG_PARTITION_ADVANCED=y CONFIG_MAC_PARTITION=y + +From 78ca2a50717bfaa938170381d9ded98d9f70d60c Mon Sep 17 00:00:00 2001 +From: Clive Messer +Date: Mon, 19 Sep 2016 14:01:04 +0100 +Subject: [PATCH 156/160] Allo Piano DAC boards: Initial 2 channel (stereo) + support (#1645) + +Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, +using allo-piano-dac-pcm512x-audio overlay and allo-piano-dac ALSA ASoC +machine driver. + +NB. The initial support is 2 channel (stereo) ONLY! +(The Piano DAC 2.1 will only support 2 channel (stereo) left/right output, + pending an update to the upstream pcm512x codec driver, which will have + to be submitted via upstream. With the initial downstream support, + provided by this patch, the Piano DAC 2.1 subwoofer outputs will + not function.) + +Signed-off-by: Baswaraj K +Signed-off-by: Clive Messer +Tested-by: Clive Messer +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 20 +++ + .../allo-piano-dac-pcm512x-audio-overlay.dts | 54 ++++++++ + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + sound/soc/bcm/Kconfig | 7 + + sound/soc/bcm/Makefile | 2 + + sound/soc/bcm/allo-piano-dac.c | 144 +++++++++++++++++++++ + 8 files changed, 230 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts + create mode 100644 sound/soc/bcm/allo-piano-dac.c + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 58bd224d7b1329710ee290c2584a40df565418cc..b6ed1a3c06a7a67d1dd79bb7e55421d8eccba492 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -16,6 +16,7 @@ dtbo-$(RPI_DT_OVERLAYS) += adau1977-adc.dtbo + dtbo-$(RPI_DT_OVERLAYS) += ads1015.dtbo + dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo + dtbo-$(RPI_DT_OVERLAYS) += akkordion-iqdacplus.dtbo ++dtbo-$(RPI_DT_OVERLAYS) += allo-piano-dac-pcm512x-audio.dtbo + dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo + dtbo-$(RPI_DT_OVERLAYS) += audioinjector-wm8731-audio.dtbo + dtbo-$(RPI_DT_OVERLAYS) += audremap.dtbo +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index a6aa2dfaee53026459a48460ae3df409329a53d2..1ebb94c005d68b17792f95bd9792a08679298b26 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -235,6 +235,26 @@ Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec + that does not result in clipping/distortion!) + + ++Name: allo-piano-dac-pcm512x-audio ++Info: Configures the Allo Piano DAC (2.0/2.1) audio cards. ++ (NB. This initial support is for 2.0 channel audio ONLY! ie. stereo. ++ The subwoofer outputs on the Piano 2.1 are not currently supported!) ++Load: dtoverlay=allo-piano-dac-pcm512x-audio, ++Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec ++ Digital volume control. ++ (The default behaviour is that the Digital ++ volume control is limited to a maximum of ++ 0dB. ie. it can attenuate but not provide ++ gain. For most users, this will be desired ++ as it will prevent clipping. By appending ++ the 24db_digital_gain parameter, the Digital ++ volume control will allow up to 24dB of ++ gain. If this parameter is enabled, it is the ++ responsibility of the user to ensure that ++ the Digital volume control is set to a value ++ that does not result in clipping/distortion!) ++ ++ + Name: at86rf233 + Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver, + connected to spi0.0 +diff --git a/arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts b/arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts +new file mode 100644 +index 0000000000000000000000000000000000000000..a5468d850a911cd509365cf25f8ffa6ad071b90a +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/allo-piano-dac-pcm512x-audio-overlay.dts +@@ -0,0 +1,54 @@ ++/* ++ * Definitions for Allo Piano DAC (2.0/2.1) boards ++ * ++ * NB. The Piano DAC 2.1 board contains 2x TI PCM5142 DAC's. One DAC is stereo ++ * (left/right) and the other provides a subwoofer output, using DSP on the ++ * chip for digital high/low pass crossover. ++ * The initial support for this hardware, that doesn't require any codec driver ++ * modifications, uses only one DAC chip for stereo (left/right) output, the ++ * chip with 0x4c slave address. The other chip at 0x4d is currently ignored! ++ */ ++ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&i2c1>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ status = "okay"; ++ ++ pcm5142@4c { ++ #sound-dai-cells = <0>; ++ compatible = "ti,pcm5142"; ++ reg = <0x4c>; ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&sound>; ++ piano_dac: __overlay__ { ++ compatible = "allo,piano-dac"; ++ i2s-controller = <&i2s>; ++ status = "okay"; ++ }; ++ }; ++ ++ __overrides__ { ++ 24db_digital_gain = ++ <&piano_dac>,"allo,24db_digital_gain?"; ++ }; ++}; +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 1fbe104b5d46dce196abb750e65467395eb63dea..dc12da10db38efb54628119f0712ed9bc9082665 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -877,6 +877,7 @@ CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m + CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m + CONFIG_SND_DIGIDAC1_SOUNDCARD=m + CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m ++CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m + CONFIG_SND_SOC_ADAU1701=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index b2372c4f366d36a52caa1179a095d6a3e2eeb151..36215a0252a5f6305097319846f13118309b7a21 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -868,6 +868,7 @@ CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m + CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m + CONFIG_SND_DIGIDAC1_SOUNDCARD=m + CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m ++CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m + CONFIG_SND_SOC_ADAU1701=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m +diff --git a/sound/soc/bcm/Kconfig b/sound/soc/bcm/Kconfig +index 8873fd8adce1d17cb543251f5cdc6ac8f4bf523d..23eefb56fdc736660ad682217ce77b4ea1725d15 100644 +--- a/sound/soc/bcm/Kconfig ++++ b/sound/soc/bcm/Kconfig +@@ -114,3 +114,10 @@ config SND_BCM2708_SOC_DIONAUDIO_LOCO + select SND_SOC_PCM5102a + help + Say Y or M if you want to add support for Dion Audio LOCO. ++ ++config SND_BCM2708_SOC_ALLO_PIANO_DAC ++ tristate "Support for Allo Piano DAC" ++ depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S ++ select SND_SOC_PCM512x_I2C ++ help ++ Say Y or M if you want to add support for Allo Piano DAC. +diff --git a/sound/soc/bcm/Makefile b/sound/soc/bcm/Makefile +index 17f70f951322239696623c2347e5d846bbef2369..a2b642f10ee676a2c65abf1bd0ea1ba5a01ebda1 100644 +--- a/sound/soc/bcm/Makefile ++++ b/sound/soc/bcm/Makefile +@@ -19,6 +19,7 @@ snd-soc-raspidac3-objs := raspidac3.o + snd-soc-audioinjector-pi-soundcard-objs := audioinjector-pi-soundcard.o + snd-soc-digidac1-soundcard-objs := digidac1-soundcard.o + snd-soc-dionaudio-loco-objs := dionaudio_loco.o ++snd-soc-allo-piano-dac-objs := allo-piano-dac.o + + obj-$(CONFIG_SND_BCM2708_SOC_ADAU1977_ADC) += snd-soc-adau1977-adc.o + obj-$(CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC) += snd-soc-hifiberry-dac.o +@@ -35,3 +36,4 @@ obj-$(CONFIG_SND_BCM2708_SOC_RASPIDAC3) += snd-soc-raspidac3.o + obj-$(CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD) += snd-soc-audioinjector-pi-soundcard.o + obj-$(CONFIG_SND_DIGIDAC1_SOUNDCARD) += snd-soc-digidac1-soundcard.o + obj-$(CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO) += snd-soc-dionaudio-loco.o ++obj-$(CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC) += snd-soc-allo-piano-dac.o +diff --git a/sound/soc/bcm/allo-piano-dac.c b/sound/soc/bcm/allo-piano-dac.c +new file mode 100644 +index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99ecd7e4cf +--- /dev/null ++++ b/sound/soc/bcm/allo-piano-dac.c +@@ -0,0 +1,144 @@ ++/* ++ * ALSA ASoC Machine Driver for Allo Piano DAC ++ * ++ * Author: Baswaraj K ++ * Copyright 2016 ++ * based on code by Daniel Matuschek ++ * based on code by Florian Meier ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License ++ * version 2 as published by the Free Software Foundation. ++ * ++ * This program is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ */ ++ ++#include ++#include ++ ++#include ++#include ++#include ++#include ++ ++static bool digital_gain_0db_limit = true; ++ ++static int snd_allo_piano_dac_init(struct snd_soc_pcm_runtime *rtd) ++{ ++ if (digital_gain_0db_limit) { ++ int ret; ++ struct snd_soc_card *card = rtd->card; ++ ++ ret = snd_soc_limit_volume(card, "Digital Playback Volume", ++ 207); ++ if (ret < 0) ++ dev_warn(card->dev, "Failed to set volume limit: %d\n", ++ ret); ++ } ++ ++ return 0; ++} ++ ++static int snd_allo_piano_dac_hw_params( ++ struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) ++{ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_dai *cpu_dai = rtd->cpu_dai; ++ ++ unsigned int sample_bits = ++ snd_pcm_format_physical_width(params_format(params)); ++ ++ return snd_soc_dai_set_bclk_ratio(cpu_dai, sample_bits * 2); ++} ++ ++/* machine stream operations */ ++static struct snd_soc_ops snd_allo_piano_dac_ops = { ++ .hw_params = snd_allo_piano_dac_hw_params, ++}; ++ ++static struct snd_soc_dai_link snd_allo_piano_dac_dai[] = { ++{ ++ .name = "Piano DAC", ++ .stream_name = "Piano DAC HiFi", ++ .cpu_dai_name = "bcm2708-i2s.0", ++ .codec_dai_name = "pcm512x-hifi", ++ .platform_name = "bcm2708-i2s.0", ++ .codec_name = "pcm512x.1-004c", ++ .dai_fmt = SND_SOC_DAIFMT_I2S | ++ SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBS_CFS, ++ .ops = &snd_allo_piano_dac_ops, ++ .init = snd_allo_piano_dac_init, ++}, ++}; ++ ++/* audio machine driver */ ++static struct snd_soc_card snd_allo_piano_dac = { ++ .name = "PianoDAC", ++ .owner = THIS_MODULE, ++ .dai_link = snd_allo_piano_dac_dai, ++ .num_links = ARRAY_SIZE(snd_allo_piano_dac_dai), ++}; ++ ++static int snd_allo_piano_dac_probe(struct platform_device *pdev) ++{ ++ int ret = 0; ++ ++ snd_allo_piano_dac.dev = &pdev->dev; ++ ++ if (pdev->dev.of_node) { ++ struct device_node *i2s_node; ++ struct snd_soc_dai_link *dai; ++ ++ dai = &snd_allo_piano_dac_dai[0]; ++ i2s_node = of_parse_phandle(pdev->dev.of_node, ++ "i2s-controller", 0); ++ ++ if (i2s_node) { ++ dai->cpu_dai_name = NULL; ++ dai->cpu_of_node = i2s_node; ++ dai->platform_name = NULL; ++ dai->platform_of_node = i2s_node; ++ } ++ ++ digital_gain_0db_limit = !of_property_read_bool( ++ pdev->dev.of_node, "allo,24db_digital_gain"); ++ } ++ ++ ret = snd_soc_register_card(&snd_allo_piano_dac); ++ if (ret) ++ dev_err(&pdev->dev, ++ "snd_soc_register_card() failed: %d\n", ret); ++ ++ return ret; ++} ++ ++static int snd_allo_piano_dac_remove(struct platform_device *pdev) ++{ ++ return snd_soc_unregister_card(&snd_allo_piano_dac); ++} ++ ++static const struct of_device_id snd_allo_piano_dac_of_match[] = { ++ { .compatible = "allo,piano-dac", }, ++ { /* sentinel */ }, ++}; ++MODULE_DEVICE_TABLE(of, snd_allo_piano_dac_of_match); ++ ++static struct platform_driver snd_allo_piano_dac_driver = { ++ .driver = { ++ .name = "snd-allo-piano-dac", ++ .owner = THIS_MODULE, ++ .of_match_table = snd_allo_piano_dac_of_match, ++ }, ++ .probe = snd_allo_piano_dac_probe, ++ .remove = snd_allo_piano_dac_remove, ++}; ++ ++module_platform_driver(snd_allo_piano_dac_driver); ++ ++MODULE_AUTHOR("Baswaraj K "); ++MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); ++MODULE_LICENSE("GPL v2"); + +From ec6cdd8bc004d527b83708ff2c7257e50a9b372a Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 19 Sep 2016 17:16:09 +0100 +Subject: [PATCH 157/160] overlays: adjust overlays for absent pwm_clk + +Clocks are now managed by cprman, so pwm_clk no longer exists. + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts | 12 +++--------- + arch/arm/boot/dts/overlays/pwm-overlay.dts | 12 +++--------- + 2 files changed, 6 insertions(+), 18 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts b/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts +index 18e4e4fa9465c87eb96c8d712a9967c4805c7176..abdeddd0f2c873e2b1fffcf6f2b838ee0123768f 100644 +--- a/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts ++++ b/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts +@@ -29,25 +29,19 @@ N.B.: + + fragment@1 { + target = <&pwm>; +- __overlay__ { ++ frag1: __overlay__ { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_pins>; ++ assigned-clock-rates = <100000000>; + status = "okay"; + }; + }; + +- fragment@2 { +- target = <&clk_pwm>; +- frag2: __overlay__ { +- clock-frequency = <100000000>; +- }; +- }; +- + __overrides__ { + pin = <&pwm_pins>,"brcm,pins:0"; + pin2 = <&pwm_pins>,"brcm,pins:4"; + func = <&pwm_pins>,"brcm,function:0"; + func2 = <&pwm_pins>,"brcm,function:4"; +- clock = <&frag2>,"clock-frequency:0"; ++ clock = <&frag1>,"assigned-clock-rates:0"; + }; + }; +diff --git a/arch/arm/boot/dts/overlays/pwm-overlay.dts b/arch/arm/boot/dts/overlays/pwm-overlay.dts +index bf030a6d1545448faf5e7992a0dc5c505522433e..27809e8dc74660a8e922a1aff1bb2ca7186e411c 100644 +--- a/arch/arm/boot/dts/overlays/pwm-overlay.dts ++++ b/arch/arm/boot/dts/overlays/pwm-overlay.dts +@@ -27,23 +27,17 @@ N.B.: + + fragment@1 { + target = <&pwm>; +- __overlay__ { ++ frag1: __overlay__ { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_pins>; ++ assigned-clock-rates = <100000000>; + status = "okay"; + }; + }; + +- fragment@2 { +- target = <&clk_pwm>; +- frag2: __overlay__ { +- clock-frequency = <100000000>; +- }; +- }; +- + __overrides__ { + pin = <&pwm_pins>,"brcm,pins:0"; + func = <&pwm_pins>,"brcm,function:0"; +- clock = <&frag2>,"clock-frequency:0"; ++ clock = <&frag1>,"assigned-clock-rates:0"; + }; + }; + +From edc3561c035995935a96e874783d06998b7b8609 Mon Sep 17 00:00:00 2001 +From: Blogs14 +Date: Fri, 23 Sep 2016 11:02:56 +0100 +Subject: [PATCH 158/160] Correct typos in spi-gpio35-39-overlay.dts (#1651) + +bcrm,pins corrected to brcm,pins +--- + arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts b/arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts +index 9648063d5963f2f6ec8f31038f3af5820a8135a6..49803b309f8643385a3c97f6cdd2015f863d2d34 100644 +--- a/arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts ++++ b/arch/arm/boot/dts/overlays/spi-gpio35-39-overlay.dts +@@ -18,14 +18,14 @@ + fragment@1 { + target = <&spi0_cs_pins>; + __overlay__ { +- bcrm,pins = <36 35>; ++ brcm,pins = <36 35>; + }; + }; + + fragment@2 { + target = <&spi0_pins>; + __overlay__ { +- bcrm,pins = <37 38 39>; ++ brcm,pins = <37 38 39>; + }; + }; + }; + +From 8576effc76822bb6e834c121a24a38660f692eec Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 31 Aug 2016 17:10:09 +0100 +Subject: [PATCH 159/160] brcmfmac: Change stop_ap sequence + +Patch from Broadcom/Cypress to resolve a customer error + +Signed-off-by: Phil Elwell +--- + drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +index 4a9a636d85b29eb379fa477dfbc7af80ec380dab..d859202156e7d877eb3d383c7a9386d6d188cba4 100644 +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +@@ -4663,12 +4663,15 @@ static int brcmf_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *ndev) + err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_DOWN, 1); + if (err < 0) + brcmf_err("BRCMF_C_DOWN error %d\n", err); +- err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_AP, 0); +- if (err < 0) +- brcmf_err("setting AP mode failed %d\n", err); ++ + err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_INFRA, 0); + if (err < 0) + brcmf_err("setting INFRA mode failed %d\n", err); ++ ++ err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_AP, 0); ++ if (err < 0) ++ brcmf_err("setting AP mode failed %d\n", err); ++ + if (brcmf_feat_is_enabled(ifp, BRCMF_FEAT_MBSS)) + brcmf_fil_iovar_int_set(ifp, "mbss", 0); + err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_REGULATORY, + +From 75d9470295522b876ec03d9ec2b50ebf26332e92 Mon Sep 17 00:00:00 2001 +From: Eric Anholt +Date: Thu, 15 Sep 2016 17:52:17 +0100 +Subject: [PATCH 160/160] drm/vc4: Enable limited range RGB output with CEA + modes. + +--- + drivers/gpu/drm/vc4/vc4_hdmi.c | 28 ++++++++++++++++++++++++++-- + drivers/gpu/drm/vc4/vc4_regs.h | 9 ++++++++- + 2 files changed, 34 insertions(+), 3 deletions(-) + +diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c +index ed9c5274d06a215331aee44da1f7214a0e1f6e28..5cf6ecbe8f6e1304d77678fc05a7a6fbde63523a 100644 +--- a/drivers/gpu/drm/vc4/vc4_hdmi.c ++++ b/drivers/gpu/drm/vc4/vc4_hdmi.c +@@ -284,6 +284,7 @@ static void vc4_hdmi_encoder_mode_set(struct drm_encoder *encoder, + struct drm_display_mode *unadjusted_mode, + struct drm_display_mode *mode) + { ++ struct vc4_hdmi_encoder *vc4_encoder = to_vc4_hdmi_encoder(encoder); + struct drm_device *dev = encoder->dev; + struct vc4_dev *vc4 = to_vc4_dev(dev); + bool debug_dump_regs = false; +@@ -299,6 +300,7 @@ static void vc4_hdmi_encoder_mode_set(struct drm_encoder *encoder, + u32 vertb = (VC4_SET_FIELD(0, VC4_HDMI_VERTB_VSPO) | + VC4_SET_FIELD(mode->vtotal - mode->vsync_end, + VC4_HDMI_VERTB_VBP)); ++ u32 csc_ctl; + + if (debug_dump_regs) { + DRM_INFO("HDMI regs before:\n"); +@@ -337,9 +339,31 @@ static void vc4_hdmi_encoder_mode_set(struct drm_encoder *encoder, + (vsync_pos ? 0 : VC4_HD_VID_CTL_VSYNC_LOW) | + (hsync_pos ? 0 : VC4_HD_VID_CTL_HSYNC_LOW)); + ++ csc_ctl = VC4_SET_FIELD(VC4_HD_CSC_CTL_ORDER_BGR, ++ VC4_HD_CSC_CTL_ORDER); ++ ++ if (vc4_encoder->hdmi_monitor && drm_match_cea_mode(mode) != 0) { ++ /* Enable limited range RGB output. This matrix is: ++ * [ 0 0 0.8594 16] ++ * [ 0 0.8594 0 16] ++ * [ 0.8594 0 0 16] ++ * [ 0 0 0 1] ++ */ ++ csc_ctl |= VC4_HD_CSC_CTL_ENABLE; ++ csc_ctl |= VC4_HD_CSC_CTL_RGB2YCC; ++ csc_ctl |= VC4_SET_FIELD(VC4_HD_CSC_CTL_MODE_CUSTOM, ++ VC4_HD_CSC_CTL_MODE); ++ ++ HD_WRITE(VC4_HD_CSC_12_11, (0x000 << 16) | 0x000); ++ HD_WRITE(VC4_HD_CSC_14_13, (0x100 << 16) | 0x6e0); ++ HD_WRITE(VC4_HD_CSC_22_21, (0x6e0 << 16) | 0x000); ++ HD_WRITE(VC4_HD_CSC_24_23, (0x100 << 16) | 0x000); ++ HD_WRITE(VC4_HD_CSC_32_31, (0x000 << 16) | 0x6e0); ++ HD_WRITE(VC4_HD_CSC_34_33, (0x100 << 16) | 0x000); ++ } ++ + /* The RGB order applies even when CSC is disabled. */ +- HD_WRITE(VC4_HD_CSC_CTL, VC4_SET_FIELD(VC4_HD_CSC_CTL_ORDER_BGR, +- VC4_HD_CSC_CTL_ORDER)); ++ HD_WRITE(VC4_HD_CSC_CTL, csc_ctl); + + HDMI_WRITE(VC4_HDMI_FIFO_CTL, VC4_HDMI_FIFO_CTL_MASTER_SLAVE_N); + +diff --git a/drivers/gpu/drm/vc4/vc4_regs.h b/drivers/gpu/drm/vc4/vc4_regs.h +index f99eece4cc97200ba664514dc26941cb6879e77d..6d3787739aae39c9f982acb3545e9ce39412a1f5 100644 +--- a/drivers/gpu/drm/vc4/vc4_regs.h ++++ b/drivers/gpu/drm/vc4/vc4_regs.h +@@ -508,10 +508,17 @@ + # define VC4_HD_CSC_CTL_MODE_SHIFT 2 + # define VC4_HD_CSC_CTL_MODE_RGB_TO_SD_YPRPB 0 + # define VC4_HD_CSC_CTL_MODE_RGB_TO_HD_YPRPB 1 +-# define VC4_HD_CSC_CTL_MODE_CUSTOM 2 ++# define VC4_HD_CSC_CTL_MODE_CUSTOM 3 + # define VC4_HD_CSC_CTL_RGB2YCC BIT(1) + # define VC4_HD_CSC_CTL_ENABLE BIT(0) + ++#define VC4_HD_CSC_12_11 0x044 ++#define VC4_HD_CSC_14_13 0x048 ++#define VC4_HD_CSC_22_21 0x04c ++#define VC4_HD_CSC_24_23 0x050 ++#define VC4_HD_CSC_32_31 0x054 ++#define VC4_HD_CSC_34_33 0x058 ++ + #define VC4_HD_FRAME_COUNT 0x068 + + /* HVS display list information. */