projects/RPi/patches/linux: update RPi support patch

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-10-04 10:33:12 +02:00
parent 16a61ad1dd
commit c7a7a402b5

View File

@ -1,7 +1,7 @@
From 142ed93e9354132b254ab0a3e183a0f89dbed292 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 12 May 2013 12:24:19 +0100
Subject: [PATCH 01/93] Main bcm2708 linux port
Subject: [PATCH 01/94] Main bcm2708 linux port
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
@ -8676,7 +8676,7 @@ index 08abe99..544da76 100644
From 4cba41b92db49cf41fbc274e92684230d0c4df34 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 7 May 2013 22:20:24 +0100
Subject: [PATCH 02/93] Add quick config.
Subject: [PATCH 02/94] 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 a21b1e9ada71dcdfb8bb069fd7ef6691b75b4b3a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 1 May 2013 19:46:17 +0100
Subject: [PATCH 03/93] Add dwc_otg driver
Subject: [PATCH 03/94] Add dwc_otg driver
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
@ -65964,7 +65964,7 @@ index 0000000..cdc9963
From 60fec707423c59edf2d774f667c57f07e8ef8e92 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 1 May 2013 19:54:32 +0100
Subject: [PATCH 04/93] bcm2708 watchdog driver
Subject: [PATCH 04/94] bcm2708 watchdog driver
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
@ -66395,7 +66395,7 @@ index 0000000..8a27d68
From 669ccd96ae050d4b9dac0b7fc06cd73bb2591b9d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 1 May 2013 19:55:09 +0100
Subject: [PATCH 05/93] bcm2708 framebuffer driver
Subject: [PATCH 05/94] bcm2708 framebuffer driver
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
@ -69442,7 +69442,7 @@ index 3c14e43..7626beb 100644
From 00039394d686f6b185294f2767ad5f94c0a936b1 Mon Sep 17 00:00:00 2001
From: Harm Hanemaaijer <fgenfb@yahoo.com>
Date: Thu, 20 Jun 2013 20:21:39 +0200
Subject: [PATCH 06/93] Speed up console framebuffer imageblit function
Subject: [PATCH 06/94] 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 b84be90e342ab3f83163a862f92a604e33afd5c9 Mon Sep 17 00:00:00 2001
From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Date: Mon, 17 Jun 2013 13:32:11 +0300
Subject: [PATCH 07/93] fbdev: add FBIOCOPYAREA ioctl
Subject: [PATCH 07/94] 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 1c026d22590b4cd639158bb5dc522b4ff724a7e8 Mon Sep 17 00:00:00 2001
From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Date: Mon, 17 Jun 2013 16:00:25 +0300
Subject: [PATCH 08/93] bcm2708_fb: DMA acceleration for fb_copyarea
Subject: [PATCH 08/94] 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 6862cfc59ee9a58cbe2c4d0858b9f581d5e5b4d5 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 2 Jul 2013 23:42:01 +0100
Subject: [PATCH 09/93] bcm2708 vchiq driver
Subject: [PATCH 09/94] bcm2708 vchiq driver
Signed-off-by: popcornmix <popcornmix@gmail.com>
@ -82789,7 +82789,7 @@ index 0000000..b6bfa21
From 56cf9d835d83750c3451c4ba4db78cb9c6391a67 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 12 May 2014 15:12:02 +0100
Subject: [PATCH 10/93] vchiq: Avoid high load when blocked and unkillable
Subject: [PATCH 10/94] 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 7d423949a4dd497f206002e4cd7f5c70a16b0bf8 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:31:47 +0100
Subject: [PATCH 11/93] cma: Add vc_cma driver to enable use of CMA
Subject: [PATCH 11/94] cma: Add vc_cma driver to enable use of CMA
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
@ -84246,7 +84246,7 @@ index 0000000..5325832
From d65c5ba4eca012f2e803ddc47eb45fd5ec44738a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 26 Mar 2012 22:15:50 +0100
Subject: [PATCH 12/93] bcm2708: alsa sound driver
Subject: [PATCH 12/94] bcm2708: alsa sound driver
Signed-off-by: popcornmix <popcornmix@gmail.com>
@ -87037,7 +87037,7 @@ index 0000000..af3e6eb
From 68a4967c1eca9b0ce44c2319eaef468dfdfadd9e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:51:55 +0100
Subject: [PATCH 13/93] Add hwrng (hardware random number generator) driver
Subject: [PATCH 13/94] Add hwrng (hardware random number generator) driver
---
arch/arm/mach-bcm2708/include/mach/platform.h | 1 +
@ -87219,7 +87219,7 @@ index 0000000..340f004
From 3bd26bded4ce506f3f4b52c40331c3ffa82ed2f7 Mon Sep 17 00:00:00 2001
From: Aron Szabo <aron@aron.ws>
Date: Sat, 16 Jun 2012 12:15:55 +0200
Subject: [PATCH 14/93] lirc: added support for RaspberryPi GPIO
Subject: [PATCH 14/94] 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 360423b2167a280bc8ca38063dd7c50f10d8fab1 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:49:20 +0100
Subject: [PATCH 15/93] Add cpufreq driver
Subject: [PATCH 15/94] Add cpufreq driver
---
arch/arm/Kconfig | 1 +
@ -88266,7 +88266,7 @@ index 0000000..7bc55bd
From db98f80199c117cb9c04acae917936a1a06ed956 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 26 Mar 2013 19:24:24 +0000
Subject: [PATCH 16/93] Added hwmon/thermal driver for reporting core
Subject: [PATCH 16/94] Added hwmon/thermal driver for reporting core
temperature. Thanks Dorian
---
@ -88791,7 +88791,7 @@ index 0000000..85fceb5
From afb0616a3fda709d0e2b1dbae2ea77b8e170eebe Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 26 Mar 2013 17:26:38 +0000
Subject: [PATCH 17/93] Allow mac address to be set in smsc95xx
Subject: [PATCH 17/94] Allow mac address to be set in smsc95xx
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
@ -88885,7 +88885,7 @@ index d07bf4c..5ae60ab 100644
From 977e8f91bf1d77cf7a6165608cfae630864343bb Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 4 Nov 2013 18:56:10 +0000
Subject: [PATCH 18/93] Add Chris Boot's i2c and spi drivers.
Subject: [PATCH 18/94] Add Chris Boot's i2c and spi drivers.
i2c-bcm2708: fixed baudrate
@ -90269,7 +90269,7 @@ index 0000000..b04a57d
From 732163f2565eeb4e2cc8a9e75af77163a4c3ac61 Mon Sep 17 00:00:00 2001
From: cbeytas <cbeytas@shaw.ca>
Date: Mon, 24 Jun 2013 00:05:40 -0400
Subject: [PATCH 19/93] Perform I2C combined transactions when possible
Subject: [PATCH 19/94] 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 72f63745f25941f5114b69e0e03847812325222c Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 8 May 2013 11:46:50 +0100
Subject: [PATCH 20/93] enabling the realtime clock 1-wire chip DS1307 and
Subject: [PATCH 20/94] 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
@ -90619,7 +90619,7 @@ index 2820924..fd0550f 100644
From b6c327d2034a59f96c6458454a9a50721125357f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 12 Apr 2013 23:58:47 +0100
Subject: [PATCH 24/93] config: add missing options from 3.6.y kernel
Subject: [PATCH 24/94] config: add missing options from 3.6.y kernel
---
arch/arm/configs/bcmrpi_defconfig | 757 ++++++++++++++++++++++++++++++++------
@ -91671,7 +91671,7 @@ index 31f5afaa..5b69e83 100644
From a7f9ef3115b9bd9d2ab0267980c67ac79d74471b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 18 Dec 2013 22:16:19 +0000
Subject: [PATCH 25/93] config: Enable CONFIG_MEMCG, but leave it disabled (due
Subject: [PATCH 25/94] config: Enable CONFIG_MEMCG, but leave it disabled (due
to memory cost). Enable with cgroup_enable=memory.
---
@ -91742,7 +91742,7 @@ index 1f14a43..403173e 100644
From d44502238ff6807b97718b9396da51c3ac9c9957 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:46:42 +0100
Subject: [PATCH 26/93] Add FIQ patch to dwc_otg driver. Enable with
Subject: [PATCH 26/94] 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 +95064,7 @@ index 1b1f83c..c8590b5 100644
From 67aabc6b5dd6e3bb605ba2bca7952ec39e22e178 Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Wed, 19 Mar 2014 12:58:23 +0000
Subject: [PATCH 27/93] dwc_otg: fiq_fsm: Base commit for driver rewrite
Subject: [PATCH 27/94] dwc_otg: fiq_fsm: Base commit for driver rewrite
This commit removes the previous FIQ fixes entirely and adds fiq_fsm.
@ -99963,7 +99963,7 @@ index 5d310df..4b32941 100644
From 9c51ea5408ebf250f609d9eab680207cb01cab9e Mon Sep 17 00:00:00 2001
From: Vincent Sanders <vincent.sanders@collabora.co.uk>
Date: Wed, 30 Jan 2013 12:45:18 +0000
Subject: [PATCH 28/93] bcm2835: add v4l2 camera device
Subject: [PATCH 28/94] bcm2835: add v4l2 camera device
- Supports raw YUV capture, preview, JPEG and H264.
- Uses videobuf2 for data transfer, using dma_buf.
@ -105951,7 +105951,7 @@ index 0000000..9d1d11e
From 955f36274d222d969074b99d38ad11b6b5facede Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dsteve@broadcom.com>
Date: Mon, 9 Dec 2013 10:58:01 +0000
Subject: [PATCH 29/93] V4L2: Fixes from 6by9
Subject: [PATCH 29/94] V4L2: Fixes from 6by9
V4L2: Fix EV values. Add manual shutter speed control
@ -108326,7 +108326,7 @@ index a06fb44..76f249e 100644
From 951d2a7db1e94e10c47f4146b5aa89ebed472b99 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 22 Nov 2013 14:22:53 +0100
Subject: [PATCH 30/93] dmaengine: Add support for BCM2708
Subject: [PATCH 30/94] 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 +108966,7 @@ index 0000000..b244293
From 8e79544f1ff0c54df986325c4347f4c8d554370c Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 22 Nov 2013 14:33:38 +0100
Subject: [PATCH 31/93] ASoC: Add support for BCM2708
Subject: [PATCH 31/94] ASoC: Add support for BCM2708
This driver adds support for digital audio (I2S)
for the BCM2708 SoC that is used by the
@ -109964,7 +109964,7 @@ index 0000000..ebaf3d6
From b66e706776ad1c098c03c7c0a08e1b49a909b001 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 22 Nov 2013 14:37:51 +0100
Subject: [PATCH 32/93] BCM2708: Extend mach header
Subject: [PATCH 32/94] BCM2708: Extend mach header
Extend the headers of the mach-bcm2708
in order to support I2S and DMA engine.
@ -110009,7 +110009,7 @@ index 992a630..2e7e1bb 100644
From f965994b1704ecbdf5988279fa2675416ec24689 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 22 Nov 2013 14:59:51 +0100
Subject: [PATCH 33/93] ASoC: Add support for PCM5102A codec
Subject: [PATCH 33/94] ASoC: Add support for PCM5102A codec
Some definitions to support the PCM5102A codec
by Texas Instruments.
@ -110137,7 +110137,7 @@ index 0000000..126f1e9
From 59d1e13538d2251dad81db291c769a47023efd24 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 22 Nov 2013 19:04:54 +0100
Subject: [PATCH 34/93] BCM2708: Add I2S support to board file
Subject: [PATCH 34/94] BCM2708: Add I2S support to board file
Adds the required initializations for I2S
to the board file of mach-bcm2708.
@ -110195,7 +110195,7 @@ index a6eb08e..27e47d5 100644
From f5ef93926fbc0047c70fd094a8e6a7115f76959f Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 22 Nov 2013 19:19:08 +0100
Subject: [PATCH 35/93] ASoC: Add support for HifiBerry DAC
Subject: [PATCH 35/94] ASoC: Add support for HifiBerry DAC
This adds a machine driver for the HifiBerry DAC.
It is a sound card that can
@ -110347,7 +110347,7 @@ index 0000000..4b70b45
From 65d21fa1077ab0de2fff08711085a573b249b70a Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 22 Nov 2013 19:21:34 +0100
Subject: [PATCH 36/93] BCM2708: Add HifiBerry DAC to board file
Subject: [PATCH 36/94] BCM2708: Add HifiBerry DAC to board file
This adds the initalization of the HifiBerry DAC
to the mach-bcm2708 board file.
@ -110398,7 +110398,7 @@ index 27e47d5..fafd8d0 100644
From bdfd5b66ade61b7d8add0a972efb58b0db431b56 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 6 Dec 2013 18:55:53 +0100
Subject: [PATCH 37/93] ASoC: BCM2708: Add 24 bit support
Subject: [PATCH 37/94] 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 +110473,7 @@ index ebaf3d6..a179216 100644
From d5c67474b3103119085c63a6baf25ed2eb550a58 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Mon, 2 Dec 2013 20:28:22 +0100
Subject: [PATCH 38/93] BCM2708: Add I2S and DMA support to default config
Subject: [PATCH 38/94] 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 +110516,7 @@ index 0c58172..38ccd22 100644
From 384db42ed68bc4fceccee99c9461f14709c28828 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Fri, 6 Dec 2013 20:50:28 +0100
Subject: [PATCH 39/93] ASoC: BCM2708: Add support for RPi-DAC
Subject: [PATCH 39/94] ASoC: BCM2708: Add support for RPi-DAC
This adds a machine driver for the RPi-DAC.
@ -110830,7 +110830,7 @@ index 0000000..b4eaa44
From 02323e41c0527ef3763cb29dfda6ef0f41c1d80f Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Wed, 15 Jan 2014 21:41:23 +0100
Subject: [PATCH 40/93] ASoC: wm8804: Implement MCLK configuration options, add
Subject: [PATCH 40/94] 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 +110873,7 @@ index d96e5963..9a7a289 100644
From 93383b9b50befba8e959c7f9dfec1e9252ee42ba Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Wed, 15 Jan 2014 21:42:08 +0100
Subject: [PATCH 41/93] ASoC: BCM:Add support for HiFiBerry Digi. Driver is
Subject: [PATCH 41/94] ASoC: BCM:Add support for HiFiBerry Digi. Driver is
based on the patched WM8804 driver.
Signed-off-by: Daniel Matuschek <daniel@matuschek.net>
@ -111079,7 +111079,7 @@ index 0000000..e4f769d
From 0e6318ea66a835f331e8f194519f6d03a6ae4dd5 Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Thu, 16 Jan 2014 07:26:08 +0100
Subject: [PATCH 42/93] BCM2708: Added support for HiFiBerry Digi board Board
Subject: [PATCH 42/94] BCM2708: Added support for HiFiBerry Digi board Board
initalization by I2C
Signed-off-by: Daniel Matuschek <daniel@matuschek.net>
@ -111129,7 +111129,7 @@ index 238f165..139045b 100644
From 943a8e128f3a685b1ffb7abd67ddc4c262002897 Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Thu, 16 Jan 2014 07:27:28 +0100
Subject: [PATCH 43/93] BCM2708: Added HiFiBerry Digi configuration option It
Subject: [PATCH 43/94] BCM2708: Added HiFiBerry Digi configuration option It
will be compiled as a module by default. This also includes the WM8804
driver.
@ -111157,7 +111157,7 @@ index 5e049f9..4f6bb90 100644
From 601a38140c26626d4f2917bea04fc6b8e096884d Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Thu, 16 Jan 2014 07:36:35 +0100
Subject: [PATCH 44/93] ASoC: wm8804: Set idle_bias_off to false Idle bias has
Subject: [PATCH 44/94] ASoC: wm8804: Set idle_bias_off to false Idle bias has
been change to remove warning on driver startup
Signed-off-by: Daniel Matuschek <daniel@matuschek.net>
@ -111182,7 +111182,7 @@ index 9a7a289..32e199a 100644
From 5b9e91c82dfebd32160d62ec77ef802bf3fe3e39 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 12 Mar 2014 11:46:34 +0000
Subject: [PATCH 45/93] ASoc: Don't report S24_LE support, it produces white
Subject: [PATCH 45/94] ASoc: Don't report S24_LE support, it produces white
noise with xbmc
---
@ -111220,7 +111220,7 @@ index 126f1e9..7812d34 100644
From 6cfb5d9808b9b905c3e33e406b6599a7358ec3ff Mon Sep 17 00:00:00 2001
From: Gordon Garrity <gordon@iqaudio.com>
Date: Sat, 8 Mar 2014 16:56:57 +0000
Subject: [PATCH 46/93] Add IQaudIO Sound Card support for Raspberry Pi
Subject: [PATCH 46/94] Add IQaudIO Sound Card support for Raspberry Pi
---
arch/arm/configs/bcmrpi_defconfig | 1 +
@ -111433,7 +111433,7 @@ index 0000000..8d0e2ae
From 5e1cad035f3e1576fdd35adca79ddff557173f9c Mon Sep 17 00:00:00 2001
From: Howard Mitchell <hm@hmbedded.co.uk>
Date: Wed, 30 Jul 2014 21:43:37 +0100
Subject: [PATCH 47/93] soc-core: Fix volsw_range funcs so
Subject: [PATCH 47/94] 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 +111510,7 @@ index b87d7d8..1f3d03e 100644
From 9776eb7b723a9a1c8b1b821981b7373c13d393de Mon Sep 17 00:00:00 2001
From: Howard Mitchell <hm@hmbedded.co.uk>
Date: Fri, 28 Mar 2014 16:40:31 +0000
Subject: [PATCH 48/93] pcm512x: Use a range macro for Volume and rename to
Subject: [PATCH 48/94] pcm512x: Use a range macro for Volume and rename to
PCM.
This allows limiting the output gain to avoid clipping in the
@ -111538,7 +111538,7 @@ index 163ec38..1466955 100644
From 1735fd793c3693f19f465396fa8de1d52ad5500b Mon Sep 17 00:00:00 2001
From: Gordon Hollingworth <gordon@holliweb.co.uk>
Date: Fri, 2 May 2014 16:13:59 +0100
Subject: [PATCH 49/93] Move GPIO setup to hw_params.
Subject: [PATCH 49/94] 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 +111637,7 @@ index b25e158..9976571 100644
From 61b6816da3847b9241a7eb6c38e8bcf356abe135 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 18 Jun 2014 13:42:01 +0100
Subject: [PATCH 50/93] vmstat: Workaround for issue where dirty page count
Subject: [PATCH 50/94] vmstat: Workaround for issue where dirty page count
goes negative
See:
@ -111667,7 +111667,7 @@ index 82e7db7..f87d16d 100644
From 8ba5c5f91663aecc77b3eed5c43c3053c0c450bc Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Fri, 20 Jun 2014 16:03:12 +0100
Subject: [PATCH 51/93] dwc_otg: Fix various issues with root port and
Subject: [PATCH 51/94] dwc_otg: Fix various issues with root port and
transaction errors
Process the host port interrupts correctly (and don't trample them).
@ -111740,7 +111740,7 @@ index d3e2035..6182d3e 100644
From 47614d6b2e379e784720eacc2e271b5f89dbfc97 Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Fri, 20 Jun 2014 17:23:20 +0100
Subject: [PATCH 52/93] fiq_fsm: Implement hack for Split Interrupt
Subject: [PATCH 52/94] fiq_fsm: Implement hack for Split Interrupt
transactions
Hubs aren't too picky about which endpoint we send Control type split
@ -111829,7 +111829,7 @@ index daea770..35721e5 100644
From 4c6a19f732d959989328ba7bdda2d75286736f1e Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Sun, 6 Jul 2014 12:07:25 +0200
Subject: [PATCH 53/93] spi-bcm2708: Prepare for Common Clock Framework
Subject: [PATCH 53/94] spi-bcm2708: Prepare for Common Clock Framework
migration
As part of migrating to use the Common Clock Framework, replace clk_enable()
@ -111877,7 +111877,7 @@ index b04a57d..349d21f 100644
From 8419618a20b32f53091e548de8b3179efb443b71 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Sun, 6 Jul 2014 12:09:30 +0200
Subject: [PATCH 54/93] BCM2708: Migrate to the Common Clock Framework
Subject: [PATCH 54/94] 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 +112150,7 @@ index 5f9d725..0000000
From 2b75bfbf32d5a53497215f51259e4e123accd3f7 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Wed, 9 Jul 2014 14:46:08 +0200
Subject: [PATCH 55/93] BCM2708: Add core Device Tree support
Subject: [PATCH 55/94] BCM2708: Add core Device Tree support
Add the bare minimum needed to boot BCM2708 from a Device Tree.
@ -112310,7 +112310,7 @@ index 674e5aa..83277d1f 100644
From 63dd6c49103610f1f0f4ec0ca6a53e2e27153194 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Wed, 9 Jul 2014 14:47:48 +0200
Subject: [PATCH 56/93] BCM2708: armctrl: Add IRQ Device Tree support
Subject: [PATCH 56/94] BCM2708: armctrl: Add IRQ Device Tree support
Add Device Tree IRQ support for BCM2708.
Usage is the same as for irq-bcm2835.
@ -112477,7 +112477,7 @@ index d4c5333..42f5e1c 100644
From 0e49e16f168532089aba638b33d3b202ec7de426 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Thu, 10 Jul 2014 13:59:47 +0200
Subject: [PATCH 57/93] pinctrl: add bcm2708 driver
Subject: [PATCH 57/94] pinctrl: add bcm2708 driver
This driver is a verbatim copy of the pinctrl-bcm2835 driver, except for:
* changed 2835 to 2708
@ -113343,7 +113343,7 @@ index 0000000..40d9c86
From 9fc6a169ddea8269fe1df58c9004abab104f7f48 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 14 Jul 2014 22:02:09 +0100
Subject: [PATCH 58/93] hid: Reduce default mouse polling interval to 60Hz
Subject: [PATCH 58/94] hid: Reduce default mouse polling interval to 60Hz
Reduces overhead when using X
---
@ -113382,7 +113382,7 @@ index 7b88f4c..016a485 100644
From e20b16f3b5dfcf6371790f16f5cdecde921b5130 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Fri, 18 Jul 2014 18:15:57 +0200
Subject: [PATCH 59/93] BCM2708: DT: change 'axi' nodename to 'soc'
Subject: [PATCH 59/94] 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 +113410,7 @@ index 3f884b3..e02e67b 100644
From d6cc30d753e10383f8abe7799caec57d27a3a600 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Sun, 27 Jul 2014 20:12:58 +0200
Subject: [PATCH 60/93] spi: bcm2708: add device tree support
Subject: [PATCH 60/94] 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 +113532,7 @@ index 349d21f..041b5e2 100644
From 0ba6413e40b88c218a91e38eae5b0e869dd8d87f Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Sun, 27 Jul 2014 20:13:44 +0200
Subject: [PATCH 61/93] BCM2708: don't register SPI controller when using DT
Subject: [PATCH 61/94] 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 +113606,7 @@ index 83277d1f..a4286e9 100644
From 6aaedef2fbf03ada1f5061390771291e0a4b0ba2 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Sun, 27 Jul 2014 20:14:05 +0200
Subject: [PATCH 62/93] spi: bcm2835: make driver available on ARCH_BCM2708
Subject: [PATCH 62/94] spi: bcm2835: make driver available on ARCH_BCM2708
Make this driver available on ARCH_BCM2708
@ -113632,7 +113632,7 @@ index cb20594..54aac0f 100644
From dcc9c0bc8624de2ee2f77b093f348ecfeef7dd6b Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Tue, 29 Jul 2014 11:04:49 +0200
Subject: [PATCH 63/93] i2c: bcm2708: add device tree support
Subject: [PATCH 63/94] i2c: bcm2708: add device tree support
Add DT support to driver and add to .dtsi file.
Setup pins in .dts file.
@ -113800,7 +113800,7 @@ index 8750634..728cb69 100644
From 07ded1952cc830dc6db189b5412aa75f7af20d21 Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Tue, 29 Jul 2014 11:05:18 +0200
Subject: [PATCH 64/93] bcm2708: don't register i2c controllers when using DT
Subject: [PATCH 64/94] 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 +113845,7 @@ index a4286e9..a19f54d 100644
From 0b7ede139e83da2ab7151e5cbf49f5a2581cf77e Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Tue, 29 Jul 2014 11:05:39 +0200
Subject: [PATCH 65/93] i2c: bcm2835: make driver available on ARCH_BCM2708
Subject: [PATCH 65/94] i2c: bcm2835: make driver available on ARCH_BCM2708
Make this driver available on ARCH_BCM2708
@ -113871,7 +113871,7 @@ index 6426811..73c9cfd 100644
From 30f0ba5a38268e6d665954f5cfc5ef4921da9a30 Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Fri, 25 Jul 2014 07:08:09 +0200
Subject: [PATCH 66/93] Configure GPIOs for I2S based on revision/card settings
Subject: [PATCH 66/94] 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 +114029,7 @@ index 0000000..94fed6a
From e1b3205dea5df5f79f1a79efbb28d0cdb417a801 Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Thu, 24 Jul 2014 21:24:03 +0100
Subject: [PATCH 67/93] usb: core: make overcurrent messages more prominent
Subject: [PATCH 67/94] usb: core: make overcurrent messages more prominent
Hub overcurrent messages are more serious than "debug". Increase loglevel.
---
@ -114053,7 +114053,7 @@ index 27f2171..7c88f04 100644
From 45902ee57f86aab877156829d5ec20f5896b7bee Mon Sep 17 00:00:00 2001
From: Tim Gover <tgover@broadcom.com>
Date: Tue, 22 Jul 2014 15:41:04 +0100
Subject: [PATCH 68/93] vcsm: VideoCore shared memory service for BCM2835
Subject: [PATCH 68/94] 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 +118389,7 @@ index 0000000..da1c523
From 8d75c89327ad590f4dbc606e97fc9e1bfa7fbf49 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 7 Aug 2014 02:03:50 +0100
Subject: [PATCH 69/93] Revert "ARM: dma: Use dma_pfn_offset for dma address
Subject: [PATCH 69/94] Revert "ARM: dma: Use dma_pfn_offset for dma address
translation"
This reverts commit 6ce0d20016925d031f1e24d64302e4c976d7cec6.
@ -118444,7 +118444,7 @@ index c45b61a..0af6bd0 100644
From fbabba459c67f823b397a33882a980028502ea3d Mon Sep 17 00:00:00 2001
From: Phil Elwell <pelwell@broadcom.com>
Date: Fri, 8 Aug 2014 16:22:59 +0100
Subject: [PATCH 70/93] VCHIQ: Make service closure fully synchronous (drv)
Subject: [PATCH 70/94] 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 +118796,7 @@ index e248037..6137ae9 100644
From 233b56a327a92c3aa78fe599c59c192b3ad224cc Mon Sep 17 00:00:00 2001
From: gellert <gellert@raspberrypi.org>
Date: Tue, 29 Jul 2014 17:43:37 +0100
Subject: [PATCH 71/93] dmaengine: expand functionality by supporting
Subject: [PATCH 71/94] dmaengine: expand functionality by supporting
scatter/gather transfers sdhci-bcm2708 and dma.c: fix for LITE channels
---
@ -120094,7 +120094,7 @@ index 6e777f4..15445215 100644
From 9bbcdf6daf5c3c7d857ff9969431b8b41089c194 Mon Sep 17 00:00:00 2001
From: gellert <gellert@raspberrypi.org>
Date: Fri, 15 Aug 2014 16:35:06 +0100
Subject: [PATCH 72/93] MMC: added alternative MMC driver
Subject: [PATCH 72/94] MMC: added alternative MMC driver
---
arch/arm/mach-bcm2708/bcm2708.c | 37 +-
@ -121778,7 +121778,7 @@ index 0000000..c50ff43
From 89e297b793f62c7bf6c725419b37928d00a6c900 Mon Sep 17 00:00:00 2001
From: gellert <gellert@raspberrypi.org>
Date: Fri, 15 Aug 2014 16:35:59 +0100
Subject: [PATCH 73/93] turn on new MMC driver
Subject: [PATCH 73/94] turn on new MMC driver
---
arch/arm/configs/bcmrpi_defconfig | 7 +++++--
@ -121814,7 +121814,7 @@ index 105bcbe..1b06882 100644
From 9e15b1d99263bd5bb80de6a9d408688e0ce0c9a4 Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Mon, 4 Aug 2014 10:06:56 +0200
Subject: [PATCH 74/93] Added support for HiFiBerry DAC+
Subject: [PATCH 74/94] 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 +122041,7 @@ index 0000000..c63387b
From 06411e077731eea2573931325379ed81958c7c08 Mon Sep 17 00:00:00 2001
From: Florian Meier <florian.meier@koalo.de>
Date: Mon, 4 Aug 2014 16:47:36 +0200
Subject: [PATCH 75/93] ASoC: BCM: Typo in RPi-DAC driver
Subject: [PATCH 75/94] ASoC: BCM: Typo in RPi-DAC driver
This patch corrects a typo that originated from
inattentive copy and paste.
@ -122070,7 +122070,7 @@ index ef3cd93..6d6e0ba 100644
From 0a267ea51fa04dfa7cdfa7ae2f87120640ff0d63 Mon Sep 17 00:00:00 2001
From: Kari Suvanto <karis79@gmail.com>
Date: Tue, 19 Aug 2014 14:25:28 +0300
Subject: [PATCH 76/93] usb: dwc: fix lockdep false positive
Subject: [PATCH 76/94] usb: dwc: fix lockdep false positive
Os wrapper function for spinlock init causes lockdep to show this
false positive splat during boot:
@ -122236,7 +122236,7 @@ index 40fb25c..ae0c72d 100644
From 92463750c77bf0040424411fd70b26204db5cdc1 Mon Sep 17 00:00:00 2001
From: Kari Suvanto <karis79@gmail.com>
Date: Tue, 19 Aug 2014 14:38:24 +0300
Subject: [PATCH 77/93] usb: dwc: fix inconsistent lock state
Subject: [PATCH 77/94] usb: dwc: fix inconsistent lock state
Lockdep gives this splat during boot:
[ 4.136748] =================================
@ -122347,7 +122347,7 @@ index 8706a5c..17d3030 100644
From 16c3f0f68eb7a2f4751a9f93babf22d3c3830b3f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 19 Aug 2014 00:25:00 +0100
Subject: [PATCH 78/93] bcm2708: Enable bcm2835_mmc by default
Subject: [PATCH 78/94] bcm2708: Enable bcm2835_mmc by default
---
arch/arm/mach-bcm2708/bcm2708.c | 2 +-
@ -122370,7 +122370,7 @@ index cf421ee..ac30e14 100644
From 8e288e5e667d46d5acb696cb5e4e84c6249f8905 Mon Sep 17 00:00:00 2001
From: android <trevd1234@gmail.com>
Date: Mon, 25 Aug 2014 06:54:19 +0100
Subject: [PATCH 79/93] bcm2708_fb : Implement blanking support using the
Subject: [PATCH 79/94] bcm2708_fb : Implement blanking support using the
mailbox property interface
This implementation uses the userspace request style of an array of unsigned
@ -122460,7 +122460,7 @@ index b3b1e04..b25dd5b 100644
From 7be5982a8515bb345dee85a5f0fb2c19ff4ce53d Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Mon, 4 Aug 2014 11:09:58 +0200
Subject: [PATCH 80/93] Added driver for HiFiBerry Amp amplifier add-on board
Subject: [PATCH 80/94] 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.
@ -123316,7 +123316,7 @@ index 0000000..8f019e0
From 0f0f41157f6f1525ec47cd92e87667c3cd574b02 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 12 Sep 2014 14:33:41 +0100
Subject: [PATCH 81/93] Revert "ASoc: Don't report S24_LE support, it produces
Subject: [PATCH 81/94] Revert "ASoc: Don't report S24_LE support, it produces
white noise with xbmc"
This reverts commit db761a2a596f655673d41d329bcfc954c68e6e02.
@ -123355,7 +123355,7 @@ index 7812d34..126f1e9 100644
From 737341cede36eba1f41f0193dc4957624398e46d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 13 Sep 2014 10:52:04 +0100
Subject: [PATCH 82/93] bcm2708-i2s: Update bclk_ratio to more correct values
Subject: [PATCH 82/94] bcm2708-i2s: Update bclk_ratio to more correct values
---
sound/soc/bcm/bcm2708-i2s.c | 6 +++---
@ -123388,7 +123388,7 @@ index 128c158..f1859b2 100644
From ba76bd6851e91bdd554ef9f210e7f31ed12159f9 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 16 Sep 2014 15:10:10 +0100
Subject: [PATCH 83/93] config: Add module SND_SIMPLE_CARD
Subject: [PATCH 83/94] config: Add module SND_SIMPLE_CARD
---
arch/arm/configs/bcmrpi_defconfig | 1 +
@ -123410,7 +123410,7 @@ index 742548f..73fcb9d 100644
From fcf9c64552775b27c1416a9eefaa73cb1cf831eb Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Sep 2014 23:35:44 +0100
Subject: [PATCH 84/93] bcm2708_fb: Add pan and vsync controls
Subject: [PATCH 84/94] bcm2708_fb: Add pan and vsync controls
---
drivers/video/fbdev/bcm2708_fb.c | 53 ++++++++++++++++++++++++++++++++--------
@ -123523,7 +123523,7 @@ index b25dd5b..ffa584b 100644
From d3f8c5720354f6a5d6b1ec5080d8d1e53ae4203d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 16 Sep 2014 15:07:30 +0100
Subject: [PATCH 85/93] bcm2708_fb: Reduce dmesg spam
Subject: [PATCH 85/94] bcm2708_fb: Reduce dmesg spam
---
drivers/video/fbdev/bcm2708_fb.c | 7 ++++---
@ -123560,7 +123560,7 @@ index ffa584b..32aaaf5 100644
From 93cbf976b7a7d19b0daf5f2ac054aff33425fa74 Mon Sep 17 00:00:00 2001
From: ghollingworth <gordon@raspberrypi.org>
Date: Wed, 20 Aug 2014 20:52:31 +0100
Subject: [PATCH 86/93] gpio: Fix for GPIO interrupts higher than pin 32
Subject: [PATCH 86/94] gpio: Fix for GPIO interrupts higher than pin 32
---
arch/arm/mach-bcm2708/bcm2708_gpio.c | 56 +++++++++++++++++++-----------------
@ -123676,7 +123676,7 @@ index 120929ff..5fb845a 100644
From e57780aae5cd3f785ade99d0e3ebe15504239a32 Mon Sep 17 00:00:00 2001
From: Serge Schneider <serge@raspberrypi.org>
Date: Wed, 3 Sep 2014 17:28:53 +0100
Subject: [PATCH 87/93] power: Add defines for contolling DSI power through
Subject: [PATCH 87/94] power: Add defines for contolling DSI power through
mailbox interface
---
@ -123707,7 +123707,7 @@ index aae9136..d3bf245 100644
From dabe7b7d8898de714d73bcdf57a86fa045b9047a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Sep 2014 23:34:17 +0100
Subject: [PATCH 88/93] vcio: Fix incorrect and add new mailbox tags
Subject: [PATCH 88/94] vcio: Fix incorrect and add new mailbox tags
---
arch/arm/mach-bcm2708/include/mach/vcio.h | 29 +++++++++++++++++++++++------
@ -123772,7 +123772,7 @@ index 62e052e..8e11d67 100644
From ee6bb56a54b1407ee814cb3e320d0f31de1a0d40 Mon Sep 17 00:00:00 2001
From: ghollingworth <gordon@raspberrypi.org>
Date: Wed, 20 Aug 2014 21:18:21 +0100
Subject: [PATCH 89/93] lirc: Remove restriction on gpio pins that can be used
Subject: [PATCH 89/94] lirc: Remove restriction on gpio pins that can be used
with lirc
Compute Module, for example could use different pins
@ -123849,7 +123849,7 @@ index 57ffacf..1da6a9f 100644
From eb9ade7441940042ab3533effddf644faa1c4856 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Sep 2014 22:23:21 +0100
Subject: [PATCH 90/93] tas5713: snd_soc_codec_set_cache_io has gone in 3.16
Subject: [PATCH 90/94] tas5713: snd_soc_codec_set_cache_io has gone in 3.16
---
sound/soc/codecs/tas5713.c | 8 --------
@ -123878,7 +123878,7 @@ index ee96a12..90accc2 100644
From 16fbce12df7480b49311dce1065770e2f76a971d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Sep 2014 22:22:13 +0100
Subject: [PATCH 91/93] bcm2708-i2s: Avoid leak from iomap when accessing gpio
Subject: [PATCH 91/94] bcm2708-i2s: Avoid leak from iomap when accessing gpio
---
sound/soc/bcm/bcm2708-i2s.c | 33 ++++++++++++++++++++++-----------
@ -123956,7 +123956,7 @@ index f1859b2..2ea78c9 100644
From ba27be53aa6ef038d3e4bdb6c6da83225b28cb3d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sat, 30 Aug 2014 16:24:19 +0100
Subject: [PATCH 92/93] bcm2708-i2s: Fix check for B+ board revision to exclude
Subject: [PATCH 92/94] bcm2708-i2s: Fix check for B+ board revision to exclude
flags like warranty bit
---
@ -123977,26 +123977,168 @@ index 2ea78c9..9023984 100644
pinconfig=BCM2708_I2S_GPIO_PIN18;
} else {
From 617139f8c897f1c91ad8b8bc3e298f82560f0d88 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 23 Sep 2014 11:31:48 +0100
Subject: [PATCH 93/93] pcm5102a: Don't report S24_LE support, it produces
white noise with xbmc
From fc1f587ff7f9a2f49cb8a320569a76e827027cb8 Mon Sep 17 00:00:00 2001
From: Julian Scheel <julian@jusst.de>
Date: Thu, 14 Aug 2014 08:40:24 +0200
Subject: [PATCH 93/94] bcm2708: Add extension to configure internal pulls
The bcm2708 gpio controller supports internal pulls to be used as pull-up,
pull-down or being entirely disabled. As it can be useful for a driver to
change the pull configuration from it's default pull-down state, add an
extension which allows configuring the pull per gpio.
Signed-off-by: Julian Scheel <julian@jusst.de>
---
sound/soc/codecs/pcm5102a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-bcm2708/bcm2708_gpio.c | 38 +++++++++++++++++++++++++++++++++++
include/linux/platform_data/bcm2708.h | 23 +++++++++++++++++++++
2 files changed, 61 insertions(+)
create mode 100644 include/linux/platform_data/bcm2708.h
diff --git a/sound/soc/codecs/pcm5102a.c b/sound/soc/codecs/pcm5102a.c
index 126f1e9..3e392b8 100644
--- a/sound/soc/codecs/pcm5102a.c
+++ b/sound/soc/codecs/pcm5102a.c
@@ -28,7 +28,7 @@ static struct snd_soc_dai_driver pcm5102a_dai = {
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_192000,
.formats = SNDRV_PCM_FMTBIT_S16_LE |
- SNDRV_PCM_FMTBIT_S24_LE |
+ //SNDRV_PCM_FMTBIT_S24_LE |
SNDRV_PCM_FMTBIT_S32_LE
},
};
diff --git a/arch/arm/mach-bcm2708/bcm2708_gpio.c b/arch/arm/mach-bcm2708/bcm2708_gpio.c
index 5fb845a..86cafa7 100644
--- a/arch/arm/mach-bcm2708/bcm2708_gpio.c
+++ b/arch/arm/mach-bcm2708/bcm2708_gpio.c
@@ -11,6 +11,7 @@
#include <linux/spinlock.h>
#include <linux/module.h>
+#include <linux/delay.h>
#include <linux/list.h>
#include <linux/io.h>
#include <linux/irq.h>
@@ -21,6 +22,8 @@
#include <linux/platform_device.h>
#include <mach/platform.h>
+#include <linux/platform_data/bcm2708.h>
+
#define BCM_GPIO_DRIVER_NAME "bcm2708_gpio"
#define DRIVER_NAME BCM_GPIO_DRIVER_NAME
#define BCM_GPIO_USE_IRQ 1
@@ -131,6 +134,41 @@ static void bcm2708_gpio_set(struct gpio_chip *gc, unsigned offset, int value)
writel(1 << gpio_field_offset, gpio->base + GPIOCLR(gpio_bank));
}
+/**********************
+ * extension to configure pullups
+ */
+int bcm2708_gpio_setpull(struct gpio_chip *gc, unsigned offset,
+ bcm2708_gpio_pull_t value)
+{
+ struct bcm2708_gpio *gpio = container_of(gc, struct bcm2708_gpio, gc);
+ unsigned gpio_bank = offset / 32;
+ unsigned gpio_field_offset = (offset - 32 * gpio_bank);
+
+ if (offset >= BCM2708_NR_GPIOS)
+ return -EINVAL;
+
+ switch (value) {
+ case BCM2708_PULL_UP:
+ writel(2, gpio->base + GPIOUD(0));
+ break;
+ case BCM2708_PULL_DOWN:
+ writel(1, gpio->base + GPIOUD(0));
+ break;
+ case BCM2708_PULL_OFF:
+ writel(0, gpio->base + GPIOUD(0));
+ break;
+ }
+
+ udelay(5);
+ writel(1 << gpio_field_offset, gpio->base + GPIOUDCLK(gpio_bank));
+ udelay(5);
+ writel(0, gpio->base + GPIOUD(0));
+ writel(0 << gpio_field_offset, gpio->base + GPIOUDCLK(gpio_bank));
+
+ return 0;
+}
+EXPORT_SYMBOL(bcm2708_gpio_setpull);
+
/*************************************************************************************************************************
* bcm2708 GPIO IRQ
*/
diff --git a/include/linux/platform_data/bcm2708.h b/include/linux/platform_data/bcm2708.h
new file mode 100644
index 0000000..fb69624
--- /dev/null
+++ b/include/linux/platform_data/bcm2708.h
@@ -0,0 +1,23 @@
+/*
+ * include/linux/platform_data/bcm2708.h
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * (C) 2014 Julian Scheel <julian@jusst.de>
+ *
+ */
+#ifndef __BCM2708_H_
+#define __BCM2708_H_
+
+typedef enum {
+ BCM2708_PULL_OFF,
+ BCM2708_PULL_UP,
+ BCM2708_PULL_DOWN
+} bcm2708_gpio_pull_t;
+
+extern int bcm2708_gpio_setpull(struct gpio_chip *gc, unsigned offset,
+ bcm2708_gpio_pull_t value);
+
+#endif
From c40e93792b0d45327ba9d8c2b12dd6382d97d62d Mon Sep 17 00:00:00 2001
From: Julian Scheel <julian@jusst.de>
Date: Thu, 14 Aug 2014 08:42:55 +0200
Subject: [PATCH 94/94] lirc_rpi: Add parameter to specify input pin pull
Depending on the connected IR circuitry it might be desirable to change the
gpios internal pull from it pull-down default behaviour. Add a module
parameter to allow the user to set it explicitly.
Signed-off-by: Julian Scheel <julian@jusst.de>
---
drivers/staging/media/lirc/lirc_rpi.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/staging/media/lirc/lirc_rpi.c b/drivers/staging/media/lirc/lirc_rpi.c
index 1da6a9f..887c36b 100644
--- a/drivers/staging/media/lirc/lirc_rpi.c
+++ b/drivers/staging/media/lirc/lirc_rpi.c
@@ -41,6 +41,8 @@
#include <mach/gpio.h>
#include <linux/gpio.h>
+#include <linux/platform_data/bcm2708.h>
+
#define LIRC_DRIVER_NAME "lirc_rpi"
#define RBUF_LEN 256
#define LIRC_TRANSMITTER_LATENCY 50
@@ -62,6 +64,8 @@
/* set the default GPIO input pin */
static int gpio_in_pin = 18;
+/* set the default pull behaviour for input pin */
+static int gpio_in_pull = BCM2708_PULL_DOWN;
/* set the default GPIO output pin */
static int gpio_out_pin = 17;
/* enable debugging messages */
@@ -318,6 +322,7 @@ static int init_port(void)
goto exit_gpio_free_out_pin;
}
+ bcm2708_gpio_setpull(gpiochip, gpio_in_pin, gpio_in_pull);
gpiochip->direction_input(gpiochip, gpio_in_pin);
gpiochip->direction_output(gpiochip, gpio_out_pin, 1);
gpiochip->set(gpiochip, gpio_out_pin, invert);
@@ -666,6 +671,10 @@ module_param(gpio_in_pin, int, S_IRUGO);
MODULE_PARM_DESC(gpio_in_pin, "GPIO input pin number of the BCM processor."
" (default 18");
+module_param(gpio_in_pull, int, S_IRUGO);
+MODULE_PARM_DESC(gpio_in_pull, "GPIO input pin pull configuration."
+ " (0 = off, 1 = up, 2 = down, default down)");
+
module_param(sense, int, S_IRUGO);
MODULE_PARM_DESC(sense, "Override autodetection of IR receiver circuit"
" (0 = active high, 1 = active low )");