diff --git a/packages/linux/package.mk b/packages/linux/package.mk index d63a466143..450ff96c42 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -59,7 +59,7 @@ case "$LINUX" in PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET imx6-status-led imx6-soc-fan irqbalanced" ;; *) - PKG_VERSION="4.9.5" + PKG_VERSION="4.9.6" PKG_URL="http://www.kernel.org/pub/linux/kernel/v4.x/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_PATCH_DIRS="default" ;; diff --git a/projects/RPi/linux/linux.arm.conf b/projects/RPi/linux/linux.arm.conf index 457a6a35bf..8c59816d08 100644 --- a/projects/RPi/linux/linux.arm.conf +++ b/projects/RPi/linux/linux.arm.conf @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.9.1 Kernel Configuration +# Linux/arm 4.9.6 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -2778,7 +2778,7 @@ CONFIG_SND_SOC_I2C_AND_SPI=m # CONFIG_SND_SOC_ADAU1701 is not set CONFIG_SND_SOC_ADAU1977=m CONFIG_SND_SOC_ADAU1977_I2C=m -# CONFIG_SND_SOC_ADAU7002 is not set +CONFIG_SND_SOC_ADAU7002=m # CONFIG_SND_SOC_AK4104 is not set # CONFIG_SND_SOC_AK4554 is not set # CONFIG_SND_SOC_AK4613 is not set diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index dfc679c311..605e126e02 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 f976947c1b5169c3d368185a01ed6407d8a6af71 Mon Sep 17 00:00:00 2001 +From 19b19e36968fd1bda47e59e4aaa3d1b0a048e2af Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/134] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/139] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -48,10 +48,10 @@ index 831aa33d078ae7d2dd57fdded5de71d1eb915f99..b77935bded8c0ff7808b00f170ff10e5 usbnet_skb_return(dev, ax_skb); } -From 3ad76bc9aed8f02a5250df09a675f5f507a20f2c Mon Sep 17 00:00:00 2001 +From 3b849a978a066d4a542b35a3c9115e1d0dd33daa Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/134] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/139] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index b77935bded8c0ff7808b00f170ff10e594300ad0..693f163684de921404738e33244881e0 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 7142897448573d6ffac58a615f269638955672a0 Mon Sep 17 00:00:00 2001 +From 323e1c431de92e9eedf6a2a4ab69dacf68d192e8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/134] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/139] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 693f163684de921404738e33244881e0aab92ec9..df60c989fc229bf0aab3c27e95ccd453 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From 2e2ec572f0718da9dbc45a2228cb3ecd9794422b Mon Sep 17 00:00:00 2001 +From aa23572116974823b66c52d9aeb7c883c3f57027 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/134] Protect __release_resource against resources without +Subject: [PATCH 004/139] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -224,10 +224,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From ad96495e9b26e46adf7f0b89542dd60aea544dca Mon Sep 17 00:00:00 2001 +From a4282163e4a337ce384ce7e41617905bfea37ba4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/134] mm: Remove the PFN busy warning +Subject: [PATCH 005/139] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -252,10 +252,10 @@ index 34ada718ef47c4b27730214d584f9350fefb9883..3fa01a5280db96075798e4cbd58d5520 goto done; } -From b2fe923f2cb98c7d0e0eb29a1b59deb9dd3b8988 Mon Sep 17 00:00:00 2001 +From 4d80990d04e9f05d22b5f2aa60b04eac17e0a992 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/134] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/139] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -282,10 +282,10 @@ index d96b2c947e74e3edab3917551c64fbd1ced0f34c..93e3f7660c4230c9f1dd3b195958cb49 #endif } else if (stat) { -From dc4a45834d2402e2e660ab003d7324cba9139436 Mon Sep 17 00:00:00 2001 +From 776cdf599f81ae27fee194ff1830dea2ba888d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 007/134] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 007/139] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -414,10 +414,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From 34910ef2a03ef73e4131ae171d86dec824f744d3 Mon Sep 17 00:00:00 2001 +From 1b4bd9d956338a403c31de5f27c058f2d8a5fec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 008/134] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 008/139] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -516,10 +516,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From e64fc26eae60ff4db42f6a87bc6b927efd4ee5cf Mon Sep 17 00:00:00 2001 +From e9ae9ecfd8dbbfe62ab50769139b6987d6472567 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 009/134] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 009/139] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -540,10 +540,10 @@ index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..d780491b8013a4e97fa843958964454e }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From e39afc1ff1e671825fedd1df55ee1bab5331c130 Mon Sep 17 00:00:00 2001 +From 796c3fb31d9d46dfd7a52c542ab42b8fa9746c10 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 010/134] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 010/139] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -563,10 +563,10 @@ index e8819aa20415603c80547e382838a8fa3ce54792..cf9c7d2e3f95e1a19410247a89c2e49c for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From 6f6b75fdb594e8a06c42a307d7818f368f4d4726 Mon Sep 17 00:00:00 2001 +From 1b904739cb5a74f77a0a2cd441d1fbad44a87056 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 011/134] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 011/139] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -588,10 +588,10 @@ index fa77165fab2c1348163979da507df17e7168c49b..d11e2e4ea189466e686d762cb6c6fef9 .can_sleep = false, }; -From 041cddecf626794a60bf474cc61f90a03b285b17 Mon Sep 17 00:00:00 2001 +From 2231c8737d0513e5ef63e8f3813d78acde428a81 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 012/134] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 012/139] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -737,10 +737,10 @@ index d11e2e4ea189466e686d762cb6c6fef9111ecf8e..107ad7d58de8f8a7f55e09c9cdcf7d66 }, }; -From 44a7bb44de3404d995ac9f7a659c00417899fd6d Mon Sep 17 00:00:00 2001 +From c661156e0d492293fe8f9f302bfaae94debb6ea0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/134] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/139] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -767,10 +767,10 @@ index 107ad7d58de8f8a7f55e09c9cdcf7d66fa7ab66b..644bdecbcfcb79d3b84a33769265fca5 pc->irq_data[i].irqgroup = i; -From 155055374cd70c94e510a2e61a1d30b1e345809e Mon Sep 17 00:00:00 2001 +From 5ed11f16df89c1906aeabe516893535cedd22163 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 May 2016 12:32:47 +0100 -Subject: [PATCH 014/134] pinctrl-bcm2835: Return pins to inputs when freed +Subject: [PATCH 014/139] pinctrl-bcm2835: Return pins to inputs when freed When dynamically unloading overlays, it is important that freed pins are restored to being inputs to prevent functions from being enabled in @@ -811,10 +811,10 @@ index 644bdecbcfcb79d3b84a33769265fca5d3d0c9e5..81a66cba2ab0f7e3ae179de7edd10122 .get_function_name = bcm2835_pmx_get_function_name, .get_function_groups = bcm2835_pmx_get_function_groups, -From 64f37c3a86fd2c53f04bcbb7fa135301e6421de4 Mon Sep 17 00:00:00 2001 +From 72e89a6e4e63a370ff774485e9f34736b46dc0a1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 015/134] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 015/139] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -895,10 +895,10 @@ index f35cc10772f6670397ea923ad30158270dd68578..5dfe20ffc2866fa6789825016c585175 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From 6c1fa9350bf0ab341d0ab63eecf2d4ea340daec6 Mon Sep 17 00:00:00 2001 +From a2d8f5ea8f099c827b430075495cd4f66bbcfea3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 016/134] spi-bcm2835: Disable forced software CS +Subject: [PATCH 016/139] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -932,10 +932,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From cca118f6ed6f3edaf5a77230300a3158261e3b53 Mon Sep 17 00:00:00 2001 +From 6026a5b9fa567b03ef223f850ecd39530cd122ca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 017/134] spi-bcm2835: Remove unused code +Subject: [PATCH 017/139] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1023,10 +1023,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 2e81ccfdf0326796f2cf45713b5cc931bad0b3bb Mon Sep 17 00:00:00 2001 +From f13be437d58ecb8d95e017926f4e47732f3eefb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 018/134] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 018/139] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1079,10 +1079,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 4093e2dee5031f02d81e101fe08d6d03aa9ea63e Mon Sep 17 00:00:00 2001 +From 0328437d8ab1ce8e27b7b1fbc65ee02e30af4673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 019/134] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 019/139] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1185,10 +1185,10 @@ index e18dc596cf2447fa9ef7e41b62d9396e29043426..80d35f760b4a4a51e60c355a84d538ba MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From 007bb2fdbc595054ff60c1211f6056aed77dea03 Mon Sep 17 00:00:00 2001 +From ca1f2d494d953107927917bf79546ca2ced82efb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 020/134] firmware: Updated mailbox header +Subject: [PATCH 020/139] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 11 +++++++++++ @@ -1251,10 +1251,10 @@ index 3fb357193f09914fe21f8555a4b8613f74f22bc3..227a107214a02deadcca3db202da265e RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From 593e2a771144e215bf3bae0cfca6ef0b9027cddb Mon Sep 17 00:00:00 2001 +From 3476f48a6308c25a552bafb7d75b827700bf4f6b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 021/134] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 021/139] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1292,10 +1292,10 @@ index 3bbd2a58db470a89b870a793e59ddf9fc4f48e57..7040c6426e35c11608121893b662c601 init.ops = &bcm2835_vpu_clock_clk_ops; } else { -From 7d8b9b1e370721580d44b091f77520adbcc6fc92 Mon Sep 17 00:00:00 2001 +From 3987d68ac3af1cf84fb920b0cd6aa32a53266cf5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 022/134] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 022/139] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1315,10 +1315,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From a808402e7739a200245229e4a8ebfe42d1aab631 Mon Sep 17 00:00:00 2001 +From 7c4ad5b6dfd0947c786a18a1bbe20055d89a5681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 16:50:59 +0200 -Subject: [PATCH 023/134] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 023/139] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1442,10 +1442,10 @@ index 4dddd8298a227d64862f2e92954a465f2e44b3f6..1f545e024422f59280932713e6a1b051 register_restart_handler(&wdt->restart_handler); if (pm_power_off == NULL) -From eb7aa522a65fc900effe3b9c9ffab11ed565d9cd Mon Sep 17 00:00:00 2001 +From 4faf393423adc1f2e66722521e4b02e6ed1bffa5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 024/134] reboot: Use power off rather than busy spinning when +Subject: [PATCH 024/139] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1468,10 +1468,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From 49be453f38d36064b3778cc52cb3f108a61296eb Mon Sep 17 00:00:00 2001 +From c19bf9210f674641ca6a7763e5d17702985cd823 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 025/134] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 025/139] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1490,10 +1490,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..e037a6dd79d1881a09e3ca9115782709 help This enables support for the RPi power domains which can be enabled -From 86dbd7e08055ec3c3f93611650834146fb7bec9e Mon Sep 17 00:00:00 2001 +From 97461aecb75e4aa4fef0493367484d5efefe1242 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 026/134] Register the clocks early during the boot process, so +Subject: [PATCH 026/139] Register the clocks early during the boot process, so that special/critical clocks can get enabled early on in the boot process avoiding the risk of disabling a clock, pll_divider or pll when a claiming driver fails to install propperly - maybe it needs to defer. @@ -1538,10 +1538,10 @@ index 7040c6426e35c11608121893b662c601cd8d6543..21e2a538ff0d0ab4e63adff9b93705f3 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From d3af425d67b61ddac3566e2c3c68ca501fb2b5eb Mon Sep 17 00:00:00 2001 +From ddcf6876434d1d4de6c20cd7a246ec6761278b7a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 027/134] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 027/139] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1567,10 +1567,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From 440da70b90be94b3b760852bbd94bb2d13bb0b2d Mon Sep 17 00:00:00 2001 +From 8213c5e839ed73f290c31f8fa8771109d71d333f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 028/134] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 028/139] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1590,10 +1590,10 @@ index 179219845dfcdfbeb586d12c5ec1296095d9fbf4..e0743e44f84188667a0c322e8c3d36f1 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From fee20a367f91a0c174d10654f37f7d5b013a8135 Mon Sep 17 00:00:00 2001 +From 08420db89a7b0f3bc93d53d26f082a87e7a3126f Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 029/134] BCM2835_DT: Fix I2S register map +Subject: [PATCH 029/139] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1631,10 +1631,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 315d464c674d1ed4925ea21fff83f80c995fca62 Mon Sep 17 00:00:00 2001 +From eddd2846e5da35c427a1449afcb1cdcef4d6c0ce Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 030/134] Main bcm2708/bcm2709 linux port +Subject: [PATCH 030/139] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1841,10 +1841,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From 9311e02b2b3ff61ba27312171cf625ebbc690cad Mon Sep 17 00:00:00 2001 +From 50b9b81411581b78ec6de8ca8c60fa16b0c731cf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 031/134] Add dwc_otg driver +Subject: [PATCH 031/139] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -62901,10 +62901,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 86f069c06a014be7a8d5058da0355739b8fe731c Mon Sep 17 00:00:00 2001 +From 617354ba9cb3ef301169e87d257495f80122bce9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 032/134] bcm2708 framebuffer driver +Subject: [PATCH 032/139] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66363,10 +66363,10 @@ index 3c14e43b82fefe1d32f591d1b2f61d2cd28d0fa8..7626beb6a5bb8df601ddf0f6e6909d1f +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From b51769b3dc814a6a4379d5b9042938d7ec9b0225 Mon Sep 17 00:00:00 2001 +From e453972328537f2d7df0457a3a588c7425837e22 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 033/134] dmaengine: Add support for BCM2708 +Subject: [PATCH 033/139] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66997,10 +66997,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From 06199a6053360eacfba241593a0dba47cd19fd54 Mon Sep 17 00:00:00 2001 +From fa6a7864e4a03147b20bcda3dc587ffedcaaf39c Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 034/134] MMC: added alternative MMC driver +Subject: [PATCH 034/139] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68750,10 +68750,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From da4e95e28075d3938a2c2620eadd499c8ee9c5ca Mon Sep 17 00:00:00 2001 +From a36ad8e9b50f8e475bf934c76412b4c915cd7b26 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 035/134] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 035/139] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71158,10 +71158,10 @@ index 0000000000000000000000000000000000000000..a9bc79bfdbb71807819dfe2d8f165144 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 36bc4a0480199f1c815061910912975554ee0893 Mon Sep 17 00:00:00 2001 +From 44542e41e3612387f6323b7b606ecc433bb45bb6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 036/134] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 036/139] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -71297,10 +71297,10 @@ index 73fad83acbcb6a157587180516f9ffe7c61eb7d7..e7c9d3098ac06e3c6554fa3373a311f9 unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From 8fdd540eb506c2d192babeee069577aa8edcc042 Mon Sep 17 00:00:00 2001 +From 6f9bd29d66d6944241605966aff61b2ebabf0f65 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 037/134] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 037/139] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -72636,10 +72636,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From 4090c038bd917b473d5fbde0338460df6b2af229 Mon Sep 17 00:00:00 2001 +From 2118117473b152a28312fe2191ee4ba1d2f1ddd4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 038/134] bcm2708: alsa sound driver +Subject: [PATCH 038/139] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75374,10 +75374,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From a54b68813c33afd1e6cdf25467d7fef9559b67fb Mon Sep 17 00:00:00 2001 +From cb677622dcf82cc659fe1944565c707c1ae386c7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 039/134] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 039/139] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -75901,10 +75901,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From db6937b652db53462b5eba23a09f280a67a5e961 Mon Sep 17 00:00:00 2001 +From fcfeb0de0a54c9ee86502dbb18d149df84579e29 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 040/134] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 040/139] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -80311,10 +80311,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From b261dbc74df36cde6d98cb2b7a99fec3ec03303c Mon Sep 17 00:00:00 2001 +From 9e6a2694faa752923ca52e7a0d7470f1d7147a58 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 041/134] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 041/139] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -80625,10 +80625,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 08d96e8b7e4067561a298761f976583af9f4d032 Mon Sep 17 00:00:00 2001 +From a91ab8be19eece779b19176a5a6f22e6117a8a68 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 042/134] Add SMI driver +Subject: [PATCH 042/139] Add SMI driver Signed-off-by: Luke Wren --- @@ -82579,10 +82579,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From b87679c88a0014b1361a3d502d1488c521c8a4d2 Mon Sep 17 00:00:00 2001 +From 0e4b6b76f6302299113e328c3a52feba8d973a3b Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 043/134] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 043/139] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -82752,10 +82752,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From c189ff7a857976d4765868c64ea803674fd453ba Mon Sep 17 00:00:00 2001 +From 5e96c04566a4405e2060ebb6d3c356a55b9f60ae Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 044/134] Add SMI NAND driver +Subject: [PATCH 044/139] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -82817,7 +82817,7 @@ index 0000000000000000000000000000000000000000..159544d6579070d376d146bd24a86653 +}; \ No newline at end of file diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig -index 7b7a887b4709f0122f32b60833d8c2e36bc4dead..2db503816a8d5d763bef1b08e3f458d1a2e87751 100644 +index b254090b8a1ba6dfb7a86f8065663207d5393935..f21097c8d5378b2d72b3d18e39e28ad4f53942f0 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -41,6 +41,13 @@ config MTD_SM_COMMON @@ -83120,10 +83120,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 7ae75ebcd67505e243a0d4779e6c8070740ed2cc Mon Sep 17 00:00:00 2001 +From fd2826446ae8feb0345413e5293bf9c4e339283c Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 045/134] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 045/139] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -83986,10 +83986,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From fcda1c44e4ccbbc1f17dc1e478cad2f22cee825f Mon Sep 17 00:00:00 2001 +From d101d1e54c9d0c552ddb9ea8cf91036676b75d63 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 046/134] Add cpufreq driver +Subject: [PATCH 046/139] Add cpufreq driver Signed-off-by: popcornmix --- @@ -84256,10 +84256,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 885715273cf08e6846807627a3f53b7f326c6ec6 Mon Sep 17 00:00:00 2001 +From 4d36baabc5401412e9a91c0c6a5c298749696c7e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 047/134] Added hwmon/thermal driver for reporting core +Subject: [PATCH 047/139] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -84425,10 +84425,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 4d1c4691bee09ec078fc867a307ab20fd74edc73 Mon Sep 17 00:00:00 2001 +From 71ef724e8655eb0164293c65aa6d77dd49a56585 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 048/134] Add Chris Boot's i2c driver +Subject: [PATCH 048/139] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85093,10 +85093,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 5df0c2d95cfeee43b66f406971d3cd397fcc819e Mon Sep 17 00:00:00 2001 +From 9f186fb7bcbde7efbfb2d646a99893434281e7f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 049/134] char: broadcom: Add vcio module +Subject: [PATCH 049/139] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85322,10 +85322,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 9ffbcfb98290715f871820c9c5edafefb1be9494 Mon Sep 17 00:00:00 2001 +From 0eb33414450647e69d5d814285e8987ff43bcd20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 050/134] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 050/139] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85408,10 +85408,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 62a3bbfadb53ca60c2e9c110fc8c2834bf7eff5a Mon Sep 17 00:00:00 2001 +From 883b24f2789355b2fcdc477d7e1592190e7105a0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 051/134] bcm2835: add v4l2 camera device +Subject: [PATCH 051/139] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -85902,7 +85902,7 @@ index 0000000000000000000000000000000000000000..c585a8fadf91c5a04453e442fc29ed89 + +$ v4l2-ctl --list-formats diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig -index ce4a96fccc433c69269a14455ba94e053b515d91..0ea7ea95d824bf95747678e83ee7a61dea6f55cd 100644 +index 5ff803efdc03da24a177ee06f3659e785ebe6b35..dc76b9e1594974d6c474ad8a470923ac0ec5b6f0 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -11,6 +11,8 @@ menuconfig V4L_PLATFORM_DRIVERS @@ -93153,10 +93153,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From a37d33f021e21c51e3cc1d7e53662f2855a849aa Mon Sep 17 00:00:00 2001 +From 80518bfb29d55986781a5dcfe8045b4c04078a08 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 052/134] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 052/139] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -93676,10 +93676,10 @@ index 0000000000000000000000000000000000000000..60206de7fa9a49bd027c635306674a29 + return $trailer; +} -From d7c18d86db098e00f2df998ab3089fb168a0b24d Mon Sep 17 00:00:00 2001 +From 84213193818c989afe26ebd7e7043c5450f8e987 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 053/134] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 053/139] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -96530,10 +96530,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From 4e928119b75da432b2af6c4a0336c8f927417eaa Mon Sep 17 00:00:00 2001 +From f0618d8e890c7e4cc63af91bc7214d423bc7f4e7 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 054/134] BCM2708: Add core Device Tree support +Subject: [PATCH 054/139] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96966,7 +96966,7 @@ index 3c79f85975aaa26c7c2e353fefc54d71d89bc5bf..eaaeb17e5986e5f7178b2851169444ac -*.dtb +*.dtb* diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile -index c558ba75cbccf909063e0f4f131f7efdfd28867b..ec218dcb67019acacd4a6c73c74d12ef4f4204d8 100644 +index 7037201c5e3a7dd232b087fd7d7daa36bf3878ad..c697c4843a4e0f8b511c024924741082bb11edd7 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1,5 +1,13 @@ @@ -96983,7 +96983,7 @@ index c558ba75cbccf909063e0f4f131f7efdfd28867b..ec218dcb67019acacd4a6c73c74d12ef dtb-$(CONFIG_ARCH_ALPINE) += \ alpine-db.dtb dtb-$(CONFIG_MACH_ARTPEC6) += \ -@@ -954,10 +962,21 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ +@@ -955,10 +963,21 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb dtb-$(CONFIG_ARCH_ASPEED) += aspeed-bmc-opp-palmetto.dtb \ aspeed-ast2500-evb.dtb @@ -106661,10 +106661,10 @@ index 0a07f9014944ed92a8e2e42983ae43be60b3e471..1967878a843461c3ff1f473b9a030eb0 # Bzip2 -From 551a2c4098661ef7b5ea745259a4bb0750b8370b Mon Sep 17 00:00:00 2001 +From 751d72116578b77c728b66bf570d6fb4eb5d53ff Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 055/134] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 055/139] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -106840,10 +106840,10 @@ index ddfcb2df3656cf0ab6aebd1fa3d624a6ec2e94e9..271563eb835f9018712e2076a88f341d /* Set LED brightness level * Must not sleep. Use brightness_set_blocking for drivers -From 0b17c12e7236b60e30e018143555727f9a7df6ce Mon Sep 17 00:00:00 2001 +From 43c78d90576cb16c0e0d9b219ca3b953c6d8f6de Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 056/134] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 056/139] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -107095,10 +107095,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From 487f0a441fb9eeeee60a1399d230932ea6df4d02 Mon Sep 17 00:00:00 2001 +From 39ac9870d42b1a6b311f3fce180bac893050b8ab Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 057/134] Speed up console framebuffer imageblit function +Subject: [PATCH 057/139] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing @@ -107307,10 +107307,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 9af61bbc5991a87afe3f23acd61370175be7a547 Mon Sep 17 00:00:00 2001 +From 0edd639f86a0c1d761d8ed77da544976984f0e48 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 058/134] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 058/139] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -107560,10 +107560,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From e7369f395cb114dc1cfeec7bd86d5f4f44a0643b Mon Sep 17 00:00:00 2001 +From 93562c1b53115f77cf09a13fbc7bf9e8fdfdee57 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 059/134] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 059/139] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -107613,10 +107613,10 @@ index 85bc9beb046d9a6deda2e3564f4d5bd01d6fc27b..4acdbef46a8f0556469b5580a39c18ce * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From 5c84dcc7d0dbb4d9312ab32e479e045bbcbb5c51 Mon Sep 17 00:00:00 2001 +From e3cc908913ebd5bae2b0cca4e1fe42a2ae53f50e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/134] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/139] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -107652,10 +107652,10 @@ index ae83af649a607f67239f1a64bf45dd4b5770cc7d..4a7af9d0b910f59d17421ce14138400d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From b78091665b47f7dc5863a41477473fea7b81787a Mon Sep 17 00:00:00 2001 +From 9f43e0a8a7790ad9199e20cb3b622394906409e9 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/134] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/139] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -108013,10 +108013,10 @@ index 227a107214a02deadcca3db202da265eba1fdd21..b0f6e33bd30c35664ceee057f4c3ad32 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 85dfcf883fdff5c5b4eeb66a7dbd33a0395c38a7 Mon Sep 17 00:00:00 2001 +From 00b6c19a03fc81668a4999b4e0b52d2f2da3cf96 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 062/134] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/139] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -109591,10 +109591,10 @@ index 333dc3c2e5ffbb2c5ab8fcfb6115b6162643cf20..46b787a6474ffa857da9b663948863ec bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From bf12332dcf5f772f8c1083e7fa6fb28480554f16 Mon Sep 17 00:00:00 2001 +From 386e8ec75004508ca5ef21df4e75e28021c08d22 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/134] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/139] gpio-poweroff: Allow it to work on Raspberry Pi The Raspberry Pi firmware manages the power-down and reboot process. To do this it installs a pm_power_off handler, causing @@ -109629,10 +109629,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From c82591f3312c3def3e69af82de7f1c6fc2c54ae7 Mon Sep 17 00:00:00 2001 +From 48626221a6826a0dd2ce19dada02bcdd197a1c12 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/134] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/139] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -110497,10 +110497,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From d60ac1c31de04fc471688a0bc79e88ff7a0bb3fd Mon Sep 17 00:00:00 2001 +From 8c3de85e40057b1d6ec5b8a6772e661cbebf2be7 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/134] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/139] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -110675,10 +110675,10 @@ index 0000000000000000000000000000000000000000..45f2b770ad9e67728ca599a7445d6ae9 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 9456d17f2ab7830f6ed4037df877183df58857e9 Mon Sep 17 00:00:00 2001 +From 0c4f4d2a354aa011cc5e808e745bc66b2e1019ff Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/134] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/139] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -110962,10 +110962,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 8da6c6c5f06b9a1660fece61cb55df901c618d1b Mon Sep 17 00:00:00 2001 +From 28e35948f0cbfed9abd11844910db3224ddda010 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/134] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/139] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -111014,10 +111014,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From 555bd49143501ec09a6a024fdb57ade0a65ffb2e Mon Sep 17 00:00:00 2001 +From 84663a7e31d002d12bb05a7c0c903216fcfd25b7 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/134] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/139] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -111361,10 +111361,10 @@ index 0000000000000000000000000000000000000000..19dc953b7227ba86123fc7a2ba654499 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From f4dbcd78afe76550ee599c2a52b5385d09ee683f Mon Sep 17 00:00:00 2001 +From 1b03571b887bdf83b1a49880003dd62625fb1f7c Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/134] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/139] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -111694,10 +111694,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 27661823dee6e27ad8b2ad6a0c3e4bbff53db9e9 Mon Sep 17 00:00:00 2001 +From f389a4b14734480574032f51168308ace40c529d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 070/134] iqaudio-dac: Compile fix - untested +Subject: [PATCH 070/139] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -111721,10 +111721,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From f763a1f6d8b050e520a7bd084cb7d93b9ed95f0b Mon Sep 17 00:00:00 2001 +From ef2c5b5a21239094c6997e10f19a68f970e8af22 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 071/134] Added support for HiFiBerry DAC+ +Subject: [PATCH 071/139] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -112354,10 +112354,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 9bfd40bfebc7f8c931ce94e6c8529090637cac72 Mon Sep 17 00:00:00 2001 +From 5e384d11d9656df7e9877ce331130a83e8ccb5a3 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 072/134] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 072/139] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -113190,10 +113190,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 00258f23300246f2f0a113667a513c27b872206c Mon Sep 17 00:00:00 2001 +From 5e621985175981470e86bd427516a8782f6008a6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 Dec 2016 16:26:54 +0000 -Subject: [PATCH 073/134] Revert "Added driver for HiFiBerry Amp amplifier +Subject: [PATCH 073/139] Revert "Added driver for HiFiBerry Amp amplifier add-on board" This reverts commit 3e6b00833d92a50cbcc9922deb6e1bc8fcdbb587. @@ -114015,10 +114015,10 @@ index 8f019e04898754d2f87e9630137be9e8f612a342..00000000000000000000000000000000 - -#endif /* _TAS5713_H */ -From 32f7d31044a4a6050ac6dfbbc3e44312651388f8 Mon Sep 17 00:00:00 2001 +From 05d51ab311a4af15bc07f97f7ddc9c103482b3cd Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 074/134] Update ds1307 driver for device-tree support +Subject: [PATCH 074/139] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -114045,10 +114045,10 @@ index 4e31036ee2596dec93accd26f627c5b95591ae9f..b92044cf03e750afa521a93519500e9d .driver = { .name = "rtc-ds1307", -From 9790003d198ff95f265910662055bb48f819f80a Mon Sep 17 00:00:00 2001 +From 1f0d9f787beb8351e2c39fb8ae789a6d7a1cd539 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 075/134] Add driver for rpi-proto +Subject: [PATCH 075/139] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -114263,10 +114263,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 078e38c1fa3dbfc9fae94abc314370ba0cdfa129 Mon Sep 17 00:00:00 2001 +From 3ecc8e028f7c64fa64c2f7b85de63aa0e920914b Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 076/134] RaspiDAC3 support +Subject: [PATCH 076/139] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -114509,10 +114509,10 @@ index 0000000000000000000000000000000000000000..dd9eeea2af0382307f437e6db09d1546 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 9630c3538c2ecab1712371f857793ceaecf5fc4e Mon Sep 17 00:00:00 2001 +From c6896319efdeef4e158c84fa77b0c533795d754c Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 077/134] Add Support for JustBoom Audio boards +Subject: [PATCH 077/139] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -114966,10 +114966,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 7bc52f6f23d91652cf3be186cde394999ea7c0e7 Mon Sep 17 00:00:00 2001 +From c5865a7bf88ea9b6c34210b17272312f7c90b5e6 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 078/134] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 078/139] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -115151,10 +115151,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 05ef13ba617946617da4d14dafe6c722c496f67b Mon Sep 17 00:00:00 2001 +From 2ed7e5179dc82b173ba4d8a6c33ad38e91606c98 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 079/134] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 079/139] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. @@ -115405,10 +115405,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From ca6b3e1174ff4d34e1b40c5341f2a3b99f7c1b80 Mon Sep 17 00:00:00 2001 +From 7b3f658737549988cc4a9592a44de0228ceb9a81 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 080/134] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 080/139] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -115708,10 +115708,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From b45233e789a89801e6e664f80b643e1ddbc6f652 Mon Sep 17 00:00:00 2001 +From 3c19d98018e7dba2d499226ce2ff4d466ff019da Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 081/134] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 081/139] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -116184,10 +116184,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From d72e5862e720069cf365bf867810a5b017247b02 Mon Sep 17 00:00:00 2001 +From 7754471b3eb6fa4e48360b49d01b86fc71a3b539 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 082/134] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 082/139] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -116360,10 +116360,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 5ff9b9d2b4ee6b30d9286e9cd642da560e12e8e9 Mon Sep 17 00:00:00 2001 +From 00707f8af0f909bd1e73a66b227587c108e9950d Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 083/134] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 083/139] Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645) Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, @@ -116570,10 +116570,10 @@ index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 27e41c4c1332f7fe9a00d7feee0c251192a613cb Mon Sep 17 00:00:00 2001 +From 0dea69effd9cfbb945f86d715a94b7ab2a876094 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 084/134] Support for Blokas Labs pisound board +Subject: [PATCH 084/139] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -117750,10 +117750,10 @@ index 0000000000000000000000000000000000000000..4b8545487d06e4ea70073a5d063fb231 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 1d54e193ad2aae6a07b1eeb2173eb7ba9f9a81a1 Mon Sep 17 00:00:00 2001 +From 627793624e12b70fa82f1c5ba0d43abc9c02de30 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 085/134] rpi_display: add backlight driver and overlay +Subject: [PATCH 085/139] rpi_display: add backlight driver and overlay Add a mailbox-driven backlight controller for the Raspberry Pi DSI touchscreen display. Requires updated GPU firmware to recognise the @@ -117922,10 +117922,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 027fad2a8d84dab710330454f4189808be4d4e15 Mon Sep 17 00:00:00 2001 +From 3e73b5398a672f71124cd49e5f49887f4561dc74 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 086/134] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 086/139] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -118199,10 +118199,10 @@ index b0f6e33bd30c35664ceee057f4c3ad32b914291d..e92278968b2b979db2a1f855f70e7aaf RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 85b71a113a002fe21e304cfc990e3c7a245b5b5d Mon Sep 17 00:00:00 2001 +From 2195a08dc3e8e28fc6fcad8d57aa73d82d461efe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 087/134] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 087/139] amba_pl011: Don't use DT aliases for numbering The pl011 driver looks for DT aliases of the form "serial", and if found uses as the device ID. This can cause @@ -118231,10 +118231,10 @@ index e2c33b9528d82ed7a2c27d083d7b1d222da68178..5a11ff833e1fd112ba04df3a427cd94b uap->old_cr = 0; uap->port.dev = dev; -From c451a4e7d19b11af1d774afced027c19694c8c38 Mon Sep 17 00:00:00 2001 +From 21defd9b3d89f388321638da4dc7a80f43e3ab33 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 088/134] OF: DT-Overlay configfs interface +Subject: [PATCH 088/139] OF: DT-Overlay configfs interface This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes. @@ -118666,10 +118666,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From fb5221ea9b5358df7d30ed456838f9cfcfd67d14 Mon Sep 17 00:00:00 2001 +From 20849553459552989d8cc985298c99ba6f0adaad Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 089/134] brcm: adds support for BCM43341 wifi +Subject: [PATCH 089/139] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -118832,10 +118832,10 @@ index d0407d9ad7827cd756b6311410ffe2d9a7cacc78..f1fb8a3c7a3211e8429585861f2f42e0 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From a36535202b621dd59dba7952eeebcf7f2d81fb6f Mon Sep 17 00:00:00 2001 +From 70a7564fc0027a683a3539110e5a6754dac33b6a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 090/134] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 090/139] hci_h5: Don't send conf_req when ACTIVE Without this patch, a modem and kernel can continuously bombard each other with conf_req and conf_rsp messages, in a demented game of tag. @@ -118858,10 +118858,10 @@ index 0879d64b1caf58afb6e5d494c07d9ab7e7cdf983..5161ab30fd533d50f516bb93d5b9f402 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 2434e00537fdbd80459f25cdf125af27a8ab630e Mon Sep 17 00:00:00 2001 +From 9d5271f68b5c9a1a169536fb80aaec80d44be9fb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 091/134] config: Add default configs +Subject: [PATCH 091/139] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1297 +++++++++++++++++++++++++++++++++++ @@ -121488,10 +121488,10 @@ index 0000000000000000000000000000000000000000..8acee9f31202ec14f2933d92dd70831c +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From db14de80eae5f075013177aa631380afcb05f086 Mon Sep 17 00:00:00 2001 +From e04d08b7f6ef287f06762af05f3508b5282cc890 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 092/134] Add arm64 configuration and device tree differences. +Subject: [PATCH 092/139] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -122906,10 +122906,10 @@ index 0000000000000000000000000000000000000000..d7406f5a4620151044b8f716b4d10bb8 +CONFIG_LIBCRC32C=y +CONFIG_BCM2708_VCHIQ=n -From b98806a2d5c897f6359fc42a09a653b0fc029cbe Mon Sep 17 00:00:00 2001 +From ef77c16713667c445b5550c388cf1dca491639f0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 15:05:11 +0000 -Subject: [PATCH 093/134] vchiq_arm: Tweak the logging output +Subject: [PATCH 093/139] vchiq_arm: Tweak the logging output Signed-off-by: Phil Elwell --- @@ -122984,10 +122984,10 @@ index 2c98da4307dff994a00dc246574ef0aaee05d5da..160db24aeea33a8296923501009c1f02 switch (type) { -From 6b28a7f4581ccaa1baeb8af5dac2f4ed9b06ad63 Mon Sep 17 00:00:00 2001 +From 0f95c67791ea96a735a9a93b4c347c6ebfb7a9c3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 14:16:25 +0000 -Subject: [PATCH 094/134] vchiq_arm: Access the dequeue_pending flag locked +Subject: [PATCH 094/139] vchiq_arm: Access the dequeue_pending flag locked Reading through this code looking for another problem (now found in userland) the use of dequeue_pending outside a lock didn't seem safe. @@ -123045,10 +123045,10 @@ index 7b6cd4d80621e38ff6d47fcd87b45fbe9cd4259b..d8669fa7f39b077877eca1829ba9538b return add_completion(instance, reason, header, user_service, -From 3ce7ae49d9c71e54075603e74eb9887679b272e6 Mon Sep 17 00:00:00 2001 +From e607cd62de503c30cd471ddf601f2fe44e82e61b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 20:53:47 +0000 -Subject: [PATCH 095/134] vchiq_arm: Service callbacks must not fail +Subject: [PATCH 095/139] vchiq_arm: Service callbacks must not fail Service callbacks are not allowed to return an error. The internal callback that delivers events and messages to user tasks does not enqueue them if @@ -123074,10 +123074,10 @@ index d8669fa7f39b077877eca1829ba9538bf2e21a82..54552c6ce54f413c9781ba279b936f98 DEBUG_TRACE(SERVICE_CALLBACK_LINE); } -From e09aed13cde0b013c3dc829cc11dd4755009dbf2 Mon Sep 17 00:00:00 2001 +From 2bbf9b6bc1589f85fa7defddeda75767620fe8be Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 21 Apr 2016 13:49:32 +0100 -Subject: [PATCH 096/134] vchiq_arm: Add completion records under the mutex +Subject: [PATCH 096/139] vchiq_arm: Add completion records under the mutex An issue was observed when flushing openmax components which generate a large number of messages returning @@ -123140,10 +123140,10 @@ index 54552c6ce54f413c9781ba279b936f98be4f47b0..bde8955b7d8505d73579b77b5b392154 return VCHIQ_SUCCESS; -From 2ad59fc567a571ac3406567be2449dbe5a08ce68 Mon Sep 17 00:00:00 2001 +From 8ec8b734304b94bf6fe137ce11dbb5cc5699857f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jun 2016 13:51:44 +0100 -Subject: [PATCH 097/134] vchiq_arm: Avoid use of mutex in add_completion +Subject: [PATCH 097/139] vchiq_arm: Avoid use of mutex in add_completion Claiming the completion_mutex within add_completion did prevent some messages appearing twice, but provokes a deadlock caused by vcsm using @@ -123337,10 +123337,10 @@ index 160db24aeea33a8296923501009c1f02bc41e599..71a3bedc55314f3b22dbff40c05dedf0 up(&state->slot_available_event); } -From cc0bc6274e3d44b05436f48cdba31862ba4937df Mon Sep 17 00:00:00 2001 +From 33ed8507e5087e15a7d47eba88ea2d8ba537b58e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:14:10 -0700 -Subject: [PATCH 098/134] staging/vchi: Convert to current get_user_pages() +Subject: [PATCH 098/139] staging/vchi: Convert to current get_user_pages() arguments. Signed-off-by: Eric Anholt @@ -123377,10 +123377,10 @@ index e5cdda12c7e5c35c69eb96991cfdb8326def167f..085d37588c59198b4e5f00b9249bb842 num_pages, /* len */ 0, /* gup_flags */ -From 87235234800aba20c64cbf97a052cba10c581caf Mon Sep 17 00:00:00 2001 +From 960a154027491572193142b91ea470147f5b78eb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:16:03 -0700 -Subject: [PATCH 099/134] staging/vchi: Update for rename of +Subject: [PATCH 099/139] staging/vchi: Update for rename of page_cache_release() to put_page(). Signed-off-by: Eric Anholt @@ -123425,10 +123425,10 @@ index 085d37588c59198b4e5f00b9249bb8421695854f..5a2b8fb459ebe086ec229f37b6381bdb kfree(pages); } -From 372bbb7c542d1d989a53d1e70af22fc7a0884c25 Mon Sep 17 00:00:00 2001 +From d823ec3413a5c898c063a5eaccf15cd33b85384b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:21:17 -0700 -Subject: [PATCH 100/134] drivers/vchi: Remove dependency on CONFIG_BROKEN. +Subject: [PATCH 100/139] drivers/vchi: Remove dependency on CONFIG_BROKEN. The driver builds now. @@ -123450,10 +123450,10 @@ index 9676fb29075a457109e4d4235f086987aec74868..db8e1beb89f9f8c48ea5964016c8285e help Kernel to VideoCore communication interface for the -From 80a1ca08334ad74cb0e870af84a972f60605d6d9 Mon Sep 17 00:00:00 2001 +From 61faced7aea265c5f8c7c97bebad43870487391a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 101/134] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 101/139] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -123497,10 +123497,10 @@ index e92278968b2b979db2a1f855f70e7aafb224fa98..09e3d871d110eb0762ebdb5ea3293537 #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From bfbef1101a1deb54de817f532523baed5673c0ce Mon Sep 17 00:00:00 2001 +From 57f7ed87633050a3d85e034e7b7cb8e98a39221b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 102/134] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 102/139] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -123522,10 +123522,10 @@ index 09e3d871d110eb0762ebdb5ea329353738d58661..2859db09e25bb945251e85edb39bc434 enum rpi_firmware_property_status { -From db668e4bc2c656ec7faca7d50909dd2bdfdd6551 Mon Sep 17 00:00:00 2001 +From e9b66b168babeea1653429f662bc46af84726280 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 103/134] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 103/139] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -124292,10 +124292,10 @@ index 0000000000000000000000000000000000000000..d18a1dae51a2275846c9826b5bf1ba57 + }, +}; -From 6ccc0e1a0a5c11130284f6540ec6c8b3eec63a6d Mon Sep 17 00:00:00 2001 +From c7de77a3b61cd7c25ff21718accb59c450fee7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 17 Sep 2016 15:07:10 +0200 -Subject: [PATCH 104/134] i2c: bcm2835: Fix hang for writing messages larger +Subject: [PATCH 104/139] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124385,10 +124385,10 @@ index d4f3239b56865919e1b781b20a7c5ebcd76b4eb9..f283b714aa79e2e4685ed95b04b6b289 i2c_dev->msg_buf_remaining = msg->len; reinit_completion(&i2c_dev->completion); -From d7c7424d35bd005366082b27b2c15c79c4299e9a Mon Sep 17 00:00:00 2001 +From 941e536573397dad8f185229ce551086147e4034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 18:24:38 +0200 -Subject: [PATCH 105/134] i2c: bcm2835: Protect against unexpected TXW/RXR +Subject: [PATCH 105/139] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124513,10 +124513,10 @@ index f283b714aa79e2e4685ed95b04b6b289f7e9eee7..d2ba1a4de36af512e8e3c97251bd3537 return -ETIMEDOUT; } -From d401a1ea7579cee049184fa8e5af53b565bb1862 Mon Sep 17 00:00:00 2001 +From 80dabefa408508ca2b10b346381468eb25dce381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 19 Sep 2016 17:19:41 +0200 -Subject: [PATCH 106/134] i2c: bcm2835: Use dev_dbg logging on transfer errors +Subject: [PATCH 106/139] i2c: bcm2835: Use dev_dbg logging on transfer errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124548,10 +124548,10 @@ index d2ba1a4de36af512e8e3c97251bd3537ae61591a..54d510abd46a117c9238fc6d7edec840 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 127cea87fd8e91355a306988f3f1e3167a9a41fd Mon Sep 17 00:00:00 2001 +From 1618e4b4cad41f57aaecb6ac9933ec064d6cd6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 22 Sep 2016 22:05:50 +0200 -Subject: [PATCH 107/134] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK +Subject: [PATCH 107/139] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124595,10 +124595,10 @@ index 54d510abd46a117c9238fc6d7edec84019d1f60d..565ef69ce61423544dc0558c85ef318b if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) -From ac0ba169b00fe2d3595bbbac9dadfdeb85525b39 Mon Sep 17 00:00:00 2001 +From 0c3bd05e48d35df85fffbccba070ab8f1e7a7169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 04:54:27 +0200 -Subject: [PATCH 108/134] i2c: bcm2835: Add support for Repeated Start +Subject: [PATCH 108/139] i2c: bcm2835: Add support for Repeated Start Condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124780,10 +124780,10 @@ index 565ef69ce61423544dc0558c85ef318b0ae9c324..241e08ae7c27cec23fad3c1bf3ebad3a static u32 bcm2835_i2c_func(struct i2c_adapter *adap) -From 1a43f0205896bf4e23c4f91a059b9ba0be8ca329 Mon Sep 17 00:00:00 2001 +From 2808e1610e59d749957295cb78fbed011d8ee295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 04:57:17 +0200 -Subject: [PATCH 109/134] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT +Subject: [PATCH 109/139] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124820,10 +124820,10 @@ index 241e08ae7c27cec23fad3c1bf3ebad3a4d2a8e6f..d2085dd3742eabebc537621968088261 bcm2835_i2c_writel(i2c_dev, BCM2835_I2C_C, BCM2835_I2C_C_CLEAR); -From 747792a41ddc79e739a7218eaef3834d6459146c Mon Sep 17 00:00:00 2001 +From a8c408645977ebe2b4d7a0bd51a14edde0ab5750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 27 Sep 2016 01:00:08 +0200 -Subject: [PATCH 110/134] i2c: bcm2835: Add support for dynamic clock +Subject: [PATCH 110/139] i2c: bcm2835: Add support for dynamic clock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124939,10 +124939,10 @@ index d2085dd3742eabebc537621968088261f8dc7ea8..c3436f627028477f7e21b47e079fd5ab irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); if (!irq) { -From fe3e36bc94c365e08a6d7058820127adfd6d3e50 Mon Sep 17 00:00:00 2001 +From fef62f9d68bb934e05f2b9e219d02c77dd3526e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:15:41 +0100 -Subject: [PATCH 111/134] i2c: bcm2835: Add debug support +Subject: [PATCH 111/139] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -125131,10 +125131,10 @@ index c3436f627028477f7e21b47e079fd5ab06ec188a..8642f580ce41803bd22c76a0fa80d083 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From a3be80e26d1b9ead054c36430dd228675296d5b1 Mon Sep 17 00:00:00 2001 +From a798a1ab516c19e7f02827001ed82a40b493d328 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 31 Dec 2016 14:15:50 +0000 -Subject: [PATCH 112/134] arm64: Add CONFIG_ARCH_BCM2835 +Subject: [PATCH 112/139] arm64: Add CONFIG_ARCH_BCM2835 --- arch/arm64/configs/bcmrpi3_defconfig | 1 + @@ -125150,10 +125150,10 @@ index d7406f5a4620151044b8f716b4d10bb818648e06..53da5c7a33e5898a66e549fb0c39fe3d CONFIG_BCM2708_VCHIQ=n +CONFIG_ARCH_BCM2835=y -From 58abfccb254ac30d1901197cb6dba4f3305b42a7 Mon Sep 17 00:00:00 2001 +From 077b0728cbdd7fdf11b7818f2775d80fcfe72fce Mon Sep 17 00:00:00 2001 From: Alex Tucker Date: Tue, 13 Dec 2016 19:50:18 +0000 -Subject: [PATCH 113/134] Add support for Silicon Labs Si7013/20/21 +Subject: [PATCH 113/139] Add support for Silicon Labs Si7013/20/21 humidity/temperature sensor. --- @@ -125228,10 +125228,10 @@ index f6d134c095af2398fc55ae7d2b0e86456c30627c..31bda8da4cb6a56bfe493a81b9189009 }; }; -From 5ad2b5fd905aa4e457b8b7e078f08f31bad550a8 Mon Sep 17 00:00:00 2001 +From 3d970e2d6c45cd3cf3f25435b0bec4cd0775c141 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Jan 2017 21:27:46 +0000 -Subject: [PATCH 114/134] Document the si7020 option +Subject: [PATCH 114/139] Document the si7020 option --- arch/arm/boot/dts/overlays/README | 3 +++ @@ -125252,10 +125252,10 @@ index 81d991803be335e5a1bc3bb0a8c7a2c9f5c392bd..e8fa4ccb44c34a20485c4e6155467af9 Name: i2c0-bcm2708 Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations -From a9b02eaf2fa1c8202e05e4ac531fa66d3b3adec0 Mon Sep 17 00:00:00 2001 +From a4c802e176d7068e4e2a54e13dd618106b907951 Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Thu, 5 Jan 2017 02:38:16 +0200 -Subject: [PATCH 115/134] pisound improvements: +Subject: [PATCH 115/139] pisound improvements: * Added a writable sysfs object to enable scripts / user space software to blink MIDI activity LEDs for variable duration. @@ -125549,10 +125549,10 @@ index 4b8545487d06e4ea70073a5d063fb2310b3b94d0..ba70734b89e61a11201657406223f0b3 }; -From 726c7bc616aaa7d8938b9820fdb7dd20459da57e Mon Sep 17 00:00:00 2001 +From 8772981b127180376c08ad97f60c53e051f15ee4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jan 2017 09:23:06 +0000 -Subject: [PATCH 116/134] Revert "Revert "Added driver for HiFiBerry Amp +Subject: [PATCH 116/139] Revert "Revert "Added driver for HiFiBerry Amp amplifier add-on board"" This reverts commit bf84babd8fffcb79c60f1342c2416f8e1e4b7af9. @@ -126376,10 +126376,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From de150aa680aed90b667292e20c05d13744b942f6 Mon Sep 17 00:00:00 2001 +From 1305f68f9d7ce514916dc714db51271d53f2d953 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jan 2017 09:42:09 +0000 -Subject: [PATCH 117/134] hifiberry-amp: Adjust for ALSA object refactoring +Subject: [PATCH 117/139] hifiberry-amp: Adjust for ALSA object refactoring See: https://github.com/raspberrypi/linux/issues/1775 --- @@ -126404,10 +126404,10 @@ index 9b2713861dcbed751842ca29c88eb1eae5867411..560234d58a6b0a6e7fd3a63e8de73339 -From e206c438c1cd35fc4b23ff002bd9352ea3c57764 Mon Sep 17 00:00:00 2001 +From 0750f5306b7f5354cbae714ade4299c7384f5976 Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Sun, 8 Jan 2017 15:58:54 +0200 -Subject: [PATCH 118/134] bcm2835-i2s: Changes for allowing asymmetric sample +Subject: [PATCH 118/139] bcm2835-i2s: Changes for allowing asymmetric sample formats. This is achieved by making changes only to the requested @@ -126497,10 +126497,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..171c2401dfe192740fca3356268aff64 mode |= BCM2835_I2S_FLEN(bclk_ratio - 1); -From 2209bb85f9812e1af3bf52b95c7ad0bef6ff0e32 Mon Sep 17 00:00:00 2001 +From 23f372d8a0d0b4266666eba1713f4c5496058a1a Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Tue, 10 Jan 2017 16:05:41 +0000 -Subject: [PATCH 119/134] Add driver_name property +Subject: [PATCH 119/139] Add driver_name property Add driver name property for use with 5.1 passthrough audio in LibreElec and other Kodi based OSs --- @@ -126520,10 +126520,10 @@ index 8fd50dbe681508a2cfe8fdde1c9fedbe9a507fa7..05a224ec712d06b8b7587ab6b8bb562d .dai_link = snd_rpi_justboom_dac_dai, .num_links = ARRAY_SIZE(snd_rpi_justboom_dac_dai), -From d1113e6c53f6bf1cf9532098833c6750870d0b39 Mon Sep 17 00:00:00 2001 +From 65d9e9253f3bc64368fa976a9576183934539c81 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Tue, 10 Jan 2017 16:11:04 +0000 -Subject: [PATCH 120/134] Add driver_name paramater +Subject: [PATCH 120/139] Add driver_name paramater Add driver_name parameter for use with 5.1 passthrough audio in LibreElec and other Kodi OSs --- @@ -126543,10 +126543,10 @@ index 91acb666380faa3c0deb2230f8a0f8bbec59417b..abfdc5c4dd5811e6847bddda4921abe3 .dai_link = snd_rpi_justboom_digi_dai, .num_links = ARRAY_SIZE(snd_rpi_justboom_digi_dai), -From b270220966e4026c75c2fe31fe3718d595b0f79c Mon Sep 17 00:00:00 2001 +From 8861f1451d4532760b01fdedf18306edc4397a9b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 Jan 2017 13:01:21 +0000 -Subject: [PATCH 121/134] BCM270X_DT: Add pi3-disable-wifi overlay +Subject: [PATCH 121/139] BCM270X_DT: Add pi3-disable-wifi overlay pi3-disable-wifi is a minimal overlay to disable the onboard WiFi. @@ -126607,10 +126607,10 @@ index 0000000000000000000000000000000000000000..017199554bf2f4e381efcc7bb71e750c + }; +}; -From eb0c981d20c157237081ee38139eb882c07e1b8d Mon Sep 17 00:00:00 2001 +From f1d7c34483947523bd055a8e69ca220bbbeefa95 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 122/134] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 122/139] ARM64: Make it work again on 4.9 (#1790) * Invoke the dtc compiler with the same options used in arm mode. * ARM64 now uses the bcm2835 platform just like ARM32. @@ -127015,10 +127015,10 @@ index 53da5c7a33e5898a66e549fb0c39fe3da555ca87..c7e891d72969a388d9b135a36dbfc9c9 -CONFIG_BCM2708_VCHIQ=n -CONFIG_ARCH_BCM2835=y -From 72e3ae4c1ceca2b4d4936e073c7e27a6e71e8422 Mon Sep 17 00:00:00 2001 +From 213c141365e1bc09ad95ebb92461cabeb4421e1f Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 123/134] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 123/139] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -127050,10 +127050,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..974d8889c0cf695eb88b57bbef11bc5a CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From b0ebc73b4730d969fd93f98e11fd2c714e0c70eb Mon Sep 17 00:00:00 2001 +From a23e36748b488b77cb92d28aa2642e1b350e6c40 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 124/134] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 124/139] ARM64: Enable RTL8187/RTL8192CU wifi in build config These drivers build now, so they can be enabled back in the build configuration just like they are for @@ -127078,10 +127078,10 @@ index 974d8889c0cf695eb88b57bbef11bc5aa556b635..4670a490dfb1e582ec24a3b39a3cb9b2 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From 5cfb07ee56c8feeeeb1c4183ba7b4935b1fc52f9 Mon Sep 17 00:00:00 2001 +From a8a16dca4352540a2a26cba7afc6d6368ac8c976 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 16 Jan 2017 14:53:12 +0000 -Subject: [PATCH 125/134] BCM270X_DT: Add spi0-cs overlay +Subject: [PATCH 125/139] BCM270X_DT: Add spi0-cs overlay The spi0-cs overlay allows the software chip selectts to be modified using the cs0_pin and cs1_pin parameters. @@ -127169,10 +127169,10 @@ index 0000000000000000000000000000000000000000..7f79029d043c04d7496c7c3480450c69 + }; +}; -From 9881b0b74df863a5a7137501cdd2be5b5ef0ea95 Mon Sep 17 00:00:00 2001 +From cebce60296ccea936da1bb65b375d34a47f9a7a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 126/134] spi-bcm2835: Disable forced software CS +Subject: [PATCH 126/139] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -127186,7 +127186,7 @@ Signed-off-by: Phil Elwell 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi -index 46d46d894a441d69dcf784fb2cf54d4d72038aa0..8c495461f9b850cc985d074d275446741a7367c1 100644 +index 74dd21b7373c7564ede01d84a4f63b93a6d52fa7..51cdefbf5eb265f49bd05e0aa91dfbeee3fbfdcc 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -163,6 +163,7 @@ @@ -127198,10 +127198,10 @@ index 46d46d894a441d69dcf784fb2cf54d4d72038aa0..8c495461f9b850cc985d074d27544674 i2c0: i2c@7e205000 { -From f15f5d9aae4f58c8a5e34dda0a0fd39e8bdc7038 Mon Sep 17 00:00:00 2001 +From 69d606cb7dfc53bcf40db15d33907cff2e116377 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 16 Jan 2017 16:33:54 +0000 -Subject: [PATCH 127/134] config: Add CONFIG_TCP_CONG_BBR See: +Subject: [PATCH 127/139] config: Add CONFIG_TCP_CONG_BBR See: https://github.com/raspberrypi/linux/issues/1784 --- @@ -127236,10 +127236,10 @@ index 8acee9f31202ec14f2933d92dd70831cda8d7b51..219f67051a2542329449b0099165ae28 CONFIG_IPV6_ROUTER_PREF=y CONFIG_INET6_AH=m -From 85b18a877b438173510fd3321c352ec4798af369 Mon Sep 17 00:00:00 2001 +From 029f0e68448aa9b9300572798dace30b33d6a85c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 16 Jan 2017 21:02:26 +0000 -Subject: [PATCH 128/134] Revert "bcm2835-i2s: Changes for allowing asymmetric +Subject: [PATCH 128/139] Revert "bcm2835-i2s: Changes for allowing asymmetric sample formats." This reverts commit f5a6236a32e82068122301d246a94ca755d61704. @@ -127329,10 +127329,10 @@ index 171c2401dfe192740fca3356268aff6432f284ea..6ba20498202ed36906b52096893a8886 mode |= BCM2835_I2S_FLEN(bclk_ratio - 1); -From c67772d046e0be6cdd03f1988e96061ef094dc38 Mon Sep 17 00:00:00 2001 +From a3aab7c7a31e0f19658fd8d8e7f46d1824bfe506 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Jan 2017 11:34:58 +0000 -Subject: [PATCH 129/134] BCM270X_DT: Enable UART0 on CM3 +Subject: [PATCH 129/139] BCM270X_DT: Enable UART0 on CM3 Signed-off-by: Phil Elwell --- @@ -127355,10 +127355,10 @@ index 41874c25a84226c0e4af92ec4059e0a571fe6123..3ba6e621856c288ae4694f758604619f sdhost_pins: sdhost_pins { brcm,pins = <48 49 50 51 52 53>; -From 987ddddbd9e217139271b694a63e5ffa6b701e3b Mon Sep 17 00:00:00 2001 +From 63b95220a23a4b780cdc016ef11a656e06936edb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Jan 2017 14:39:39 +0000 -Subject: [PATCH 130/134] config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR +Subject: [PATCH 130/139] config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR See: https://github.com/raspberrypi/linux/issues/1781 @@ -127397,10 +127397,10 @@ index 219f67051a2542329449b0099165ae2885022bec..c4898d63d74718097ec3a1d1fe60b230 CONFIG_OF_CONFIGFS=y CONFIG_ZRAM=m -From 85507b8e0b3e2af94990295bb57245d3a03b9ab2 Mon Sep 17 00:00:00 2001 +From 3fc9aaeb72fe6ff39b5777f5d542c75309eb1f6e Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 131/134] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 131/139] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 In ARM64, the FIQ mechanism used by this driver is not current implemented. As a workaround, reqular IRQ is used instead @@ -127743,10 +127743,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From c0ca30febe35347688b89c2f430c1a43d233a9ac Mon Sep 17 00:00:00 2001 +From 4661054b08d26185d9478a047b7adbdcaad41c15 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 132/134] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 132/139] ARM64: Round-Robin dispatch IRQs between CPUs. IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced @@ -127820,10 +127820,10 @@ index 93e3f7660c4230c9f1dd3b195958cb498949b0ca..486bcbfb32305ee417f6b3be7e91a3ff .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From 667471d1b58e6e1de17ed10c34d3fbcc305e8454 Mon Sep 17 00:00:00 2001 +From 19fce0d36b798ccb0dbb2d88333016288b7ef057 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 133/134] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 133/139] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -127844,10 +127844,10 @@ index 4670a490dfb1e582ec24a3b39a3cb9b2488b1864..8c4392344eb4495689c220d5d176ee8c CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From fb934b0cc84d66fef97adf16c2f74b099e3e3e50 Mon Sep 17 00:00:00 2001 +From d4826d1d4392d61641fd32ddf94c11e1783275a3 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:46:04 -0800 -Subject: [PATCH 134/134] ARM64: Use dwc_otg driver by default for USB. +Subject: [PATCH 134/139] ARM64: Use dwc_otg driver by default for USB. If it breaks on anybody, they can use the standard device tree overlays to switch back to the dwc2 driver. @@ -127872,3 +127872,517 @@ index f6def5d7e5d622cf09e8f87332c7374fe28da08b..3e134a1208610b90e2d0fc22f03c6e9f - interrupts = <1 9>; -}; -#endif + +From a8b968f7966dfbf0f3133ea5aeaa9050346a8c9c Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 23 Jan 2017 17:36:50 +0000 +Subject: [PATCH 135/139] BCM270X_DT: Add reference to audio_pins to CM dtb + +The CM1 dtb contains an empty audio_pins node, but no reference to it. +Adding the usual pinctrl reference from the audio node enables the +audremap overlay (and others) to easily turn on audio. + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/bcm2708-rpi-cm.dts | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/arch/arm/boot/dts/bcm2708-rpi-cm.dts b/arch/arm/boot/dts/bcm2708-rpi-cm.dts +index eb8662f0d222b4c0a9a2bcb8bccb13e86a0006b3..10be69972bd1440f574e35d515f3d6a0505fd869 100644 +--- a/arch/arm/boot/dts/bcm2708-rpi-cm.dts ++++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dts +@@ -85,6 +85,11 @@ + pinctrl-0 = <&i2s_pins>; + }; + ++&audio { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ + &hdmi { + hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; + }; + +From 79679ab90389ab1f6a322adea03406ad98593925 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Wed, 25 Jan 2017 11:30:38 +0000 +Subject: [PATCH 136/139] config: Add additional network scheduling modules + +--- + arch/arm/configs/bcm2709_defconfig | 4 ++++ + arch/arm/configs/bcmrpi_defconfig | 4 ++++ + 2 files changed, 8 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index d5d699e175025e5d928fcac04d22d1508e0b5fde..a02d5ebf170be870acb715cc30611bc57e7fd39b 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -296,6 +296,7 @@ CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m + CONFIG_NET_SCH_HFSC=m ++CONFIG_NET_SCH_ATM=m + CONFIG_NET_SCH_PRIO=m + CONFIG_NET_SCH_MULTIQ=m + CONFIG_NET_SCH_RED=m +@@ -312,6 +313,9 @@ CONFIG_NET_SCH_CHOKE=m + CONFIG_NET_SCH_QFQ=m + CONFIG_NET_SCH_CODEL=m + CONFIG_NET_SCH_FQ_CODEL=m ++CONFIG_NET_SCH_FQ=m ++CONFIG_NET_SCH_HHF=m ++CONFIG_NET_SCH_PIE=m + CONFIG_NET_SCH_INGRESS=m + CONFIG_NET_SCH_PLUG=m + CONFIG_NET_CLS_BASIC=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index c4898d63d74718097ec3a1d1fe60b2307a6a3140..b448eaa866c200f48351819072c7fefcd8ad8132 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -292,6 +292,7 @@ CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m + CONFIG_NET_SCH_HFSC=m ++CONFIG_NET_SCH_ATM=m + CONFIG_NET_SCH_PRIO=m + CONFIG_NET_SCH_MULTIQ=m + CONFIG_NET_SCH_RED=m +@@ -308,6 +309,9 @@ CONFIG_NET_SCH_CHOKE=m + CONFIG_NET_SCH_QFQ=m + CONFIG_NET_SCH_CODEL=m + CONFIG_NET_SCH_FQ_CODEL=m ++CONFIG_NET_SCH_FQ=m ++CONFIG_NET_SCH_HHF=m ++CONFIG_NET_SCH_PIE=m + CONFIG_NET_SCH_INGRESS=m + CONFIG_NET_SCH_PLUG=m + CONFIG_NET_CLS_BASIC=m + +From a0de1f189fb2a259b2c43b312c006284d08f26c6 Mon Sep 17 00:00:00 2001 +From: chris johnson +Date: Sun, 22 Jan 2017 03:27:31 +0000 +Subject: [PATCH 137/139] ASoC: A simple-card overlay for ADAU7002 + +Usage: `dtoverlay=adau7002-simple` +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 6 +++ + .../boot/dts/overlays/adau7002-simple-overlay.dts | 52 ++++++++++++++++++++++ + 3 files changed, 59 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 45fafd5c39bdc6e80b12e49d3bcd281638bec471..842098be7776ae9005528b87a13890341bb4097f 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -2,6 +2,7 @@ + + dtbo-$(CONFIG_ARCH_BCM2835) += \ + adau1977-adc.dtbo \ ++ adau7002-simple.dtbo \ + ads1015.dtbo \ + ads7846.dtbo \ + akkordion-iqdacplus.dtbo \ +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 4992a6203a5507144b6d405e03ed2bebaa11325f..2f542a810c3f200939f5996d62b118392ae0b14e 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -168,6 +168,12 @@ Load: dtoverlay=adau1977-adc + Params: + + ++Name: adau7002-simple ++Info: Overlay for the activation of ADAU7002 stereo PDM to I2S converter. ++Load: dtoverlay=adau7002-simple,= ++Params: card-name Override the default, "adau7002", card name. ++ ++ + Name: ads1015 + Info: Overlay for activation of Texas Instruments ADS1015 ADC over I2C + Load: dtoverlay=ads1015,= +diff --git a/arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts b/arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts +new file mode 100644 +index 0000000000000000000000000000000000000000..e67e6625d7967abc92cf00cb604d4c12fd76b377 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts +@@ -0,0 +1,52 @@ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target-path = "/"; ++ __overlay__ { ++ adau7002_codec: adau7002-codec { ++ #sound-dai-cells = <0>; ++ compatible = "adi,adau7002"; ++/* IOVDD-supply = <&supply>;*/ ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&sound>; ++ sound_overlay: __overlay__ { ++ compatible = "simple-audio-card"; ++ simple-audio-card,format = "i2s"; ++ simple-audio-card,name = "adau7002"; ++ simple-audio-card,bitclock-slave = <&dailink0_slave>; ++ simple-audio-card,frame-slave = <&dailink0_slave>; ++ simple-audio-card,widgets = ++ "Microphone", "Microphone Jack"; ++ simple-audio-card,routing = ++ "PDM_DAT", "Microphone Jack"; ++ status = "okay"; ++ simple-audio-card,cpu { ++ sound-dai = <&i2s>; ++ }; ++ dailink0_slave: simple-audio-card,codec { ++ sound-dai = <&adau7002_codec>; ++ }; ++ }; ++ }; ++ ++ ++ __overrides__ { ++ card-name = <&sound_overlay>,"simple-audio-card,name"; ++ }; ++}; + +From 7ff4705c04925daf6bd6069bfb1f6be3a9aeef02 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 25 Jan 2017 21:17:23 +0000 +Subject: [PATCH 138/139] config: Add SND_SOC_ADAU7002 codec module + +As there is now an overlay requiring it, build the codec module. + +Signed-off-by: Phil Elwell +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index a02d5ebf170be870acb715cc30611bc57e7fd39b..31163b59b9c6f2cc4f4f94afe1b10bd1a195470f 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -884,6 +884,7 @@ CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m + CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m + CONFIG_SND_PISOUND=m + CONFIG_SND_SOC_ADAU1701=m ++CONFIG_SND_SOC_ADAU7002=m + CONFIG_SND_SOC_AK4554=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 b448eaa866c200f48351819072c7fefcd8ad8132..5105a592c9bcfee1cc6a8b50fd1c6c32f1381158 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -878,6 +878,7 @@ CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m + CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m + CONFIG_SND_PISOUND=m + CONFIG_SND_SOC_ADAU1701=m ++CONFIG_SND_SOC_ADAU7002=m + CONFIG_SND_SOC_AK4554=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m + +From 705dd53e3dcd7630d59774ba7f7a980be45c7e9b Mon Sep 17 00:00:00 2001 +From: Scott Ellis +Date: Fri, 27 Jan 2017 06:42:42 -0500 +Subject: [PATCH 139/139] Add overlay for mcp3008 adc (#1818) + +Some example usage: + +SPI0.0 +dtparam=spi=on +dtoverlay=mcp3008:spi0-0-present + +SPI0.1 +dtparam=spi=on +dtoverlay=mcp3008:spi0-1-present + +SPI0.0 and SPI0.1 +dtparam=spi=on +dtoverlay=mcp3008:spi0-0-present,spi0-1-present + +SPI1.0 +dtparam=spi=on +dtoverlay=spi1-1cs +dtoverlay=mcp3008:spi1-0-present + +SPI1.2 +dtparam=spi=on +dtoverlay=spi1-1cs:cs0_pin=16 +dtoverlay=mcp3008:spi1-0-present + +SPI1.0 and SPI1.1 +dtoverlay=spi1-2cs +dtoverlay=mcp3008:spi1-0-present,spi1-1-present + +Changing the speed + +SPI0.0 +dtparam=spi=on +dtoverlay=mcp3008:spi0-0-present,spi0-0-speed=2000000 +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 9 ++ + arch/arm/boot/dts/overlays/mcp3008-overlay.dts | 205 +++++++++++++++++++++++++ + 3 files changed, 215 insertions(+) + create mode 100755 arch/arm/boot/dts/overlays/mcp3008-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 842098be7776ae9005528b87a13890341bb4097f..e915dff8a4cdf5af3df0aa519b3ee08dd970d831 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -47,6 +47,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ + mcp23s17.dtbo \ + mcp2515-can0.dtbo \ + mcp2515-can1.dtbo \ ++ mcp3008.dtbo \ + midi-uart0.dtbo \ + mmc.dtbo \ + mz61581.dtbo \ +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 2f542a810c3f200939f5996d62b118392ae0b14e..aa9b6128c397b33e9c40eec29476d8352933c237 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -742,6 +742,15 @@ Params: oscillator Clock frequency for the CAN controller (Hz) + interrupt GPIO for interrupt signal + + ++Name: mcp3008 ++Info: Configures MCP3008 A/D converters ++ For devices on spi1 or spi2, the interfaces should be enabled ++ with one of the spi1-1/2/3cs and/or spi2-1/2/3cs overlays. ++Load: dtoverlay=mcp3008,[=] ++Params: spi--present boolean, configure device at spi, cs ++ spi--speed integer, set the spi bus speed for this device ++ ++ + Name: midi-uart0 + Info: Configures UART0 (ttyAMA0) so that a requested 38.4kbaud actually gets + 31.25kbaud, the frequency required for MIDI +diff --git a/arch/arm/boot/dts/overlays/mcp3008-overlay.dts b/arch/arm/boot/dts/overlays/mcp3008-overlay.dts +new file mode 100755 +index 0000000000000000000000000000000000000000..06bf4264959c380d8a9f90f74e7803972d399b2a +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/mcp3008-overlay.dts +@@ -0,0 +1,205 @@ ++/* ++ * Device tree overlay for Microchip mcp3008 10-Bit A/D Converters ++ */ ++ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709"; ++ ++ fragment@0 { ++ target = <&spidev0>; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&spidev1>; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@2 { ++ target-path = "spi1/spidev@0"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@3 { ++ target-path = "spi1/spidev@1"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@4 { ++ target-path = "spi1/spidev@2"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@5 { ++ target-path = "spi2/spidev@0"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@6 { ++ target-path = "spi2/spidev@1"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@7 { ++ target-path = "spi2/spidev@2"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@8 { ++ target = <&spi0>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_00: mcp3008@0 { ++ compatible = "mcp3008"; ++ reg = <0>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@9 { ++ target = <&spi0>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_01: mcp3008@1 { ++ compatible = "mcp3008"; ++ reg = <1>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@10 { ++ target = <&spi1>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_10: mcp3008@0 { ++ compatible = "mcp3008"; ++ reg = <0>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@11 { ++ target = <&spi1>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_11: mcp3008@1 { ++ compatible = "mcp3008"; ++ reg = <1>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@12 { ++ target = <&spi1>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_12: mcp3008@2 { ++ compatible = "mcp3008"; ++ reg = <2>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@13 { ++ target = <&spi2>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_20: mcp3008@0 { ++ compatible = "mcp3008"; ++ reg = <0>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@14 { ++ target = <&spi2>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_21: mcp3008@1 { ++ compatible = "mcp3008"; ++ reg = <1>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@15 { ++ target = <&spi2>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_22: mcp3008@2 { ++ compatible = "mcp3008"; ++ reg = <2>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ __overrides__ { ++ spi0-0-present = <0>, "+0+8"; ++ spi0-1-present = <0>, "+1+9"; ++ spi1-0-present = <0>, "+2+10"; ++ spi1-1-present = <0>, "+3+11"; ++ spi1-2-present = <0>, "+4+12"; ++ spi2-0-present = <0>, "+5+13"; ++ spi2-1-present = <0>, "+6+14"; ++ spi2-2-present = <0>, "+7+15"; ++ spi0-0-speed = <&mcp3008_00>, "spi-max-frequency:0"; ++ spi0-1-speed = <&mcp3008_01>, "spi-max-frequency:0"; ++ spi1-0-speed = <&mcp3008_10>, "spi-max-frequency:0"; ++ spi1-1-speed = <&mcp3008_11>, "spi-max-frequency:0"; ++ spi1-2-speed = <&mcp3008_12>, "spi-max-frequency:0"; ++ spi2-0-speed = <&mcp3008_20>, "spi-max-frequency:0"; ++ spi2-1-speed = <&mcp3008_21>, "spi-max-frequency:0"; ++ spi2-2-speed = <&mcp3008_22>, "spi-max-frequency:0"; ++ }; ++}; diff --git a/projects/RPi2/linux/linux.arm.conf b/projects/RPi2/linux/linux.arm.conf index 62373a11df..5f6ec80dcd 100644 --- a/projects/RPi2/linux/linux.arm.conf +++ b/projects/RPi2/linux/linux.arm.conf @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.9.1 Kernel Configuration +# Linux/arm 4.9.6 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -2869,7 +2869,7 @@ CONFIG_SND_SOC_I2C_AND_SPI=m # CONFIG_SND_SOC_ADAU1701 is not set CONFIG_SND_SOC_ADAU1977=m CONFIG_SND_SOC_ADAU1977_I2C=m -# CONFIG_SND_SOC_ADAU7002 is not set +CONFIG_SND_SOC_ADAU7002=m # CONFIG_SND_SOC_AK4104 is not set # CONFIG_SND_SOC_AK4554 is not set # CONFIG_SND_SOC_AK4613 is not set diff --git a/projects/RPi2/patches/linux/linux-01-RPi_support.patch b/projects/RPi2/patches/linux/linux-01-RPi_support.patch index dfc679c311..605e126e02 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 f976947c1b5169c3d368185a01ed6407d8a6af71 Mon Sep 17 00:00:00 2001 +From 19b19e36968fd1bda47e59e4aaa3d1b0a048e2af Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 001/134] smsx95xx: fix crimes against truesize +Subject: [PATCH 001/139] smsx95xx: fix crimes against truesize smsc95xx is adjusting truesize when it shouldn't, and following a recent patch from Eric this is now triggering warnings. @@ -48,10 +48,10 @@ index 831aa33d078ae7d2dd57fdded5de71d1eb915f99..b77935bded8c0ff7808b00f170ff10e5 usbnet_skb_return(dev, ax_skb); } -From 3ad76bc9aed8f02a5250df09a675f5f507a20f2c Mon Sep 17 00:00:00 2001 +From 3b849a978a066d4a542b35a3c9115e1d0dd33daa Mon Sep 17 00:00:00 2001 From: Sam Nazarko Date: Fri, 1 Apr 2016 17:27:21 +0100 -Subject: [PATCH 002/134] smsc95xx: Experimental: Enable turbo_mode and +Subject: [PATCH 002/139] smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default See: http://forum.kodi.tv/showthread.php?tid=285288 @@ -94,10 +94,10 @@ index b77935bded8c0ff7808b00f170ff10e594300ad0..693f163684de921404738e33244881e0 netif_dbg(dev, ifup, dev->net, "rx_urb_size=%ld\n", -From 7142897448573d6ffac58a615f269638955672a0 Mon Sep 17 00:00:00 2001 +From 323e1c431de92e9eedf6a2a4ab69dacf68d192e8 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 003/134] Allow mac address to be set in smsc95xx +Subject: [PATCH 003/139] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -193,10 +193,10 @@ index 693f163684de921404738e33244881e0aab92ec9..df60c989fc229bf0aab3c27e95ccd453 eth_hw_addr_random(dev->net); netif_dbg(dev, ifup, dev->net, "MAC address set to eth_random_addr\n"); -From 2e2ec572f0718da9dbc45a2228cb3ecd9794422b Mon Sep 17 00:00:00 2001 +From aa23572116974823b66c52d9aeb7c883c3f57027 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 13 Mar 2015 12:43:36 +0000 -Subject: [PATCH 004/134] Protect __release_resource against resources without +Subject: [PATCH 004/139] Protect __release_resource against resources without parents Without this patch, removing a device tree overlay can crash here. @@ -224,10 +224,10 @@ index 9b5f04404152c296af3a96132f27cfc80ffa9af9..f8a9af6e6b915812be2ba2c1c2b40106 for (;;) { tmp = *p; -From ad96495e9b26e46adf7f0b89542dd60aea544dca Mon Sep 17 00:00:00 2001 +From a4282163e4a337ce384ce7e41617905bfea37ba4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 18 Dec 2014 16:07:15 -0800 -Subject: [PATCH 005/134] mm: Remove the PFN busy warning +Subject: [PATCH 005/139] mm: Remove the PFN busy warning See commit dae803e165a11bc88ca8dbc07a11077caf97bbcb -- the warning is expected sometimes when using CMA. However, that commit still spams @@ -252,10 +252,10 @@ index 34ada718ef47c4b27730214d584f9350fefb9883..3fa01a5280db96075798e4cbd58d5520 goto done; } -From b2fe923f2cb98c7d0e0eb29a1b59deb9dd3b8988 Mon Sep 17 00:00:00 2001 +From 4d80990d04e9f05d22b5f2aa60b04eac17e0a992 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 4 Dec 2015 17:41:50 +0000 -Subject: [PATCH 006/134] irq-bcm2836: Prevent spurious interrupts, and trap +Subject: [PATCH 006/139] irq-bcm2836: Prevent spurious interrupts, and trap them early The old arch-specific IRQ macros included a dsb to ensure the @@ -282,10 +282,10 @@ index d96b2c947e74e3edab3917551c64fbd1ced0f34c..93e3f7660c4230c9f1dd3b195958cb49 #endif } else if (stat) { -From dc4a45834d2402e2e660ab003d7324cba9139436 Mon Sep 17 00:00:00 2001 +From 776cdf599f81ae27fee194ff1830dea2ba888d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 007/134] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 007/139] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -414,10 +414,10 @@ index 44d7c38dde479d771f3552e914bf8c1c1f5019f7..42ff5e6a8e0d532f5b60a1e7af7cc4d9 } -From 34910ef2a03ef73e4131ae171d86dec824f744d3 Mon Sep 17 00:00:00 2001 +From 1b4bd9d956338a403c31de5f27c058f2d8a5fec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Oct 2015 16:26:55 +0200 -Subject: [PATCH 008/134] irqchip: irq-bcm2835: Add 2836 FIQ support +Subject: [PATCH 008/139] irqchip: irq-bcm2835: Add 2836 FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -516,10 +516,10 @@ index 42ff5e6a8e0d532f5b60a1e7af7cc4d941bd5008..eccf6ed025299cb480884f5bcbe77abf for (b = 0; b < NR_BANKS; b++) { for (i = 0; i < bank_irqs[b]; i++) { -From e64fc26eae60ff4db42f6a87bc6b927efd4ee5cf Mon Sep 17 00:00:00 2001 +From e9ae9ecfd8dbbfe62ab50769139b6987d6472567 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 009/134] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 009/139] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -540,10 +540,10 @@ index 2e05046f866bd01bf87edcdeff0d5b76d4d0aea7..d780491b8013a4e97fa843958964454e }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From e39afc1ff1e671825fedd1df55ee1bab5331c130 Mon Sep 17 00:00:00 2001 +From 796c3fb31d9d46dfd7a52c542ab42b8fa9746c10 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 010/134] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 010/139] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ @@ -563,10 +563,10 @@ index e8819aa20415603c80547e382838a8fa3ce54792..cf9c7d2e3f95e1a19410247a89c2e49c for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From 6f6b75fdb594e8a06c42a307d7818f368f4d4726 Mon Sep 17 00:00:00 2001 +From 1b904739cb5a74f77a0a2cd441d1fbad44a87056 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 011/134] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 011/139] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -588,10 +588,10 @@ index fa77165fab2c1348163979da507df17e7168c49b..d11e2e4ea189466e686d762cb6c6fef9 .can_sleep = false, }; -From 041cddecf626794a60bf474cc61f90a03b285b17 Mon Sep 17 00:00:00 2001 +From 2231c8737d0513e5ef63e8f3813d78acde428a81 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 012/134] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 012/139] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -737,10 +737,10 @@ index d11e2e4ea189466e686d762cb6c6fef9111ecf8e..107ad7d58de8f8a7f55e09c9cdcf7d66 }, }; -From 44a7bb44de3404d995ac9f7a659c00417899fd6d Mon Sep 17 00:00:00 2001 +From c661156e0d492293fe8f9f302bfaae94debb6ea0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 013/134] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 013/139] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -767,10 +767,10 @@ index 107ad7d58de8f8a7f55e09c9cdcf7d66fa7ab66b..644bdecbcfcb79d3b84a33769265fca5 pc->irq_data[i].irqgroup = i; -From 155055374cd70c94e510a2e61a1d30b1e345809e Mon Sep 17 00:00:00 2001 +From 5ed11f16df89c1906aeabe516893535cedd22163 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 May 2016 12:32:47 +0100 -Subject: [PATCH 014/134] pinctrl-bcm2835: Return pins to inputs when freed +Subject: [PATCH 014/139] pinctrl-bcm2835: Return pins to inputs when freed When dynamically unloading overlays, it is important that freed pins are restored to being inputs to prevent functions from being enabled in @@ -811,10 +811,10 @@ index 644bdecbcfcb79d3b84a33769265fca5d3d0c9e5..81a66cba2ab0f7e3ae179de7edd10122 .get_function_name = bcm2835_pmx_get_function_name, .get_function_groups = bcm2835_pmx_get_function_groups, -From 64f37c3a86fd2c53f04bcbb7fa135301e6421de4 Mon Sep 17 00:00:00 2001 +From 72e89a6e4e63a370ff774485e9f34736b46dc0a1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 015/134] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 015/139] spi-bcm2835: Support pin groups other than 7-11 The spi-bcm2835 driver automatically uses GPIO chip-selects due to some unreliability of the native ones. In doing so it chooses the @@ -895,10 +895,10 @@ index f35cc10772f6670397ea923ad30158270dd68578..5dfe20ffc2866fa6789825016c585175 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From 6c1fa9350bf0ab341d0ab63eecf2d4ea340daec6 Mon Sep 17 00:00:00 2001 +From a2d8f5ea8f099c827b430075495cd4f66bbcfea3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 016/134] spi-bcm2835: Disable forced software CS +Subject: [PATCH 016/139] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -932,10 +932,10 @@ index 5dfe20ffc2866fa6789825016c585175a29705b6..8493474d286f7a1ac6454a22c61c8c2c return 0; } -From cca118f6ed6f3edaf5a77230300a3158261e3b53 Mon Sep 17 00:00:00 2001 +From 6026a5b9fa567b03ef223f850ecd39530cd122ca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Nov 2016 21:35:38 +0000 -Subject: [PATCH 017/134] spi-bcm2835: Remove unused code +Subject: [PATCH 017/139] spi-bcm2835: Remove unused code --- drivers/spi/spi-bcm2835.c | 61 ----------------------------------------------- @@ -1023,10 +1023,10 @@ index 8493474d286f7a1ac6454a22c61c8c2cef9121bf..33d75ad38a7f77d085321ace9101900a } -From 2e81ccfdf0326796f2cf45713b5cc931bad0b3bb Mon Sep 17 00:00:00 2001 +From f13be437d58ecb8d95e017926f4e47732f3eefb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 018/134] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 018/139] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1079,10 +1079,10 @@ index 0c1edfc98696da0e0bb7f4a18cdfbcdd27a9795d..8f152266ba9b470df2eaaed9ebcf158e static const char * const bcm2835_compat[] = { -From 4093e2dee5031f02d81e101fe08d6d03aa9ea63e Mon Sep 17 00:00:00 2001 +From 0328437d8ab1ce8e27b7b1fbc65ee02e30af4673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 3 Oct 2015 22:22:55 +0200 -Subject: [PATCH 019/134] dmaengine: bcm2835: Load driver early and support +Subject: [PATCH 019/139] dmaengine: bcm2835: Load driver early and support legacy API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -1185,10 +1185,10 @@ index e18dc596cf2447fa9ef7e41b62d9396e29043426..80d35f760b4a4a51e60c355a84d538ba MODULE_ALIAS("platform:bcm2835-dma"); MODULE_DESCRIPTION("BCM2835 DMA engine driver"); -From 007bb2fdbc595054ff60c1211f6056aed77dea03 Mon Sep 17 00:00:00 2001 +From ca1f2d494d953107927917bf79546ca2ced82efb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jan 2016 17:25:12 +0000 -Subject: [PATCH 020/134] firmware: Updated mailbox header +Subject: [PATCH 020/139] firmware: Updated mailbox header --- include/soc/bcm2835/raspberrypi-firmware.h | 11 +++++++++++ @@ -1251,10 +1251,10 @@ index 3fb357193f09914fe21f8555a4b8613f74f22bc3..227a107214a02deadcca3db202da265e RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From 593e2a771144e215bf3bae0cfca6ef0b9027cddb Mon Sep 17 00:00:00 2001 +From 3476f48a6308c25a552bafb7d75b827700bf4f6b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 May 2016 17:28:18 -0700 -Subject: [PATCH 021/134] clk: bcm2835: Mark GPIO clocks enabled at boot as +Subject: [PATCH 021/139] clk: bcm2835: Mark GPIO clocks enabled at boot as critical. These divide off of PLLD_PER and are used for the ethernet and wifi @@ -1292,10 +1292,10 @@ index 3bbd2a58db470a89b870a793e59ddf9fc4f48e57..7040c6426e35c11608121893b662c601 init.ops = &bcm2835_vpu_clock_clk_ops; } else { -From 7d8b9b1e370721580d44b091f77520adbcc6fc92 Mon Sep 17 00:00:00 2001 +From 3987d68ac3af1cf84fb920b0cd6aa32a53266cf5 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jun 2016 16:48:41 +0100 -Subject: [PATCH 022/134] rtc: Add SPI alias for pcf2123 driver +Subject: [PATCH 022/139] rtc: Add SPI alias for pcf2123 driver Without this alias, Device Tree won't cause the driver to be loaded. @@ -1315,10 +1315,10 @@ index 8895f77726e8da5444afcd602dceff8f25a9b3fd..1833b8853ceb0e6147cceb93a00e558c MODULE_LICENSE("GPL"); +MODULE_ALIAS("spi:rtc-pcf2123"); -From a808402e7739a200245229e4a8ebfe42d1aab631 Mon Sep 17 00:00:00 2001 +From 7c4ad5b6dfd0947c786a18a1bbe20055d89a5681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 7 Oct 2016 16:50:59 +0200 -Subject: [PATCH 023/134] watchdog: bcm2835: Support setting reboot partition +Subject: [PATCH 023/139] watchdog: bcm2835: Support setting reboot partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1442,10 +1442,10 @@ index 4dddd8298a227d64862f2e92954a465f2e44b3f6..1f545e024422f59280932713e6a1b051 register_restart_handler(&wdt->restart_handler); if (pm_power_off == NULL) -From eb7aa522a65fc900effe3b9c9ffab11ed565d9cd Mon Sep 17 00:00:00 2001 +From 4faf393423adc1f2e66722521e4b02e6ed1bffa5 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 5 Apr 2016 19:40:12 +0100 -Subject: [PATCH 024/134] reboot: Use power off rather than busy spinning when +Subject: [PATCH 024/139] reboot: Use power off rather than busy spinning when halt is requested --- @@ -1468,10 +1468,10 @@ index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e0 /* -From 49be453f38d36064b3778cc52cb3f108a61296eb Mon Sep 17 00:00:00 2001 +From c19bf9210f674641ca6a7763e5d17702985cd823 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 9 Nov 2016 13:02:52 +0000 -Subject: [PATCH 025/134] bcm: Make RASPBERRYPI_POWER depend on PM +Subject: [PATCH 025/139] bcm: Make RASPBERRYPI_POWER depend on PM --- drivers/soc/bcm/Kconfig | 1 + @@ -1490,10 +1490,10 @@ index a39b0d58ddd0fdf0ac1cc7295f8aafb12546e226..e037a6dd79d1881a09e3ca9115782709 help This enables support for the RPi power domains which can be enabled -From 86dbd7e08055ec3c3f93611650834146fb7bec9e Mon Sep 17 00:00:00 2001 +From 97461aecb75e4aa4fef0493367484d5efefe1242 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Fri, 2 Sep 2016 16:45:27 +0100 -Subject: [PATCH 026/134] Register the clocks early during the boot process, so +Subject: [PATCH 026/139] Register the clocks early during the boot process, so that special/critical clocks can get enabled early on in the boot process avoiding the risk of disabling a clock, pll_divider or pll when a claiming driver fails to install propperly - maybe it needs to defer. @@ -1538,10 +1538,10 @@ index 7040c6426e35c11608121893b662c601cd8d6543..21e2a538ff0d0ab4e63adff9b93705f3 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("BCM2835 clock driver"); -From d3af425d67b61ddac3566e2c3c68ca501fb2b5eb Mon Sep 17 00:00:00 2001 +From ddcf6876434d1d4de6c20cd7a246ec6761278b7a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 6 Dec 2016 17:05:39 +0000 -Subject: [PATCH 027/134] bcm2835-rng: Avoid initialising if already enabled +Subject: [PATCH 027/139] bcm2835-rng: Avoid initialising if already enabled Avoids the 0x40000 cycles of warmup again if firmware has already used it --- @@ -1567,10 +1567,10 @@ index 574211a495491d9d6021dcaefe4274a63ed02055..e66c0fca8c6090e32f72796c0877a1cf err = hwrng_register(&bcm2835_rng_ops); if (err) { -From 440da70b90be94b3b760852bbd94bb2d13bb0b2d Mon Sep 17 00:00:00 2001 +From 8213c5e839ed73f290c31f8fa8771109d71d333f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Aug 2016 16:28:44 +0100 -Subject: [PATCH 028/134] kbuild: Ignore dtco targets when filtering symbols +Subject: [PATCH 028/139] kbuild: Ignore dtco targets when filtering symbols --- scripts/Kbuild.include | 2 +- @@ -1590,10 +1590,10 @@ index 179219845dfcdfbeb586d12c5ec1296095d9fbf4..e0743e44f84188667a0c322e8c3d36f1 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' -From fee20a367f91a0c174d10654f37f7d5b013a8135 Mon Sep 17 00:00:00 2001 +From 08420db89a7b0f3bc93d53d26f082a87e7a3126f Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 029/134] BCM2835_DT: Fix I2S register map +Subject: [PATCH 029/139] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -1631,10 +1631,10 @@ index 65783de0aedf3da79adc36fd077b7a89954ddb6b..a89fe4220fdc3f26f75ee66daf187554 dmas = <&dma 2>, <&dma 3>; -From 315d464c674d1ed4925ea21fff83f80c995fca62 Mon Sep 17 00:00:00 2001 +From eddd2846e5da35c427a1449afcb1cdcef4d6c0ce Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 030/134] Main bcm2708/bcm2709 linux port +Subject: [PATCH 030/139] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -1841,10 +1841,10 @@ index cfb4b4496dd9f61362dea012176c146120fada07..d9c6c217c4d6a2408abe2665bf7f2700 MODULE_AUTHOR("Lubomir Rintel "); MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); -From 9311e02b2b3ff61ba27312171cf625ebbc690cad Mon Sep 17 00:00:00 2001 +From 50b9b81411581b78ec6de8ca8c60fa16b0c731cf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 031/134] Add dwc_otg driver +Subject: [PATCH 031/139] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -62901,10 +62901,10 @@ index 0000000000000000000000000000000000000000..cdc9963176e5a4a0d5250613b61e26c5 +test_main(); +0; -From 86f069c06a014be7a8d5058da0355739b8fe731c Mon Sep 17 00:00:00 2001 +From 617354ba9cb3ef301169e87d257495f80122bce9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 032/134] bcm2708 framebuffer driver +Subject: [PATCH 032/139] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66363,10 +66363,10 @@ index 3c14e43b82fefe1d32f591d1b2f61d2cd28d0fa8..7626beb6a5bb8df601ddf0f6e6909d1f +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From b51769b3dc814a6a4379d5b9042938d7ec9b0225 Mon Sep 17 00:00:00 2001 +From e453972328537f2d7df0457a3a588c7425837e22 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 033/134] dmaengine: Add support for BCM2708 +Subject: [PATCH 033/139] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -66997,10 +66997,10 @@ index 0000000000000000000000000000000000000000..c5bfff2765be4606077e6c8af73040ec + +#endif /* _PLAT_BCM2708_DMA_H */ -From 06199a6053360eacfba241593a0dba47cd19fd54 Mon Sep 17 00:00:00 2001 +From fa6a7864e4a03147b20bcda3dc587ffedcaaf39c Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 034/134] MMC: added alternative MMC driver +Subject: [PATCH 034/139] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -68750,10 +68750,10 @@ index 0000000000000000000000000000000000000000..4fe8d1fe44578fbefcd48f8c327ba3d0 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From da4e95e28075d3938a2c2620eadd499c8ee9c5ca Mon Sep 17 00:00:00 2001 +From a36ad8e9b50f8e475bf934c76412b4c915cd7b26 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 035/134] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 035/139] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -71158,10 +71158,10 @@ index 0000000000000000000000000000000000000000..a9bc79bfdbb71807819dfe2d8f165144 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 36bc4a0480199f1c815061910912975554ee0893 Mon Sep 17 00:00:00 2001 +From 44542e41e3612387f6323b7b606ecc433bb45bb6 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 May 2016 12:50:33 +0100 -Subject: [PATCH 036/134] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards +Subject: [PATCH 036/139] mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards Some SD cards have been found that corrupt data when small blocks are erased. Add a quirk to indicate that ERASE should not be used, @@ -71297,10 +71297,10 @@ index 73fad83acbcb6a157587180516f9ffe7c61eb7d7..e7c9d3098ac06e3c6554fa3373a311f9 unsigned int erase_shift; /* if erase unit is power 2 */ unsigned int pref_erase; /* in sectors */ -From 8fdd540eb506c2d192babeee069577aa8edcc042 Mon Sep 17 00:00:00 2001 +From 6f9bd29d66d6944241605966aff61b2ebabf0f65 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 037/134] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 037/139] cma: Add vc_cma driver to enable use of CMA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -72636,10 +72636,10 @@ index 0000000000000000000000000000000000000000..be2819d5d41f9d5ed65daf8eedb94c9e + +#endif /* VC_CMA_H */ -From 4090c038bd917b473d5fbde0338460df6b2af229 Mon Sep 17 00:00:00 2001 +From 2118117473b152a28312fe2191ee4ba1d2f1ddd4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 038/134] bcm2708: alsa sound driver +Subject: [PATCH 038/139] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75374,10 +75374,10 @@ index 0000000000000000000000000000000000000000..af3e6eb690113fc32ce9e06bd2f0f294 + +#endif // _VC_AUDIO_DEFS_H_ -From a54b68813c33afd1e6cdf25467d7fef9559b67fb Mon Sep 17 00:00:00 2001 +From cb677622dcf82cc659fe1944565c707c1ae386c7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 28 Oct 2016 15:36:43 +0100 -Subject: [PATCH 039/134] vc_mem: Add vc_mem driver for querying firmware +Subject: [PATCH 039/139] vc_mem: Add vc_mem driver for querying firmware memory addresses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -75901,10 +75901,10 @@ index 0000000000000000000000000000000000000000..20a475377eb3078ea1ecaef2b24efc35 + +#endif /* _VC_MEM_H */ -From db6937b652db53462b5eba23a09f280a67a5e961 Mon Sep 17 00:00:00 2001 +From fcfeb0de0a54c9ee86502dbb18d149df84579e29 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 040/134] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 040/139] vcsm: VideoCore shared memory service for BCM2835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -80311,10 +80311,10 @@ index 0000000000000000000000000000000000000000..334f36d0d697b047df2922b5f2db67f3 + +#endif /* __VMCS_SM_IOCTL_H__INCLUDED__ */ -From b261dbc74df36cde6d98cb2b7a99fec3ec03303c Mon Sep 17 00:00:00 2001 +From 9e6a2694faa752923ca52e7a0d7470f1d7147a58 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 041/134] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 041/139] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren @@ -80625,10 +80625,10 @@ index 0000000000000000000000000000000000000000..911f5b7393ed48ceed8751f06967ae64 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 08d96e8b7e4067561a298761f976583af9f4d032 Mon Sep 17 00:00:00 2001 +From a91ab8be19eece779b19176a5a6f22e6117a8a68 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 042/134] Add SMI driver +Subject: [PATCH 042/139] Add SMI driver Signed-off-by: Luke Wren --- @@ -82579,10 +82579,10 @@ index 0000000000000000000000000000000000000000..ee3a75edfc033eeb0d90a687ffb68b10 + +#endif /* BCM2835_SMI_H */ -From b87679c88a0014b1361a3d502d1488c521c8a4d2 Mon Sep 17 00:00:00 2001 +From 0e4b6b76f6302299113e328c3a52feba8d973a3b Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 26 Apr 2016 14:59:21 +0000 -Subject: [PATCH 043/134] MISC: bcm2835: smi: use clock manager and fix reload +Subject: [PATCH 043/139] MISC: bcm2835: smi: use clock manager and fix reload issues Use clock manager instead of self-made clockmanager. @@ -82752,10 +82752,10 @@ index 63a4ea08b9930a3a31a985f0a1d969b488ed49ec..1261540703127d1d63b9f3c87042c6e5 return 0; } -From c189ff7a857976d4765868c64ea803674fd453ba Mon Sep 17 00:00:00 2001 +From 5e96c04566a4405e2060ebb6d3c356a55b9f60ae Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 044/134] Add SMI NAND driver +Subject: [PATCH 044/139] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -82817,7 +82817,7 @@ index 0000000000000000000000000000000000000000..159544d6579070d376d146bd24a86653 +}; \ No newline at end of file diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig -index 7b7a887b4709f0122f32b60833d8c2e36bc4dead..2db503816a8d5d763bef1b08e3f458d1a2e87751 100644 +index b254090b8a1ba6dfb7a86f8065663207d5393935..f21097c8d5378b2d72b3d18e39e28ad4f53942f0 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -41,6 +41,13 @@ config MTD_SM_COMMON @@ -83120,10 +83120,10 @@ index 0000000000000000000000000000000000000000..02adda6da18bd0ba9ab19a104975b79d + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 7ae75ebcd67505e243a0d4779e6c8070740ed2cc Mon Sep 17 00:00:00 2001 +From fd2826446ae8feb0345413e5293bf9c4e339283c Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 045/134] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 045/139] lirc: added support for RaspberryPi GPIO lirc_rpi: Use read_current_timer to determine transmitter delay. Thanks to jjmz and others See: https://github.com/raspberrypi/linux/issues/525 @@ -83986,10 +83986,10 @@ index 0000000000000000000000000000000000000000..fb69624ccef00ddbdccf8256d6baf1b1 + +#endif -From fcda1c44e4ccbbc1f17dc1e478cad2f22cee825f Mon Sep 17 00:00:00 2001 +From d101d1e54c9d0c552ddb9ea8cf91036676b75d63 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 046/134] Add cpufreq driver +Subject: [PATCH 046/139] Add cpufreq driver Signed-off-by: popcornmix --- @@ -84256,10 +84256,10 @@ index 0000000000000000000000000000000000000000..414fbdc10dfbfc6e4bb47870a7af3fd5 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 885715273cf08e6846807627a3f53b7f326c6ec6 Mon Sep 17 00:00:00 2001 +From 4d36baabc5401412e9a91c0c6a5c298749696c7e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 047/134] Added hwmon/thermal driver for reporting core +Subject: [PATCH 047/139] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -84425,10 +84425,10 @@ index 0000000000000000000000000000000000000000..c63fb9f9d143e19612a18fe530c7b2b3 +MODULE_DESCRIPTION("Thermal driver for bcm2835 chip"); +MODULE_LICENSE("GPL"); -From 4d1c4691bee09ec078fc867a307ab20fd74edc73 Mon Sep 17 00:00:00 2001 +From 71ef724e8655eb0164293c65aa6d77dd49a56585 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 048/134] Add Chris Boot's i2c driver +Subject: [PATCH 048/139] Add Chris Boot's i2c driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85093,10 +85093,10 @@ index 0000000000000000000000000000000000000000..962f2e5c7455d91bf32925d785f5f16b +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 5df0c2d95cfeee43b66f406971d3cd397fcc819e Mon Sep 17 00:00:00 2001 +From 9f186fb7bcbde7efbfb2d646a99893434281e7f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 049/134] char: broadcom: Add vcio module +Subject: [PATCH 049/139] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85322,10 +85322,10 @@ index 0000000000000000000000000000000000000000..c19bc2075c77879563ef5e59038b5a14 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From 9ffbcfb98290715f871820c9c5edafefb1be9494 Mon Sep 17 00:00:00 2001 +From 0eb33414450647e69d5d814285e8987ff43bcd20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 050/134] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 050/139] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -85408,10 +85408,10 @@ index dd506cd3a5b874f9e1acd07efb8cd151bb6145d1..3f070bd38a91511c986e3fb114b15bd4 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 62a3bbfadb53ca60c2e9c110fc8c2834bf7eff5a Mon Sep 17 00:00:00 2001 +From 883b24f2789355b2fcdc477d7e1592190e7105a0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 051/134] bcm2835: add v4l2 camera device +Subject: [PATCH 051/139] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -85902,7 +85902,7 @@ index 0000000000000000000000000000000000000000..c585a8fadf91c5a04453e442fc29ed89 + +$ v4l2-ctl --list-formats diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig -index ce4a96fccc433c69269a14455ba94e053b515d91..0ea7ea95d824bf95747678e83ee7a61dea6f55cd 100644 +index 5ff803efdc03da24a177ee06f3659e785ebe6b35..dc76b9e1594974d6c474ad8a470923ac0ec5b6f0 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -11,6 +11,8 @@ menuconfig V4L_PLATFORM_DRIVERS @@ -93153,10 +93153,10 @@ index 0000000000000000000000000000000000000000..9d1d11e4a53e510c04a416d92d195a7d + +#endif /* MMAL_VCHIQ_H */ -From a37d33f021e21c51e3cc1d7e53662f2855a849aa Mon Sep 17 00:00:00 2001 +From 80518bfb29d55986781a5dcfe8045b4c04078a08 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 052/134] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 052/139] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -93676,10 +93676,10 @@ index 0000000000000000000000000000000000000000..60206de7fa9a49bd027c635306674a29 + return $trailer; +} -From d7c18d86db098e00f2df998ab3089fb168a0b24d Mon Sep 17 00:00:00 2001 +From 84213193818c989afe26ebd7e7043c5450f8e987 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 10 Aug 2015 09:49:15 +0100 -Subject: [PATCH 053/134] scripts/dtc: Update to upstream version 1.4.1 +Subject: [PATCH 053/139] scripts/dtc: Update to upstream version 1.4.1 Includes the new localfixups format. @@ -96530,10 +96530,10 @@ index ad9b05ae698b0495ecbda42ffcf4743555313a27..2595dfda020fd9e03f0beff5006f229d -#define DTC_VERSION "DTC 1.4.1-g53bf130b" +#define DTC_VERSION "DTC 1.4.1-g25efc119" -From 4e928119b75da432b2af6c4a0336c8f927417eaa Mon Sep 17 00:00:00 2001 +From f0618d8e890c7e4cc63af91bc7214d423bc7f4e7 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 054/134] BCM2708: Add core Device Tree support +Subject: [PATCH 054/139] BCM2708: Add core Device Tree support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96966,7 +96966,7 @@ index 3c79f85975aaa26c7c2e353fefc54d71d89bc5bf..eaaeb17e5986e5f7178b2851169444ac -*.dtb +*.dtb* diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile -index c558ba75cbccf909063e0f4f131f7efdfd28867b..ec218dcb67019acacd4a6c73c74d12ef4f4204d8 100644 +index 7037201c5e3a7dd232b087fd7d7daa36bf3878ad..c697c4843a4e0f8b511c024924741082bb11edd7 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1,5 +1,13 @@ @@ -96983,7 +96983,7 @@ index c558ba75cbccf909063e0f4f131f7efdfd28867b..ec218dcb67019acacd4a6c73c74d12ef dtb-$(CONFIG_ARCH_ALPINE) += \ alpine-db.dtb dtb-$(CONFIG_MACH_ARTPEC6) += \ -@@ -954,10 +962,21 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ +@@ -955,10 +963,21 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb dtb-$(CONFIG_ARCH_ASPEED) += aspeed-bmc-opp-palmetto.dtb \ aspeed-ast2500-evb.dtb @@ -106661,10 +106661,10 @@ index 0a07f9014944ed92a8e2e42983ae43be60b3e471..1967878a843461c3ff1f473b9a030eb0 # Bzip2 -From 551a2c4098661ef7b5ea745259a4bb0750b8370b Mon Sep 17 00:00:00 2001 +From 751d72116578b77c728b66bf570d6fb4eb5d53ff Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 055/134] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 055/139] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -106840,10 +106840,10 @@ index ddfcb2df3656cf0ab6aebd1fa3d624a6ec2e94e9..271563eb835f9018712e2076a88f341d /* Set LED brightness level * Must not sleep. Use brightness_set_blocking for drivers -From 0b17c12e7236b60e30e018143555727f9a7df6ce Mon Sep 17 00:00:00 2001 +From 43c78d90576cb16c0e0d9b219ca3b953c6d8f6de Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 056/134] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 056/139] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -107095,10 +107095,10 @@ index fb795c3b3c178ad3cd7c9e9e4547ffd492bac181..703fa8a70574323abe2fb32599254582 __u32 dx; /* screen-relative */ __u32 dy; -From 487f0a441fb9eeeee60a1399d230932ea6df4d02 Mon Sep 17 00:00:00 2001 +From 39ac9870d42b1a6b311f3fce180bac893050b8ab Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 057/134] Speed up console framebuffer imageblit function +Subject: [PATCH 057/139] Speed up console framebuffer imageblit function Especially on platforms with a slower CPU but a relatively high framebuffer fill bandwidth, like current ARM devices, the existing @@ -107307,10 +107307,10 @@ index a2bb276a8b2463eee98eb237c4647bc00cd93601..436494fba15abecb400ef28688466faf start_index, pitch_index); } else -From 9af61bbc5991a87afe3f23acd61370175be7a547 Mon Sep 17 00:00:00 2001 +From 0edd639f86a0c1d761d8ed77da544976984f0e48 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 058/134] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 058/139] enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module) 1-wire: Add support for configuring pin for w1-gpio kernel module @@ -107560,10 +107560,10 @@ index d58594a3232492e33f1dd4babd3798b03e0f0203..feae94256256316fd9d850c3d83325af unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From e7369f395cb114dc1cfeec7bd86d5f4f44a0643b Mon Sep 17 00:00:00 2001 +From 93562c1b53115f77cf09a13fbc7bf9e8fdfdee57 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 059/134] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 059/139] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -107613,10 +107613,10 @@ index 85bc9beb046d9a6deda2e3564f4d5bd01d6fc27b..4acdbef46a8f0556469b5580a39c18ce * css_tryget_online_from_dir - get corresponding css from a cgroup dentry * @dentry: directory dentry of interest -From 5c84dcc7d0dbb4d9312ab32e479e045bbcbb5c51 Mon Sep 17 00:00:00 2001 +From e3cc908913ebd5bae2b0cca4e1fe42a2ae53f50e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 060/134] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 060/139] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -107652,10 +107652,10 @@ index ae83af649a607f67239f1a64bf45dd4b5770cc7d..4a7af9d0b910f59d17421ce14138400d ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From b78091665b47f7dc5863a41477473fea7b81787a Mon Sep 17 00:00:00 2001 +From 9f43e0a8a7790ad9199e20cb3b622394906409e9 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 061/134] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 061/139] rpi-ft5406: Add touchscreen driver for pi LCD display Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected @@ -108013,10 +108013,10 @@ index 227a107214a02deadcca3db202da265eba1fdd21..b0f6e33bd30c35664ceee057f4c3ad32 RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 85dfcf883fdff5c5b4eeb66a7dbd33a0395c38a7 Mon Sep 17 00:00:00 2001 +From 00b6c19a03fc81668a4999b4e0b52d2f2da3cf96 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 28 Nov 2016 16:50:04 +0000 -Subject: [PATCH 062/134] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 062/139] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -109591,10 +109591,10 @@ index 333dc3c2e5ffbb2c5ab8fcfb6115b6162643cf20..46b787a6474ffa857da9b663948863ec bool "Broadcom BCM63xx DSL SoC" depends on ARCH_MULTI_V7 -From bf12332dcf5f772f8c1083e7fa6fb28480554f16 Mon Sep 17 00:00:00 2001 +From 386e8ec75004508ca5ef21df4e75e28021c08d22 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 063/134] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 063/139] gpio-poweroff: Allow it to work on Raspberry Pi The Raspberry Pi firmware manages the power-down and reboot process. To do this it installs a pm_power_off handler, causing @@ -109629,10 +109629,10 @@ index be3d81ff51cc3f510d85e4eed7a52960e51e7bc1..a030ae9fb1fca325061c093696e82186 "%s: pm_power_off function already registered", __func__); -From c82591f3312c3def3e69af82de7f1c6fc2c54ae7 Mon Sep 17 00:00:00 2001 +From 48626221a6826a0dd2ce19dada02bcdd197a1c12 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 064/134] mfd: Add Raspberry Pi Sense HAT core driver +Subject: [PATCH 064/139] mfd: Add Raspberry Pi Sense HAT core driver --- drivers/input/joystick/Kconfig | 8 + @@ -110497,10 +110497,10 @@ index 0000000000000000000000000000000000000000..56196dc2af10e464a1e3f98b028dca1c + +#endif -From d60ac1c31de04fc471688a0bc79e88ff7a0bb3fd Mon Sep 17 00:00:00 2001 +From 8c3de85e40057b1d6ec5b8a6772e661cbebf2be7 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 065/134] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 065/139] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -110675,10 +110675,10 @@ index 0000000000000000000000000000000000000000..45f2b770ad9e67728ca599a7445d6ae9 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 9456d17f2ab7830f6ed4037df877183df58857e9 Mon Sep 17 00:00:00 2001 +From 0c4f4d2a354aa011cc5e808e745bc66b2e1019ff Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 25 Jan 2016 15:48:59 +0000 -Subject: [PATCH 066/134] ASoC: Add support for Rpi-DAC +Subject: [PATCH 066/139] ASoC: Add support for Rpi-DAC --- sound/soc/bcm/Kconfig | 7 +++ @@ -110962,10 +110962,10 @@ index 0000000000000000000000000000000000000000..afe1b419582aa40c4b2729d242bb13cd +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 8da6c6c5f06b9a1660fece61cb55df901c618d1b Mon Sep 17 00:00:00 2001 +From 28e35948f0cbfed9abd11844910db3224ddda010 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 067/134] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 067/139] ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an @@ -111014,10 +111014,10 @@ index af95d648265b3e92e345101542b332aee35191d4..513f56ba132929662802d15cdc653af3 .component_driver = { .dapm_widgets = wm8804_dapm_widgets, -From 555bd49143501ec09a6a024fdb57ade0a65ffb2e Mon Sep 17 00:00:00 2001 +From 84663a7e31d002d12bb05a7c0c903216fcfd25b7 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 068/134] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 068/139] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -111361,10 +111361,10 @@ index 0000000000000000000000000000000000000000..19dc953b7227ba86123fc7a2ba654499 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From f4dbcd78afe76550ee599c2a52b5385d09ee683f Mon Sep 17 00:00:00 2001 +From 1b03571b887bdf83b1a49880003dd62625fb1f7c Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 069/134] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 069/139] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -111694,10 +111694,10 @@ index 0000000000000000000000000000000000000000..4e8e6dec14bcf4a1ff286c43742d4097 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 27661823dee6e27ad8b2ad6a0c3e4bbff53db9e9 Mon Sep 17 00:00:00 2001 +From f389a4b14734480574032f51168308ace40c529d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 25 Jul 2016 17:06:50 +0100 -Subject: [PATCH 070/134] iqaudio-dac: Compile fix - untested +Subject: [PATCH 070/139] iqaudio-dac: Compile fix - untested --- sound/soc/bcm/iqaudio-dac.c | 6 +++++- @@ -111721,10 +111721,10 @@ index 4e8e6dec14bcf4a1ff286c43742d4097249d6777..aa15bc4b49ca95edec905fddd8fd0a6d if (dapm->dev != codec_dai->dev) return 0; -From f763a1f6d8b050e520a7bd084cb7d93b9ed95f0b Mon Sep 17 00:00:00 2001 +From ef2c5b5a21239094c6997e10f19a68f970e8af22 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 071/134] Added support for HiFiBerry DAC+ +Subject: [PATCH 071/139] Added support for HiFiBerry DAC+ The driver is based on the HiFiBerry DAC driver. However HiFiBerry DAC+ uses a different codec chip (PCM5122), therefore a new driver is necessary. @@ -112354,10 +112354,10 @@ index 72b19e62f6267698aea45d2410d616d91c1825cb..c6839ef6e16754ed9de2698507b8986a dev_err(dev, "No LRCLK?\n"); return -EINVAL; -From 9bfd40bfebc7f8c931ce94e6c8529090637cac72 Mon Sep 17 00:00:00 2001 +From 5e384d11d9656df7e9877ce331130a83e8ccb5a3 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 072/134] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 072/139] Added driver for HiFiBerry Amp amplifier add-on board The driver contains a low-level hardware driver for the TAS5713 and the drivers for the Raspberry Pi I2S subsystem. @@ -113190,10 +113190,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From 00258f23300246f2f0a113667a513c27b872206c Mon Sep 17 00:00:00 2001 +From 5e621985175981470e86bd427516a8782f6008a6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 Dec 2016 16:26:54 +0000 -Subject: [PATCH 073/134] Revert "Added driver for HiFiBerry Amp amplifier +Subject: [PATCH 073/139] Revert "Added driver for HiFiBerry Amp amplifier add-on board" This reverts commit 3e6b00833d92a50cbcc9922deb6e1bc8fcdbb587. @@ -114015,10 +114015,10 @@ index 8f019e04898754d2f87e9630137be9e8f612a342..00000000000000000000000000000000 - -#endif /* _TAS5713_H */ -From 32f7d31044a4a6050ac6dfbbc3e44312651388f8 Mon Sep 17 00:00:00 2001 +From 05d51ab311a4af15bc07f97f7ddc9c103482b3cd Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 074/134] Update ds1307 driver for device-tree support +Subject: [PATCH 074/139] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -114045,10 +114045,10 @@ index 4e31036ee2596dec93accd26f627c5b95591ae9f..b92044cf03e750afa521a93519500e9d .driver = { .name = "rtc-ds1307", -From 9790003d198ff95f265910662055bb48f819f80a Mon Sep 17 00:00:00 2001 +From 1f0d9f787beb8351e2c39fb8ae789a6d7a1cd539 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 075/134] Add driver for rpi-proto +Subject: [PATCH 075/139] Add driver for rpi-proto Forward port of 3.10.x driver from https://github.com/koalo We are using a custom board and would like to use rpi 3.18.x @@ -114263,10 +114263,10 @@ index 0000000000000000000000000000000000000000..9db678e885efd63d84d60a098a84ed67 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 078e38c1fa3dbfc9fae94abc314370ba0cdfa129 Mon Sep 17 00:00:00 2001 +From 3ecc8e028f7c64fa64c2f7b85de63aa0e920914b Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 076/134] RaspiDAC3 support +Subject: [PATCH 076/139] RaspiDAC3 support Signed-off-by: Jan Grulich @@ -114509,10 +114509,10 @@ index 0000000000000000000000000000000000000000..dd9eeea2af0382307f437e6db09d1546 +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 9630c3538c2ecab1712371f857793ceaecf5fc4e Mon Sep 17 00:00:00 2001 +From c6896319efdeef4e158c84fa77b0c533795d754c Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 7 Apr 2016 21:26:21 +0100 -Subject: [PATCH 077/134] Add Support for JustBoom Audio boards +Subject: [PATCH 077/139] Add Support for JustBoom Audio boards justboom-dac: Adjust for ALSA API change @@ -114966,10 +114966,10 @@ index 0000000000000000000000000000000000000000..91acb666380faa3c0deb2230f8a0f8bb +MODULE_DESCRIPTION("ASoC Driver for JustBoom PI Digi HAT Sound Card"); +MODULE_LICENSE("GPL v2"); -From 7bc52f6f23d91652cf3be186cde394999ea7c0e7 Mon Sep 17 00:00:00 2001 +From c5865a7bf88ea9b6c34210b17272312f7c90b5e6 Mon Sep 17 00:00:00 2001 From: Andrey Grodzovsky Date: Tue, 3 May 2016 22:10:59 -0400 -Subject: [PATCH 078/134] ARM: adau1977-adc: Add basic machine driver for +Subject: [PATCH 078/139] ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. This commit adds basic support for the codec usage including: Device tree overlay, @@ -115151,10 +115151,10 @@ index 0000000000000000000000000000000000000000..6e2ee027926ee63c89222f75ceb89e3d +MODULE_DESCRIPTION("ASoC Driver for ADAU1977 ADC"); +MODULE_LICENSE("GPL v2"); -From 05ef13ba617946617da4d14dafe6c722c496f67b Mon Sep 17 00:00:00 2001 +From 2ed7e5179dc82b173ba4d8a6c33ad38e91606c98 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 May 2016 21:36:31 +1000 -Subject: [PATCH 079/134] New AudioInjector.net Pi soundcard with low jitter +Subject: [PATCH 079/139] New AudioInjector.net Pi soundcard with low jitter audio in and out. Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile. @@ -115405,10 +115405,10 @@ index 0000000000000000000000000000000000000000..ef54e0f07ea03f59e9957b5d98f3e7fd +MODULE_ALIAS("platform:audioinjector-pi-soundcard"); + -From ca6b3e1174ff4d34e1b40c5341f2a3b99f7c1b80 Mon Sep 17 00:00:00 2001 +From 7b3f658737549988cc4a9592a44de0228ceb9a81 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Thu, 30 Jun 2016 18:38:42 +0100 -Subject: [PATCH 080/134] Add IQAudIO Digi WM8804 board support +Subject: [PATCH 080/139] Add IQAudIO Digi WM8804 board support Support IQAudIO Digi board with iqaudio_digi machine driver and iqaudio-digi-wm8804-audio overlay. @@ -115708,10 +115708,10 @@ index 0000000000000000000000000000000000000000..9b6e829bcb5b1762a853775e78163196 +MODULE_DESCRIPTION("ASoC Driver for IQAudIO WM8804 Digi"); +MODULE_LICENSE("GPL v2"); -From b45233e789a89801e6e664f80b643e1ddbc6f652 Mon Sep 17 00:00:00 2001 +From 3c19d98018e7dba2d499226ce2ff4d466ff019da Mon Sep 17 00:00:00 2001 From: escalator2015 Date: Tue, 24 May 2016 16:20:09 +0100 -Subject: [PATCH 081/134] New driver for RRA DigiDAC1 soundcard using WM8741 + +Subject: [PATCH 081/139] New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804 --- @@ -116184,10 +116184,10 @@ index 0000000000000000000000000000000000000000..446796e7e4c14a7d95b2f2a01211d9a0 +MODULE_DESCRIPTION("ASoC Driver for RRA DigiDAC1"); +MODULE_LICENSE("GPL v2"); -From d72e5862e720069cf365bf867810a5b017247b02 Mon Sep 17 00:00:00 2001 +From 7754471b3eb6fa4e48360b49d01b86fc71a3b539 Mon Sep 17 00:00:00 2001 From: DigitalDreamtime Date: Sat, 2 Jul 2016 16:26:19 +0100 -Subject: [PATCH 082/134] Add support for Dion Audio LOCO DAC-AMP HAT +Subject: [PATCH 082/139] Add support for Dion Audio LOCO DAC-AMP HAT Using dedicated machine driver and pcm5102a codec driver. @@ -116360,10 +116360,10 @@ index 0000000000000000000000000000000000000000..89e65317512bc774453ac8d0d5b0ff98 +MODULE_DESCRIPTION("ASoC Driver for DionAudio LOCO"); +MODULE_LICENSE("GPL v2"); -From 5ff9b9d2b4ee6b30d9286e9cd642da560e12e8e9 Mon Sep 17 00:00:00 2001 +From 00707f8af0f909bd1e73a66b227587c108e9950d Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Mon, 19 Sep 2016 14:01:04 +0100 -Subject: [PATCH 083/134] Allo Piano DAC boards: Initial 2 channel (stereo) +Subject: [PATCH 083/139] Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645) Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards, @@ -116570,10 +116570,10 @@ index 0000000000000000000000000000000000000000..8e8e62e5a36a279b425ed4655cfbac99 +MODULE_DESCRIPTION("ALSA ASoC Machine Driver for Allo Piano DAC"); +MODULE_LICENSE("GPL v2"); -From 27e41c4c1332f7fe9a00d7feee0c251192a613cb Mon Sep 17 00:00:00 2001 +From 0dea69effd9cfbb945f86d715a94b7ab2a876094 Mon Sep 17 00:00:00 2001 From: gtrainavicius Date: Sun, 23 Oct 2016 12:06:53 +0300 -Subject: [PATCH 084/134] Support for Blokas Labs pisound board +Subject: [PATCH 084/139] Support for Blokas Labs pisound board Pisound dynamic overlay (#1760) @@ -117750,10 +117750,10 @@ index 0000000000000000000000000000000000000000..4b8545487d06e4ea70073a5d063fb231 +MODULE_DESCRIPTION("ASoC Driver for pisound, http://blokas.io/pisound"); +MODULE_LICENSE("GPL v2"); -From 1d54e193ad2aae6a07b1eeb2173eb7ba9f9a81a1 Mon Sep 17 00:00:00 2001 +From 627793624e12b70fa82f1c5ba0d43abc9c02de30 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 21 Oct 2015 14:55:21 +0100 -Subject: [PATCH 085/134] rpi_display: add backlight driver and overlay +Subject: [PATCH 085/139] rpi_display: add backlight driver and overlay Add a mailbox-driven backlight controller for the Raspberry Pi DSI touchscreen display. Requires updated GPU firmware to recognise the @@ -117922,10 +117922,10 @@ index 0000000000000000000000000000000000000000..14a0d9b037395497c1fdae2961feccd5 +MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); +MODULE_LICENSE("GPL"); -From 027fad2a8d84dab710330454f4189808be4d4e15 Mon Sep 17 00:00:00 2001 +From 3e73b5398a672f71124cd49e5f49887f4561dc74 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Feb 2016 19:56:04 +0000 -Subject: [PATCH 086/134] bcm2835-virtgpio: Virtual GPIO driver +Subject: [PATCH 086/139] bcm2835-virtgpio: Virtual GPIO driver Add a virtual GPIO driver that uses the firmware mailbox interface to request that the VPU toggles LEDs. @@ -118199,10 +118199,10 @@ index b0f6e33bd30c35664ceee057f4c3ad32b914291d..e92278968b2b979db2a1f855f70e7aaf RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, -From 85b71a113a002fe21e304cfc990e3c7a245b5b5d Mon Sep 17 00:00:00 2001 +From 2195a08dc3e8e28fc6fcad8d57aa73d82d461efe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 23 Feb 2016 17:26:48 +0000 -Subject: [PATCH 087/134] amba_pl011: Don't use DT aliases for numbering +Subject: [PATCH 087/139] amba_pl011: Don't use DT aliases for numbering The pl011 driver looks for DT aliases of the form "serial", and if found uses as the device ID. This can cause @@ -118231,10 +118231,10 @@ index e2c33b9528d82ed7a2c27d083d7b1d222da68178..5a11ff833e1fd112ba04df3a427cd94b uap->old_cr = 0; uap->port.dev = dev; -From c451a4e7d19b11af1d774afced027c19694c8c38 Mon Sep 17 00:00:00 2001 +From 21defd9b3d89f388321638da4dc7a80f43e3ab33 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou Date: Wed, 3 Dec 2014 13:23:28 +0200 -Subject: [PATCH 088/134] OF: DT-Overlay configfs interface +Subject: [PATCH 088/139] OF: DT-Overlay configfs interface This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes. @@ -118666,10 +118666,10 @@ index 0000000000000000000000000000000000000000..0037e6868a6cda8706c88194c6a4454b +} +late_initcall(of_cfs_init); -From fb5221ea9b5358df7d30ed456838f9cfcfd67d14 Mon Sep 17 00:00:00 2001 +From 20849553459552989d8cc985298c99ba6f0adaad Mon Sep 17 00:00:00 2001 From: Cheong2K Date: Fri, 26 Feb 2016 18:20:10 +0800 -Subject: [PATCH 089/134] brcm: adds support for BCM43341 wifi +Subject: [PATCH 089/139] brcm: adds support for BCM43341 wifi brcmfmac: Disable power management @@ -118832,10 +118832,10 @@ index d0407d9ad7827cd756b6311410ffe2d9a7cacc78..f1fb8a3c7a3211e8429585861f2f42e0 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 -From a36535202b621dd59dba7952eeebcf7f2d81fb6f Mon Sep 17 00:00:00 2001 +From 70a7564fc0027a683a3539110e5a6754dac33b6a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 17 Dec 2015 13:37:07 +0000 -Subject: [PATCH 090/134] hci_h5: Don't send conf_req when ACTIVE +Subject: [PATCH 090/139] hci_h5: Don't send conf_req when ACTIVE Without this patch, a modem and kernel can continuously bombard each other with conf_req and conf_rsp messages, in a demented game of tag. @@ -118858,10 +118858,10 @@ index 0879d64b1caf58afb6e5d494c07d9ab7e7cdf983..5161ab30fd533d50f516bb93d5b9f402 if (H5_HDR_LEN(hdr) > 2) h5->tx_win = (data[2] & 0x07); -From 2434e00537fdbd80459f25cdf125af27a8ab630e Mon Sep 17 00:00:00 2001 +From 9d5271f68b5c9a1a169536fb80aaec80d44be9fb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 091/134] config: Add default configs +Subject: [PATCH 091/139] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1297 +++++++++++++++++++++++++++++++++++ @@ -121488,10 +121488,10 @@ index 0000000000000000000000000000000000000000..8acee9f31202ec14f2933d92dd70831c +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From db14de80eae5f075013177aa631380afcb05f086 Mon Sep 17 00:00:00 2001 +From e04d08b7f6ef287f06762af05f3508b5282cc890 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Wed, 24 Aug 2016 03:35:56 -0700 -Subject: [PATCH 092/134] Add arm64 configuration and device tree differences. +Subject: [PATCH 092/139] Add arm64 configuration and device tree differences. Disable MMC_BCM2835_SDHOST and MMC_BCM2835 since these drivers are crashing at the moment. @@ -122906,10 +122906,10 @@ index 0000000000000000000000000000000000000000..d7406f5a4620151044b8f716b4d10bb8 +CONFIG_LIBCRC32C=y +CONFIG_BCM2708_VCHIQ=n -From b98806a2d5c897f6359fc42a09a653b0fc029cbe Mon Sep 17 00:00:00 2001 +From ef77c16713667c445b5550c388cf1dca491639f0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 7 Mar 2016 15:05:11 +0000 -Subject: [PATCH 093/134] vchiq_arm: Tweak the logging output +Subject: [PATCH 093/139] vchiq_arm: Tweak the logging output Signed-off-by: Phil Elwell --- @@ -122984,10 +122984,10 @@ index 2c98da4307dff994a00dc246574ef0aaee05d5da..160db24aeea33a8296923501009c1f02 switch (type) { -From 6b28a7f4581ccaa1baeb8af5dac2f4ed9b06ad63 Mon Sep 17 00:00:00 2001 +From 0f95c67791ea96a735a9a93b4c347c6ebfb7a9c3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 14:16:25 +0000 -Subject: [PATCH 094/134] vchiq_arm: Access the dequeue_pending flag locked +Subject: [PATCH 094/139] vchiq_arm: Access the dequeue_pending flag locked Reading through this code looking for another problem (now found in userland) the use of dequeue_pending outside a lock didn't seem safe. @@ -123045,10 +123045,10 @@ index 7b6cd4d80621e38ff6d47fcd87b45fbe9cd4259b..d8669fa7f39b077877eca1829ba9538b return add_completion(instance, reason, header, user_service, -From 3ce7ae49d9c71e54075603e74eb9887679b272e6 Mon Sep 17 00:00:00 2001 +From e607cd62de503c30cd471ddf601f2fe44e82e61b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 23 Mar 2016 20:53:47 +0000 -Subject: [PATCH 095/134] vchiq_arm: Service callbacks must not fail +Subject: [PATCH 095/139] vchiq_arm: Service callbacks must not fail Service callbacks are not allowed to return an error. The internal callback that delivers events and messages to user tasks does not enqueue them if @@ -123074,10 +123074,10 @@ index d8669fa7f39b077877eca1829ba9538bf2e21a82..54552c6ce54f413c9781ba279b936f98 DEBUG_TRACE(SERVICE_CALLBACK_LINE); } -From e09aed13cde0b013c3dc829cc11dd4755009dbf2 Mon Sep 17 00:00:00 2001 +From 2bbf9b6bc1589f85fa7defddeda75767620fe8be Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 21 Apr 2016 13:49:32 +0100 -Subject: [PATCH 096/134] vchiq_arm: Add completion records under the mutex +Subject: [PATCH 096/139] vchiq_arm: Add completion records under the mutex An issue was observed when flushing openmax components which generate a large number of messages returning @@ -123140,10 +123140,10 @@ index 54552c6ce54f413c9781ba279b936f98be4f47b0..bde8955b7d8505d73579b77b5b392154 return VCHIQ_SUCCESS; -From 2ad59fc567a571ac3406567be2449dbe5a08ce68 Mon Sep 17 00:00:00 2001 +From 8ec8b734304b94bf6fe137ce11dbb5cc5699857f Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jun 2016 13:51:44 +0100 -Subject: [PATCH 097/134] vchiq_arm: Avoid use of mutex in add_completion +Subject: [PATCH 097/139] vchiq_arm: Avoid use of mutex in add_completion Claiming the completion_mutex within add_completion did prevent some messages appearing twice, but provokes a deadlock caused by vcsm using @@ -123337,10 +123337,10 @@ index 160db24aeea33a8296923501009c1f02bc41e599..71a3bedc55314f3b22dbff40c05dedf0 up(&state->slot_available_event); } -From cc0bc6274e3d44b05436f48cdba31862ba4937df Mon Sep 17 00:00:00 2001 +From 33ed8507e5087e15a7d47eba88ea2d8ba537b58e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:14:10 -0700 -Subject: [PATCH 098/134] staging/vchi: Convert to current get_user_pages() +Subject: [PATCH 098/139] staging/vchi: Convert to current get_user_pages() arguments. Signed-off-by: Eric Anholt @@ -123377,10 +123377,10 @@ index e5cdda12c7e5c35c69eb96991cfdb8326def167f..085d37588c59198b4e5f00b9249bb842 num_pages, /* len */ 0, /* gup_flags */ -From 87235234800aba20c64cbf97a052cba10c581caf Mon Sep 17 00:00:00 2001 +From 960a154027491572193142b91ea470147f5b78eb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:16:03 -0700 -Subject: [PATCH 099/134] staging/vchi: Update for rename of +Subject: [PATCH 099/139] staging/vchi: Update for rename of page_cache_release() to put_page(). Signed-off-by: Eric Anholt @@ -123425,10 +123425,10 @@ index 085d37588c59198b4e5f00b9249bb8421695854f..5a2b8fb459ebe086ec229f37b6381bdb kfree(pages); } -From 372bbb7c542d1d989a53d1e70af22fc7a0884c25 Mon Sep 17 00:00:00 2001 +From d823ec3413a5c898c063a5eaccf15cd33b85384b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Oct 2016 10:21:17 -0700 -Subject: [PATCH 100/134] drivers/vchi: Remove dependency on CONFIG_BROKEN. +Subject: [PATCH 100/139] drivers/vchi: Remove dependency on CONFIG_BROKEN. The driver builds now. @@ -123450,10 +123450,10 @@ index 9676fb29075a457109e4d4235f086987aec74868..db8e1beb89f9f8c48ea5964016c8285e help Kernel to VideoCore communication interface for the -From 80a1ca08334ad74cb0e870af84a972f60605d6d9 Mon Sep 17 00:00:00 2001 +From 61faced7aea265c5f8c7c97bebad43870487391a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:16:19 +0100 -Subject: [PATCH 101/134] raspberrypi-firmware: Export the general transaction +Subject: [PATCH 101/139] raspberrypi-firmware: Export the general transaction function. The vc4-firmware-kms module is going to be doing the MBOX FB call. @@ -123497,10 +123497,10 @@ index e92278968b2b979db2a1f855f70e7aafb224fa98..09e3d871d110eb0762ebdb5ea3293537 #endif /* __SOC_RASPBERRY_FIRMWARE_H__ */ -From bfbef1101a1deb54de817f532523baed5673c0ce Mon Sep 17 00:00:00 2001 +From 57f7ed87633050a3d85e034e7b7cb8e98a39221b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 09:18:09 +0100 -Subject: [PATCH 102/134] raspberrypi-firmware: Define the MBOX channel in the +Subject: [PATCH 102/139] raspberrypi-firmware: Define the MBOX channel in the header. Signed-off-by: Eric Anholt @@ -123522,10 +123522,10 @@ index 09e3d871d110eb0762ebdb5ea329353738d58661..2859db09e25bb945251e85edb39bc434 enum rpi_firmware_property_status { -From db668e4bc2c656ec7faca7d50909dd2bdfdd6551 Mon Sep 17 00:00:00 2001 +From e9b66b168babeea1653429f662bc46af84726280 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 14 Sep 2016 08:39:33 +0100 -Subject: [PATCH 103/134] drm/vc4: Add a mode for using the closed firmware for +Subject: [PATCH 103/139] drm/vc4: Add a mode for using the closed firmware for display. Signed-off-by: Eric Anholt @@ -124292,10 +124292,10 @@ index 0000000000000000000000000000000000000000..d18a1dae51a2275846c9826b5bf1ba57 + }, +}; -From 6ccc0e1a0a5c11130284f6540ec6c8b3eec63a6d Mon Sep 17 00:00:00 2001 +From c7de77a3b61cd7c25ff21718accb59c450fee7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 17 Sep 2016 15:07:10 +0200 -Subject: [PATCH 104/134] i2c: bcm2835: Fix hang for writing messages larger +Subject: [PATCH 104/139] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124385,10 +124385,10 @@ index d4f3239b56865919e1b781b20a7c5ebcd76b4eb9..f283b714aa79e2e4685ed95b04b6b289 i2c_dev->msg_buf_remaining = msg->len; reinit_completion(&i2c_dev->completion); -From d7c7424d35bd005366082b27b2c15c79c4299e9a Mon Sep 17 00:00:00 2001 +From 941e536573397dad8f185229ce551086147e4034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 18:24:38 +0200 -Subject: [PATCH 105/134] i2c: bcm2835: Protect against unexpected TXW/RXR +Subject: [PATCH 105/139] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124513,10 +124513,10 @@ index f283b714aa79e2e4685ed95b04b6b289f7e9eee7..d2ba1a4de36af512e8e3c97251bd3537 return -ETIMEDOUT; } -From d401a1ea7579cee049184fa8e5af53b565bb1862 Mon Sep 17 00:00:00 2001 +From 80dabefa408508ca2b10b346381468eb25dce381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 19 Sep 2016 17:19:41 +0200 -Subject: [PATCH 106/134] i2c: bcm2835: Use dev_dbg logging on transfer errors +Subject: [PATCH 106/139] i2c: bcm2835: Use dev_dbg logging on transfer errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124548,10 +124548,10 @@ index d2ba1a4de36af512e8e3c97251bd3537ae61591a..54d510abd46a117c9238fc6d7edec840 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From 127cea87fd8e91355a306988f3f1e3167a9a41fd Mon Sep 17 00:00:00 2001 +From 1618e4b4cad41f57aaecb6ac9933ec064d6cd6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Thu, 22 Sep 2016 22:05:50 +0200 -Subject: [PATCH 107/134] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK +Subject: [PATCH 107/139] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124595,10 +124595,10 @@ index 54d510abd46a117c9238fc6d7edec84019d1f60d..565ef69ce61423544dc0558c85ef318b if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) -From ac0ba169b00fe2d3595bbbac9dadfdeb85525b39 Mon Sep 17 00:00:00 2001 +From 0c3bd05e48d35df85fffbccba070ab8f1e7a7169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 04:54:27 +0200 -Subject: [PATCH 108/134] i2c: bcm2835: Add support for Repeated Start +Subject: [PATCH 108/139] i2c: bcm2835: Add support for Repeated Start Condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -124780,10 +124780,10 @@ index 565ef69ce61423544dc0558c85ef318b0ae9c324..241e08ae7c27cec23fad3c1bf3ebad3a static u32 bcm2835_i2c_func(struct i2c_adapter *adap) -From 1a43f0205896bf4e23c4f91a059b9ba0be8ca329 Mon Sep 17 00:00:00 2001 +From 2808e1610e59d749957295cb78fbed011d8ee295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 23 Sep 2016 04:57:17 +0200 -Subject: [PATCH 109/134] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT +Subject: [PATCH 109/139] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124820,10 +124820,10 @@ index 241e08ae7c27cec23fad3c1bf3ebad3a4d2a8e6f..d2085dd3742eabebc537621968088261 bcm2835_i2c_writel(i2c_dev, BCM2835_I2C_C, BCM2835_I2C_C_CLEAR); -From 747792a41ddc79e739a7218eaef3834d6459146c Mon Sep 17 00:00:00 2001 +From a8c408645977ebe2b4d7a0bd51a14edde0ab5750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 27 Sep 2016 01:00:08 +0200 -Subject: [PATCH 110/134] i2c: bcm2835: Add support for dynamic clock +Subject: [PATCH 110/139] i2c: bcm2835: Add support for dynamic clock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -124939,10 +124939,10 @@ index d2085dd3742eabebc537621968088261f8dc7ea8..c3436f627028477f7e21b47e079fd5ab irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); if (!irq) { -From fe3e36bc94c365e08a6d7058820127adfd6d3e50 Mon Sep 17 00:00:00 2001 +From fef62f9d68bb934e05f2b9e219d02c77dd3526e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 1 Nov 2016 15:15:41 +0100 -Subject: [PATCH 111/134] i2c: bcm2835: Add debug support +Subject: [PATCH 111/139] i2c: bcm2835: Add debug support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -125131,10 +125131,10 @@ index c3436f627028477f7e21b47e079fd5ab06ec188a..8642f580ce41803bd22c76a0fa80d083 if (i2c_dev->msg_err & BCM2835_I2C_S_ERR) return -EREMOTEIO; -From a3be80e26d1b9ead054c36430dd228675296d5b1 Mon Sep 17 00:00:00 2001 +From a798a1ab516c19e7f02827001ed82a40b493d328 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 31 Dec 2016 14:15:50 +0000 -Subject: [PATCH 112/134] arm64: Add CONFIG_ARCH_BCM2835 +Subject: [PATCH 112/139] arm64: Add CONFIG_ARCH_BCM2835 --- arch/arm64/configs/bcmrpi3_defconfig | 1 + @@ -125150,10 +125150,10 @@ index d7406f5a4620151044b8f716b4d10bb818648e06..53da5c7a33e5898a66e549fb0c39fe3d CONFIG_BCM2708_VCHIQ=n +CONFIG_ARCH_BCM2835=y -From 58abfccb254ac30d1901197cb6dba4f3305b42a7 Mon Sep 17 00:00:00 2001 +From 077b0728cbdd7fdf11b7818f2775d80fcfe72fce Mon Sep 17 00:00:00 2001 From: Alex Tucker Date: Tue, 13 Dec 2016 19:50:18 +0000 -Subject: [PATCH 113/134] Add support for Silicon Labs Si7013/20/21 +Subject: [PATCH 113/139] Add support for Silicon Labs Si7013/20/21 humidity/temperature sensor. --- @@ -125228,10 +125228,10 @@ index f6d134c095af2398fc55ae7d2b0e86456c30627c..31bda8da4cb6a56bfe493a81b9189009 }; }; -From 5ad2b5fd905aa4e457b8b7e078f08f31bad550a8 Mon Sep 17 00:00:00 2001 +From 3d970e2d6c45cd3cf3f25435b0bec4cd0775c141 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 3 Jan 2017 21:27:46 +0000 -Subject: [PATCH 114/134] Document the si7020 option +Subject: [PATCH 114/139] Document the si7020 option --- arch/arm/boot/dts/overlays/README | 3 +++ @@ -125252,10 +125252,10 @@ index 81d991803be335e5a1bc3bb0a8c7a2c9f5c392bd..e8fa4ccb44c34a20485c4e6155467af9 Name: i2c0-bcm2708 Info: Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations -From a9b02eaf2fa1c8202e05e4ac531fa66d3b3adec0 Mon Sep 17 00:00:00 2001 +From a4c802e176d7068e4e2a54e13dd618106b907951 Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Thu, 5 Jan 2017 02:38:16 +0200 -Subject: [PATCH 115/134] pisound improvements: +Subject: [PATCH 115/139] pisound improvements: * Added a writable sysfs object to enable scripts / user space software to blink MIDI activity LEDs for variable duration. @@ -125549,10 +125549,10 @@ index 4b8545487d06e4ea70073a5d063fb2310b3b94d0..ba70734b89e61a11201657406223f0b3 }; -From 726c7bc616aaa7d8938b9820fdb7dd20459da57e Mon Sep 17 00:00:00 2001 +From 8772981b127180376c08ad97f60c53e051f15ee4 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jan 2017 09:23:06 +0000 -Subject: [PATCH 116/134] Revert "Revert "Added driver for HiFiBerry Amp +Subject: [PATCH 116/139] Revert "Revert "Added driver for HiFiBerry Amp amplifier add-on board"" This reverts commit bf84babd8fffcb79c60f1342c2416f8e1e4b7af9. @@ -126376,10 +126376,10 @@ index 0000000000000000000000000000000000000000..8f019e04898754d2f87e9630137be9e8 + +#endif /* _TAS5713_H */ -From de150aa680aed90b667292e20c05d13744b942f6 Mon Sep 17 00:00:00 2001 +From 1305f68f9d7ce514916dc714db51271d53f2d953 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 9 Jan 2017 09:42:09 +0000 -Subject: [PATCH 117/134] hifiberry-amp: Adjust for ALSA object refactoring +Subject: [PATCH 117/139] hifiberry-amp: Adjust for ALSA object refactoring See: https://github.com/raspberrypi/linux/issues/1775 --- @@ -126404,10 +126404,10 @@ index 9b2713861dcbed751842ca29c88eb1eae5867411..560234d58a6b0a6e7fd3a63e8de73339 -From e206c438c1cd35fc4b23ff002bd9352ea3c57764 Mon Sep 17 00:00:00 2001 +From 0750f5306b7f5354cbae714ade4299c7384f5976 Mon Sep 17 00:00:00 2001 From: Giedrius Trainavicius Date: Sun, 8 Jan 2017 15:58:54 +0200 -Subject: [PATCH 118/134] bcm2835-i2s: Changes for allowing asymmetric sample +Subject: [PATCH 118/139] bcm2835-i2s: Changes for allowing asymmetric sample formats. This is achieved by making changes only to the requested @@ -126497,10 +126497,10 @@ index 6ba20498202ed36906b52096893a88867a79269f..171c2401dfe192740fca3356268aff64 mode |= BCM2835_I2S_FLEN(bclk_ratio - 1); -From 2209bb85f9812e1af3bf52b95c7ad0bef6ff0e32 Mon Sep 17 00:00:00 2001 +From 23f372d8a0d0b4266666eba1713f4c5496058a1a Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Tue, 10 Jan 2017 16:05:41 +0000 -Subject: [PATCH 119/134] Add driver_name property +Subject: [PATCH 119/139] Add driver_name property Add driver name property for use with 5.1 passthrough audio in LibreElec and other Kodi based OSs --- @@ -126520,10 +126520,10 @@ index 8fd50dbe681508a2cfe8fdde1c9fedbe9a507fa7..05a224ec712d06b8b7587ab6b8bb562d .dai_link = snd_rpi_justboom_dac_dai, .num_links = ARRAY_SIZE(snd_rpi_justboom_dac_dai), -From d1113e6c53f6bf1cf9532098833c6750870d0b39 Mon Sep 17 00:00:00 2001 +From 65d9e9253f3bc64368fa976a9576183934539c81 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Tue, 10 Jan 2017 16:11:04 +0000 -Subject: [PATCH 120/134] Add driver_name paramater +Subject: [PATCH 120/139] Add driver_name paramater Add driver_name parameter for use with 5.1 passthrough audio in LibreElec and other Kodi OSs --- @@ -126543,10 +126543,10 @@ index 91acb666380faa3c0deb2230f8a0f8bbec59417b..abfdc5c4dd5811e6847bddda4921abe3 .dai_link = snd_rpi_justboom_digi_dai, .num_links = ARRAY_SIZE(snd_rpi_justboom_digi_dai), -From b270220966e4026c75c2fe31fe3718d595b0f79c Mon Sep 17 00:00:00 2001 +From 8861f1451d4532760b01fdedf18306edc4397a9b Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 11 Jan 2017 13:01:21 +0000 -Subject: [PATCH 121/134] BCM270X_DT: Add pi3-disable-wifi overlay +Subject: [PATCH 121/139] BCM270X_DT: Add pi3-disable-wifi overlay pi3-disable-wifi is a minimal overlay to disable the onboard WiFi. @@ -126607,10 +126607,10 @@ index 0000000000000000000000000000000000000000..017199554bf2f4e381efcc7bb71e750c + }; +}; -From eb0c981d20c157237081ee38139eb882c07e1b8d Mon Sep 17 00:00:00 2001 +From f1d7c34483947523bd055a8e69ca220bbbeefa95 Mon Sep 17 00:00:00 2001 From: Electron752 Date: Thu, 12 Jan 2017 07:07:08 -0800 -Subject: [PATCH 122/134] ARM64: Make it work again on 4.9 (#1790) +Subject: [PATCH 122/139] ARM64: Make it work again on 4.9 (#1790) * Invoke the dtc compiler with the same options used in arm mode. * ARM64 now uses the bcm2835 platform just like ARM32. @@ -127015,10 +127015,10 @@ index 53da5c7a33e5898a66e549fb0c39fe3da555ca87..c7e891d72969a388d9b135a36dbfc9c9 -CONFIG_BCM2708_VCHIQ=n -CONFIG_ARCH_BCM2835=y -From 72e3ae4c1ceca2b4d4936e073c7e27a6e71e8422 Mon Sep 17 00:00:00 2001 +From 213c141365e1bc09ad95ebb92461cabeb4421e1f Mon Sep 17 00:00:00 2001 From: Electron752 Date: Sat, 14 Jan 2017 02:54:26 -0800 -Subject: [PATCH 123/134] ARM64: Enable Kernel Address Space Randomization +Subject: [PATCH 123/139] ARM64: Enable Kernel Address Space Randomization (#1792) Randomization allows the mapping between virtual addresses and physical @@ -127050,10 +127050,10 @@ index c7e891d72969a388d9b135a36dbfc9c9cb609bf8..974d8889c0cf695eb88b57bbef11bc5a CONFIG_BINFMT_MISC=y CONFIG_COMPAT=y -From b0ebc73b4730d969fd93f98e11fd2c714e0c70eb Mon Sep 17 00:00:00 2001 +From a23e36748b488b77cb92d28aa2642e1b350e6c40 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sun, 15 Jan 2017 07:31:59 -0800 -Subject: [PATCH 124/134] ARM64: Enable RTL8187/RTL8192CU wifi in build config +Subject: [PATCH 124/139] ARM64: Enable RTL8187/RTL8192CU wifi in build config These drivers build now, so they can be enabled back in the build configuration just like they are for @@ -127078,10 +127078,10 @@ index 974d8889c0cf695eb88b57bbef11bc5aa556b635..4670a490dfb1e582ec24a3b39a3cb9b2 CONFIG_ZD1211RW=m CONFIG_MAC80211_HWSIM=m -From 5cfb07ee56c8feeeeb1c4183ba7b4935b1fc52f9 Mon Sep 17 00:00:00 2001 +From a8a16dca4352540a2a26cba7afc6d6368ac8c976 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 16 Jan 2017 14:53:12 +0000 -Subject: [PATCH 125/134] BCM270X_DT: Add spi0-cs overlay +Subject: [PATCH 125/139] BCM270X_DT: Add spi0-cs overlay The spi0-cs overlay allows the software chip selectts to be modified using the cs0_pin and cs1_pin parameters. @@ -127169,10 +127169,10 @@ index 0000000000000000000000000000000000000000..7f79029d043c04d7496c7c3480450c69 + }; +}; -From 9881b0b74df863a5a7137501cdd2be5b5ef0ea95 Mon Sep 17 00:00:00 2001 +From cebce60296ccea936da1bb65b375d34a47f9a7a3 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 1 Jul 2016 22:09:24 +0100 -Subject: [PATCH 126/134] spi-bcm2835: Disable forced software CS +Subject: [PATCH 126/139] spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an @@ -127186,7 +127186,7 @@ Signed-off-by: Phil Elwell 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi -index 46d46d894a441d69dcf784fb2cf54d4d72038aa0..8c495461f9b850cc985d074d275446741a7367c1 100644 +index 74dd21b7373c7564ede01d84a4f63b93a6d52fa7..51cdefbf5eb265f49bd05e0aa91dfbeee3fbfdcc 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -163,6 +163,7 @@ @@ -127198,10 +127198,10 @@ index 46d46d894a441d69dcf784fb2cf54d4d72038aa0..8c495461f9b850cc985d074d27544674 i2c0: i2c@7e205000 { -From f15f5d9aae4f58c8a5e34dda0a0fd39e8bdc7038 Mon Sep 17 00:00:00 2001 +From 69d606cb7dfc53bcf40db15d33907cff2e116377 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 16 Jan 2017 16:33:54 +0000 -Subject: [PATCH 127/134] config: Add CONFIG_TCP_CONG_BBR See: +Subject: [PATCH 127/139] config: Add CONFIG_TCP_CONG_BBR See: https://github.com/raspberrypi/linux/issues/1784 --- @@ -127236,10 +127236,10 @@ index 8acee9f31202ec14f2933d92dd70831cda8d7b51..219f67051a2542329449b0099165ae28 CONFIG_IPV6_ROUTER_PREF=y CONFIG_INET6_AH=m -From 85b18a877b438173510fd3321c352ec4798af369 Mon Sep 17 00:00:00 2001 +From 029f0e68448aa9b9300572798dace30b33d6a85c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 16 Jan 2017 21:02:26 +0000 -Subject: [PATCH 128/134] Revert "bcm2835-i2s: Changes for allowing asymmetric +Subject: [PATCH 128/139] Revert "bcm2835-i2s: Changes for allowing asymmetric sample formats." This reverts commit f5a6236a32e82068122301d246a94ca755d61704. @@ -127329,10 +127329,10 @@ index 171c2401dfe192740fca3356268aff6432f284ea..6ba20498202ed36906b52096893a8886 mode |= BCM2835_I2S_FLEN(bclk_ratio - 1); -From c67772d046e0be6cdd03f1988e96061ef094dc38 Mon Sep 17 00:00:00 2001 +From a3aab7c7a31e0f19658fd8d8e7f46d1824bfe506 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Jan 2017 11:34:58 +0000 -Subject: [PATCH 129/134] BCM270X_DT: Enable UART0 on CM3 +Subject: [PATCH 129/139] BCM270X_DT: Enable UART0 on CM3 Signed-off-by: Phil Elwell --- @@ -127355,10 +127355,10 @@ index 41874c25a84226c0e4af92ec4059e0a571fe6123..3ba6e621856c288ae4694f758604619f sdhost_pins: sdhost_pins { brcm,pins = <48 49 50 51 52 53>; -From 987ddddbd9e217139271b694a63e5ffa6b701e3b Mon Sep 17 00:00:00 2001 +From 63b95220a23a4b780cdc016ef11a656e06936edb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 17 Jan 2017 14:39:39 +0000 -Subject: [PATCH 130/134] config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR +Subject: [PATCH 130/139] config: Add CONFIG_MD_M25P80 and CONFIG_MD_SPI_NOR See: https://github.com/raspberrypi/linux/issues/1781 @@ -127397,10 +127397,10 @@ index 219f67051a2542329449b0099165ae2885022bec..c4898d63d74718097ec3a1d1fe60b230 CONFIG_OF_CONFIGFS=y CONFIG_ZRAM=m -From 85507b8e0b3e2af94990295bb57245d3a03b9ab2 Mon Sep 17 00:00:00 2001 +From 3fc9aaeb72fe6ff39b5777f5d542c75309eb1f6e Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:33:51 -0800 -Subject: [PATCH 131/134] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 +Subject: [PATCH 131/139] ARM64/DWC_OTG: Port dwc_otg driver to ARM64 In ARM64, the FIQ mechanism used by this driver is not current implemented. As a workaround, reqular IRQ is used instead @@ -127743,10 +127743,10 @@ index 6b2c7d0c93f36a63863ff4b0ecc1f3eab77e058b..d7b700ff17821ad1944e36721fe6b2db /** The OS page size */ #define DWC_OS_PAGE_SIZE PAGE_SIZE -From c0ca30febe35347688b89c2f430c1a43d233a9ac Mon Sep 17 00:00:00 2001 +From 4661054b08d26185d9478a047b7adbdcaad41c15 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:43:57 -0800 -Subject: [PATCH 132/134] ARM64: Round-Robin dispatch IRQs between CPUs. +Subject: [PATCH 132/139] ARM64: Round-Robin dispatch IRQs between CPUs. IRQ-CPU mapping is round robined on ARM64 to increase concurrency and allow multiple interrupts to be serviced @@ -127820,10 +127820,10 @@ index 93e3f7660c4230c9f1dd3b195958cb498949b0ca..486bcbfb32305ee417f6b3be7e91a3ff .name = "bcm2836-gpu", .irq_mask = bcm2836_arm_irqchip_mask_gpu_irq, -From 667471d1b58e6e1de17ed10c34d3fbcc305e8454 Mon Sep 17 00:00:00 2001 +From 19fce0d36b798ccb0dbb2d88333016288b7ef057 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:45:03 -0800 -Subject: [PATCH 133/134] ARM64: Enable DWC_OTG Driver In ARM64 Build +Subject: [PATCH 133/139] ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig) Signed-off-by: Michael Zoran @@ -127844,10 +127844,10 @@ index 4670a490dfb1e582ec24a3b39a3cb9b2488b1864..8c4392344eb4495689c220d5d176ee8c CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From fb934b0cc84d66fef97adf16c2f74b099e3e3e50 Mon Sep 17 00:00:00 2001 +From d4826d1d4392d61641fd32ddf94c11e1783275a3 Mon Sep 17 00:00:00 2001 From: Michael Zoran Date: Sat, 14 Jan 2017 21:46:04 -0800 -Subject: [PATCH 134/134] ARM64: Use dwc_otg driver by default for USB. +Subject: [PATCH 134/139] ARM64: Use dwc_otg driver by default for USB. If it breaks on anybody, they can use the standard device tree overlays to switch back to the dwc2 driver. @@ -127872,3 +127872,517 @@ index f6def5d7e5d622cf09e8f87332c7374fe28da08b..3e134a1208610b90e2d0fc22f03c6e9f - interrupts = <1 9>; -}; -#endif + +From a8b968f7966dfbf0f3133ea5aeaa9050346a8c9c Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 23 Jan 2017 17:36:50 +0000 +Subject: [PATCH 135/139] BCM270X_DT: Add reference to audio_pins to CM dtb + +The CM1 dtb contains an empty audio_pins node, but no reference to it. +Adding the usual pinctrl reference from the audio node enables the +audremap overlay (and others) to easily turn on audio. + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/bcm2708-rpi-cm.dts | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/arch/arm/boot/dts/bcm2708-rpi-cm.dts b/arch/arm/boot/dts/bcm2708-rpi-cm.dts +index eb8662f0d222b4c0a9a2bcb8bccb13e86a0006b3..10be69972bd1440f574e35d515f3d6a0505fd869 100644 +--- a/arch/arm/boot/dts/bcm2708-rpi-cm.dts ++++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dts +@@ -85,6 +85,11 @@ + pinctrl-0 = <&i2s_pins>; + }; + ++&audio { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&audio_pins>; ++}; ++ + &hdmi { + hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; + }; + +From 79679ab90389ab1f6a322adea03406ad98593925 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Wed, 25 Jan 2017 11:30:38 +0000 +Subject: [PATCH 136/139] config: Add additional network scheduling modules + +--- + arch/arm/configs/bcm2709_defconfig | 4 ++++ + arch/arm/configs/bcmrpi_defconfig | 4 ++++ + 2 files changed, 8 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index d5d699e175025e5d928fcac04d22d1508e0b5fde..a02d5ebf170be870acb715cc30611bc57e7fd39b 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -296,6 +296,7 @@ CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m + CONFIG_NET_SCH_HFSC=m ++CONFIG_NET_SCH_ATM=m + CONFIG_NET_SCH_PRIO=m + CONFIG_NET_SCH_MULTIQ=m + CONFIG_NET_SCH_RED=m +@@ -312,6 +313,9 @@ CONFIG_NET_SCH_CHOKE=m + CONFIG_NET_SCH_QFQ=m + CONFIG_NET_SCH_CODEL=m + CONFIG_NET_SCH_FQ_CODEL=m ++CONFIG_NET_SCH_FQ=m ++CONFIG_NET_SCH_HHF=m ++CONFIG_NET_SCH_PIE=m + CONFIG_NET_SCH_INGRESS=m + CONFIG_NET_SCH_PLUG=m + CONFIG_NET_CLS_BASIC=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index c4898d63d74718097ec3a1d1fe60b2307a6a3140..b448eaa866c200f48351819072c7fefcd8ad8132 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -292,6 +292,7 @@ CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m + CONFIG_NET_SCH_HFSC=m ++CONFIG_NET_SCH_ATM=m + CONFIG_NET_SCH_PRIO=m + CONFIG_NET_SCH_MULTIQ=m + CONFIG_NET_SCH_RED=m +@@ -308,6 +309,9 @@ CONFIG_NET_SCH_CHOKE=m + CONFIG_NET_SCH_QFQ=m + CONFIG_NET_SCH_CODEL=m + CONFIG_NET_SCH_FQ_CODEL=m ++CONFIG_NET_SCH_FQ=m ++CONFIG_NET_SCH_HHF=m ++CONFIG_NET_SCH_PIE=m + CONFIG_NET_SCH_INGRESS=m + CONFIG_NET_SCH_PLUG=m + CONFIG_NET_CLS_BASIC=m + +From a0de1f189fb2a259b2c43b312c006284d08f26c6 Mon Sep 17 00:00:00 2001 +From: chris johnson +Date: Sun, 22 Jan 2017 03:27:31 +0000 +Subject: [PATCH 137/139] ASoC: A simple-card overlay for ADAU7002 + +Usage: `dtoverlay=adau7002-simple` +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 6 +++ + .../boot/dts/overlays/adau7002-simple-overlay.dts | 52 ++++++++++++++++++++++ + 3 files changed, 59 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 45fafd5c39bdc6e80b12e49d3bcd281638bec471..842098be7776ae9005528b87a13890341bb4097f 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -2,6 +2,7 @@ + + dtbo-$(CONFIG_ARCH_BCM2835) += \ + adau1977-adc.dtbo \ ++ adau7002-simple.dtbo \ + ads1015.dtbo \ + ads7846.dtbo \ + akkordion-iqdacplus.dtbo \ +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 4992a6203a5507144b6d405e03ed2bebaa11325f..2f542a810c3f200939f5996d62b118392ae0b14e 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -168,6 +168,12 @@ Load: dtoverlay=adau1977-adc + Params: + + ++Name: adau7002-simple ++Info: Overlay for the activation of ADAU7002 stereo PDM to I2S converter. ++Load: dtoverlay=adau7002-simple,= ++Params: card-name Override the default, "adau7002", card name. ++ ++ + Name: ads1015 + Info: Overlay for activation of Texas Instruments ADS1015 ADC over I2C + Load: dtoverlay=ads1015,= +diff --git a/arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts b/arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts +new file mode 100644 +index 0000000000000000000000000000000000000000..e67e6625d7967abc92cf00cb604d4c12fd76b377 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/adau7002-simple-overlay.dts +@@ -0,0 +1,52 @@ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target = <&i2s>; ++ __overlay__ { ++ status = "okay"; ++ }; ++ }; ++ ++ fragment@1 { ++ target-path = "/"; ++ __overlay__ { ++ adau7002_codec: adau7002-codec { ++ #sound-dai-cells = <0>; ++ compatible = "adi,adau7002"; ++/* IOVDD-supply = <&supply>;*/ ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&sound>; ++ sound_overlay: __overlay__ { ++ compatible = "simple-audio-card"; ++ simple-audio-card,format = "i2s"; ++ simple-audio-card,name = "adau7002"; ++ simple-audio-card,bitclock-slave = <&dailink0_slave>; ++ simple-audio-card,frame-slave = <&dailink0_slave>; ++ simple-audio-card,widgets = ++ "Microphone", "Microphone Jack"; ++ simple-audio-card,routing = ++ "PDM_DAT", "Microphone Jack"; ++ status = "okay"; ++ simple-audio-card,cpu { ++ sound-dai = <&i2s>; ++ }; ++ dailink0_slave: simple-audio-card,codec { ++ sound-dai = <&adau7002_codec>; ++ }; ++ }; ++ }; ++ ++ ++ __overrides__ { ++ card-name = <&sound_overlay>,"simple-audio-card,name"; ++ }; ++}; + +From 7ff4705c04925daf6bd6069bfb1f6be3a9aeef02 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Wed, 25 Jan 2017 21:17:23 +0000 +Subject: [PATCH 138/139] config: Add SND_SOC_ADAU7002 codec module + +As there is now an overlay requiring it, build the codec module. + +Signed-off-by: Phil Elwell +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index a02d5ebf170be870acb715cc30611bc57e7fd39b..31163b59b9c6f2cc4f4f94afe1b10bd1a195470f 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -884,6 +884,7 @@ CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m + CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m + CONFIG_SND_PISOUND=m + CONFIG_SND_SOC_ADAU1701=m ++CONFIG_SND_SOC_ADAU7002=m + CONFIG_SND_SOC_AK4554=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 b448eaa866c200f48351819072c7fefcd8ad8132..5105a592c9bcfee1cc6a8b50fd1c6c32f1381158 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -878,6 +878,7 @@ CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m + CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m + CONFIG_SND_PISOUND=m + CONFIG_SND_SOC_ADAU1701=m ++CONFIG_SND_SOC_ADAU7002=m + CONFIG_SND_SOC_AK4554=m + CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m + +From 705dd53e3dcd7630d59774ba7f7a980be45c7e9b Mon Sep 17 00:00:00 2001 +From: Scott Ellis +Date: Fri, 27 Jan 2017 06:42:42 -0500 +Subject: [PATCH 139/139] Add overlay for mcp3008 adc (#1818) + +Some example usage: + +SPI0.0 +dtparam=spi=on +dtoverlay=mcp3008:spi0-0-present + +SPI0.1 +dtparam=spi=on +dtoverlay=mcp3008:spi0-1-present + +SPI0.0 and SPI0.1 +dtparam=spi=on +dtoverlay=mcp3008:spi0-0-present,spi0-1-present + +SPI1.0 +dtparam=spi=on +dtoverlay=spi1-1cs +dtoverlay=mcp3008:spi1-0-present + +SPI1.2 +dtparam=spi=on +dtoverlay=spi1-1cs:cs0_pin=16 +dtoverlay=mcp3008:spi1-0-present + +SPI1.0 and SPI1.1 +dtoverlay=spi1-2cs +dtoverlay=mcp3008:spi1-0-present,spi1-1-present + +Changing the speed + +SPI0.0 +dtparam=spi=on +dtoverlay=mcp3008:spi0-0-present,spi0-0-speed=2000000 +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 9 ++ + arch/arm/boot/dts/overlays/mcp3008-overlay.dts | 205 +++++++++++++++++++++++++ + 3 files changed, 215 insertions(+) + create mode 100755 arch/arm/boot/dts/overlays/mcp3008-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 842098be7776ae9005528b87a13890341bb4097f..e915dff8a4cdf5af3df0aa519b3ee08dd970d831 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -47,6 +47,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ + mcp23s17.dtbo \ + mcp2515-can0.dtbo \ + mcp2515-can1.dtbo \ ++ mcp3008.dtbo \ + midi-uart0.dtbo \ + mmc.dtbo \ + mz61581.dtbo \ +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 2f542a810c3f200939f5996d62b118392ae0b14e..aa9b6128c397b33e9c40eec29476d8352933c237 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -742,6 +742,15 @@ Params: oscillator Clock frequency for the CAN controller (Hz) + interrupt GPIO for interrupt signal + + ++Name: mcp3008 ++Info: Configures MCP3008 A/D converters ++ For devices on spi1 or spi2, the interfaces should be enabled ++ with one of the spi1-1/2/3cs and/or spi2-1/2/3cs overlays. ++Load: dtoverlay=mcp3008,[=] ++Params: spi--present boolean, configure device at spi, cs ++ spi--speed integer, set the spi bus speed for this device ++ ++ + Name: midi-uart0 + Info: Configures UART0 (ttyAMA0) so that a requested 38.4kbaud actually gets + 31.25kbaud, the frequency required for MIDI +diff --git a/arch/arm/boot/dts/overlays/mcp3008-overlay.dts b/arch/arm/boot/dts/overlays/mcp3008-overlay.dts +new file mode 100755 +index 0000000000000000000000000000000000000000..06bf4264959c380d8a9f90f74e7803972d399b2a +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/mcp3008-overlay.dts +@@ -0,0 +1,205 @@ ++/* ++ * Device tree overlay for Microchip mcp3008 10-Bit A/D Converters ++ */ ++ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709"; ++ ++ fragment@0 { ++ target = <&spidev0>; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&spidev1>; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@2 { ++ target-path = "spi1/spidev@0"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@3 { ++ target-path = "spi1/spidev@1"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@4 { ++ target-path = "spi1/spidev@2"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@5 { ++ target-path = "spi2/spidev@0"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@6 { ++ target-path = "spi2/spidev@1"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@7 { ++ target-path = "spi2/spidev@2"; ++ __dormant__ { ++ status = "disabled"; ++ }; ++ }; ++ ++ fragment@8 { ++ target = <&spi0>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_00: mcp3008@0 { ++ compatible = "mcp3008"; ++ reg = <0>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@9 { ++ target = <&spi0>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_01: mcp3008@1 { ++ compatible = "mcp3008"; ++ reg = <1>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@10 { ++ target = <&spi1>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_10: mcp3008@0 { ++ compatible = "mcp3008"; ++ reg = <0>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@11 { ++ target = <&spi1>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_11: mcp3008@1 { ++ compatible = "mcp3008"; ++ reg = <1>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@12 { ++ target = <&spi1>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_12: mcp3008@2 { ++ compatible = "mcp3008"; ++ reg = <2>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@13 { ++ target = <&spi2>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_20: mcp3008@0 { ++ compatible = "mcp3008"; ++ reg = <0>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@14 { ++ target = <&spi2>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_21: mcp3008@1 { ++ compatible = "mcp3008"; ++ reg = <1>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ fragment@15 { ++ target = <&spi2>; ++ __dormant__ { ++ status = "okay"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ mcp3008_22: mcp3008@2 { ++ compatible = "mcp3008"; ++ reg = <2>; ++ spi-max-frequency = <1600000>; ++ }; ++ }; ++ }; ++ ++ __overrides__ { ++ spi0-0-present = <0>, "+0+8"; ++ spi0-1-present = <0>, "+1+9"; ++ spi1-0-present = <0>, "+2+10"; ++ spi1-1-present = <0>, "+3+11"; ++ spi1-2-present = <0>, "+4+12"; ++ spi2-0-present = <0>, "+5+13"; ++ spi2-1-present = <0>, "+6+14"; ++ spi2-2-present = <0>, "+7+15"; ++ spi0-0-speed = <&mcp3008_00>, "spi-max-frequency:0"; ++ spi0-1-speed = <&mcp3008_01>, "spi-max-frequency:0"; ++ spi1-0-speed = <&mcp3008_10>, "spi-max-frequency:0"; ++ spi1-1-speed = <&mcp3008_11>, "spi-max-frequency:0"; ++ spi1-2-speed = <&mcp3008_12>, "spi-max-frequency:0"; ++ spi2-0-speed = <&mcp3008_20>, "spi-max-frequency:0"; ++ spi2-1-speed = <&mcp3008_21>, "spi-max-frequency:0"; ++ spi2-2-speed = <&mcp3008_22>, "spi-max-frequency:0"; ++ }; ++};