-From 781a47e405cae18b69f4f76c2d945401366cb81f Mon Sep 17 00:00:00 2001
+From 9d6e36d79fe6515b1392ad1a4e4d4aca72bc770e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 12 May 2013 12:24:19 +0100
-Subject: [PATCH 001/203] Main bcm2708/bcm2709 linux port
+Subject: [PATCH 001/222] Main bcm2708/bcm2709 linux port
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 1b06d065cc1209ff7524486eae5dd9bf00a2db0e Mon Sep 17 00:00:00 2001
+From c7eee1285590f15010feaf91970b9e3447e757f4 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 8 Oct 2014 18:50:05 +0100
-Subject: [PATCH 002/203] Add bcm2708_gpio driver
+Subject: [PATCH 002/222] Add bcm2708_gpio driver
Signed-off-by: popcornmix <popcornmix@gmail.com>
-From 0c1382bd36ed3bc31b953028083619990e4dadf6 Mon Sep 17 00:00:00 2001
+From 5de29d9bdc6ec6a368341fc8b59b5c8d3bc0bbf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 1 May 2015 19:11:03 +0200
-Subject: [PATCH 003/203] mailbox: bcm2708: Add bcm2708-vcio
+Subject: [PATCH 003/222] mailbox: bcm2708: Add bcm2708-vcio
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From bd316831fe1a05b9306054d48fb48db5226a6c92 Mon Sep 17 00:00:00 2001
+From 1426af053026f1ad7f7beec0bf05212f7a135a2f Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 1 May 2013 19:46:17 +0100
-Subject: [PATCH 004/203] Add dwc_otg driver
+Subject: [PATCH 004/222] Add dwc_otg driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 128ae7510c357693222c635d3799b982142eb1b5 Mon Sep 17 00:00:00 2001
+From 82a36366805b2ee834e86baf30ed3c8d33a5e33e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 1 May 2013 19:54:32 +0100
-Subject: [PATCH 005/203] bcm2708 watchdog driver
+Subject: [PATCH 005/222] bcm2708 watchdog driver
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
-From 9c44d34f731221eb1f68a4f5454b33b11116de3d Mon Sep 17 00:00:00 2001
+From d82c8352af8dc0331fb66d89a299cb1b3d4b5c98 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Jun 2015 17:06:34 +0100
-Subject: [PATCH 006/203] bcm2708 framebuffer driver
+Subject: [PATCH 006/222] bcm2708 framebuffer driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 6ba80b1f7e7404642d3f72203116a7969b4e84ed Mon Sep 17 00:00:00 2001
+From bd7ed510e2ee47dc4338cc049c004e0451a0ccc9 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 007/203] dmaengine: Add support for BCM2708
+Subject: [PATCH 007/222] dmaengine: Add support for BCM2708
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From f5d5650a56309979ebdd7835396688ef4f7b9625 Mon Sep 17 00:00:00 2001
+From bc8c3e7af7612ae131b7db37e3ec3119234276de Mon Sep 17 00:00:00 2001
From: gellert <gellert@raspberrypi.org>
Date: Fri, 15 Aug 2014 16:35:06 +0100
-Subject: [PATCH 008/203] MMC: added alternative MMC driver
+Subject: [PATCH 008/222] MMC: added alternative MMC driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 8086ce054d96d5a9a2237e5bb1d270dbce759189 Mon Sep 17 00:00:00 2001
+From 74c824df73fca559e8d4114051f66eab362b441e Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 25 Mar 2015 17:49:47 +0000
-Subject: [PATCH 009/203] Adding bcm2835-sdhost driver, and an overlay to
+Subject: [PATCH 009/222] Adding bcm2835-sdhost driver, and an overlay to
enable it
BCM2835 has two SD card interfaces. This driver uses the other one.
-From 484bbb300f8c414aa66c555a5887e2e9dbac0cdd Mon Sep 17 00:00:00 2001
+From 8048b89975994cc6070cd23900a41b9990fa8ad0 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:31:47 +0100
-Subject: [PATCH 010/203] cma: Add vc_cma driver to enable use of CMA
+Subject: [PATCH 010/222] cma: Add vc_cma driver to enable use of CMA
Signed-off-by: popcornmix <popcornmix@gmail.com>
-From 830f064561e1908ba89b9479117b82db07de8c01 Mon Sep 17 00:00:00 2001
+From f03865c96a8fd8a9a33d690a31adaea3b9ed001d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 26 Mar 2012 22:15:50 +0100
-Subject: [PATCH 011/203] bcm2708: alsa sound driver
+Subject: [PATCH 011/222] bcm2708: alsa sound driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From a9ec42880d0dfd336819f699cc63dcf13c897286 Mon Sep 17 00:00:00 2001
+From db0e89bf265b028b37cd187ca81cda2ffa1d86bd Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 2 Jul 2013 23:42:01 +0100
-Subject: [PATCH 012/203] bcm2708 vchiq driver
+Subject: [PATCH 012/222] bcm2708 vchiq driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From c281e92ad16639d2b5bcce1302f78372f29b8cc0 Mon Sep 17 00:00:00 2001
+From 20bee7ec5b055177600183b35bd052facebbe785 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Jun 2015 16:07:06 +0100
-Subject: [PATCH 013/203] vc_mem: Add vc_mem driver
+Subject: [PATCH 013/222] vc_mem: Add vc_mem driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From e56c5f50ab632450c34df97f088f6fe10612ca29 Mon Sep 17 00:00:00 2001
+From 888ad52fb20683834b4b2ce33c2a91e978b22c4e Mon Sep 17 00:00:00 2001
From: Tim Gover <tgover@broadcom.com>
Date: Tue, 22 Jul 2014 15:41:04 +0100
-Subject: [PATCH 014/203] vcsm: VideoCore shared memory service for BCM2835
+Subject: [PATCH 014/222] 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
-From 5922c92d5e4be4c4cc9b59d8a8cd2bfeaebdebbb Mon Sep 17 00:00:00 2001
+From b710de7ce2b20537d03f9f083f0cf5168db2cc84 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:51:55 +0100
-Subject: [PATCH 015/203] Add hwrng (hardware random number generator) driver
+Subject: [PATCH 015/222] Add hwrng (hardware random number generator) driver
---
drivers/char/hw_random/Kconfig | 13 +++-
-From a46ef8c727cf42ab2434d5f19eea7b9a88649d22 Mon Sep 17 00:00:00 2001
+From 04646f6a5ffec4a5cd55999e85df839278860cb1 Mon Sep 17 00:00:00 2001
From: Aron Szabo <aron@aron.ws>
Date: Sat, 16 Jun 2012 12:15:55 +0200
-Subject: [PATCH 016/203] lirc: added support for RaspberryPi GPIO
+Subject: [PATCH 016/222] 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
-From 048e47374e6f6d6f10850316a07159e88b9ed406 Mon Sep 17 00:00:00 2001
+From ce9f1474536ee0a348a6edaefe36c537d76e8f1b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:49:20 +0100
-Subject: [PATCH 017/203] Add cpufreq driver
+Subject: [PATCH 017/222] Add cpufreq driver
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
-From 5298ba74d7c98c9b4dcb5eebdb5528fec4512cba Mon Sep 17 00:00:00 2001
+From b38407e770cb8168f3d5ecef78dabdaf3abc7117 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 26 Mar 2013 19:24:24 +0000
-Subject: [PATCH 018/203] Added hwmon/thermal driver for reporting core
+Subject: [PATCH 018/222] Added hwmon/thermal driver for reporting core
temperature. Thanks Dorian
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
-From f5d52c99c98af7b3d50c6c9650422cb9fd8b495e Mon Sep 17 00:00:00 2001
+From 8edd3a0cf1bd93eef48524a6b7e6a3c88582dc3b Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Jun 2015 15:41:33 +0100
-Subject: [PATCH 019/203] Add Chris Boot's spi driver.
+Subject: [PATCH 019/222] Add Chris Boot's spi driver.
spi: bcm2708: add device tree support
-From 088993fea0e74f22da3f97c7a3212d0cc9a1afea Mon Sep 17 00:00:00 2001
+From b26c77b60932d188fc5cdd6295f9621d2082178e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Jun 2015 15:44:08 +0100
-Subject: [PATCH 020/203] Add Chris Boot's i2c driver
+Subject: [PATCH 020/222] Add Chris Boot's i2c driver
i2c-bcm2708: fixed baudrate
-From 0cb249ef323fd1e4f85d88953c61525f10318424 Mon Sep 17 00:00:00 2001
+From 3d5dd8414df88c14a1229db91ff689fa7501b2d0 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 021/203] bcm2835: add v4l2 camera device
+Subject: [PATCH 021/222] bcm2835: add v4l2 camera device
- Supports raw YUV capture, preview, JPEG and H264.
- Uses videobuf2 for data transfer, using dma_buf.
-From ee7658ee2a268e93a57c507cac4bed85b2c7e8f0 Mon Sep 17 00:00:00 2001
+From 728d6710d7260f450e28fcab81c2eb075b8b0c33 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 23 Jan 2015 14:48:55 +0000
-Subject: [PATCH 022/203] scripts/dtc: Update to upstream version with overlay
+Subject: [PATCH 022/222] scripts/dtc: Update to upstream version with overlay
patches
---
-From 59cf4bf51eea78b4314cfabff3023f1a95358fa6 Mon Sep 17 00:00:00 2001
+From e8a7ea84bd95e08fd11b88eb859526bcb9dbfceb Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 11 May 2015 09:00:42 +0100
-Subject: [PATCH 023/203] scripts: Add mkknlimg and knlinfo scripts from tools
+Subject: [PATCH 023/222] scripts: Add mkknlimg and knlinfo scripts from tools
repo
The Raspberry Pi firmware looks for a trailer on the kernel image to
-From e2ca00ccfecacf743841367a3dab7092f2ce3ffc Mon Sep 17 00:00:00 2001
+From ed8e1821de95f7968412d2b7a8d2e8949ff6ec01 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 5 Dec 2014 17:26:26 +0000
-Subject: [PATCH 024/203] fdt: Add support for the CONFIG_CMDLINE_EXTEND option
+Subject: [PATCH 024/222] fdt: Add support for the CONFIG_CMDLINE_EXTEND option
---
drivers/of/fdt.c | 29 ++++++++++++++++++++++++-----
-From 00bde9c19f378c337830838a67fb9bdf14019ebc Mon Sep 17 00:00:00 2001
+From a50362aada2dfc7d76cd18f4a0c238000ec12d2a Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Wed, 9 Jul 2014 14:46:08 +0200
-Subject: [PATCH 025/203] BCM2708: Add core Device Tree support
+Subject: [PATCH 025/222] BCM2708: Add core Device Tree support
Add the bare minimum needed to boot BCM2708 from a Device Tree.
-From 968d9983a0ff154cf772006f39d72100b8c3dd79 Mon Sep 17 00:00:00 2001
+From 5deca1ea631e795c5c963307dc4622de6af4e9ba 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 026/203] fbdev: add FBIOCOPYAREA ioctl
+Subject: [PATCH 026/222] fbdev: add FBIOCOPYAREA ioctl
Based on the patch authored by Ali Gholami Rudi at
https://lkml.org/lkml/2009/7/13/153
-From 00637200a8710623f0514c98765e2c6bc3a34a37 Mon Sep 17 00:00:00 2001
+From ff592a233049e2d96b036deab9a5025818809580 Mon Sep 17 00:00:00 2001
From: Harm Hanemaaijer <fgenfb@yahoo.com>
Date: Thu, 20 Jun 2013 20:21:39 +0200
-Subject: [PATCH 029/203] Speed up console framebuffer imageblit function
+Subject: [PATCH 029/222] 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
-From 9ac3c3e6aea4f2dccdf5f04b7992e03b58869fd3 Mon Sep 17 00:00:00 2001
+From 8bc5a9af0226bf682927897d0591659bc07b4fd2 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 26 Mar 2013 17:26:38 +0000
-Subject: [PATCH 030/203] Allow mac address to be set in smsc95xx
+Subject: [PATCH 030/222] Allow mac address to be set in smsc95xx
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
-From ec1be1680332a4676db86178ce9f24917aeeca67 Mon Sep 17 00:00:00 2001
+From a46614aa8a7e59dfc9945a9337a0d0394a114c0d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 8 May 2013 11:46:50 +0100
-Subject: [PATCH 031/203] enabling the realtime clock 1-wire chip DS1307 and
+Subject: [PATCH 031/222] 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
-From 37da06d2b47b67624a9f2b8c8eec76429f46f10d Mon Sep 17 00:00:00 2001
+From a8fe2a6005efcc2e0b45750692e6ba092aaddaf3 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 3 Jul 2013 00:54:08 +0100
-Subject: [PATCH 032/203] Added Device IDs for August DVB-T 205
+Subject: [PATCH 032/222] Added Device IDs for August DVB-T 205
---
drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 4 ++++
-From efd60949b03b034da398f15fc9b74d3f3a06c48a Mon Sep 17 00:00:00 2001
+From 392071fc3afa61f49617e9f5386f128ebd47e18e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 18 Dec 2013 22:16:19 +0000
-Subject: [PATCH 033/203] config: Enable CONFIG_MEMCG, but leave it disabled
+Subject: [PATCH 033/222] config: Enable CONFIG_MEMCG, but leave it disabled
(due to memory cost). Enable with cgroup_enable=memory.
---
-From 6a93789e8d9296b68c43d10d5ea4a95b73932e44 Mon Sep 17 00:00:00 2001
+From c2fe89ae53c775db66060b84844024c9a2923dde 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 034/203] ASoC: Add support for BCM2708
+Subject: [PATCH 034/222] ASoC: Add support for BCM2708
This driver adds support for digital audio (I2S)
for the BCM2708 SoC that is used by the
-From f5d02596d7770a458ca6a99e250369fdecfdb763 Mon Sep 17 00:00:00 2001
+From 9f386fe742028175e901cb780edb549e928a59b0 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 035/203] ASoC: Add support for PCM5102A codec
+Subject: [PATCH 035/222] ASoC: Add support for PCM5102A codec
Some definitions to support the PCM5102A codec
by Texas Instruments.
-From 272e93911327e40ec57facd1fbc37e98b06c8c79 Mon Sep 17 00:00:00 2001
+From 63757aefe3befc1044ba041042bf7eca6e52df8b 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 036/203] BCM2708: Add I2S support to board file
+Subject: [PATCH 036/222] BCM2708: Add I2S support to board file
Adds the required initializations for I2S
to the board file of mach-bcm2708.
-From 1c2bf7278b4ac192fed80b01b404a2d44b68b124 Mon Sep 17 00:00:00 2001
+From 2c73e8800199fad97e5a23897b490bdea01a37e0 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 037/203] ASoC: Add support for HifiBerry DAC
+Subject: [PATCH 037/222] ASoC: Add support for HifiBerry DAC
This adds a machine driver for the HifiBerry DAC.
It is a sound card that can
-From 66cb299f5c712d92e1bb69468cdbb7ca481ab777 Mon Sep 17 00:00:00 2001
+From 955ca37f409c5fb63d3dcdc843c5688db1ba68fb 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 038/203] BCM2708: Add HifiBerry DAC to board file
+Subject: [PATCH 038/222] BCM2708: Add HifiBerry DAC to board file
This adds the initalization of the HifiBerry DAC
to the mach-bcm2708 board file.
-From c3a1a7754a288b6c49041fcc69f79c51b36caa73 Mon Sep 17 00:00:00 2001
+From d6d7fceabc82d8d12f3dffafe68a0f578725e477 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 039/203] ASoC: BCM2708: Add support for RPi-DAC
+Subject: [PATCH 039/222] ASoC: BCM2708: Add support for RPi-DAC
This adds a machine driver for the RPi-DAC.
-From 1000a38e381ea718d8daa07edcd371da44b0b855 Mon Sep 17 00:00:00 2001
+From 2dae96e6d244421383bca17cc71fee6d9b85ea47 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 040/203] ASoC: wm8804: Implement MCLK configuration options,
+Subject: [PATCH 040/222] 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
-From dcb8a2f0beafb6bdf057ac2cf51efc9eb12afce5 Mon Sep 17 00:00:00 2001
+From 7f20637bc503f262245743a9bbe496e457e32ec1 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 041/203] ASoC: BCM:Add support for HiFiBerry Digi. Driver is
+Subject: [PATCH 041/222] ASoC: BCM:Add support for HiFiBerry Digi. Driver is
based on the patched WM8804 driver.
Signed-off-by: Daniel Matuschek <daniel@matuschek.net>
-From b6472b32e6f5a3d38a90351b4ccc82f89a5d1167 Mon Sep 17 00:00:00 2001
+From 43f2df5aee3e5e93a54b0150d8ddcc1f29f6ff98 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 042/203] BCM2708: Added support for HiFiBerry Digi board Board
+Subject: [PATCH 042/222] BCM2708: Added support for HiFiBerry Digi board Board
initalization by I2C
Signed-off-by: Daniel Matuschek <daniel@matuschek.net>
-From 59cdf99d9532afce061f452a14c565e1d4a54a50 Mon Sep 17 00:00:00 2001
+From 9663deed1949e03f1440e477c576d221cf46e3e7 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 043/203] ASoC: wm8804: Set idle_bias_off to false Idle bias
+Subject: [PATCH 043/222] 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>
-From fc8ea110c58a5bf56acf6465e6b8e170a0035686 Mon Sep 17 00:00:00 2001
+From f8fb55caae97e04ab68a955eb8946dbee37cd6fe Mon Sep 17 00:00:00 2001
From: Gordon Garrity <gordon@iqaudio.com>
Date: Sat, 8 Mar 2014 16:56:57 +0000
-Subject: [PATCH 044/203] Add IQaudIO Sound Card support for Raspberry Pi
+Subject: [PATCH 044/222] Add IQaudIO Sound Card support for Raspberry Pi
Set a limit of 0dB on Digital Volume Control
-From b1ef48d91499449783ae92a90d5234e5fb6c1692 Mon Sep 17 00:00:00 2001
+From 4105d64e3e2febfa17247150e11bab004f51d419 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 18 Jun 2014 13:42:01 +0100
-Subject: [PATCH 045/203] vmstat: Workaround for issue where dirty page count
+Subject: [PATCH 045/222] vmstat: Workaround for issue where dirty page count
goes negative
See:
-From d2bb9e17cccd1b6d986013538259b90dc199aefb Mon Sep 17 00:00:00 2001
+From 66be82d2643260f3cbfd3e42a4603fd2498a8a29 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 14 Jul 2014 22:02:09 +0100
-Subject: [PATCH 046/203] hid: Reduce default mouse polling interval to 60Hz
+Subject: [PATCH 046/222] hid: Reduce default mouse polling interval to 60Hz
Reduces overhead when using X
---
-From 14fd2e85f4a92ef464a7abae5e19b3dd682f5a89 Mon Sep 17 00:00:00 2001
+From 22cf4c690c9d567e5b8609730f53375bb94bdf5a 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 047/203] Added support for HiFiBerry DAC+
+Subject: [PATCH 047/222] 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.
-From d6f6a3e2752f14210dd13b6d3d19bddc13bd9f79 Mon Sep 17 00:00:00 2001
+From 32145a877f6e116d9bdc780558374782c5b7a4ef 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 048/203] Added driver for HiFiBerry Amp amplifier add-on board
+Subject: [PATCH 048/222] 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.
-From 9791bbe1abe1228c0726314e4e1b8baeff8233ce Mon Sep 17 00:00:00 2001
+From 6a63846a66f76dbac5e65a4d635170524976eb43 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 13 Apr 2015 19:14:18 +0100
-Subject: [PATCH 049/203] bcm2708: Allow option card devices to be configured
+Subject: [PATCH 049/222] bcm2708: Allow option card devices to be configured
via DT
If the kernel is built with Device Tree support, and if a DT blob
-From a6bc94bfd95cb3351ebac3ccff75cd915a8d9e86 Mon Sep 17 00:00:00 2001
+From 22a72f5b7b5e7444845927855d29fc26077cba36 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 13 Apr 2015 18:45:39 +0100
-Subject: [PATCH 050/203] Adding Device Tree support for some RPi audio cards
+Subject: [PATCH 050/222] Adding Device Tree support for some RPi audio cards
---
arch/arm/mach-bcm2709/bcm2709.c | 143 ++++++++++++++++++++++++++++++++++++++
-From 4d818efc09ca08d42fabd91c10c75556b0ab9164 Mon Sep 17 00:00:00 2001
+From b7da35712d3642991ffa703e2082ce712ef38f29 Mon Sep 17 00:00:00 2001
From: Timo Kokkonen <tjko@iki.fi>
Date: Wed, 29 Oct 2014 23:30:30 -0700
-Subject: [PATCH 051/203] Added support to reserve/enable a GPIO pin to be used
+Subject: [PATCH 051/222] Added support to reserve/enable a GPIO pin to be used
from pps-gpio module (LinuxPPS). Enable PPS modules in default config for
RPi.
-From b6d5a7c02f67e35ff3e56ecbb4ef24e65ffdc5bc Mon Sep 17 00:00:00 2001
+From 2320a818d626e60953b335813d58de25b8c882c6 Mon Sep 17 00:00:00 2001
From: Ryan Coe <bluemrp9@gmail.com>
Date: Sat, 31 Jan 2015 18:25:49 -0700
-Subject: [PATCH 052/203] Update ds1307 driver for device-tree support
+Subject: [PATCH 052/222] Update ds1307 driver for device-tree support
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
---
-From a4c686a6a8cc5938de37451714add5ea872f67c2 Mon Sep 17 00:00:00 2001
+From 04d0b82167574e134b822d80fd66b652ced46efd Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 6 Feb 2015 13:50:57 +0000
-Subject: [PATCH 053/203] BCM270x_DT: Add pwr_led, and the required "input"
+Subject: [PATCH 053/222] BCM270x_DT: Add pwr_led, and the required "input"
trigger
The "input" trigger makes the associated GPIO an input. This is to support
-From 4427da11c90fced3efd244e90d408d12bfdeb8c2 Mon Sep 17 00:00:00 2001
+From 355c0cee553a0b0c946210ad71e3d7baba62ec08 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 20 Jun 2014 17:19:27 +0100
-Subject: [PATCH 054/203] bcm2709: Simplify and strip down IRQ handler
+Subject: [PATCH 054/222] bcm2709: Simplify and strip down IRQ handler
---
arch/arm/include/asm/entry-macro-multi.S | 2 +
-From 730ac9d3f596df543a2bd15b5b299da977966cc9 Mon Sep 17 00:00:00 2001
+From f70193e9a8918b67e119a7f105781e2f4a7a8693 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 12 Feb 2015 11:17:53 +0000
-Subject: [PATCH 055/203] Fix LED "input" trigger implementation for 3.19
+Subject: [PATCH 055/222] Fix LED "input" trigger implementation for 3.19
---
drivers/leds/leds-gpio.c | 10 +++++++++-
-From e338dddb10d7d0b02b123305a31832f8818af000 Mon Sep 17 00:00:00 2001
+From 693569fd8130453cadb68845623330f33a17959a Mon Sep 17 00:00:00 2001
From: notro <notro@tronnes.org>
Date: Thu, 10 Jul 2014 13:59:47 +0200
-Subject: [PATCH 056/203] pinctrl-bcm2835: Set base to 0 give expected gpio
+Subject: [PATCH 056/222] pinctrl-bcm2835: Set base to 0 give expected gpio
numbering
Signed-off-by: Noralf Tronnes <notro@tronnes.org>
-From 8eed7ff146c26b290b51011f72b5262909dcd878 Mon Sep 17 00:00:00 2001
+From fe1f360d5a84d13cecc758866356ce8ab8c6c3ef Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 4 Feb 2015 10:02:24 +0000
-Subject: [PATCH 057/203] pinctrl-bcm2835: bcm2835_gpio_direction_output must
+Subject: [PATCH 057/222] pinctrl-bcm2835: bcm2835_gpio_direction_output must
set the value
---
-From ac7db17a7b836e64616f6e556b43969f4ed7ace2 Mon Sep 17 00:00:00 2001
+From ff15e17b5efdf521bb91724a5d8ad6b14e6cea24 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 24 Feb 2015 13:40:50 +0000
-Subject: [PATCH 058/203] pinctrl-bcm2835: Fix interrupt handling for GPIOs
+Subject: [PATCH 058/222] pinctrl-bcm2835: Fix interrupt handling for GPIOs
28-31 and 46-53
Contrary to the documentation, the BCM2835 GPIO controller actually has
-From c8aa040735dccf98d20506578874a9c8fa0a87f4 Mon Sep 17 00:00:00 2001
+From 61d33c34725708e626c5c33cf9429fc54709b1c4 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 26 Feb 2015 09:58:22 +0000
-Subject: [PATCH 059/203] pinctrl-bcm2835: Only request the interrupts listed
+Subject: [PATCH 059/222] pinctrl-bcm2835: Only request the interrupts listed
in the DTB
Although the GPIO controller can generate three interrupts (four counting
-From 91ab8311ca5802198aae08730ae4883cabfa6600 Mon Sep 17 00:00:00 2001
+From 9864dd975cde0ae4145aa12bf262c5cecb9c9c42 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 27 Feb 2015 15:10:24 +0000
-Subject: [PATCH 060/203] enc28j60: Add device tree compatible string and an
+Subject: [PATCH 060/222] enc28j60: Add device tree compatible string and an
overlay
---
-From 24580cf7424fd50f99667d7fd74973c6be768835 Mon Sep 17 00:00:00 2001
+From c51e6eb00517da0d4303e9665a157286a226c9f0 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbrodkorb@conet.de>
Date: Wed, 25 Mar 2015 09:26:17 +0100
-Subject: [PATCH 061/203] Add driver for rpi-proto
+Subject: [PATCH 061/222] 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
-From a7154ea03e9acec217e3d1cb70d0aed869e55669 Mon Sep 17 00:00:00 2001
+From 53a42fe2c62f1a21329c737321f59e0ab97ac655 Mon Sep 17 00:00:00 2001
From: Clive Messer <clive.m.messer@gmail.com>
Date: Thu, 2 Apr 2015 12:22:55 +0100
-Subject: [PATCH 062/203] Add Device Tree support for RPi-DAC.
+Subject: [PATCH 062/222] Add Device Tree support for RPi-DAC.
---
sound/soc/bcm/rpi-dac.c | 21 +++++++++++++++++++++
-From dedcf4042bd975ee5df588f103f7fc5effb61baa Mon Sep 17 00:00:00 2001
+From f0f7f806707254c66abc3e7191ba6c882d0bc596 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 13 Apr 2015 17:16:29 +0100
-Subject: [PATCH 063/203] config: Add default configs
+Subject: [PATCH 063/222] config: Add default configs
---
arch/arm/configs/bcm2709_defconfig | 1204 ++++++++++++++++++++++++++++++++++++
-From df86d2a4a92db44754fa0139b37a197a6d70b107 Mon Sep 17 00:00:00 2001
+From 4f22ec4717a893a18a51aeb1dda2a914e59a0236 Mon Sep 17 00:00:00 2001
From: Steve Glendinning <steve.glendinning@smsc.com>
Date: Thu, 19 Feb 2015 18:47:12 +0000
-Subject: [PATCH 064/203] smsx95xx: fix crimes against truesize
+Subject: [PATCH 064/222] 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.
-From f55a40b960df22fd85166f0059039415a70893d7 Mon Sep 17 00:00:00 2001
+From 582581e7046186496b836d5ca9d349fe142b7a5c Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 17 Apr 2015 16:58:45 +0100
-Subject: [PATCH 065/203] smsc95xx: Disable turbo mode by default
+Subject: [PATCH 065/222] smsc95xx: Disable turbo mode by default
---
drivers/net/usb/smsc95xx.c | 2 +-
-From 96d14e8df0b8209526f76f890404151d58554ada Mon Sep 17 00:00:00 2001
+From 0c5bc2ab516cedb6850fa92f406836828c16d0e9 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 17 Apr 2015 19:30:22 +0100
-Subject: [PATCH 066/203] Add blk_pos parameter to mmc multi_io_quirk callback
+Subject: [PATCH 066/222] Add blk_pos parameter to mmc multi_io_quirk callback
---
drivers/mmc/card/block.c | 1 +
-From 73e03bc0ad554dbd4e4d040d90e46f3d9d31d3c4 Mon Sep 17 00:00:00 2001
+From 70831445fda49a8d59780516b8dc7ae5b85f7e3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Wed, 29 Apr 2015 17:24:02 +0200
-Subject: [PATCH 067/203] bcm2835: bcm2835_defconfig
+Subject: [PATCH 067/222] bcm2835: bcm2835_defconfig
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From edd20d21ede3ec226ef4b93a844e75a758a28daa Mon Sep 17 00:00:00 2001
+From 2c8ee35b904c20c2e4a9abe933de1e1b11f08a33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 1 May 2015 23:00:15 +0200
-Subject: [PATCH 068/203] BCM270x_DT: Add mailbox bcm2708-vcio
+Subject: [PATCH 068/222] BCM270x_DT: Add mailbox bcm2708-vcio
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 04e299dffec7ed7c7d88fe8568a6833005dd9558 Mon Sep 17 00:00:00 2001
+From c513babea26ad936617abdd0b1789f9e67e49847 Mon Sep 17 00:00:00 2001
From: Gordon Hollingworth <gordon@raspberrypi.org>
Date: Tue, 12 May 2015 14:47:56 +0100
-Subject: [PATCH 069/203] rpi-ft5406: Add touchscreen driver for pi LCD display
+Subject: [PATCH 069/222] rpi-ft5406: Add touchscreen driver for pi LCD display
---
drivers/input/touchscreen/Kconfig | 7 +
-From 5929da3d7ce831709884de3e3564de028fafc28c Mon Sep 17 00:00:00 2001
+From 738acf415f0e55f7ec8a2ff25eaefcff08e5d6aa Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 13 Oct 2014 11:47:53 +0100
-Subject: [PATCH 070/203] Improve __copy_to_user and __copy_from_user
+Subject: [PATCH 070/222] Improve __copy_to_user and __copy_from_user
performance
Provide a __copy_from_user that uses memcpy. On BCM2708, use
-From b53b8765c5fe676b590ee450756321746fb84813 Mon Sep 17 00:00:00 2001
+From fbe18b3fca27d4cce0aa721c9fa09bb40dbdd873 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 27 May 2015 17:22:15 +0100
-Subject: [PATCH 071/203] bcm2835-audio: Create the platform device if the DT
+Subject: [PATCH 071/222] bcm2835-audio: Create the platform device if the DT
node is disabled
For backwards compatibility, allow the built-in ALSA driver to be enabled
-From 1f410ca7ae3475c5683dc1ae4e8d9837ee4df9cb Mon Sep 17 00:00:00 2001
+From e652d31334e24f2a6f10c457fb67b14b6c400214 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Wed, 3 Jun 2015 12:26:13 +0200
-Subject: [PATCH 072/203] ARM: bcm2835: Set Serial number and Revision
+Subject: [PATCH 072/222] ARM: bcm2835: Set Serial number and Revision
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 3d0419451c7e9b5299ab34b856ce5fc6c5188a60 Mon Sep 17 00:00:00 2001
+From a0a39e55d9cc36b1ca1094a7db8392134bdb4870 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 16 Jun 2015 17:47:27 +0100
-Subject: [PATCH 073/203] platform: Add force_core command line setting to boot
+Subject: [PATCH 073/222] platform: Add force_core command line setting to boot
from a different core number
---
-From 5711c6e7c1290bca377c8fe624abca2048dabfa2 Mon Sep 17 00:00:00 2001
+From c3203c02229d52924b928aabd50975f9bf511856 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 18 Jun 2015 17:46:17 +0100
-Subject: [PATCH 074/203] mach-bcm270x: Enable the building of pinctrl-bcm2835
+Subject: [PATCH 074/222] mach-bcm270x: Enable the building of pinctrl-bcm2835
---
drivers/pinctrl/Makefile | 1 +
-From 1b19ac4dd61353af67984ca6acc076e88b67f1a6 Mon Sep 17 00:00:00 2001
+From d8222f5bb753b3d3c7eda6de7053442300a0ea89 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 19 Jun 2015 16:41:39 +0100
-Subject: [PATCH 075/203] BCM270X_DT: Document the i2s-mmap overlay
+Subject: [PATCH 075/222] BCM270X_DT: Document the i2s-mmap overlay
---
arch/arm/boot/dts/overlays/README | 6 ++++++
-From 59435defecf72f8e5c9f4ee28591df33ffa78939 Mon Sep 17 00:00:00 2001
+From aa9beb8d637dbe2509f9307cb5f7a809deb35e55 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 17 Jun 2015 11:36:53 +0100
-Subject: [PATCH 076/203] bcm2835-sdhost: Improve error handling and recovery
+Subject: [PATCH 076/222] bcm2835-sdhost: Improve error handling and recovery
1) Expose the hw_reset method to the MMC framework, removing many
internal calls by the driver.
-From 139af060398effb2c9a9dfd8d4878e4efaf57150 Mon Sep 17 00:00:00 2001
+From 9384f8ab274dc6b34a6ce18e574cfa38e751f1d4 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Thu, 4 Jun 2015 13:11:46 -0700
-Subject: [PATCH 077/203] ARM: bcm2835: Add the Raspberry Pi firmware driver
+Subject: [PATCH 077/222] ARM: bcm2835: Add the Raspberry Pi firmware driver
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
-From 860bf6384964fbbaf4ffddeffe7fc86ecf1b2d3f Mon Sep 17 00:00:00 2001
+From a185127b2013c6ab21b311acdc3ba16140b94c48 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 22 Mar 2015 13:33:23 +0000
-Subject: [PATCH 078/203] config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING
+Subject: [PATCH 078/222] config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING
---
arch/arm/configs/bcm2709_defconfig | 4 ++++
-From 4cfd7572f78d82a3e30c213f142ecc0d7f7cde7d Mon Sep 17 00:00:00 2001
+From 9ad5486d41ffd3b073c6acfd3dc4829cc54e773a Mon Sep 17 00:00:00 2001
From: Gordon Hollingworth <gordon@fiveninjas.com>
Date: Mon, 22 Jun 2015 16:27:07 +0100
-Subject: [PATCH 079/203] Add rpi-ft5406 overlay Add rpi-ft5406 driver as
+Subject: [PATCH 079/222] Add rpi-ft5406 overlay Add rpi-ft5406 driver as
module
---
-From 1cefedfe457ea7c738ab1c10ec88fd8a5632444a Mon Sep 17 00:00:00 2001
+From 49a1526eebdc917e81f1779531c7ac962b71167c Mon Sep 17 00:00:00 2001
From: Gordon Hollingworth <gordon@fiveninjas.com>
Date: Tue, 23 Jun 2015 09:53:40 +0100
-Subject: [PATCH 080/203] Fix driver detection failure Check that the buffer
+Subject: [PATCH 080/222] Fix driver detection failure Check that the buffer
response is non-zero meaning the touchscreen was detected
---
-From 35a332275ed70e1740874efbc34b22528995c213 Mon Sep 17 00:00:00 2001
+From 7badd269fc0b6b6bfa6b7073020295f3a101930a Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 23 Jun 2015 13:24:01 +0100
-Subject: [PATCH 081/203] config: Enable 8250 serial port
+Subject: [PATCH 081/222] config: Enable 8250 serial port
---
arch/arm/configs/bcm2709_defconfig | 7 +++++++
-From f8fad3ba247648ef30b116a12a45672fb11e8ade Mon Sep 17 00:00:00 2001
+From 8987a36a37e88af74b4689e760b2e44a8a39c437 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 23 Jun 2015 14:10:58 +0100
-Subject: [PATCH 082/203] config: Enable POWER_RESET_GPIO
+Subject: [PATCH 082/222] config: Enable POWER_RESET_GPIO
---
arch/arm/configs/bcm2709_defconfig | 2 ++
-From f789239f3014997243c1f46e74c7f653d3826503 Mon Sep 17 00:00:00 2001
+From 069d725a45fe76930c0e6472c0a2f5f382c2fdde Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 26 Jun 2015 17:37:38 +0100
-Subject: [PATCH 083/203] bcm2708-vcio: Remove restriction of only a single
+Subject: [PATCH 083/222] bcm2708-vcio: Remove restriction of only a single
instance being open
We need more than one process to be able to use mailbox interface (e.g. HW cursor in fbturbo and hello_fft).
-From 9e38795e9be092bf1197991af1ab9ea7a511fbad Mon Sep 17 00:00:00 2001
+From cad464388ba6ec52f8abfa04b65fa104f136cf7b Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 26 Jun 2015 08:39:19 +0100
-Subject: [PATCH 084/203] BCM270X_DT: Create a "core" clock, use it for SPI and
+Subject: [PATCH 084/222] BCM270X_DT: Create a "core" clock, use it for SPI and
sdhost
---
-From 3d715851687737bec0ecee73b8f04d47d7a29bed Mon Sep 17 00:00:00 2001
+From 432886b9b6459ebc9039fe87471b2d3e390bf8f8 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 24 Jun 2015 09:24:31 +0100
-Subject: [PATCH 085/203] BCM270X_DT: Add MCP7941X to i2c-rtc overlay
+Subject: [PATCH 085/222] BCM270X_DT: Add MCP7941X to i2c-rtc overlay
---
arch/arm/boot/dts/overlays/README | 3 +++
-From 243585439bab9e3181082c6422a51bddce2e1535 Mon Sep 17 00:00:00 2001
+From fbd5513aa9ba4a93d35e7e2491891671a9042b5d Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Wed, 24 Jun 2015 11:23:06 +0100
-Subject: [PATCH 086/203] dts/overlays: document DHT11 overlay
+Subject: [PATCH 086/222] dts/overlays: document DHT11 overlay
---
arch/arm/boot/dts/overlays/README | 8 ++++++++
-From 1e890a091e0fbd61101fac37c8570c414deda17f Mon Sep 17 00:00:00 2001
+From d600a3f1ffc633465794c3519f2eb4aa536a9dde Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 25 Jun 2015 12:16:11 +0100
-Subject: [PATCH 087/203] gpio-poweroff: Allow it to work on Raspberry Pi
+Subject: [PATCH 087/222] 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
-From 80dc9b95432ba5c368ef61925390c44de4211e83 Mon Sep 17 00:00:00 2001
+From 7d1e12b7f075e6aa161b83c28377ae680bfd8680 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 17 Jun 2015 17:10:40 +0100
-Subject: [PATCH 088/203] BCM270x_DT: Default Compute Module i2c, i2s and spi
+Subject: [PATCH 088/222] BCM270x_DT: Default Compute Module i2c, i2s and spi
support
---
-From 63e7ed7e81a19be754aa1515835599b9d97b3467 Mon Sep 17 00:00:00 2001
+From 7533e5564600337aec1f767faa6c1e977cafd6a7 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 22 Jun 2015 14:21:55 +0100
-Subject: [PATCH 089/203] BCM270X_DT: Sort nodes by bus address, and
+Subject: [PATCH 089/222] BCM270X_DT: Sort nodes by bus address, and
consolidate aliases
---
-From 5130d7fdc237418537e377b951dd388723de1502 Mon Sep 17 00:00:00 2001
+From 1f92859f2e0bebafa56d2247758909a23972ad46 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 22 Jun 2015 14:23:03 +0100
-Subject: [PATCH 090/203] i2c-bcm2708/BCM270X_DT: Add support for I2C2
+Subject: [PATCH 090/222] i2c-bcm2708/BCM270X_DT: Add support for I2C2
The third I2C bus (I2C2) is normally reserved for HDMI use. Careless
use of this bus can break an attached display - use with caution.
-From 148fa81647d603e3ed8d38f7b9f37b6c04cace24 Mon Sep 17 00:00:00 2001
+From 3dcb1e77457080219495e6feb0f4c89fa0e930cf Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 29 Jun 2015 12:14:02 +0100
-Subject: [PATCH 091/203] BCM270X_DT: Correct the lirc-rpi overlay
+Subject: [PATCH 091/222] BCM270X_DT: Correct the lirc-rpi overlay
documentation
The polarity of the "sense" parameter was inverted with respect to reality.
-From 8509eb475ed00c7d581cf05866a27fa48c4c007c Mon Sep 17 00:00:00 2001
+From 952a26cd4de412d1f6f026c6c467d387da954ce3 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 25 Jun 2015 08:47:09 +0100
-Subject: [PATCH 092/203] bcm2835-sdhost: Further improve overclock back-off
+Subject: [PATCH 092/222] bcm2835-sdhost: Further improve overclock back-off
---
drivers/mmc/host/bcm2835-sdhost.c | 144 +++++++++++++++++++++-----------------
-From 40a4a1cc61a3e3e7baa9d623d8f4f68ffa815dd6 Mon Sep 17 00:00:00 2001
+From 625b5c018f512e17512df16f57b6393b771f4996 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 30 Jun 2015 10:28:59 +0100
-Subject: [PATCH 093/203] i2c-bcm2708: Increase timeouts to allow larger
+Subject: [PATCH 093/222] i2c-bcm2708: Increase timeouts to allow larger
transfers
Use the timeout value provided by the I2C_TIMEOUT ioctl when waiting
-From 5b546cecc9b35f45c752c063d43c24dbfcc7328d Mon Sep 17 00:00:00 2001
+From 4010c36b7f0f07e4a7393152ce769994ef745aea Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 30 Jun 2015 10:33:52 +0100
-Subject: [PATCH 094/203] spi-bcm2708: Increase timeout from 150ms to 1s
+Subject: [PATCH 094/222] spi-bcm2708: Increase timeout from 150ms to 1s
See: https://github.com/raspberrypi/linux/issues/260
---
-From 37f8282b8ba61d7f79cb5538d6331a04c6bdf883 Mon Sep 17 00:00:00 2001
+From 76d4203cdc524d7abd00df1cecc604848fdcaf6d Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 15 Jun 2015 09:59:38 +0100
-Subject: [PATCH 095/203] bcm2708-spi: Don't use static pin configuration with
+Subject: [PATCH 095/222] bcm2708-spi: Don't use static pin configuration with
DT
Also remove superfluous error checking - the SPI framework ensures the
-From f556b04eb5357a2571077799babd135d65f1d7ee Mon Sep 17 00:00:00 2001
+From 5447b9cebad23f5ca749a729ad7ac64d763cedce Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 15 Jun 2015 10:10:59 +0100
-Subject: [PATCH 096/203] bcm2708-i2s: Don't use static pin configuration with
+Subject: [PATCH 096/222] bcm2708-i2s: Don't use static pin configuration with
DT
---
-From 32560a31ee4fc921356d69d8dea4c271781b32df Mon Sep 17 00:00:00 2001
+From 413fa6fabbf356f056fcf01afa1a91b43251ef50 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 30 Jun 2015 14:12:42 +0100
-Subject: [PATCH 097/203] serial: 8250: Don't crash when nr_uarts is 0
+Subject: [PATCH 097/222] serial: 8250: Don't crash when nr_uarts is 0
---
drivers/tty/serial/8250/8250_core.c | 2 ++
-From f0ba1d983da479141dc41829d75d68efa446b426 Mon Sep 17 00:00:00 2001
+From dcbf44736f78f3c7899b4ab3ef6342a0c18dd767 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 26 Jun 2015 08:50:11 +0100
-Subject: [PATCH 098/203] BCM270X_DT: Add overlay to enable uart1
+Subject: [PATCH 098/222] BCM270X_DT: Add overlay to enable uart1
N.B. The UART1 clock is derived from the core clock. The firmware
will update clock-frequency if core_freq is set, but be aware
-From e3e8ae5998017712471c53db877bd01dd297ad01 Mon Sep 17 00:00:00 2001
+From 335b089500be59c664c88ac0ca62d3205e68a5ee Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 24 Jun 2015 14:10:44 +0100
-Subject: [PATCH 099/203] spi-bcm2835: Support pin groups other than 7-11
+Subject: [PATCH 099/222] 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
-From 53fadd064d2efab96564df3c50a6f1a9fdf8071a Mon Sep 17 00:00:00 2001
+From ce9f8b0abf2f6a7699f18c8f869b2ed7612477f3 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 30 Jun 2015 17:37:38 +0100
-Subject: [PATCH 100/203] BCM270X_DT: Change pio_limit of sdhost driver to 1
+Subject: [PATCH 100/222] BCM270X_DT: Change pio_limit of sdhost driver to 1
---
arch/arm/boot/dts/overlays/sdhost-overlay.dts | 2 +-
-From b43892ab64a2acc92d25cfd30f0fecba2c925cd2 Mon Sep 17 00:00:00 2001
+From 30941165197c8ee95330d8a306d6e88f12cce5b8 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 1 Jul 2015 12:51:52 +0100
-Subject: [PATCH 101/203] bcm2835-sdhost: Clear HBLC for PIO mode
+Subject: [PATCH 101/222] bcm2835-sdhost: Clear HBLC for PIO mode
Also update pio_limit default in overlay README.
---
-From d81d0b4029bd1b2fb2d9ac65750c3cfa0f243f0c Mon Sep 17 00:00:00 2001
+From 51a93ad6889945032e7af1933d1c9229b5d14daa Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 3 Jul 2015 12:21:01 +0100
-Subject: [PATCH 102/203] BCM270X_DT: I2S needs function Alt2
+Subject: [PATCH 102/222] BCM270X_DT: I2S needs function Alt2
---
arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 2 +-
-From 735143fada086487577915861a15ed4822caa9db Mon Sep 17 00:00:00 2001
+From f21b7eb0fea1cc8f46c1257b9c4c60ac6d5fcc34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:16:15 +0200
-Subject: [PATCH 103/203] configs: Incorporate v4.1 dependency changes
+Subject: [PATCH 103/222] configs: Incorporate v4.1 dependency changes
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 0740517729ffa954f7cde3504c107502a1309e12 Mon Sep 17 00:00:00 2001
+From 082c4d0974df79b361615a1c1d2eda1161cf59ec Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 3 Jul 2015 15:47:33 +0100
-Subject: [PATCH 104/203] bcmrpi_defconfigs: Add SND_SOC_WM8804_I2C (for
+Subject: [PATCH 104/222] bcmrpi_defconfigs: Add SND_SOC_WM8804_I2C (for
HifiBerry Digi)
4.1 has split out support for the I2C and SPI variants, so it now
-From ca8981f1b4a0c6855240895cb0dfc9fdf2d4b6ba Mon Sep 17 00:00:00 2001
+From e5ff922e131fa1d8f6cf3ebbd36a8f34771e97eb Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Sat, 4 Jul 2015 19:55:23 +0100
-Subject: [PATCH 105/203] squash: BCM270X_DT: I2S only needs Alt2 on 28-31
+Subject: [PATCH 105/222] squash: BCM270X_DT: I2S only needs Alt2 on 28-31
See: https://github.com/raspberrypi/linux/issues/1046
---
-From e657f5479bc871209287e26432f013fc395336ab Mon Sep 17 00:00:00 2001
+From aefbd80ab33d9bbf786bd314da8929a7347dfc4d Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 8 Jul 2015 14:48:57 +0100
-Subject: [PATCH 106/203] vchiq_arm: Two cacheing fixes
+Subject: [PATCH 106/222] vchiq_arm: Two cacheing fixes
1) Make fragment size vary with cache line size
Without this patch, non-cache-line-aligned transfers may corrupt
-From bb7843be4cd8584ab8d3cfbd209220ccf2499327 Mon Sep 17 00:00:00 2001
+From 79373224e554f12a3094e0945bb107a3b1c3b275 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 30 Jun 2015 09:10:36 +0100
-Subject: [PATCH 107/203] BCM270X_DT: Overlay for the Fen Logic VGA666 board
+Subject: [PATCH 107/222] BCM270X_DT: Overlay for the Fen Logic VGA666 board
The VGA666 board requires GPIOs 2-21 (so no I2C or UART). Using the
overlay (instead of a custom dt-blob.bin) has the advantage that it will
-From 585e94da2a9d370fc462c08641dc12adc7d7a641 Mon Sep 17 00:00:00 2001
+From 298e839b5159e62739d98875162132fb8e1d8409 Mon Sep 17 00:00:00 2001
From: petit-miner <cooker5000@gmail.com>
Date: Fri, 10 Jul 2015 13:59:18 +0200
-Subject: [PATCH 108/203] Added support for 2 mcp2515 CAN Bus IC
+Subject: [PATCH 108/222] Added support for 2 mcp2515 CAN Bus IC
See: https://github.com/raspberrypi/linux/issues/1018
https://github.com/raspberrypi/linux/pull/1049
-From 4222b39965e1639c0d7a5b4e8b8c8ee91803f799 Mon Sep 17 00:00:00 2001
+From a1587c365bbfc9db5c550a7a360a3159608f2eee Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Tue, 5 May 2015 13:27:45 -0700
-Subject: [PATCH 109/203] mailbox: Enable BCM2835 mailbox support
+Subject: [PATCH 109/222] mailbox: Enable BCM2835 mailbox support
This mailbox driver provides a single mailbox channel to write 32-bit
values to the VPU and get a 32-bit response. The Raspberry Pi
-From dbacf38b4227ffcd9a7eafdb49d395208229286c Mon Sep 17 00:00:00 2001
+From ca4917d04782e7f51ceb818658896a3c44bcb1c6 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Wed, 13 May 2015 13:10:32 -0700
-Subject: [PATCH 110/203] mailbox/bcm2835: Fix mailbox full detection.
+Subject: [PATCH 110/222] mailbox/bcm2835: Fix mailbox full detection.
With the VC reader blocked and the ARM writing, MAIL0_STA reads empty
permanently while MAIL1_STA goes from empty (0x40000000) to non-empty
-From 2d03b90e245bb0c556b1e67b2572cb51c114bf5a Mon Sep 17 00:00:00 2001
+From 5291d4bfaaa621a18ac0c47dcf43e9366bb52476 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:19:30 +0200
-Subject: [PATCH 111/203] mailbox: bcm2835: Support ARCH_BCM270x
+Subject: [PATCH 111/222] mailbox: bcm2835: Support ARCH_BCM270x
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 39394c602fcefa762aa9cd527d0f4afe26245c18 Mon Sep 17 00:00:00 2001
+From d70dec1bb24f43d114999bb876444e992b87e239 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Thu, 4 Jun 2015 13:11:47 -0700
-Subject: [PATCH 112/203] ARM: bcm2835: Add the firmware driver information to
+Subject: [PATCH 112/222] ARM: bcm2835: Add the firmware driver information to
the RPi DT
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
-From 4811a6764a8ed78a3917a19bf757659c2ed7e390 Mon Sep 17 00:00:00 2001
+From eebdf8ad52c09e61f7dacdee3af3739286d8ff31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:21:20 +0200
-Subject: [PATCH 113/203] firmware: bcm2835: Add missing property tags
+Subject: [PATCH 113/222] firmware: bcm2835: Add missing property tags
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From e79b76cd146c42e446b034c7b782569ff2ac9219 Mon Sep 17 00:00:00 2001
+From ecccea7d81b5f7802444ba9675a742c472ba8037 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:25:01 +0200
-Subject: [PATCH 114/203] firmware: bcm2835: Support ARCH_BCM270x
+Subject: [PATCH 114/222] firmware: bcm2835: Support ARCH_BCM270x
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 24337b253d6911bc1697d107460b4d9837e712f6 Mon Sep 17 00:00:00 2001
+From ca4326bb7dabb00c1ad078cf6690e98bd396c962 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:26:10 +0200
-Subject: [PATCH 115/203] firmware: bcm2835: Support legacy mailbox API
+Subject: [PATCH 115/222] firmware: bcm2835: Support legacy mailbox API
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 7de8f9adc447ba0709ad29ad8af13da0085c8491 Mon Sep 17 00:00:00 2001
+From 05ca377db5817c4dc7f81bff819779aa69cde45f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:27:06 +0200
-Subject: [PATCH 116/203] char: broadcom: Add vcio module
+Subject: [PATCH 116/222] char: broadcom: Add vcio module
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 9b331e3fe3724b92be61ec369c61c5c0b2cfbdbf Mon Sep 17 00:00:00 2001
+From b40921e5c076851fb79803bef4f90ccf27ed7478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:37:19 +0200
-Subject: [PATCH 117/203] BCM270x: Switch to firmware driver
+Subject: [PATCH 117/222] BCM270x: Switch to firmware driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 60ceda26c37c133a537ed1f64ddb7044732884f6 Mon Sep 17 00:00:00 2001
+From f03c5d9e2d5288111f6b5d70b90b4598ef6e776a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 26 Jun 2015 14:39:21 +0200
-Subject: [PATCH 118/203] bcm2835: Switch to firmware driver
+Subject: [PATCH 118/222] bcm2835: Switch to firmware driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From f58127f1cc42ee92a87fc7a88ea88071f1b48340 Mon Sep 17 00:00:00 2001
+From a603c307f7348255d19b6031254aac0080e99c37 Mon Sep 17 00:00:00 2001
From: Phil Elwell <pelwell@users.noreply.github.com>
Date: Mon, 13 Jul 2015 13:25:31 +0100
-Subject: [PATCH 119/203] Merge pull request #1059 from pelwell/rpi-4.0.y
+Subject: [PATCH 119/222] Merge pull request #1059 from pelwell/rpi-4.0.y
w1_therm: Back-port locking improvements from 4.2-rc1
---
-From 2b4d5c82da3850c7bf04c069b8eca966e931512f Mon Sep 17 00:00:00 2001
+From fc0402a5515d72d27012c931cc405dc860b0e043 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 14 Jul 2015 11:11:51 +0100
-Subject: [PATCH 120/203] vchiq_arm: Sort out the vmalloc case
+Subject: [PATCH 120/222] vchiq_arm: Sort out the vmalloc case
See: https://github.com/raspberrypi/linux/issues/1055
---
-From 6e185e181f581341f34f7d7d288a2c4204202031 Mon Sep 17 00:00:00 2001
+From 80e231eff77a59722814f2b827c96af223b4a328 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 14 Jul 2015 10:26:09 +0100
-Subject: [PATCH 121/203] spidev: Add "spidev" compatible string to silence
+Subject: [PATCH 121/222] spidev: Add "spidev" compatible string to silence
warning
See: https://github.com/raspberrypi/linux/issues/1054
-From aa6bc84a28af9acd24d457944700b7880c86a343 Mon Sep 17 00:00:00 2001
+From 5906e885b92584aeaa311ee59c49b0d9b177a248 Mon Sep 17 00:00:00 2001
From: Phil Elwell <pelwell@users.noreply.github.com>
Date: Tue, 14 Jul 2015 14:32:47 +0100
-Subject: [PATCH 122/203] Merge pull request #1043 from XECDesign/sense-4.0
+Subject: [PATCH 122/222] Merge pull request #1043 from XECDesign/sense-4.0
mfd: Add Raspberry Pi Sense HAT core driver
---
-From 5a3324e4eb8898d293fdc562117877cb313718a1 Mon Sep 17 00:00:00 2001
+From 8cd2f9b0457191f87ad4305a591a047bd6833f97 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 15 Jul 2015 13:46:08 +0100
-Subject: [PATCH 123/203] leds-gpio: Implement the brightness_get method
+Subject: [PATCH 123/222] leds-gpio: Implement the brightness_get method
The power LED uses some clever logic that means it is driven
by a voltage measuring circuit when configured as input, otherwise
-From e5c8a89d140e14ac6d393fd13b7b63ed1c860799 Mon Sep 17 00:00:00 2001
+From bab1b32bfe47c5364db783bd11d116b7af1e1b87 Mon Sep 17 00:00:00 2001
From: Robert Tiemann <rtie@gmx.de>
Date: Fri, 17 Jul 2015 09:50:55 +0200
-Subject: [PATCH 124/203] dmaengine: bcm2708-dmaengine: Fix memory leak when
+Subject: [PATCH 124/222] dmaengine: bcm2708-dmaengine: Fix memory leak when
stopping a running transfer
---
-From 0e3c310017ae1a6491ac908502ab2999133f9517 Mon Sep 17 00:00:00 2001
+From 6eda2da1c2a0083a29ad04cd48ab11a3f089768a Mon Sep 17 00:00:00 2001
From: Robert Tiemann <rtie@gmx.de>
Date: Mon, 20 Jul 2015 11:01:13 +0200
-Subject: [PATCH 125/203] BCM270X_DT: Fix I2S register map
+Subject: [PATCH 125/222] BCM270X_DT: Fix I2S register map
---
arch/arm/boot/dts/bcm2708_common.dtsi | 4 ++--
-From 81e9e11782bc1ed34d1ada5f019aa7baa03ecf29 Mon Sep 17 00:00:00 2001
+From bbd4b5b9f4002e4884ddce5fee9494d05600b042 Mon Sep 17 00:00:00 2001
From: Robert Tiemann <rtie@gmx.de>
Date: Mon, 20 Jul 2015 11:01:25 +0200
-Subject: [PATCH 126/203] BCM2835_DT: Fix I2S register map
+Subject: [PATCH 126/222] BCM2835_DT: Fix I2S register map
---
Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++--
-From 8613a587054df5b7932fbe309cd23b9ff0418b2f Mon Sep 17 00:00:00 2001
+From a77c333ed0b33743b8c62d66f6e645ad71d3847e Mon Sep 17 00:00:00 2001
From: David Frey <david.frey@sensirion.com>
Date: Tue, 14 Jul 2015 15:57:36 +0200
-Subject: [PATCH 127/203] config: Enable SHT drivers for raspberry pi
+Subject: [PATCH 127/222] config: Enable SHT drivers for raspberry pi
The SHT temperature and humidity sensors are often used in weather
station projects.
-From 2cad6845b413edda55d780d830d1facaca7406d7 Mon Sep 17 00:00:00 2001
+From ae5f49ae70a48f849732c739ac57f81b0172b171 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 20 Jul 2015 14:07:14 +0100
-Subject: [PATCH 128/203] BCM270X_DT: Correct typo in overlays/README
+Subject: [PATCH 128/222] BCM270X_DT: Correct typo in overlays/README
---
arch/arm/boot/dts/overlays/README | 2 +-
-From d9866cb6e1c088b399f9fbe52827499f2d973204 Mon Sep 17 00:00:00 2001
+From dc783be3c8d09a2c31ca4894951af834d3cde571 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 20 Jul 2015 10:53:26 +0100
-Subject: [PATCH 129/203] bcm2835-sdhost: Add the ERASE capability
+Subject: [PATCH 129/222] bcm2835-sdhost: Add the ERASE capability
See: https://github.com/raspberrypi/linux/issues/1076
---
-From abc4d789f9fd535f05a3dcb08712dfd6bada45b6 Mon Sep 17 00:00:00 2001
+From 30409c7d87c47a0a10d19cb87ca5ed0c2b1adca7 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 20 Jul 2015 17:32:18 +0100
-Subject: [PATCH 130/203] bcm2835-sdhost: Ignore CRC7 for MMC CMD1
+Subject: [PATCH 130/222] bcm2835-sdhost: Ignore CRC7 for MMC CMD1
It seems that the sdhost interface returns CRC7 errors for CMD1,
which is the MMC-specific SEND_OP_COND. Returning these errors to
-From 60fce832707c7c02890a8842ae264d27a738c0e7 Mon Sep 17 00:00:00 2001
+From c9bd84b45f1a9921cb60099e461c22dd46071f23 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 20 Jul 2015 14:48:21 +0100
-Subject: [PATCH 131/203] BCM270X_DT: Add unit address to gpio node name
+Subject: [PATCH 131/222] BCM270X_DT: Add unit address to gpio node name
---
arch/arm/boot/dts/bcm2708_common.dtsi | 2 +-
-From e7827fda51b1e1a87bc749fdd45ecf756efb12d1 Mon Sep 17 00:00:00 2001
+From bfb8f1d3d5799c5cabc41307ae1f76c92a8b2c02 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 24 Jul 2015 10:36:32 +0100
-Subject: [PATCH 132/203] BCM270X_DT: Use i2c_arm for rtc and bmp085 overlays
+Subject: [PATCH 132/222] BCM270X_DT: Use i2c_arm for rtc and bmp085 overlays
---
arch/arm/boot/dts/overlays/bmp085_i2c-sensor-overlay.dts | 2 +-
-From 80612a8dd0dae6bb6245080d938dc6748e68e6a6 Mon Sep 17 00:00:00 2001
+From e925f9ef047d8735f40d477eb5c87d70511b8711 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 24 Jul 2015 12:11:31 +0100
-Subject: [PATCH 133/203] BCM2708_DT: CM dtparams for audio, watchdog and RNG
+Subject: [PATCH 133/222] BCM2708_DT: CM dtparams for audio, watchdog and RNG
---
arch/arm/boot/dts/bcm2708-rpi-cm.dtsi | 8 ++++----
-From 5334f431eec498e36a589867e73adb36b476fa3f Mon Sep 17 00:00:00 2001
+From ad24393030634a23ad382436138029912782bbd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Mon, 20 Jul 2015 12:13:18 +0200
-Subject: [PATCH 134/203] vchiq: Use firmware API
+Subject: [PATCH 134/222] vchiq: Use firmware API
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From fb11a46fed3871b67fcf71631910afba21e6fc22 Mon Sep 17 00:00:00 2001
+From 9ad0d5fce4faf445bf5f6020df570f6cf6c17167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Mon, 20 Jul 2015 12:17:10 +0200
-Subject: [PATCH 135/203] thermal: bcm2835: Use firmware API
+Subject: [PATCH 135/222] thermal: bcm2835: Use firmware API
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 65ae931012f463feeb8cece70dfc829f2cd2b6b4 Mon Sep 17 00:00:00 2001
+From 0daa645908304c2447c90b864d7a909f86b9e238 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Mon, 20 Jul 2015 12:18:36 +0200
-Subject: [PATCH 136/203] cpufreq: bcm2835: Use firmware API
+Subject: [PATCH 136/222] cpufreq: bcm2835: Use firmware API
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 23f7babfd87a6be47db1e16e1177f5743ddb4ea5 Mon Sep 17 00:00:00 2001
+From d338b1299a0c452f5bb4ccedaf5bc48dcd60d02a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Mon, 20 Jul 2015 12:20:59 +0200
-Subject: [PATCH 137/203] fbdev: bcm2708: Use firmware API
+Subject: [PATCH 137/222] fbdev: bcm2708: Use firmware API
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 128cfa5445d62b5289ed332c82781ad016aca741 Mon Sep 17 00:00:00 2001
+From f6d8cf0c184e4fcde54b2507717f80acc6a4d755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Mon, 20 Jul 2015 12:27:17 +0200
-Subject: [PATCH 138/203] bcm2835: Add firmware property to affected devices
+Subject: [PATCH 138/222] bcm2835: Add firmware property to affected devices
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 9be811d63aab0b9840ebfc3a27e59c0a50404b1d Mon Sep 17 00:00:00 2001
+From 84a67d1c389a117abe7da145521047709fd414d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Tue, 21 Jul 2015 19:09:39 +0200
-Subject: [PATCH 139/203] rpi-ft5406: Use firmware API
+Subject: [PATCH 139/222] rpi-ft5406: Use firmware API
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 0b5b35852a737361a08e7f6e0a3e6157a15948d9 Mon Sep 17 00:00:00 2001
+From 05ce49684b2546d9d9b785ffec16a202532d10c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 12 Jun 2015 19:01:05 +0200
-Subject: [PATCH 140/203] irqchip: bcm2835: Add FIQ support
+Subject: [PATCH 140/222] irqchip: bcm2835: Add FIQ support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 738dc17aab1f5b18d94533b189e00c5960a0def6 Mon Sep 17 00:00:00 2001
+From 0766d30c4de9ca5c7e5f84328744ca39d243510d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 24 Jul 2015 15:50:04 +0200
-Subject: [PATCH 141/203] dwc_otg: Add ARCH_BCM2835 support
+Subject: [PATCH 141/222] dwc_otg: Add ARCH_BCM2835 support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From b7eae04326d84f4b51ccfee02b5fb39500656fa9 Mon Sep 17 00:00:00 2001
+From 893859d791f1d4e3e5722da3be08771cf32e0c71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 24 Jul 2015 15:50:24 +0200
-Subject: [PATCH 142/203] bcm2835: Use DWC_OTG
+Subject: [PATCH 142/222] bcm2835: Use DWC_OTG
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From fb25dfd5b7543d9b777239e76ea12f2b64eb2437 Mon Sep 17 00:00:00 2001
+From 41f34c1e0079a7a30ec213eb30fa586e268b1115 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 24 Jul 2015 19:33:16 +0200
-Subject: [PATCH 143/203] Fix RASPBERRYPI_FIRMWARE dependents
+Subject: [PATCH 143/222] Fix RASPBERRYPI_FIRMWARE dependents
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 6c53947855b434549697719a85be14a738a4826d Mon Sep 17 00:00:00 2001
+From 4c917af0738cc74aceb96320e20936e0f980e472 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 24 Jul 2015 19:33:46 +0200
-Subject: [PATCH 144/203] vc_mem: Remove unnecessary include
+Subject: [PATCH 144/222] vc_mem: Remove unnecessary include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From e04d908da0cea4af59fe4c67fd1684e60efa7c90 Mon Sep 17 00:00:00 2001
+From 22797803e9c701a8b22e80449d8323a5846356c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 24 Jul 2015 19:34:06 +0200
-Subject: [PATCH 145/203] configs: Remove BCM2708_MBOX
+Subject: [PATCH 145/222] configs: Remove BCM2708_MBOX
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From a9b8c66f63005e9d3f4cbd6591874e618492898c Mon Sep 17 00:00:00 2001
+From 481d4ab30960bff9d25a2b9982bb8eaed0ffd8b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 24 Jul 2015 19:34:31 +0200
-Subject: [PATCH 146/203] bcm2708-vcio: Remove module
+Subject: [PATCH 146/222] bcm2708-vcio: Remove module
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 8892c1d6ce14da3baac8512974e20f129bb9a34e Mon Sep 17 00:00:00 2001
+From 648c807a7901f87acad27a3e89e68c285e6359e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 24 Jul 2015 19:34:55 +0200
-Subject: [PATCH 147/203] Revert "firmware: bcm2835: Support legacy mailbox
+Subject: [PATCH 147/222] Revert "firmware: bcm2835: Support legacy mailbox
API"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
-From 9dabf31b13de7de5742e3f13c0b38fff460b552b Mon Sep 17 00:00:00 2001
+From 40ee1dabb8df5411a688fe483f25358d8f142884 Mon Sep 17 00:00:00 2001
From: Jonathan Bell <jonathan@raspberrypi.org>
Date: Tue, 30 Jun 2015 12:35:39 +0100
-Subject: [PATCH 148/203] pinctrl: bcm2835: Clear the event latch register when
+Subject: [PATCH 148/222] pinctrl: bcm2835: Clear the event latch register when
disabling interrupts
It's possible to hit a race condition if interrupts are generated on a GPIO
-From c069d755e30358e19c9c5f93f0e3748827a91c9d Mon Sep 17 00:00:00 2001
+From 52db5f085001b191fb6ccdb8138ba947ba48ba73 Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Tue, 4 Aug 2015 01:15:20 +0100
-Subject: [PATCH 149/203] dwc_otg: fiq_fsm: Make high-speed isochronous strided
+Subject: [PATCH 149/222] dwc_otg: fiq_fsm: Make high-speed isochronous strided
transfers work properly
Certain low-bandwidth high-speed USB devices (specialist audio devices,
-From cb0ceb651b94c8d6a01677f9b277c0d7e8862014 Mon Sep 17 00:00:00 2001
+From ce0c814f62ceee0e03ef65f038561c7fa63791d5 Mon Sep 17 00:00:00 2001
From: Uli Middelberg <uli@middelberg.de>
Date: Wed, 17 Jun 2015 10:36:56 +0200
-Subject: [PATCH 150/203] added basic docker support
+Subject: [PATCH 150/222] added basic docker support
---
arch/arm/configs/bcm2709_defconfig | 3 +++
-From 4e2638fe451b09fc2ba0a98b433f06b5a8986093 Mon Sep 17 00:00:00 2001
+From 36a1512b06d8bbfdb05bc9279684177c88ea11af Mon Sep 17 00:00:00 2001
From: Garrett <g@floft.net>
Date: Thu, 2 Jul 2015 19:32:04 -0500
-Subject: [PATCH 151/203] bcm2835 camera planar/packed stride length
+Subject: [PATCH 151/222] bcm2835 camera planar/packed stride length
Added a field to the mmal_fmt struct used to compute the bytes per line
when using a particular format. This results in the correct stride being
-From 37e5a9206165377033c020ca15caa23b930c6e73 Mon Sep 17 00:00:00 2001
+From 4eac708a344a2fc86a1cacebedc7cd5650d83231 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 17 Aug 2015 10:49:44 +0100
-Subject: [PATCH 154/203] BCM270X_DT: Add pwm and pwm-2chan overlays
+Subject: [PATCH 154/222] BCM270X_DT: Add pwm and pwm-2chan overlays
From the README entries:
Legal pin,function combinations for each channel:
-From 0e646de6b27ee8b6631e5cebf8beffeccad8de63 Mon Sep 17 00:00:00 2001
+From 4a42130b7fe39652a3ed8ced413a71c7f5d7ce61 Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Wed, 22 Apr 2015 07:33:03 +0000
-Subject: [PATCH 155/203] spi: bcm2835: fallback to interrupt for polling
+Subject: [PATCH 155/222] spi: bcm2835: fallback to interrupt for polling
timeouts exceeding 2 jiffies
The polling mode of the driver is designed for transfers that run
-From 7f4da26c19a10eea74419d92205886516c7f55cb Mon Sep 17 00:00:00 2001
+From 5d9c0e4f54ea08a98408e195dacc33e11ea4a25e Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Sun, 10 May 2015 20:47:28 +0000
-Subject: [PATCH 156/203] spi: bcm2835: enable dma modes for transfers meeting
+Subject: [PATCH 156/222] spi: bcm2835: enable dma modes for transfers meeting
certain conditions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
-From 3ab28d3476f08708cf2c256dd8a9871583edea00 Mon Sep 17 00:00:00 2001
+From 17013b51143d2f549f736e784af64f861d01a717 Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Tue, 12 May 2015 10:32:08 +0000
-Subject: [PATCH 157/203] spi: bcm2835: fix kbuild compile warnings/errors and
+Subject: [PATCH 157/222] spi: bcm2835: fix kbuild compile warnings/errors and
a typo
fixes several warnings/error emmitted by the kbuild system:
-From 9e0ce86052c88c463ec3f95da35d5633c36894fa Mon Sep 17 00:00:00 2001
+From b024bf0bd3eecf2a55160dfc98c2e415b5e8ff1d Mon Sep 17 00:00:00 2001
From: kbuild test robot <fengguang.wu@intel.com>
Date: Tue, 12 May 2015 19:43:59 +0800
-Subject: [PATCH 158/203] spi: bcm2835: bcm2835_dma_release() can be static
+Subject: [PATCH 158/222] spi: bcm2835: bcm2835_dma_release() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-From ff9071764e459f0ae477ca1121cb3d225bbab3f8 Mon Sep 17 00:00:00 2001
+From bcbfa93c85c8d272a765b1db0ba3e35b917e5afd Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Wed, 22 Jul 2015 08:34:41 +0000
-Subject: [PATCH 159/203] dt-overlay to enable dma for spi driver
+Subject: [PATCH 159/222] dt-overlay to enable dma for spi driver
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
---
-From ae4577bd4fcc0e9fb9166550433e2b0ee1ece0e1 Mon Sep 17 00:00:00 2001
+From db9477f1f642732b08af4ef3813646c58d0e4ac0 Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Wed, 22 Jul 2015 12:41:54 +0000
-Subject: [PATCH 160/203] dt: overlay: added documentation of spi-dma overlay
+Subject: [PATCH 160/222] dt: overlay: added documentation of spi-dma overlay
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
---
-From 15cf5667c9508d18808e0edf95acbff0313ef954 Mon Sep 17 00:00:00 2001
+From d8e09d724eb21172cd21d2475b619be2f8b4a878 Mon Sep 17 00:00:00 2001
From: Serge Schneider <serge@raspberrypi.org>
Date: Mon, 17 Aug 2015 18:06:16 +0100
-Subject: [PATCH 161/203] rpisense-fb: add low-light mode and gamma control
+Subject: [PATCH 161/222] rpisense-fb: add low-light mode and gamma control
---
drivers/video/fbdev/rpisense-fb.c | 68 +++++++++++++++++++++++++++++---
-From 27932f3c0031925c59b6f6787dbe8c4b379bbb11 Mon Sep 17 00:00:00 2001
+From 766872161503097e4bcd14285e62cee26b8710a4 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 19 Aug 2015 11:38:10 +0100
-Subject: [PATCH 162/203] BCM270X_DT: README - add note on indentation
+Subject: [PATCH 162/222] BCM270X_DT: README - add note on indentation
---
arch/arm/boot/dts/overlays/README | 4 ++++
-From a3414b2d51a0fa2b4cea7886168e5e14013904c8 Mon Sep 17 00:00:00 2001
+From 08746a98cb4867e704bb799506301ca7200d78fa Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 20 Aug 2015 13:50:18 +0100
-Subject: [PATCH 163/203] bcm2708-dmaengine: Use more DMA channels (but not 12)
+Subject: [PATCH 163/222] bcm2708-dmaengine: Use more DMA channels (but not 12)
1) Only the bcm2708_fb drivers uses the legacy DMA API, and
it requires a BULK-capable channel, so all other types
-From 82bd9c0d64c76c40bff8c4325df8302c8ffc6945 Mon Sep 17 00:00:00 2001
+From 26a9afc8fb40ec61cc7b0189e96c5471e72ec83c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Sat, 11 Jul 2015 18:48:10 +0200
-Subject: [PATCH 164/203] staging: fbtft: Add reset to fbtft_init_display_dt()
+Subject: [PATCH 164/222] staging: fbtft: Add reset to fbtft_init_display_dt()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 75cf473165850a8e765eb3a081be50fe7620e16e Mon Sep 17 00:00:00 2001
+From f87b7e12ef9d2095eaea613db4c6ecab2c6227f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Sun, 19 Jul 2015 18:57:06 +0200
-Subject: [PATCH 165/203] BCM270X_DT: mz61581: Revert to spi-bcm2708
+Subject: [PATCH 165/222] BCM270X_DT: mz61581: Revert to spi-bcm2708
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From c69d4dbfcf290abc926a4499a7583b7514726ad1 Mon Sep 17 00:00:00 2001
+From 99746de63f51250ee6df9e2d24ac1e587061ca80 Mon Sep 17 00:00:00 2001
From: Luke Wren <luke@raspberrypi.org>
Date: Fri, 21 Aug 2015 23:14:48 +0100
-Subject: [PATCH 166/203] Add /dev/gpiomem device for rootless user GPIO access
+Subject: [PATCH 166/222] Add /dev/gpiomem device for rootless user GPIO access
Signed-off-by: Luke Wren <luke@raspberrypi.org>
---
-From 8cbdae16b29ddf95d9eccc74c355d8a37c520bdd Mon Sep 17 00:00:00 2001
+From bf072f593c9788c9d701f94c37fb9564c63baa7a Mon Sep 17 00:00:00 2001
From: Jan Grulich <jan@grulich.eu>
Date: Mon, 24 Aug 2015 16:02:34 +0100
-Subject: [PATCH 167/203] tpa6130a2: Add headphone switch control
+Subject: [PATCH 167/222] tpa6130a2: Add headphone switch control
Signed-off-by: Jan Grulich <jan@grulich.eu>
---
-From a382428726be87f1d848772a4c1a619144a33c98 Mon Sep 17 00:00:00 2001
+From fb26137a487ca92a90d4ac97d438f8112fca4f66 Mon Sep 17 00:00:00 2001
From: Jan Grulich <jan@grulich.eu>
Date: Mon, 24 Aug 2015 16:03:47 +0100
-Subject: [PATCH 168/203] RaspiDAC3 support
+Subject: [PATCH 168/222] RaspiDAC3 support
Signed-off-by: Jan Grulich <jan@grulich.eu>
---
-From 67ab743eaa1c6fc4c82aa7238eb82d0e779869fa Mon Sep 17 00:00:00 2001
+From e09dd3a4468eacd92d2d8dae2cfe8da553c77f31 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 14 Jul 2015 16:55:02 +0100
-Subject: [PATCH 169/203] config: Add SND_SOC_ADAU1701 module
+Subject: [PATCH 169/222] config: Add SND_SOC_ADAU1701 module
---
arch/arm/configs/bcm2709_defconfig | 1 +
-From d3f5bff6c861a3addea60da69196172f2e6d360c Mon Sep 17 00:00:00 2001
+From 71df4d3c4c49639529666bc0a93d5c03ecedf443 Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Tue, 1 Sep 2015 16:52:34 +0000
-Subject: [PATCH 170/203] vchiq: fix NULL pointer dereference when closing
+Subject: [PATCH 170/222] vchiq: fix NULL pointer dereference when closing
driver
The following code run as root will cause a null pointer dereference oops:
-From 7e5a9f5063a11fcb006c77ee41584b9cc63a79b5 Mon Sep 17 00:00:00 2001
+From 5a50f31eec8f7cda9f2d8d89d47609e01be70fb8 Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Wed, 2 Sep 2015 07:13:17 -0400
-Subject: [PATCH 171/203] bcm2708_fb: remove redundant code as detected by
+Subject: [PATCH 171/222] bcm2708_fb: remove redundant code as detected by
static analysis
static analysis with cppcheck detected some redundant code which
-From 8a969160370faf8c7b09959ca36456d5f96a64d7 Mon Sep 17 00:00:00 2001
+From 324a12ebfd6509fd4466500bd2c5a650133ca1ff Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Wed, 2 Sep 2015 07:15:38 -0400
-Subject: [PATCH 172/203] bcm2708_fb: remove unnecessary initialization of
+Subject: [PATCH 172/222] bcm2708_fb: remove unnecessary initialization of
result
static analysis by cppcheck detected an unnecessary initialization
-From d3735e837e3102dfee2d2429c8043c9f4c673383 Mon Sep 17 00:00:00 2001
+From 3037adf3f75b008d63a351b307f058200548c4ee Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Wed, 2 Sep 2015 07:27:36 -0400
-Subject: [PATCH 173/203] vcsm: increment res_stats MAP_FAIL stats before we
+Subject: [PATCH 173/222] vcsm: increment res_stats MAP_FAIL stats before we
potentially release the resource
resource can be kfree'd when the reference count is zero, so we should
-From ebdecd6494e5b67306b5e247180f5d5c4b3d8f27 Mon Sep 17 00:00:00 2001
+From e9b089f99bf763bf803f82201cbb35251b6d8945 Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Wed, 2 Sep 2015 07:33:39 -0400
-Subject: [PATCH 174/203] bcm2835: camera: check for scene not being found
+Subject: [PATCH 174/222] bcm2835: camera: check for scene not being found
static analysis by cppcheck detected some potential NULL pointer
dereference issues:
-From ec31dc882de68b041b6ac36e3de7e17cf256c222 Mon Sep 17 00:00:00 2001
+From e0cedac30a461fadfb06f14aa491e989918b6f52 Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Wed, 2 Sep 2015 07:47:51 -0400
-Subject: [PATCH 175/203] bcm2835: memcpy port data to m rather than rmsg
+Subject: [PATCH 175/222] bcm2835: memcpy port data to m rather than rmsg
static analysis by cppcheck detected a memcpy to rmsg which is
not actually initialized at that point. The memcpy should be copying
-From 6e1447aaad894f45595a45fc52ae5f7dbe072b2e Mon Sep 17 00:00:00 2001
+From 3604c2a5b623829c9127d312813f3427531ebfcd Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Wed, 29 Jul 2015 07:34:10 +0000
-Subject: [PATCH 176/203] spi: bcm2835: fix overflow in calculation of transfer
+Subject: [PATCH 176/222] spi: bcm2835: fix overflow in calculation of transfer
time
This resulted in the use of polling mode when other approaches
-From a0adae0d3e1327dfa796986e45bbe20dee335f2c Mon Sep 17 00:00:00 2001
+From aea415f55c4844c90edcdff05e355ad5113c68d5 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 8 Sep 2015 15:14:50 +0100
-Subject: [PATCH 177/203] BCM270X_DT: Add SDIO overlay
+Subject: [PATCH 177/222] BCM270X_DT: Add SDIO overlay
Enable SDIO from MMC interface via GPIOs 22-27. Includes the sdhost
overlay to free up the MMC interface.
-From 502a751c5b49d0730f25280345d145e26f0b671d Mon Sep 17 00:00:00 2001
+From 72ab78d0e2048e9563179e530b315f0074b923c4 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 11 Sep 2015 09:14:01 +0100
-Subject: [PATCH 178/203] BCM270X_DT: Use fixed-factor-clock for uart1
+Subject: [PATCH 178/222] BCM270X_DT: Use fixed-factor-clock for uart1
The BCM2835 mini-UART is almost 8250-compatible, but there is
a factor-of-two difference in the clock divider for the baud rate.
-From 1e348feeabfbf0b2628162c2b67a89eeebf8ff7d Mon Sep 17 00:00:00 2001
+From 46c7f70f8e12ee75858c8a21dce0e77113c5912d Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 11 Sep 2015 12:10:15 +0100
-Subject: [PATCH 179/203] bcm2835-mmc: Don't overwrite MMC capabilities from DT
+Subject: [PATCH 179/222] bcm2835-mmc: Don't overwrite MMC capabilities from DT
---
drivers/mmc/host/bcm2835-mmc.c | 5 +++--
-From 3f2b85d10c701c544516d6a68d36d52dbf967a08 Mon Sep 17 00:00:00 2001
+From c37fba75d3893b39c9ebf2bd30923c577abcca43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Sun, 13 Sep 2015 15:54:28 +0200
-Subject: [PATCH 180/203] Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708"
+Subject: [PATCH 180/222] Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From d9273547c2d4f0d79a3d22324dfc0e125754e6e0 Mon Sep 17 00:00:00 2001
+From ac65af2b3277c319918d67e5714d1f88ed6e4ff9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Sun, 13 Sep 2015 17:17:14 +0200
-Subject: [PATCH 181/203] BCM270X_DT: mz61581: Set txbuflen to 32k
+Subject: [PATCH 181/222] BCM270X_DT: mz61581: Set txbuflen to 32k
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-From 6460bf849143979acff90f3664f78bf3907aad0f Mon Sep 17 00:00:00 2001
+From cf5cb87ad3bd6549cc18aa880bfadd3707c75f93 Mon Sep 17 00:00:00 2001
From: Martin Sperl <kernel@martin.sperl.org>
Date: Thu, 10 Sep 2015 09:32:14 +0000
-Subject: [PATCH 182/203] backport: spi: bcm2835: BUG: fix wrong use of
+Subject: [PATCH 182/222] backport: spi: bcm2835: BUG: fix wrong use of
PAGE_MASK
There is a bug in the alignment checking of transfers,
-From a025837fe723648981d68e23e53d3c4d7f270c21 Mon Sep 17 00:00:00 2001
+From 54e673645dde5ce661f849c9a8924fb8e1dc59ab Mon Sep 17 00:00:00 2001
From: David Lechner <david@lechnology.com>
Date: Mon, 14 Sep 2015 19:08:36 -0500
-Subject: [PATCH 183/203] Use dts-dirs feature for overlays.
+Subject: [PATCH 183/222] Use dts-dirs feature for overlays.
The kernel makefiles have a dts-dirs target that is for vendor subdirectories.
-From 4d8738a3f5befd5487930f5bbe62eb58cf943823 Mon Sep 17 00:00:00 2001
+From bfc23036bad1e3d7b56f40e43d631ecae1aea3e6 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 15 Sep 2015 15:16:24 +0100
-Subject: [PATCH 188/203] config: Add CIFS_DFS_UPCALL, CIFS_ACL, CIFS_SMB2,
+Subject: [PATCH 188/222] config: Add CIFS_DFS_UPCALL, CIFS_ACL, CIFS_SMB2,
CIFS_FSCACHE
---
-From d0576255447f0e2af80396e105f77e4a6fc981e2 Mon Sep 17 00:00:00 2001
+From 8174e93335b0ebd7d7eb4484cd1518547b00d336 Mon Sep 17 00:00:00 2001
From: Luke Wren <wren6991@gmail.com>
Date: Sat, 5 Sep 2015 01:14:45 +0100
-Subject: [PATCH 189/203] Add SMI driver
+Subject: [PATCH 189/222] Add SMI driver
Signed-off-by: Luke Wren <wren6991@gmail.com>
---
-From 3103b6c1b1a881e55421b7463fb76ad7bdf3974a Mon Sep 17 00:00:00 2001
+From 157d840faf0595aadf6b3c483cbed19bbeb462ea Mon Sep 17 00:00:00 2001
From: Luke Wren <wren6991@gmail.com>
Date: Sat, 5 Sep 2015 01:16:10 +0100
-Subject: [PATCH 190/203] Add SMI NAND driver
+Subject: [PATCH 190/222] Add SMI NAND driver
Signed-off-by: Luke Wren <wren6991@gmail.com>
---
-From 31c23a1d9ad93cf6795d1fc72f9a254d5bcfc81b Mon Sep 17 00:00:00 2001
+From 4dd07876e2f9dec34ba65fed4dc64394802a05b8 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 16 Sep 2015 17:28:41 +0100
-Subject: [PATCH 191/203] BCM270X_DT: Document SMI overlay
+Subject: [PATCH 191/222] BCM270X_DT: Document SMI overlay
---
arch/arm/boot/dts/overlays/Makefile | 6 +++---
-From 140e8eab017a65e70d93dbb651045d0b8a70ff37 Mon Sep 17 00:00:00 2001
+From b83e68859c2079a59dd5fb384d0204151e4ff4c5 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 17 Sep 2015 17:13:42 +0100
-Subject: [PATCH 192/203] dwc_otg: Force host mode to fix incorrect compute
+Subject: [PATCH 192/222] dwc_otg: Force host mode to fix incorrect compute
module boards
---
-From eaa0186f759c047121b38bf43d0ccfeb36fb23da Mon Sep 17 00:00:00 2001
+From 55ceb4b4bdb29028df43967d30389ea42ebf6bb7 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 1 Oct 2015 11:49:11 +0100
-Subject: [PATCH 193/203] config: Add CONFIG_UHID
+Subject: [PATCH 193/222] config: Add CONFIG_UHID
---
arch/arm/configs/bcm2709_defconfig | 1 +
-From d20be432374b0912dfbed90e4235411a44cc8fc0 Mon Sep 17 00:00:00 2001
+From c917e4bdea23fd77c18b9ccb375eb0bfec4b5691 Mon Sep 17 00:00:00 2001
From: Stuart MacLean <stuart@hifiberry.com>
Date: Fri, 2 Oct 2015 15:12:59 +0100
-Subject: [PATCH 194/203] Add support for the HiFiBerry DAC+ Pro.
+Subject: [PATCH 194/222] Add support for the HiFiBerry DAC+ Pro.
The HiFiBerry DAC+ and DAC+ Pro products both use the existing bcm sound driver with the DAC+ Pro having a special clock device driver representing the two high precision oscillators.
-From 1e0886a25891d714ffa99cbdd2f68f7e2015a804 Mon Sep 17 00:00:00 2001
+From 3ed5e5c4e508dae72c959c0870003bfa9bf21b75 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 4 Oct 2015 12:30:01 +0100
-Subject: [PATCH 195/203] config: Add CONFIG_CRYPTO_USER_API_SKCIPHER
+Subject: [PATCH 195/222] config: Add CONFIG_CRYPTO_USER_API_SKCIPHER
---
arch/arm/configs/bcm2709_defconfig | 1 +
-From 59a7fec4b1798a00025438b88e782ec6b36d5a53 Mon Sep 17 00:00:00 2001
+From e477e6899f1f5dfc2407aa071002e4cc599e86ce Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Sun, 4 Oct 2015 12:36:44 +0100
-Subject: [PATCH 196/203] config: Add options for supporting openlabs 802.15.4
+Subject: [PATCH 196/222] config: Add options for supporting openlabs 802.15.4
radio
---
-From 7b82355fa657220c9d5e72f0aa5228f0d76819fa Mon Sep 17 00:00:00 2001
+From 9d5b532d4be5da419314dcc1899f9f3a3d287c48 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 5 Oct 2015 10:47:45 +0100
-Subject: [PATCH 197/203] BCM270X_DT: Add at86rf233 overlay
+Subject: [PATCH 197/222] BCM270X_DT: Add at86rf233 overlay
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0.
-From 6413adc1fbf4c3e9a2bcd707dd7776f419988d7c Mon Sep 17 00:00:00 2001
+From 94e975060ece510ef20c619d3a022cbf1978c2ef Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 6 Oct 2015 10:16:58 +0100
-Subject: [PATCH 198/203] bcm2835-gpiomem: Fix for ARCH_BCM2835 builds
+Subject: [PATCH 198/222] bcm2835-gpiomem: Fix for ARCH_BCM2835 builds
Build on ARCH_BCM2835, and fail to probe if no IO resource.
-From f578216ec77548da230336549ed488dbdf4a42f3 Mon Sep 17 00:00:00 2001
+From c4642b0df4db2191ee02094fab7044976778a531 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 8 Oct 2015 13:33:28 +0100
-Subject: [PATCH 199/203] scripts/mkknlimg: Improve ARCH_BCM2835 detection
+Subject: [PATCH 199/222] scripts/mkknlimg: Improve ARCH_BCM2835 detection
The board support code contains sufficient strings to be able to
distinguish 2708 vs. 2835 builds, so remove the check for
-From f6c213fbd75a2efeb2e8ef0034be7376a306f7fd Mon Sep 17 00:00:00 2001
+From 579b03bae367004dd060c67dcb9cf33c0c733847 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 9 Oct 2015 10:49:00 +0100
-Subject: [PATCH 200/203] BCM270X_DT: Make mmc overlay compatible with current
+Subject: [PATCH 200/222] BCM270X_DT: Make mmc overlay compatible with current
firmware
The original DT overlay logic followed a merge-then-patch procedure,
-From a78ad9a34f11fecfdcd08675396bf2bf163a3f4d Mon Sep 17 00:00:00 2001
+From 6d67bc40a1f5236fb00c503ab631819939efc01d Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 12 Oct 2015 08:52:00 +0100
-Subject: [PATCH 201/203] BCM270X_DT: Reduce default at86rf233 SPI frequency
+Subject: [PATCH 201/222] BCM270X_DT: Reduce default at86rf233 SPI frequency
The AT86RF233 has been found to be unreliable on a 7.5MHz SPI bus,
so reduce the default frequency to 6MHz.
-From 688316bb306e42d224d4922b26cd44d5ff0e64b3 Mon Sep 17 00:00:00 2001
+From cfbaf0938f68a1ac93b06652efcc60c6e0cb227f Mon Sep 17 00:00:00 2001
From: mwilliams03 <mark.mwilliams@gmail.com>
Date: Sun, 18 Oct 2015 17:07:24 -0700
-Subject: [PATCH 202/203] New overlay for PiScreen2r
+Subject: [PATCH 202/222] New overlay for PiScreen2r
---
arch/arm/boot/dts/overlays/Makefile | 1 +
-From 7d9db46fa0eb27c0d6df7a3a6ae20da515a20e58 Mon Sep 17 00:00:00 2001
+From ad798459c6276534224c186739a778cc81cf0799 Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Wed, 21 Oct 2015 14:55:21 +0100
-Subject: [PATCH 203/203] rpi_display: add backlight driver and overlay
+Subject: [PATCH 203/222] 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
--- /dev/null
+From 75a6299867667a481a12f3c833322e39ff4fb089 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
+Date: Fri, 2 Oct 2015 11:30:11 -0700
+Subject: [PATCH 205/222] Input: add support for FocalTech FT6236 touchscreen
+ controller
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This adds support for the FT6x06 and the FT6x36 family of capacitive touch
+panel controllers, in particular the FT6236.
+
+Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+---
+ .../input/touchscreen/focaltech-ft6236.txt | 35 +++
+ .../devicetree/bindings/vendor-prefixes.txt | 1 +
+ drivers/input/touchscreen/Kconfig | 13 +
+ drivers/input/touchscreen/Makefile | 1 +
+ drivers/input/touchscreen/ft6236.c | 327 +++++++++++++++++++++
+ 5 files changed, 377 insertions(+)
+ create mode 100644 Documentation/devicetree/bindings/input/touchscreen/focaltech-ft6236.txt
+ create mode 100644 drivers/input/touchscreen/ft6236.c
+
+--- /dev/null
++++ b/Documentation/devicetree/bindings/input/touchscreen/focaltech-ft6236.txt
+@@ -0,0 +1,35 @@
++* FocalTech FT6236 I2C touchscreen controller
++
++Required properties:
++ - compatible : "focaltech,ft6236"
++ - reg : I2C slave address of the chip (0x38)
++ - interrupt-parent : a phandle pointing to the interrupt controller
++ serving the interrupt for this chip
++ - interrupts : interrupt specification for the touch controller
++ interrupt
++ - reset-gpios : GPIO specification for the RSTN input
++ - touchscreen-size-x : horizontal resolution of touchscreen (in pixels)
++ - touchscreen-size-y : vertical resolution of touchscreen (in pixels)
++
++Optional properties:
++ - touchscreen-fuzz-x : horizontal noise value of the absolute input
++ device (in pixels)
++ - touchscreen-fuzz-y : vertical noise value of the absolute input
++ device (in pixels)
++ - touchscreen-inverted-x : X axis is inverted (boolean)
++ - touchscreen-inverted-y : Y axis is inverted (boolean)
++ - touchscreen-swapped-x-y: X and Y axis are swapped (boolean)
++ Swapping is done after inverting the axis
++
++Example:
++
++ ft6x06@38 {
++ compatible = "focaltech,ft6236";
++ reg = <0x38>;
++ interrupt-parent = <&gpio>;
++ interrupts = <23 2>;
++ touchscreen-size-x = <320>;
++ touchscreen-size-y = <480>;
++ touchscreen-inverted-x;
++ touchscreen-swapped-x-y;
++ };
+--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
++++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
+@@ -76,6 +76,7 @@ everspin Everspin Technologies, Inc.
+ excito Excito
+ fcs Fairchild Semiconductor
+ firefly Firefly
++focaltech FocalTech Systems Co.,Ltd
+ fsl Freescale Semiconductor
+ GEFanuc GE Fanuc Intelligent Platforms Embedded Systems, Inc.
+ gef GE Fanuc Intelligent Platforms Embedded Systems, Inc.
+--- a/drivers/input/touchscreen/Kconfig
++++ b/drivers/input/touchscreen/Kconfig
+@@ -295,6 +295,19 @@ config TOUCHSCREEN_EGALAX
+ To compile this driver as a module, choose M here: the
+ module will be called egalax_ts.
+
++config TOUCHSCREEN_FT6236
++ tristate "FT6236 I2C touchscreen"
++ depends on I2C
++ depends on GPIOLIB || COMPILE_TEST
++ help
++ Say Y here to enable support for the I2C connected FT6x06 and
++ FT6x36 family of capacitive touchscreen drivers.
++
++ If unsure, say N.
++
++ To compile this driver as a module, choose M here: the
++ module will be called ft6236.
++
+ config TOUCHSCREEN_FUJITSU
+ tristate "Fujitsu serial touchscreen"
+ select SERIO
+--- a/drivers/input/touchscreen/Makefile
++++ b/drivers/input/touchscreen/Makefile
+@@ -36,6 +36,7 @@ obj-$(CONFIG_TOUCHSCREEN_EETI) += eeti_
+ obj-$(CONFIG_TOUCHSCREEN_ELAN) += elants_i2c.o
+ obj-$(CONFIG_TOUCHSCREEN_ELO) += elo.o
+ obj-$(CONFIG_TOUCHSCREEN_EGALAX) += egalax_ts.o
++obj-$(CONFIG_TOUCHSCREEN_FT6236) += ft6236.o
+ obj-$(CONFIG_TOUCHSCREEN_FUJITSU) += fujitsu_ts.o
+ obj-$(CONFIG_TOUCHSCREEN_GOODIX) += goodix.o
+ obj-$(CONFIG_TOUCHSCREEN_ILI210X) += ili210x.o
+--- /dev/null
++++ b/drivers/input/touchscreen/ft6236.c
+@@ -0,0 +1,327 @@
++/*
++ * FocalTech FT6236 TouchScreen driver.
++ *
++ * Copyright (c) 2010 Focal tech Ltd.
++ *
++ * This software is licensed under the terms of the GNU General Public
++ * License version 2, as published by the Free Software Foundation, and
++ * may be copied, distributed, and modified under those terms.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ */
++
++#include <linux/delay.h>
++#include <linux/gpio/consumer.h>
++#include <linux/i2c.h>
++#include <linux/input.h>
++#include <linux/input/mt.h>
++#include <linux/interrupt.h>
++#include <linux/module.h>
++#include <linux/property.h>
++
++#define FT6236_MAX_TOUCH_POINTS 2
++
++#define FT6236_REG_TH_GROUP 0x80
++#define FT6236_REG_PERIODACTIVE 0x88
++#define FT6236_REG_LIB_VER_H 0xa1
++#define FT6236_REG_LIB_VER_L 0xa2
++#define FT6236_REG_CIPHER 0xa3
++#define FT6236_REG_FIRMID 0xa6
++#define FT6236_REG_FOCALTECH_ID 0xa8
++#define FT6236_REG_RELEASE_CODE_ID 0xaf
++
++#define FT6236_EVENT_PRESS_DOWN 0
++#define FT6236_EVENT_LIFT_UP 1
++#define FT6236_EVENT_CONTACT 2
++#define FT6236_EVENT_NO_EVENT 3
++
++struct ft6236_data {
++ struct i2c_client *client;
++ struct input_dev *input;
++ struct gpio_desc *reset_gpio;
++ u32 max_x;
++ u32 max_y;
++ bool invert_x;
++ bool invert_y;
++ bool swap_xy;
++};
++
++/*
++ * This struct is a touchpoint as stored in hardware. Note that the id,
++ * as well as the event, are stored in the upper nybble of the hi byte.
++ */
++struct ft6236_touchpoint {
++ union {
++ u8 xhi;
++ u8 event;
++ };
++ u8 xlo;
++ union {
++ u8 yhi;
++ u8 id;
++ };
++ u8 ylo;
++ u8 weight;
++ u8 misc;
++} __packed;
++
++/* This packet represents the register map as read from offset 0 */
++struct ft6236_packet {
++ u8 dev_mode;
++ u8 gest_id;
++ u8 touches;
++ struct ft6236_touchpoint points[FT6236_MAX_TOUCH_POINTS];
++} __packed;
++
++static int ft6236_read(struct i2c_client *client, u8 reg, u8 len, void *data)
++{
++ int error;
++
++ error = i2c_smbus_read_i2c_block_data(client, reg, len, data);
++ if (error < 0)
++ return error;
++
++ if (error != len)
++ return -EIO;
++
++ return 0;
++}
++
++static irqreturn_t ft6236_interrupt(int irq, void *dev_id)
++{
++ struct ft6236_data *ft6236 = dev_id;
++ struct device *dev = &ft6236->client->dev;
++ struct input_dev *input = ft6236->input;
++ struct ft6236_packet buf;
++ u8 touches;
++ int i, error;
++
++ error = ft6236_read(ft6236->client, 0, sizeof(buf), &buf);
++ if (error) {
++ dev_err(dev, "read touchdata failed %d\n", error);
++ return IRQ_HANDLED;
++ }
++
++ touches = buf.touches & 0xf;
++ if (touches > FT6236_MAX_TOUCH_POINTS) {
++ dev_dbg(dev,
++ "%d touch points reported, only %d are supported\n",
++ touches, FT6236_MAX_TOUCH_POINTS);
++ touches = FT6236_MAX_TOUCH_POINTS;
++ }
++
++ for (i = 0; i < touches; i++) {
++ struct ft6236_touchpoint *point = &buf.points[i];
++ u16 x = ((point->xhi & 0xf) << 8) | buf.points[i].xlo;
++ u16 y = ((point->yhi & 0xf) << 8) | buf.points[i].ylo;
++ u8 event = point->event >> 6;
++ u8 id = point->id >> 4;
++ bool act = (event == FT6236_EVENT_PRESS_DOWN ||
++ event == FT6236_EVENT_CONTACT);
++
++ input_mt_slot(input, id);
++ input_mt_report_slot_state(input, MT_TOOL_FINGER, act);
++ if (!act)
++ continue;
++
++ if (ft6236->invert_x)
++ x = ft6236->max_x - x;
++
++ if (ft6236->invert_y)
++ y = ft6236->max_y - y;
++
++ if (ft6236->swap_xy) {
++ input_report_abs(input, ABS_MT_POSITION_X, y);
++ input_report_abs(input, ABS_MT_POSITION_Y, x);
++ } else {
++ input_report_abs(input, ABS_MT_POSITION_X, x);
++ input_report_abs(input, ABS_MT_POSITION_Y, y);
++ }
++ }
++
++ input_mt_sync_frame(input);
++ input_sync(input);
++
++ return IRQ_HANDLED;
++}
++
++static u8 ft6236_debug_read_byte(struct ft6236_data *ft6236, u8 reg)
++{
++ struct i2c_client *client = ft6236->client;
++ u8 val = 0;
++ int error;
++
++ error = ft6236_read(client, reg, 1, &val);
++ if (error)
++ dev_dbg(&client->dev,
++ "error reading register 0x%02x: %d\n", reg, error);
++
++ return val;
++}
++
++static void ft6236_debug_info(struct ft6236_data *ft6236)
++{
++ struct device *dev = &ft6236->client->dev;
++
++ dev_dbg(dev, "Touch threshold is %d\n",
++ ft6236_debug_read_byte(ft6236, FT6236_REG_TH_GROUP) * 4);
++ dev_dbg(dev, "Report rate is %dHz\n",
++ ft6236_debug_read_byte(ft6236, FT6236_REG_PERIODACTIVE) * 10);
++ dev_dbg(dev, "Firmware library version 0x%02x%02x\n",
++ ft6236_debug_read_byte(ft6236, FT6236_REG_LIB_VER_H),
++ ft6236_debug_read_byte(ft6236, FT6236_REG_LIB_VER_L));
++ dev_dbg(dev, "Firmware version 0x%02x\n",
++ ft6236_debug_read_byte(ft6236, FT6236_REG_FIRMID));
++ dev_dbg(dev, "Chip vendor ID 0x%02x\n",
++ ft6236_debug_read_byte(ft6236, FT6236_REG_CIPHER));
++ dev_dbg(dev, "CTPM vendor ID 0x%02x\n",
++ ft6236_debug_read_byte(ft6236, FT6236_REG_FOCALTECH_ID));
++ dev_dbg(dev, "Release code version 0x%02x\n",
++ ft6236_debug_read_byte(ft6236, FT6236_REG_RELEASE_CODE_ID));
++}
++
++static void ft6236_reset(struct ft6236_data *ft6236)
++{
++ if (!ft6236->reset_gpio)
++ return;
++
++ gpiod_set_value_cansleep(ft6236->reset_gpio, 1);
++ usleep_range(5000, 20000);
++ gpiod_set_value_cansleep(ft6236->reset_gpio, 0);
++ msleep(300);
++}
++
++static int ft6236_probe(struct i2c_client *client,
++ const struct i2c_device_id *id)
++{
++ struct device *dev = &client->dev;
++ struct ft6236_data *ft6236;
++ struct input_dev *input;
++ u32 fuzz_x = 0, fuzz_y = 0;
++ u8 val;
++ int error;
++
++ if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
++ return -ENXIO;
++
++ if (!client->irq) {
++ dev_err(dev, "irq is missing\n");
++ return -EINVAL;
++ }
++
++ ft6236 = devm_kzalloc(dev, sizeof(*ft6236), GFP_KERNEL);
++ if (!ft6236)
++ return -ENOMEM;
++
++ ft6236->client = client;
++ ft6236->reset_gpio = devm_gpiod_get_optional(dev, "reset",
++ GPIOD_OUT_LOW);
++ if (IS_ERR(ft6236->reset_gpio)) {
++ error = PTR_ERR(ft6236->reset_gpio);
++ if (error != -EPROBE_DEFER)
++ dev_err(dev, "error getting reset gpio: %d\n", error);
++ return error;
++ }
++
++ ft6236_reset(ft6236);
++
++ /* verify that the controller is present */
++ error = ft6236_read(client, 0x00, 1, &val);
++ if (error) {
++ dev_err(dev, "failed to read from controller: %d\n", error);
++ return error;
++ }
++
++ ft6236_debug_info(ft6236);
++
++ input = devm_input_allocate_device(dev);
++ if (!input)
++ return -ENOMEM;
++
++ ft6236->input = input;
++ input->name = client->name;
++ input->id.bustype = BUS_I2C;
++
++ if (device_property_read_u32(dev, "touchscreen-size-x",
++ &ft6236->max_x) ||
++ device_property_read_u32(dev, "touchscreen-size-y",
++ &ft6236->max_y)) {
++ dev_err(dev, "touchscreen-size-x and/or -y missing\n");
++ return -EINVAL;
++ }
++
++ device_property_read_u32(dev, "touchscreen-fuzz-x", &fuzz_x);
++ device_property_read_u32(dev, "touchscreen-fuzz-y", &fuzz_y);
++ ft6236->invert_x = device_property_read_bool(dev,
++ "touchscreen-inverted-x");
++ ft6236->invert_y = device_property_read_bool(dev,
++ "touchscreen-inverted-y");
++ ft6236->swap_xy = device_property_read_bool(dev,
++ "touchscreen-swapped-x-y");
++
++ if (ft6236->swap_xy) {
++ input_set_abs_params(input, ABS_MT_POSITION_X, 0,
++ ft6236->max_y, fuzz_y, 0);
++ input_set_abs_params(input, ABS_MT_POSITION_Y, 0,
++ ft6236->max_x, fuzz_x, 0);
++ } else {
++ input_set_abs_params(input, ABS_MT_POSITION_X, 0,
++ ft6236->max_x, fuzz_x, 0);
++ input_set_abs_params(input, ABS_MT_POSITION_Y, 0,
++ ft6236->max_y, fuzz_y, 0);
++ }
++
++ error = input_mt_init_slots(input, FT6236_MAX_TOUCH_POINTS,
++ INPUT_MT_DIRECT | INPUT_MT_DROP_UNUSED);
++ if (error)
++ return error;
++
++ error = devm_request_threaded_irq(dev, client->irq, NULL,
++ ft6236_interrupt, IRQF_ONESHOT,
++ client->name, ft6236);
++ if (error) {
++ dev_err(dev, "request irq %d failed: %d\n", client->irq, error);
++ return error;
++ }
++
++ error = input_register_device(input);
++ if (error) {
++ dev_err(dev, "failed to register input device: %d\n", error);
++ return error;
++ }
++
++ return 0;
++}
++
++#ifdef CONFIG_OF
++static const struct of_device_id ft6236_of_match[] = {
++ { .compatible = "focaltech,ft6236", },
++ { }
++};
++MODULE_DEVICE_TABLE(of, ft6236_of_match);
++#endif
++
++static const struct i2c_device_id ft6236_id[] = {
++ { "ft6236", },
++ { }
++};
++MODULE_DEVICE_TABLE(i2c, ft6236_id);
++
++static struct i2c_driver ft6236_driver = {
++ .driver = {
++ .name = "ft6236",
++ .owner = THIS_MODULE,
++ .of_match_table = of_match_ptr(ft6236_of_match),
++ },
++ .probe = ft6236_probe,
++ .id_table = ft6236_id,
++};
++module_i2c_driver(ft6236_driver);
++
++MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>");
++MODULE_AUTHOR("Noralf Trønnes <noralf@tronnes.org>");
++MODULE_DESCRIPTION("FocalTech FT6236 TouchScreen driver");
++MODULE_LICENSE("GPL");
--- /dev/null
+From ee7ca2704974d5d7fc3b8f3158aaf129ae0e36e0 Mon Sep 17 00:00:00 2001
+From: Fengguang Wu <fengguang.wu@intel.com>
+Date: Tue, 6 Oct 2015 15:37:02 -0700
+Subject: [PATCH 206/222] Input: ft6236 - do not explicitly set driver's owner
+
+There is no need to explicitly set .owner for the driver, the core will do
+it for us.
+
+Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+---
+ drivers/input/touchscreen/ft6236.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/drivers/input/touchscreen/ft6236.c
++++ b/drivers/input/touchscreen/ft6236.c
+@@ -313,7 +313,6 @@ MODULE_DEVICE_TABLE(i2c, ft6236_id);
+ static struct i2c_driver ft6236_driver = {
+ .driver = {
+ .name = "ft6236",
+- .owner = THIS_MODULE,
+ .of_match_table = of_match_ptr(ft6236_of_match),
+ },
+ .probe = ft6236_probe,
--- /dev/null
+From 1e90810b40b85374afa3341e3aab679d1c9d7834 Mon Sep 17 00:00:00 2001
+From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Date: Tue, 6 Oct 2015 17:00:36 -0700
+Subject: [PATCH 207/222] Input: ft6236 - change module license string to match
+ copyright notice
+
+The copyright/license notice says that the code is licensed under GPL v2
+only (not GPL v2+), so let's use proper string in MODULE_LICENSE().
+
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+---
+ drivers/input/touchscreen/ft6236.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/input/touchscreen/ft6236.c
++++ b/drivers/input/touchscreen/ft6236.c
+@@ -323,4 +323,4 @@ module_i2c_driver(ft6236_driver);
+ MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>");
+ MODULE_AUTHOR("Noralf Trønnes <noralf@tronnes.org>");
+ MODULE_DESCRIPTION("FocalTech FT6236 TouchScreen driver");
+-MODULE_LICENSE("GPL");
++MODULE_LICENSE("GPL v2");
--- /dev/null
+From bdd4c86de08c453bec332ee16378fcce01ba5361 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
+Date: Mon, 26 Oct 2015 14:42:10 +0100
+Subject: [PATCH 208/222] config: Add TOUCHSCREEN_FT6236
+
+---
+ arch/arm/configs/bcm2709_defconfig | 1 +
+ arch/arm/configs/bcmrpi_defconfig | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/arch/arm/configs/bcm2709_defconfig
++++ b/arch/arm/configs/bcm2709_defconfig
+@@ -549,6 +549,7 @@ CONFIG_JOYSTICK_RPISENSE=m
+ CONFIG_INPUT_TOUCHSCREEN=y
+ CONFIG_TOUCHSCREEN_ADS7846=m
+ CONFIG_TOUCHSCREEN_EGALAX=m
++CONFIG_TOUCHSCREEN_FT6236=m
+ CONFIG_TOUCHSCREEN_RPI_FT5406=m
+ CONFIG_TOUCHSCREEN_USB_COMPOSITE=m
+ CONFIG_TOUCHSCREEN_STMPE=m
+--- a/arch/arm/configs/bcmrpi_defconfig
++++ b/arch/arm/configs/bcmrpi_defconfig
+@@ -542,6 +542,7 @@ CONFIG_JOYSTICK_RPISENSE=m
+ CONFIG_INPUT_TOUCHSCREEN=y
+ CONFIG_TOUCHSCREEN_ADS7846=m
+ CONFIG_TOUCHSCREEN_EGALAX=m
++CONFIG_TOUCHSCREEN_FT6236=m
+ CONFIG_TOUCHSCREEN_RPI_FT5406=m
+ CONFIG_TOUCHSCREEN_USB_COMPOSITE=m
+ CONFIG_TOUCHSCREEN_STMPE=m
--- /dev/null
+From 43833958324dc349e49c0e4e2fa6fe36ebc7508d Mon Sep 17 00:00:00 2001
+From: Alistair Buxton <a.j.buxton@gmail.com>
+Date: Sun, 1 Nov 2015 22:27:56 +0000
+Subject: [PATCH 209/222] Build i2c_gpio module and add a device tree overlay
+ to configure it.
+
+---
+ arch/arm/boot/dts/overlays/Makefile | 1 +
+ arch/arm/boot/dts/overlays/README | 11 ++++++++++
+ arch/arm/boot/dts/overlays/i2c-gpio-overlay.dts | 28 +++++++++++++++++++++++++
+ arch/arm/configs/bcm2709_defconfig | 1 +
+ arch/arm/configs/bcmrpi_defconfig | 1 +
+ 5 files changed, 42 insertions(+)
+ create mode 100644 arch/arm/boot/dts/overlays/i2c-gpio-overlay.dts
+
+--- a/arch/arm/boot/dts/overlays/Makefile
++++ b/arch/arm/boot/dts/overlays/Makefile
+@@ -25,6 +25,7 @@ dtb-$(RPI_DT_OVERLAYS) += hifiberry-digi
+ dtb-$(RPI_DT_OVERLAYS) += hy28a-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += hy28b-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += i2c-rtc-overlay.dtb
++dtb-$(RPI_DT_OVERLAYS) += i2c-gpio-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += i2s-mmap-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += iqaudio-dac-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += iqaudio-dacplus-overlay.dtb
+--- a/arch/arm/boot/dts/overlays/README
++++ b/arch/arm/boot/dts/overlays/README
+@@ -284,6 +284,17 @@ Params: speed Display
+ ledgpio GPIO used to control backlight
+
+
++Name: i2c-gpio
++Info: Adds support for software i2c controller on gpio pins
++Load: dtoverlay=i2c-gpio,<param>
++Params: i2c_gpio_sda GPIO used for I2C data (default "23")
++
++ i2c_gpio_scl GPIO used for I2C clock (default "24")
++
++ i2c_gpio_delay_us Clock delay in microseconds
++ (default "2" = ~100kHz)
++
++
+ Name: i2c-rtc
+ Info: Adds support for a number of I2C Real Time Clock devices
+ Load: dtoverlay=i2c-rtc,<param>
+--- /dev/null
++++ b/arch/arm/boot/dts/overlays/i2c-gpio-overlay.dts
+@@ -0,0 +1,28 @@
++// Overlay for i2c_gpio bitbanging host bus.
++/dts-v1/;
++/plugin/;
++
++/ {
++ compatible = "brcm,bcm2708";
++
++ fragment@0 {
++ target-path = "/";
++ __overlay__ {
++ i2c_gpio: i2c@0 {
++ compatible = "i2c-gpio";
++ gpios = <&gpio 23 0 /* sda */
++ &gpio 24 0 /* scl */
++ >;
++ i2c-gpio,delay-us = <2>; /* ~100 kHz */
++ #address-cells = <1>;
++ #size-cells = <0>;
++ };
++ };
++ };
++ __overrides__ {
++ i2c_gpio_sda = <&i2c_gpio>,"gpios:4";
++ i2c_gpio_scl = <&i2c_gpio>,"gpios:16";
++ i2c_gpio_delay_us = <&i2c_gpio>,"i2c-gpio,delay-us:0";
++ };
++};
++
+--- a/arch/arm/configs/bcm2709_defconfig
++++ b/arch/arm/configs/bcm2709_defconfig
+@@ -593,6 +593,7 @@ CONFIG_BCM_VC_SM=y
+ CONFIG_I2C=y
+ CONFIG_I2C_CHARDEV=m
+ CONFIG_I2C_BCM2708=m
++CONFIG_I2C_GPIO=m
+ CONFIG_SPI=y
+ CONFIG_SPI_BCM2835=m
+ CONFIG_SPI_BCM2708=m
+--- a/arch/arm/configs/bcmrpi_defconfig
++++ b/arch/arm/configs/bcmrpi_defconfig
+@@ -586,6 +586,7 @@ CONFIG_BCM_VC_SM=y
+ CONFIG_I2C=y
+ CONFIG_I2C_CHARDEV=m
+ CONFIG_I2C_BCM2708=m
++CONFIG_I2C_GPIO=m
+ CONFIG_SPI=y
+ CONFIG_SPI_BCM2835=m
+ CONFIG_SPI_BCM2708=m
--- /dev/null
+From 00364567874a6a5a36f7f54a461563c925718ebe Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Thu, 5 Nov 2015 12:01:53 +0000
+Subject: [PATCH 210/222] config: Add MCP320X
+
+See: https://github.com/raspberrypi/linux/issues/1189
+---
+ arch/arm/configs/bcm2709_defconfig | 1 +
+ arch/arm/configs/bcmrpi_defconfig | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/arch/arm/configs/bcm2709_defconfig
++++ b/arch/arm/configs/bcm2709_defconfig
+@@ -1104,6 +1104,7 @@ CONFIG_IIO=m
+ CONFIG_IIO_BUFFER=y
+ CONFIG_IIO_BUFFER_CB=y
+ CONFIG_IIO_KFIFO_BUF=m
++CONFIG_MCP320X=m
+ CONFIG_DHT11=m
+ CONFIG_PWM_BCM2835=m
+ CONFIG_RASPBERRYPI_FIRMWARE=y
+--- a/arch/arm/configs/bcmrpi_defconfig
++++ b/arch/arm/configs/bcmrpi_defconfig
+@@ -1097,6 +1097,7 @@ CONFIG_IIO=m
+ CONFIG_IIO_BUFFER=y
+ CONFIG_IIO_BUFFER_CB=y
+ CONFIG_IIO_KFIFO_BUF=m
++CONFIG_MCP320X=m
+ CONFIG_DHT11=m
+ CONFIG_PWM_BCM2835=m
+ CONFIG_RASPBERRYPI_FIRMWARE=y
--- /dev/null
+From 333959979e2ab73b18f79b4938469b8cec85e05a Mon Sep 17 00:00:00 2001
+From: Ondrej Wisniewski <ondrej.wisniewski@gmail.com>
+Date: Fri, 6 Nov 2015 15:01:28 +0100
+Subject: [PATCH 211/222] dts: Added overlay for Adafruit PiTFT 2.8" capacitive
+ touch screen
+
+---
+ arch/arm/boot/dts/overlays/Makefile | 1 +
+ arch/arm/boot/dts/overlays/README | 22 ++++++
+ .../dts/overlays/pitft28-capacitive-overlay.dts | 88 ++++++++++++++++++++++
+ 3 files changed, 111 insertions(+)
+ create mode 100644 arch/arm/boot/dts/overlays/pitft28-capacitive-overlay.dts
+
+--- a/arch/arm/boot/dts/overlays/Makefile
++++ b/arch/arm/boot/dts/overlays/Makefile
+@@ -36,6 +36,7 @@ dtb-$(RPI_DT_OVERLAYS) += mmc-overlay.dt
+ dtb-$(RPI_DT_OVERLAYS) += mz61581-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += piscreen-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += piscreen2r-overlay.dtb
++dtb-$(RPI_DT_OVERLAYS) += pitft28-capacitive-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += pitft28-resistive-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += pwm-overlay.dtb
+--- a/arch/arm/boot/dts/overlays/README
++++ b/arch/arm/boot/dts/overlays/README
+@@ -436,6 +436,28 @@ Params: speed Display
+ xohms Touchpanel sensitivity (X-plate resistance)
+
+
++Name: pitft28-capacitive
++Info: Adafruit PiTFT 2.8" capacitive touch screen
++Load: dtoverlay=pitft28-capacitive,<param>=<val>
++Params: speed Display SPI bus speed
++
++ rotate Display rotation {0,90,180,270}
++
++ fps Delay between frame updates
++
++ debug Debug output level {0-7}
++
++ touch-sizex Touchscreen size x (default 240)
++
++ touch-sizey Touchscreen size y (default 320)
++
++ touch-invx Touchscreen inverted x axis
++
++ touch-invy Touchscreen inverted y axis
++
++ touch-swapxy Touchscreen swapped x y axis
++
++
+ Name: pitft28-resistive
+ Info: Adafruit PiTFT 2.8" resistive touch screen
+ Load: dtoverlay=pitft28-resistive,<param>=<val>
+--- /dev/null
++++ b/arch/arm/boot/dts/overlays/pitft28-capacitive-overlay.dts
+@@ -0,0 +1,88 @@
++/*
++ * Device Tree overlay for Adafruit PiTFT 2.8" capacitive touch screen
++ *
++ */
++
++/dts-v1/;
++/plugin/;
++
++/ {
++ compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
++
++ fragment@0 {
++ target = <&spi0>;
++ __overlay__ {
++ status = "okay";
++
++ spidev@0{
++ status = "disabled";
++ };
++ };
++ };
++
++ fragment@1 {
++ target = <&gpio>;
++ __overlay__ {
++ pitft_pins: pitft_pins {
++ brcm,pins = <24 25>;
++ brcm,function = <0 1>; /* in out */
++ brcm,pull = <2 0>; /* pullup none */
++ };
++ };
++ };
++
++ fragment@2 {
++ target = <&spi0>;
++ __overlay__ {
++ /* needed to avoid dtc warning */
++ #address-cells = <1>;
++ #size-cells = <0>;
++
++ pitft: pitft@0{
++ compatible = "ilitek,ili9340";
++ reg = <0>;
++ pinctrl-names = "default";
++ pinctrl-0 = <&pitft_pins>;
++
++ spi-max-frequency = <32000000>;
++ rotate = <90>;
++ fps = <25>;
++ bgr;
++ buswidth = <8>;
++ dc-gpios = <&gpio 25 0>;
++ debug = <0>;
++ };
++ };
++ };
++
++ fragment@3 {
++ target = <&i2c1>;
++ __overlay__ {
++ /* needed to avoid dtc warning */
++ #address-cells = <1>;
++ #size-cells = <0>;
++
++ ft6236: ft6236@38 {
++ compatible = "focaltech,ft6236";
++ reg = <0x38>;
++
++ interrupt-parent = <&gpio>;
++ interrupts = <24 2>;
++ touchscreen-size-x = <240>;
++ touchscreen-size-y = <320>;
++ };
++ };
++ };
++
++ __overrides__ {
++ speed = <&pitft>,"spi-max-frequency:0";
++ rotate = <&pitft>,"rotate:0";
++ fps = <&pitft>,"fps:0";
++ debug = <&pitft>,"debug:0";
++ touch-sizex = <&ft6236>,"touchscreen-size-x?";
++ touch-sizey = <&ft6236>,"touchscreen-size-y?";
++ touch-invx = <&ft6236>,"touchscreen-inverted-x?";
++ touch-invy = <&ft6236>,"touchscreen-inverted-y?";
++ touch-swapxy = <&ft6236>,"touchscreen-swapped-x-y?";
++ };
++};
--- /dev/null
+From a668e38a52a964834054ee19e6e11e28f71f4172 Mon Sep 17 00:00:00 2001
+From: popcornmix <popcornmix@gmail.com>
+Date: Fri, 6 Nov 2015 16:24:59 +0000
+Subject: [PATCH 212/222] rpi-ft5406: Use interruptible sleep to avoid high
+ load reported
+
+---
+ drivers/input/touchscreen/rpi-ft5406.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/input/touchscreen/rpi-ft5406.c
++++ b/drivers/input/touchscreen/rpi-ft5406.c
+@@ -65,7 +65,7 @@ static int ft5406_thread(void *arg)
+ while(!kthread_should_stop())
+ {
+ // 60fps polling
+- msleep(17);
++ msleep_interruptible(17);
+ memcpy_fromio(®s, ts->regs, sizeof(*ts->regs));
+ writel(99, &ts->regs->num_points);
+ // Do not output if theres no new information (num_points is 99)
--- /dev/null
+From 3f9c94335658587e7f80b18b63a4cf70241cc8d0 Mon Sep 17 00:00:00 2001
+From: popcornmix <popcornmix@gmail.com>
+Date: Wed, 11 Nov 2015 12:55:53 +0000
+Subject: [PATCH 213/222] config: ADD CONFIG_FB_UDL module (USB displaylink)
+
+---
+ arch/arm/configs/bcm2709_defconfig | 1 +
+ arch/arm/configs/bcmrpi_defconfig | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/arch/arm/configs/bcm2709_defconfig
++++ b/arch/arm/configs/bcm2709_defconfig
+@@ -805,6 +805,7 @@ CONFIG_VIDEO_OV7640=m
+ CONFIG_VIDEO_MT9V011=m
+ CONFIG_FB=y
+ CONFIG_FB_BCM2708=y
++CONFIG_FB_UDL=m
+ CONFIG_FB_SSD1307=m
+ CONFIG_FB_RPISENSE=m
+ # CONFIG_BACKLIGHT_GENERIC is not set
+--- a/arch/arm/configs/bcmrpi_defconfig
++++ b/arch/arm/configs/bcmrpi_defconfig
+@@ -798,6 +798,7 @@ CONFIG_VIDEO_OV7640=m
+ CONFIG_VIDEO_MT9V011=m
+ CONFIG_FB=y
+ CONFIG_FB_BCM2708=y
++CONFIG_FB_UDL=m
+ CONFIG_FB_SSD1307=m
+ CONFIG_FB_RPISENSE=m
+ # CONFIG_BACKLIGHT_GENERIC is not set
--- /dev/null
+From bca6a0dce0230700814a3a0c5af3458e46d63d93 Mon Sep 17 00:00:00 2001
+From: Dave Stevenson <6by9@users.noreply.github.com>
+Date: Tue, 14 Jul 2015 22:57:57 +0100
+Subject: [PATCH 214/222] BCM2835-V4L2: Return buffers to videobuf2 on shutdown
+
+https://github.com/raspberrypi/linux/issues/817
+Fixes the kernel warning from videobuf2 as buffers
+are now returned as they are being flushed on
+stop_streaming.
+---
+ drivers/media/platform/bcm2835/bcm2835-camera.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/media/platform/bcm2835/bcm2835-camera.c
++++ b/drivers/media/platform/bcm2835/bcm2835-camera.c
+@@ -404,6 +404,7 @@ static void buffer_cb(struct vchiq_mmal_
+ }
+ } else {
+ /* signal frame completion */
++ vb2_buffer_done(&buf->vb, VB2_BUF_STATE_ERROR);
+ complete(&dev->capture.frame_cmplt);
+ }
+ }
--- /dev/null
+From c9f139e8c8168111248a7696a098d3b146b892c5 Mon Sep 17 00:00:00 2001
+From: popcornmix <popcornmix@gmail.com>
+Date: Sat, 14 Nov 2015 12:24:59 +0000
+Subject: [PATCH 215/222] config: Add FB_TFT_ILI9163 module
+
+---
+ arch/arm/configs/bcm2709_defconfig | 1 +
+ arch/arm/configs/bcmrpi_defconfig | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/arch/arm/configs/bcm2709_defconfig
++++ b/arch/arm/configs/bcm2709_defconfig
+@@ -1074,6 +1074,7 @@ CONFIG_FB_TFT_BD663474=m
+ CONFIG_FB_TFT_HX8340BN=m
+ CONFIG_FB_TFT_HX8347D=m
+ CONFIG_FB_TFT_HX8353D=m
++CONFIG_FB_TFT_ILI9163=m
+ CONFIG_FB_TFT_ILI9320=m
+ CONFIG_FB_TFT_ILI9325=m
+ CONFIG_FB_TFT_ILI9340=m
+--- a/arch/arm/configs/bcmrpi_defconfig
++++ b/arch/arm/configs/bcmrpi_defconfig
+@@ -1067,6 +1067,7 @@ CONFIG_FB_TFT_BD663474=m
+ CONFIG_FB_TFT_HX8340BN=m
+ CONFIG_FB_TFT_HX8347D=m
+ CONFIG_FB_TFT_HX8353D=m
++CONFIG_FB_TFT_ILI9163=m
+ CONFIG_FB_TFT_ILI9320=m
+ CONFIG_FB_TFT_ILI9325=m
+ CONFIG_FB_TFT_ILI9340=m
--- /dev/null
+From 52725443dcfd674734ab36a6e61a2fccde00b98b Mon Sep 17 00:00:00 2001
+From: wuyuehang <yuehan9.wu@gmail.com>
+Date: Tue, 17 Nov 2015 09:24:41 +0800
+Subject: [PATCH 216/222] bcm2709_fb: refine appropriate behaviors to
+ unsupported fb ioctls
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+since fbturbo introduces and use FBUNSUPPORTED ioctl on copyarea
+operations for unsupported dummy ioctl which is expected to return
+failure. in such scenario, bcm2709 always prompts error log.
+
+in order not to bother users in kernel log, we change the dev_err to
+dev_dbg and return a ENOTTY other than EINVAL to let userspace handles
+the return value.
+
+Signed-off-by: wuyuehang <yuehan9.wu@gmail.com>
+Reviewed-by: popcornmix <popcornmix@gmail.com>
+Reviewed-by: Phil Elwell <pelwell@users.noreply.github.com>
+Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
+---
+ drivers/video/fbdev/bcm2708_fb.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/drivers/video/fbdev/bcm2708_fb.c
++++ b/drivers/video/fbdev/bcm2708_fb.c
+@@ -442,8 +442,8 @@ static int bcm2708_ioctl(struct fb_info
+ &dummy, sizeof(dummy));
+ break;
+ default:
+- dev_err(info->device, "Unknown ioctl 0x%x\n", cmd);
+- return -EINVAL;
++ dev_dbg(info->device, "Unknown ioctl 0x%x\n", cmd);
++ return -ENOTTY;
+ }
+
+ if (ret)
--- /dev/null
+From a325b7215cef646853a7a2b6d338fb2e9da78def Mon Sep 17 00:00:00 2001
+From: Holger Steinhaus <hsteinhaus@gmx.de>
+Date: Sat, 14 Nov 2015 18:37:43 +0100
+Subject: [PATCH 217/222] dts: Added overlay for gpio_ir_recv driver
+
+---
+ arch/arm/boot/dts/overlays/Makefile | 1 +
+ arch/arm/boot/dts/overlays/README | 16 +++++++++
+ arch/arm/boot/dts/overlays/gpio-ir-overlay.dts | 45 ++++++++++++++++++++++++++
+ 3 files changed, 62 insertions(+)
+ create mode 100644 arch/arm/boot/dts/overlays/gpio-ir-overlay.dts
+
+--- a/arch/arm/boot/dts/overlays/Makefile
++++ b/arch/arm/boot/dts/overlays/Makefile
+@@ -17,6 +17,7 @@ dtb-$(RPI_DT_OVERLAYS) += at86rf233-over
+ dtb-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += dht11-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += enc28j60-overlay.dtb
++dtb-$(RPI_DT_OVERLAYS) += gpio-ir-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += gpio-poweroff-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += hifiberry-amp-overlay.dtb
+ dtb-$(RPI_DT_OVERLAYS) += hifiberry-dac-overlay.dtb
+--- a/arch/arm/boot/dts/overlays/README
++++ b/arch/arm/boot/dts/overlays/README
+@@ -209,6 +209,22 @@ Params: int_pin GPIO us
+ speed SPI bus speed (default 12000000)
+
+
++Name: gpio-ir
++Info: Use GPIO pin as rc-core style infrared receiver input. The rc-core-
++ based gpio_ir_recv driver maps received keys directly to a
++ /dev/input/event* device, all decoding is done by the kernel - LIRC is
++ not required! The key mapping and other decoding parameters can be
++ configured by "ir-keytable" tool.
++Load: dtoverlay=gpio-ir,<param>=<val>
++Params: gpio_pin Input pin number. Default is 18.
++
++ gpio_pull Desired pull-up/down state (off, down, up)
++ Default is "down".
++
++ rc-map-name Default rc keymap (can also be changed by
++ ir-keytable), defaults to "rc-rc6-mce"
++
++
+ Name: gpio-poweroff
+ Info: Drives a GPIO high or low on reboot
+ Load: gpio-poweroff,<param>=<val>
+--- /dev/null
++++ b/arch/arm/boot/dts/overlays/gpio-ir-overlay.dts
+@@ -0,0 +1,45 @@
++// Definitions for ir-gpio module
++/dts-v1/;
++/plugin/;
++
++/ {
++ compatible = "brcm,bcm2708";
++
++ fragment@0 {
++ target-path = "/";
++ __overlay__ {
++ gpio_ir: ir-receiver {
++ compatible = "gpio-ir-receiver";
++
++ // pin number, high or low
++ gpios = <&gpio 18 1>;
++
++ // parameter for keymap name
++ linux,rc-map-name = "rc-rc6-mce";
++
++ status = "okay";
++ };
++ };
++ };
++
++ fragment@1 {
++ target = <&gpio>;
++ __overlay__ {
++ gpio_ir_pins: gpio_ir_pins {
++ brcm,pins = <18>; // pin 18
++ brcm,function = <0>; // in
++ brcm,pull = <1>; // down
++ };
++ };
++ };
++
++ __overrides__ {
++ // parameters
++ gpio_pin = <&gpio_ir>,"gpios:4",
++ <&gpio_ir_pins>,"brcm,pins:0",
++ <&gpio_ir_pins>,"brcm,pull:0"; // pin number
++ gpio_pull = <&gpio_ir_pins>,"brcm,pull:0"; // pull-up/down state
++
++ rc-map-name = <&gpio_ir>,"linux,rc-map-name"; // default rc map
++ };
++};
--- /dev/null
+From fd898e41ab16efaab945e7b5e65908711b8095af Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Tue, 17 Nov 2015 10:07:08 +0000
+Subject: [PATCH 218/222] BCM270X_DT: Fix overlay README anomalies
+
+---
+ arch/arm/boot/dts/overlays/README | 13 ++++++-------
+ 1 file changed, 6 insertions(+), 7 deletions(-)
+
+--- a/arch/arm/boot/dts/overlays/README
++++ b/arch/arm/boot/dts/overlays/README
+@@ -227,7 +227,7 @@ Params: gpio_pin Input p
+
+ Name: gpio-poweroff
+ Info: Drives a GPIO high or low on reboot
+-Load: gpio-poweroff,<param>=<val>
++Load: dtoverlay=gpio-poweroff,<param>=<val>
+ Params: gpiopin GPIO for signalling (default 26)
+
+ active_low Set if the power control device requires a
+@@ -302,7 +302,7 @@ Params: speed Display
+
+ Name: i2c-gpio
+ Info: Adds support for software i2c controller on gpio pins
+-Load: dtoverlay=i2c-gpio,<param>
++Load: dtoverlay=i2c-gpio,<param>=<val>
+ Params: i2c_gpio_sda GPIO used for I2C data (default "23")
+
+ i2c_gpio_scl GPIO used for I2C clock (default "24")
+@@ -313,7 +313,7 @@ Params: i2c_gpio_sda GPIO us
+
+ Name: i2c-rtc
+ Info: Adds support for a number of I2C Real Time Clock devices
+-Load: dtoverlay=i2c-rtc,<param>
++Load: dtoverlay=i2c-rtc,<param>=<val>
+ Params: ds1307 Select the DS1307 device
+
+ ds3231 Select the DS3231 device
+@@ -348,7 +348,7 @@ Params: <None>
+ Name: lirc-rpi
+ Info: Configures lirc-rpi (Linux Infrared Remote Control for Raspberry Pi)
+ Consult the module documentation for more details.
+-Load: dtoverlay=lirc-rpi,<param>=<val>,...
++Load: dtoverlay=lirc-rpi,<param>=<val>
+ Params: gpio_out_pin GPIO for output (default "17")
+
+ gpio_in_pin GPIO for input (default "18")
+@@ -440,7 +440,7 @@ Params: speed Display
+
+ Name: piscreen2r
+ Info: PiScreen 2 with resistive TP display by OzzMaker.com
+-Load: dtoverlay=piscreen,<param>=<val>
++Load: dtoverlay=piscreen2r,<param>=<val>
+ Params: speed Display SPI bus speed
+
+ rotate Display rotation {0,90,180,270}
+@@ -505,7 +505,6 @@ Info: Configures a single PWM channel
+ 3) So be careful mixing audio and PWM.
+ 4) Currently the clock must have been enabled and configured
+ by other means.
+-Load: dtoverlay=pwm-2chan,<param>=<val>
+ Load: dtoverlay=pwm,<param>=<val>
+ Params: pin Output pin (default 18) - see table
+ func Pin function (default 2 = Alt5) - see above
+@@ -708,7 +707,7 @@ Params: gpiopin GPIO fo
+ Name: w1-gpio-pullup
+ Info: Configures the w1-gpio Onewire interface module.
+ Use this overlay if you *do* need a GPIO to drive an external pullup.
+-Load: dtoverlay=w1-gpio-pullup,<param>=<val>,...
++Load: dtoverlay=w1-gpio-pullup,<param>=<val>
+ Params: gpiopin GPIO for I/O (default "4")
+
+ pullup Non-zero, "on", or "y" to enable the parasitic
--- /dev/null
+From f152711d14d2f1ea3f7106463270eb9ebc76c794 Mon Sep 17 00:00:00 2001
+From: Patrick Boettcher <patrick.boettcher@posteo.de>
+Date: Fri, 20 Nov 2015 15:09:36 +0100
+Subject: [PATCH 219/222] SDIO-overlay: add poll_once-boolean parameter
+
+Add paramter to toggle sdio-device-polling
+done every second or once at boot-time.
+
+Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
+---
+ arch/arm/boot/dts/overlays/README | 3 +++
+ arch/arm/boot/dts/overlays/sdio-overlay.dts | 6 +++++-
+ 2 files changed, 8 insertions(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/overlays/README
++++ b/arch/arm/boot/dts/overlays/README
+@@ -610,6 +610,9 @@ Params: overclock_50 Clock (
+
+ debug Enable debug output (default off)
+
++ poll_once Disable SDIO-device polling every second
++ (default on: polling once at boot-time)
++
+
+ Name: smi
+ Info: Enables the Secondary Memory Interface peripheral. Uses GPIOs 2-25!
+--- a/arch/arm/boot/dts/overlays/sdio-overlay.dts
++++ b/arch/arm/boot/dts/overlays/sdio-overlay.dts
+@@ -7,7 +7,7 @@
+
+ fragment@3 {
+ target = <&mmc>;
+- __overlay__ {
++ sdio_mmc: __overlay__ {
+ compatible = "brcm,bcm2835-mmc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdio_pins>;
+@@ -26,4 +26,8 @@
+ };
+ };
+ };
++
++ __overrides__ {
++ poll_once = <&sdio_mmc>,"non-removable?";
++ };
+ };
--- /dev/null
+From ae8fa8ea424c354cfc7da1c9c11715287ce253d1 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Tue, 1 Dec 2015 16:52:13 +0000
+Subject: [PATCH 220/222] BCM270X_DT: Use clk_core for I2C interfaces
+
+---
+ arch/arm/boot/dts/bcm2708_common.dtsi | 43 +++++++++++++++--------------------
+ 1 file changed, 18 insertions(+), 25 deletions(-)
+
+--- a/arch/arm/boot/dts/bcm2708_common.dtsi
++++ b/arch/arm/boot/dts/bcm2708_common.dtsi
+@@ -147,7 +147,7 @@
+ compatible = "brcm,bcm2708-i2c";
+ reg = <0x7e205000 0x1000>;
+ interrupts = <2 21>;
+- clocks = <&clk_i2c>;
++ clocks = <&clk_core>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+@@ -186,7 +186,7 @@
+ compatible = "brcm,bcm2708-i2c";
+ reg = <0x7e804000 0x1000>;
+ interrupts = <2 21>;
+- clocks = <&clk_i2c>;
++ clocks = <&clk_core>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+@@ -199,7 +199,7 @@
+ compatible = "brcm,bcm2708-i2c";
+ reg = <0x7e805000 0x1000>;
+ interrupts = <2 21>;
+- clocks = <&clk_i2c>;
++ clocks = <&clk_core>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+@@ -258,56 +258,49 @@
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+- clk_mmc: clock@0 {
++ clk_core: clock@0 {
+ compatible = "fixed-clock";
+ reg = <0>;
+ #clock-cells = <0>;
+- clock-output-names = "mmc";
++ clock-output-names = "core";
+ clock-frequency = <250000000>;
+ };
+
+- clk_i2c: clock@1 {
++ clk_mmc: clock@1 {
+ compatible = "fixed-clock";
+ reg = <1>;
+ #clock-cells = <0>;
+- clock-output-names = "i2c";
++ clock-output-names = "mmc";
+ clock-frequency = <250000000>;
+ };
+
+- clk_core: clock@2 {
++ clk_uart0: clock@2 {
+ compatible = "fixed-clock";
+ reg = <2>;
+ #clock-cells = <0>;
+- clock-output-names = "core";
+- clock-frequency = <250000000>;
+- };
+-
+- clk_uart0: clock@3 {
+- compatible = "fixed-clock";
+- reg = <3>;
+- #clock-cells = <0>;
+ clock-output-names = "uart0_pclk";
+ clock-frequency = <3000000>;
+ };
+
+- clk_apb_p: clock@4 {
++ clk_apb_p: clock@3 {
+ compatible = "fixed-clock";
+- reg = <4>;
++ reg = <3>;
+ #clock-cells = <0>;
+ clock-output-names = "apb_pclk";
+ clock-frequency = <126000000>;
+ };
+
+- clk_pwm: clock@5 {
+- compatible = "fixed-clock";
+- reg = <3>;
+- #clock-cells = <0>;
+- clock-output-names = "pwm";
+- clock-frequency = <100000000>;
++ clk_pwm: clock@4 {
++ compatible = "fixed-clock";
++ reg = <4>;
++ #clock-cells = <0>;
++ clock-output-names = "pwm";
++ clock-frequency = <100000000>;
+ };
+
+- clk_uart1: clock@6 {
++ clk_uart1: clock@5 {
+ compatible = "fixed-factor-clock";
++ reg = <5>;
+ clocks = <&clk_core>;
+ #clock-cells = <0>;
+ clock-div = <1>;
--- /dev/null
+From 702070d58bb61bcdcc46f28b6cef7f269ef14c3e Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Tue, 8 Dec 2015 16:23:33 +0000
+Subject: [PATCH 221/222] bcm270x_dt: Use the sdhost MMC controller by default
+
+The "mmc" overlay reverts to using the other controller.
+---
+ arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 11 ++++--
+ arch/arm/boot/dts/bcm2708-rpi-b.dts | 11 ++++--
+ arch/arm/boot/dts/bcm2708-rpi-cm.dtsi | 14 ++++++--
+ arch/arm/boot/dts/bcm2708_common.dtsi | 13 +++++++
+ arch/arm/boot/dts/bcm2709-rpi-2-b.dts | 11 ++++--
+ arch/arm/boot/dts/overlays/mmc-overlay.dts | 22 +++++++++++-
+ arch/arm/boot/dts/overlays/sdhost-overlay.dts | 49 ++++++---------------------
+ arch/arm/boot/dts/overlays/sdio-overlay.dts | 1 -
+ 8 files changed, 84 insertions(+), 48 deletions(-)
+
+--- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
++++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
+@@ -8,6 +8,11 @@
+ };
+
+ &gpio {
++ sdhost_pins: sdhost_pins {
++ brcm,pins = <48 49 50 51 52 53>;
++ brcm,function = <4>; /* alt0 */
++ };
++
+ spi0_pins: spi0_pins {
+ brcm,pins = <7 8 9 10 11>;
+ brcm,function = <4>; /* alt0 */
+@@ -29,9 +34,11 @@
+ };
+ };
+
+-&mmc {
+- status = "okay";
++&sdhost {
++ pinctrl-names = "default";
++ pinctrl-0 = <&sdhost_pins>;
+ bus-width = <4>;
++ status = "okay";
+ };
+
+ &fb {
+--- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
++++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
+@@ -8,6 +8,11 @@
+ };
+
+ &gpio {
++ sdhost_pins: sdhost_pins {
++ brcm,pins = <48 49 50 51 52 53>;
++ brcm,function = <4>; /* alt0 */
++ };
++
+ spi0_pins: spi0_pins {
+ brcm,pins = <7 8 9 10 11>;
+ brcm,function = <4>; /* alt0 */
+@@ -29,9 +34,11 @@
+ };
+ };
+
+-&mmc {
+- status = "okay";
++&sdhost {
++ pinctrl-names = "default";
++ pinctrl-0 = <&sdhost_pins>;
+ bus-width = <4>;
++ status = "okay";
+ };
+
+ &fb {
+--- a/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
++++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
+@@ -1,5 +1,12 @@
+ /include/ "bcm2708.dtsi"
+
++&gpio {
++ sdhost_pins: sdhost_pins {
++ brcm,pins = <48 49 50 51 52 53>;
++ brcm,function = <4>; /* alt0 */
++ };
++};
++
+ &leds {
+ act_led: act {
+ label = "led0";
+@@ -8,9 +15,12 @@
+ };
+ };
+
+-&mmc {
+- status = "okay";
++&sdhost {
++ pinctrl-names = "default";
++ pinctrl-0 = <&sdhost_pins>;
+ bus-width = <4>;
++ non-removable;
++ status = "okay";
+ };
+
+ &fb {
+--- a/arch/arm/boot/dts/bcm2708_common.dtsi
++++ b/arch/arm/boot/dts/bcm2708_common.dtsi
+@@ -14,6 +14,7 @@
+ mailbox = &mailbox;
+ gpio = &gpio;
+ uart0 = &uart0;
++ sdhost = &sdhost;
+ i2s = &i2s;
+ spi0 = &spi0;
+ i2c0 = &i2c0;
+@@ -114,6 +115,18 @@
+ status = "disabled";
+ };
+
++ sdhost: sdhost@7e202000 {
++ compatible = "brcm,bcm2835-sdhost";
++ reg = <0x7e202000 0x100>;
++ interrupts = <2 24>;
++ clocks = <&clk_core>;
++ dmas = <&dma 13>,
++ <&dma 13>;
++ dma-names = "tx", "rx";
++ brcm,pio-limit = <1>;
++ status = "disabled";
++ };
++
+ i2s: i2s@7e203000 {
+ compatible = "brcm,bcm2708-i2s";
+ reg = <0x7e203000 0x24>,
+--- a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
++++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
+@@ -8,6 +8,11 @@
+ };
+
+ &gpio {
++ sdhost_pins: sdhost_pins {
++ brcm,pins = <48 49 50 51 52 53>;
++ brcm,function = <4>; /* alt0 */
++ };
++
+ spi0_pins: spi0_pins {
+ brcm,pins = <7 8 9 10 11>;
+ brcm,function = <4>; /* alt0 */
+@@ -29,9 +34,11 @@
+ };
+ };
+
+-&mmc {
+- status = "okay";
++&sdhost {
++ pinctrl-names = "default";
++ pinctrl-0 = <&sdhost_pins>;
+ bus-width = <4>;
++ status = "okay";
+ };
+
+ &fb {
+--- a/arch/arm/boot/dts/overlays/mmc-overlay.dts
++++ b/arch/arm/boot/dts/overlays/mmc-overlay.dts
+@@ -6,9 +6,29 @@
+
+ fragment@0 {
+ target = <&mmc>;
+-
+ frag0: __overlay__ {
++ pinctrl-names = "default";
++ pinctrl-0 = <&mmc_pins>;
++ bus-width = <4>;
+ brcm,overclock-50 = <0>;
++ status = "okay";
++ };
++ };
++
++ fragment@1 {
++ target = <&gpio>;
++ __overlay__ {
++ mmc_pins: mmc_pins {
++ brcm,pins = <48 49 50 51 52 53>;
++ brcm,function = <7>; /* alt3 */
++ };
++ };
++ };
++
++ fragment@2 {
++ target = <&sdhost>;
++ __overlay__ {
++ status = "disabled";
+ };
+ };
+
+--- a/arch/arm/boot/dts/overlays/sdhost-overlay.dts
++++ b/arch/arm/boot/dts/overlays/sdhost-overlay.dts
+@@ -5,52 +5,25 @@
+ compatible = "brcm,bcm2708";
+
+ fragment@0 {
+- target = <&soc>;
++ target = <&mmc>;
+ __overlay__ {
+- #address-cells = <1>;
+- #size-cells = <1>;
+-
+- sdhost: sdhost@7e202000 {
+- compatible = "brcm,bcm2835-sdhost";
+- reg = <0x7e202000 0x100>;
+- pinctrl-names = "default";
+- pinctrl-0 = <&sdhost_pins>;
+- interrupts = <2 24>;
+- clocks = <&clk_core>;
+- dmas = <&dma 13>,
+- <&dma 13>;
+- dma-names = "tx", "rx";
+- brcm,delay-after-stop = <0>;
+- brcm,overclock-50 = <0>;
+- brcm,pio-limit = <1>;
+- status = "okay";
+- };
++ status = "disabled";
+ };
+ };
+
+ fragment@1 {
+- target = <&gpio>;
+- __overlay__ {
+- sdhost_pins: sdhost_pins {
+- brcm,pins = <48 49 50 51 52 53>;
+- brcm,function = <4>; /* alt0 */
+- };
+- };
+- };
+-
+- fragment@2 {
+- target = <&mmc>;
+- __overlay__ {
+- /* Find a way to disable the other driver */
+- compatible = "";
+- status = "disabled";
++ target = <&sdhost>;
++ frag1: __overlay__ {
++ brcm,overclock-50 = <0>;
++ brcm,pio-limit = <1>;
++ status = "okay";
+ };
+ };
+
+ __overrides__ {
+- overclock_50 = <&sdhost>,"brcm,overclock-50:0";
+- force_pio = <&sdhost>,"brcm,force-pio?";
+- pio_limit = <&sdhost>,"brcm,pio-limit:0";
+- debug = <&sdhost>,"brcm,debug?";
++ overclock_50 = <&frag1>,"brcm,overclock-50:0";
++ force_pio = <&frag1>,"brcm,force-pio?";
++ pio_limit = <&frag1>,"brcm,pio-limit:0";
++ debug = <&frag1>,"brcm,debug?";
+ };
+ };
+--- a/arch/arm/boot/dts/overlays/sdio-overlay.dts
++++ b/arch/arm/boot/dts/overlays/sdio-overlay.dts
+@@ -8,7 +8,6 @@
+ fragment@3 {
+ target = <&mmc>;
+ sdio_mmc: __overlay__ {
+- compatible = "brcm,bcm2835-mmc";
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdio_pins>;
+ non-removable;
--- /dev/null
+From 190044f7b7a0b06d46de345f9c79f7991051b68d Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Wed, 9 Dec 2015 11:38:15 +0000
+Subject: [PATCH 222/222] bcm2835-sdhost: Don't log timeout errors unless
+ debug=1
+
+The MMC card-discovery process generates timeouts. This is
+expected behaviour, so reporting it to the user serves no purpose.
+Suppress the reporting of timeout errors unless the debug flag
+is on.
+---
+ drivers/mmc/host/bcm2835-sdhost.c | 18 +++++++-----------
+ 1 file changed, 7 insertions(+), 11 deletions(-)
+
+--- a/drivers/mmc/host/bcm2835-sdhost.c
++++ b/drivers/mmc/host/bcm2835-sdhost.c
+@@ -966,19 +966,15 @@ static void bcm2835_sdhost_finish_comman
+ mmc_hostname(host->mmc));
+ } else {
+ if (sdhsts & SDHSTS_CMD_TIME_OUT) {
+- switch (host->cmd->opcode) {
+- case 5: case 52: case 53:
+- /* Don't warn about SDIO commands */
+- break;
+- default:
+- pr_err("%s: command timeout\n",
+- mmc_hostname(host->mmc));
+- break;
+- }
++ if (host->debug)
++ pr_err("%s: command %d timeout\n",
++ mmc_hostname(host->mmc),
++ host->cmd->opcode);
+ host->cmd->error = -ETIMEDOUT;
+ } else {
+- pr_err("%s: unexpected command error\n",
+- mmc_hostname(host->mmc));
++ pr_err("%s: unexpected command %d error\n",
++ mmc_hostname(host->mmc),
++ host->cmd->opcode);
+ bcm2835_sdhost_dumpregs(host);
+ host->cmd->error = -EIO;
+ }