diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 34a0d4ec06..32cf12da6a 100644 --- a/projects/RPi/patches/linux/linux-01-RPi_support.patch +++ b/projects/RPi/patches/linux/linux-01-RPi_support.patch @@ -1,7 +1,7 @@ -From 9975098c7b72c7755daa08816990dc286be525f2 Mon Sep 17 00:00:00 2001 +From 5e9c268f96c85ea7722958b1f6f73c8d13a822dc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 001/194] Main bcm2708/bcm2709 linux port +Subject: [PATCH 001/204] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -200,10 +200,10 @@ index 0c12ffb..18db6c4 100644 config DEBUG_AT91_UART diff --git a/arch/arm/Makefile b/arch/arm/Makefile -index 985227c..e5df9a5 100644 +index 47f10e7..afd559d 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile -@@ -142,6 +142,8 @@ textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 +@@ -150,6 +150,8 @@ textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 # Machine directory name. This list is sorted alphanumerically # by CONFIG_* macro name. @@ -6977,7 +6977,7 @@ index 0aa135d..89dbcb9 100644 + return 0; +} diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index 763eb20..ad45801 100644 +index 0cc622a..2585cd8 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -85,7 +85,7 @@ struct vendor_data { @@ -7002,10 +7002,10 @@ index b5bedae..b0258e8 100644 mmc_pm_flag_t pm_caps; /* supported pm features */ -From f8e5576fbb3b504ce7ca5eaeda0fe5d1741c620e Mon Sep 17 00:00:00 2001 +From 7408b83b52329a004068c5749e1733d8cb9028cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 Oct 2014 18:50:05 +0100 -Subject: [PATCH 002/194] Add bcm2708_gpio driver +Subject: [PATCH 002/204] Add bcm2708_gpio driver Signed-off-by: popcornmix @@ -7635,10 +7635,10 @@ index 0000000..fb69624 + +#endif -From 9fada5af830488a1143eaf1fb69a480e23aeb26c Mon Sep 17 00:00:00 2001 +From d86df54c296ad49447cb90e8c9ea1d2c8bd2b82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 1 May 2015 19:11:03 +0200 -Subject: [PATCH 003/194] mailbox: bcm2708: Add bcm2708-vcio +Subject: [PATCH 003/204] mailbox: bcm2708: Add bcm2708-vcio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -8269,10 +8269,10 @@ index 0000000..cc284ed + +#endif -From 686130a63a40d31f400357bfa1f01b53ea3069a5 Mon Sep 17 00:00:00 2001 +From a01bebe2f26586b5b8021847cc12f83f9fd0a27f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 004/194] Add dwc_otg driver +Subject: [PATCH 004/204] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69546,10 +69546,10 @@ index 0000000..cdc9963 +test_main(); +0; -From 8142dba5bbfd4a4a85bffc7689b030889ae05c32 Mon Sep 17 00:00:00 2001 +From a7a65674af3af5dcc29121afaae50c0cf6b2e13b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:54:32 +0100 -Subject: [PATCH 005/194] bcm2708 watchdog driver +Subject: [PATCH 005/204] bcm2708 watchdog driver Signed-off-by: popcornmix --- @@ -69986,10 +69986,10 @@ index 0000000..8a27d68 +MODULE_ALIAS_MISCDEV(TEMP_MINOR); +MODULE_LICENSE("GPL"); -From bd8c59a25518c0f3ad741d86af581fe3721078d6 Mon Sep 17 00:00:00 2001 +From d2d531d448b63465a680fb3e15c0e843267ff50f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 006/194] bcm2708 framebuffer driver +Subject: [PATCH 006/204] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -70071,7 +70071,7 @@ Signed-off-by: Noralf Trønnes create mode 100644 drivers/video/fbdev/bcm2708_fb.c diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig -index 1094623..42e6c3b 100644 +index d1e1e17..15098c5 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -224,6 +224,20 @@ config FB_TILEBLITTING @@ -73428,10 +73428,10 @@ index 3c14e43..7626beb6a 100644 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From 292c431c94ff9f822f352f12d3f38a51572e4fbb Mon Sep 17 00:00:00 2001 +From 7b98bf652df7771dd8eb79528dd7e276f2038585 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 007/194] dmaengine: Add support for BCM2708 +Subject: [PATCH 007/204] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75199,10 +75199,10 @@ index 0000000..2310e34 + +#endif /* _PLAT_BCM2708_DMA_H */ -From 97761099d44a41a8df57b703ae9a89c6e2b56062 Mon Sep 17 00:00:00 2001 +From 44cbf9ce5089b224b53fa45eade2bfb7111bc2db Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 008/194] MMC: added alternative MMC driver +Subject: [PATCH 008/204] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77018,10 +77018,10 @@ index 0000000..b7c4883 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From ebe6211e7e197d9e434c9cec4f150bc372a36be7 Mon Sep 17 00:00:00 2001 +From b0a083aa54f21ac74e866d9c016653d247e6d2b7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 009/194] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 009/204] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -78791,10 +78791,10 @@ index 0000000..eef8a24 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 93a7e6a8ad9b76f0f426f71afbe0c9c49abc11c5 Mon Sep 17 00:00:00 2001 +From a48f15d3cdee3004a03d04e296247625130dcbf7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 010/194] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 010/204] cma: Add vc_cma driver to enable use of CMA Signed-off-by: popcornmix @@ -80119,10 +80119,10 @@ index 0000000..5325832 + +#endif /* VC_CMA_H */ -From a5910e614bf60dd590932bd6c62c40dcb4a620a2 Mon Sep 17 00:00:00 2001 +From ebd29c2fcd995ebe287b4d9e771bd1f6730e6e13 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 011/194] bcm2708: alsa sound driver +Subject: [PATCH 011/204] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -80321,10 +80321,10 @@ index 07750ed..62c95cb 100644 if (!use_dt) { for (i = 0; i < ARRAY_SIZE(amba_devs); i++) { diff --git a/sound/arm/Kconfig b/sound/arm/Kconfig -index 885683a..fcbe9d7 100644 +index e040621..7746e5d2 100644 --- a/sound/arm/Kconfig +++ b/sound/arm/Kconfig -@@ -39,5 +39,13 @@ config SND_PXA2XX_AC97 +@@ -40,5 +40,13 @@ config SND_PXA2XX_AC97 Say Y or M if you want to support any AC97 codec attached to the PXA2xx AC97 interface. @@ -82964,10 +82964,10 @@ index 0000000..af3e6eb + +#endif // _VC_AUDIO_DEFS_H_ -From 0293a3d83cbf9cd1778b2cbd34cfa7366b3da2f3 Mon Sep 17 00:00:00 2001 +From 4978dc22bb85d1c218085aa253224bdaea6f89fc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 012/194] bcm2708 vchiq driver +Subject: [PATCH 012/204] bcm2708 vchiq driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96221,10 +96221,10 @@ index 0000000..b6bfa21 + return vchiq_build_time; +} -From 3aca37235e8642ca143e97066f0f9bafb01e8903 Mon Sep 17 00:00:00 2001 +From 5c91907c6aec2d89bf1d57ab85e01bfdab1f0801 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 16:07:06 +0100 -Subject: [PATCH 013/194] vc_mem: Add vc_mem driver +Subject: [PATCH 013/204] vc_mem: Add vc_mem driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -97230,10 +97230,10 @@ index 0000000..20a4753 + +#endif /* _VC_MEM_H */ -From 28d20ca0e48cb659bc2f6a629636397378b80f91 Mon Sep 17 00:00:00 2001 +From 40c1f77329886c79e9ac40afe3dee52dec5a0f5f Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 014/194] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 014/204] 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 @@ -101643,10 +101643,10 @@ index 0000000..0bfb42e +MODULE_DESCRIPTION("VideoCore SharedMemory Driver"); +MODULE_LICENSE("GPL v2"); -From 5026ce3b4e280f8c69c792473316dcf0ef9cf7bb Mon Sep 17 00:00:00 2001 +From 89476e1e5132eb053f40bcad4d31903c2660d737 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:51:55 +0100 -Subject: [PATCH 015/194] Add hwrng (hardware random number generator) driver +Subject: [PATCH 015/204] Add hwrng (hardware random number generator) driver --- drivers/char/hw_random/Kconfig | 13 +++- @@ -101823,10 +101823,10 @@ index 0000000..340f004 +MODULE_DESCRIPTION("BCM2708 H/W Random Number Generator (RNG) driver"); +MODULE_LICENSE("GPL and additional rights"); -From bb39dc15ebce6c54d6b2416b8b26e5afea580fbf Mon Sep 17 00:00:00 2001 +From 0f09a4b263925916b493657ad19334d1b62ee299 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 016/194] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 016/204] 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 @@ -102679,10 +102679,10 @@ index 0000000..24563ec +module_param(debug, bool, S_IRUGO | S_IWUSR); +MODULE_PARM_DESC(debug, "Enable debugging messages"); -From b86f8631e2d540d09df3c950f53eb5c8c2160c01 Mon Sep 17 00:00:00 2001 +From 7dc35f47e29f40755b9a66b6c1b8f693d0a7e414 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 017/194] Add cpufreq driver +Subject: [PATCH 017/204] Add cpufreq driver Signed-off-by: popcornmix --- @@ -102955,10 +102955,10 @@ index 0000000..6735da9 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 408055fb17cc2615b730f8ca781bf00836ff4058 Mon Sep 17 00:00:00 2001 +From d8057ff6ba5dece8ae393713e563362dc53bbde4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 018/194] Added hwmon/thermal driver for reporting core +Subject: [PATCH 018/204] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -103255,10 +103255,10 @@ index 0000000..3bc80f1 + +module_platform_driver(bcm2835_thermal_driver); -From f612d1c8b575aba42c328a48d6b442e411937d3b Mon Sep 17 00:00:00 2001 +From 320c58bca444bc390f7eccfebbb529fe8e98ed10 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:41:33 +0100 -Subject: [PATCH 019/194] Add Chris Boot's spi driver. +Subject: [PATCH 019/204] Add Chris Boot's spi driver. spi: bcm2708: add device tree support @@ -104170,10 +104170,10 @@ index 0000000..041b5e2 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 71b325cf11468a3aea102146173c8b061e4af9cd Mon Sep 17 00:00:00 2001 +From db4e6f4abd7eb95d3224be99d7f04c791f4ceb8d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 020/194] Add Chris Boot's i2c driver +Subject: [PATCH 020/204] Add Chris Boot's i2c driver i2c-bcm2708: fixed baudrate @@ -104974,10 +104974,10 @@ index 0000000..8773203 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 83442dc82575a0e27f036d37ad2e6070e2ac9612 Mon Sep 17 00:00:00 2001 +From fb0599a8dc95e605fe75e510c39a99e77fe627f8 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 021/194] bcm2835: add v4l2 camera device +Subject: [PATCH 021/204] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -112304,10 +112304,10 @@ index 0000000..9d1d11e + +#endif /* MMAL_VCHIQ_H */ -From 8329756aea16aec7cf3b751506a9183189b63e0a Mon Sep 17 00:00:00 2001 +From 55141e6e23fd7c2f2b98d6f472dd4e1f11fcdb50 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 23 Jan 2015 14:48:55 +0000 -Subject: [PATCH 022/194] scripts/dtc: Update to upstream version with overlay +Subject: [PATCH 022/204] scripts/dtc: Update to upstream version with overlay patches --- @@ -117520,10 +117520,10 @@ index 54d4e904..d644002 100644 -#define DTC_VERSION "DTC 1.4.0-dirty" +#define DTC_VERSION "DTC 1.4.1-g36c70742" -From 5659258d92d8e737c1d2051f76288964bfffd732 Mon Sep 17 00:00:00 2001 +From 8bddbe464074570457bca032ebee779eb9814d13 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 023/194] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 023/204] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -118008,10 +118008,10 @@ index 0000000..3dff948 + return (($val eq 'y') || ($val eq '1')); +} -From a745783eaa9f2c7bb386d5b2e2eb5c630a720d45 Mon Sep 17 00:00:00 2001 +From febe480850daa451009a87a3b86278f3d7dbaa10 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 5 Dec 2014 17:26:26 +0000 -Subject: [PATCH 024/194] fdt: Add support for the CONFIG_CMDLINE_EXTEND option +Subject: [PATCH 024/204] fdt: Add support for the CONFIG_CMDLINE_EXTEND option --- drivers/of/fdt.c | 29 ++++++++++++++++++++++++----- @@ -118066,10 +118066,10 @@ index d91f721..02feb00 100644 pr_debug("Command line is: %s\n", (char*)data); -From 40422f4d1e477646fe048603ef640d260b162bef Mon Sep 17 00:00:00 2001 +From 35658cc32f834e0bad12e6206b7ffb6af9eddbe6 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 025/194] BCM2708: Add core Device Tree support +Subject: [PATCH 025/204] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -121946,10 +121946,10 @@ index 0000000..66a98f6 + }; +}; -From d3d477c85c9dfb667c233debe50362a0e8f8fae6 Mon Sep 17 00:00:00 2001 +From 7c4a63015f03594469922e65ae613bbc4e54c4cf Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 026/194] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 026/204] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -122042,10 +122042,10 @@ index fb795c3..fa72af0 100644 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From 65c2f3ef479f7832252cba9776f20488aa3d8171 Mon Sep 17 00:00:00 2001 +From 4f1485790c96ee05b7fd08c23905f8957c8f2b61 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 029/194] Speed up console framebuffer imageblit function +Subject: [PATCH 029/204] 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 @@ -122254,10 +122254,10 @@ index a2bb276..436494f 100644 start_index, pitch_index); } else -From 46c415aa3d9d901af90d3ee968a7e20eb865d224 Mon Sep 17 00:00:00 2001 +From efd2fa9ef6e7848d0494f1a66d46e9280d507f4e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 030/194] Allow mac address to be set in smsc95xx +Subject: [PATCH 030/204] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -122348,10 +122348,10 @@ index 26423ad..e29a323 100644 if (smsc95xx_read_eeprom(dev, EEPROM_MAC_OFFSET, ETH_ALEN, dev->net->dev_addr) == 0) { -From ccba4f76d2d8acf925cb0173e7865cab162d6031 Mon Sep 17 00:00:00 2001 +From 625c18792c5c8272af5237599d44d852e0996bdf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 031/194] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 031/204] 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 @@ -122749,10 +122749,10 @@ index d58594a..feae942 100644 unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 04bc86ea16b589d4c5392441a9226f365eb4e934 Mon Sep 17 00:00:00 2001 +From 8b7527453528e339a4586eec937857f1b994daae Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 033/194] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 033/204] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -122795,10 +122795,10 @@ index 4d65b66..dd258ff 100644 { printk("cgroup: using legacy files on the default hierarchy\n"); diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index a04225d..a2ef8af 100644 +index 68dea90..6fd0c4f 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c -@@ -5388,6 +5388,7 @@ struct cgroup_subsys memory_cgrp_subsys = { +@@ -5389,6 +5389,7 @@ struct cgroup_subsys memory_cgrp_subsys = { .dfl_cftypes = memory_files, .legacy_cftypes = mem_cgroup_legacy_files, .early_init = 0, @@ -122807,10 +122807,10 @@ index a04225d..a2ef8af 100644 /** -From eddb6053ac89b626ffe6b60c678437a334b06075 Mon Sep 17 00:00:00 2001 +From 727594aaa8ab739ea1c22eca69bf5400948af0d1 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:33:38 +0100 -Subject: [PATCH 034/194] ASoC: Add support for BCM2708 +Subject: [PATCH 034/204] ASoC: Add support for BCM2708 This driver adds support for digital audio (I2S) for the BCM2708 SoC that is used by the @@ -123953,10 +123953,10 @@ index 0000000..6fdcbc1 + +#endif -From ff4a754b75bfac31eb14c3a06805d6a6bd21318b Mon Sep 17 00:00:00 2001 +From c0c7b62d38423b62ad3223b79f7f60802c6c1e5c Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:59:51 +0100 -Subject: [PATCH 035/194] ASoC: Add support for PCM5102A codec +Subject: [PATCH 035/204] ASoC: Add support for PCM5102A codec Some definitions to support the PCM5102A codec by Texas Instruments. @@ -124081,10 +124081,10 @@ index 0000000..126f1e9 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From c2f0f13aa7a56c787693a286a66b7efa523a9721 Mon Sep 17 00:00:00 2001 +From 0f2fff9145ec3742650115b422b3fa4983002668 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:04:54 +0100 -Subject: [PATCH 036/194] BCM2708: Add I2S support to board file +Subject: [PATCH 036/204] BCM2708: Add I2S support to board file Adds the required initializations for I2S to the board file of mach-bcm2708. @@ -124173,10 +124173,10 @@ index a3b65dc..a515992 100644 for (i = 0; i <= 1; i++) { void __iomem *base; -From 55d1827c5a972cfd10da253aa06d8f8abc80498b Mon Sep 17 00:00:00 2001 +From b7db156b7135bd8023bc2e553fa802f10b33df21 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 037/194] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 037/204] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -124325,10 +124325,10 @@ index 0000000..4b70b45 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 55da93510f26d0155f6d4844688fc8808613fc29 Mon Sep 17 00:00:00 2001 +From c48e1b97199c72f611b2f0937d36bc98a7169bba Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:21:34 +0100 -Subject: [PATCH 038/194] BCM2708: Add HifiBerry DAC to board file +Subject: [PATCH 038/204] BCM2708: Add HifiBerry DAC to board file This adds the initalization of the HifiBerry DAC to the mach-bcm2708 board file. @@ -124376,10 +124376,10 @@ index 01f2de7..1d9b788 100644 for (i = 0; i < ARRAY_SIZE(amba_devs); i++) { struct amba_device *d = amba_devs[i]; -From 98736acf9857e9bbf038b0b7134c0c14ddef69a8 Mon Sep 17 00:00:00 2001 +From 46355bc118b045051f833c56844bba4b71b6b666 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 20:50:28 +0100 -Subject: [PATCH 039/194] ASoC: BCM2708: Add support for RPi-DAC +Subject: [PATCH 039/204] ASoC: BCM2708: Add support for RPi-DAC This adds a machine driver for the RPi-DAC. @@ -124674,10 +124674,10 @@ index 0000000..b4eaa44 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 7a7a54178ae9dbcdb98ffb2c986976ccec24143d Mon Sep 17 00:00:00 2001 +From 81991e83d009ef30b23b0f7190042479293aa418 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 040/194] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 040/204] 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 @@ -124717,10 +124717,10 @@ index 1e403f6..d4efa85 100644 #define WM8804_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | \ -From 80a8450207698b78e1e2706c78be917a0a2d226e Mon Sep 17 00:00:00 2001 +From bf20cf45c9c208ff4a47465f3297196806b95da7 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 041/194] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 041/204] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -124985,10 +124985,10 @@ index 0000000..92e9e46 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From e9935d1eae17cdcb2c0b7b6cdb3120462673efd2 Mon Sep 17 00:00:00 2001 +From ebfceb0a7d6a4854618c00339d571421b7a18b68 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:26:08 +0100 -Subject: [PATCH 042/194] BCM2708: Added support for HiFiBerry Digi board Board +Subject: [PATCH 042/204] BCM2708: Added support for HiFiBerry Digi board Board initalization by I2C Signed-off-by: Daniel Matuschek @@ -125035,10 +125035,10 @@ index 6d53beb..a062d7f 100644 bcm_register_device_dt(&snd_rpi_dac_device); bcm_register_device_dt(&snd_pcm1794a_codec_device); -From af889ad42b8707233529ff69e4777cdbebdb1fda Mon Sep 17 00:00:00 2001 +From b9597317ed9afa6fe3712758c0ad5d1b11766d60 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:36:35 +0100 -Subject: [PATCH 043/194] ASoC: wm8804: Set idle_bias_off to false Idle bias +Subject: [PATCH 043/204] ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup Signed-off-by: Daniel Matuschek @@ -125060,10 +125060,10 @@ index d4efa85..f3f26a2 100644 .dapm_widgets = wm8804_dapm_widgets, .num_dapm_widgets = ARRAY_SIZE(wm8804_dapm_widgets), -From cb559a1b74c95bcdf53c269f4b3c439d494b95cf Mon Sep 17 00:00:00 2001 +From 098e66a4235451ad64c8bc1349496fc68a0e16fc Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 044/194] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 044/204] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -125271,10 +125271,10 @@ index 0000000..aff7377 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 98b208c6abab24c6ffa353c71933902ae0eca8b0 Mon Sep 17 00:00:00 2001 +From a2878cc4a414348ab3b5be3ad44f04ae8e77e3ab Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Jun 2014 13:42:01 +0100 -Subject: [PATCH 045/194] vmstat: Workaround for issue where dirty page count +Subject: [PATCH 045/204] vmstat: Workaround for issue where dirty page count goes negative See: @@ -125301,10 +125301,10 @@ index 82e7db7..f87d16d 100644 static inline void __inc_zone_page_state(struct page *page, -From 92feba25f0f1820019519a4da1f22c9583b030b3 Mon Sep 17 00:00:00 2001 +From 0fb0113068c3d68d396dff09129369bd7719bb41 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 046/194] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 046/204] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -125340,10 +125340,10 @@ index eab5bd6..ca47de9 100644 ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From 047bb9ea625a0e2d10cb3185fdab05eb3c123fae Mon Sep 17 00:00:00 2001 +From b5950dd391670c2090ca047af33ba1f5b330b272 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 047/194] Added support for HiFiBerry DAC+ +Subject: [PATCH 047/204] 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. @@ -125554,10 +125554,10 @@ index 0000000..c63387b +MODULE_DESCRIPTION("ASoC Driver for HiFiBerry DAC+"); +MODULE_LICENSE("GPL v2"); -From d417f6c0d6949188bf72f572791ecb35afdd4ea5 Mon Sep 17 00:00:00 2001 +From 83ead1b240ffde9c9c592533b4b116ae721e6893 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 048/194] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 048/204] 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. @@ -126426,10 +126426,10 @@ index 0000000..8f019e0 + +#endif /* _TAS5713_H */ -From 03d656c1e3f44f046045801e81cd04ffb240ae1a Mon Sep 17 00:00:00 2001 +From d78d9b666c8a7fb477945825a161505701e11b28 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Apr 2015 19:14:18 +0100 -Subject: [PATCH 049/194] bcm2708: Allow option card devices to be configured +Subject: [PATCH 049/204] bcm2708: Allow option card devices to be configured via DT If the kernel is built with Device Tree support, and if a DT blob @@ -126454,10 +126454,10 @@ index 03fa1cb..c816526 100644 static struct platform_driver bcm2835_i2s_driver = { .probe = bcm2835_i2s_probe, -From b6953d682b2b312f1a259dac2595d4a1f39996af Mon Sep 17 00:00:00 2001 +From 0cf6cbc05769deca2546837472623fc4e7b56c11 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 18:45:39 +0100 -Subject: [PATCH 050/194] Adding Device Tree support for some RPi audio cards +Subject: [PATCH 050/204] Adding Device Tree support for some RPi audio cards --- arch/arm/mach-bcm2709/bcm2709.c | 143 ++++++++++++++++++++++++++++++++++++++ @@ -126820,10 +126820,10 @@ index 126f1e9..7c6598e 100644 }; -From 59955697bc15f97b2c9d39fdfd07d0cc44f6bce8 Mon Sep 17 00:00:00 2001 +From 1548b70b26d3607e2f51c46f98c09f704911e4ae Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Wed, 29 Oct 2014 23:30:30 -0700 -Subject: [PATCH 051/194] Added support to reserve/enable a GPIO pin to be used +Subject: [PATCH 051/204] Added support to reserve/enable a GPIO pin to be used from pps-gpio module (LinuxPPS). Enable PPS modules in default config for RPi. @@ -126959,10 +126959,10 @@ index 57e1f3d..721559b 100644 +module_param(pps_gpio_pin, int, 0644); +MODULE_PARM_DESC(pps_gpio_pin, "Set GPIO pin to reserve for PPS"); -From c26d9c1d3493331c6a87f2301a4fc1aa755debd1 Mon Sep 17 00:00:00 2001 +From c7e1fd615565779916e66d987595521dcefc691c Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 052/194] Update ds1307 driver for device-tree support +Subject: [PATCH 052/204] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -126989,10 +126989,10 @@ index 4ffabb3..c6789a7 100644 .driver = { .name = "rtc-ds1307", -From 5a10e7bdb11bdeb128f7705d9409d0597dba138d Mon Sep 17 00:00:00 2001 +From 5d7ba67c43373946a8b3c8bed5f2e6e23090a09d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 053/194] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 053/204] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -127103,10 +127103,10 @@ index 0000000..2ca2b98 +MODULE_DESCRIPTION("Set LED GPIO to Input \"trigger\""); +MODULE_LICENSE("GPL"); -From 72874b8ea7e0163a45c85f516b97e26349821b1d Mon Sep 17 00:00:00 2001 +From dfc29014435e46cbc28a4cdcdf1bff215964e13b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 20 Jun 2014 17:19:27 +0100 -Subject: [PATCH 054/194] bcm2709: Simplify and strip down IRQ handler +Subject: [PATCH 054/204] bcm2709: Simplify and strip down IRQ handler --- arch/arm/include/asm/entry-macro-multi.S | 2 + @@ -127325,10 +127325,10 @@ index d08591b..08d184c 100644 +1: get_irqnr_and_base r0, r2, r6, lr + .endm -From 84aa8f7265e0ec7e51faf76854c44176e0d4ba00 Mon Sep 17 00:00:00 2001 +From ee705807744ab8001d5ae997102c0c8c9785dafe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 12 Feb 2015 11:17:53 +0000 -Subject: [PATCH 055/194] Fix LED "input" trigger implementation for 3.19 +Subject: [PATCH 055/204] Fix LED "input" trigger implementation for 3.19 --- drivers/leds/leds-gpio.c | 10 +++++++++- @@ -127415,10 +127415,10 @@ index 9a2b000..60accc5 100644 /* Set LED brightness level */ /* Must not sleep, use a workqueue if needed */ -From d0ed177e729b655e9c30381cc1eb7bcf4707cb97 Mon Sep 17 00:00:00 2001 +From 27e98ca305c67ee354c42983a43f09b2e59ce5b5 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 056/194] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 056/204] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -127440,10 +127440,10 @@ index 8d908e3..7a1900d 100644 .can_sleep = false, }; -From 5f91a4dffe91a3cfabe202b31d40e58f9c4300cd Mon Sep 17 00:00:00 2001 +From e4022c2c7ada3dc69da92db183132c86cdc7d730 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 4 Feb 2015 10:02:24 +0000 -Subject: [PATCH 057/194] pinctrl-bcm2835: bcm2835_gpio_direction_output must +Subject: [PATCH 057/204] pinctrl-bcm2835: bcm2835_gpio_direction_output must set the value --- @@ -127471,10 +127471,10 @@ index 7a1900d..62f85aa 100644 static void bcm2835_gpio_set(struct gpio_chip *chip, unsigned offset, int value) -From 7231eb4f1d3c4438cef92ebc28508f882d70c67e Mon Sep 17 00:00:00 2001 +From d1c711959d41518b10f7c2797cac744c543468ad Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 058/194] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 058/204] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -127620,10 +127620,10 @@ index 62f85aa..c7cf266 100644 }, }; -From a829200d363d26f99e477ba78c466b1fdb216bb9 Mon Sep 17 00:00:00 2001 +From 3c62244d144a37b12b9af16a34eb67b4b7cf48ba Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 059/194] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 059/204] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -127650,10 +127650,10 @@ index c7cf266..986779a 100644 pc->irq_data[i].irqgroup = i; -From 6f80523ec529eae5c842f5d0c7897b20aa60b5b3 Mon Sep 17 00:00:00 2001 +From f8391406e17d282f010b8deebe0ccd26f8ea2e49 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 27 Feb 2015 15:10:24 +0000 -Subject: [PATCH 060/194] enc28j60: Add device tree compatible string and an +Subject: [PATCH 060/204] enc28j60: Add device tree compatible string and an overlay --- @@ -127687,10 +127687,10 @@ index b1b5f66..c6b6e1a 100644 .probe = enc28j60_probe, .remove = enc28j60_remove, -From f7a9d41164cc17757413b9320171b8ffa2d37ab3 Mon Sep 17 00:00:00 2001 +From eb2703ff418ab3b72d09375f7c2aa49aee9f4a0e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 061/194] Add driver for rpi-proto +Subject: [PATCH 061/204] 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 @@ -127905,10 +127905,10 @@ index 0000000..c6e45a0 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 69e7cec8f40f4dfb74a8a90765e6ec3e620a2c77 Mon Sep 17 00:00:00 2001 +From d3d38e562e57db9c529f93aedfe9fca8b5c70a38 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Thu, 2 Apr 2015 12:22:55 +0100 -Subject: [PATCH 062/194] Add Device Tree support for RPi-DAC. +Subject: [PATCH 062/204] Add Device Tree support for RPi-DAC. --- sound/soc/bcm/rpi-dac.c | 21 +++++++++++++++++++++ @@ -127983,10 +127983,10 @@ index b4eaa44..afe1b41 100644 }; -From 2ba0215ccee2c6c6ade529efcbb3596d54855fde Mon Sep 17 00:00:00 2001 +From b15b358e11a817bcc7c3d8354c8a2f6f7d30a806 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 063/194] config: Add default configs +Subject: [PATCH 063/204] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1204 ++++++++++++++++++++++++++++++++++++ @@ -130411,10 +130411,10 @@ index 0000000..6a41231 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 36014aab6345095255df33a004a5b1cc53c9519d Mon Sep 17 00:00:00 2001 +From 97b84b787de84ad70a3a3a2d7faa9c898c89077c Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 064/194] smsx95xx: fix crimes against truesize +Subject: [PATCH 064/204] 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. @@ -130449,10 +130449,10 @@ index e29a323..aff63dc usbnet_skb_return(dev, ax_skb); } -From 11c84b6f4514f3080a198e11169df17488decdd2 Mon Sep 17 00:00:00 2001 +From f00f1c85db60369955c57b255c2588ff56d59fa7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Apr 2015 16:58:45 +0100 -Subject: [PATCH 065/194] smsc95xx: Disable turbo mode by default +Subject: [PATCH 065/204] smsc95xx: Disable turbo mode by default --- drivers/net/usb/smsc95xx.c | 2 +- @@ -130472,10 +130472,10 @@ index aff63dc..08a8a8c 100755 MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction"); -From 31beb06e2bf776509f4747a42f14ea0d98f72e98 Mon Sep 17 00:00:00 2001 +From 122b539270dc7e0d8ee3b6926c77f5aedb06fb67 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Apr 2015 19:30:22 +0100 -Subject: [PATCH 066/194] Add blk_pos parameter to mmc multi_io_quirk callback +Subject: [PATCH 066/204] Add blk_pos parameter to mmc multi_io_quirk callback --- drivers/mmc/card/block.c | 1 + @@ -130558,10 +130558,10 @@ index b0258e8..d3cdad9 100644 struct mmc_card; -From 46e4522a701337da606e48acc878cb44de55bf7d Mon Sep 17 00:00:00 2001 +From ec8a45bdc3e0afbf5ab8ba7735608e7ca11feca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 29 Apr 2015 17:24:02 +0200 -Subject: [PATCH 067/194] bcm2835: bcm2835_defconfig +Subject: [PATCH 067/204] bcm2835: bcm2835_defconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -131891,10 +131891,10 @@ index 31cb073..2e8a95a 100644 # CONFIG_XZ_DEC_ARM is not set # CONFIG_XZ_DEC_ARMTHUMB is not set -From 79b69b32c28af0ee8ef144635982f6ba2908ca78 Mon Sep 17 00:00:00 2001 +From af1868e02b629a2e2092bf358540d6ca4dcdff6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 1 May 2015 23:00:15 +0200 -Subject: [PATCH 068/194] BCM270x_DT: Add mailbox bcm2708-vcio +Subject: [PATCH 068/204] BCM270x_DT: Add mailbox bcm2708-vcio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -131935,10 +131935,10 @@ index 721559b..4a00561 100644 #ifdef CONFIG_BCM2708_GPIO bcm_register_device_dt(&bcm2708_gpio_device); -From c1d19f13510c4a60e9b95f8cbad3cda438fe76c8 Mon Sep 17 00:00:00 2001 +From ab35f5a7f3921cd9d5d9f09f4bd82675822048dc Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 069/194] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 069/204] rpi-ft5406: Add touchscreen driver for pi LCD display --- drivers/input/touchscreen/Kconfig | 7 + @@ -132255,10 +132255,10 @@ index cc284ed..d3ea839 100644 VCMSG_SET_CURSOR_STATE = 0x00008011, }; -From 07cd5d06d9fee39942dcc430231db73bb53c7e5b Mon Sep 17 00:00:00 2001 +From f12bdfa033dd3c639b037c3acefc6df99e51936d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 070/194] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 070/204] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -133783,10 +133783,10 @@ index 3e58d71..0622891 100644 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From edc3241b67c3654ee59acfaead768b91aa84df02 Mon Sep 17 00:00:00 2001 +From b52da83347f05007471699518545f3c8827d762a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 27 May 2015 17:22:15 +0100 -Subject: [PATCH 071/194] bcm2835-audio: Create the platform device if the DT +Subject: [PATCH 071/204] bcm2835-audio: Create the platform device if the DT node is disabled For backwards compatibility, allow the built-in ALSA driver to be enabled @@ -133840,10 +133840,10 @@ index 4a00561..dec8043 100644 bcm_register_device_dt(&bcm2708_spi_device); -From 344087912784db8b1eee766a136a02ff817c8fca Mon Sep 17 00:00:00 2001 +From 1b9a56248747ddcba15df7f60cf739eea2977349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 072/194] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 072/204] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -133902,10 +133902,10 @@ index 70f2f39..f7fdacd 100644 static const char * const bcm2835_compat[] = { -From f3602346755806054cfcf1cf2f905b29468af420 Mon Sep 17 00:00:00 2001 +From 6c1d2a6d20e29c2fb1809297925045701d8a4a2a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 Jun 2015 17:47:27 +0100 -Subject: [PATCH 073/194] platform: Add force_core command line setting to boot +Subject: [PATCH 073/204] platform: Add force_core command line setting to boot from a different core number --- @@ -133976,10 +133976,10 @@ index dec8043..fe71c50 100644 module_param(serial, uint, 0644); module_param(uart_clock, uint, 0644); -From 45c0c407d8f793347af885fa66d158dce5fdb452 Mon Sep 17 00:00:00 2001 +From fbedbf309c2ee139e3eace31eb388fc0c8c75301 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 Jun 2015 17:46:17 +0100 -Subject: [PATCH 074/194] mach-bcm270x: Enable the building of pinctrl-bcm2835 +Subject: [PATCH 074/204] mach-bcm270x: Enable the building of pinctrl-bcm2835 --- drivers/pinctrl/Makefile | 1 + @@ -133998,10 +133998,10 @@ index 6eadf04..9119513 100644 obj-$(CONFIG_ARCH_BERLIN) += berlin/ obj-y += freescale/ -From 56add5560092eda46f452d9f9dfa3c26c44fd7b8 Mon Sep 17 00:00:00 2001 +From 697b347118f88f65839dbf93dfc583b06407e791 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Jun 2015 16:41:39 +0100 -Subject: [PATCH 075/194] BCM270X_DT: Document the i2s-mmap overlay +Subject: [PATCH 075/204] BCM270X_DT: Document the i2s-mmap overlay --- arch/arm/boot/dts/overlays/README | 6 ++++++ @@ -134025,10 +134025,10 @@ index 3e08f98..7fa6d33 100644 Info: Configures the IQaudio DAC audio card Load: dtoverlay=iqaudio-dac -From 894275ddffee89565ddb77ae2e1bf98aff7cfc09 Mon Sep 17 00:00:00 2001 +From 459023e570ec920d21cf3d01988a595f9027c87c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 17 Jun 2015 11:36:53 +0100 -Subject: [PATCH 076/194] bcm2835-sdhost: Improve error handling and recovery +Subject: [PATCH 076/204] bcm2835-sdhost: Improve error handling and recovery 1) Expose the hw_reset method to the MMC framework, removing many internal calls by the driver. @@ -135120,10 +135120,10 @@ index eef8a24..6277e43 100644 if (host->allow_dma) { -From e8a98639901cab1a1a82b0282d8b49364fe547b2 Mon Sep 17 00:00:00 2001 +From 1b37e961ff949769a09160dcc9567c47f8d093e6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 4 Jun 2015 13:11:46 -0700 -Subject: [PATCH 077/194] ARM: bcm2835: Add the Raspberry Pi firmware driver +Subject: [PATCH 077/204] 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 @@ -135557,10 +135557,10 @@ index 0000000..9d9efb7 + void *data, size_t tag_size); +struct rpi_firmware *rpi_firmware_get(struct device_node *firmware_node); -From 167951d88cd1d4a33ff993c661fb4e41ab469153 Mon Sep 17 00:00:00 2001 +From 9666e309b64fbf73d945c934dc3e991e25218fba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 22 Mar 2015 13:33:23 +0000 -Subject: [PATCH 078/194] config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING +Subject: [PATCH 078/204] config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING --- arch/arm/configs/bcm2709_defconfig | 4 ++++ @@ -135612,10 +135612,10 @@ index 6a41231..cacde14 100644 CONFIG_BLK_DEV_CRYPTOLOOP=m CONFIG_BLK_DEV_DRBD=m -From a11d3d8a1598bc8f95e7ea50c3187d33ddd64a28 Mon Sep 17 00:00:00 2001 +From a767c3cb4c6604ad27b92a36644de098f8bdcabb Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Mon, 22 Jun 2015 16:27:07 +0100 -Subject: [PATCH 079/194] Add rpi-ft5406 overlay Add rpi-ft5406 driver as +Subject: [PATCH 079/204] Add rpi-ft5406 overlay Add rpi-ft5406 driver as module --- @@ -135702,10 +135702,10 @@ index cacde14..f952ff2 100644 CONFIG_TOUCHSCREEN_STMPE=m CONFIG_INPUT_MISC=y -From fe5fb63fcee650a8a86620ae28b340c1a26254b5 Mon Sep 17 00:00:00 2001 +From f13481ed18c0a520fc1776890d1066c1397b358f Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 23 Jun 2015 09:53:40 +0100 -Subject: [PATCH 080/194] Fix driver detection failure Check that the buffer +Subject: [PATCH 080/204] Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected --- @@ -135726,10 +135726,10 @@ index f55151b..d41851d 100644 dev_dbg(&pdev->dev, "Got TS buffer 0x%x\n", request.tag.val); } -From e61f9b07f84cc33909e24abac78bd6d409c58378 Mon Sep 17 00:00:00 2001 +From 7b53303429e40fddef7ffeb405f898af16adf578 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Jun 2015 13:24:01 +0100 -Subject: [PATCH 081/194] config: Enable 8250 serial port +Subject: [PATCH 081/204] config: Enable 8250 serial port --- arch/arm/configs/bcm2709_defconfig | 7 +++++++ @@ -135777,10 +135777,10 @@ index f952ff2..0c25d8b 100644 CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_BCM2835=m -From 65f477430998ae66a22db184a70e607fc3181a28 Mon Sep 17 00:00:00 2001 +From 1ae977a7312c852775ea4bd9da294d7010e42dff Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Jun 2015 14:10:58 +0100 -Subject: [PATCH 082/194] config: Enable POWER_RESET_GPIO +Subject: [PATCH 082/204] config: Enable POWER_RESET_GPIO --- arch/arm/configs/bcm2709_defconfig | 2 ++ @@ -135814,10 +135814,10 @@ index 0c25d8b..e757db6 100644 CONFIG_THERMAL=y CONFIG_THERMAL_BCM2835=y -From 35aa75e5d747e46e1198f67134c763b4f1b98594 Mon Sep 17 00:00:00 2001 +From 5c8ef44617382fa1fa35577714eb1d4e2e17b647 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 26 Jun 2015 17:37:38 +0100 -Subject: [PATCH 083/194] bcm2708-vcio: Remove restriction of only a single +Subject: [PATCH 083/204] 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). @@ -135862,10 +135862,10 @@ index d91672b..06fb2c2f 100644 return 0; -From 35f7329f05c2ecaae027667885877a8c56b94713 Mon Sep 17 00:00:00 2001 +From cc364b46f26d4d8fc925ab96616e2443f29a0a60 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 Jun 2015 08:39:19 +0100 -Subject: [PATCH 084/194] BCM270X_DT: Create a "core" clock, use it for SPI and +Subject: [PATCH 084/204] BCM270X_DT: Create a "core" clock, use it for SPI and sdhost --- @@ -136016,10 +136016,10 @@ index b408ab4..897204a 100644 }; }; -From 4f6c6987f229e576177ac3808eaac7ecbb8be626 Mon Sep 17 00:00:00 2001 +From 18fdf653ca9b05f1e30a4e1cb6bb9320b6642ea9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 09:24:31 +0100 -Subject: [PATCH 085/194] BCM270X_DT: Add MCP7941X to i2c-rtc overlay +Subject: [PATCH 085/204] BCM270X_DT: Add MCP7941X to i2c-rtc overlay --- arch/arm/boot/dts/overlays/README | 3 +++ @@ -136072,10 +136072,10 @@ index 6bccfdc..7052c71 100644 pcf8523 = <&pcf8523>,"status"; pcf8563 = <&pcf8563>,"status"; -From 11475d2c168fcfcf83b8b6bdc29650471f096ec2 Mon Sep 17 00:00:00 2001 +From 4b29016b330d96063fcb94f935b2c0a18a3a3fde Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 24 Jun 2015 11:23:06 +0100 -Subject: [PATCH 086/194] dts/overlays: document DHT11 overlay +Subject: [PATCH 086/204] dts/overlays: document DHT11 overlay --- arch/arm/boot/dts/overlays/README | 8 ++++++++ @@ -136101,10 +136101,10 @@ index 425eb19..9406cf3 100644 -From b6439fecdf33f97e09a351de75d930c804c141fc Mon Sep 17 00:00:00 2001 +From a64baab36c2fea4043c2e862efd5f2ce979d3671 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 087/194] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 087/204] 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 @@ -136219,10 +136219,10 @@ index e5332f1..6e3fec2 100644 "%s: pm_power_off function already registered", __func__); -From adaad06ec8f94c9cd95013453af95644956f9474 Mon Sep 17 00:00:00 2001 +From 751f8f85e9ecb31382f4b15fbf04311da32bd403 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 17 Jun 2015 17:10:40 +0100 -Subject: [PATCH 088/194] BCM270x_DT: Default Compute Module i2c, i2s and spi +Subject: [PATCH 088/204] BCM270x_DT: Default Compute Module i2c, i2s and spi support --- @@ -136312,10 +136312,10 @@ index e82fcb2..af252bd 100755 }; }; -From d0cd28880a9eb9b2a268164c147050544256cb5a Mon Sep 17 00:00:00 2001 +From 310ac993d7e597234de083f9e28a950beea57e05 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Jun 2015 14:21:55 +0100 -Subject: [PATCH 089/194] BCM270X_DT: Sort nodes by bus address, and +Subject: [PATCH 089/204] BCM270X_DT: Sort nodes by bus address, and consolidate aliases --- @@ -136557,10 +136557,10 @@ index 24fa849..ccb9c31 100644 &gpio { -From 8ca88ac3ab583e9e33cc19c1bfdc67cec98a4116 Mon Sep 17 00:00:00 2001 +From e2eb20fe73389475f652fa9ad78db6b9dc5fd780 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Jun 2015 14:23:03 +0100 -Subject: [PATCH 090/194] i2c-bcm2708/BCM270X_DT: Add support for I2C2 +Subject: [PATCH 090/204] 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. @@ -136733,10 +136733,10 @@ index 8773203..7a24fbe 100644 goto out_free_bi; } -From bd2634c01ce6a19ebe2a02dc9640103c964f9a57 Mon Sep 17 00:00:00 2001 +From 9845042a17cd1bfc818801e7a5793b00346bb242 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 29 Jun 2015 12:14:02 +0100 -Subject: [PATCH 091/194] BCM270X_DT: Correct the lirc-rpi overlay +Subject: [PATCH 091/204] BCM270X_DT: Correct the lirc-rpi overlay documentation The polarity of the "sense" parameter was inverted with respect to reality. @@ -136762,10 +136762,10 @@ index 0ed7094..ec762d2 100644 (default "-1") -From 7c518fad8a540daf0f0f4ce23f120ad335ee84ba Mon Sep 17 00:00:00 2001 +From e75018d8c8385653326af3519474b108f0f74945 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 08:47:09 +0100 -Subject: [PATCH 092/194] bcm2835-sdhost: Further improve overclock back-off +Subject: [PATCH 092/204] bcm2835-sdhost: Further improve overclock back-off --- drivers/mmc/host/bcm2835-sdhost.c | 144 +++++++++++++++++++++----------------- @@ -137057,10 +137057,10 @@ index 6277e43..a03db06 100644 iomem = platform_get_resource(pdev, IORESOURCE_MEM, 0); -From df5af6405a664dd3613dd6000e0026d0b8d6560e Mon Sep 17 00:00:00 2001 +From 13cbc57aa3f9dd10bdc8dad7915626d1697c9903 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 10:28:59 +0100 -Subject: [PATCH 093/194] i2c-bcm2708: Increase timeouts to allow larger +Subject: [PATCH 093/204] i2c-bcm2708: Increase timeouts to allow larger transfers Use the timeout value provided by the I2C_TIMEOUT ioctl when waiting @@ -137098,10 +137098,10 @@ index 7a24fbe..8b8762d 100644 dev_err(&adap->dev, "transfer timed out\n"); goto error_timeout; -From cf7320fe23958eadcb8c885a4e6626f61d1758a6 Mon Sep 17 00:00:00 2001 +From f7d430536dec32c07a6ba6eb7ed6167ff4974855 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 10:33:52 +0100 -Subject: [PATCH 094/194] spi-bcm2708: Increase timeout from 150ms to 1s +Subject: [PATCH 094/204] spi-bcm2708: Increase timeout from 150ms to 1s See: https://github.com/raspberrypi/linux/issues/260 --- @@ -137125,10 +137125,10 @@ index 041b5e2..5c0214e 100644 struct bcm2708_spi { spinlock_t lock; -From 92405d1da943839b52b2a7d8ceb32ecc14884fe4 Mon Sep 17 00:00:00 2001 +From 9f8135d6ddcbf9ab9dd9678249c3b8c5d17a9229 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 15 Jun 2015 09:59:38 +0100 -Subject: [PATCH 095/194] bcm2708-spi: Don't use static pin configuration with +Subject: [PATCH 095/204] bcm2708-spi: Don't use static pin configuration with DT Also remove superfluous error checking - the SPI framework ensures the @@ -137167,10 +137167,10 @@ index 5c0214e..781c747 100644 master = spi_alloc_master(&pdev->dev, sizeof(*bs)); if (!master) { -From 44d3b1308f37ddb8233ec1d4ff0bc37035db2580 Mon Sep 17 00:00:00 2001 +From 8c4cdb44d24dba5443a6bc18b7729ba76967acaa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 15 Jun 2015 10:10:59 +0100 -Subject: [PATCH 096/194] bcm2708-i2s: Don't use static pin configuration with +Subject: [PATCH 096/204] bcm2708-i2s: Don't use static pin configuration with DT --- @@ -137193,20 +137193,20 @@ index a515992..5e93cd6 100644 /* * Adjust the data length according to the format. -From 2a1da619b98c4efc002e67e20c3b05d5c0019bb7 Mon Sep 17 00:00:00 2001 +From 21f6968a52663113eab7b89f7cb192e92d8ea951 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 097/194] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 097/204] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c -index 4506e40..f03a19a 100644 +index b4fd8de..f459feb 100644 --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c -@@ -3262,6 +3262,8 @@ static void __init serial8250_isa_init_ports(void) +@@ -3270,6 +3270,8 @@ static void __init serial8250_isa_init_ports(void) if (nr_uarts > UART_NR) nr_uarts = UART_NR; @@ -137216,10 +137216,10 @@ index 4506e40..f03a19a 100644 for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From e3ca03c3d79b6b1c748b3a660681653bb9aaad23 Mon Sep 17 00:00:00 2001 +From afddc0087e5b1db8311454fa66909bc400151982 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 Jun 2015 08:50:11 +0100 -Subject: [PATCH 098/194] BCM270X_DT: Add overlay to enable uart1 +Subject: [PATCH 098/204] 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 @@ -137388,10 +137388,10 @@ index e757db6..363c894 100644 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y -From 3ff51303559b9d4af4d624ae1d995547714ffa33 Mon Sep 17 00:00:00 2001 +From 9b7dfacf1ff658c5aa03075776f71c8d6e16564e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 099/194] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 099/204] 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 @@ -137472,10 +137472,10 @@ index a506773..cf3190f 100644 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From 1cb594e055d515441db699c6830e6118b3249141 Mon Sep 17 00:00:00 2001 +From c26edc1513a5086a1a4e0c16746d52423b0259c8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 17:37:38 +0100 -Subject: [PATCH 100/194] BCM270X_DT: Change pio_limit of sdhost driver to 1 +Subject: [PATCH 100/204] BCM270X_DT: Change pio_limit of sdhost driver to 1 --- arch/arm/boot/dts/overlays/sdhost-overlay.dts | 2 +- @@ -137495,10 +137495,10 @@ index 897204a..2da14a4 100644 }; }; -From ff86e95037b78274e2902d18d76090dcb003e0f2 Mon Sep 17 00:00:00 2001 +From 83dda549d089cd0117282ec6edebd697fa59f173 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Jul 2015 12:51:52 +0100 -Subject: [PATCH 101/194] bcm2835-sdhost: Clear HBLC for PIO mode +Subject: [PATCH 101/204] bcm2835-sdhost: Clear HBLC for PIO mode Also update pio_limit default in overlay README. --- @@ -137534,10 +137534,10 @@ index a03db06..d65870a 100644 BUG_ON(!host->data); } -From df4296ba4b42b56831e16c492dc70f1097a7c502 Mon Sep 17 00:00:00 2001 +From ecdc3c6d8615d2f5df08e2514cb0b6b12be840e1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 3 Jul 2015 12:21:01 +0100 -Subject: [PATCH 102/194] BCM270X_DT: I2S needs function Alt2 +Subject: [PATCH 102/204] BCM270X_DT: I2S needs function Alt2 --- arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 2 +- @@ -137599,10 +137599,10 @@ index f25f0a2..62d1c62 100644 }; -From ac63105dd026fcea06b4879913f2bac239203296 Mon Sep 17 00:00:00 2001 +From 906a4b80abdc53ea1369eb0ecf310a4b906d2f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:16:15 +0200 -Subject: [PATCH 103/194] configs: Incorporate v4.1 dependency changes +Subject: [PATCH 103/204] configs: Incorporate v4.1 dependency changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -137765,10 +137765,10 @@ index 363c894..80f84d7 100644 CONFIG_CRC_ITU_T=y CONFIG_LIBCRC32C=y -From 8d3f34752522072649e35cc388247776f7516c80 Mon Sep 17 00:00:00 2001 +From 03edd2dd4b9c016f440383c9fae725f5c4e73eca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 3 Jul 2015 15:47:33 +0100 -Subject: [PATCH 104/194] bcmrpi_defconfigs: Add SND_SOC_WM8804_I2C (for +Subject: [PATCH 104/204] 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 @@ -137803,10 +137803,10 @@ index 80f84d7..14b91fdf 100644 CONFIG_SOUND_PRIME=m CONFIG_HIDRAW=y -From 78f7ddbbccddd77abc39c534e4181c067268f057 Mon Sep 17 00:00:00 2001 +From b1c7182dc37e87b47377b529de6e54a431fc07aa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 4 Jul 2015 19:55:23 +0100 -Subject: [PATCH 105/194] squash: BCM270X_DT: I2S only needs Alt2 on 28-31 +Subject: [PATCH 105/204] squash: BCM270X_DT: I2S only needs Alt2 on 28-31 See: https://github.com/raspberrypi/linux/issues/1046 --- @@ -137855,10 +137855,10 @@ index 62d1c62..f25f0a2 100644 }; -From 8a6c44d157b3d7b8a2ffbb5bfcd9929112e285cb Mon Sep 17 00:00:00 2001 +From b52bc261c9b3c08ac73aca166afb05090ffca7eb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 8 Jul 2015 14:48:57 +0100 -Subject: [PATCH 106/194] vchiq_arm: Two cacheing fixes +Subject: [PATCH 106/204] vchiq_arm: Two cacheing fixes 1) Make fragment size vary with cache line size Without this patch, non-cache-line-aligned transfers may corrupt @@ -138129,10 +138129,10 @@ index c739083..5edba23 100644 kfree(pagelist); } -From 6aee5d67caeb35ea46173fd667acb8db50d4b8e3 Mon Sep 17 00:00:00 2001 +From fc0a0a8a198ad39fa58dd4e2b3efba0a89a9d627 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 09:10:36 +0100 -Subject: [PATCH 107/194] BCM270X_DT: Overlay for the Fen Logic VGA666 board +Subject: [PATCH 107/204] 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 @@ -138214,10 +138214,10 @@ index 0000000..7fcab96 + }; +}; -From ceeff37240ae30a6dcaaaa60139d07250d815ad2 Mon Sep 17 00:00:00 2001 +From c9eb6844bc315ee5ab2c807f873ca04d45fc6303 Mon Sep 17 00:00:00 2001 From: petit-miner Date: Fri, 10 Jul 2015 13:59:18 +0200 -Subject: [PATCH 108/194] Added support for 2 mcp2515 CAN Bus IC +Subject: [PATCH 108/204] Added support for 2 mcp2515 CAN Bus IC See: https://github.com/raspberrypi/linux/issues/1018 https://github.com/raspberrypi/linux/pull/1049 @@ -138347,10 +138347,10 @@ index 0000000..6bef9ae + }; +}; -From da5403849fcc135a3448b43e89642e2ea6551c0d Mon Sep 17 00:00:00 2001 +From 632d8b6abe925d8300a9c824856ea7c286d95229 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 5 May 2015 13:27:45 -0700 -Subject: [PATCH 109/194] mailbox: Enable BCM2835 mailbox support +Subject: [PATCH 109/204] 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 @@ -138629,10 +138629,10 @@ index 0000000..4b13268 +MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); +MODULE_LICENSE("GPL v2"); -From 7ce183a315873dea7a5e7bbe87aed0b014da3e2f Mon Sep 17 00:00:00 2001 +From d9468dc86cfdb7fed108e1e888979b622d578f71 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 13 May 2015 13:10:32 -0700 -Subject: [PATCH 110/194] mailbox/bcm2835: Fix mailbox full detection. +Subject: [PATCH 110/204] 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 @@ -138671,10 +138671,10 @@ index 4b13268..0b47dd4 100644 return ret; } -From 4fe6ec85193b087974ff98c9f045c75e1140f4df Mon Sep 17 00:00:00 2001 +From 518512c73c439f3684fbe42f07048b79be906f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:19:30 +0200 -Subject: [PATCH 111/194] mailbox: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 111/204] mailbox: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -138790,10 +138790,10 @@ index 19b491d..cc07d71 100644 dev_dbg(dev, "%s: mailbox not free\n", __func__); mutex_unlock(&con_mutex); -From 84366c44917358cb25a7d32db1a875a76dc01172 Mon Sep 17 00:00:00 2001 +From 69b0fd32b30439447e33723fde68aadaed7d9b42 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 4 Jun 2015 13:11:47 -0700 -Subject: [PATCH 112/194] ARM: bcm2835: Add the firmware driver information to +Subject: [PATCH 112/204] ARM: bcm2835: Add the firmware driver information to the RPi DT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -138827,10 +138827,10 @@ index 466f02b..5cdfd5a 100644 audio: audio { compatible = "brcm,bcm2835-audio"; -From 32122f07a1b53f457f2e58f70e36d8ba40830747 Mon Sep 17 00:00:00 2001 +From 0438cbca296cfb3bc165b1f54c4e16f57f5760f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:21:20 +0200 -Subject: [PATCH 113/194] firmware: bcm2835: Add missing property tags +Subject: [PATCH 113/204] firmware: bcm2835: Add missing property tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -138892,10 +138892,10 @@ index 9d9efb7..d3933af 100644 RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From 3a4eb21d0f34ac3731ad50254d9647a9c6149b60 Mon Sep 17 00:00:00 2001 +From 2df587b5e056fb8a0eba5efc2023533efb2807be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 114/194] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 114/204] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139001,10 +139001,10 @@ index dd506cd3..b980d53 100644 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 6bb3159eec777f0be2bde6fa326630902922fa1d Mon Sep 17 00:00:00 2001 +From c9295b68944211995a84d596a904f9657b4482c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:26:10 +0200 -Subject: [PATCH 115/194] firmware: bcm2835: Support legacy mailbox API +Subject: [PATCH 115/204] firmware: bcm2835: Support legacy mailbox API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139094,10 +139094,10 @@ index d3933af..9a08cf1 100644 u32 tag, void *data, size_t len); int rpi_firmware_property_list(struct rpi_firmware *fw, -From ae8233fb7fb37dff484ef02baa582505c603fe56 Mon Sep 17 00:00:00 2001 +From 2f10d2c9d55ec24c07d869e591d7db9fdde5dfa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 116/194] char: broadcom: Add vcio module +Subject: [PATCH 116/204] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139321,10 +139321,10 @@ index 0000000..c19bc20 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From bedcb6319a1def5a4c70a6759d4bb9ce7254d896 Mon Sep 17 00:00:00 2001 +From 8bcd6e604c131b2009b0d9e47561cead558c3d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:37:19 +0200 -Subject: [PATCH 117/194] BCM270x: Switch to firmware driver +Subject: [PATCH 117/204] BCM270x: Switch to firmware driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139931,10 +139931,10 @@ index 06fb2c2f..2e4031b 100644 MODULE_DESCRIPTION("ARM I/O to VideoCore processor"); MODULE_LICENSE("GPL"); -From d5d6dd768567d336540aa3c1d7d32d15b27206ff Mon Sep 17 00:00:00 2001 +From 51a7a4a822bc6ab6927bc0522e5afb6bda8f52b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:39:21 +0200 -Subject: [PATCH 118/194] bcm2835: Switch to firmware driver +Subject: [PATCH 118/204] bcm2835: Switch to firmware driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139990,10 +139990,10 @@ index 47f2a6a..c284414 100644 CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y -From 68b75a870ee4e2d22cc4891458b46a3fc5efcd61 Mon Sep 17 00:00:00 2001 +From 46dd86c7b1dd676e614daca70ec3b7a31cc905f9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Jul 2015 13:25:31 +0100 -Subject: [PATCH 119/194] Merge pull request #1059 from pelwell/rpi-4.0.y +Subject: [PATCH 119/204] Merge pull request #1059 from pelwell/rpi-4.0.y w1_therm: Back-port locking improvements from 4.2-rc1 --- @@ -140188,10 +140188,10 @@ index 55eb86c..2f029e8 100644 { int err, i; -From 3d5d028cce3291fb16c6b121205a9a737a8d62d5 Mon Sep 17 00:00:00 2001 +From 86a4624ee6bc33f41fd7f53d081096ed4aa28cca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 11:11:51 +0100 -Subject: [PATCH 120/194] vchiq_arm: Sort out the vmalloc case +Subject: [PATCH 120/204] vchiq_arm: Sort out the vmalloc case See: https://github.com/raspberrypi/linux/issues/1055 --- @@ -140230,10 +140230,10 @@ index 5edba23..56bff05 100644 *need_release = 0; /* do not try and release vmalloc pages */ } else { -From 0695304c6d74cd2e5eabc66f121e9d6b1bbbcff8 Mon Sep 17 00:00:00 2001 +From 18952e8ccf8d64fb32bb7b2bbd04967047f02840 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 121/194] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 121/204] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -140242,10 +140242,10 @@ See: https://github.com/raspberrypi/linux/issues/1054 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c -index 92c909e..0535375 100644 +index 8fab566..a9db602 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c -@@ -706,6 +706,7 @@ static struct class *spidev_class; +@@ -707,6 +707,7 @@ static struct class *spidev_class; #ifdef CONFIG_OF static const struct of_device_id spidev_dt_ids[] = { { .compatible = "rohm,dh2228fv" }, @@ -140254,10 +140254,10 @@ index 92c909e..0535375 100644 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From c17de280cbfd43d84d3948dc5b175c596d090009 Mon Sep 17 00:00:00 2001 +From 58f35e5dc8355250d21db3b7ba0aa560d76a0adc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 122/194] Merge pull request #1043 from XECDesign/sense-4.0 +Subject: [PATCH 122/204] Merge pull request #1043 from XECDesign/sense-4.0 mfd: Add Raspberry Pi Sense HAT core driver --- @@ -140788,7 +140788,7 @@ index 0000000..7539547 +MODULE_LICENSE("GPL"); + diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig -index 42e6c3b..3444a4c 100644 +index 15098c5..b89998b7 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2495,3 +2495,16 @@ config FB_SSD1307 @@ -141190,10 +141190,10 @@ index 0000000..56196dc + +#endif -From 33a379e0beaafde495f48d17808d40694e1b8620 Mon Sep 17 00:00:00 2001 +From 7ec906836d03f54c2f62372c25a413af323c2564 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jul 2015 13:46:08 +0100 -Subject: [PATCH 123/194] leds-gpio: Implement the brightness_get method +Subject: [PATCH 123/204] 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 @@ -141236,10 +141236,10 @@ index 3cfbd6a..4e4e132 100644 state = !!gpiod_get_value_cansleep(led_dat->gpiod); else -From 4ecae9ad0da8efb48cc08dce1d3d97997c926cc5 Mon Sep 17 00:00:00 2001 +From 0cfac48f6780a5038da6e0fc0e37dfc3975f2077 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Fri, 17 Jul 2015 09:50:55 +0200 -Subject: [PATCH 124/194] dmaengine: bcm2708-dmaengine: Fix memory leak when +Subject: [PATCH 124/204] dmaengine: bcm2708-dmaengine: Fix memory leak when stopping a running transfer --- @@ -141259,10 +141259,10 @@ index 987ed53..73c6c00 100644 bcm2835_dma_abort(c->chan_base); -From 4d518ff962f2e8438973b9f73020799e7bcc70db Mon Sep 17 00:00:00 2001 +From 095268253a866ff43278ff24f4a7502949c6cf92 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:13 +0200 -Subject: [PATCH 125/194] BCM270X_DT: Fix I2S register map +Subject: [PATCH 125/204] BCM270X_DT: Fix I2S register map --- arch/arm/boot/dts/bcm2708_common.dtsi | 4 ++-- @@ -141284,10 +141284,10 @@ index 2dd25f7..728e14a 100644 //dmas = <&dma 2>, // <&dma 3>; -From 1bba8a917a825f6457ee3fe7cca8a9a2fd92e91d Mon Sep 17 00:00:00 2001 +From 649b011d757054ad6d9d5702f8d3bf670a42e404 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 126/194] BCM2835_DT: Fix I2S register map +Subject: [PATCH 126/204] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -141341,10 +141341,10 @@ index 4a63704..1135120 100644 dmas = <&dma 2>, <&dma 3>; -From dc4cd36944230334e0049fdf5942ef901b1ceb06 Mon Sep 17 00:00:00 2001 +From 5076ca8360f9ad0d46a060fcde7eefe7fb10eea1 Mon Sep 17 00:00:00 2001 From: David Frey Date: Tue, 14 Jul 2015 15:57:36 +0200 -Subject: [PATCH 127/194] config: Enable SHT drivers for raspberry pi +Subject: [PATCH 127/204] config: Enable SHT drivers for raspberry pi The SHT temperature and humidity sensors are often used in weather station projects. @@ -141386,10 +141386,10 @@ index b9b5bdf..7b24274 100644 CONFIG_THERMAL_BCM2835=y CONFIG_WATCHDOG=y -From 89699711869bb4499d5c9302886fba0d71702c0b Mon Sep 17 00:00:00 2001 +From 2e23dd0be7034e7aee9795288d9de1ed151ad5fd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jul 2015 14:07:14 +0100 -Subject: [PATCH 128/194] BCM270X_DT: Correct typo in overlays/README +Subject: [PATCH 128/204] BCM270X_DT: Correct typo in overlays/README --- arch/arm/boot/dts/overlays/README | 2 +- @@ -141409,10 +141409,10 @@ index 8792f98..ed484ae 100644 i2c_arm Set to "on" to enable the ARM's i2c interface -From 9903a1a6f323e28e05b9b04a19de02c7df0133f8 Mon Sep 17 00:00:00 2001 +From dc0a5bcc935ccc881fb4043dc949af755d3e8f1c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jul 2015 10:53:26 +0100 -Subject: [PATCH 129/194] bcm2835-sdhost: Add the ERASE capability +Subject: [PATCH 129/204] bcm2835-sdhost: Add the ERASE capability See: https://github.com/raspberrypi/linux/issues/1076 --- @@ -141433,10 +141433,10 @@ index d65870a..57a6ad3 100644 spin_lock_init(&host->lock); -From c14ab5b4110d51e1ade3077efe9969d331728ee8 Mon Sep 17 00:00:00 2001 +From 54ef0643fae43fff2cb1583919a34f787ad132af Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jul 2015 17:32:18 +0100 -Subject: [PATCH 130/194] bcm2835-sdhost: Ignore CRC7 for MMC CMD1 +Subject: [PATCH 130/204] 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 @@ -141500,10 +141500,10 @@ index 57a6ad3..84f645f 100644 if (host->cmd->flags & MMC_RSP_PRESENT) { -From ee0ecbdb990546c53e8d20de1215c649a925879d Mon Sep 17 00:00:00 2001 +From 24f4ffb4f7a2f5b37197a168485207216b736adb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jul 2015 14:48:21 +0100 -Subject: [PATCH 131/194] BCM270X_DT: Add unit address to gpio node name +Subject: [PATCH 131/204] BCM270X_DT: Add unit address to gpio node name --- arch/arm/boot/dts/bcm2708_common.dtsi | 2 +- @@ -141523,10 +141523,10 @@ index 728e14a..cb608df 100644 reg = <0x7e200000 0xb4>; interrupts = <2 17>, <2 18>; -From 134dd470533b0304634917c810af737596f55b3a Mon Sep 17 00:00:00 2001 +From 7d633f69a6cbc12d37782f6ab96e402eb1b18949 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 24 Jul 2015 10:36:32 +0100 -Subject: [PATCH 132/194] BCM270X_DT: Use i2c_arm for rtc and bmp085 overlays +Subject: [PATCH 132/204] BCM270X_DT: Use i2c_arm for rtc and bmp085 overlays --- arch/arm/boot/dts/overlays/bmp085_i2c-sensor-overlay.dts | 2 +- @@ -141560,10 +141560,10 @@ index 7052c71..fed4bd8 100644 #address-cells = <1>; #size-cells = <0>; -From 0322e2739a646f00cd41938f3d763e4126397e11 Mon Sep 17 00:00:00 2001 +From 70694a4073fa62862c93ab409b49d3d86071a6c0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 24 Jul 2015 12:11:31 +0100 -Subject: [PATCH 133/194] BCM2708_DT: CM dtparams for audio, watchdog and RNG +Subject: [PATCH 133/204] BCM2708_DT: CM dtparams for audio, watchdog and RNG --- arch/arm/boot/dts/bcm2708-rpi-cm.dtsi | 8 ++++---- @@ -141593,10 +141593,10 @@ index 34d4bc6..713e5a2 100644 }; }; -From df40be6f5b7bb5ec4242345a73056d71a3c196d1 Mon Sep 17 00:00:00 2001 +From a36ecdc70162e181fac2f7b7afb952639df22384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:13:18 +0200 -Subject: [PATCH 134/194] vchiq: Use firmware API +Subject: [PATCH 134/204] vchiq: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -141712,10 +141712,10 @@ index 31e2cba..e11c0e0 100644 err = vchiq_debugfs_init(); if (err != 0) -From 0953a5b5383f6aa7745bece0883a695ec1b96393 Mon Sep 17 00:00:00 2001 +From 97df14a49141d2831362aac3d18875d271b1a97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:17:10 +0200 -Subject: [PATCH 135/194] thermal: bcm2835: Use firmware API +Subject: [PATCH 135/204] thermal: bcm2835: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -141998,10 +141998,10 @@ index 3bc80f1..c1d8f1b 100644 -module_platform_driver(bcm2835_thermal_driver); +MODULE_LICENSE("GPL"); -From 5b489616c6e3191cd60eb2f866e32478d6cb78d4 Mon Sep 17 00:00:00 2001 +From c2e3b884a9498adb58d4d403465e2d99ddd79e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:18:36 +0200 -Subject: [PATCH 136/194] cpufreq: bcm2835: Use firmware API +Subject: [PATCH 136/204] cpufreq: bcm2835: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142185,10 +142185,10 @@ index 6735da9..3eb9e93 100644 } -From 3f72415c74de28fe33eede566540ec9cd6fa0b52 Mon Sep 17 00:00:00 2001 +From 1ef7396bd8f7fa5452d762b9c534552604c0ec35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:20:59 +0200 -Subject: [PATCH 137/194] fbdev: bcm2708: Use firmware API +Subject: [PATCH 137/204] fbdev: bcm2708: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142604,10 +142604,10 @@ index f6ac7da..06a96d16 100644 free_irq(fb->dma_irq, fb); -From a2dad85cdc74f121669eaddb8e576e5743c248d5 Mon Sep 17 00:00:00 2001 +From e24a0ff68aeded060486f55911653aec60ea87c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:27:17 +0200 -Subject: [PATCH 138/194] bcm2835: Add firmware property to affected devices +Subject: [PATCH 138/204] bcm2835: Add firmware property to affected devices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142688,10 +142688,10 @@ index 1135120..807264d 100644 clocks { -From 404e9a3e613083673abdb945c8d79e834c0a6b78 Mon Sep 17 00:00:00 2001 +From 4fa2f3a62adf17ef122476d8fc63b132a717d71f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 21 Jul 2015 19:09:39 +0200 -Subject: [PATCH 139/194] rpi-ft5406: Use firmware API +Subject: [PATCH 139/204] rpi-ft5406: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142831,10 +142831,10 @@ index d41851d..c08817e 100644 ts->regs = (struct ft5406_regs *) ts->ts_base; -From 6ef97ddf4dde5d01d5c01ef848826c83e976228a Mon Sep 17 00:00:00 2001 +From 70b5d66ef90adc3ee74708ecf15fd5fd3c6a3f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 140/194] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 140/204] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142966,10 +142966,10 @@ index 5916d6c..db66246 100644 } -From 93d022bc449cbaf4bb24f404ebd1adf2bdb8447e Mon Sep 17 00:00:00 2001 +From 48ff5ec47ad9778a6d2eb5d75ee2e161302673fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 15:50:04 +0200 -Subject: [PATCH 141/194] dwc_otg: Add ARCH_BCM2835 support +Subject: [PATCH 141/204] dwc_otg: Add ARCH_BCM2835 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143022,10 +143022,10 @@ index 0f4ebcd..5c83309 100644 } -From 96796c87f3d4ef8362a5bf657f881d3d237c8763 Mon Sep 17 00:00:00 2001 +From 28a1fd2b8afaf5524cca8890394f9fc07c8a8b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 15:50:24 +0200 -Subject: [PATCH 142/194] bcm2835: Use DWC_OTG +Subject: [PATCH 142/204] bcm2835: Use DWC_OTG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143068,10 +143068,10 @@ index c284414..14ef294 100644 CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From b824f8f74d8ff163a6295d45e43a80453871e605 Mon Sep 17 00:00:00 2001 +From cf7a056866fba1d602de661a47cd0548dfe2304b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:33:16 +0200 -Subject: [PATCH 143/194] Fix RASPBERRYPI_FIRMWARE dependents +Subject: [PATCH 143/204] Fix RASPBERRYPI_FIRMWARE dependents MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143139,7 +143139,7 @@ index ddc77ad..b911213 100644 help This will enable temperature monitoring for the Broadcom BCM2835 diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig -index 3444a4c..c073d55 100644 +index b89998b7..08678b9 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -226,7 +226,7 @@ comment "Frame buffer hardware drivers" @@ -143152,10 +143152,10 @@ index 3444a4c..c073d55 100644 select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT -From 980367c4780a8a2296abe7f0e76e196c07a3ba40 Mon Sep 17 00:00:00 2001 +From 16b9943dbfbc7d7f19f44e91808dc1450ca9d4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:33:46 +0200 -Subject: [PATCH 144/194] vc_mem: Remove unnecessary include +Subject: [PATCH 144/204] vc_mem: Remove unnecessary include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143178,10 +143178,10 @@ index fcde6b1..be64f23 100644 #define DRIVER_NAME "vc-mem" -From e2b13e12e8c557916da8b6c2aece43bd82f0a93d Mon Sep 17 00:00:00 2001 +From d98428b8e2a5bb9815aaa3eed3e0777f50f55196 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:34:06 +0200 -Subject: [PATCH 145/194] configs: Remove BCM2708_MBOX +Subject: [PATCH 145/204] configs: Remove BCM2708_MBOX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143230,10 +143230,10 @@ index 7b24274..0859113 100644 # CONFIG_IOMMU_SUPPORT is not set CONFIG_EXTCON=m -From aa1bf770f553d34bab0b7fa7db0bbfddf34ba5be Mon Sep 17 00:00:00 2001 +From b3b0ebfd9dd4bcd6fe8d787aa7740a47f419da9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:34:31 +0200 -Subject: [PATCH 146/194] bcm2708-vcio: Remove module +Subject: [PATCH 146/204] bcm2708-vcio: Remove module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143507,10 +143507,10 @@ index d3ea839..0000000 - -#endif -From 7de83afcd8a39c2f790db3f3f989ca48ff318ea9 Mon Sep 17 00:00:00 2001 +From 6fadac31b6bf0690059342642ff4453d6d95a2d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:34:55 +0200 -Subject: [PATCH 147/194] Revert "firmware: bcm2835: Support legacy mailbox +Subject: [PATCH 147/204] Revert "firmware: bcm2835: Support legacy mailbox API" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -143601,10 +143601,10 @@ index 9a08cf1..d3933af 100644 u32 tag, void *data, size_t len); int rpi_firmware_property_list(struct rpi_firmware *fw, -From 5d191ced68dbf7b2e60fc302855852b124fbd097 Mon Sep 17 00:00:00 2001 +From 9418fab5167ef4095a62ba3b11d9e420595cf559 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 30 Jun 2015 12:35:39 +0100 -Subject: [PATCH 148/194] pinctrl: bcm2835: Clear the event latch register when +Subject: [PATCH 148/204] 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 @@ -143641,10 +143641,10 @@ index 986779a..61ef002 100644 spin_unlock_irqrestore(&pc->irq_lock[bank], flags); } -From 72f64c3b9f0e8a60737e69d259f1564eb5115717 Mon Sep 17 00:00:00 2001 +From 1a099cd189c09d3dc5d2e0ed2061cb9b0dcd2a0b Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 4 Aug 2015 01:15:20 +0100 -Subject: [PATCH 149/194] dwc_otg: fiq_fsm: Make high-speed isochronous strided +Subject: [PATCH 149/204] dwc_otg: fiq_fsm: Make high-speed isochronous strided transfers work properly Certain low-bandwidth high-speed USB devices (specialist audio devices, @@ -143784,10 +143784,10 @@ index 3f71f29..8db3dfc 100644 case FIQ_PER_SPLIT_LS_ABORTED: -From 6e59584bbf12062b6ffd778af12fe8146d340f6f Mon Sep 17 00:00:00 2001 +From 671205b0f0ec871b8fcabbab6d9a2ffb3444378c Mon Sep 17 00:00:00 2001 From: Uli Middelberg Date: Wed, 17 Jun 2015 10:36:56 +0200 -Subject: [PATCH 150/194] added basic docker support +Subject: [PATCH 150/204] added basic docker support --- arch/arm/configs/bcm2709_defconfig | 3 +++ @@ -143851,10 +143851,10 @@ index 0859113..06e7529 100644 CONFIG_FSCACHE_STATS=y CONFIG_FSCACHE_HISTOGRAM=y -From f3ace91a8cacdb53cac9cc8b4f927ad0ae43a33a Mon Sep 17 00:00:00 2001 +From 1621191b72eef418410908e1b789381f2956275e Mon Sep 17 00:00:00 2001 From: Garrett Date: Thu, 2 Jul 2015 19:32:04 -0500 -Subject: [PATCH 151/194] bcm2835 camera planar/packed stride length +Subject: [PATCH 151/204] 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 @@ -144026,47 +144026,10 @@ index 35698c8..15788a1 100644 /* buffer for one video frame */ -From 5e105b5e431139026cbe7835b761fff2b29aee4f Mon Sep 17 00:00:00 2001 -From: popcornmix -Date: Tue, 28 Jul 2015 13:55:04 +0100 -Subject: [PATCH 153/194] config: Add Mediatek mt7601u wifi driver - ---- - arch/arm/configs/bcm2709_defconfig | 2 ++ - arch/arm/configs/bcmrpi_defconfig | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig -index 661f09a..e5af037 100644 ---- a/arch/arm/configs/bcm2709_defconfig -+++ b/arch/arm/configs/bcm2709_defconfig -@@ -518,6 +518,8 @@ CONFIG_RT2800USB_RT3573=y - CONFIG_RT2800USB_RT53XX=y - CONFIG_RT2800USB_RT55XX=y - CONFIG_RT2800USB_UNKNOWN=y -+CONFIG_WL_MEDIATEK=y -+CONFIG_MT7601U=m - CONFIG_RTL8192CU=m - CONFIG_ZD1211RW=m - CONFIG_MWIFIEX=m -diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 06e7529..a377222 100644 ---- a/arch/arm/configs/bcmrpi_defconfig -+++ b/arch/arm/configs/bcmrpi_defconfig -@@ -511,6 +511,8 @@ CONFIG_RT2800USB_RT3573=y - CONFIG_RT2800USB_RT53XX=y - CONFIG_RT2800USB_RT55XX=y - CONFIG_RT2800USB_UNKNOWN=y -+CONFIG_WL_MEDIATEK=y -+CONFIG_MT7601U=m - CONFIG_RTL8192CU=m - CONFIG_ZD1211RW=m - CONFIG_MWIFIEX=m - -From 6a5e6cda778f96483adee945041ea0b3a6e2a0cb Mon Sep 17 00:00:00 2001 +From 86b0488fa249c00bd7c381fe637026a7f33a6ffa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 17 Aug 2015 10:49:44 +0100 -Subject: [PATCH 154/194] BCM270X_DT: Add pwm and pwm-2chan overlays +Subject: [PATCH 154/204] BCM270X_DT: Add pwm and pwm-2chan overlays From the README entries: Legal pin,function combinations for each channel: @@ -144332,10 +144295,10 @@ index b1541f4..90591a9 100644 PWM framework driver for BCM2835 controller (Raspberry Pi) -From eb76a4418bd958fb754608bc7852037955e52004 Mon Sep 17 00:00:00 2001 +From 0d1f86de027a4406151de275663b2cb68d3b39f5 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 22 Apr 2015 07:33:03 +0000 -Subject: [PATCH 155/194] spi: bcm2835: fallback to interrupt for polling +Subject: [PATCH 155/204] spi: bcm2835: fallback to interrupt for polling timeouts exceeding 2 jiffies The polling mode of the driver is designed for transfers that run @@ -144471,10 +144434,10 @@ index cf3190f..505a993 100644 struct spi_device *spi, struct spi_transfer *tfr) -From 84a8c093f3479a5d6e4d9fceb6aeb5963aa07a9d Mon Sep 17 00:00:00 2001 +From 9a96e7390f5bb3db6138d07ffe6145c17e53246d Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Sun, 10 May 2015 20:47:28 +0000 -Subject: [PATCH 156/194] spi: bcm2835: enable dma modes for transfers meeting +Subject: [PATCH 156/204] spi: bcm2835: enable dma modes for transfers meeting certain conditions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -144897,10 +144860,10 @@ index 505a993..27fb5b0 100644 } -From d3937547b145fb1ef5e8883a00a68269a7b1dc0a Mon Sep 17 00:00:00 2001 +From 6e92fd1644001ba7827e2706c0ed4fd4c2d85bc1 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 12 May 2015 10:32:08 +0000 -Subject: [PATCH 157/194] spi: bcm2835: fix kbuild compile warnings/errors and +Subject: [PATCH 157/204] spi: bcm2835: fix kbuild compile warnings/errors and a typo fixes several warnings/error emmitted by the kbuild system: @@ -144956,10 +144919,10 @@ index 27fb5b0..52aaf2d 100644 "Unaligned spi tx-transfer bridging page\n"); return false; -From ad924a632bd4f7a15387fb4fc7ce9c055fd0be0e Mon Sep 17 00:00:00 2001 +From 63ad0b9f2b638c3968473d46f732de9f28ad184b Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Tue, 12 May 2015 19:43:59 +0800 -Subject: [PATCH 158/194] spi: bcm2835: bcm2835_dma_release() can be static +Subject: [PATCH 158/204] spi: bcm2835: bcm2835_dma_release() can be static Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown @@ -144991,10 +144954,10 @@ index 52aaf2d..bad36c5 100644 struct dma_slave_config slave_config; const __be32 *addr; -From 4cfec4d6b6889bf80a0a4b78f278eb071d670173 Mon Sep 17 00:00:00 2001 +From f3260b7d15164b1ddd0f080592defb79949db0aa Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 22 Jul 2015 08:34:41 +0000 -Subject: [PATCH 159/194] dt-overlay to enable dma for spi driver +Subject: [PATCH 159/204] dt-overlay to enable dma for spi driver Signed-off-by: Martin Sperl --- @@ -145042,10 +145005,10 @@ index 0000000..266cf9d + }; + }; -From c4c4a9243b463177ecf35babdeed7a46c5db77a0 Mon Sep 17 00:00:00 2001 +From 67c4106248a6d4eaee1de239e8f18da5e08ed8fd Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 22 Jul 2015 12:41:54 +0000 -Subject: [PATCH 160/194] dt: overlay: added documentation of spi-dma overlay +Subject: [PATCH 160/204] dt: overlay: added documentation of spi-dma overlay Signed-off-by: Martin Sperl --- @@ -145070,10 +145033,10 @@ index 1cd2140..bda8c14 100644 Info: 3.5" Color TFT Display by www.tinylcd.com Options: Touch, RTC, keypad -From 663e4788b5c220726356fc77be5fee0d23d42e69 Mon Sep 17 00:00:00 2001 +From 1981274d8b58c613e5f3f0f40068f25ffcdbe481 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 17 Aug 2015 18:06:16 +0100 -Subject: [PATCH 161/194] rpisense-fb: add low-light mode and gamma control +Subject: [PATCH 161/204] rpisense-fb: add low-light mode and gamma control --- drivers/video/fbdev/rpisense-fb.c | 68 +++++++++++++++++++++++++++++--- @@ -145216,10 +145179,10 @@ index c4c1118..2ba95d7 100644 struct rpisense; -From 39bd59c69c467b6801e1955e2b1d9b8f4b38da71 Mon Sep 17 00:00:00 2001 +From 82bd9aca8c50e84e17b9c62a6d5c528aa8f0e490 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 19 Aug 2015 11:38:10 +0100 -Subject: [PATCH 162/194] BCM270X_DT: README - add note on indentation +Subject: [PATCH 162/204] BCM270X_DT: README - add note on indentation --- arch/arm/boot/dts/overlays/README | 4 ++++ @@ -145241,10 +145204,10 @@ index bda8c14..ac9c427 100644 Info: Configures the base Raspberry Pi hardware Load: -From 91f627205613e4f3c0c0190eaf7612aa6d0bb6f1 Mon Sep 17 00:00:00 2001 +From b6277bf87e266469ee14448d41209f79f3caa8d1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 20 Aug 2015 13:50:18 +0100 -Subject: [PATCH 163/194] bcm2708-dmaengine: Use more DMA channels (but not 12) +Subject: [PATCH 163/204] 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 @@ -145418,10 +145381,10 @@ index 73c6c00..85ce18b 100644 rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); if (rc) -From 049f81e60b931b8492c1ad9ed2f6422ce71bafb4 Mon Sep 17 00:00:00 2001 +From 72de9ce92b348a0f4f9230affa0e27d3f775342e Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 164/194] RaspiDAC3 support +Subject: [PATCH 164/204] RaspiDAC3 support Signed-off-by: Jan Grulich --- @@ -145772,10 +145735,10 @@ index 0000000..fddaeec +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 8230a1d029de0a92704b59e4d14ff19cfdaf1e05 Mon Sep 17 00:00:00 2001 +From 5639b22eb081048b07152c5bd90d25d7768cb1cf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 14 Jul 2015 16:55:02 +0100 -Subject: [PATCH 165/194] config: Add SND_SOC_ADAU1701 module +Subject: [PATCH 165/204] config: Add SND_SOC_ADAU1701 module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -145807,10 +145770,10 @@ index 8979f23..7dd4fd4 100644 CONFIG_SND_SIMPLE_CARD=m CONFIG_SOUND_PRIME=m -From 21b558621652d5f40365de2049d2906499c12f75 Mon Sep 17 00:00:00 2001 +From 6a0f88404b8cc24c073b1d157be02fbc9007788a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 29 Jul 2015 07:34:10 +0000 -Subject: [PATCH 166/194] spi: bcm2835: fix overflow in calculation of transfer +Subject: [PATCH 166/204] spi: bcm2835: fix overflow in calculation of transfer time This resulted in the use of polling mode when other approaches @@ -145863,10 +145826,10 @@ index bad36c5..b68991c 100644 /* for short requests run polling*/ if (xfer_time_us <= BCM2835_SPI_POLLING_LIMIT_US) -From bd3acf9398a07807eb1c604234dc14a81fac13a4 Mon Sep 17 00:00:00 2001 +From 74f48a53e476a7d34ab0a58c883149b19e5bbdec Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Sep 2015 15:14:50 +0100 -Subject: [PATCH 167/194] BCM270X_DT: Add SDIO overlay +Subject: [PATCH 167/204] BCM270X_DT: Add SDIO overlay Enable SDIO from MMC interface via GPIOs 22-27. Includes the sdhost overlay to free up the MMC interface. @@ -145951,10 +145914,10 @@ index 0000000..164f269 + }; +}; -From e2221d87449f7c8995e90703e4d74b438ca34b6e Mon Sep 17 00:00:00 2001 +From a216fc64bde9a95901c92deb7bcd7f3fe4567f75 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 168/194] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 168/204] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren --- @@ -146299,10 +146262,10 @@ index 0000000..0085e13 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 8adbbbadf6a3bcd19905e9ab8a38f208af1107fd Mon Sep 17 00:00:00 2001 +From 4e9cf1447a7ef0f8f46c6a8170f44c78c1690a96 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:02:34 +0100 -Subject: [PATCH 169/194] tpa6130a2: Add headphone switch control +Subject: [PATCH 169/204] tpa6130a2: Add headphone switch control Signed-off-by: Jan Grulich --- @@ -146393,10 +146356,10 @@ index 6fac9e0..f60ebe1c 100644 /* -From 085ec663985ce405fb1e54124368a27e4d8dd9e4 Mon Sep 17 00:00:00 2001 +From bdad59048f5910ea3c4439ba40a4a14ca8f1be90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 11 Jul 2015 18:48:10 +0200 -Subject: [PATCH 170/194] staging: fbtft: Add reset to fbtft_init_display_dt() +Subject: [PATCH 170/204] staging: fbtft: Add reset to fbtft_init_display_dt() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146428,10 +146391,10 @@ index 53b748b..4f165d3 100644 if (val & FBTFT_OF_INIT_CMD) { val &= 0xFFFF; -From 6cc40be074b969a4b41ea3fcd2e8766c665515e9 Mon Sep 17 00:00:00 2001 +From 928b8dbc73acdb75d3f03ef7d5cf9fc639e0280c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sun, 19 Jul 2015 18:57:06 +0200 -Subject: [PATCH 171/194] BCM270X_DT: mz61581: Revert to spi-bcm2708 +Subject: [PATCH 171/204] BCM270X_DT: mz61581: Revert to spi-bcm2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146462,10 +146425,10 @@ index c06fe12..f674a66 100644 spidev@0{ -From 2d3ec5ab0191289c1f060eaa51c5b85c4c51eed6 Mon Sep 17 00:00:00 2001 +From 707866acc48470ec677f1fb6befdfd928d9994f1 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Tue, 1 Sep 2015 16:52:34 +0000 -Subject: [PATCH 172/194] vchiq: fix NULL pointer dereference when closing +Subject: [PATCH 172/204] vchiq: fix NULL pointer dereference when closing driver The following code run as root will cause a null pointer dereference oops: @@ -146565,10 +146528,10 @@ index f4d0b66..4055d4b 100644 struct semaphore pop; struct semaphore push; -From be71354c73cc689307b9518e8393a1186080c5f4 Mon Sep 17 00:00:00 2001 +From 2c90639076be957e3e5eb9f44e0c09719db83f7e Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:13:17 -0400 -Subject: [PATCH 173/194] bcm2708_fb: remove redundant code as detected by +Subject: [PATCH 173/204] bcm2708_fb: remove redundant code as detected by static analysis static analysis with cppcheck detected some redundant code which @@ -146600,10 +146563,10 @@ index 06a96d16..fed0672 100644 } -From a79b4171d2f06440c6aa9de4b858dca1fc32293a Mon Sep 17 00:00:00 2001 +From 473b4d43abe530f11f07dbdd9be666a90d75313c Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:15:38 -0400 -Subject: [PATCH 174/194] bcm2708_fb: remove unnecessary initialization of +Subject: [PATCH 174/204] bcm2708_fb: remove unnecessary initialization of result static analysis by cppcheck detected an unnecessary initialization @@ -146632,10 +146595,10 @@ index fed0672..0f62d76 100644 info->var.yoffset = var->yoffset; result = bcm2708_fb_set_par(info); -From 2295e77f5b4bc01a115af6a4e2d0f0b37a572a57 Mon Sep 17 00:00:00 2001 +From 94946643df81ee3acaeed9a5e0eb8944ab8492fe Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:27:36 -0400 -Subject: [PATCH 175/194] vcsm: increment res_stats MAP_FAIL stats before we +Subject: [PATCH 175/204] 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 @@ -146669,10 +146632,10 @@ index 0bfb42e..b62a3b2 100644 } -From 0045e9ee695e6a7e4da62df7c481e99a13188c18 Mon Sep 17 00:00:00 2001 +From 874c6177f126c4fdb31ed9234fe053581ff632fb Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:33:39 -0400 -Subject: [PATCH 176/194] bcm2835: camera: check for scene not being found +Subject: [PATCH 176/204] bcm2835: camera: check for scene not being found static analysis by cppcheck detected some potential NULL pointer dereference issues: @@ -146703,10 +146666,10 @@ index 3017b94..f9f903f 100644 return -EINVAL; -From e05f8eb12b6f1146b400435f852ca501026a9aca Mon Sep 17 00:00:00 2001 +From a255eb898f2ff3d63de6dbc201797ff732499dca Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:47:51 -0400 -Subject: [PATCH 177/194] bcm2835: memcpy port data to m rather than rmsg +Subject: [PATCH 177/204] 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 @@ -146731,10 +146694,10 @@ index 76f249e..7813225 100644 ret = send_synchronous_mmal_msg(instance, &m, -From 3f09ec1c4223de056fefc041185ed4276f52a65c Mon Sep 17 00:00:00 2001 +From bd4d78dcb66955bc2ea1c81232db499e1f662ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sun, 13 Sep 2015 15:54:28 +0200 -Subject: [PATCH 178/194] Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708" +Subject: [PATCH 178/204] Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146762,10 +146725,10 @@ index f674a66..c06fe12 100644 spidev@0{ -From d9fab4e890cacf1b1adb59f64aadc043a1c70228 Mon Sep 17 00:00:00 2001 +From 63103cf8b12f79c02f1a6d7a851fbb6727528d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sun, 13 Sep 2015 17:17:14 +0200 -Subject: [PATCH 179/194] BCM270X_DT: mz61581: Set txbuflen to 32k +Subject: [PATCH 179/204] BCM270X_DT: mz61581: Set txbuflen to 32k MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146814,10 +146777,10 @@ index c06fe12..9242a6e 100644 xohms = <&mz61581_ts>,"ti,x-plate-ohms;0"; }; -From bf973dffb8d6e2622d7fba8a7438e1ecd792cc0e Mon Sep 17 00:00:00 2001 +From 6881996989b77354049455c95e8af67f278cfa48 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 11 Sep 2015 12:10:15 +0100 -Subject: [PATCH 180/194] bcm2835-mmc: Don't overwrite MMC capabilities from DT +Subject: [PATCH 180/204] bcm2835-mmc: Don't overwrite MMC capabilities from DT --- drivers/mmc/host/bcm2835-mmc.c | 5 +++-- @@ -146840,10 +146803,10 @@ index b7c4883..164bfad 100644 host->flags = SDHCI_AUTO_CMD23; -From 48c1b7e91bcd5b92b02de3b3d6bdbc5eb34e5eb8 Mon Sep 17 00:00:00 2001 +From 7bbc4815e21230a8a011d3f3cf794d765cdacb35 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 11 Sep 2015 09:14:01 +0100 -Subject: [PATCH 181/194] BCM270X_DT: Use fixed-factor-clock for uart1 +Subject: [PATCH 181/204] 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. @@ -146943,10 +146906,10 @@ index f25f0a2..76d44a2 100644 spi = <&spi0>,"status"; i2c0 = <&i2c0>,"status"; -From af29aa1dd79e6f76be281d8fbba46f671b9dc9b1 Mon Sep 17 00:00:00 2001 +From d851a069d33dba42c5c7fa023ee13f994643fa90 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 182/194] Add SMI driver +Subject: [PATCH 182/204] Add SMI driver Signed-off-by: Luke Wren --- @@ -149005,10 +148968,10 @@ index 0000000..ee3a75e + +#endif /* BCM2835_SMI_H */ -From 4a837e11c809cd42c793e61bba9e7cb784395f89 Mon Sep 17 00:00:00 2001 +From f657d984e244c7348152e2edc09cd5decb2f5b55 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 183/194] Add SMI NAND driver +Subject: [PATCH 183/204] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -149516,10 +149479,10 @@ index 0000000..b747326 + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 12bb5737302a9adc5e738b00845f6275d2b3dce4 Mon Sep 17 00:00:00 2001 +From a3bf36473505511198d71fdf19e6b28b4ee55195 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 16 Sep 2015 17:28:41 +0100 -Subject: [PATCH 184/194] BCM270X_DT: Document SMI overlay +Subject: [PATCH 184/204] BCM270X_DT: Document SMI overlay --- arch/arm/boot/dts/overlays/Makefile | 6 +++--- @@ -149580,10 +149543,10 @@ index 0aa5aa1..4ab4c695 100644 Info: Selects the bcm2708-spi SPI driver Load: dtoverlay=spi-bcm2708 -From 3f4dc9b708b4e3cb365b0066242556633b83ed5d Mon Sep 17 00:00:00 2001 +From 24a9683edd38171e27a170b95a42133c2bd3890f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Sep 2015 17:13:42 +0100 -Subject: [PATCH 185/194] dwc_otg: Force host mode to fix incorrect compute +Subject: [PATCH 185/204] dwc_otg: Force host mode to fix incorrect compute module boards --- @@ -149604,10 +149567,10 @@ index e40060f..beaa8b3 100644 dwc_mdelay(100); } -From 28fc2ac47fd4f3d300fd3badeeb2db8a2ec65e40 Mon Sep 17 00:00:00 2001 +From 4f8563760264a9aedad6fec09e8adb8c3929c1a3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 15 Sep 2015 15:16:24 +0100 -Subject: [PATCH 186/194] config: Add CIFS_DFS_UPCALL, CIFS_ACL, CIFS_SMB2, +Subject: [PATCH 186/204] config: Add CIFS_DFS_UPCALL, CIFS_ACL, CIFS_SMB2, CIFS_FSCACHE --- @@ -149646,10 +149609,10 @@ index 75fa1d0..8ebc8d5 100644 CONFIG_9P_FS_POSIX_ACL=y CONFIG_NLS_DEFAULT="utf8" -From 05f629b727b81ba22662e2f25bffec8215bfbb4e Mon Sep 17 00:00:00 2001 +From dee40d2ad759e6f0d9737f15c9c00a9149d55b73 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Mon, 14 Sep 2015 19:08:36 -0500 -Subject: [PATCH 187/194] Use dts-dirs feature for overlays. +Subject: [PATCH 187/204] Use dts-dirs feature for overlays. The kernel makefiles have a dts-dirs target that is for vendor subdirectories. @@ -149686,10 +149649,10 @@ index 12de305..faf293f 100644 - -subdir-y += overlays -From e8e928f19481eebeaaf269e21a044f5b78418e1b Mon Sep 17 00:00:00 2001 +From 51ccad4fd102f2eb4d2a8115ff2a06ec01676acd Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Thu, 10 Sep 2015 09:32:14 +0000 -Subject: [PATCH 192/194] backport: spi: bcm2835: BUG: fix wrong use of +Subject: [PATCH 192/204] backport: spi: bcm2835: BUG: fix wrong use of PAGE_MASK There is a bug in the alignment checking of transfers, @@ -149733,10 +149696,10 @@ index b68991c..3835332 100644 } -From 93260741a0c8b8ee5d9a3c268db9f63472f1c36d Mon Sep 17 00:00:00 2001 +From 16e92c1ffaf2b25fc3b410ba8e1dc6a457b645f7 Mon Sep 17 00:00:00 2001 From: Stuart MacLean Date: Fri, 2 Oct 2015 15:12:59 +0100 -Subject: [PATCH 193/194] Add support for the HiFiBerry DAC+ Pro. +Subject: [PATCH 193/204] 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. @@ -150284,3 +150247,944 @@ index e12764d..8d16b2f 100644 dev_err(dev, "No LRCLK?\n"); return -EINVAL; +From f1c2c5ab06e1597d0aa0593c5dec52cf580332e3 Mon Sep 17 00:00:00 2001 +From: P33M +Date: Wed, 21 Oct 2015 14:55:21 +0100 +Subject: [PATCH 194/204] 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 +mailbox request. + +Signed-off-by: Gordon Hollingworth +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 6 ++ + .../boot/dts/overlays/rpi-backlight-overlay.dts | 21 ++++ + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + drivers/video/backlight/Kconfig | 6 ++ + drivers/video/backlight/Makefile | 1 + + drivers/video/backlight/rpi_backlight.c | 119 +++++++++++++++++++++ + include/soc/bcm2835/raspberrypi-firmware.h | 1 + + 9 files changed, 157 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts + create mode 100644 drivers/video/backlight/rpi_backlight.c + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 192bda7..2e82be5 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -38,6 +38,7 @@ dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += pwm-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += pwm-2chan-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += raspidac3-overlay.dtb ++dtb-$(RPI_DT_OVERLAYS) += rpi-backlight-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += rpi-dac-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += rpi-display-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += rpi-ft5406-overlay.dtb +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 4ab4c695..b57bd11 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -463,6 +463,12 @@ Load: dtoverlay=raspidac3 + Params: + + ++Name: rpi-backlight ++Info: Raspberry Pi official display backlight driver ++Load: dtoverlay=rpi-backlight ++Params: ++ ++ + Name: rpi-dac + Info: Configures the RPi DAC audio card + Load: dtoverlay=rpi-dac +diff --git a/arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts b/arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts +new file mode 100644 +index 0000000..c021d02 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts +@@ -0,0 +1,21 @@ ++/* ++ * Devicetree overlay for mailbox-driven Raspberry Pi DSI Display ++ * backlight controller ++ */ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target-path = "/"; ++ __overlay__ { ++ rpi_backlight: rpi_backlight { ++ compatible = "raspberrypi,rpi-backlight"; ++ firmware = <&firmware>; ++ status = "okay"; ++ }; ++ }; ++ }; ++}; +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 60f8357..6f4021b 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -802,6 +802,7 @@ CONFIG_FB_BCM2708=y + CONFIG_FB_SSD1307=m + CONFIG_FB_RPISENSE=m + # CONFIG_BACKLIGHT_GENERIC is not set ++CONFIG_BACKLIGHT_RPI=m + CONFIG_BACKLIGHT_GPIO=m + CONFIG_FRAMEBUFFER_CONSOLE=y + CONFIG_LOGO=y +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 8ebc8d5..015540b 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -795,6 +795,7 @@ CONFIG_FB_BCM2708=y + CONFIG_FB_SSD1307=m + CONFIG_FB_RPISENSE=m + # CONFIG_BACKLIGHT_GENERIC is not set ++CONFIG_BACKLIGHT_RPI=m + CONFIG_BACKLIGHT_GPIO=m + CONFIG_FRAMEBUFFER_CONSOLE=y + CONFIG_LOGO=y +diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig +index 2d9923a..78d02bd 100644 +--- a/drivers/video/backlight/Kconfig ++++ b/drivers/video/backlight/Kconfig +@@ -263,6 +263,12 @@ config BACKLIGHT_PWM + If you have a LCD backlight adjustable by PWM, say Y to enable + this driver. + ++config BACKLIGHT_RPI ++ tristate "Raspberry Pi display firmware driven backlight" ++ help ++ If you have the Raspberry Pi DSI touchscreen display, say Y to ++ enable the mailbox-controlled backlight driver. ++ + config BACKLIGHT_DA903X + tristate "Backlight Driver for DA9030/DA9034 using WLED" + depends on PMIC_DA903X +diff --git a/drivers/video/backlight/Makefile b/drivers/video/backlight/Makefile +index d67073f..e36907a 100644 +--- a/drivers/video/backlight/Makefile ++++ b/drivers/video/backlight/Makefile +@@ -49,6 +49,7 @@ obj-$(CONFIG_BACKLIGHT_OT200) += ot200_bl.o + obj-$(CONFIG_BACKLIGHT_PANDORA) += pandora_bl.o + obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o + obj-$(CONFIG_BACKLIGHT_PWM) += pwm_bl.o ++obj-$(CONFIG_BACKLIGHT_RPI) += rpi_backlight.o + obj-$(CONFIG_BACKLIGHT_SAHARA) += kb3886_bl.o + obj-$(CONFIG_BACKLIGHT_SKY81452) += sky81452-backlight.o + obj-$(CONFIG_BACKLIGHT_TOSA) += tosa_bl.o +diff --git a/drivers/video/backlight/rpi_backlight.c b/drivers/video/backlight/rpi_backlight.c +new file mode 100644 +index 0000000..14a0d9b +--- /dev/null ++++ b/drivers/video/backlight/rpi_backlight.c +@@ -0,0 +1,119 @@ ++/* ++ * rpi_bl.c - Backlight controller through VPU ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License version 2 as ++ * published by the Free Software Foundation. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++struct rpi_backlight { ++ struct device *dev; ++ struct device *fbdev; ++ struct rpi_firmware *fw; ++}; ++ ++static int rpi_backlight_update_status(struct backlight_device *bl) ++{ ++ struct rpi_backlight *gbl = bl_get_data(bl); ++ int brightness = bl->props.brightness; ++ int ret; ++ ++ if (bl->props.power != FB_BLANK_UNBLANK || ++ bl->props.fb_blank != FB_BLANK_UNBLANK || ++ bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) ++ brightness = 0; ++ ++ ret = rpi_firmware_property(gbl->fw, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT, ++ &brightness, sizeof(brightness)); ++ if (ret) { ++ dev_err(gbl->dev, "Failed to set brightness\n"); ++ return ret; ++ } ++ ++ if (brightness < 0) { ++ dev_err(gbl->dev, "Backlight change failed\n"); ++ return -EAGAIN; ++ } ++ ++ return 0; ++} ++ ++static const struct backlight_ops rpi_backlight_ops = { ++ .options = BL_CORE_SUSPENDRESUME, ++ .update_status = rpi_backlight_update_status, ++}; ++ ++static int rpi_backlight_probe(struct platform_device *pdev) ++{ ++ struct backlight_properties props; ++ struct backlight_device *bl; ++ struct rpi_backlight *gbl; ++ struct device_node *fw_node; ++ ++ gbl = devm_kzalloc(&pdev->dev, sizeof(*gbl), GFP_KERNEL); ++ if (gbl == NULL) ++ return -ENOMEM; ++ ++ gbl->dev = &pdev->dev; ++ ++ fw_node = of_parse_phandle(pdev->dev.of_node, "firmware", 0); ++ if (!fw_node) { ++ dev_err(&pdev->dev, "Missing firmware node\n"); ++ return -ENOENT; ++ } ++ ++ gbl->fw = rpi_firmware_get(fw_node); ++ if (!gbl->fw) ++ return -EPROBE_DEFER; ++ ++ memset(&props, 0, sizeof(props)); ++ props.type = BACKLIGHT_RAW; ++ props.max_brightness = 255; ++ bl = devm_backlight_device_register(&pdev->dev, dev_name(&pdev->dev), ++ &pdev->dev, gbl, &rpi_backlight_ops, ++ &props); ++ if (IS_ERR(bl)) { ++ dev_err(&pdev->dev, "failed to register backlight\n"); ++ return PTR_ERR(bl); ++ } ++ ++ bl->props.brightness = 255; ++ backlight_update_status(bl); ++ ++ platform_set_drvdata(pdev, bl); ++ return 0; ++} ++ ++static const struct of_device_id rpi_backlight_of_match[] = { ++ { .compatible = "raspberrypi,rpi-backlight" }, ++ { /* sentinel */ } ++}; ++MODULE_DEVICE_TABLE(of, rpi_backlight_of_match); ++ ++static struct platform_driver rpi_backlight_driver = { ++ .driver = { ++ .name = "rpi-backlight", ++ .of_match_table = of_match_ptr(rpi_backlight_of_match), ++ }, ++ .probe = rpi_backlight_probe, ++}; ++ ++module_platform_driver(rpi_backlight_driver); ++ ++MODULE_AUTHOR("Gordon Hollingworth "); ++MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); ++MODULE_LICENSE("GPL"); +diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h +index d3933af..ffb0f82 100644 +--- a/include/soc/bcm2835/raspberrypi-firmware.h ++++ b/include/soc/bcm2835/raspberrypi-firmware.h +@@ -109,6 +109,7 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_FRAMEBUFFER_SET_OVERSCAN = 0x0004800a, + RPI_FIRMWARE_FRAMEBUFFER_SET_PALETTE = 0x0004800b, + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC = 0x0004800e, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, + + RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, + + + +From ed66fe22cf07f1240e693bf6e7628ac9c42d36d4 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 6 Oct 2015 10:16:58 +0100 +Subject: [PATCH 196/204] bcm2835-gpiomem: Fix for ARCH_BCM2835 builds + +Build on ARCH_BCM2835, and fail to probe if no IO resource. + +See: https://github.com/raspberrypi/linux/issues/1154 +--- + drivers/char/broadcom/bcm2835-gpiomem.c | 25 ++++++++++--------------- + 1 file changed, 10 insertions(+), 15 deletions(-) + +diff --git a/drivers/char/broadcom/bcm2835-gpiomem.c b/drivers/char/broadcom/bcm2835-gpiomem.c +index 0085e13..911f5b7 100644 +--- a/drivers/char/broadcom/bcm2835-gpiomem.c ++++ b/drivers/char/broadcom/bcm2835-gpiomem.c +@@ -143,7 +143,6 @@ static int bcm2835_gpiomem_probe(struct platform_device *pdev) + int err; + void *ptr_err; + struct device *dev = &pdev->dev; +- struct device_node *node = dev->of_node; + struct resource *ioresource; + + /* Allocate buffers and instance data */ +@@ -157,6 +156,15 @@ static int bcm2835_gpiomem_probe(struct platform_device *pdev) + + inst->dev = dev; + ++ ioresource = platform_get_resource(pdev, IORESOURCE_MEM, 0); ++ if (ioresource) { ++ inst->gpio_regs_phys = ioresource->start; ++ } else { ++ dev_err(inst->dev, "failed to get IO resource"); ++ err = -ENOENT; ++ goto failed_get_resource; ++ } ++ + /* Create character device entries */ + + err = alloc_chrdev_region(&bcm2835_gpiomem_devid, +@@ -187,20 +195,6 @@ static int bcm2835_gpiomem_probe(struct platform_device *pdev) + if (IS_ERR(ptr_err)) + goto failed_device_create; + +- /* Get address from device tree if available (*_resource() correctly +- converts the bus address in device tree to a physical address), +- or use hardcoded offset + BCM2708_PERI_BASE if not. +- (In spite of its name 2708 actually seems to have the correct +- mach-dependent value on 2709 etc, as it is defined in +- mach-bcm270x/platform.h) */ +- +- if (node) { +- ioresource = platform_get_resource(pdev, IORESOURCE_MEM, 0); +- inst->gpio_regs_phys = ioresource->start; +- } else { +- inst->gpio_regs_phys = GPIO_BASE; +- } +- + dev_info(inst->dev, "Initialised: Registers at 0x%08lx", + inst->gpio_regs_phys); + +@@ -214,6 +208,7 @@ static int bcm2835_gpiomem_probe(struct platform_device *pdev) + failed_cdev_add: + unregister_chrdev_region(bcm2835_gpiomem_devid, 1); + failed_alloc_chrdev: ++failed_get_resource: + kfree(inst); + failed_inst_alloc: + dev_err(inst->dev, "could not load bcm2835_gpiomem"); + +From 9223ca1be3362490e689e00156fa792e04910284 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 5 Oct 2015 10:47:45 +0100 +Subject: [PATCH 197/204] BCM270X_DT: Add at86rf233 overlay + +Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. + +See: https://github.com/raspberrypi/linux/issues/1151 +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 21 +++++++-- + arch/arm/boot/dts/overlays/at86rf233-overlay.dts | 54 ++++++++++++++++++++++++ + 3 files changed, 72 insertions(+), 4 deletions(-) + create mode 100644 arch/arm/boot/dts/overlays/at86rf233-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 2e82be5..b370eb0 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -13,6 +13,7 @@ ifeq ($(CONFIG_ARCH_BCM2835),y) + endif + + dtb-$(RPI_DT_OVERLAYS) += ads7846-overlay.dtb ++dtb-$(RPI_DT_OVERLAYS) += at86rf233-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += dht11-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += enc28j60-overlay.dtb +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index b57bd11..014675a 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -69,13 +69,14 @@ DT parameters: + + Parameters always have default values, although in some cases (e.g. "w1-gpio") + it is necessary to provided multiple overlays in order to get the desired +-behaviour. See the list of overlays below for a description of the parameters and their defaults. ++behaviour. See the list of overlays below for a description of the parameters ++and their defaults. + + The Overlay and Parameter Reference + =================================== + +-N.B. When editing this file, please preserve the indentation levels to make it simple to parse +-programmatically. NO HARD TABS. ++N.B. When editing this file, please preserve the indentation levels to make it ++simple to parse programmatically. NO HARD TABS. + + + Name: +@@ -149,7 +150,7 @@ Name: ads7846 + Info: ADS7846 Touch controller + Load: dtoverlay=ads7846,= + Params: cs SPI bus Chip Select (default 1) +- speed SPI bus speed (default 2Mhz, max 3.25MHz) ++ speed SPI bus speed (default 2MHz, max 3.25MHz) + penirq GPIO used for PENIRQ. REQUIRED + penirq_pull Set GPIO pull (default 0=none, 2=pullup) + swapxy Swap x and y axis +@@ -170,6 +171,18 @@ Params: cs SPI bus Chip Select (default 1) + www.kernel.org/doc/Documentation/devicetree/bindings/input/ads7846.txt + + ++Name: at86rf233 ++Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver, ++ connected to spi0.0 ++Load: dtoverlay=at86rf233,= ++Params: interrupt GPIO used for INT (default 23) ++ reset GPIO used for Reset (default 24) ++ sleep GPIO used for Sleep (default 25) ++ speed SPI bus speed in Hz (default 750000) ++ trim Fine tuning of the internal capacitance ++ arrays (0=+0pF, 15=+4.5pF, default 15) ++ ++ + Name: bmp085_i2c-sensor + Info: Configures the BMP085/BMP180 digital barometric pressure and temperature + sensors from Bosch Sensortec +diff --git a/arch/arm/boot/dts/overlays/at86rf233-overlay.dts b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts +new file mode 100644 +index 0000000..70f50ea +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts +@@ -0,0 +1,54 @@ ++/dts-v1/; ++/plugin/; ++ ++/* Overlay for Atmel AT86RF233 IEEE 802.15.4 WPAN transceiver on spi0.0 */ ++ ++/ { ++ compatible = "brcm,bcm2835", "brcm,bcm2836", "brcm,bcm2708", "brcm,bcm2709"; ++ ++ fragment@0 { ++ target = <&spi0>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ status = "okay"; ++ ++ spidev@0{ ++ status = "disabled"; ++ }; ++ ++ lowpan0: at86rf233@0 { ++ compatible = "atmel,at86rf233"; ++ reg = <0>; ++ interrupt-parent = <&gpio>; ++ interrupts = <23 4>; /* active high */ ++ reset-gpio = <&gpio 24 1>; ++ sleep-gpio = <&gpio 25 1>; ++ spi-max-frequency = <7500000>; ++ xtal-trim = /bits/ 8 <0xf>; ++ }; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&gpio>; ++ __overlay__ { ++ lowpan0_pins: lowpan0_pins { ++ brcm,pins = <23 24 25>; ++ brcm,function = <0 1 1>; /* in out out */ ++ }; ++ }; ++ }; ++ ++ __overrides__ { ++ interrupt = <&lowpan0>, "interrupts:0", ++ <&lowpan0_pins>, "brcm,pins:0"; ++ reset = <&lowpan0>, "reset-gpio:4", ++ <&lowpan0_pins>, "brcm,pins:4"; ++ sleep = <&lowpan0>, "sleep-gpio:4", ++ <&lowpan0_pins>, "brcm,pins:8"; ++ speed = <&lowpan0>, "spi-max-frequency:0"; ++ trim = <&lowpan0>, "xtal-trim.0"; ++ }; ++}; + +From c089bd70a6d37cb4a05626d48eaebcdfcef0bf41 Mon Sep 17 00:00:00 2001 +From: mwilliams03 +Date: Sun, 18 Oct 2015 17:07:24 -0700 +Subject: [PATCH 198/204] New overlay for PiScreen2r + +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 14 +++ + arch/arm/boot/dts/overlays/piscreen2r-overlay.dts | 100 ++++++++++++++++++++++ + 3 files changed, 115 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/piscreen2r-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index b370eb0..f4b2817 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -34,6 +34,7 @@ dtb-$(RPI_DT_OVERLAYS) += mcp2515-can1-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += mmc-overlay.dtb + 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-resistive-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += pwm-overlay.dtb +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 014675a..3276312 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -411,6 +411,20 @@ Params: speed Display SPI bus speed + xohms Touchpanel sensitivity (X-plate resistance) + + ++Name: piscreen2r ++Info: PiScreen 2 with resistive TP display by OzzMaker.com ++Load: dtoverlay=piscreen,= ++Params: speed Display SPI bus speed ++ ++ rotate Display rotation {0,90,180,270} ++ ++ fps Delay between frame updates ++ ++ debug Debug output level {0-7} ++ ++ xohms Touchpanel sensitivity (X-plate resistance) ++ ++ + Name: pitft28-resistive + Info: Adafruit PiTFT 2.8" resistive touch screen + Load: dtoverlay=pitft28-resistive,= +diff --git a/arch/arm/boot/dts/overlays/piscreen2r-overlay.dts b/arch/arm/boot/dts/overlays/piscreen2r-overlay.dts +new file mode 100644 +index 0000000..7c018e0 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/piscreen2r-overlay.dts +@@ -0,0 +1,100 @@ ++ /* ++ * Device Tree overlay for PiScreen2 3.5" TFT with resistive touch by Ozzmaker.com ++ * ++ */ ++ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709"; ++ ++ fragment@0 { ++ target = <&spi0>; ++ __overlay__ { ++ status = "okay"; ++ ++ spidev@0{ ++ status = "disabled"; ++ }; ++ ++ spidev@1{ ++ status = "disabled"; ++ }; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&gpio>; ++ __overlay__ { ++ piscreen2_pins: piscreen2_pins { ++ brcm,pins = <17 25 24 22>; ++ brcm,function = <0 1 1 1>; /* in out out out */ ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&spi0>; ++ __overlay__ { ++ /* needed to avoid dtc warning */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ piscreen2: piscreen2@0{ ++ compatible = "ilitek,ili9486"; ++ reg = <0>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&piscreen2_pins>; ++ bgr; ++ spi-max-frequency = <64000000>; ++ rotate = <90>; ++ fps = <30>; ++ buswidth = <8>; ++ regwidth = <16>; ++ txbuflen = <32768>; ++ reset-gpios = <&gpio 25 0>; ++ dc-gpios = <&gpio 24 0>; ++ led-gpios = <&gpio 22 1>; ++ debug = <0>; ++ ++ init = <0x10000b0 0x00 ++ 0x1000011 ++ 0x20000ff ++ 0x100003a 0x55 ++ 0x1000036 0x28 ++ 0x10000c0 0x11 0x09 ++ 0x10000c1 0x41 ++ 0x10000c5 0x00 0x00 0x00 0x00 ++ 0x10000b6 0x00 0x02 ++ 0x10000f7 0xa9 0x51 0x2c 0x2 ++ 0x10000be 0x00 0x04 ++ 0x10000e9 0x00 ++ 0x1000011 ++ 0x1000029>; ++ ++ }; ++ ++ piscreen2_ts: piscreen2-ts@1 { ++ compatible = "ti,ads7846"; ++ reg = <1>; ++ ++ spi-max-frequency = <2000000>; ++ interrupts = <17 2>; /* high-to-low edge triggered */ ++ interrupt-parent = <&gpio>; ++ pendown-gpio = <&gpio 17 0>; ++ ti,swap-xy; ++ ti,x-plate-ohms = /bits/ 16 <100>; ++ ti,pressure-max = /bits/ 16 <255>; ++ }; ++ }; ++ }; ++ __overrides__ { ++ speed = <&piscreen2>,"spi-max-frequency:0"; ++ rotate = <&piscreen2>,"rotate:0"; ++ fps = <&piscreen2>,"fps:0"; ++ debug = <&piscreen2>,"debug:0"; ++ xohms = <&piscreen2_ts>,"ti,x-plate-ohms;0"; ++ }; ++}; ++ + +From 30a73891df28c2922fcad40317f474914ccf4434 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 9 Oct 2015 10:49:00 +0100 +Subject: [PATCH 199/204] BCM270X_DT: Make mmc overlay compatible with current + firmware + +The original DT overlay logic followed a merge-then-patch procedure, +i.e. parameters are applied to the loaded overlay before the overlay +is merged into the base DTB. This sequence has been changed to +patch-then-merge, in order to support parameterised node names, and +to protect against bad overlays. As a result, overrides (parameters) +must only target labels in the overlay, but the overlay can obviously target nodes in the base DTB. + +mmc-overlay.dts (that switches back to the original mmc sdcard +driver) is the only overlay violating that rule, and this patch +fixes it. +--- + arch/arm/boot/dts/overlays/mmc-overlay.dts | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/mmc-overlay.dts b/arch/arm/boot/dts/overlays/mmc-overlay.dts +index 0a37cf4..4579ff2 100644 +--- a/arch/arm/boot/dts/overlays/mmc-overlay.dts ++++ b/arch/arm/boot/dts/overlays/mmc-overlay.dts +@@ -7,13 +7,13 @@ + fragment@0 { + target = <&mmc>; + +- __overlay__ { ++ frag0: __overlay__ { + brcm,overclock-50 = <0>; + }; + }; + + __overrides__ { +- overclock_50 = <&mmc>,"brcm,overclock-50:0"; +- force_pio = <&mmc>,"brcm,force-pio?"; ++ overclock_50 = <&frag0>,"brcm,overclock-50:0"; ++ force_pio = <&frag0>,"brcm,force-pio?"; + }; + }; + +From 25dc64a6491a98e8df7b387e54dfe1d2be1ea5e8 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 12 Oct 2015 08:52:00 +0100 +Subject: [PATCH 200/204] 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. + +See: https://github.com/raspberrypi/linux/issues/1151 +--- + arch/arm/boot/dts/overlays/README | 2 +- + arch/arm/boot/dts/overlays/at86rf233-overlay.dts | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 3276312..42a5876 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -178,7 +178,7 @@ Load: dtoverlay=at86rf233,= + Params: interrupt GPIO used for INT (default 23) + reset GPIO used for Reset (default 24) + sleep GPIO used for Sleep (default 25) +- speed SPI bus speed in Hz (default 750000) ++ speed SPI bus speed in Hz (default 6000000) + trim Fine tuning of the internal capacitance + arrays (0=+0pF, 15=+4.5pF, default 15) + +diff --git a/arch/arm/boot/dts/overlays/at86rf233-overlay.dts b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts +index 70f50ea..0460269 100644 +--- a/arch/arm/boot/dts/overlays/at86rf233-overlay.dts ++++ b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts +@@ -25,7 +25,7 @@ + interrupts = <23 4>; /* active high */ + reset-gpio = <&gpio 24 1>; + sleep-gpio = <&gpio 25 1>; +- spi-max-frequency = <7500000>; ++ spi-max-frequency = <6000000>; + xtal-trim = /bits/ 8 <0xf>; + }; + }; + +From 625d90e2f7b2de52e0ba82e66e076915402e9c8b Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Thu, 1 Oct 2015 11:49:11 +0100 +Subject: [PATCH 201/204] config: Add CONFIG_UHID + +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 6f4021b..6a914fb 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -843,6 +843,7 @@ CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m + CONFIG_SOUND_PRIME=m + CONFIG_HIDRAW=y ++CONFIG_UHID=m + CONFIG_HID_A4TECH=m + CONFIG_HID_ACRUX=m + CONFIG_HID_APPLE=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 015540b..7a477e3 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -836,6 +836,7 @@ CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m + CONFIG_SOUND_PRIME=m + CONFIG_HIDRAW=y ++CONFIG_UHID=m + CONFIG_HID_A4TECH=m + CONFIG_HID_ACRUX=m + CONFIG_HID_APPLE=m + +From 7a8dc0c298b4619fe8658481d0b3ae0ac1231a5e Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Sun, 4 Oct 2015 12:30:01 +0100 +Subject: [PATCH 202/204] config: Add CONFIG_CRYPTO_USER_API_SKCIPHER + +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 6a914fb..05383c0 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -1239,6 +1239,7 @@ CONFIG_CRYPTO_WP512=m + CONFIG_CRYPTO_CAST5=m + CONFIG_CRYPTO_DES=y + # CONFIG_CRYPTO_ANSI_CPRNG is not set ++CONFIG_CRYPTO_USER_API_SKCIPHER=m + # CONFIG_CRYPTO_HW is not set + CONFIG_ARM_CRYPTO=y + CONFIG_CRYPTO_SHA1_ARM_NEON=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 7a477e3..0f315d8 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -1235,6 +1235,7 @@ CONFIG_CRYPTO_WP512=m + CONFIG_CRYPTO_CAST5=m + CONFIG_CRYPTO_DES=y + # CONFIG_CRYPTO_ANSI_CPRNG is not set ++CONFIG_CRYPTO_USER_API_SKCIPHER=m + # CONFIG_CRYPTO_HW is not set + CONFIG_ARM_CRYPTO=y + CONFIG_CRYPTO_SHA1_ARM=m + +From c7158fd021cf31f5fb67768796aecabde5ff6727 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Sun, 4 Oct 2015 12:36:44 +0100 +Subject: [PATCH 203/204] config: Add options for supporting openlabs 802.15.4 + radio + +--- + arch/arm/configs/bcm2709_defconfig | 6 ++++++ + arch/arm/configs/bcmrpi_defconfig | 6 ++++++ + 2 files changed, 12 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 05383c0..fb402e8 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -283,6 +283,9 @@ CONFIG_VLAN_8021Q=m + CONFIG_VLAN_8021Q_GVRP=y + CONFIG_ATALK=m + CONFIG_6LOWPAN=m ++CONFIG_IEEE802154=m ++CONFIG_IEEE802154_6LOWPAN=m ++CONFIG_MAC802154=m + CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m +@@ -529,6 +532,9 @@ CONFIG_ZD1211RW=m + CONFIG_MWIFIEX=m + CONFIG_MWIFIEX_SDIO=m + CONFIG_WIMAX_I2400M_USB=m ++CONFIG_IEEE802154_AT86RF230=m ++CONFIG_IEEE802154_MRF24J40=m ++CONFIG_IEEE802154_CC2520=m + CONFIG_INPUT_POLLDEV=m + # CONFIG_INPUT_MOUSEDEV_PSAUX is not set + CONFIG_INPUT_JOYDEV=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 0f315d8..eb81555e 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -276,6 +276,9 @@ CONFIG_VLAN_8021Q=m + CONFIG_VLAN_8021Q_GVRP=y + CONFIG_ATALK=m + CONFIG_6LOWPAN=m ++CONFIG_IEEE802154=m ++CONFIG_IEEE802154_6LOWPAN=m ++CONFIG_MAC802154=m + CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m +@@ -522,6 +525,9 @@ CONFIG_ZD1211RW=m + CONFIG_MWIFIEX=m + CONFIG_MWIFIEX_SDIO=m + CONFIG_WIMAX_I2400M_USB=m ++CONFIG_IEEE802154_AT86RF230=m ++CONFIG_IEEE802154_MRF24J40=m ++CONFIG_IEEE802154_CC2520=m + CONFIG_INPUT_POLLDEV=m + # CONFIG_INPUT_MOUSEDEV_PSAUX is not set + CONFIG_INPUT_JOYDEV=m + +From 6c1d6379ed6d95956ba255936da39f06543ddb7f Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 8 Oct 2015 13:33:28 +0100 +Subject: [PATCH 204/204] 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 +bcm2835-pm-wdt which could exist in either. + +Also, since the canned configuration is no longer built in (it's +a module), remove the config string checking. + +See: https://github.com/raspberrypi/linux/issues/1157 +--- + scripts/mkknlimg | 41 +++++------------------------------------ + 1 file changed, 5 insertions(+), 36 deletions(-) + +diff --git a/scripts/mkknlimg b/scripts/mkknlimg +index 3dff948..3998d43 100755 +--- a/scripts/mkknlimg ++++ b/scripts/mkknlimg +@@ -50,12 +50,6 @@ if (! -r $kernel_file) + usage(); + } + +-my @wanted_config_lines = +-( +- 'CONFIG_BCM2708_DT', +- 'CONFIG_ARCH_BCM2835' +-); +- + my @wanted_strings = + ( + 'bcm2708_fb', +@@ -63,7 +57,8 @@ my @wanted_strings = + 'brcm,bcm2835-sdhost', + 'brcm,bcm2708-pinctrl', + 'brcm,bcm2835-gpio', +- 'brcm,bcm2835-pm-wdt' ++ 'brcm,bcm2835', ++ 'brcm,bcm2836' + ); + + my $res = try_extract($kernel_file, $tmpfile1); +@@ -98,12 +93,11 @@ if ($res) + config_bool($res, 'brcm,bcm2835-mmc') || + config_bool($res, 'brcm,bcm2835-sdhost')) + { +- $dtok ||= config_bool($res, 'CONFIG_BCM2708_DT'); +- $dtok ||= config_bool($res, 'CONFIG_ARCH_BCM2835'); + $dtok ||= config_bool($res, 'brcm,bcm2708-pinctrl'); + $dtok ||= config_bool($res, 'brcm,bcm2835-gpio'); +- $is_283x ||= config_bool($res, 'CONFIG_ARCH_BCM2835'); +- $is_283x ||= config_bool($res, 'brcm,bcm2835-pm-wdt'); ++ $is_283x ||= config_bool($res, 'brcm,bcm2835'); ++ $is_283x ||= config_bool($res, 'brcm,bcm2836'); ++ $dtok ||= $is_283x; + $append_trailer = 1; + } + else +@@ -205,31 +199,6 @@ sub try_extract + $res->{$match} = 1; + } + +- my $config_pattern = '^('.join('|', @wanted_config_lines).')=(.*)$'; +- my $cf1 = 'IKCFG_ST\037\213\010'; +- my $cf2 = '0123456789'; +- +- my $pos = `tr "$cf1\n$cf2" "\n$cf2=" < "$knl" | grep -abo "^$cf2"`; +- if ($pos) +- { +- $pos =~ s/:.*[\r\n]*$//s; +- $pos += 8; +- my $err = (system("tail -c+$pos \"$knl\" | zcat > $tmp 2> /dev/null") >> 8); +- if (($err == 0) || ($err == 2)) +- { +- if (open(my $fh, '<', $tmp)) +- { +- while (my $line = <$fh>) +- { +- chomp($line); +- $res->{$1} = $2 if ($line =~ /$config_pattern/); +- } +- +- close($fh); +- } +- } +- } +- + return $res; + } + diff --git a/projects/RPi2/patches/linux/linux-01-RPi_support.patch b/projects/RPi2/patches/linux/linux-01-RPi_support.patch index 34a0d4ec06..32cf12da6a 100644 --- a/projects/RPi2/patches/linux/linux-01-RPi_support.patch +++ b/projects/RPi2/patches/linux/linux-01-RPi_support.patch @@ -1,7 +1,7 @@ -From 9975098c7b72c7755daa08816990dc286be525f2 Mon Sep 17 00:00:00 2001 +From 5e9c268f96c85ea7722958b1f6f73c8d13a822dc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 001/194] Main bcm2708/bcm2709 linux port +Subject: [PATCH 001/204] Main bcm2708/bcm2709 linux port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -200,10 +200,10 @@ index 0c12ffb..18db6c4 100644 config DEBUG_AT91_UART diff --git a/arch/arm/Makefile b/arch/arm/Makefile -index 985227c..e5df9a5 100644 +index 47f10e7..afd559d 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile -@@ -142,6 +142,8 @@ textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 +@@ -150,6 +150,8 @@ textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 # Machine directory name. This list is sorted alphanumerically # by CONFIG_* macro name. @@ -6977,7 +6977,7 @@ index 0aa135d..89dbcb9 100644 + return 0; +} diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index 763eb20..ad45801 100644 +index 0cc622a..2585cd8 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -85,7 +85,7 @@ struct vendor_data { @@ -7002,10 +7002,10 @@ index b5bedae..b0258e8 100644 mmc_pm_flag_t pm_caps; /* supported pm features */ -From f8e5576fbb3b504ce7ca5eaeda0fe5d1741c620e Mon Sep 17 00:00:00 2001 +From 7408b83b52329a004068c5749e1733d8cb9028cb Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 Oct 2014 18:50:05 +0100 -Subject: [PATCH 002/194] Add bcm2708_gpio driver +Subject: [PATCH 002/204] Add bcm2708_gpio driver Signed-off-by: popcornmix @@ -7635,10 +7635,10 @@ index 0000000..fb69624 + +#endif -From 9fada5af830488a1143eaf1fb69a480e23aeb26c Mon Sep 17 00:00:00 2001 +From d86df54c296ad49447cb90e8c9ea1d2c8bd2b82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 1 May 2015 19:11:03 +0200 -Subject: [PATCH 003/194] mailbox: bcm2708: Add bcm2708-vcio +Subject: [PATCH 003/204] mailbox: bcm2708: Add bcm2708-vcio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -8269,10 +8269,10 @@ index 0000000..cc284ed + +#endif -From 686130a63a40d31f400357bfa1f01b53ea3069a5 Mon Sep 17 00:00:00 2001 +From a01bebe2f26586b5b8021847cc12f83f9fd0a27f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 004/194] Add dwc_otg driver +Subject: [PATCH 004/204] Add dwc_otg driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -69546,10 +69546,10 @@ index 0000000..cdc9963 +test_main(); +0; -From 8142dba5bbfd4a4a85bffc7689b030889ae05c32 Mon Sep 17 00:00:00 2001 +From a7a65674af3af5dcc29121afaae50c0cf6b2e13b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:54:32 +0100 -Subject: [PATCH 005/194] bcm2708 watchdog driver +Subject: [PATCH 005/204] bcm2708 watchdog driver Signed-off-by: popcornmix --- @@ -69986,10 +69986,10 @@ index 0000000..8a27d68 +MODULE_ALIAS_MISCDEV(TEMP_MINOR); +MODULE_LICENSE("GPL"); -From bd8c59a25518c0f3ad741d86af581fe3721078d6 Mon Sep 17 00:00:00 2001 +From d2d531d448b63465a680fb3e15c0e843267ff50f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 17:06:34 +0100 -Subject: [PATCH 006/194] bcm2708 framebuffer driver +Subject: [PATCH 006/204] bcm2708 framebuffer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -70071,7 +70071,7 @@ Signed-off-by: Noralf Trønnes create mode 100644 drivers/video/fbdev/bcm2708_fb.c diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig -index 1094623..42e6c3b 100644 +index d1e1e17..15098c5 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -224,6 +224,20 @@ config FB_TILEBLITTING @@ -73428,10 +73428,10 @@ index 3c14e43..7626beb6a 100644 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 -From 292c431c94ff9f822f352f12d3f38a51572e4fbb Mon Sep 17 00:00:00 2001 +From 7b98bf652df7771dd8eb79528dd7e276f2038585 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 007/194] dmaengine: Add support for BCM2708 +Subject: [PATCH 007/204] dmaengine: Add support for BCM2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -75199,10 +75199,10 @@ index 0000000..2310e34 + +#endif /* _PLAT_BCM2708_DMA_H */ -From 97761099d44a41a8df57b703ae9a89c6e2b56062 Mon Sep 17 00:00:00 2001 +From 44cbf9ce5089b224b53fa45eade2bfb7111bc2db Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 008/194] MMC: added alternative MMC driver +Subject: [PATCH 008/204] MMC: added alternative MMC driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -77018,10 +77018,10 @@ index 0000000..b7c4883 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From ebe6211e7e197d9e434c9cec4f150bc372a36be7 Mon Sep 17 00:00:00 2001 +From b0a083aa54f21ac74e866d9c016653d247e6d2b7 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 25 Mar 2015 17:49:47 +0000 -Subject: [PATCH 009/194] Adding bcm2835-sdhost driver, and an overlay to +Subject: [PATCH 009/204] Adding bcm2835-sdhost driver, and an overlay to enable it BCM2835 has two SD card interfaces. This driver uses the other one. @@ -78791,10 +78791,10 @@ index 0000000..eef8a24 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Phil Elwell"); -From 93a7e6a8ad9b76f0f426f71afbe0c9c49abc11c5 Mon Sep 17 00:00:00 2001 +From a48f15d3cdee3004a03d04e296247625130dcbf7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 010/194] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 010/204] cma: Add vc_cma driver to enable use of CMA Signed-off-by: popcornmix @@ -80119,10 +80119,10 @@ index 0000000..5325832 + +#endif /* VC_CMA_H */ -From a5910e614bf60dd590932bd6c62c40dcb4a620a2 Mon Sep 17 00:00:00 2001 +From ebd29c2fcd995ebe287b4d9e771bd1f6730e6e13 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 011/194] bcm2708: alsa sound driver +Subject: [PATCH 011/204] bcm2708: alsa sound driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -80321,10 +80321,10 @@ index 07750ed..62c95cb 100644 if (!use_dt) { for (i = 0; i < ARRAY_SIZE(amba_devs); i++) { diff --git a/sound/arm/Kconfig b/sound/arm/Kconfig -index 885683a..fcbe9d7 100644 +index e040621..7746e5d2 100644 --- a/sound/arm/Kconfig +++ b/sound/arm/Kconfig -@@ -39,5 +39,13 @@ config SND_PXA2XX_AC97 +@@ -40,5 +40,13 @@ config SND_PXA2XX_AC97 Say Y or M if you want to support any AC97 codec attached to the PXA2xx AC97 interface. @@ -82964,10 +82964,10 @@ index 0000000..af3e6eb + +#endif // _VC_AUDIO_DEFS_H_ -From 0293a3d83cbf9cd1778b2cbd34cfa7366b3da2f3 Mon Sep 17 00:00:00 2001 +From 4978dc22bb85d1c218085aa253224bdaea6f89fc Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 012/194] bcm2708 vchiq driver +Subject: [PATCH 012/204] bcm2708 vchiq driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -96221,10 +96221,10 @@ index 0000000..b6bfa21 + return vchiq_build_time; +} -From 3aca37235e8642ca143e97066f0f9bafb01e8903 Mon Sep 17 00:00:00 2001 +From 5c91907c6aec2d89bf1d57ab85e01bfdab1f0801 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 16:07:06 +0100 -Subject: [PATCH 013/194] vc_mem: Add vc_mem driver +Subject: [PATCH 013/204] vc_mem: Add vc_mem driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -97230,10 +97230,10 @@ index 0000000..20a4753 + +#endif /* _VC_MEM_H */ -From 28d20ca0e48cb659bc2f6a629636397378b80f91 Mon Sep 17 00:00:00 2001 +From 40c1f77329886c79e9ac40afe3dee52dec5a0f5f Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 014/194] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 014/204] 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 @@ -101643,10 +101643,10 @@ index 0000000..0bfb42e +MODULE_DESCRIPTION("VideoCore SharedMemory Driver"); +MODULE_LICENSE("GPL v2"); -From 5026ce3b4e280f8c69c792473316dcf0ef9cf7bb Mon Sep 17 00:00:00 2001 +From 89476e1e5132eb053f40bcad4d31903c2660d737 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:51:55 +0100 -Subject: [PATCH 015/194] Add hwrng (hardware random number generator) driver +Subject: [PATCH 015/204] Add hwrng (hardware random number generator) driver --- drivers/char/hw_random/Kconfig | 13 +++- @@ -101823,10 +101823,10 @@ index 0000000..340f004 +MODULE_DESCRIPTION("BCM2708 H/W Random Number Generator (RNG) driver"); +MODULE_LICENSE("GPL and additional rights"); -From bb39dc15ebce6c54d6b2416b8b26e5afea580fbf Mon Sep 17 00:00:00 2001 +From 0f09a4b263925916b493657ad19334d1b62ee299 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 016/194] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 016/204] 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 @@ -102679,10 +102679,10 @@ index 0000000..24563ec +module_param(debug, bool, S_IRUGO | S_IWUSR); +MODULE_PARM_DESC(debug, "Enable debugging messages"); -From b86f8631e2d540d09df3c950f53eb5c8c2160c01 Mon Sep 17 00:00:00 2001 +From 7dc35f47e29f40755b9a66b6c1b8f693d0a7e414 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 017/194] Add cpufreq driver +Subject: [PATCH 017/204] Add cpufreq driver Signed-off-by: popcornmix --- @@ -102955,10 +102955,10 @@ index 0000000..6735da9 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 408055fb17cc2615b730f8ca781bf00836ff4058 Mon Sep 17 00:00:00 2001 +From d8057ff6ba5dece8ae393713e563362dc53bbde4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 018/194] Added hwmon/thermal driver for reporting core +Subject: [PATCH 018/204] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -103255,10 +103255,10 @@ index 0000000..3bc80f1 + +module_platform_driver(bcm2835_thermal_driver); -From f612d1c8b575aba42c328a48d6b442e411937d3b Mon Sep 17 00:00:00 2001 +From 320c58bca444bc390f7eccfebbb529fe8e98ed10 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:41:33 +0100 -Subject: [PATCH 019/194] Add Chris Boot's spi driver. +Subject: [PATCH 019/204] Add Chris Boot's spi driver. spi: bcm2708: add device tree support @@ -104170,10 +104170,10 @@ index 0000000..041b5e2 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 71b325cf11468a3aea102146173c8b061e4af9cd Mon Sep 17 00:00:00 2001 +From db4e6f4abd7eb95d3224be99d7f04c791f4ceb8d Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 17 Jun 2015 15:44:08 +0100 -Subject: [PATCH 020/194] Add Chris Boot's i2c driver +Subject: [PATCH 020/204] Add Chris Boot's i2c driver i2c-bcm2708: fixed baudrate @@ -104974,10 +104974,10 @@ index 0000000..8773203 +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 83442dc82575a0e27f036d37ad2e6070e2ac9612 Mon Sep 17 00:00:00 2001 +From fb0599a8dc95e605fe75e510c39a99e77fe627f8 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 021/194] bcm2835: add v4l2 camera device +Subject: [PATCH 021/204] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -112304,10 +112304,10 @@ index 0000000..9d1d11e + +#endif /* MMAL_VCHIQ_H */ -From 8329756aea16aec7cf3b751506a9183189b63e0a Mon Sep 17 00:00:00 2001 +From 55141e6e23fd7c2f2b98d6f472dd4e1f11fcdb50 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 23 Jan 2015 14:48:55 +0000 -Subject: [PATCH 022/194] scripts/dtc: Update to upstream version with overlay +Subject: [PATCH 022/204] scripts/dtc: Update to upstream version with overlay patches --- @@ -117520,10 +117520,10 @@ index 54d4e904..d644002 100644 -#define DTC_VERSION "DTC 1.4.0-dirty" +#define DTC_VERSION "DTC 1.4.1-g36c70742" -From 5659258d92d8e737c1d2051f76288964bfffd732 Mon Sep 17 00:00:00 2001 +From 8bddbe464074570457bca032ebee779eb9814d13 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 11 May 2015 09:00:42 +0100 -Subject: [PATCH 023/194] scripts: Add mkknlimg and knlinfo scripts from tools +Subject: [PATCH 023/204] scripts: Add mkknlimg and knlinfo scripts from tools repo The Raspberry Pi firmware looks for a trailer on the kernel image to @@ -118008,10 +118008,10 @@ index 0000000..3dff948 + return (($val eq 'y') || ($val eq '1')); +} -From a745783eaa9f2c7bb386d5b2e2eb5c630a720d45 Mon Sep 17 00:00:00 2001 +From febe480850daa451009a87a3b86278f3d7dbaa10 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 5 Dec 2014 17:26:26 +0000 -Subject: [PATCH 024/194] fdt: Add support for the CONFIG_CMDLINE_EXTEND option +Subject: [PATCH 024/204] fdt: Add support for the CONFIG_CMDLINE_EXTEND option --- drivers/of/fdt.c | 29 ++++++++++++++++++++++++----- @@ -118066,10 +118066,10 @@ index d91f721..02feb00 100644 pr_debug("Command line is: %s\n", (char*)data); -From 40422f4d1e477646fe048603ef640d260b162bef Mon Sep 17 00:00:00 2001 +From 35658cc32f834e0bad12e6206b7ffb6af9eddbe6 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 025/194] BCM2708: Add core Device Tree support +Subject: [PATCH 025/204] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -121946,10 +121946,10 @@ index 0000000..66a98f6 + }; +}; -From d3d477c85c9dfb667c233debe50362a0e8f8fae6 Mon Sep 17 00:00:00 2001 +From 7c4a63015f03594469922e65ae613bbc4e54c4cf Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 026/194] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 026/204] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -122042,10 +122042,10 @@ index fb795c3..fa72af0 100644 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From 65c2f3ef479f7832252cba9776f20488aa3d8171 Mon Sep 17 00:00:00 2001 +From 4f1485790c96ee05b7fd08c23905f8957c8f2b61 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 029/194] Speed up console framebuffer imageblit function +Subject: [PATCH 029/204] 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 @@ -122254,10 +122254,10 @@ index a2bb276..436494f 100644 start_index, pitch_index); } else -From 46c415aa3d9d901af90d3ee968a7e20eb865d224 Mon Sep 17 00:00:00 2001 +From efd2fa9ef6e7848d0494f1a66d46e9280d507f4e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 030/194] Allow mac address to be set in smsc95xx +Subject: [PATCH 030/204] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -122348,10 +122348,10 @@ index 26423ad..e29a323 100644 if (smsc95xx_read_eeprom(dev, EEPROM_MAC_OFFSET, ETH_ALEN, dev->net->dev_addr) == 0) { -From ccba4f76d2d8acf925cb0173e7865cab162d6031 Mon Sep 17 00:00:00 2001 +From 625c18792c5c8272af5237599d44d852e0996bdf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 031/194] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 031/204] 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 @@ -122749,10 +122749,10 @@ index d58594a..feae942 100644 unsigned int ext_pullup_enable_pin; unsigned int pullup_duration; -From 04bc86ea16b589d4c5392441a9226f365eb4e934 Mon Sep 17 00:00:00 2001 +From 8b7527453528e339a4586eec937857f1b994daae Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 033/194] config: Enable CONFIG_MEMCG, but leave it disabled +Subject: [PATCH 033/204] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -122795,10 +122795,10 @@ index 4d65b66..dd258ff 100644 { printk("cgroup: using legacy files on the default hierarchy\n"); diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index a04225d..a2ef8af 100644 +index 68dea90..6fd0c4f 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c -@@ -5388,6 +5388,7 @@ struct cgroup_subsys memory_cgrp_subsys = { +@@ -5389,6 +5389,7 @@ struct cgroup_subsys memory_cgrp_subsys = { .dfl_cftypes = memory_files, .legacy_cftypes = mem_cgroup_legacy_files, .early_init = 0, @@ -122807,10 +122807,10 @@ index a04225d..a2ef8af 100644 /** -From eddb6053ac89b626ffe6b60c678437a334b06075 Mon Sep 17 00:00:00 2001 +From 727594aaa8ab739ea1c22eca69bf5400948af0d1 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:33:38 +0100 -Subject: [PATCH 034/194] ASoC: Add support for BCM2708 +Subject: [PATCH 034/204] ASoC: Add support for BCM2708 This driver adds support for digital audio (I2S) for the BCM2708 SoC that is used by the @@ -123953,10 +123953,10 @@ index 0000000..6fdcbc1 + +#endif -From ff4a754b75bfac31eb14c3a06805d6a6bd21318b Mon Sep 17 00:00:00 2001 +From c0c7b62d38423b62ad3223b79f7f60802c6c1e5c Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:59:51 +0100 -Subject: [PATCH 035/194] ASoC: Add support for PCM5102A codec +Subject: [PATCH 035/204] ASoC: Add support for PCM5102A codec Some definitions to support the PCM5102A codec by Texas Instruments. @@ -124081,10 +124081,10 @@ index 0000000..126f1e9 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From c2f0f13aa7a56c787693a286a66b7efa523a9721 Mon Sep 17 00:00:00 2001 +From 0f2fff9145ec3742650115b422b3fa4983002668 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:04:54 +0100 -Subject: [PATCH 036/194] BCM2708: Add I2S support to board file +Subject: [PATCH 036/204] BCM2708: Add I2S support to board file Adds the required initializations for I2S to the board file of mach-bcm2708. @@ -124173,10 +124173,10 @@ index a3b65dc..a515992 100644 for (i = 0; i <= 1; i++) { void __iomem *base; -From 55d1827c5a972cfd10da253aa06d8f8abc80498b Mon Sep 17 00:00:00 2001 +From b7db156b7135bd8023bc2e553fa802f10b33df21 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 037/194] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 037/204] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -124325,10 +124325,10 @@ index 0000000..4b70b45 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 55da93510f26d0155f6d4844688fc8808613fc29 Mon Sep 17 00:00:00 2001 +From c48e1b97199c72f611b2f0937d36bc98a7169bba Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:21:34 +0100 -Subject: [PATCH 038/194] BCM2708: Add HifiBerry DAC to board file +Subject: [PATCH 038/204] BCM2708: Add HifiBerry DAC to board file This adds the initalization of the HifiBerry DAC to the mach-bcm2708 board file. @@ -124376,10 +124376,10 @@ index 01f2de7..1d9b788 100644 for (i = 0; i < ARRAY_SIZE(amba_devs); i++) { struct amba_device *d = amba_devs[i]; -From 98736acf9857e9bbf038b0b7134c0c14ddef69a8 Mon Sep 17 00:00:00 2001 +From 46355bc118b045051f833c56844bba4b71b6b666 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 20:50:28 +0100 -Subject: [PATCH 039/194] ASoC: BCM2708: Add support for RPi-DAC +Subject: [PATCH 039/204] ASoC: BCM2708: Add support for RPi-DAC This adds a machine driver for the RPi-DAC. @@ -124674,10 +124674,10 @@ index 0000000..b4eaa44 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 7a7a54178ae9dbcdb98ffb2c986976ccec24143d Mon Sep 17 00:00:00 2001 +From 81991e83d009ef30b23b0f7190042479293aa418 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 040/194] ASoC: wm8804: Implement MCLK configuration options, +Subject: [PATCH 040/204] 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 @@ -124717,10 +124717,10 @@ index 1e403f6..d4efa85 100644 #define WM8804_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | \ -From 80a8450207698b78e1e2706c78be917a0a2d226e Mon Sep 17 00:00:00 2001 +From bf20cf45c9c208ff4a47465f3297196806b95da7 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 041/194] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 041/204] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -124985,10 +124985,10 @@ index 0000000..92e9e46 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From e9935d1eae17cdcb2c0b7b6cdb3120462673efd2 Mon Sep 17 00:00:00 2001 +From ebfceb0a7d6a4854618c00339d571421b7a18b68 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:26:08 +0100 -Subject: [PATCH 042/194] BCM2708: Added support for HiFiBerry Digi board Board +Subject: [PATCH 042/204] BCM2708: Added support for HiFiBerry Digi board Board initalization by I2C Signed-off-by: Daniel Matuschek @@ -125035,10 +125035,10 @@ index 6d53beb..a062d7f 100644 bcm_register_device_dt(&snd_rpi_dac_device); bcm_register_device_dt(&snd_pcm1794a_codec_device); -From af889ad42b8707233529ff69e4777cdbebdb1fda Mon Sep 17 00:00:00 2001 +From b9597317ed9afa6fe3712758c0ad5d1b11766d60 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:36:35 +0100 -Subject: [PATCH 043/194] ASoC: wm8804: Set idle_bias_off to false Idle bias +Subject: [PATCH 043/204] ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup Signed-off-by: Daniel Matuschek @@ -125060,10 +125060,10 @@ index d4efa85..f3f26a2 100644 .dapm_widgets = wm8804_dapm_widgets, .num_dapm_widgets = ARRAY_SIZE(wm8804_dapm_widgets), -From cb559a1b74c95bcdf53c269f4b3c439d494b95cf Mon Sep 17 00:00:00 2001 +From 098e66a4235451ad64c8bc1349496fc68a0e16fc Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 044/194] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 044/204] Add IQaudIO Sound Card support for Raspberry Pi Set a limit of 0dB on Digital Volume Control @@ -125271,10 +125271,10 @@ index 0000000..aff7377 +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 98b208c6abab24c6ffa353c71933902ae0eca8b0 Mon Sep 17 00:00:00 2001 +From a2878cc4a414348ab3b5be3ad44f04ae8e77e3ab Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Jun 2014 13:42:01 +0100 -Subject: [PATCH 045/194] vmstat: Workaround for issue where dirty page count +Subject: [PATCH 045/204] vmstat: Workaround for issue where dirty page count goes negative See: @@ -125301,10 +125301,10 @@ index 82e7db7..f87d16d 100644 static inline void __inc_zone_page_state(struct page *page, -From 92feba25f0f1820019519a4da1f22c9583b030b3 Mon Sep 17 00:00:00 2001 +From 0fb0113068c3d68d396dff09129369bd7719bb41 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 046/194] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 046/204] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -125340,10 +125340,10 @@ index eab5bd6..ca47de9 100644 ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From 047bb9ea625a0e2d10cb3185fdab05eb3c123fae Mon Sep 17 00:00:00 2001 +From b5950dd391670c2090ca047af33ba1f5b330b272 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 047/194] Added support for HiFiBerry DAC+ +Subject: [PATCH 047/204] 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. @@ -125554,10 +125554,10 @@ index 0000000..c63387b +MODULE_DESCRIPTION("ASoC Driver for HiFiBerry DAC+"); +MODULE_LICENSE("GPL v2"); -From d417f6c0d6949188bf72f572791ecb35afdd4ea5 Mon Sep 17 00:00:00 2001 +From 83ead1b240ffde9c9c592533b4b116ae721e6893 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 048/194] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 048/204] 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. @@ -126426,10 +126426,10 @@ index 0000000..8f019e0 + +#endif /* _TAS5713_H */ -From 03d656c1e3f44f046045801e81cd04ffb240ae1a Mon Sep 17 00:00:00 2001 +From d78d9b666c8a7fb477945825a161505701e11b28 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Apr 2015 19:14:18 +0100 -Subject: [PATCH 049/194] bcm2708: Allow option card devices to be configured +Subject: [PATCH 049/204] bcm2708: Allow option card devices to be configured via DT If the kernel is built with Device Tree support, and if a DT blob @@ -126454,10 +126454,10 @@ index 03fa1cb..c816526 100644 static struct platform_driver bcm2835_i2s_driver = { .probe = bcm2835_i2s_probe, -From b6953d682b2b312f1a259dac2595d4a1f39996af Mon Sep 17 00:00:00 2001 +From 0cf6cbc05769deca2546837472623fc4e7b56c11 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 18:45:39 +0100 -Subject: [PATCH 050/194] Adding Device Tree support for some RPi audio cards +Subject: [PATCH 050/204] Adding Device Tree support for some RPi audio cards --- arch/arm/mach-bcm2709/bcm2709.c | 143 ++++++++++++++++++++++++++++++++++++++ @@ -126820,10 +126820,10 @@ index 126f1e9..7c6598e 100644 }; -From 59955697bc15f97b2c9d39fdfd07d0cc44f6bce8 Mon Sep 17 00:00:00 2001 +From 1548b70b26d3607e2f51c46f98c09f704911e4ae Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Wed, 29 Oct 2014 23:30:30 -0700 -Subject: [PATCH 051/194] Added support to reserve/enable a GPIO pin to be used +Subject: [PATCH 051/204] Added support to reserve/enable a GPIO pin to be used from pps-gpio module (LinuxPPS). Enable PPS modules in default config for RPi. @@ -126959,10 +126959,10 @@ index 57e1f3d..721559b 100644 +module_param(pps_gpio_pin, int, 0644); +MODULE_PARM_DESC(pps_gpio_pin, "Set GPIO pin to reserve for PPS"); -From c26d9c1d3493331c6a87f2301a4fc1aa755debd1 Mon Sep 17 00:00:00 2001 +From c7e1fd615565779916e66d987595521dcefc691c Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Sat, 31 Jan 2015 18:25:49 -0700 -Subject: [PATCH 052/194] Update ds1307 driver for device-tree support +Subject: [PATCH 052/204] Update ds1307 driver for device-tree support Signed-off-by: Ryan Coe --- @@ -126989,10 +126989,10 @@ index 4ffabb3..c6789a7 100644 .driver = { .name = "rtc-ds1307", -From 5a10e7bdb11bdeb128f7705d9409d0597dba138d Mon Sep 17 00:00:00 2001 +From 5d7ba67c43373946a8b3c8bed5f2e6e23090a09d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 6 Feb 2015 13:50:57 +0000 -Subject: [PATCH 053/194] BCM270x_DT: Add pwr_led, and the required "input" +Subject: [PATCH 053/204] BCM270x_DT: Add pwr_led, and the required "input" trigger The "input" trigger makes the associated GPIO an input. This is to support @@ -127103,10 +127103,10 @@ index 0000000..2ca2b98 +MODULE_DESCRIPTION("Set LED GPIO to Input \"trigger\""); +MODULE_LICENSE("GPL"); -From 72874b8ea7e0163a45c85f516b97e26349821b1d Mon Sep 17 00:00:00 2001 +From dfc29014435e46cbc28a4cdcdf1bff215964e13b Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 20 Jun 2014 17:19:27 +0100 -Subject: [PATCH 054/194] bcm2709: Simplify and strip down IRQ handler +Subject: [PATCH 054/204] bcm2709: Simplify and strip down IRQ handler --- arch/arm/include/asm/entry-macro-multi.S | 2 + @@ -127325,10 +127325,10 @@ index d08591b..08d184c 100644 +1: get_irqnr_and_base r0, r2, r6, lr + .endm -From 84aa8f7265e0ec7e51faf76854c44176e0d4ba00 Mon Sep 17 00:00:00 2001 +From ee705807744ab8001d5ae997102c0c8c9785dafe Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 12 Feb 2015 11:17:53 +0000 -Subject: [PATCH 055/194] Fix LED "input" trigger implementation for 3.19 +Subject: [PATCH 055/204] Fix LED "input" trigger implementation for 3.19 --- drivers/leds/leds-gpio.c | 10 +++++++++- @@ -127415,10 +127415,10 @@ index 9a2b000..60accc5 100644 /* Set LED brightness level */ /* Must not sleep, use a workqueue if needed */ -From d0ed177e729b655e9c30381cc1eb7bcf4707cb97 Mon Sep 17 00:00:00 2001 +From 27e98ca305c67ee354c42983a43f09b2e59ce5b5 Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 056/194] pinctrl-bcm2835: Set base to 0 give expected gpio +Subject: [PATCH 056/204] pinctrl-bcm2835: Set base to 0 give expected gpio numbering Signed-off-by: Noralf Tronnes @@ -127440,10 +127440,10 @@ index 8d908e3..7a1900d 100644 .can_sleep = false, }; -From 5f91a4dffe91a3cfabe202b31d40e58f9c4300cd Mon Sep 17 00:00:00 2001 +From e4022c2c7ada3dc69da92db183132c86cdc7d730 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 4 Feb 2015 10:02:24 +0000 -Subject: [PATCH 057/194] pinctrl-bcm2835: bcm2835_gpio_direction_output must +Subject: [PATCH 057/204] pinctrl-bcm2835: bcm2835_gpio_direction_output must set the value --- @@ -127471,10 +127471,10 @@ index 7a1900d..62f85aa 100644 static void bcm2835_gpio_set(struct gpio_chip *chip, unsigned offset, int value) -From 7231eb4f1d3c4438cef92ebc28508f882d70c67e Mon Sep 17 00:00:00 2001 +From d1c711959d41518b10f7c2797cac744c543468ad Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 24 Feb 2015 13:40:50 +0000 -Subject: [PATCH 058/194] pinctrl-bcm2835: Fix interrupt handling for GPIOs +Subject: [PATCH 058/204] pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 Contrary to the documentation, the BCM2835 GPIO controller actually has @@ -127620,10 +127620,10 @@ index 62f85aa..c7cf266 100644 }, }; -From a829200d363d26f99e477ba78c466b1fdb216bb9 Mon Sep 17 00:00:00 2001 +From 3c62244d144a37b12b9af16a34eb67b4b7cf48ba Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 26 Feb 2015 09:58:22 +0000 -Subject: [PATCH 059/194] pinctrl-bcm2835: Only request the interrupts listed +Subject: [PATCH 059/204] pinctrl-bcm2835: Only request the interrupts listed in the DTB Although the GPIO controller can generate three interrupts (four counting @@ -127650,10 +127650,10 @@ index c7cf266..986779a 100644 pc->irq_data[i].irqgroup = i; -From 6f80523ec529eae5c842f5d0c7897b20aa60b5b3 Mon Sep 17 00:00:00 2001 +From f8391406e17d282f010b8deebe0ccd26f8ea2e49 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 27 Feb 2015 15:10:24 +0000 -Subject: [PATCH 060/194] enc28j60: Add device tree compatible string and an +Subject: [PATCH 060/204] enc28j60: Add device tree compatible string and an overlay --- @@ -127687,10 +127687,10 @@ index b1b5f66..c6b6e1a 100644 .probe = enc28j60_probe, .remove = enc28j60_remove, -From f7a9d41164cc17757413b9320171b8ffa2d37ab3 Mon Sep 17 00:00:00 2001 +From eb2703ff418ab3b72d09375f7c2aa49aee9f4a0e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Mar 2015 09:26:17 +0100 -Subject: [PATCH 061/194] Add driver for rpi-proto +Subject: [PATCH 061/204] 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 @@ -127905,10 +127905,10 @@ index 0000000..c6e45a0 +MODULE_DESCRIPTION("ASoC Driver for Raspberry Pi connected to PROTO board (WM8731)"); +MODULE_LICENSE("GPL"); -From 69e7cec8f40f4dfb74a8a90765e6ec3e620a2c77 Mon Sep 17 00:00:00 2001 +From d3d38e562e57db9c529f93aedfe9fca8b5c70a38 Mon Sep 17 00:00:00 2001 From: Clive Messer Date: Thu, 2 Apr 2015 12:22:55 +0100 -Subject: [PATCH 062/194] Add Device Tree support for RPi-DAC. +Subject: [PATCH 062/204] Add Device Tree support for RPi-DAC. --- sound/soc/bcm/rpi-dac.c | 21 +++++++++++++++++++++ @@ -127983,10 +127983,10 @@ index b4eaa44..afe1b41 100644 }; -From 2ba0215ccee2c6c6ade529efcbb3596d54855fde Mon Sep 17 00:00:00 2001 +From b15b358e11a817bcc7c3d8354c8a2f6f7d30a806 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 13 Apr 2015 17:16:29 +0100 -Subject: [PATCH 063/194] config: Add default configs +Subject: [PATCH 063/204] config: Add default configs --- arch/arm/configs/bcm2709_defconfig | 1204 ++++++++++++++++++++++++++++++++++++ @@ -130411,10 +130411,10 @@ index 0000000..6a41231 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From 36014aab6345095255df33a004a5b1cc53c9519d Mon Sep 17 00:00:00 2001 +From 97b84b787de84ad70a3a3a2d7faa9c898c89077c Mon Sep 17 00:00:00 2001 From: Steve Glendinning Date: Thu, 19 Feb 2015 18:47:12 +0000 -Subject: [PATCH 064/194] smsx95xx: fix crimes against truesize +Subject: [PATCH 064/204] 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. @@ -130449,10 +130449,10 @@ index e29a323..aff63dc usbnet_skb_return(dev, ax_skb); } -From 11c84b6f4514f3080a198e11169df17488decdd2 Mon Sep 17 00:00:00 2001 +From f00f1c85db60369955c57b255c2588ff56d59fa7 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 17 Apr 2015 16:58:45 +0100 -Subject: [PATCH 065/194] smsc95xx: Disable turbo mode by default +Subject: [PATCH 065/204] smsc95xx: Disable turbo mode by default --- drivers/net/usb/smsc95xx.c | 2 +- @@ -130472,10 +130472,10 @@ index aff63dc..08a8a8c 100755 MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction"); -From 31beb06e2bf776509f4747a42f14ea0d98f72e98 Mon Sep 17 00:00:00 2001 +From 122b539270dc7e0d8ee3b6926c77f5aedb06fb67 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 17 Apr 2015 19:30:22 +0100 -Subject: [PATCH 066/194] Add blk_pos parameter to mmc multi_io_quirk callback +Subject: [PATCH 066/204] Add blk_pos parameter to mmc multi_io_quirk callback --- drivers/mmc/card/block.c | 1 + @@ -130558,10 +130558,10 @@ index b0258e8..d3cdad9 100644 struct mmc_card; -From 46e4522a701337da606e48acc878cb44de55bf7d Mon Sep 17 00:00:00 2001 +From ec8a45bdc3e0afbf5ab8ba7735608e7ca11feca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 29 Apr 2015 17:24:02 +0200 -Subject: [PATCH 067/194] bcm2835: bcm2835_defconfig +Subject: [PATCH 067/204] bcm2835: bcm2835_defconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -131891,10 +131891,10 @@ index 31cb073..2e8a95a 100644 # CONFIG_XZ_DEC_ARM is not set # CONFIG_XZ_DEC_ARMTHUMB is not set -From 79b69b32c28af0ee8ef144635982f6ba2908ca78 Mon Sep 17 00:00:00 2001 +From af1868e02b629a2e2092bf358540d6ca4dcdff6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 1 May 2015 23:00:15 +0200 -Subject: [PATCH 068/194] BCM270x_DT: Add mailbox bcm2708-vcio +Subject: [PATCH 068/204] BCM270x_DT: Add mailbox bcm2708-vcio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -131935,10 +131935,10 @@ index 721559b..4a00561 100644 #ifdef CONFIG_BCM2708_GPIO bcm_register_device_dt(&bcm2708_gpio_device); -From c1d19f13510c4a60e9b95f8cbad3cda438fe76c8 Mon Sep 17 00:00:00 2001 +From ab35f5a7f3921cd9d5d9f09f4bd82675822048dc Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 12 May 2015 14:47:56 +0100 -Subject: [PATCH 069/194] rpi-ft5406: Add touchscreen driver for pi LCD display +Subject: [PATCH 069/204] rpi-ft5406: Add touchscreen driver for pi LCD display --- drivers/input/touchscreen/Kconfig | 7 + @@ -132255,10 +132255,10 @@ index cc284ed..d3ea839 100644 VCMSG_SET_CURSOR_STATE = 0x00008011, }; -From 07cd5d06d9fee39942dcc430231db73bb53c7e5b Mon Sep 17 00:00:00 2001 +From f12bdfa033dd3c639b037c3acefc6df99e51936d Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 070/194] Improve __copy_to_user and __copy_from_user +Subject: [PATCH 070/204] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use @@ -133783,10 +133783,10 @@ index 3e58d71..0622891 100644 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From edc3241b67c3654ee59acfaead768b91aa84df02 Mon Sep 17 00:00:00 2001 +From b52da83347f05007471699518545f3c8827d762a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 27 May 2015 17:22:15 +0100 -Subject: [PATCH 071/194] bcm2835-audio: Create the platform device if the DT +Subject: [PATCH 071/204] bcm2835-audio: Create the platform device if the DT node is disabled For backwards compatibility, allow the built-in ALSA driver to be enabled @@ -133840,10 +133840,10 @@ index 4a00561..dec8043 100644 bcm_register_device_dt(&bcm2708_spi_device); -From 344087912784db8b1eee766a136a02ff817c8fca Mon Sep 17 00:00:00 2001 +From 1b9a56248747ddcba15df7f60cf739eea2977349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Wed, 3 Jun 2015 12:26:13 +0200 -Subject: [PATCH 072/194] ARM: bcm2835: Set Serial number and Revision +Subject: [PATCH 072/204] ARM: bcm2835: Set Serial number and Revision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -133902,10 +133902,10 @@ index 70f2f39..f7fdacd 100644 static const char * const bcm2835_compat[] = { -From f3602346755806054cfcf1cf2f905b29468af420 Mon Sep 17 00:00:00 2001 +From 6c1d2a6d20e29c2fb1809297925045701d8a4a2a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 16 Jun 2015 17:47:27 +0100 -Subject: [PATCH 073/194] platform: Add force_core command line setting to boot +Subject: [PATCH 073/204] platform: Add force_core command line setting to boot from a different core number --- @@ -133976,10 +133976,10 @@ index dec8043..fe71c50 100644 module_param(serial, uint, 0644); module_param(uart_clock, uint, 0644); -From 45c0c407d8f793347af885fa66d158dce5fdb452 Mon Sep 17 00:00:00 2001 +From fbedbf309c2ee139e3eace31eb388fc0c8c75301 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 18 Jun 2015 17:46:17 +0100 -Subject: [PATCH 074/194] mach-bcm270x: Enable the building of pinctrl-bcm2835 +Subject: [PATCH 074/204] mach-bcm270x: Enable the building of pinctrl-bcm2835 --- drivers/pinctrl/Makefile | 1 + @@ -133998,10 +133998,10 @@ index 6eadf04..9119513 100644 obj-$(CONFIG_ARCH_BERLIN) += berlin/ obj-y += freescale/ -From 56add5560092eda46f452d9f9dfa3c26c44fd7b8 Mon Sep 17 00:00:00 2001 +From 697b347118f88f65839dbf93dfc583b06407e791 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 19 Jun 2015 16:41:39 +0100 -Subject: [PATCH 075/194] BCM270X_DT: Document the i2s-mmap overlay +Subject: [PATCH 075/204] BCM270X_DT: Document the i2s-mmap overlay --- arch/arm/boot/dts/overlays/README | 6 ++++++ @@ -134025,10 +134025,10 @@ index 3e08f98..7fa6d33 100644 Info: Configures the IQaudio DAC audio card Load: dtoverlay=iqaudio-dac -From 894275ddffee89565ddb77ae2e1bf98aff7cfc09 Mon Sep 17 00:00:00 2001 +From 459023e570ec920d21cf3d01988a595f9027c87c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 17 Jun 2015 11:36:53 +0100 -Subject: [PATCH 076/194] bcm2835-sdhost: Improve error handling and recovery +Subject: [PATCH 076/204] bcm2835-sdhost: Improve error handling and recovery 1) Expose the hw_reset method to the MMC framework, removing many internal calls by the driver. @@ -135120,10 +135120,10 @@ index eef8a24..6277e43 100644 if (host->allow_dma) { -From e8a98639901cab1a1a82b0282d8b49364fe547b2 Mon Sep 17 00:00:00 2001 +From 1b37e961ff949769a09160dcc9567c47f8d093e6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 4 Jun 2015 13:11:46 -0700 -Subject: [PATCH 077/194] ARM: bcm2835: Add the Raspberry Pi firmware driver +Subject: [PATCH 077/204] 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 @@ -135557,10 +135557,10 @@ index 0000000..9d9efb7 + void *data, size_t tag_size); +struct rpi_firmware *rpi_firmware_get(struct device_node *firmware_node); -From 167951d88cd1d4a33ff993c661fb4e41ab469153 Mon Sep 17 00:00:00 2001 +From 9666e309b64fbf73d945c934dc3e991e25218fba Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 22 Mar 2015 13:33:23 +0000 -Subject: [PATCH 078/194] config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING +Subject: [PATCH 078/204] config: Enable ZSMALLOC, ZRAM and PGTABLE_MAPPING --- arch/arm/configs/bcm2709_defconfig | 4 ++++ @@ -135612,10 +135612,10 @@ index 6a41231..cacde14 100644 CONFIG_BLK_DEV_CRYPTOLOOP=m CONFIG_BLK_DEV_DRBD=m -From a11d3d8a1598bc8f95e7ea50c3187d33ddd64a28 Mon Sep 17 00:00:00 2001 +From a767c3cb4c6604ad27b92a36644de098f8bdcabb Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Mon, 22 Jun 2015 16:27:07 +0100 -Subject: [PATCH 079/194] Add rpi-ft5406 overlay Add rpi-ft5406 driver as +Subject: [PATCH 079/204] Add rpi-ft5406 overlay Add rpi-ft5406 driver as module --- @@ -135702,10 +135702,10 @@ index cacde14..f952ff2 100644 CONFIG_TOUCHSCREEN_STMPE=m CONFIG_INPUT_MISC=y -From fe5fb63fcee650a8a86620ae28b340c1a26254b5 Mon Sep 17 00:00:00 2001 +From f13481ed18c0a520fc1776890d1066c1397b358f Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Tue, 23 Jun 2015 09:53:40 +0100 -Subject: [PATCH 080/194] Fix driver detection failure Check that the buffer +Subject: [PATCH 080/204] Fix driver detection failure Check that the buffer response is non-zero meaning the touchscreen was detected --- @@ -135726,10 +135726,10 @@ index f55151b..d41851d 100644 dev_dbg(&pdev->dev, "Got TS buffer 0x%x\n", request.tag.val); } -From e61f9b07f84cc33909e24abac78bd6d409c58378 Mon Sep 17 00:00:00 2001 +From 7b53303429e40fddef7ffeb405f898af16adf578 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Jun 2015 13:24:01 +0100 -Subject: [PATCH 081/194] config: Enable 8250 serial port +Subject: [PATCH 081/204] config: Enable 8250 serial port --- arch/arm/configs/bcm2709_defconfig | 7 +++++++ @@ -135777,10 +135777,10 @@ index f952ff2..0c25d8b 100644 CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_BCM2835=m -From 65f477430998ae66a22db184a70e607fc3181a28 Mon Sep 17 00:00:00 2001 +From 1ae977a7312c852775ea4bd9da294d7010e42dff Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 23 Jun 2015 14:10:58 +0100 -Subject: [PATCH 082/194] config: Enable POWER_RESET_GPIO +Subject: [PATCH 082/204] config: Enable POWER_RESET_GPIO --- arch/arm/configs/bcm2709_defconfig | 2 ++ @@ -135814,10 +135814,10 @@ index 0c25d8b..e757db6 100644 CONFIG_THERMAL=y CONFIG_THERMAL_BCM2835=y -From 35aa75e5d747e46e1198f67134c763b4f1b98594 Mon Sep 17 00:00:00 2001 +From 5c8ef44617382fa1fa35577714eb1d4e2e17b647 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 26 Jun 2015 17:37:38 +0100 -Subject: [PATCH 083/194] bcm2708-vcio: Remove restriction of only a single +Subject: [PATCH 083/204] 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). @@ -135862,10 +135862,10 @@ index d91672b..06fb2c2f 100644 return 0; -From 35f7329f05c2ecaae027667885877a8c56b94713 Mon Sep 17 00:00:00 2001 +From cc364b46f26d4d8fc925ab96616e2443f29a0a60 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 Jun 2015 08:39:19 +0100 -Subject: [PATCH 084/194] BCM270X_DT: Create a "core" clock, use it for SPI and +Subject: [PATCH 084/204] BCM270X_DT: Create a "core" clock, use it for SPI and sdhost --- @@ -136016,10 +136016,10 @@ index b408ab4..897204a 100644 }; }; -From 4f6c6987f229e576177ac3808eaac7ecbb8be626 Mon Sep 17 00:00:00 2001 +From 18fdf653ca9b05f1e30a4e1cb6bb9320b6642ea9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 09:24:31 +0100 -Subject: [PATCH 085/194] BCM270X_DT: Add MCP7941X to i2c-rtc overlay +Subject: [PATCH 085/204] BCM270X_DT: Add MCP7941X to i2c-rtc overlay --- arch/arm/boot/dts/overlays/README | 3 +++ @@ -136072,10 +136072,10 @@ index 6bccfdc..7052c71 100644 pcf8523 = <&pcf8523>,"status"; pcf8563 = <&pcf8563>,"status"; -From 11475d2c168fcfcf83b8b6bdc29650471f096ec2 Mon Sep 17 00:00:00 2001 +From 4b29016b330d96063fcb94f935b2c0a18a3a3fde Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 24 Jun 2015 11:23:06 +0100 -Subject: [PATCH 086/194] dts/overlays: document DHT11 overlay +Subject: [PATCH 086/204] dts/overlays: document DHT11 overlay --- arch/arm/boot/dts/overlays/README | 8 ++++++++ @@ -136101,10 +136101,10 @@ index 425eb19..9406cf3 100644 -From b6439fecdf33f97e09a351de75d930c804c141fc Mon Sep 17 00:00:00 2001 +From a64baab36c2fea4043c2e862efd5f2ce979d3671 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 12:16:11 +0100 -Subject: [PATCH 087/194] gpio-poweroff: Allow it to work on Raspberry Pi +Subject: [PATCH 087/204] 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 @@ -136219,10 +136219,10 @@ index e5332f1..6e3fec2 100644 "%s: pm_power_off function already registered", __func__); -From adaad06ec8f94c9cd95013453af95644956f9474 Mon Sep 17 00:00:00 2001 +From 751f8f85e9ecb31382f4b15fbf04311da32bd403 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 17 Jun 2015 17:10:40 +0100 -Subject: [PATCH 088/194] BCM270x_DT: Default Compute Module i2c, i2s and spi +Subject: [PATCH 088/204] BCM270x_DT: Default Compute Module i2c, i2s and spi support --- @@ -136312,10 +136312,10 @@ index e82fcb2..af252bd 100755 }; }; -From d0cd28880a9eb9b2a268164c147050544256cb5a Mon Sep 17 00:00:00 2001 +From 310ac993d7e597234de083f9e28a950beea57e05 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Jun 2015 14:21:55 +0100 -Subject: [PATCH 089/194] BCM270X_DT: Sort nodes by bus address, and +Subject: [PATCH 089/204] BCM270X_DT: Sort nodes by bus address, and consolidate aliases --- @@ -136557,10 +136557,10 @@ index 24fa849..ccb9c31 100644 &gpio { -From 8ca88ac3ab583e9e33cc19c1bfdc67cec98a4116 Mon Sep 17 00:00:00 2001 +From e2eb20fe73389475f652fa9ad78db6b9dc5fd780 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 22 Jun 2015 14:23:03 +0100 -Subject: [PATCH 090/194] i2c-bcm2708/BCM270X_DT: Add support for I2C2 +Subject: [PATCH 090/204] 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. @@ -136733,10 +136733,10 @@ index 8773203..7a24fbe 100644 goto out_free_bi; } -From bd2634c01ce6a19ebe2a02dc9640103c964f9a57 Mon Sep 17 00:00:00 2001 +From 9845042a17cd1bfc818801e7a5793b00346bb242 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 29 Jun 2015 12:14:02 +0100 -Subject: [PATCH 091/194] BCM270X_DT: Correct the lirc-rpi overlay +Subject: [PATCH 091/204] BCM270X_DT: Correct the lirc-rpi overlay documentation The polarity of the "sense" parameter was inverted with respect to reality. @@ -136762,10 +136762,10 @@ index 0ed7094..ec762d2 100644 (default "-1") -From 7c518fad8a540daf0f0f4ce23f120ad335ee84ba Mon Sep 17 00:00:00 2001 +From e75018d8c8385653326af3519474b108f0f74945 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 25 Jun 2015 08:47:09 +0100 -Subject: [PATCH 092/194] bcm2835-sdhost: Further improve overclock back-off +Subject: [PATCH 092/204] bcm2835-sdhost: Further improve overclock back-off --- drivers/mmc/host/bcm2835-sdhost.c | 144 +++++++++++++++++++++----------------- @@ -137057,10 +137057,10 @@ index 6277e43..a03db06 100644 iomem = platform_get_resource(pdev, IORESOURCE_MEM, 0); -From df5af6405a664dd3613dd6000e0026d0b8d6560e Mon Sep 17 00:00:00 2001 +From 13cbc57aa3f9dd10bdc8dad7915626d1697c9903 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 10:28:59 +0100 -Subject: [PATCH 093/194] i2c-bcm2708: Increase timeouts to allow larger +Subject: [PATCH 093/204] i2c-bcm2708: Increase timeouts to allow larger transfers Use the timeout value provided by the I2C_TIMEOUT ioctl when waiting @@ -137098,10 +137098,10 @@ index 7a24fbe..8b8762d 100644 dev_err(&adap->dev, "transfer timed out\n"); goto error_timeout; -From cf7320fe23958eadcb8c885a4e6626f61d1758a6 Mon Sep 17 00:00:00 2001 +From f7d430536dec32c07a6ba6eb7ed6167ff4974855 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 10:33:52 +0100 -Subject: [PATCH 094/194] spi-bcm2708: Increase timeout from 150ms to 1s +Subject: [PATCH 094/204] spi-bcm2708: Increase timeout from 150ms to 1s See: https://github.com/raspberrypi/linux/issues/260 --- @@ -137125,10 +137125,10 @@ index 041b5e2..5c0214e 100644 struct bcm2708_spi { spinlock_t lock; -From 92405d1da943839b52b2a7d8ceb32ecc14884fe4 Mon Sep 17 00:00:00 2001 +From 9f8135d6ddcbf9ab9dd9678249c3b8c5d17a9229 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 15 Jun 2015 09:59:38 +0100 -Subject: [PATCH 095/194] bcm2708-spi: Don't use static pin configuration with +Subject: [PATCH 095/204] bcm2708-spi: Don't use static pin configuration with DT Also remove superfluous error checking - the SPI framework ensures the @@ -137167,10 +137167,10 @@ index 5c0214e..781c747 100644 master = spi_alloc_master(&pdev->dev, sizeof(*bs)); if (!master) { -From 44d3b1308f37ddb8233ec1d4ff0bc37035db2580 Mon Sep 17 00:00:00 2001 +From 8c4cdb44d24dba5443a6bc18b7729ba76967acaa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 15 Jun 2015 10:10:59 +0100 -Subject: [PATCH 096/194] bcm2708-i2s: Don't use static pin configuration with +Subject: [PATCH 096/204] bcm2708-i2s: Don't use static pin configuration with DT --- @@ -137193,20 +137193,20 @@ index a515992..5e93cd6 100644 /* * Adjust the data length according to the format. -From 2a1da619b98c4efc002e67e20c3b05d5c0019bb7 Mon Sep 17 00:00:00 2001 +From 21f6968a52663113eab7b89f7cb192e92d8ea951 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 14:12:42 +0100 -Subject: [PATCH 097/194] serial: 8250: Don't crash when nr_uarts is 0 +Subject: [PATCH 097/204] serial: 8250: Don't crash when nr_uarts is 0 --- drivers/tty/serial/8250/8250_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c -index 4506e40..f03a19a 100644 +index b4fd8de..f459feb 100644 --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c -@@ -3262,6 +3262,8 @@ static void __init serial8250_isa_init_ports(void) +@@ -3270,6 +3270,8 @@ static void __init serial8250_isa_init_ports(void) if (nr_uarts > UART_NR) nr_uarts = UART_NR; @@ -137216,10 +137216,10 @@ index 4506e40..f03a19a 100644 for (i = 0; i < nr_uarts; i++) { struct uart_8250_port *up = &serial8250_ports[i]; -From e3ca03c3d79b6b1c748b3a660681653bb9aaad23 Mon Sep 17 00:00:00 2001 +From afddc0087e5b1db8311454fa66909bc400151982 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 26 Jun 2015 08:50:11 +0100 -Subject: [PATCH 098/194] BCM270X_DT: Add overlay to enable uart1 +Subject: [PATCH 098/204] 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 @@ -137388,10 +137388,10 @@ index e757db6..363c894 100644 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y -From 3ff51303559b9d4af4d624ae1d995547714ffa33 Mon Sep 17 00:00:00 2001 +From 9b7dfacf1ff658c5aa03075776f71c8d6e16564e Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 24 Jun 2015 14:10:44 +0100 -Subject: [PATCH 099/194] spi-bcm2835: Support pin groups other than 7-11 +Subject: [PATCH 099/204] 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 @@ -137472,10 +137472,10 @@ index a506773..cf3190f 100644 /* and set up the "mode" and level */ dev_info(&spi->dev, "setting up native-CS%i as GPIO %i\n", -From 1cb594e055d515441db699c6830e6118b3249141 Mon Sep 17 00:00:00 2001 +From c26edc1513a5086a1a4e0c16746d52423b0259c8 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 17:37:38 +0100 -Subject: [PATCH 100/194] BCM270X_DT: Change pio_limit of sdhost driver to 1 +Subject: [PATCH 100/204] BCM270X_DT: Change pio_limit of sdhost driver to 1 --- arch/arm/boot/dts/overlays/sdhost-overlay.dts | 2 +- @@ -137495,10 +137495,10 @@ index 897204a..2da14a4 100644 }; }; -From ff86e95037b78274e2902d18d76090dcb003e0f2 Mon Sep 17 00:00:00 2001 +From 83dda549d089cd0117282ec6edebd697fa59f173 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 1 Jul 2015 12:51:52 +0100 -Subject: [PATCH 101/194] bcm2835-sdhost: Clear HBLC for PIO mode +Subject: [PATCH 101/204] bcm2835-sdhost: Clear HBLC for PIO mode Also update pio_limit default in overlay README. --- @@ -137534,10 +137534,10 @@ index a03db06..d65870a 100644 BUG_ON(!host->data); } -From df4296ba4b42b56831e16c492dc70f1097a7c502 Mon Sep 17 00:00:00 2001 +From ecdc3c6d8615d2f5df08e2514cb0b6b12be840e1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 3 Jul 2015 12:21:01 +0100 -Subject: [PATCH 102/194] BCM270X_DT: I2S needs function Alt2 +Subject: [PATCH 102/204] BCM270X_DT: I2S needs function Alt2 --- arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 2 +- @@ -137599,10 +137599,10 @@ index f25f0a2..62d1c62 100644 }; -From ac63105dd026fcea06b4879913f2bac239203296 Mon Sep 17 00:00:00 2001 +From 906a4b80abdc53ea1369eb0ecf310a4b906d2f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:16:15 +0200 -Subject: [PATCH 103/194] configs: Incorporate v4.1 dependency changes +Subject: [PATCH 103/204] configs: Incorporate v4.1 dependency changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -137765,10 +137765,10 @@ index 363c894..80f84d7 100644 CONFIG_CRC_ITU_T=y CONFIG_LIBCRC32C=y -From 8d3f34752522072649e35cc388247776f7516c80 Mon Sep 17 00:00:00 2001 +From 03edd2dd4b9c016f440383c9fae725f5c4e73eca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 3 Jul 2015 15:47:33 +0100 -Subject: [PATCH 104/194] bcmrpi_defconfigs: Add SND_SOC_WM8804_I2C (for +Subject: [PATCH 104/204] 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 @@ -137803,10 +137803,10 @@ index 80f84d7..14b91fdf 100644 CONFIG_SOUND_PRIME=m CONFIG_HIDRAW=y -From 78f7ddbbccddd77abc39c534e4181c067268f057 Mon Sep 17 00:00:00 2001 +From b1c7182dc37e87b47377b529de6e54a431fc07aa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Sat, 4 Jul 2015 19:55:23 +0100 -Subject: [PATCH 105/194] squash: BCM270X_DT: I2S only needs Alt2 on 28-31 +Subject: [PATCH 105/204] squash: BCM270X_DT: I2S only needs Alt2 on 28-31 See: https://github.com/raspberrypi/linux/issues/1046 --- @@ -137855,10 +137855,10 @@ index 62d1c62..f25f0a2 100644 }; -From 8a6c44d157b3d7b8a2ffbb5bfcd9929112e285cb Mon Sep 17 00:00:00 2001 +From b52bc261c9b3c08ac73aca166afb05090ffca7eb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 8 Jul 2015 14:48:57 +0100 -Subject: [PATCH 106/194] vchiq_arm: Two cacheing fixes +Subject: [PATCH 106/204] vchiq_arm: Two cacheing fixes 1) Make fragment size vary with cache line size Without this patch, non-cache-line-aligned transfers may corrupt @@ -138129,10 +138129,10 @@ index c739083..5edba23 100644 kfree(pagelist); } -From 6aee5d67caeb35ea46173fd667acb8db50d4b8e3 Mon Sep 17 00:00:00 2001 +From fc0a0a8a198ad39fa58dd4e2b3efba0a89a9d627 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 30 Jun 2015 09:10:36 +0100 -Subject: [PATCH 107/194] BCM270X_DT: Overlay for the Fen Logic VGA666 board +Subject: [PATCH 107/204] 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 @@ -138214,10 +138214,10 @@ index 0000000..7fcab96 + }; +}; -From ceeff37240ae30a6dcaaaa60139d07250d815ad2 Mon Sep 17 00:00:00 2001 +From c9eb6844bc315ee5ab2c807f873ca04d45fc6303 Mon Sep 17 00:00:00 2001 From: petit-miner Date: Fri, 10 Jul 2015 13:59:18 +0200 -Subject: [PATCH 108/194] Added support for 2 mcp2515 CAN Bus IC +Subject: [PATCH 108/204] Added support for 2 mcp2515 CAN Bus IC See: https://github.com/raspberrypi/linux/issues/1018 https://github.com/raspberrypi/linux/pull/1049 @@ -138347,10 +138347,10 @@ index 0000000..6bef9ae + }; +}; -From da5403849fcc135a3448b43e89642e2ea6551c0d Mon Sep 17 00:00:00 2001 +From 632d8b6abe925d8300a9c824856ea7c286d95229 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 5 May 2015 13:27:45 -0700 -Subject: [PATCH 109/194] mailbox: Enable BCM2835 mailbox support +Subject: [PATCH 109/204] 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 @@ -138629,10 +138629,10 @@ index 0000000..4b13268 +MODULE_DESCRIPTION("BCM2835 mailbox IPC driver"); +MODULE_LICENSE("GPL v2"); -From 7ce183a315873dea7a5e7bbe87aed0b014da3e2f Mon Sep 17 00:00:00 2001 +From d9468dc86cfdb7fed108e1e888979b622d578f71 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 13 May 2015 13:10:32 -0700 -Subject: [PATCH 110/194] mailbox/bcm2835: Fix mailbox full detection. +Subject: [PATCH 110/204] 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 @@ -138671,10 +138671,10 @@ index 4b13268..0b47dd4 100644 return ret; } -From 4fe6ec85193b087974ff98c9f045c75e1140f4df Mon Sep 17 00:00:00 2001 +From 518512c73c439f3684fbe42f07048b79be906f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:19:30 +0200 -Subject: [PATCH 111/194] mailbox: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 111/204] mailbox: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -138790,10 +138790,10 @@ index 19b491d..cc07d71 100644 dev_dbg(dev, "%s: mailbox not free\n", __func__); mutex_unlock(&con_mutex); -From 84366c44917358cb25a7d32db1a875a76dc01172 Mon Sep 17 00:00:00 2001 +From 69b0fd32b30439447e33723fde68aadaed7d9b42 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 4 Jun 2015 13:11:47 -0700 -Subject: [PATCH 112/194] ARM: bcm2835: Add the firmware driver information to +Subject: [PATCH 112/204] ARM: bcm2835: Add the firmware driver information to the RPi DT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -138827,10 +138827,10 @@ index 466f02b..5cdfd5a 100644 audio: audio { compatible = "brcm,bcm2835-audio"; -From 32122f07a1b53f457f2e58f70e36d8ba40830747 Mon Sep 17 00:00:00 2001 +From 0438cbca296cfb3bc165b1f54c4e16f57f5760f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:21:20 +0200 -Subject: [PATCH 113/194] firmware: bcm2835: Add missing property tags +Subject: [PATCH 113/204] firmware: bcm2835: Add missing property tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -138892,10 +138892,10 @@ index 9d9efb7..d3933af 100644 RPI_FIRMWARE_GET_COMMAND_LINE = 0x00050001, RPI_FIRMWARE_GET_DMA_CHANNELS = 0x00060001, -From 3a4eb21d0f34ac3731ad50254d9647a9c6149b60 Mon Sep 17 00:00:00 2001 +From 2df587b5e056fb8a0eba5efc2023533efb2807be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:25:01 +0200 -Subject: [PATCH 114/194] firmware: bcm2835: Support ARCH_BCM270x +Subject: [PATCH 114/204] firmware: bcm2835: Support ARCH_BCM270x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139001,10 +139001,10 @@ index dd506cd3..b980d53 100644 MODULE_AUTHOR("Eric Anholt "); MODULE_DESCRIPTION("Raspberry Pi firmware driver"); -From 6bb3159eec777f0be2bde6fa326630902922fa1d Mon Sep 17 00:00:00 2001 +From c9295b68944211995a84d596a904f9657b4482c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:26:10 +0200 -Subject: [PATCH 115/194] firmware: bcm2835: Support legacy mailbox API +Subject: [PATCH 115/204] firmware: bcm2835: Support legacy mailbox API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139094,10 +139094,10 @@ index d3933af..9a08cf1 100644 u32 tag, void *data, size_t len); int rpi_firmware_property_list(struct rpi_firmware *fw, -From ae8233fb7fb37dff484ef02baa582505c603fe56 Mon Sep 17 00:00:00 2001 +From 2f10d2c9d55ec24c07d869e591d7db9fdde5dfa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:27:06 +0200 -Subject: [PATCH 116/194] char: broadcom: Add vcio module +Subject: [PATCH 116/204] char: broadcom: Add vcio module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139321,10 +139321,10 @@ index 0000000..c19bc20 +MODULE_DESCRIPTION("Mailbox userspace access"); +MODULE_LICENSE("GPL"); -From bedcb6319a1def5a4c70a6759d4bb9ce7254d896 Mon Sep 17 00:00:00 2001 +From 8bcd6e604c131b2009b0d9e47561cead558c3d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:37:19 +0200 -Subject: [PATCH 117/194] BCM270x: Switch to firmware driver +Subject: [PATCH 117/204] BCM270x: Switch to firmware driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139931,10 +139931,10 @@ index 06fb2c2f..2e4031b 100644 MODULE_DESCRIPTION("ARM I/O to VideoCore processor"); MODULE_LICENSE("GPL"); -From d5d6dd768567d336540aa3c1d7d32d15b27206ff Mon Sep 17 00:00:00 2001 +From 51a7a4a822bc6ab6927bc0522e5afb6bda8f52b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 26 Jun 2015 14:39:21 +0200 -Subject: [PATCH 118/194] bcm2835: Switch to firmware driver +Subject: [PATCH 118/204] bcm2835: Switch to firmware driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -139990,10 +139990,10 @@ index 47f2a6a..c284414 100644 CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y -From 68b75a870ee4e2d22cc4891458b46a3fc5efcd61 Mon Sep 17 00:00:00 2001 +From 46dd86c7b1dd676e614daca70ec3b7a31cc905f9 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Jul 2015 13:25:31 +0100 -Subject: [PATCH 119/194] Merge pull request #1059 from pelwell/rpi-4.0.y +Subject: [PATCH 119/204] Merge pull request #1059 from pelwell/rpi-4.0.y w1_therm: Back-port locking improvements from 4.2-rc1 --- @@ -140188,10 +140188,10 @@ index 55eb86c..2f029e8 100644 { int err, i; -From 3d5d028cce3291fb16c6b121205a9a737a8d62d5 Mon Sep 17 00:00:00 2001 +From 86a4624ee6bc33f41fd7f53d081096ed4aa28cca Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 11:11:51 +0100 -Subject: [PATCH 120/194] vchiq_arm: Sort out the vmalloc case +Subject: [PATCH 120/204] vchiq_arm: Sort out the vmalloc case See: https://github.com/raspberrypi/linux/issues/1055 --- @@ -140230,10 +140230,10 @@ index 5edba23..56bff05 100644 *need_release = 0; /* do not try and release vmalloc pages */ } else { -From 0695304c6d74cd2e5eabc66f121e9d6b1bbbcff8 Mon Sep 17 00:00:00 2001 +From 18952e8ccf8d64fb32bb7b2bbd04967047f02840 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 10:26:09 +0100 -Subject: [PATCH 121/194] spidev: Add "spidev" compatible string to silence +Subject: [PATCH 121/204] spidev: Add "spidev" compatible string to silence warning See: https://github.com/raspberrypi/linux/issues/1054 @@ -140242,10 +140242,10 @@ See: https://github.com/raspberrypi/linux/issues/1054 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c -index 92c909e..0535375 100644 +index 8fab566..a9db602 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c -@@ -706,6 +706,7 @@ static struct class *spidev_class; +@@ -707,6 +707,7 @@ static struct class *spidev_class; #ifdef CONFIG_OF static const struct of_device_id spidev_dt_ids[] = { { .compatible = "rohm,dh2228fv" }, @@ -140254,10 +140254,10 @@ index 92c909e..0535375 100644 }; MODULE_DEVICE_TABLE(of, spidev_dt_ids); -From c17de280cbfd43d84d3948dc5b175c596d090009 Mon Sep 17 00:00:00 2001 +From 58f35e5dc8355250d21db3b7ba0aa560d76a0adc Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 14 Jul 2015 14:32:47 +0100 -Subject: [PATCH 122/194] Merge pull request #1043 from XECDesign/sense-4.0 +Subject: [PATCH 122/204] Merge pull request #1043 from XECDesign/sense-4.0 mfd: Add Raspberry Pi Sense HAT core driver --- @@ -140788,7 +140788,7 @@ index 0000000..7539547 +MODULE_LICENSE("GPL"); + diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig -index 42e6c3b..3444a4c 100644 +index 15098c5..b89998b7 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2495,3 +2495,16 @@ config FB_SSD1307 @@ -141190,10 +141190,10 @@ index 0000000..56196dc + +#endif -From 33a379e0beaafde495f48d17808d40694e1b8620 Mon Sep 17 00:00:00 2001 +From 7ec906836d03f54c2f62372c25a413af323c2564 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Jul 2015 13:46:08 +0100 -Subject: [PATCH 123/194] leds-gpio: Implement the brightness_get method +Subject: [PATCH 123/204] 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 @@ -141236,10 +141236,10 @@ index 3cfbd6a..4e4e132 100644 state = !!gpiod_get_value_cansleep(led_dat->gpiod); else -From 4ecae9ad0da8efb48cc08dce1d3d97997c926cc5 Mon Sep 17 00:00:00 2001 +From 0cfac48f6780a5038da6e0fc0e37dfc3975f2077 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Fri, 17 Jul 2015 09:50:55 +0200 -Subject: [PATCH 124/194] dmaengine: bcm2708-dmaengine: Fix memory leak when +Subject: [PATCH 124/204] dmaengine: bcm2708-dmaengine: Fix memory leak when stopping a running transfer --- @@ -141259,10 +141259,10 @@ index 987ed53..73c6c00 100644 bcm2835_dma_abort(c->chan_base); -From 4d518ff962f2e8438973b9f73020799e7bcc70db Mon Sep 17 00:00:00 2001 +From 095268253a866ff43278ff24f4a7502949c6cf92 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:13 +0200 -Subject: [PATCH 125/194] BCM270X_DT: Fix I2S register map +Subject: [PATCH 125/204] BCM270X_DT: Fix I2S register map --- arch/arm/boot/dts/bcm2708_common.dtsi | 4 ++-- @@ -141284,10 +141284,10 @@ index 2dd25f7..728e14a 100644 //dmas = <&dma 2>, // <&dma 3>; -From 1bba8a917a825f6457ee3fe7cca8a9a2fd92e91d Mon Sep 17 00:00:00 2001 +From 649b011d757054ad6d9d5702f8d3bf670a42e404 Mon Sep 17 00:00:00 2001 From: Robert Tiemann Date: Mon, 20 Jul 2015 11:01:25 +0200 -Subject: [PATCH 126/194] BCM2835_DT: Fix I2S register map +Subject: [PATCH 126/204] BCM2835_DT: Fix I2S register map --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 4 ++-- @@ -141341,10 +141341,10 @@ index 4a63704..1135120 100644 dmas = <&dma 2>, <&dma 3>; -From dc4cd36944230334e0049fdf5942ef901b1ceb06 Mon Sep 17 00:00:00 2001 +From 5076ca8360f9ad0d46a060fcde7eefe7fb10eea1 Mon Sep 17 00:00:00 2001 From: David Frey Date: Tue, 14 Jul 2015 15:57:36 +0200 -Subject: [PATCH 127/194] config: Enable SHT drivers for raspberry pi +Subject: [PATCH 127/204] config: Enable SHT drivers for raspberry pi The SHT temperature and humidity sensors are often used in weather station projects. @@ -141386,10 +141386,10 @@ index b9b5bdf..7b24274 100644 CONFIG_THERMAL_BCM2835=y CONFIG_WATCHDOG=y -From 89699711869bb4499d5c9302886fba0d71702c0b Mon Sep 17 00:00:00 2001 +From 2e23dd0be7034e7aee9795288d9de1ed151ad5fd Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jul 2015 14:07:14 +0100 -Subject: [PATCH 128/194] BCM270X_DT: Correct typo in overlays/README +Subject: [PATCH 128/204] BCM270X_DT: Correct typo in overlays/README --- arch/arm/boot/dts/overlays/README | 2 +- @@ -141409,10 +141409,10 @@ index 8792f98..ed484ae 100644 i2c_arm Set to "on" to enable the ARM's i2c interface -From 9903a1a6f323e28e05b9b04a19de02c7df0133f8 Mon Sep 17 00:00:00 2001 +From dc0a5bcc935ccc881fb4043dc949af755d3e8f1c Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jul 2015 10:53:26 +0100 -Subject: [PATCH 129/194] bcm2835-sdhost: Add the ERASE capability +Subject: [PATCH 129/204] bcm2835-sdhost: Add the ERASE capability See: https://github.com/raspberrypi/linux/issues/1076 --- @@ -141433,10 +141433,10 @@ index d65870a..57a6ad3 100644 spin_lock_init(&host->lock); -From c14ab5b4110d51e1ade3077efe9969d331728ee8 Mon Sep 17 00:00:00 2001 +From 54ef0643fae43fff2cb1583919a34f787ad132af Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jul 2015 17:32:18 +0100 -Subject: [PATCH 130/194] bcm2835-sdhost: Ignore CRC7 for MMC CMD1 +Subject: [PATCH 130/204] 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 @@ -141500,10 +141500,10 @@ index 57a6ad3..84f645f 100644 if (host->cmd->flags & MMC_RSP_PRESENT) { -From ee0ecbdb990546c53e8d20de1215c649a925879d Mon Sep 17 00:00:00 2001 +From 24f4ffb4f7a2f5b37197a168485207216b736adb Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 20 Jul 2015 14:48:21 +0100 -Subject: [PATCH 131/194] BCM270X_DT: Add unit address to gpio node name +Subject: [PATCH 131/204] BCM270X_DT: Add unit address to gpio node name --- arch/arm/boot/dts/bcm2708_common.dtsi | 2 +- @@ -141523,10 +141523,10 @@ index 728e14a..cb608df 100644 reg = <0x7e200000 0xb4>; interrupts = <2 17>, <2 18>; -From 134dd470533b0304634917c810af737596f55b3a Mon Sep 17 00:00:00 2001 +From 7d633f69a6cbc12d37782f6ab96e402eb1b18949 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 24 Jul 2015 10:36:32 +0100 -Subject: [PATCH 132/194] BCM270X_DT: Use i2c_arm for rtc and bmp085 overlays +Subject: [PATCH 132/204] BCM270X_DT: Use i2c_arm for rtc and bmp085 overlays --- arch/arm/boot/dts/overlays/bmp085_i2c-sensor-overlay.dts | 2 +- @@ -141560,10 +141560,10 @@ index 7052c71..fed4bd8 100644 #address-cells = <1>; #size-cells = <0>; -From 0322e2739a646f00cd41938f3d763e4126397e11 Mon Sep 17 00:00:00 2001 +From 70694a4073fa62862c93ab409b49d3d86071a6c0 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 24 Jul 2015 12:11:31 +0100 -Subject: [PATCH 133/194] BCM2708_DT: CM dtparams for audio, watchdog and RNG +Subject: [PATCH 133/204] BCM2708_DT: CM dtparams for audio, watchdog and RNG --- arch/arm/boot/dts/bcm2708-rpi-cm.dtsi | 8 ++++---- @@ -141593,10 +141593,10 @@ index 34d4bc6..713e5a2 100644 }; }; -From df40be6f5b7bb5ec4242345a73056d71a3c196d1 Mon Sep 17 00:00:00 2001 +From a36ecdc70162e181fac2f7b7afb952639df22384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:13:18 +0200 -Subject: [PATCH 134/194] vchiq: Use firmware API +Subject: [PATCH 134/204] vchiq: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -141712,10 +141712,10 @@ index 31e2cba..e11c0e0 100644 err = vchiq_debugfs_init(); if (err != 0) -From 0953a5b5383f6aa7745bece0883a695ec1b96393 Mon Sep 17 00:00:00 2001 +From 97df14a49141d2831362aac3d18875d271b1a97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:17:10 +0200 -Subject: [PATCH 135/194] thermal: bcm2835: Use firmware API +Subject: [PATCH 135/204] thermal: bcm2835: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -141998,10 +141998,10 @@ index 3bc80f1..c1d8f1b 100644 -module_platform_driver(bcm2835_thermal_driver); +MODULE_LICENSE("GPL"); -From 5b489616c6e3191cd60eb2f866e32478d6cb78d4 Mon Sep 17 00:00:00 2001 +From c2e3b884a9498adb58d4d403465e2d99ddd79e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:18:36 +0200 -Subject: [PATCH 136/194] cpufreq: bcm2835: Use firmware API +Subject: [PATCH 136/204] cpufreq: bcm2835: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142185,10 +142185,10 @@ index 6735da9..3eb9e93 100644 } -From 3f72415c74de28fe33eede566540ec9cd6fa0b52 Mon Sep 17 00:00:00 2001 +From 1ef7396bd8f7fa5452d762b9c534552604c0ec35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:20:59 +0200 -Subject: [PATCH 137/194] fbdev: bcm2708: Use firmware API +Subject: [PATCH 137/204] fbdev: bcm2708: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142604,10 +142604,10 @@ index f6ac7da..06a96d16 100644 free_irq(fb->dma_irq, fb); -From a2dad85cdc74f121669eaddb8e576e5743c248d5 Mon Sep 17 00:00:00 2001 +From e24a0ff68aeded060486f55911653aec60ea87c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Mon, 20 Jul 2015 12:27:17 +0200 -Subject: [PATCH 138/194] bcm2835: Add firmware property to affected devices +Subject: [PATCH 138/204] bcm2835: Add firmware property to affected devices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142688,10 +142688,10 @@ index 1135120..807264d 100644 clocks { -From 404e9a3e613083673abdb945c8d79e834c0a6b78 Mon Sep 17 00:00:00 2001 +From 4fa2f3a62adf17ef122476d8fc63b132a717d71f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Tue, 21 Jul 2015 19:09:39 +0200 -Subject: [PATCH 139/194] rpi-ft5406: Use firmware API +Subject: [PATCH 139/204] rpi-ft5406: Use firmware API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142831,10 +142831,10 @@ index d41851d..c08817e 100644 ts->regs = (struct ft5406_regs *) ts->ts_base; -From 6ef97ddf4dde5d01d5c01ef848826c83e976228a Mon Sep 17 00:00:00 2001 +From 70b5d66ef90adc3ee74708ecf15fd5fd3c6a3f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 12 Jun 2015 19:01:05 +0200 -Subject: [PATCH 140/194] irqchip: bcm2835: Add FIQ support +Subject: [PATCH 140/204] irqchip: bcm2835: Add FIQ support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -142966,10 +142966,10 @@ index 5916d6c..db66246 100644 } -From 93d022bc449cbaf4bb24f404ebd1adf2bdb8447e Mon Sep 17 00:00:00 2001 +From 48ff5ec47ad9778a6d2eb5d75ee2e161302673fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 15:50:04 +0200 -Subject: [PATCH 141/194] dwc_otg: Add ARCH_BCM2835 support +Subject: [PATCH 141/204] dwc_otg: Add ARCH_BCM2835 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143022,10 +143022,10 @@ index 0f4ebcd..5c83309 100644 } -From 96796c87f3d4ef8362a5bf657f881d3d237c8763 Mon Sep 17 00:00:00 2001 +From 28a1fd2b8afaf5524cca8890394f9fc07c8a8b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 15:50:24 +0200 -Subject: [PATCH 142/194] bcm2835: Use DWC_OTG +Subject: [PATCH 142/204] bcm2835: Use DWC_OTG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143068,10 +143068,10 @@ index c284414..14ef294 100644 CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=m -From b824f8f74d8ff163a6295d45e43a80453871e605 Mon Sep 17 00:00:00 2001 +From cf7a056866fba1d602de661a47cd0548dfe2304b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:33:16 +0200 -Subject: [PATCH 143/194] Fix RASPBERRYPI_FIRMWARE dependents +Subject: [PATCH 143/204] Fix RASPBERRYPI_FIRMWARE dependents MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143139,7 +143139,7 @@ index ddc77ad..b911213 100644 help This will enable temperature monitoring for the Broadcom BCM2835 diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig -index 3444a4c..c073d55 100644 +index b89998b7..08678b9 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -226,7 +226,7 @@ comment "Frame buffer hardware drivers" @@ -143152,10 +143152,10 @@ index 3444a4c..c073d55 100644 select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT -From 980367c4780a8a2296abe7f0e76e196c07a3ba40 Mon Sep 17 00:00:00 2001 +From 16b9943dbfbc7d7f19f44e91808dc1450ca9d4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:33:46 +0200 -Subject: [PATCH 144/194] vc_mem: Remove unnecessary include +Subject: [PATCH 144/204] vc_mem: Remove unnecessary include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143178,10 +143178,10 @@ index fcde6b1..be64f23 100644 #define DRIVER_NAME "vc-mem" -From e2b13e12e8c557916da8b6c2aece43bd82f0a93d Mon Sep 17 00:00:00 2001 +From d98428b8e2a5bb9815aaa3eed3e0777f50f55196 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:34:06 +0200 -Subject: [PATCH 145/194] configs: Remove BCM2708_MBOX +Subject: [PATCH 145/204] configs: Remove BCM2708_MBOX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143230,10 +143230,10 @@ index 7b24274..0859113 100644 # CONFIG_IOMMU_SUPPORT is not set CONFIG_EXTCON=m -From aa1bf770f553d34bab0b7fa7db0bbfddf34ba5be Mon Sep 17 00:00:00 2001 +From b3b0ebfd9dd4bcd6fe8d787aa7740a47f419da9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:34:31 +0200 -Subject: [PATCH 146/194] bcm2708-vcio: Remove module +Subject: [PATCH 146/204] bcm2708-vcio: Remove module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -143507,10 +143507,10 @@ index d3ea839..0000000 - -#endif -From 7de83afcd8a39c2f790db3f3f989ca48ff318ea9 Mon Sep 17 00:00:00 2001 +From 6fadac31b6bf0690059342642ff4453d6d95a2d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Fri, 24 Jul 2015 19:34:55 +0200 -Subject: [PATCH 147/194] Revert "firmware: bcm2835: Support legacy mailbox +Subject: [PATCH 147/204] Revert "firmware: bcm2835: Support legacy mailbox API" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -143601,10 +143601,10 @@ index 9a08cf1..d3933af 100644 u32 tag, void *data, size_t len); int rpi_firmware_property_list(struct rpi_firmware *fw, -From 5d191ced68dbf7b2e60fc302855852b124fbd097 Mon Sep 17 00:00:00 2001 +From 9418fab5167ef4095a62ba3b11d9e420595cf559 Mon Sep 17 00:00:00 2001 From: Jonathan Bell Date: Tue, 30 Jun 2015 12:35:39 +0100 -Subject: [PATCH 148/194] pinctrl: bcm2835: Clear the event latch register when +Subject: [PATCH 148/204] 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 @@ -143641,10 +143641,10 @@ index 986779a..61ef002 100644 spin_unlock_irqrestore(&pc->irq_lock[bank], flags); } -From 72f64c3b9f0e8a60737e69d259f1564eb5115717 Mon Sep 17 00:00:00 2001 +From 1a099cd189c09d3dc5d2e0ed2061cb9b0dcd2a0b Mon Sep 17 00:00:00 2001 From: P33M Date: Tue, 4 Aug 2015 01:15:20 +0100 -Subject: [PATCH 149/194] dwc_otg: fiq_fsm: Make high-speed isochronous strided +Subject: [PATCH 149/204] dwc_otg: fiq_fsm: Make high-speed isochronous strided transfers work properly Certain low-bandwidth high-speed USB devices (specialist audio devices, @@ -143784,10 +143784,10 @@ index 3f71f29..8db3dfc 100644 case FIQ_PER_SPLIT_LS_ABORTED: -From 6e59584bbf12062b6ffd778af12fe8146d340f6f Mon Sep 17 00:00:00 2001 +From 671205b0f0ec871b8fcabbab6d9a2ffb3444378c Mon Sep 17 00:00:00 2001 From: Uli Middelberg Date: Wed, 17 Jun 2015 10:36:56 +0200 -Subject: [PATCH 150/194] added basic docker support +Subject: [PATCH 150/204] added basic docker support --- arch/arm/configs/bcm2709_defconfig | 3 +++ @@ -143851,10 +143851,10 @@ index 0859113..06e7529 100644 CONFIG_FSCACHE_STATS=y CONFIG_FSCACHE_HISTOGRAM=y -From f3ace91a8cacdb53cac9cc8b4f927ad0ae43a33a Mon Sep 17 00:00:00 2001 +From 1621191b72eef418410908e1b789381f2956275e Mon Sep 17 00:00:00 2001 From: Garrett Date: Thu, 2 Jul 2015 19:32:04 -0500 -Subject: [PATCH 151/194] bcm2835 camera planar/packed stride length +Subject: [PATCH 151/204] 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 @@ -144026,47 +144026,10 @@ index 35698c8..15788a1 100644 /* buffer for one video frame */ -From 5e105b5e431139026cbe7835b761fff2b29aee4f Mon Sep 17 00:00:00 2001 -From: popcornmix -Date: Tue, 28 Jul 2015 13:55:04 +0100 -Subject: [PATCH 153/194] config: Add Mediatek mt7601u wifi driver - ---- - arch/arm/configs/bcm2709_defconfig | 2 ++ - arch/arm/configs/bcmrpi_defconfig | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig -index 661f09a..e5af037 100644 ---- a/arch/arm/configs/bcm2709_defconfig -+++ b/arch/arm/configs/bcm2709_defconfig -@@ -518,6 +518,8 @@ CONFIG_RT2800USB_RT3573=y - CONFIG_RT2800USB_RT53XX=y - CONFIG_RT2800USB_RT55XX=y - CONFIG_RT2800USB_UNKNOWN=y -+CONFIG_WL_MEDIATEK=y -+CONFIG_MT7601U=m - CONFIG_RTL8192CU=m - CONFIG_ZD1211RW=m - CONFIG_MWIFIEX=m -diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 06e7529..a377222 100644 ---- a/arch/arm/configs/bcmrpi_defconfig -+++ b/arch/arm/configs/bcmrpi_defconfig -@@ -511,6 +511,8 @@ CONFIG_RT2800USB_RT3573=y - CONFIG_RT2800USB_RT53XX=y - CONFIG_RT2800USB_RT55XX=y - CONFIG_RT2800USB_UNKNOWN=y -+CONFIG_WL_MEDIATEK=y -+CONFIG_MT7601U=m - CONFIG_RTL8192CU=m - CONFIG_ZD1211RW=m - CONFIG_MWIFIEX=m - -From 6a5e6cda778f96483adee945041ea0b3a6e2a0cb Mon Sep 17 00:00:00 2001 +From 86b0488fa249c00bd7c381fe637026a7f33a6ffa Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 17 Aug 2015 10:49:44 +0100 -Subject: [PATCH 154/194] BCM270X_DT: Add pwm and pwm-2chan overlays +Subject: [PATCH 154/204] BCM270X_DT: Add pwm and pwm-2chan overlays From the README entries: Legal pin,function combinations for each channel: @@ -144332,10 +144295,10 @@ index b1541f4..90591a9 100644 PWM framework driver for BCM2835 controller (Raspberry Pi) -From eb76a4418bd958fb754608bc7852037955e52004 Mon Sep 17 00:00:00 2001 +From 0d1f86de027a4406151de275663b2cb68d3b39f5 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 22 Apr 2015 07:33:03 +0000 -Subject: [PATCH 155/194] spi: bcm2835: fallback to interrupt for polling +Subject: [PATCH 155/204] spi: bcm2835: fallback to interrupt for polling timeouts exceeding 2 jiffies The polling mode of the driver is designed for transfers that run @@ -144471,10 +144434,10 @@ index cf3190f..505a993 100644 struct spi_device *spi, struct spi_transfer *tfr) -From 84a8c093f3479a5d6e4d9fceb6aeb5963aa07a9d Mon Sep 17 00:00:00 2001 +From 9a96e7390f5bb3db6138d07ffe6145c17e53246d Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Sun, 10 May 2015 20:47:28 +0000 -Subject: [PATCH 156/194] spi: bcm2835: enable dma modes for transfers meeting +Subject: [PATCH 156/204] spi: bcm2835: enable dma modes for transfers meeting certain conditions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -144897,10 +144860,10 @@ index 505a993..27fb5b0 100644 } -From d3937547b145fb1ef5e8883a00a68269a7b1dc0a Mon Sep 17 00:00:00 2001 +From 6e92fd1644001ba7827e2706c0ed4fd4c2d85bc1 Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Tue, 12 May 2015 10:32:08 +0000 -Subject: [PATCH 157/194] spi: bcm2835: fix kbuild compile warnings/errors and +Subject: [PATCH 157/204] spi: bcm2835: fix kbuild compile warnings/errors and a typo fixes several warnings/error emmitted by the kbuild system: @@ -144956,10 +144919,10 @@ index 27fb5b0..52aaf2d 100644 "Unaligned spi tx-transfer bridging page\n"); return false; -From ad924a632bd4f7a15387fb4fc7ce9c055fd0be0e Mon Sep 17 00:00:00 2001 +From 63ad0b9f2b638c3968473d46f732de9f28ad184b Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Tue, 12 May 2015 19:43:59 +0800 -Subject: [PATCH 158/194] spi: bcm2835: bcm2835_dma_release() can be static +Subject: [PATCH 158/204] spi: bcm2835: bcm2835_dma_release() can be static Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown @@ -144991,10 +144954,10 @@ index 52aaf2d..bad36c5 100644 struct dma_slave_config slave_config; const __be32 *addr; -From 4cfec4d6b6889bf80a0a4b78f278eb071d670173 Mon Sep 17 00:00:00 2001 +From f3260b7d15164b1ddd0f080592defb79949db0aa Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 22 Jul 2015 08:34:41 +0000 -Subject: [PATCH 159/194] dt-overlay to enable dma for spi driver +Subject: [PATCH 159/204] dt-overlay to enable dma for spi driver Signed-off-by: Martin Sperl --- @@ -145042,10 +145005,10 @@ index 0000000..266cf9d + }; + }; -From c4c4a9243b463177ecf35babdeed7a46c5db77a0 Mon Sep 17 00:00:00 2001 +From 67c4106248a6d4eaee1de239e8f18da5e08ed8fd Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 22 Jul 2015 12:41:54 +0000 -Subject: [PATCH 160/194] dt: overlay: added documentation of spi-dma overlay +Subject: [PATCH 160/204] dt: overlay: added documentation of spi-dma overlay Signed-off-by: Martin Sperl --- @@ -145070,10 +145033,10 @@ index 1cd2140..bda8c14 100644 Info: 3.5" Color TFT Display by www.tinylcd.com Options: Touch, RTC, keypad -From 663e4788b5c220726356fc77be5fee0d23d42e69 Mon Sep 17 00:00:00 2001 +From 1981274d8b58c613e5f3f0f40068f25ffcdbe481 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 17 Aug 2015 18:06:16 +0100 -Subject: [PATCH 161/194] rpisense-fb: add low-light mode and gamma control +Subject: [PATCH 161/204] rpisense-fb: add low-light mode and gamma control --- drivers/video/fbdev/rpisense-fb.c | 68 +++++++++++++++++++++++++++++--- @@ -145216,10 +145179,10 @@ index c4c1118..2ba95d7 100644 struct rpisense; -From 39bd59c69c467b6801e1955e2b1d9b8f4b38da71 Mon Sep 17 00:00:00 2001 +From 82bd9aca8c50e84e17b9c62a6d5c528aa8f0e490 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 19 Aug 2015 11:38:10 +0100 -Subject: [PATCH 162/194] BCM270X_DT: README - add note on indentation +Subject: [PATCH 162/204] BCM270X_DT: README - add note on indentation --- arch/arm/boot/dts/overlays/README | 4 ++++ @@ -145241,10 +145204,10 @@ index bda8c14..ac9c427 100644 Info: Configures the base Raspberry Pi hardware Load: -From 91f627205613e4f3c0c0190eaf7612aa6d0bb6f1 Mon Sep 17 00:00:00 2001 +From b6277bf87e266469ee14448d41209f79f3caa8d1 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Thu, 20 Aug 2015 13:50:18 +0100 -Subject: [PATCH 163/194] bcm2708-dmaengine: Use more DMA channels (but not 12) +Subject: [PATCH 163/204] 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 @@ -145418,10 +145381,10 @@ index 73c6c00..85ce18b 100644 rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); if (rc) -From 049f81e60b931b8492c1ad9ed2f6422ce71bafb4 Mon Sep 17 00:00:00 2001 +From 72de9ce92b348a0f4f9230affa0e27d3f775342e Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:03:47 +0100 -Subject: [PATCH 164/194] RaspiDAC3 support +Subject: [PATCH 164/204] RaspiDAC3 support Signed-off-by: Jan Grulich --- @@ -145772,10 +145735,10 @@ index 0000000..fddaeec +MODULE_DESCRIPTION("ASoC Driver for RaspiDAC Rev.3x"); +MODULE_LICENSE("GPL v2"); -From 8230a1d029de0a92704b59e4d14ff19cfdaf1e05 Mon Sep 17 00:00:00 2001 +From 5639b22eb081048b07152c5bd90d25d7768cb1cf Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 14 Jul 2015 16:55:02 +0100 -Subject: [PATCH 165/194] config: Add SND_SOC_ADAU1701 module +Subject: [PATCH 165/204] config: Add SND_SOC_ADAU1701 module --- arch/arm/configs/bcm2709_defconfig | 1 + @@ -145807,10 +145770,10 @@ index 8979f23..7dd4fd4 100644 CONFIG_SND_SIMPLE_CARD=m CONFIG_SOUND_PRIME=m -From 21b558621652d5f40365de2049d2906499c12f75 Mon Sep 17 00:00:00 2001 +From 6a0f88404b8cc24c073b1d157be02fbc9007788a Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Wed, 29 Jul 2015 07:34:10 +0000 -Subject: [PATCH 166/194] spi: bcm2835: fix overflow in calculation of transfer +Subject: [PATCH 166/204] spi: bcm2835: fix overflow in calculation of transfer time This resulted in the use of polling mode when other approaches @@ -145863,10 +145826,10 @@ index bad36c5..b68991c 100644 /* for short requests run polling*/ if (xfer_time_us <= BCM2835_SPI_POLLING_LIMIT_US) -From bd3acf9398a07807eb1c604234dc14a81fac13a4 Mon Sep 17 00:00:00 2001 +From 74f48a53e476a7d34ab0a58c883149b19e5bbdec Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 8 Sep 2015 15:14:50 +0100 -Subject: [PATCH 167/194] BCM270X_DT: Add SDIO overlay +Subject: [PATCH 167/204] BCM270X_DT: Add SDIO overlay Enable SDIO from MMC interface via GPIOs 22-27. Includes the sdhost overlay to free up the MMC interface. @@ -145951,10 +145914,10 @@ index 0000000..164f269 + }; +}; -From e2221d87449f7c8995e90703e4d74b438ca34b6e Mon Sep 17 00:00:00 2001 +From a216fc64bde9a95901c92deb7bcd7f3fe4567f75 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 21 Aug 2015 23:14:48 +0100 -Subject: [PATCH 168/194] Add /dev/gpiomem device for rootless user GPIO access +Subject: [PATCH 168/204] Add /dev/gpiomem device for rootless user GPIO access Signed-off-by: Luke Wren --- @@ -146299,10 +146262,10 @@ index 0000000..0085e13 +MODULE_DESCRIPTION("gpiomem driver for accessing GPIO from userspace"); +MODULE_AUTHOR("Luke Wren "); -From 8adbbbadf6a3bcd19905e9ab8a38f208af1107fd Mon Sep 17 00:00:00 2001 +From 4e9cf1447a7ef0f8f46c6a8170f44c78c1690a96 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 24 Aug 2015 16:02:34 +0100 -Subject: [PATCH 169/194] tpa6130a2: Add headphone switch control +Subject: [PATCH 169/204] tpa6130a2: Add headphone switch control Signed-off-by: Jan Grulich --- @@ -146393,10 +146356,10 @@ index 6fac9e0..f60ebe1c 100644 /* -From 085ec663985ce405fb1e54124368a27e4d8dd9e4 Mon Sep 17 00:00:00 2001 +From bdad59048f5910ea3c4439ba40a4a14ca8f1be90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sat, 11 Jul 2015 18:48:10 +0200 -Subject: [PATCH 170/194] staging: fbtft: Add reset to fbtft_init_display_dt() +Subject: [PATCH 170/204] staging: fbtft: Add reset to fbtft_init_display_dt() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146428,10 +146391,10 @@ index 53b748b..4f165d3 100644 if (val & FBTFT_OF_INIT_CMD) { val &= 0xFFFF; -From 6cc40be074b969a4b41ea3fcd2e8766c665515e9 Mon Sep 17 00:00:00 2001 +From 928b8dbc73acdb75d3f03ef7d5cf9fc639e0280c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sun, 19 Jul 2015 18:57:06 +0200 -Subject: [PATCH 171/194] BCM270X_DT: mz61581: Revert to spi-bcm2708 +Subject: [PATCH 171/204] BCM270X_DT: mz61581: Revert to spi-bcm2708 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146462,10 +146425,10 @@ index c06fe12..f674a66 100644 spidev@0{ -From 2d3ec5ab0191289c1f060eaa51c5b85c4c51eed6 Mon Sep 17 00:00:00 2001 +From 707866acc48470ec677f1fb6befdfd928d9994f1 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Tue, 1 Sep 2015 16:52:34 +0000 -Subject: [PATCH 172/194] vchiq: fix NULL pointer dereference when closing +Subject: [PATCH 172/204] vchiq: fix NULL pointer dereference when closing driver The following code run as root will cause a null pointer dereference oops: @@ -146565,10 +146528,10 @@ index f4d0b66..4055d4b 100644 struct semaphore pop; struct semaphore push; -From be71354c73cc689307b9518e8393a1186080c5f4 Mon Sep 17 00:00:00 2001 +From 2c90639076be957e3e5eb9f44e0c09719db83f7e Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:13:17 -0400 -Subject: [PATCH 173/194] bcm2708_fb: remove redundant code as detected by +Subject: [PATCH 173/204] bcm2708_fb: remove redundant code as detected by static analysis static analysis with cppcheck detected some redundant code which @@ -146600,10 +146563,10 @@ index 06a96d16..fed0672 100644 } -From a79b4171d2f06440c6aa9de4b858dca1fc32293a Mon Sep 17 00:00:00 2001 +From 473b4d43abe530f11f07dbdd9be666a90d75313c Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:15:38 -0400 -Subject: [PATCH 174/194] bcm2708_fb: remove unnecessary initialization of +Subject: [PATCH 174/204] bcm2708_fb: remove unnecessary initialization of result static analysis by cppcheck detected an unnecessary initialization @@ -146632,10 +146595,10 @@ index fed0672..0f62d76 100644 info->var.yoffset = var->yoffset; result = bcm2708_fb_set_par(info); -From 2295e77f5b4bc01a115af6a4e2d0f0b37a572a57 Mon Sep 17 00:00:00 2001 +From 94946643df81ee3acaeed9a5e0eb8944ab8492fe Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:27:36 -0400 -Subject: [PATCH 175/194] vcsm: increment res_stats MAP_FAIL stats before we +Subject: [PATCH 175/204] 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 @@ -146669,10 +146632,10 @@ index 0bfb42e..b62a3b2 100644 } -From 0045e9ee695e6a7e4da62df7c481e99a13188c18 Mon Sep 17 00:00:00 2001 +From 874c6177f126c4fdb31ed9234fe053581ff632fb Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:33:39 -0400 -Subject: [PATCH 176/194] bcm2835: camera: check for scene not being found +Subject: [PATCH 176/204] bcm2835: camera: check for scene not being found static analysis by cppcheck detected some potential NULL pointer dereference issues: @@ -146703,10 +146666,10 @@ index 3017b94..f9f903f 100644 return -EINVAL; -From e05f8eb12b6f1146b400435f852ca501026a9aca Mon Sep 17 00:00:00 2001 +From a255eb898f2ff3d63de6dbc201797ff732499dca Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 2 Sep 2015 07:47:51 -0400 -Subject: [PATCH 177/194] bcm2835: memcpy port data to m rather than rmsg +Subject: [PATCH 177/204] 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 @@ -146731,10 +146694,10 @@ index 76f249e..7813225 100644 ret = send_synchronous_mmal_msg(instance, &m, -From 3f09ec1c4223de056fefc041185ed4276f52a65c Mon Sep 17 00:00:00 2001 +From bd4d78dcb66955bc2ea1c81232db499e1f662ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sun, 13 Sep 2015 15:54:28 +0200 -Subject: [PATCH 178/194] Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708" +Subject: [PATCH 178/204] Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146762,10 +146725,10 @@ index f674a66..c06fe12 100644 spidev@0{ -From d9fab4e890cacf1b1adb59f64aadc043a1c70228 Mon Sep 17 00:00:00 2001 +From 63103cf8b12f79c02f1a6d7a851fbb6727528d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= Date: Sun, 13 Sep 2015 17:17:14 +0200 -Subject: [PATCH 179/194] BCM270X_DT: mz61581: Set txbuflen to 32k +Subject: [PATCH 179/204] BCM270X_DT: mz61581: Set txbuflen to 32k MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -146814,10 +146777,10 @@ index c06fe12..9242a6e 100644 xohms = <&mz61581_ts>,"ti,x-plate-ohms;0"; }; -From bf973dffb8d6e2622d7fba8a7438e1ecd792cc0e Mon Sep 17 00:00:00 2001 +From 6881996989b77354049455c95e8af67f278cfa48 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 11 Sep 2015 12:10:15 +0100 -Subject: [PATCH 180/194] bcm2835-mmc: Don't overwrite MMC capabilities from DT +Subject: [PATCH 180/204] bcm2835-mmc: Don't overwrite MMC capabilities from DT --- drivers/mmc/host/bcm2835-mmc.c | 5 +++-- @@ -146840,10 +146803,10 @@ index b7c4883..164bfad 100644 host->flags = SDHCI_AUTO_CMD23; -From 48c1b7e91bcd5b92b02de3b3d6bdbc5eb34e5eb8 Mon Sep 17 00:00:00 2001 +From 7bbc4815e21230a8a011d3f3cf794d765cdacb35 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Fri, 11 Sep 2015 09:14:01 +0100 -Subject: [PATCH 181/194] BCM270X_DT: Use fixed-factor-clock for uart1 +Subject: [PATCH 181/204] 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. @@ -146943,10 +146906,10 @@ index f25f0a2..76d44a2 100644 spi = <&spi0>,"status"; i2c0 = <&i2c0>,"status"; -From af29aa1dd79e6f76be281d8fbba46f671b9dc9b1 Mon Sep 17 00:00:00 2001 +From d851a069d33dba42c5c7fa023ee13f994643fa90 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:14:45 +0100 -Subject: [PATCH 182/194] Add SMI driver +Subject: [PATCH 182/204] Add SMI driver Signed-off-by: Luke Wren --- @@ -149005,10 +148968,10 @@ index 0000000..ee3a75e + +#endif /* BCM2835_SMI_H */ -From 4a837e11c809cd42c793e61bba9e7cb784395f89 Mon Sep 17 00:00:00 2001 +From f657d984e244c7348152e2edc09cd5decb2f5b55 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sat, 5 Sep 2015 01:16:10 +0100 -Subject: [PATCH 183/194] Add SMI NAND driver +Subject: [PATCH 183/204] Add SMI NAND driver Signed-off-by: Luke Wren --- @@ -149516,10 +149479,10 @@ index 0000000..b747326 + ("Driver for NAND chips using Broadcom Secondary Memory Interface"); +MODULE_AUTHOR("Luke Wren "); -From 12bb5737302a9adc5e738b00845f6275d2b3dce4 Mon Sep 17 00:00:00 2001 +From a3bf36473505511198d71fdf19e6b28b4ee55195 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 16 Sep 2015 17:28:41 +0100 -Subject: [PATCH 184/194] BCM270X_DT: Document SMI overlay +Subject: [PATCH 184/204] BCM270X_DT: Document SMI overlay --- arch/arm/boot/dts/overlays/Makefile | 6 +++--- @@ -149580,10 +149543,10 @@ index 0aa5aa1..4ab4c695 100644 Info: Selects the bcm2708-spi SPI driver Load: dtoverlay=spi-bcm2708 -From 3f4dc9b708b4e3cb365b0066242556633b83ed5d Mon Sep 17 00:00:00 2001 +From 24a9683edd38171e27a170b95a42133c2bd3890f Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 17 Sep 2015 17:13:42 +0100 -Subject: [PATCH 185/194] dwc_otg: Force host mode to fix incorrect compute +Subject: [PATCH 185/204] dwc_otg: Force host mode to fix incorrect compute module boards --- @@ -149604,10 +149567,10 @@ index e40060f..beaa8b3 100644 dwc_mdelay(100); } -From 28fc2ac47fd4f3d300fd3badeeb2db8a2ec65e40 Mon Sep 17 00:00:00 2001 +From 4f8563760264a9aedad6fec09e8adb8c3929c1a3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 15 Sep 2015 15:16:24 +0100 -Subject: [PATCH 186/194] config: Add CIFS_DFS_UPCALL, CIFS_ACL, CIFS_SMB2, +Subject: [PATCH 186/204] config: Add CIFS_DFS_UPCALL, CIFS_ACL, CIFS_SMB2, CIFS_FSCACHE --- @@ -149646,10 +149609,10 @@ index 75fa1d0..8ebc8d5 100644 CONFIG_9P_FS_POSIX_ACL=y CONFIG_NLS_DEFAULT="utf8" -From 05f629b727b81ba22662e2f25bffec8215bfbb4e Mon Sep 17 00:00:00 2001 +From dee40d2ad759e6f0d9737f15c9c00a9149d55b73 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Mon, 14 Sep 2015 19:08:36 -0500 -Subject: [PATCH 187/194] Use dts-dirs feature for overlays. +Subject: [PATCH 187/204] Use dts-dirs feature for overlays. The kernel makefiles have a dts-dirs target that is for vendor subdirectories. @@ -149686,10 +149649,10 @@ index 12de305..faf293f 100644 - -subdir-y += overlays -From e8e928f19481eebeaaf269e21a044f5b78418e1b Mon Sep 17 00:00:00 2001 +From 51ccad4fd102f2eb4d2a8115ff2a06ec01676acd Mon Sep 17 00:00:00 2001 From: Martin Sperl Date: Thu, 10 Sep 2015 09:32:14 +0000 -Subject: [PATCH 192/194] backport: spi: bcm2835: BUG: fix wrong use of +Subject: [PATCH 192/204] backport: spi: bcm2835: BUG: fix wrong use of PAGE_MASK There is a bug in the alignment checking of transfers, @@ -149733,10 +149696,10 @@ index b68991c..3835332 100644 } -From 93260741a0c8b8ee5d9a3c268db9f63472f1c36d Mon Sep 17 00:00:00 2001 +From 16e92c1ffaf2b25fc3b410ba8e1dc6a457b645f7 Mon Sep 17 00:00:00 2001 From: Stuart MacLean Date: Fri, 2 Oct 2015 15:12:59 +0100 -Subject: [PATCH 193/194] Add support for the HiFiBerry DAC+ Pro. +Subject: [PATCH 193/204] 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. @@ -150284,3 +150247,944 @@ index e12764d..8d16b2f 100644 dev_err(dev, "No LRCLK?\n"); return -EINVAL; +From f1c2c5ab06e1597d0aa0593c5dec52cf580332e3 Mon Sep 17 00:00:00 2001 +From: P33M +Date: Wed, 21 Oct 2015 14:55:21 +0100 +Subject: [PATCH 194/204] 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 +mailbox request. + +Signed-off-by: Gordon Hollingworth +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 6 ++ + .../boot/dts/overlays/rpi-backlight-overlay.dts | 21 ++++ + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + drivers/video/backlight/Kconfig | 6 ++ + drivers/video/backlight/Makefile | 1 + + drivers/video/backlight/rpi_backlight.c | 119 +++++++++++++++++++++ + include/soc/bcm2835/raspberrypi-firmware.h | 1 + + 9 files changed, 157 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts + create mode 100644 drivers/video/backlight/rpi_backlight.c + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 192bda7..2e82be5 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -38,6 +38,7 @@ dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += pwm-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += pwm-2chan-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += raspidac3-overlay.dtb ++dtb-$(RPI_DT_OVERLAYS) += rpi-backlight-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += rpi-dac-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += rpi-display-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += rpi-ft5406-overlay.dtb +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 4ab4c695..b57bd11 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -463,6 +463,12 @@ Load: dtoverlay=raspidac3 + Params: + + ++Name: rpi-backlight ++Info: Raspberry Pi official display backlight driver ++Load: dtoverlay=rpi-backlight ++Params: ++ ++ + Name: rpi-dac + Info: Configures the RPi DAC audio card + Load: dtoverlay=rpi-dac +diff --git a/arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts b/arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts +new file mode 100644 +index 0000000..c021d02 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/rpi-backlight-overlay.dts +@@ -0,0 +1,21 @@ ++/* ++ * Devicetree overlay for mailbox-driven Raspberry Pi DSI Display ++ * backlight controller ++ */ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2708"; ++ ++ fragment@0 { ++ target-path = "/"; ++ __overlay__ { ++ rpi_backlight: rpi_backlight { ++ compatible = "raspberrypi,rpi-backlight"; ++ firmware = <&firmware>; ++ status = "okay"; ++ }; ++ }; ++ }; ++}; +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 60f8357..6f4021b 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -802,6 +802,7 @@ CONFIG_FB_BCM2708=y + CONFIG_FB_SSD1307=m + CONFIG_FB_RPISENSE=m + # CONFIG_BACKLIGHT_GENERIC is not set ++CONFIG_BACKLIGHT_RPI=m + CONFIG_BACKLIGHT_GPIO=m + CONFIG_FRAMEBUFFER_CONSOLE=y + CONFIG_LOGO=y +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 8ebc8d5..015540b 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -795,6 +795,7 @@ CONFIG_FB_BCM2708=y + CONFIG_FB_SSD1307=m + CONFIG_FB_RPISENSE=m + # CONFIG_BACKLIGHT_GENERIC is not set ++CONFIG_BACKLIGHT_RPI=m + CONFIG_BACKLIGHT_GPIO=m + CONFIG_FRAMEBUFFER_CONSOLE=y + CONFIG_LOGO=y +diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig +index 2d9923a..78d02bd 100644 +--- a/drivers/video/backlight/Kconfig ++++ b/drivers/video/backlight/Kconfig +@@ -263,6 +263,12 @@ config BACKLIGHT_PWM + If you have a LCD backlight adjustable by PWM, say Y to enable + this driver. + ++config BACKLIGHT_RPI ++ tristate "Raspberry Pi display firmware driven backlight" ++ help ++ If you have the Raspberry Pi DSI touchscreen display, say Y to ++ enable the mailbox-controlled backlight driver. ++ + config BACKLIGHT_DA903X + tristate "Backlight Driver for DA9030/DA9034 using WLED" + depends on PMIC_DA903X +diff --git a/drivers/video/backlight/Makefile b/drivers/video/backlight/Makefile +index d67073f..e36907a 100644 +--- a/drivers/video/backlight/Makefile ++++ b/drivers/video/backlight/Makefile +@@ -49,6 +49,7 @@ obj-$(CONFIG_BACKLIGHT_OT200) += ot200_bl.o + obj-$(CONFIG_BACKLIGHT_PANDORA) += pandora_bl.o + obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o + obj-$(CONFIG_BACKLIGHT_PWM) += pwm_bl.o ++obj-$(CONFIG_BACKLIGHT_RPI) += rpi_backlight.o + obj-$(CONFIG_BACKLIGHT_SAHARA) += kb3886_bl.o + obj-$(CONFIG_BACKLIGHT_SKY81452) += sky81452-backlight.o + obj-$(CONFIG_BACKLIGHT_TOSA) += tosa_bl.o +diff --git a/drivers/video/backlight/rpi_backlight.c b/drivers/video/backlight/rpi_backlight.c +new file mode 100644 +index 0000000..14a0d9b +--- /dev/null ++++ b/drivers/video/backlight/rpi_backlight.c +@@ -0,0 +1,119 @@ ++/* ++ * rpi_bl.c - Backlight controller through VPU ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License version 2 as ++ * published by the Free Software Foundation. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++struct rpi_backlight { ++ struct device *dev; ++ struct device *fbdev; ++ struct rpi_firmware *fw; ++}; ++ ++static int rpi_backlight_update_status(struct backlight_device *bl) ++{ ++ struct rpi_backlight *gbl = bl_get_data(bl); ++ int brightness = bl->props.brightness; ++ int ret; ++ ++ if (bl->props.power != FB_BLANK_UNBLANK || ++ bl->props.fb_blank != FB_BLANK_UNBLANK || ++ bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK)) ++ brightness = 0; ++ ++ ret = rpi_firmware_property(gbl->fw, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT, ++ &brightness, sizeof(brightness)); ++ if (ret) { ++ dev_err(gbl->dev, "Failed to set brightness\n"); ++ return ret; ++ } ++ ++ if (brightness < 0) { ++ dev_err(gbl->dev, "Backlight change failed\n"); ++ return -EAGAIN; ++ } ++ ++ return 0; ++} ++ ++static const struct backlight_ops rpi_backlight_ops = { ++ .options = BL_CORE_SUSPENDRESUME, ++ .update_status = rpi_backlight_update_status, ++}; ++ ++static int rpi_backlight_probe(struct platform_device *pdev) ++{ ++ struct backlight_properties props; ++ struct backlight_device *bl; ++ struct rpi_backlight *gbl; ++ struct device_node *fw_node; ++ ++ gbl = devm_kzalloc(&pdev->dev, sizeof(*gbl), GFP_KERNEL); ++ if (gbl == NULL) ++ return -ENOMEM; ++ ++ gbl->dev = &pdev->dev; ++ ++ fw_node = of_parse_phandle(pdev->dev.of_node, "firmware", 0); ++ if (!fw_node) { ++ dev_err(&pdev->dev, "Missing firmware node\n"); ++ return -ENOENT; ++ } ++ ++ gbl->fw = rpi_firmware_get(fw_node); ++ if (!gbl->fw) ++ return -EPROBE_DEFER; ++ ++ memset(&props, 0, sizeof(props)); ++ props.type = BACKLIGHT_RAW; ++ props.max_brightness = 255; ++ bl = devm_backlight_device_register(&pdev->dev, dev_name(&pdev->dev), ++ &pdev->dev, gbl, &rpi_backlight_ops, ++ &props); ++ if (IS_ERR(bl)) { ++ dev_err(&pdev->dev, "failed to register backlight\n"); ++ return PTR_ERR(bl); ++ } ++ ++ bl->props.brightness = 255; ++ backlight_update_status(bl); ++ ++ platform_set_drvdata(pdev, bl); ++ return 0; ++} ++ ++static const struct of_device_id rpi_backlight_of_match[] = { ++ { .compatible = "raspberrypi,rpi-backlight" }, ++ { /* sentinel */ } ++}; ++MODULE_DEVICE_TABLE(of, rpi_backlight_of_match); ++ ++static struct platform_driver rpi_backlight_driver = { ++ .driver = { ++ .name = "rpi-backlight", ++ .of_match_table = of_match_ptr(rpi_backlight_of_match), ++ }, ++ .probe = rpi_backlight_probe, ++}; ++ ++module_platform_driver(rpi_backlight_driver); ++ ++MODULE_AUTHOR("Gordon Hollingworth "); ++MODULE_DESCRIPTION("Raspberry Pi mailbox based Backlight Driver"); ++MODULE_LICENSE("GPL"); +diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h +index d3933af..ffb0f82 100644 +--- a/include/soc/bcm2835/raspberrypi-firmware.h ++++ b/include/soc/bcm2835/raspberrypi-firmware.h +@@ -109,6 +109,7 @@ enum rpi_firmware_property_tag { + RPI_FIRMWARE_FRAMEBUFFER_SET_OVERSCAN = 0x0004800a, + RPI_FIRMWARE_FRAMEBUFFER_SET_PALETTE = 0x0004800b, + RPI_FIRMWARE_FRAMEBUFFER_SET_VSYNC = 0x0004800e, ++ RPI_FIRMWARE_FRAMEBUFFER_SET_BACKLIGHT = 0x0004800f, + + RPI_FIRMWARE_VCHIQ_INIT = 0x00048010, + + + +From ed66fe22cf07f1240e693bf6e7628ac9c42d36d4 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Tue, 6 Oct 2015 10:16:58 +0100 +Subject: [PATCH 196/204] bcm2835-gpiomem: Fix for ARCH_BCM2835 builds + +Build on ARCH_BCM2835, and fail to probe if no IO resource. + +See: https://github.com/raspberrypi/linux/issues/1154 +--- + drivers/char/broadcom/bcm2835-gpiomem.c | 25 ++++++++++--------------- + 1 file changed, 10 insertions(+), 15 deletions(-) + +diff --git a/drivers/char/broadcom/bcm2835-gpiomem.c b/drivers/char/broadcom/bcm2835-gpiomem.c +index 0085e13..911f5b7 100644 +--- a/drivers/char/broadcom/bcm2835-gpiomem.c ++++ b/drivers/char/broadcom/bcm2835-gpiomem.c +@@ -143,7 +143,6 @@ static int bcm2835_gpiomem_probe(struct platform_device *pdev) + int err; + void *ptr_err; + struct device *dev = &pdev->dev; +- struct device_node *node = dev->of_node; + struct resource *ioresource; + + /* Allocate buffers and instance data */ +@@ -157,6 +156,15 @@ static int bcm2835_gpiomem_probe(struct platform_device *pdev) + + inst->dev = dev; + ++ ioresource = platform_get_resource(pdev, IORESOURCE_MEM, 0); ++ if (ioresource) { ++ inst->gpio_regs_phys = ioresource->start; ++ } else { ++ dev_err(inst->dev, "failed to get IO resource"); ++ err = -ENOENT; ++ goto failed_get_resource; ++ } ++ + /* Create character device entries */ + + err = alloc_chrdev_region(&bcm2835_gpiomem_devid, +@@ -187,20 +195,6 @@ static int bcm2835_gpiomem_probe(struct platform_device *pdev) + if (IS_ERR(ptr_err)) + goto failed_device_create; + +- /* Get address from device tree if available (*_resource() correctly +- converts the bus address in device tree to a physical address), +- or use hardcoded offset + BCM2708_PERI_BASE if not. +- (In spite of its name 2708 actually seems to have the correct +- mach-dependent value on 2709 etc, as it is defined in +- mach-bcm270x/platform.h) */ +- +- if (node) { +- ioresource = platform_get_resource(pdev, IORESOURCE_MEM, 0); +- inst->gpio_regs_phys = ioresource->start; +- } else { +- inst->gpio_regs_phys = GPIO_BASE; +- } +- + dev_info(inst->dev, "Initialised: Registers at 0x%08lx", + inst->gpio_regs_phys); + +@@ -214,6 +208,7 @@ static int bcm2835_gpiomem_probe(struct platform_device *pdev) + failed_cdev_add: + unregister_chrdev_region(bcm2835_gpiomem_devid, 1); + failed_alloc_chrdev: ++failed_get_resource: + kfree(inst); + failed_inst_alloc: + dev_err(inst->dev, "could not load bcm2835_gpiomem"); + +From 9223ca1be3362490e689e00156fa792e04910284 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 5 Oct 2015 10:47:45 +0100 +Subject: [PATCH 197/204] BCM270X_DT: Add at86rf233 overlay + +Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. + +See: https://github.com/raspberrypi/linux/issues/1151 +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 21 +++++++-- + arch/arm/boot/dts/overlays/at86rf233-overlay.dts | 54 ++++++++++++++++++++++++ + 3 files changed, 72 insertions(+), 4 deletions(-) + create mode 100644 arch/arm/boot/dts/overlays/at86rf233-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index 2e82be5..b370eb0 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -13,6 +13,7 @@ ifeq ($(CONFIG_ARCH_BCM2835),y) + endif + + dtb-$(RPI_DT_OVERLAYS) += ads7846-overlay.dtb ++dtb-$(RPI_DT_OVERLAYS) += at86rf233-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += dht11-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += enc28j60-overlay.dtb +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index b57bd11..014675a 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -69,13 +69,14 @@ DT parameters: + + Parameters always have default values, although in some cases (e.g. "w1-gpio") + it is necessary to provided multiple overlays in order to get the desired +-behaviour. See the list of overlays below for a description of the parameters and their defaults. ++behaviour. See the list of overlays below for a description of the parameters ++and their defaults. + + The Overlay and Parameter Reference + =================================== + +-N.B. When editing this file, please preserve the indentation levels to make it simple to parse +-programmatically. NO HARD TABS. ++N.B. When editing this file, please preserve the indentation levels to make it ++simple to parse programmatically. NO HARD TABS. + + + Name: +@@ -149,7 +150,7 @@ Name: ads7846 + Info: ADS7846 Touch controller + Load: dtoverlay=ads7846,= + Params: cs SPI bus Chip Select (default 1) +- speed SPI bus speed (default 2Mhz, max 3.25MHz) ++ speed SPI bus speed (default 2MHz, max 3.25MHz) + penirq GPIO used for PENIRQ. REQUIRED + penirq_pull Set GPIO pull (default 0=none, 2=pullup) + swapxy Swap x and y axis +@@ -170,6 +171,18 @@ Params: cs SPI bus Chip Select (default 1) + www.kernel.org/doc/Documentation/devicetree/bindings/input/ads7846.txt + + ++Name: at86rf233 ++Info: Configures the Atmel AT86RF233 802.15.4 low-power WPAN transceiver, ++ connected to spi0.0 ++Load: dtoverlay=at86rf233,= ++Params: interrupt GPIO used for INT (default 23) ++ reset GPIO used for Reset (default 24) ++ sleep GPIO used for Sleep (default 25) ++ speed SPI bus speed in Hz (default 750000) ++ trim Fine tuning of the internal capacitance ++ arrays (0=+0pF, 15=+4.5pF, default 15) ++ ++ + Name: bmp085_i2c-sensor + Info: Configures the BMP085/BMP180 digital barometric pressure and temperature + sensors from Bosch Sensortec +diff --git a/arch/arm/boot/dts/overlays/at86rf233-overlay.dts b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts +new file mode 100644 +index 0000000..70f50ea +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts +@@ -0,0 +1,54 @@ ++/dts-v1/; ++/plugin/; ++ ++/* Overlay for Atmel AT86RF233 IEEE 802.15.4 WPAN transceiver on spi0.0 */ ++ ++/ { ++ compatible = "brcm,bcm2835", "brcm,bcm2836", "brcm,bcm2708", "brcm,bcm2709"; ++ ++ fragment@0 { ++ target = <&spi0>; ++ __overlay__ { ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ status = "okay"; ++ ++ spidev@0{ ++ status = "disabled"; ++ }; ++ ++ lowpan0: at86rf233@0 { ++ compatible = "atmel,at86rf233"; ++ reg = <0>; ++ interrupt-parent = <&gpio>; ++ interrupts = <23 4>; /* active high */ ++ reset-gpio = <&gpio 24 1>; ++ sleep-gpio = <&gpio 25 1>; ++ spi-max-frequency = <7500000>; ++ xtal-trim = /bits/ 8 <0xf>; ++ }; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&gpio>; ++ __overlay__ { ++ lowpan0_pins: lowpan0_pins { ++ brcm,pins = <23 24 25>; ++ brcm,function = <0 1 1>; /* in out out */ ++ }; ++ }; ++ }; ++ ++ __overrides__ { ++ interrupt = <&lowpan0>, "interrupts:0", ++ <&lowpan0_pins>, "brcm,pins:0"; ++ reset = <&lowpan0>, "reset-gpio:4", ++ <&lowpan0_pins>, "brcm,pins:4"; ++ sleep = <&lowpan0>, "sleep-gpio:4", ++ <&lowpan0_pins>, "brcm,pins:8"; ++ speed = <&lowpan0>, "spi-max-frequency:0"; ++ trim = <&lowpan0>, "xtal-trim.0"; ++ }; ++}; + +From c089bd70a6d37cb4a05626d48eaebcdfcef0bf41 Mon Sep 17 00:00:00 2001 +From: mwilliams03 +Date: Sun, 18 Oct 2015 17:07:24 -0700 +Subject: [PATCH 198/204] New overlay for PiScreen2r + +--- + arch/arm/boot/dts/overlays/Makefile | 1 + + arch/arm/boot/dts/overlays/README | 14 +++ + arch/arm/boot/dts/overlays/piscreen2r-overlay.dts | 100 ++++++++++++++++++++++ + 3 files changed, 115 insertions(+) + create mode 100644 arch/arm/boot/dts/overlays/piscreen2r-overlay.dts + +diff --git a/arch/arm/boot/dts/overlays/Makefile b/arch/arm/boot/dts/overlays/Makefile +index b370eb0..f4b2817 100644 +--- a/arch/arm/boot/dts/overlays/Makefile ++++ b/arch/arm/boot/dts/overlays/Makefile +@@ -34,6 +34,7 @@ dtb-$(RPI_DT_OVERLAYS) += mcp2515-can1-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += mmc-overlay.dtb + 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-resistive-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += pps-gpio-overlay.dtb + dtb-$(RPI_DT_OVERLAYS) += pwm-overlay.dtb +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 014675a..3276312 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -411,6 +411,20 @@ Params: speed Display SPI bus speed + xohms Touchpanel sensitivity (X-plate resistance) + + ++Name: piscreen2r ++Info: PiScreen 2 with resistive TP display by OzzMaker.com ++Load: dtoverlay=piscreen,= ++Params: speed Display SPI bus speed ++ ++ rotate Display rotation {0,90,180,270} ++ ++ fps Delay between frame updates ++ ++ debug Debug output level {0-7} ++ ++ xohms Touchpanel sensitivity (X-plate resistance) ++ ++ + Name: pitft28-resistive + Info: Adafruit PiTFT 2.8" resistive touch screen + Load: dtoverlay=pitft28-resistive,= +diff --git a/arch/arm/boot/dts/overlays/piscreen2r-overlay.dts b/arch/arm/boot/dts/overlays/piscreen2r-overlay.dts +new file mode 100644 +index 0000000..7c018e0 +--- /dev/null ++++ b/arch/arm/boot/dts/overlays/piscreen2r-overlay.dts +@@ -0,0 +1,100 @@ ++ /* ++ * Device Tree overlay for PiScreen2 3.5" TFT with resistive touch by Ozzmaker.com ++ * ++ */ ++ ++/dts-v1/; ++/plugin/; ++ ++/ { ++ compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709"; ++ ++ fragment@0 { ++ target = <&spi0>; ++ __overlay__ { ++ status = "okay"; ++ ++ spidev@0{ ++ status = "disabled"; ++ }; ++ ++ spidev@1{ ++ status = "disabled"; ++ }; ++ }; ++ }; ++ ++ fragment@1 { ++ target = <&gpio>; ++ __overlay__ { ++ piscreen2_pins: piscreen2_pins { ++ brcm,pins = <17 25 24 22>; ++ brcm,function = <0 1 1 1>; /* in out out out */ ++ }; ++ }; ++ }; ++ ++ fragment@2 { ++ target = <&spi0>; ++ __overlay__ { ++ /* needed to avoid dtc warning */ ++ #address-cells = <1>; ++ #size-cells = <0>; ++ ++ piscreen2: piscreen2@0{ ++ compatible = "ilitek,ili9486"; ++ reg = <0>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&piscreen2_pins>; ++ bgr; ++ spi-max-frequency = <64000000>; ++ rotate = <90>; ++ fps = <30>; ++ buswidth = <8>; ++ regwidth = <16>; ++ txbuflen = <32768>; ++ reset-gpios = <&gpio 25 0>; ++ dc-gpios = <&gpio 24 0>; ++ led-gpios = <&gpio 22 1>; ++ debug = <0>; ++ ++ init = <0x10000b0 0x00 ++ 0x1000011 ++ 0x20000ff ++ 0x100003a 0x55 ++ 0x1000036 0x28 ++ 0x10000c0 0x11 0x09 ++ 0x10000c1 0x41 ++ 0x10000c5 0x00 0x00 0x00 0x00 ++ 0x10000b6 0x00 0x02 ++ 0x10000f7 0xa9 0x51 0x2c 0x2 ++ 0x10000be 0x00 0x04 ++ 0x10000e9 0x00 ++ 0x1000011 ++ 0x1000029>; ++ ++ }; ++ ++ piscreen2_ts: piscreen2-ts@1 { ++ compatible = "ti,ads7846"; ++ reg = <1>; ++ ++ spi-max-frequency = <2000000>; ++ interrupts = <17 2>; /* high-to-low edge triggered */ ++ interrupt-parent = <&gpio>; ++ pendown-gpio = <&gpio 17 0>; ++ ti,swap-xy; ++ ti,x-plate-ohms = /bits/ 16 <100>; ++ ti,pressure-max = /bits/ 16 <255>; ++ }; ++ }; ++ }; ++ __overrides__ { ++ speed = <&piscreen2>,"spi-max-frequency:0"; ++ rotate = <&piscreen2>,"rotate:0"; ++ fps = <&piscreen2>,"fps:0"; ++ debug = <&piscreen2>,"debug:0"; ++ xohms = <&piscreen2_ts>,"ti,x-plate-ohms;0"; ++ }; ++}; ++ + +From 30a73891df28c2922fcad40317f474914ccf4434 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Fri, 9 Oct 2015 10:49:00 +0100 +Subject: [PATCH 199/204] BCM270X_DT: Make mmc overlay compatible with current + firmware + +The original DT overlay logic followed a merge-then-patch procedure, +i.e. parameters are applied to the loaded overlay before the overlay +is merged into the base DTB. This sequence has been changed to +patch-then-merge, in order to support parameterised node names, and +to protect against bad overlays. As a result, overrides (parameters) +must only target labels in the overlay, but the overlay can obviously target nodes in the base DTB. + +mmc-overlay.dts (that switches back to the original mmc sdcard +driver) is the only overlay violating that rule, and this patch +fixes it. +--- + arch/arm/boot/dts/overlays/mmc-overlay.dts | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/mmc-overlay.dts b/arch/arm/boot/dts/overlays/mmc-overlay.dts +index 0a37cf4..4579ff2 100644 +--- a/arch/arm/boot/dts/overlays/mmc-overlay.dts ++++ b/arch/arm/boot/dts/overlays/mmc-overlay.dts +@@ -7,13 +7,13 @@ + fragment@0 { + target = <&mmc>; + +- __overlay__ { ++ frag0: __overlay__ { + brcm,overclock-50 = <0>; + }; + }; + + __overrides__ { +- overclock_50 = <&mmc>,"brcm,overclock-50:0"; +- force_pio = <&mmc>,"brcm,force-pio?"; ++ overclock_50 = <&frag0>,"brcm,overclock-50:0"; ++ force_pio = <&frag0>,"brcm,force-pio?"; + }; + }; + +From 25dc64a6491a98e8df7b387e54dfe1d2be1ea5e8 Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Mon, 12 Oct 2015 08:52:00 +0100 +Subject: [PATCH 200/204] 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. + +See: https://github.com/raspberrypi/linux/issues/1151 +--- + arch/arm/boot/dts/overlays/README | 2 +- + arch/arm/boot/dts/overlays/at86rf233-overlay.dts | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README +index 3276312..42a5876 100644 +--- a/arch/arm/boot/dts/overlays/README ++++ b/arch/arm/boot/dts/overlays/README +@@ -178,7 +178,7 @@ Load: dtoverlay=at86rf233,= + Params: interrupt GPIO used for INT (default 23) + reset GPIO used for Reset (default 24) + sleep GPIO used for Sleep (default 25) +- speed SPI bus speed in Hz (default 750000) ++ speed SPI bus speed in Hz (default 6000000) + trim Fine tuning of the internal capacitance + arrays (0=+0pF, 15=+4.5pF, default 15) + +diff --git a/arch/arm/boot/dts/overlays/at86rf233-overlay.dts b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts +index 70f50ea..0460269 100644 +--- a/arch/arm/boot/dts/overlays/at86rf233-overlay.dts ++++ b/arch/arm/boot/dts/overlays/at86rf233-overlay.dts +@@ -25,7 +25,7 @@ + interrupts = <23 4>; /* active high */ + reset-gpio = <&gpio 24 1>; + sleep-gpio = <&gpio 25 1>; +- spi-max-frequency = <7500000>; ++ spi-max-frequency = <6000000>; + xtal-trim = /bits/ 8 <0xf>; + }; + }; + +From 625d90e2f7b2de52e0ba82e66e076915402e9c8b Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Thu, 1 Oct 2015 11:49:11 +0100 +Subject: [PATCH 201/204] config: Add CONFIG_UHID + +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 6f4021b..6a914fb 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -843,6 +843,7 @@ CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m + CONFIG_SOUND_PRIME=m + CONFIG_HIDRAW=y ++CONFIG_UHID=m + CONFIG_HID_A4TECH=m + CONFIG_HID_ACRUX=m + CONFIG_HID_APPLE=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 015540b..7a477e3 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -836,6 +836,7 @@ CONFIG_SND_SOC_WM8804_I2C=m + CONFIG_SND_SIMPLE_CARD=m + CONFIG_SOUND_PRIME=m + CONFIG_HIDRAW=y ++CONFIG_UHID=m + CONFIG_HID_A4TECH=m + CONFIG_HID_ACRUX=m + CONFIG_HID_APPLE=m + +From 7a8dc0c298b4619fe8658481d0b3ae0ac1231a5e Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Sun, 4 Oct 2015 12:30:01 +0100 +Subject: [PATCH 202/204] config: Add CONFIG_CRYPTO_USER_API_SKCIPHER + +--- + arch/arm/configs/bcm2709_defconfig | 1 + + arch/arm/configs/bcmrpi_defconfig | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 6a914fb..05383c0 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -1239,6 +1239,7 @@ CONFIG_CRYPTO_WP512=m + CONFIG_CRYPTO_CAST5=m + CONFIG_CRYPTO_DES=y + # CONFIG_CRYPTO_ANSI_CPRNG is not set ++CONFIG_CRYPTO_USER_API_SKCIPHER=m + # CONFIG_CRYPTO_HW is not set + CONFIG_ARM_CRYPTO=y + CONFIG_CRYPTO_SHA1_ARM_NEON=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 7a477e3..0f315d8 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -1235,6 +1235,7 @@ CONFIG_CRYPTO_WP512=m + CONFIG_CRYPTO_CAST5=m + CONFIG_CRYPTO_DES=y + # CONFIG_CRYPTO_ANSI_CPRNG is not set ++CONFIG_CRYPTO_USER_API_SKCIPHER=m + # CONFIG_CRYPTO_HW is not set + CONFIG_ARM_CRYPTO=y + CONFIG_CRYPTO_SHA1_ARM=m + +From c7158fd021cf31f5fb67768796aecabde5ff6727 Mon Sep 17 00:00:00 2001 +From: popcornmix +Date: Sun, 4 Oct 2015 12:36:44 +0100 +Subject: [PATCH 203/204] config: Add options for supporting openlabs 802.15.4 + radio + +--- + arch/arm/configs/bcm2709_defconfig | 6 ++++++ + arch/arm/configs/bcmrpi_defconfig | 6 ++++++ + 2 files changed, 12 insertions(+) + +diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig +index 05383c0..fb402e8 100644 +--- a/arch/arm/configs/bcm2709_defconfig ++++ b/arch/arm/configs/bcm2709_defconfig +@@ -283,6 +283,9 @@ CONFIG_VLAN_8021Q=m + CONFIG_VLAN_8021Q_GVRP=y + CONFIG_ATALK=m + CONFIG_6LOWPAN=m ++CONFIG_IEEE802154=m ++CONFIG_IEEE802154_6LOWPAN=m ++CONFIG_MAC802154=m + CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m +@@ -529,6 +532,9 @@ CONFIG_ZD1211RW=m + CONFIG_MWIFIEX=m + CONFIG_MWIFIEX_SDIO=m + CONFIG_WIMAX_I2400M_USB=m ++CONFIG_IEEE802154_AT86RF230=m ++CONFIG_IEEE802154_MRF24J40=m ++CONFIG_IEEE802154_CC2520=m + CONFIG_INPUT_POLLDEV=m + # CONFIG_INPUT_MOUSEDEV_PSAUX is not set + CONFIG_INPUT_JOYDEV=m +diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig +index 0f315d8..eb81555e 100644 +--- a/arch/arm/configs/bcmrpi_defconfig ++++ b/arch/arm/configs/bcmrpi_defconfig +@@ -276,6 +276,9 @@ CONFIG_VLAN_8021Q=m + CONFIG_VLAN_8021Q_GVRP=y + CONFIG_ATALK=m + CONFIG_6LOWPAN=m ++CONFIG_IEEE802154=m ++CONFIG_IEEE802154_6LOWPAN=m ++CONFIG_MAC802154=m + CONFIG_NET_SCHED=y + CONFIG_NET_SCH_CBQ=m + CONFIG_NET_SCH_HTB=m +@@ -522,6 +525,9 @@ CONFIG_ZD1211RW=m + CONFIG_MWIFIEX=m + CONFIG_MWIFIEX_SDIO=m + CONFIG_WIMAX_I2400M_USB=m ++CONFIG_IEEE802154_AT86RF230=m ++CONFIG_IEEE802154_MRF24J40=m ++CONFIG_IEEE802154_CC2520=m + CONFIG_INPUT_POLLDEV=m + # CONFIG_INPUT_MOUSEDEV_PSAUX is not set + CONFIG_INPUT_JOYDEV=m + +From 6c1d6379ed6d95956ba255936da39f06543ddb7f Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Thu, 8 Oct 2015 13:33:28 +0100 +Subject: [PATCH 204/204] 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 +bcm2835-pm-wdt which could exist in either. + +Also, since the canned configuration is no longer built in (it's +a module), remove the config string checking. + +See: https://github.com/raspberrypi/linux/issues/1157 +--- + scripts/mkknlimg | 41 +++++------------------------------------ + 1 file changed, 5 insertions(+), 36 deletions(-) + +diff --git a/scripts/mkknlimg b/scripts/mkknlimg +index 3dff948..3998d43 100755 +--- a/scripts/mkknlimg ++++ b/scripts/mkknlimg +@@ -50,12 +50,6 @@ if (! -r $kernel_file) + usage(); + } + +-my @wanted_config_lines = +-( +- 'CONFIG_BCM2708_DT', +- 'CONFIG_ARCH_BCM2835' +-); +- + my @wanted_strings = + ( + 'bcm2708_fb', +@@ -63,7 +57,8 @@ my @wanted_strings = + 'brcm,bcm2835-sdhost', + 'brcm,bcm2708-pinctrl', + 'brcm,bcm2835-gpio', +- 'brcm,bcm2835-pm-wdt' ++ 'brcm,bcm2835', ++ 'brcm,bcm2836' + ); + + my $res = try_extract($kernel_file, $tmpfile1); +@@ -98,12 +93,11 @@ if ($res) + config_bool($res, 'brcm,bcm2835-mmc') || + config_bool($res, 'brcm,bcm2835-sdhost')) + { +- $dtok ||= config_bool($res, 'CONFIG_BCM2708_DT'); +- $dtok ||= config_bool($res, 'CONFIG_ARCH_BCM2835'); + $dtok ||= config_bool($res, 'brcm,bcm2708-pinctrl'); + $dtok ||= config_bool($res, 'brcm,bcm2835-gpio'); +- $is_283x ||= config_bool($res, 'CONFIG_ARCH_BCM2835'); +- $is_283x ||= config_bool($res, 'brcm,bcm2835-pm-wdt'); ++ $is_283x ||= config_bool($res, 'brcm,bcm2835'); ++ $is_283x ||= config_bool($res, 'brcm,bcm2836'); ++ $dtok ||= $is_283x; + $append_trailer = 1; + } + else +@@ -205,31 +199,6 @@ sub try_extract + $res->{$match} = 1; + } + +- my $config_pattern = '^('.join('|', @wanted_config_lines).')=(.*)$'; +- my $cf1 = 'IKCFG_ST\037\213\010'; +- my $cf2 = '0123456789'; +- +- my $pos = `tr "$cf1\n$cf2" "\n$cf2=" < "$knl" | grep -abo "^$cf2"`; +- if ($pos) +- { +- $pos =~ s/:.*[\r\n]*$//s; +- $pos += 8; +- my $err = (system("tail -c+$pos \"$knl\" | zcat > $tmp 2> /dev/null") >> 8); +- if (($err == 0) || ($err == 2)) +- { +- if (open(my $fh, '<', $tmp)) +- { +- while (my $line = <$fh>) +- { +- chomp($line); +- $res->{$1} = $2 if ($line =~ /$config_pattern/); +- } +- +- close($fh); +- } +- } +- } +- + return $res; + } +