diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index e1d0820632..ef27fb2fb1 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 839892fb323f851df87d53988607afedf3dd830b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 01/78] Main bcm2708 linux port +Subject: [PATCH 01/79] Main bcm2708 linux port Signed-off-by: popcornmix --- @@ -8676,7 +8676,7 @@ index 08abe99..544da76 100644 From da440b37d0d7441018381f8444219096b7b0bb1b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 7 May 2013 22:20:24 +0100 -Subject: [PATCH 02/78] Add quick config. +Subject: [PATCH 02/79] Add quick config. This is designed for quick compiling when developing. No modules are needed and it includes all Pi specific drivers @@ -8892,7 +8892,7 @@ index 0000000..e5efe75 From 902e25dd4eaa08f290dbe28741cfa19f135e9574 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 03/78] Add dwc_otg driver +Subject: [PATCH 03/79] Add dwc_otg driver Signed-off-by: popcornmix --- @@ -65964,7 +65964,7 @@ index 0000000..cdc9963 From 6b87ca694e19511ee495315977066f3df32cbadc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:54:32 +0100 -Subject: [PATCH 04/78] bcm2708 watchdog driver +Subject: [PATCH 04/79] bcm2708 watchdog driver Signed-off-by: popcornmix --- @@ -66395,7 +66395,7 @@ index 0000000..8a27d68 From 75f85908f5c7346bcfae244d2de54469e7a34b98 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:55:09 +0100 -Subject: [PATCH 05/78] bcm2708 framebuffer driver +Subject: [PATCH 05/79] bcm2708 framebuffer driver Signed-off-by: popcornmix --- @@ -69442,7 +69442,7 @@ index 3c14e43..7626beb 100644 From 39f45149b0b1b89e9c6e87d79de37b754008c3d3 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 06/78] Speed up console framebuffer imageblit function +Subject: [PATCH 06/79] 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 @@ -69654,7 +69654,7 @@ index a2bb276..436494f 100644 From dab41a03d19951dcf0af36647b7bcfc716fa46ce Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 07/78] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 07/79] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -69750,7 +69750,7 @@ index fb795c3..fa72af0 100644 From 5ca156864b2ac966e3d20aa29a3eabab4b559295 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 16:00:25 +0300 -Subject: [PATCH 08/78] bcm2708_fb: DMA acceleration for fb_copyarea +Subject: [PATCH 08/79] bcm2708_fb: DMA acceleration for fb_copyarea Based on http://www.raspberrypi.org/phpBB3/viewtopic.php?p=62425#p62425 Also used Simon's dmaer_master module as a reference for tweaking DMA @@ -70237,7 +70237,7 @@ index 54cd760..b3b1e04 100644 From 9e7cf5f765bfaf0412918f84f87f507404928531 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 09/78] bcm2708 vchiq driver +Subject: [PATCH 09/79] bcm2708 vchiq driver Signed-off-by: popcornmix @@ -82789,7 +82789,7 @@ index 0000000..b6bfa21 From 07e18ad78953ccfa168920bd0cfa95d20d853a0a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 May 2014 15:12:02 +0100 -Subject: [PATCH 10/78] vchiq: Avoid high load when blocked and unkillable +Subject: [PATCH 10/79] vchiq: Avoid high load when blocked and unkillable vchiq: Include SIGSTOP and SIGCONT in list of signals not-masked by vchiq to allow gdb to work --- @@ -82954,7 +82954,7 @@ index c2eefef..05e7979 100644 From c156c499b73a549d7bff0d3c991494d11108cd6f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 11/78] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 11/79] cma: Add vc_cma driver to enable use of CMA Signed-off-by: popcornmix --- @@ -84246,7 +84246,7 @@ index 0000000..5325832 From bcd05a294b17945c1992560a04e60d5a75ecd347 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 12/78] bcm2708: alsa sound driver +Subject: [PATCH 12/79] bcm2708: alsa sound driver Signed-off-by: popcornmix @@ -87037,7 +87037,7 @@ index 0000000..af3e6eb From afcf0a46aa2ca83398e4be2a0b444dfe82915681 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:51:55 +0100 -Subject: [PATCH 13/78] Add hwrng (hardware random number generator) driver +Subject: [PATCH 13/79] Add hwrng (hardware random number generator) driver --- arch/arm/mach-bcm2708/include/mach/platform.h | 1 + @@ -87219,7 +87219,7 @@ index 0000000..340f004 From e331619637903fb87cf857a2eca13db59c3fb26e Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 14/78] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 14/79] 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 @@ -87964,7 +87964,7 @@ index 0000000..57ffacf From 792da119ecc4c626a203766aaec1e52b2e3a7fab Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 15/78] Add cpufreq driver +Subject: [PATCH 15/79] Add cpufreq driver --- arch/arm/Kconfig | 1 + @@ -88266,7 +88266,7 @@ index 0000000..7bc55bd From 3e47e00f837107aeb880b4ea1712f1a08c27d970 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 16/78] Added hwmon/thermal driver for reporting core +Subject: [PATCH 16/79] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian --- @@ -88791,7 +88791,7 @@ index 0000000..85fceb5 From e611450aaf310a866b42c52a34fc5307d4231046 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 17/78] Allow mac address to be set in smsc95xx +Subject: [PATCH 17/79] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -88885,7 +88885,7 @@ index d07bf4c..5ae60ab 100644 From cb77c7822b8734fb85c2e0d5fce466b47199969f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 4 Nov 2013 18:56:10 +0000 -Subject: [PATCH 18/78] Add Chris Boot's i2c and spi drivers. +Subject: [PATCH 18/79] Add Chris Boot's i2c and spi drivers. i2c-bcm2708: fixed baudrate @@ -90269,7 +90269,7 @@ index 0000000..b04a57d From b48352e617873908e9eed7c7a0a0274c3154d443 Mon Sep 17 00:00:00 2001 From: cbeytas Date: Mon, 24 Jun 2013 00:05:40 -0400 -Subject: [PATCH 19/78] Perform I2C combined transactions when possible +Subject: [PATCH 19/79] Perform I2C combined transactions when possible Perform I2C combined transactions whenever possible, within the restrictions of the Broadcomm Serial Controller. @@ -90344,7 +90344,7 @@ index f266f10..8750634 100644 From a8f2638feb6187f10fe57305790052d7eb5b8864 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 20/78] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 20/79] 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 @@ -90616,10 +90616,11 @@ index 2820924..fd0550f 100644 } } + From bd506122daf1d74245615448bc794c2f64fce271 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Apr 2013 23:58:47 +0100 -Subject: [PATCH 24/78] config: add missing options from 3.6.y kernel +Subject: [PATCH 24/79] config: add missing options from 3.6.y kernel --- arch/arm/configs/bcmrpi_defconfig | 757 ++++++++++++++++++++++++++++++++------ @@ -91671,7 +91672,7 @@ index 31f5afaa..5b69e83 100644 From 81c9c12a18219e4047e0ce94c903a0d71781005d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 25/78] config: Enable CONFIG_MEMCG, but leave it disabled (due +Subject: [PATCH 25/79] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -91742,7 +91743,7 @@ index 1f14a43..403173e 100644 From 4419c5e5a7d400cdd45bcb500a91a46853aaac51 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:46:42 +0100 -Subject: [PATCH 26/78] Add FIQ patch to dwc_otg driver. Enable with +Subject: [PATCH 26/79] Add FIQ patch to dwc_otg driver. Enable with dwc_otg.fiq_fix_enable=1. Should give about 10% more ARM performance. Thanks to Gordon and Costas @@ -95064,7 +95065,7 @@ index 1b1f83c..c8590b5 100644 From 23139849a415b9f4048fbc2e8f9d9a610cfd6bb6 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 19 Mar 2014 12:58:23 +0000 -Subject: [PATCH 27/78] dwc_otg: fiq_fsm: Base commit for driver rewrite +Subject: [PATCH 27/79] dwc_otg: fiq_fsm: Base commit for driver rewrite This commit removes the previous FIQ fixes entirely and adds fiq_fsm. @@ -99963,7 +99964,7 @@ index 5d310df..4b32941 100644 From d4a83bcbcb9da2e2da12b9f6c699c4fbba695f94 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 28/78] bcm2835: add v4l2 camera device +Subject: [PATCH 28/79] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -105951,7 +105952,7 @@ index 0000000..9d1d11e From ce9099c8d233407393fddc3aac73867919593acf Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 10:58:01 +0000 -Subject: [PATCH 29/78] V4L2: Fixes from 6by9 +Subject: [PATCH 29/79] V4L2: Fixes from 6by9 V4L2: Fix EV values. Add manual shutter speed control @@ -108326,7 +108327,7 @@ index a06fb44..76f249e 100644 From c6bb89322561ea50e609a73ee792020429329472 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 30/78] dmaengine: Add support for BCM2708 +Subject: [PATCH 30/79] dmaengine: Add support for BCM2708 Add support for DMA controller of BCM2708 as used in the Raspberry Pi. Currently it only supports cyclic DMA. @@ -108966,7 +108967,7 @@ index 0000000..b244293 From 9f7b49b82309f6b788c08ffa9cb7bca2f850c375 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:33:38 +0100 -Subject: [PATCH 31/78] ASoC: Add support for BCM2708 +Subject: [PATCH 31/79] ASoC: Add support for BCM2708 This driver adds support for digital audio (I2S) for the BCM2708 SoC that is used by the @@ -109964,7 +109965,7 @@ index 0000000..ebaf3d6 From f2d01e149898dfc5a6ccfd5007bc0ac07caa156f Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:37:51 +0100 -Subject: [PATCH 32/78] BCM2708: Extend mach header +Subject: [PATCH 32/79] BCM2708: Extend mach header Extend the headers of the mach-bcm2708 in order to support I2S and DMA engine. @@ -110009,7 +110010,7 @@ index 992a630..2e7e1bb 100644 From ba0fd48bfe41f4f12ac70dfbba058afa8f3100fd Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:59:51 +0100 -Subject: [PATCH 33/78] ASoC: Add support for PCM5102A codec +Subject: [PATCH 33/79] ASoC: Add support for PCM5102A codec Some definitions to support the PCM5102A codec by Texas Instruments. @@ -110137,7 +110138,7 @@ index 0000000..126f1e9 From 5c220e69598ccc5a4331a4807685b2bee0e7531e Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:04:54 +0100 -Subject: [PATCH 34/78] BCM2708: Add I2S support to board file +Subject: [PATCH 34/79] BCM2708: Add I2S support to board file Adds the required initializations for I2S to the board file of mach-bcm2708. @@ -110195,7 +110196,7 @@ index a6eb08e..27e47d5 100644 From 8c4010ef6f120f6f20c3d575600a5b595bbb0994 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 35/78] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 35/79] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -110347,7 +110348,7 @@ index 0000000..4b70b45 From 64aa80c778a2bc0b03e1039f95960243f4201fd7 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:21:34 +0100 -Subject: [PATCH 36/78] BCM2708: Add HifiBerry DAC to board file +Subject: [PATCH 36/79] BCM2708: Add HifiBerry DAC to board file This adds the initalization of the HifiBerry DAC to the mach-bcm2708 board file. @@ -110398,7 +110399,7 @@ index 27e47d5..fafd8d0 100644 From 15a789cf4a98f88eb75d553b6caea4f7d1c8de9c Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 18:55:53 +0100 -Subject: [PATCH 37/78] ASoC: BCM2708: Add 24 bit support +Subject: [PATCH 37/79] ASoC: BCM2708: Add 24 bit support This adds 24 bit support to the I2S driver of the BCM2708. Besides enabling the 24 bit flags, it includes two bug fixes: @@ -110473,7 +110474,7 @@ index ebaf3d6..a179216 100644 From e0716a7fa7874757ff01fac80f62e8c99a56f33c Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 2 Dec 2013 20:28:22 +0100 -Subject: [PATCH 38/78] BCM2708: Add I2S and DMA support to default config +Subject: [PATCH 38/79] BCM2708: Add I2S and DMA support to default config This commit adds several modules that are needed for I2S support for the Raspberry Pi to the defconfig. @@ -110516,7 +110517,7 @@ index 0c58172..38ccd22 100644 From 0b2d13950ced9de365af93a96912f8e55271ecf0 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 20:50:28 +0100 -Subject: [PATCH 39/78] ASoC: BCM2708: Add support for RPi-DAC +Subject: [PATCH 39/79] ASoC: BCM2708: Add support for RPi-DAC This adds a machine driver for the RPi-DAC. @@ -110830,7 +110831,7 @@ index 0000000..b4eaa44 From 66f98a8406804e24ff9fa194ee21a9b961a53b98 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 40/78] ASoC: wm8804: Implement MCLK configuration options, add +Subject: [PATCH 40/79] 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 @@ -110873,7 +110874,7 @@ index d96e5963..9a7a289 100644 From 9903287696cc4f5c070587dd46b2554a3ea771f6 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 41/78] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 41/79] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -111079,7 +111080,7 @@ index 0000000..e4f769d From 9089eb1c8089f27f0d825594aca55203fe4c2b33 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:26:08 +0100 -Subject: [PATCH 42/78] BCM2708: Added support for HiFiBerry Digi board Board +Subject: [PATCH 42/79] BCM2708: Added support for HiFiBerry Digi board Board initalization by I2C Signed-off-by: Daniel Matuschek @@ -111129,7 +111130,7 @@ index 238f165..139045b 100644 From 2ccbdf72d828bd288256a23e79fa2e660bea9599 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:27:28 +0100 -Subject: [PATCH 43/78] BCM2708: Added HiFiBerry Digi configuration option It +Subject: [PATCH 43/79] BCM2708: Added HiFiBerry Digi configuration option It will be compiled as a module by default. This also includes the WM8804 driver. @@ -111157,7 +111158,7 @@ index 5e049f9..4f6bb90 100644 From 8ca488553ca04a621fbee224210872ca64afc55f Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:36:35 +0100 -Subject: [PATCH 44/78] ASoC: wm8804: Set idle_bias_off to false Idle bias has +Subject: [PATCH 44/79] ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup Signed-off-by: Daniel Matuschek @@ -111182,7 +111183,7 @@ index 9a7a289..32e199a 100644 From 658a1d669499b55d8e733ccb470a003e78149e99 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 12 Mar 2014 11:46:34 +0000 -Subject: [PATCH 45/78] ASoc: Don't report S24_LE support, it produces white +Subject: [PATCH 45/79] ASoc: Don't report S24_LE support, it produces white noise with xbmc --- @@ -111220,7 +111221,7 @@ index 126f1e9..7812d34 100644 From 5917c8011a856aa57802508ec7df1ec093ae7553 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 46/78] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 46/79] Add IQaudIO Sound Card support for Raspberry Pi --- arch/arm/configs/bcmrpi_defconfig | 1 + @@ -111433,7 +111434,7 @@ index 0000000..8d0e2ae From 603b762a6a41f0549462638f4f10d6c82f11d3f1 Mon Sep 17 00:00:00 2001 From: Howard Mitchell Date: Wed, 30 Jul 2014 21:43:37 +0100 -Subject: [PATCH 47/78] soc-core: Fix volsw_range funcs so +Subject: [PATCH 47/79] soc-core: Fix volsw_range funcs so SOC_DOUBLE_R_RANGE_TLV works. This is so that the correct range of values as specified @@ -111510,7 +111511,7 @@ index b87d7d8..1f3d03e 100644 From 0b5178b68d7c9f41e0b7fa8eb5e2459d1ef80ebd Mon Sep 17 00:00:00 2001 From: Howard Mitchell Date: Fri, 28 Mar 2014 16:40:31 +0000 -Subject: [PATCH 48/78] pcm512x: Use a range macro for Volume and rename to +Subject: [PATCH 48/79] pcm512x: Use a range macro for Volume and rename to PCM. This allows limiting the output gain to avoid clipping in the @@ -111538,7 +111539,7 @@ index 163ec38..1466955 100644 From b37fad9a65a4e62657fdecb1d5b62b9dd510be90 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Fri, 2 May 2014 16:13:59 +0100 -Subject: [PATCH 49/78] Move GPIO setup to hw_params. +Subject: [PATCH 49/79] Move GPIO setup to hw_params. This is used to stop the I2S driver from breaking the GPIO setup for other uses of the PCM interface @@ -111637,7 +111638,7 @@ index b25e158..9976571 100644 From e5fb8a6be0d14cadcfb602bf22ea8719088c0053 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Jun 2014 13:42:01 +0100 -Subject: [PATCH 50/78] vmstat: Workaround for issue where dirty page count +Subject: [PATCH 50/79] vmstat: Workaround for issue where dirty page count goes negative See: @@ -111667,7 +111668,7 @@ index 82e7db7..f87d16d 100644 From ab1b06e206515b2a67e2392aed9a3f87c447fd1a Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 20 Jun 2014 16:03:12 +0100 -Subject: [PATCH 51/78] dwc_otg: Fix various issues with root port and +Subject: [PATCH 51/79] dwc_otg: Fix various issues with root port and transaction errors Process the host port interrupts correctly (and don't trample them). @@ -111740,7 +111741,7 @@ index d3e2035..6182d3e 100644 From 8a3691d7d3bcefd262cdc2c176cf03c8bbcbf58e Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 20 Jun 2014 17:23:20 +0100 -Subject: [PATCH 52/78] fiq_fsm: Implement hack for Split Interrupt +Subject: [PATCH 52/79] fiq_fsm: Implement hack for Split Interrupt transactions Hubs aren't too picky about which endpoint we send Control type split @@ -111829,7 +111830,7 @@ index daea770..35721e5 100644 From a308c1b04aa2590538f3929459464751af4b1afe Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 6 Jul 2014 12:07:25 +0200 -Subject: [PATCH 53/78] spi-bcm2708: Prepare for Common Clock Framework +Subject: [PATCH 53/79] spi-bcm2708: Prepare for Common Clock Framework migration As part of migrating to use the Common Clock Framework, replace clk_enable() @@ -111877,7 +111878,7 @@ index b04a57d..349d21f 100644 From f55cc5f0ad7922b97e46bc594bdf420db2982b04 Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 6 Jul 2014 12:09:30 +0200 -Subject: [PATCH 54/78] BCM2708: Migrate to the Common Clock Framework +Subject: [PATCH 54/79] BCM2708: Migrate to the Common Clock Framework As part of moving towards using Device Tree, the Common Clock Framework has to be used instead of the BCM2708 clock implementation. @@ -112150,7 +112151,7 @@ index 5f9d725..0000000 From 79bacbe9b2bc3aa5742e5e636d8750c57bd4abf7 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 55/78] BCM2708: Add core Device Tree support +Subject: [PATCH 55/79] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -112310,7 +112311,7 @@ index 674e5aa..83277d1f 100644 From 504175cf2dab09ee2d3a38abda8cd14e946d9a8d Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:47:48 +0200 -Subject: [PATCH 56/78] BCM2708: armctrl: Add IRQ Device Tree support +Subject: [PATCH 56/79] BCM2708: armctrl: Add IRQ Device Tree support Add Device Tree IRQ support for BCM2708. Usage is the same as for irq-bcm2835. @@ -112477,7 +112478,7 @@ index d4c5333..42f5e1c 100644 From 4440f7a92619e12940a7e27f080d11064dc5cc93 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 57/78] pinctrl: add bcm2708 driver +Subject: [PATCH 57/79] pinctrl: add bcm2708 driver This driver is a verbatim copy of the pinctrl-bcm2835 driver, except for: * changed 2835 to 2708 @@ -113343,7 +113344,7 @@ index 0000000..40d9c86 From bef9a66a1a4e952c7d07bf03aa143ed629510152 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 58/78] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 58/79] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -113382,7 +113383,7 @@ index 7b88f4c..016a485 100644 From 4a71b12cde3193dbe01492f2f9edff796f2af095 Mon Sep 17 00:00:00 2001 From: notro Date: Fri, 18 Jul 2014 18:15:57 +0200 -Subject: [PATCH 59/78] BCM2708: DT: change 'axi' nodename to 'soc' +Subject: [PATCH 59/79] BCM2708: DT: change 'axi' nodename to 'soc' Change DT node named 'axi' to 'soc' so it matches ARCH_BCM2835. The VC4 bootloader fills in certain properties in the 'axi' subtree, @@ -113410,7 +113411,7 @@ index 3f884b3..e02e67b 100644 From e6c0c0c84ded234045eadb9405266010392b4124 Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 27 Jul 2014 20:12:58 +0200 -Subject: [PATCH 60/78] spi: bcm2708: add device tree support +Subject: [PATCH 60/79] spi: bcm2708: add device tree support Add DT support to driver and add to .dtsi file. Setup pins and spidev in .dts file. @@ -113532,7 +113533,7 @@ index 349d21f..041b5e2 100644 From bac8143ba837822fe0038a809e23a5c517533c57 Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 27 Jul 2014 20:13:44 +0200 -Subject: [PATCH 61/78] BCM2708: don't register SPI controller when using DT +Subject: [PATCH 61/79] BCM2708: don't register SPI controller when using DT The device for the SPI controller is in the Device Tree. Only register the device when not using DT. @@ -113606,7 +113607,7 @@ index 83277d1f..a4286e9 100644 From 9ed17623b1346dddcf60f50a5c11eccd77a1d907 Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 27 Jul 2014 20:14:05 +0200 -Subject: [PATCH 62/78] spi: bcm2835: make driver available on ARCH_BCM2708 +Subject: [PATCH 62/79] spi: bcm2835: make driver available on ARCH_BCM2708 Make this driver available on ARCH_BCM2708 @@ -113632,7 +113633,7 @@ index cb20594..54aac0f 100644 From 4436b5c4aaa78ab523807228efb9e69dcd13837b Mon Sep 17 00:00:00 2001 From: notro Date: Tue, 29 Jul 2014 11:04:49 +0200 -Subject: [PATCH 63/78] i2c: bcm2708: add device tree support +Subject: [PATCH 63/79] i2c: bcm2708: add device tree support Add DT support to driver and add to .dtsi file. Setup pins in .dts file. @@ -113800,7 +113801,7 @@ index 8750634..728cb69 100644 From f32f8d0cc79649f78d6b0d60482af0c0cc7fe53e Mon Sep 17 00:00:00 2001 From: notro Date: Tue, 29 Jul 2014 11:05:18 +0200 -Subject: [PATCH 64/78] bcm2708: don't register i2c controllers when using DT +Subject: [PATCH 64/79] bcm2708: don't register i2c controllers when using DT The devices for the i2c controllers are in the Device Tree. Only register devices when not using DT. @@ -113845,7 +113846,7 @@ index a4286e9..a19f54d 100644 From 79e54a26c2c8c34bdae2fe2e38670479643e008e Mon Sep 17 00:00:00 2001 From: notro Date: Tue, 29 Jul 2014 11:05:39 +0200 -Subject: [PATCH 65/78] i2c: bcm2835: make driver available on ARCH_BCM2708 +Subject: [PATCH 65/79] i2c: bcm2835: make driver available on ARCH_BCM2708 Make this driver available on ARCH_BCM2708 @@ -113871,7 +113872,7 @@ index 6426811..73c9cfd 100644 From b4b7637c58d49afd88e39a7a02b99d3b87fb0feb Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Fri, 25 Jul 2014 07:08:09 +0200 -Subject: [PATCH 66/78] Configure GPIOs for I2S based on revision/card settings +Subject: [PATCH 66/79] Configure GPIOs for I2S based on revision/card settings With RPi model B+, assignment of the I2S GPIO pins has changed. This patch uses the board revision to auto-detect the GPIOs used @@ -114029,7 +114030,7 @@ index 0000000..94fed6a From ccc6d36d045acb40043635bd123924ec0a470920 Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 24 Jul 2014 21:24:03 +0100 -Subject: [PATCH 67/78] usb: core: make overcurrent messages more prominent +Subject: [PATCH 67/79] usb: core: make overcurrent messages more prominent Hub overcurrent messages are more serious than "debug". Increase loglevel. --- @@ -114053,7 +114054,7 @@ index 0e950ad..6b004cf 100644 From ff963183dca11df32ba8ef1c1bfbb732f07a50a8 Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 68/78] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 68/79] vcsm: VideoCore shared memory service for BCM2835 Add experimental support for the VideoCore shared memory service. This allows user processes to allocate memory from VideoCore's @@ -118389,7 +118390,7 @@ index 0000000..da1c523 From 0765c9fb777f1b40097b74bbaf1944920ceae0d0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 7 Aug 2014 02:03:50 +0100 -Subject: [PATCH 69/78] Revert "ARM: dma: Use dma_pfn_offset for dma address +Subject: [PATCH 69/79] Revert "ARM: dma: Use dma_pfn_offset for dma address translation" This reverts commit 6ce0d20016925d031f1e24d64302e4c976d7cec6. @@ -118444,7 +118445,7 @@ index c45b61a..0af6bd0 100644 From e9e133a3ad8d0946a687a3fc0c10aa7648952486 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 8 Aug 2014 16:22:59 +0100 -Subject: [PATCH 70/78] VCHIQ: Make service closure fully synchronous (drv) +Subject: [PATCH 70/79] VCHIQ: Make service closure fully synchronous (drv) This is one half of a two-part patch, the other half of which is to the vchiq_lib user library. With these patches, calls to @@ -118796,7 +118797,7 @@ index e248037..6137ae9 100644 From a3d776fb4bd5f334b87ce1959dfc6a1ff61b1717 Mon Sep 17 00:00:00 2001 From: gellert Date: Tue, 29 Jul 2014 17:43:37 +0100 -Subject: [PATCH 71/78] dmaengine: expand functionality by supporting +Subject: [PATCH 71/79] dmaengine: expand functionality by supporting scatter/gather transfers sdhci-bcm2708 and dma.c: fix for LITE channels --- @@ -120094,7 +120095,7 @@ index 6e777f4..15445215 100644 From 8988c7b87776c0335fe4df0634c686eec94e7353 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 72/78] MMC: added alternative MMC driver +Subject: [PATCH 72/79] MMC: added alternative MMC driver --- arch/arm/mach-bcm2708/bcm2708.c | 37 +- @@ -121778,7 +121779,7 @@ index 0000000..c50ff43 From 4310177a783406d20efaeb01548956ebb5da2ff8 Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:59 +0100 -Subject: [PATCH 73/78] turn on new MMC driver +Subject: [PATCH 73/79] turn on new MMC driver --- arch/arm/configs/bcmrpi_defconfig | 7 +++++-- @@ -121814,7 +121815,7 @@ index 105bcbe..1b06882 100644 From 640da32da5bccd052eae65f49ad7ca5217d5d0ad Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 74/78] Added support for HiFiBerry DAC+ +Subject: [PATCH 74/79] 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. @@ -122041,7 +122042,7 @@ index 0000000..c63387b From 504990c26cf6a6e3ed42b5d2f917ff88d0244405 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 4 Aug 2014 16:47:36 +0200 -Subject: [PATCH 75/78] ASoC: BCM: Typo in RPi-DAC driver +Subject: [PATCH 75/79] ASoC: BCM: Typo in RPi-DAC driver This patch corrects a typo that originated from inattentive copy and paste. @@ -122070,7 +122071,7 @@ index ef3cd93..6d6e0ba 100644 From 1349a252eb45cc1b8244ab3c882edb2539eb1049 Mon Sep 17 00:00:00 2001 From: Kari Suvanto Date: Tue, 19 Aug 2014 14:25:28 +0300 -Subject: [PATCH 76/78] usb: dwc: fix lockdep false positive +Subject: [PATCH 76/79] usb: dwc: fix lockdep false positive Os wrapper function for spinlock init causes lockdep to show this false positive splat during boot: @@ -122236,7 +122237,7 @@ index 40fb25c..ae0c72d 100644 From 51dd458f1097d92f4731fd497a54954fd8bcc0e5 Mon Sep 17 00:00:00 2001 From: Kari Suvanto Date: Tue, 19 Aug 2014 14:38:24 +0300 -Subject: [PATCH 77/78] usb: dwc: fix inconsistent lock state +Subject: [PATCH 77/79] usb: dwc: fix inconsistent lock state Lockdep gives this splat during boot: [ 4.136748] ================================= @@ -122344,10 +122345,100 @@ index 8706a5c..17d3030 100644 } +From da3f2d954e5ba726ce0183d8909128351f27a393 Mon Sep 17 00:00:00 2001 +From: android +Date: Mon, 25 Aug 2014 06:54:19 +0100 +Subject: [PATCH 78/79] bcm2708_fb : Implement blanking support using the + mailbox property interface + +This implementation uses the userspace request style of an array of unsigned +32bit ints rather the vc_msg/vc_msg_tag which is more confusing to work with. + +vcio.h : Added some extra enums to the vcio.h to improve readability +vcio.h : Renamed DEVICE_FILE_NAME to something more appropriate. users of the +vcio api will be unaffected by this change as the device node is created manually +in userspace +--- + arch/arm/mach-bcm2708/include/mach/vcio.h | 9 ++++++++- + drivers/video/fbdev/bcm2708_fb.c | 31 +++++++++++++++++++++++++++---- + 2 files changed, 35 insertions(+), 5 deletions(-) + +diff --git a/arch/arm/mach-bcm2708/include/mach/vcio.h b/arch/arm/mach-bcm2708/include/mach/vcio.h +index 9935e02..62e052e 100644 +--- a/arch/arm/mach-bcm2708/include/mach/vcio.h ++++ b/arch/arm/mach-bcm2708/include/mach/vcio.h +@@ -33,6 +33,13 @@ + #define MBOX_CHAN_PROPERTY 8 /* for use by the property channel */ + #define MBOX_CHAN_COUNT 9 + ++enum { ++ VCMSG_PROCESS_REQUEST = 0x00000000 ++}; ++enum { ++ VCMSG_REQUEST_SUCCESSFUL = 0x80000000, ++ VCMSG_REQUEST_FAILED = 0x80000001 ++}; + /* Mailbox property tags */ + enum { + VCMSG_PROPERTY_END = 0x00000000, +@@ -136,6 +143,6 @@ extern int /*rc*/ bcm_mailbox_property(void *data, int size); + /* + * The name of the device file + */ +-#define DEVICE_FILE_NAME "char_dev" ++#define DEVICE_FILE_NAME "vcio" + + #endif +diff --git a/drivers/video/fbdev/bcm2708_fb.c b/drivers/video/fbdev/bcm2708_fb.c +index b3b1e04..b25dd5b 100644 +--- a/drivers/video/fbdev/bcm2708_fb.c ++++ b/drivers/video/fbdev/bcm2708_fb.c +@@ -375,13 +375,36 @@ static int bcm2708_fb_setcolreg(unsigned int regno, unsigned int red, + } + return regno > 255; + } +- + static int bcm2708_fb_blank(int blank_mode, struct fb_info *info) + { +- /*print_debug("bcm2708_fb_blank\n"); */ +- return -1; +-} ++ s32 result = -1 ; ++ u32 p[7]; ++ if ( (blank_mode == FB_BLANK_NORMAL) || ++ (blank_mode == FB_BLANK_UNBLANK)) { ++ ++ pr_info("bcm2708_fb_blank blank_mode=%d\n",blank_mode); ++ ++ ++ p[0] = 28; // size = sizeof u32 * length of p ++ p[1] = VCMSG_PROCESS_REQUEST; // process request ++ p[2] = VCMSG_SET_BLANK_SCREEN; // (the tag id) ++ p[3] = 4; // (size of the response buffer) ++ p[4] = 4; // (size of the request data) ++ p[5] = blank_mode; ++ p[6] = VCMSG_PROPERTY_END; // end tag ++ ++ bcm_mailbox_property(&p, p[0]); ++ ++ pr_info("bcm2708_fb_blank returns=%d p[1]=0x%x\n",p[5],p[1]); ++ ++ if ( p[1] == VCMSG_REQUEST_SUCCESSFUL ) ++ result = 0 ; ++ ++ } ++ return result; + ++ ++} + static void bcm2708_fb_fillrect(struct fb_info *info, + const struct fb_fillrect *rect) + { + From 181fffaab3e595a14da7ce920025b0c0c82879d4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 19 Aug 2014 00:25:00 +0100 -Subject: [PATCH 78/78] bcm2708: Enable bcm2835_mmc by default +Subject: [PATCH 79/79] bcm2708: Enable bcm2835_mmc by default --- arch/arm/mach-bcm2708/bcm2708.c | 2 +-