diff --git a/projects/RPi/patches/linux/linux-01-RPi_support.patch b/projects/RPi/patches/linux/linux-01-RPi_support.patch index 48afd35d3b..29e85d229a 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 c7b8172aa06798be9a83dd9bc19e46bfdd82cc6f Mon Sep 17 00:00:00 2001 +From 94dc2846e0d53f994757af07f9957f40ab598e78 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sun, 12 May 2013 12:24:19 +0100 -Subject: [PATCH 01/76] Main bcm2708 linux port +Subject: [PATCH 01/75] Main bcm2708 linux port Signed-off-by: popcornmix --- @@ -119,7 +119,7 @@ index 32cbbd5..aeb74cd 100644 source "arch/arm/mach-zynq/Kconfig" diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug -index b11ad54..8160286 100644 +index 2f78e54..f00a063 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -953,6 +953,14 @@ choice @@ -5117,10 +5117,10 @@ index 09ebe57..582ce64 100644 unsigned int version; /* SDHCI spec. version */ -From 1ce4d347b3b07ad2d43c57f94f078a836c2ee3ff Mon Sep 17 00:00:00 2001 +From f6c76394d7d921695881d8efed0ceeeef83721d6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 Oct 2014 18:50:05 +0100 -Subject: [PATCH 02/76] Add bcm2708_gpio driver +Subject: [PATCH 02/75] Add bcm2708_gpio driver Signed-off-by: popcornmix @@ -5679,10 +5679,10 @@ index 0000000..fb69624 + +#endif -From 2f68a84df7bebe637db3ef826b00283f5529f6d6 Mon Sep 17 00:00:00 2001 +From 063e4a95bc5c5098cd9c1e792ead8baad16ae876 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 7 May 2013 22:20:24 +0100 -Subject: [PATCH 03/76] Add quick config. +Subject: [PATCH 03/75] Add quick config. This is designed for quick compiling when developing. No modules are needed and it includes all Pi specific drivers @@ -5895,10 +5895,10 @@ index 0000000..e5efe75 +CONFIG_CRC_ITU_T=y +CONFIG_LIBCRC32C=y -From ed7b8c09072c261d276468f22c968e5f47a7cf29 Mon Sep 17 00:00:00 2001 +From 6c93ece6b3fc6c845900b4015d2503f3869dadca Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:46:17 +0100 -Subject: [PATCH 04/76] Add dwc_otg driver +Subject: [PATCH 04/75] Add dwc_otg driver Signed-off-by: popcornmix @@ -10045,7 +10045,7 @@ index 0000000..a896d73 +} +module_exit(fsg_cleanup); diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig -index 82800a7..5fb1bea 100644 +index 6f1d48e..d841967 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -721,6 +721,19 @@ config USB_HWA_HCD @@ -63008,10 +63008,10 @@ index 0000000..cdc9963 +test_main(); +0; -From 76308d3b75a52034de50beebdabbe02abdc52bb6 Mon Sep 17 00:00:00 2001 +From 1a458089f27f309629d18a8135732d5f81e26b63 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:54:32 +0100 -Subject: [PATCH 05/76] bcm2708 watchdog driver +Subject: [PATCH 05/75] bcm2708 watchdog driver Signed-off-by: popcornmix --- @@ -63439,10 +63439,10 @@ index 0000000..8a27d68 +MODULE_ALIAS_MISCDEV(TEMP_MINOR); +MODULE_LICENSE("GPL"); -From 8ba498dcacf688767ea74c7ee7c0657f54a5a6fd Mon Sep 17 00:00:00 2001 +From e91eea1dc9a6e352489239029cc724f0fb5c075e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 1 May 2013 19:55:09 +0100 -Subject: [PATCH 06/76] bcm2708 framebuffer driver +Subject: [PATCH 06/75] bcm2708 framebuffer driver Signed-off-by: popcornmix --- @@ -66486,10 +66486,10 @@ index 3c14e43..7626beb 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 5de6a8b59fedb1d2c2b1468ebd96c3325a308dff Mon Sep 17 00:00:00 2001 +From 2df4188f1a7ddbb5c066e41cef2ca2eb9f9cfa58 Mon Sep 17 00:00:00 2001 From: Harm Hanemaaijer Date: Thu, 20 Jun 2013 20:21:39 +0200 -Subject: [PATCH 07/76] Speed up console framebuffer imageblit function +Subject: [PATCH 07/75] 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 @@ -66698,10 +66698,10 @@ index a2bb276..436494f 100644 start_index, pitch_index); } else -From 4786eba5eeecbffa953c1807afe2cae90bcb2e94 Mon Sep 17 00:00:00 2001 +From 18f7a450a1d7a584298729a0943d9f66e8a42eb7 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 13:32:11 +0300 -Subject: [PATCH 08/76] fbdev: add FBIOCOPYAREA ioctl +Subject: [PATCH 08/75] fbdev: add FBIOCOPYAREA ioctl Based on the patch authored by Ali Gholami Rudi at https://lkml.org/lkml/2009/7/13/153 @@ -66794,10 +66794,10 @@ index fb795c3..fa72af0 100644 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */ #define FB_TYPE_PLANES 1 /* Non interleaved planes */ -From 20d9cc8ed5972b0c130548b3d0492382542870b7 Mon Sep 17 00:00:00 2001 +From 7ff1b6680380b92d1fbd98292be3fe503682bc68 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 17 Jun 2013 16:00:25 +0300 -Subject: [PATCH 09/76] bcm2708_fb: DMA acceleration for fb_copyarea +Subject: [PATCH 09/75] bcm2708_fb: DMA acceleration for fb_copyarea Based on http://www.raspberrypi.org/phpBB3/viewtopic.php?p=62425#p62425 Also used Simon's dmaer_master module as a reference for tweaking DMA @@ -67281,10 +67281,10 @@ index 54cd760..b3b1e04 100644 return 0; -From 5c9d7363d06f011a42aa3abcc1394721e04640ee Mon Sep 17 00:00:00 2001 +From 040cbf4cf1e719e5964b5c9343dbf54f3df08b32 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 2 Jul 2013 23:42:01 +0100 -Subject: [PATCH 10/76] bcm2708 vchiq driver +Subject: [PATCH 10/75] bcm2708 vchiq driver Signed-off-by: popcornmix @@ -80233,10 +80233,10 @@ index 0000000..b6bfa21 + return vchiq_build_time; +} -From 996f0e0767cbad8d26344f9492f5cac3b4314b29 Mon Sep 17 00:00:00 2001 +From 9c472522a60491cc57386d285ea720b1d782e9f4 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 12 May 2014 15:12:02 +0100 -Subject: [PATCH 11/76] vchiq: Avoid high load when blocked and unkillable +Subject: [PATCH 11/75] vchiq: Avoid high load when blocked and unkillable vchiq: Include SIGSTOP and SIGCONT in list of signals not-masked by vchiq to allow gdb to work --- @@ -80398,10 +80398,10 @@ index c2eefef..05e7979 100644 static inline int is_pow2(int i) { -From 96c308b5d0423d83bdc4d2df85f93480eef1ff0a Mon Sep 17 00:00:00 2001 +From 04e7e9918e6f98440d079364b080c7df0459e064 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:31:47 +0100 -Subject: [PATCH 12/76] cma: Add vc_cma driver to enable use of CMA +Subject: [PATCH 12/75] cma: Add vc_cma driver to enable use of CMA Signed-off-by: popcornmix --- @@ -81690,10 +81690,10 @@ index 0000000..5325832 + +#endif /* VC_CMA_H */ -From ac395e2587fac0716dcc029b6f3a6d0ede1d8672 Mon Sep 17 00:00:00 2001 +From 304f2f640b869abe9c50bf13b3c4ab7d532aebe1 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 26 Mar 2012 22:15:50 +0100 -Subject: [PATCH 13/76] bcm2708: alsa sound driver +Subject: [PATCH 13/75] bcm2708: alsa sound driver Signed-off-by: popcornmix @@ -81713,6 +81713,8 @@ Fix for ALSA driver crash Avoids an issue when closing and opening vchiq where a message can arrive before service handle has been written alsa: reduce severity of expected warning message + +snd-bcm2708: Fix dmesg spam for non-error case --- arch/arm/configs/bcmrpi_defconfig | 20 + arch/arm/mach-bcm2708/bcm2708.c | 54 ++ @@ -82826,7 +82828,7 @@ index 0000000..3a20b34f +} diff --git a/sound/arm/bcm2835-vchiq.c b/sound/arm/bcm2835-vchiq.c new file mode 100755 -index 0000000..cfa669e +index 0000000..3c95381 --- /dev/null +++ b/sound/arm/bcm2835-vchiq.c @@ -0,0 +1,902 @@ @@ -83388,7 +83390,7 @@ index 0000000..cfa669e + LOG_ERR("Couldn't set the controls for stream %d\n", i); + ret = -1; + } -+ else LOG_ERR(" Controls set for stream %d\n", i); ++ else LOG_DBG(" Controls set for stream %d\n", i); + } + } + LOG_DBG(" .. OUT ret=%d\n", ret); @@ -84454,10 +84456,10 @@ index 0000000..af3e6eb + +#endif // _VC_AUDIO_DEFS_H_ -From f9a8402a0aaea8f66cae15714e24ccc4f9e32a91 Mon Sep 17 00:00:00 2001 +From a6294fe1740448f6c25ff40bf5c7b76b24526261 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:51:55 +0100 -Subject: [PATCH 14/76] Add hwrng (hardware random number generator) driver +Subject: [PATCH 14/75] Add hwrng (hardware random number generator) driver --- drivers/char/hw_random/Kconfig | 11 ++++ @@ -84623,10 +84625,10 @@ index 0000000..340f004 +MODULE_DESCRIPTION("BCM2708 H/W Random Number Generator (RNG) driver"); +MODULE_LICENSE("GPL and additional rights"); -From cd71d20c95d4d1786b477a2ebb64a60965aef650 Mon Sep 17 00:00:00 2001 +From ba086a7156dfec3cc6dc35e79f89dc1beaea44c9 Mon Sep 17 00:00:00 2001 From: Aron Szabo Date: Sat, 16 Jun 2012 12:15:55 +0200 -Subject: [PATCH 15/76] lirc: added support for RaspberryPi GPIO +Subject: [PATCH 15/75] 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 @@ -85374,10 +85376,10 @@ index 0000000..887c36b +module_param(debug, bool, S_IRUGO | S_IWUSR); +MODULE_PARM_DESC(debug, "Enable debugging messages"); -From 57d9007d32d037225fb16809b9c46d445e8d3f4f Mon Sep 17 00:00:00 2001 +From 0ad597090b83f57658fcdb48f997e002f394abc3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:49:20 +0100 -Subject: [PATCH 16/76] Add cpufreq driver +Subject: [PATCH 16/75] Add cpufreq driver --- arch/arm/Kconfig | 1 + @@ -85661,10 +85663,10 @@ index 0000000..447ca09 +module_init(bcm2835_cpufreq_module_init); +module_exit(bcm2835_cpufreq_module_exit); -From 27326f6ee34fa3b288e78d9dbde9036f259f03bf Mon Sep 17 00:00:00 2001 +From 459422685e4f899a2b9997b846b96090e5d53da3 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 19:24:24 +0000 -Subject: [PATCH 17/76] Added hwmon/thermal driver for reporting core +Subject: [PATCH 17/75] Added hwmon/thermal driver for reporting core temperature. Thanks Dorian --- @@ -86186,10 +86188,10 @@ index 0000000..85fceb5 + +module_platform_driver(bcm2835_thermal_driver); -From 21a5630af4c609579bb052044ca5211f15632084 Mon Sep 17 00:00:00 2001 +From f0910ebc64844e68ca1df6d849f2654a6d527b9a Mon Sep 17 00:00:00 2001 From: popcornmix Date: Tue, 26 Mar 2013 17:26:38 +0000 -Subject: [PATCH 18/76] Allow mac address to be set in smsc95xx +Subject: [PATCH 18/75] Allow mac address to be set in smsc95xx Signed-off-by: popcornmix --- @@ -86280,10 +86282,10 @@ index d07bf4c..5ae60ab 100644 if (smsc95xx_read_eeprom(dev, EEPROM_MAC_OFFSET, ETH_ALEN, dev->net->dev_addr) == 0) { -From 1067ab9bae07edd1306a1b0187c29e2098a17e07 Mon Sep 17 00:00:00 2001 +From b690afcaefc0010ee66a1d5f3f35a0d8a4aef873 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 4 Nov 2013 18:56:10 +0000 -Subject: [PATCH 19/76] Add Chris Boot's i2c and spi drivers. +Subject: [PATCH 19/75] Add Chris Boot's i2c and spi drivers. i2c-bcm2708: fixed baudrate @@ -87629,10 +87631,10 @@ index 0000000..b04a57d +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:" DRV_NAME); -From 344c18fce88559a47608c5eb391515c9842a1884 Mon Sep 17 00:00:00 2001 +From ccf46d4f5ec0875486bc2a113f6646404cf75602 Mon Sep 17 00:00:00 2001 From: cbeytas Date: Mon, 24 Jun 2013 00:05:40 -0400 -Subject: [PATCH 20/76] Perform I2C combined transactions when possible +Subject: [PATCH 20/75] Perform I2C combined transactions when possible Perform I2C combined transactions whenever possible, within the restrictions of the Broadcomm Serial Controller. @@ -87704,10 +87706,10 @@ index f266f10..8750634 100644 } -From 49991d69e04603502fb3239d81d17c29b9110fed Mon Sep 17 00:00:00 2001 +From b4f90ba54ab4149977c08724b21c6d94f33e1a25 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 8 May 2013 11:46:50 +0100 -Subject: [PATCH 21/76] enabling the realtime clock 1-wire chip DS1307 and +Subject: [PATCH 21/75] 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 @@ -87980,17 +87982,17 @@ index 2820924..fd0550f 100644 } -From 1f9cce98b2435e639dc6dce86136af13d942feb1 Mon Sep 17 00:00:00 2001 +From 1866fb716c6df75fa07bbf1dade96fc83fc4d6b6 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Fri, 12 Apr 2013 23:58:47 +0100 -Subject: [PATCH 23/76] config: add missing options from 3.6.y kernel +Subject: [PATCH 23/75] config: add missing options from 3.6.y kernel --- - arch/arm/configs/bcmrpi_defconfig | 651 ++++++++++++++++++++++++++++++++++++-- - 1 file changed, 632 insertions(+), 19 deletions(-) + arch/arm/configs/bcmrpi_defconfig | 652 ++++++++++++++++++++++++++++++++++++-- + 1 file changed, 632 insertions(+), 20 deletions(-) diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 6d2eae1..3853853 100644 +index 6d2eae1..466f627 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -1,3 +1,5 @@ @@ -88864,7 +88866,7 @@ index 6d2eae1..3853853 100644 CONFIG_CIFS=m CONFIG_CIFS_WEAK_PW_HASH=y CONFIG_CIFS_XATTR=y -@@ -455,7 +1062,7 @@ CONFIG_NLS_ISO8859_14=m +@@ -455,36 +1062,41 @@ CONFIG_NLS_ISO8859_14=m CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m @@ -88872,8 +88874,8 @@ index 6d2eae1..3853853 100644 +CONFIG_DLM=m CONFIG_PRINTK_TIME=y CONFIG_BOOT_PRINTK_DELAY=y - CONFIG_DEBUG_INFO=y -@@ -463,28 +1070,34 @@ CONFIG_DEBUG_STACK_USAGE=y +-CONFIG_DEBUG_INFO=y + CONFIG_DEBUG_STACK_USAGE=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_DETECT_HUNG_TASK=y CONFIG_TIMER_STATS=y @@ -88912,10 +88914,10 @@ index 6d2eae1..3853853 100644 # CONFIG_CRYPTO_HW is not set CONFIG_CRC_ITU_T=y -From c8c4f87e7a8cc82bdee760e9f99e4d196228a6bc Mon Sep 17 00:00:00 2001 +From e6c7be5a874bac8b527924fa3608b77e365b3b5e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Dec 2013 22:16:19 +0000 -Subject: [PATCH 24/76] config: Enable CONFIG_MEMCG, but leave it disabled (due +Subject: [PATCH 24/75] config: Enable CONFIG_MEMCG, but leave it disabled (due to memory cost). Enable with cgroup_enable=memory. --- @@ -88925,7 +88927,7 @@ Subject: [PATCH 24/76] config: Enable CONFIG_MEMCG, but leave it disabled (due 3 files changed, 25 insertions(+) diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 3853853..65c58bf 100644 +index 466f627..3610d0f 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -19,6 +19,7 @@ CONFIG_CGROUP_FREEZER=y @@ -88971,10 +88973,10 @@ index 3a73f99..077246c 100644 { printk("cgroup: using legacy files on the default hierarchy\n"); diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index 28928ce..33d37c3 100644 +index 48914e1..a08d374 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c -@@ -6334,6 +6334,7 @@ struct cgroup_subsys memory_cgrp_subsys = { +@@ -6343,6 +6343,7 @@ struct cgroup_subsys memory_cgrp_subsys = { .bind = mem_cgroup_bind, .legacy_cftypes = mem_cgroup_files, .early_init = 0, @@ -88983,10 +88985,10 @@ index 28928ce..33d37c3 100644 #ifdef CONFIG_MEMCG_SWAP -From c1c0afd14f86a40cfb7a5fb00b951353f685d9e7 Mon Sep 17 00:00:00 2001 +From 05cb3d8028b906e38e64e2c223f6198c15e06bcd Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Jul 2013 00:46:42 +0100 -Subject: [PATCH 25/76] Add FIQ patch to dwc_otg driver. Enable with +Subject: [PATCH 25/75] Add FIQ patch to dwc_otg driver. Enable with dwc_otg.fiq_fix_enable=1. Should give about 10% more ARM performance. Thanks to Gordon and Costas @@ -92282,10 +92284,10 @@ index 1b1f83c..c8590b5 100644 if (status.b.sr) { -From e7960d2d9a1379a2443ffd315f5edcc2711e0e32 Mon Sep 17 00:00:00 2001 +From a33dbd182219e696c48352b47a230026bf4918d3 Mon Sep 17 00:00:00 2001 From: P33M Date: Wed, 19 Mar 2014 12:58:23 +0000 -Subject: [PATCH 26/76] dwc_otg: fiq_fsm: Base commit for driver rewrite +Subject: [PATCH 26/75] dwc_otg: fiq_fsm: Base commit for driver rewrite This commit removes the previous FIQ fixes entirely and adds fiq_fsm. @@ -97181,10 +97183,10 @@ index 5d310df..4b32941 100644 return -EBUSY; } -From 669264722148c3eb79d7ff5b5b89a9cd6aa41215 Mon Sep 17 00:00:00 2001 +From d05ea1fb30a9840eaa1b90a4d0fea7e7c20cf688 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 30 Jan 2013 12:45:18 +0000 -Subject: [PATCH 27/76] bcm2835: add v4l2 camera device +Subject: [PATCH 27/75] bcm2835: add v4l2 camera device - Supports raw YUV capture, preview, JPEG and H264. - Uses videobuf2 for data transfer, using dma_buf. @@ -97296,7 +97298,7 @@ index 0000000..c585a8f + +$ v4l2-ctl --list-formats diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig -index 6d86646..06069fa 100644 +index 5d666af2..27b0b14 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -121,6 +121,7 @@ config VIDEO_S3C_CAMIF @@ -103167,10 +103169,10 @@ index 0000000..9d1d11e + +#endif /* MMAL_VCHIQ_H */ -From 313a957f10c4cdfec4da68828b7826e37d1c62ad Mon Sep 17 00:00:00 2001 +From 6512a8f550c33a242f3156d0af9981f7873864e3 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 9 Dec 2013 10:58:01 +0000 -Subject: [PATCH 28/76] V4L2: Fixes from 6by9 +Subject: [PATCH 28/75] V4L2: Fixes from 6by9 V4L2: Fix EV values. Add manual shutter speed control @@ -103400,7 +103402,7 @@ Signed-off-by: Dave Stevenson 8 files changed, 1292 insertions(+), 178 deletions(-) diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 65c58bf..650b541 100644 +index 3610d0f..1f14e0c 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -706,6 +706,9 @@ CONFIG_DVB_B2C2_FLEXCOP_USB=m @@ -105542,10 +105544,10 @@ index a06fb44..76f249e 100644 release_msg: -From 6fb5147a9d51a43520b47baaa51c09de1388e1d3 Mon Sep 17 00:00:00 2001 +From 7c6ed31fc5f35df6ddaa4a8eaa9e4f87a3b1e0e8 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:22:53 +0100 -Subject: [PATCH 29/76] dmaengine: Add support for BCM2708 +Subject: [PATCH 29/75] dmaengine: Add support for BCM2708 Add support for DMA controller of BCM2708 as used in the Raspberry Pi. Currently it only supports cyclic DMA. @@ -106671,10 +106673,10 @@ index 0000000..6766799 +MODULE_AUTHOR("Gellert Weisz "); +MODULE_LICENSE("GPL v2"); -From 2cdd6843e0375445d13015ee5d39fb91236b9e0e Mon Sep 17 00:00:00 2001 +From a852f99dede6403c5c2617a62969108ebf5e3449 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:33:38 +0100 -Subject: [PATCH 30/76] ASoC: Add support for BCM2708 +Subject: [PATCH 30/75] ASoC: Add support for BCM2708 This driver adds support for digital audio (I2S) for the BCM2708 SoC that is used by the @@ -107669,10 +107671,10 @@ index 0000000..ebaf3d6 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 12657121eb5cfc8570a3a458c073cddffb09da2a Mon Sep 17 00:00:00 2001 +From 332013d27a11fc74e86fc416ad39e8e70665cf1e Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 14:59:51 +0100 -Subject: [PATCH 31/76] ASoC: Add support for PCM5102A codec +Subject: [PATCH 31/75] ASoC: Add support for PCM5102A codec Some definitions to support the PCM5102A codec by Texas Instruments. @@ -107797,10 +107799,10 @@ index 0000000..126f1e9 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From a4e0bbc0b34abd6a6ac39668199237209d7c6c81 Mon Sep 17 00:00:00 2001 +From d4a55f9a2ba9e151992cd55dab5d73de749f7762 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:04:54 +0100 -Subject: [PATCH 32/76] BCM2708: Add I2S support to board file +Subject: [PATCH 32/75] BCM2708: Add I2S support to board file Adds the required initializations for I2S to the board file of mach-bcm2708. @@ -107855,10 +107857,10 @@ index a740344..dca28ad 100644 struct amba_device *d = amba_devs[i]; amba_device_register(d, &iomem_resource); -From 282d16b7547857e53872678edf84bbac9d9d6d2a Mon Sep 17 00:00:00 2001 +From bdf250bae4a7fbed69a5396efbc568b411000758 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:19:08 +0100 -Subject: [PATCH 33/76] ASoC: Add support for HifiBerry DAC +Subject: [PATCH 33/75] ASoC: Add support for HifiBerry DAC This adds a machine driver for the HifiBerry DAC. It is a sound card that can @@ -108007,10 +108009,10 @@ index 0000000..4b70b45 +MODULE_DESCRIPTION("ASoC Driver for HifiBerry DAC"); +MODULE_LICENSE("GPL v2"); -From 5dccc7e9f29087369ccb026f9575e99083ef16f0 Mon Sep 17 00:00:00 2001 +From 1c73766d986b7ed49ec0384a877e5c8216b40447 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 22 Nov 2013 19:21:34 +0100 -Subject: [PATCH 34/76] BCM2708: Add HifiBerry DAC to board file +Subject: [PATCH 34/75] BCM2708: Add HifiBerry DAC to board file This adds the initalization of the HifiBerry DAC to the mach-bcm2708 board file. @@ -108058,10 +108060,10 @@ index dca28ad..50d4991 100644 struct amba_device *d = amba_devs[i]; amba_device_register(d, &iomem_resource); -From ae66fc66ae845d0a80859935bf0e57465ef79ab4 Mon Sep 17 00:00:00 2001 +From c93653a39be1c262b7a11f8b6b7d3ebb2b10518c Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 18:55:53 +0100 -Subject: [PATCH 35/76] ASoC: BCM2708: Add 24 bit support +Subject: [PATCH 35/75] ASoC: BCM2708: Add 24 bit support This adds 24 bit support to the I2S driver of the BCM2708. Besides enabling the 24 bit flags, it includes two bug fixes: @@ -108133,10 +108135,10 @@ index ebaf3d6..a179216 100644 .period_bytes_min = 32, .period_bytes_max = 64 * PAGE_SIZE, -From 642aff2a6d0d8ef686f2d65c86cc9c1b90a2e105 Mon Sep 17 00:00:00 2001 +From b92101f8f94c6cb0dd033a197d4e7a4c701d99f0 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Sat, 13 Sep 2014 10:52:04 +0100 -Subject: [PATCH 36/76] bcm2708-i2s: Update bclk_ratio to more correct values +Subject: [PATCH 36/75] bcm2708-i2s: Update bclk_ratio to more correct values --- sound/soc/bcm/bcm2708-i2s.c | 6 +++--- @@ -108166,10 +108168,10 @@ index a179216..fd50e2d 100644 default: return -EINVAL; -From 5d7d0ee1caab24d593c2d4596b9b639aba4a1c0e Mon Sep 17 00:00:00 2001 +From de9fd0c7f9a7f5d5c9e9e021a79f8ca48d42c032 Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Mon, 2 Dec 2013 20:28:22 +0100 -Subject: [PATCH 37/76] BCM2708: Add I2S and DMA support to default config +Subject: [PATCH 37/75] BCM2708: Add I2S and DMA support to default config This commit adds several modules that are needed for I2S support for the Raspberry Pi to the defconfig. @@ -108180,7 +108182,7 @@ Signed-off-by: Florian Meier 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 650b541..cb7bc32 100644 +index 1f14e0c..e0e624a 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -751,6 +751,10 @@ CONFIG_SND_USB_UA101=m @@ -108204,10 +108206,10 @@ index 650b541..cb7bc32 100644 CONFIG_UIO_PDRV_GENIRQ=m CONFIG_STAGING=y -From 819f6e763aa2dac4a50d6b9afbd1b61194fe8cd4 Mon Sep 17 00:00:00 2001 +From ea1264a2d5f44af48a8e06cdd63b9a7599c8090f Mon Sep 17 00:00:00 2001 From: Florian Meier Date: Fri, 6 Dec 2013 20:50:28 +0100 -Subject: [PATCH 38/76] ASoC: BCM2708: Add support for RPi-DAC +Subject: [PATCH 38/75] ASoC: BCM2708: Add support for RPi-DAC This adds a machine driver for the RPi-DAC. @@ -108226,7 +108228,7 @@ Signed-off-by: Florian Meier create mode 100644 sound/soc/codecs/pcm1794a.c diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index cb7bc32..ea00918 100644 +index e0e624a..063a443 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -754,6 +754,7 @@ CONFIG_SND_USB_6FIRE=m @@ -108515,10 +108517,10 @@ index 0000000..b4eaa44 +MODULE_AUTHOR("Florian Meier "); +MODULE_LICENSE("GPL v2"); -From 49202bd22e97b793788cd3c00cf1ffdb36d43bbf Mon Sep 17 00:00:00 2001 +From 9ab1f8feee0efebb07ef3f5ad56dcacfdfe26f11 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:41:23 +0100 -Subject: [PATCH 39/76] ASoC: wm8804: Implement MCLK configuration options, add +Subject: [PATCH 39/75] 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 @@ -108558,10 +108560,10 @@ index 0ea01df..4724553 100644 #define WM8804_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | \ -From a684e4d707ab8c34ced2a5446dc5fca12e9ad032 Mon Sep 17 00:00:00 2001 +From c65750d2cdcc43bbf3bb98a0d8fdc45ad8b84bcf Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Wed, 15 Jan 2014 21:42:08 +0100 -Subject: [PATCH 40/76] ASoC: BCM:Add support for HiFiBerry Digi. Driver is +Subject: [PATCH 40/75] ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patched WM8804 driver. Signed-off-by: Daniel Matuschek @@ -108764,10 +108766,10 @@ index 0000000..e4f769d +MODULE_DESCRIPTION("ASoC Driver for HifiBerry Digi"); +MODULE_LICENSE("GPL v2"); -From fc4289a31f093d4ce09a9f181d8e740ec2238e91 Mon Sep 17 00:00:00 2001 +From a6494ef87386868de1f383bbd331a52189ddab68 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:26:08 +0100 -Subject: [PATCH 41/76] BCM2708: Added support for HiFiBerry Digi board Board +Subject: [PATCH 41/75] BCM2708: Added support for HiFiBerry Digi board Board initalization by I2C Signed-off-by: Daniel Matuschek @@ -108814,10 +108816,10 @@ index 100c223..a57cb85 100644 bcm_register_device(&snd_rpi_dac_device); bcm_register_device(&snd_pcm1794a_codec_device); -From a0908be469bc2fd6900186bc68b30aabe15d84bd Mon Sep 17 00:00:00 2001 +From 923c02d26c8b04c41429c392c1218364e6841c2b Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:27:28 +0100 -Subject: [PATCH 42/76] BCM2708: Added HiFiBerry Digi configuration option It +Subject: [PATCH 42/75] BCM2708: Added HiFiBerry Digi configuration option It will be compiled as a module by default. This also includes the WM8804 driver. @@ -108827,7 +108829,7 @@ Signed-off-by: Daniel Matuschek 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index ea00918..14c3d9f 100644 +index 063a443..8eda3b4 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -754,6 +754,7 @@ CONFIG_SND_USB_6FIRE=m @@ -108839,10 +108841,10 @@ index ea00918..14c3d9f 100644 CONFIG_SND_SIMPLE_CARD=m CONFIG_SOUND_PRIME=m -From b69df7d0aefb10191dcb85009328db28dd6cc933 Mon Sep 17 00:00:00 2001 +From 6fbddc6266413566399841eb748840664db5bb08 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Thu, 16 Jan 2014 07:36:35 +0100 -Subject: [PATCH 43/76] ASoC: wm8804: Set idle_bias_off to false Idle bias has +Subject: [PATCH 43/75] ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup Signed-off-by: Daniel Matuschek @@ -108864,10 +108866,10 @@ index 4724553..5d4140e 100644 .controls = wm8804_snd_controls, .num_controls = ARRAY_SIZE(wm8804_snd_controls), -From 161f6eb4de967ea4283cbd06c21a8dfd6c25f765 Mon Sep 17 00:00:00 2001 +From 89669571406a36da8453710735b03596940edc95 Mon Sep 17 00:00:00 2001 From: Gordon Garrity Date: Sat, 8 Mar 2014 16:56:57 +0000 -Subject: [PATCH 44/76] Add IQaudIO Sound Card support for Raspberry Pi +Subject: [PATCH 44/75] Add IQaudIO Sound Card support for Raspberry Pi --- arch/arm/configs/bcmrpi_defconfig | 1 + @@ -108879,7 +108881,7 @@ Subject: [PATCH 44/76] Add IQaudIO Sound Card support for Raspberry Pi create mode 100644 sound/soc/bcm/iqaudio-dac.c diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 14c3d9f..a6b3c0c 100644 +index 8eda3b4..0a3bfe8 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -756,6 +756,7 @@ CONFIG_SND_BCM2708_SOC_I2S=m @@ -109077,10 +109079,10 @@ index 0000000..8d0e2ae +MODULE_DESCRIPTION("ASoC Driver for IQAudio DAC"); +MODULE_LICENSE("GPL v2"); -From 596f005542adf6b8e4913bee2bd7cdf30fa352f4 Mon Sep 17 00:00:00 2001 +From 1aed5f7489e74cef0644abb235a442464f7b6561 Mon Sep 17 00:00:00 2001 From: Howard Mitchell Date: Wed, 30 Jul 2014 21:43:37 +0100 -Subject: [PATCH 45/76] soc-core: Fix volsw_range funcs so +Subject: [PATCH 45/75] soc-core: Fix volsw_range funcs so SOC_DOUBLE_R_RANGE_TLV works. This is so that the correct range of values as specified @@ -109091,7 +109093,7 @@ hardware for both the normal and invert cases. 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c -index d074aa9..3d5fefd 100644 +index a3e0a0d..ca4aa5a 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -2995,8 +2995,8 @@ int snd_soc_info_volsw_range(struct snd_kcontrol *kcontrol, @@ -109154,10 +109156,10 @@ index d074aa9..3d5fefd 100644 return 0; -From 920e50bf959c2ccd796233852bf225caca90c6df Mon Sep 17 00:00:00 2001 +From c7d8bae2448c5f547fd97934182f09ec31a2b6cf Mon Sep 17 00:00:00 2001 From: Howard Mitchell Date: Fri, 28 Mar 2014 16:40:31 +0000 -Subject: [PATCH 46/76] pcm512x: Use a range macro for Volume and rename to +Subject: [PATCH 46/75] pcm512x: Use a range macro for Volume and rename to PCM. This allows limiting the output gain to avoid clipping in the @@ -109182,10 +109184,10 @@ index 0c8aefa..8252e6d 100644 PCM512x_LAGN_SHIFT, PCM512x_RAGN_SHIFT, 1, 1, analog_tlv), SOC_DOUBLE_TLV("Playback Boost Volume", PCM512x_ANALOG_GAIN_BOOST, -From 407bf6dd92408d6fd778859ea0d10e887d2ceddd Mon Sep 17 00:00:00 2001 +From d6f4ae02c5a26fe893185630ea6eef01a3cf7de9 Mon Sep 17 00:00:00 2001 From: Gordon Hollingworth Date: Fri, 2 May 2014 16:13:59 +0100 -Subject: [PATCH 47/76] Move GPIO setup to hw_params. +Subject: [PATCH 47/75] Move GPIO setup to hw_params. This is used to stop the I2S driver from breaking the GPIO setup for other uses of the PCM interface @@ -109281,10 +109283,10 @@ index fd50e2d..0c20d4d 100644 dev->clk_regmap = regmap[1]; -From 9c43a1c4012c4e72baf92d0990a36bd604dec9d9 Mon Sep 17 00:00:00 2001 +From 0aae8fe145761410417b8b1dfac7f58159eed3f9 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 18 Jun 2014 13:42:01 +0100 -Subject: [PATCH 48/76] vmstat: Workaround for issue where dirty page count +Subject: [PATCH 48/75] vmstat: Workaround for issue where dirty page count goes negative See: @@ -109311,10 +109313,10 @@ index 82e7db7..f87d16d 100644 static inline void __inc_zone_page_state(struct page *page, -From 7b14d097a41179cf043211ca389012cbe1d6cfd3 Mon Sep 17 00:00:00 2001 +From 2759748b6fc2e2c90de8a3c13b745f1f44cdff46 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 20 Jun 2014 16:03:12 +0100 -Subject: [PATCH 49/76] dwc_otg: Fix various issues with root port and +Subject: [PATCH 49/75] dwc_otg: Fix various issues with root port and transaction errors Process the host port interrupts correctly (and don't trample them). @@ -109384,10 +109386,10 @@ index d3e2035..6182d3e 100644 fiq_print(FIQDBG_ERR, dwc_otg_hcd->fiq_state, "RESET "); } -From 5ba351a10518976722ff0faf886c2f75d4367e7d Mon Sep 17 00:00:00 2001 +From 3048489f64c164181b6b1a66561b8eb8501a9bc8 Mon Sep 17 00:00:00 2001 From: P33M Date: Fri, 20 Jun 2014 17:23:20 +0100 -Subject: [PATCH 50/76] fiq_fsm: Implement hack for Split Interrupt +Subject: [PATCH 50/75] fiq_fsm: Implement hack for Split Interrupt transactions Hubs aren't too picky about which endpoint we send Control type split @@ -109473,10 +109475,10 @@ index ebc3553..c39ef31 100644 break; } -From a669a7ad39e0461baca8b10bdf8b37c63b94b3b1 Mon Sep 17 00:00:00 2001 +From 1811233c2129860f76bc9b37d124b27f9141db31 Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 6 Jul 2014 12:07:25 +0200 -Subject: [PATCH 51/76] spi-bcm2708: Prepare for Common Clock Framework +Subject: [PATCH 51/75] spi-bcm2708: Prepare for Common Clock Framework migration As part of migrating to use the Common Clock Framework, replace clk_enable() @@ -109521,10 +109523,10 @@ index b04a57d..349d21f 100644 free_irq(bs->irq, master); iounmap(bs->base); -From 98dad1ff017263585e73af440639bfb9f7e67db4 Mon Sep 17 00:00:00 2001 +From 72b27cf37d86a38cd2649e651be49bc2e08ee6aa Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 6 Jul 2014 12:09:30 +0200 -Subject: [PATCH 52/76] BCM2708: Migrate to the Common Clock Framework +Subject: [PATCH 52/75] BCM2708: Migrate to the Common Clock Framework As part of moving towards using Device Tree, the Common Clock Framework has to be used instead of the BCM2708 clock implementation. @@ -109794,10 +109796,10 @@ index 5f9d725..0000000 - unsigned long rate; -}; -From 94b5481f1e0a38229c4de09211c22de9a207fa42 Mon Sep 17 00:00:00 2001 +From 07f8682c61c3bedd138fbd5012db31e49d053355 Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:46:08 +0200 -Subject: [PATCH 53/76] BCM2708: Add core Device Tree support +Subject: [PATCH 53/75] BCM2708: Add core Device Tree support Add the bare minimum needed to boot BCM2708 from a Device Tree. @@ -109954,10 +109956,10 @@ index ef12cb8..747e27a 100644 module_param(boardrev, uint, 0644); -From 69635dff22e53e9b7e6c1aeccee7073e2bb46e84 Mon Sep 17 00:00:00 2001 +From e8216e368a028572f690a55f5678ee4c7f1ee0bb Mon Sep 17 00:00:00 2001 From: notro Date: Wed, 9 Jul 2014 14:47:48 +0200 -Subject: [PATCH 54/76] BCM2708: armctrl: Add IRQ Device Tree support +Subject: [PATCH 54/75] BCM2708: armctrl: Add IRQ Device Tree support Add Device Tree IRQ support for BCM2708. Usage is the same as for irq-bcm2835. @@ -110121,10 +110123,10 @@ index d4c5333..42f5e1c 100644 return 0; } -From 2c664f24fd854197cf0711152a93087d8baf498e Mon Sep 17 00:00:00 2001 +From 8fef85d3fc49d647816545c6d11c48dbc4ca8fde Mon Sep 17 00:00:00 2001 From: notro Date: Thu, 10 Jul 2014 13:59:47 +0200 -Subject: [PATCH 55/76] pinctrl: add bcm2708 driver +Subject: [PATCH 55/75] pinctrl: add bcm2708 driver This driver is a verbatim copy of the pinctrl-bcm2835 driver, except for: * changed 2835 to 2708 @@ -110987,10 +110989,10 @@ index 0000000..40d9c86 +MODULE_DESCRIPTION("BCM2708 Pin control driver"); +MODULE_LICENSE("GPL"); -From 97c60249a65512e7b7deaa97eda82197d1098cc9 Mon Sep 17 00:00:00 2001 +From 6f72e1d637a7593a2340ccc739aa494c6710a212 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 14 Jul 2014 22:02:09 +0100 -Subject: [PATCH 56/76] hid: Reduce default mouse polling interval to 60Hz +Subject: [PATCH 56/75] hid: Reduce default mouse polling interval to 60Hz Reduces overhead when using X --- @@ -110998,7 +111000,7 @@ Reduces overhead when using X 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c -index 79cf503..db5ebe7 100644 +index ddd547a..520d3cd 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c @@ -49,7 +49,7 @@ @@ -111010,7 +111012,7 @@ index 79cf503..db5ebe7 100644 module_param_named(mousepoll, hid_mousepoll_interval, uint, 0644); MODULE_PARM_DESC(mousepoll, "Polling interval of mice"); -@@ -1091,8 +1091,12 @@ static int usbhid_start(struct hid_device *hid) +@@ -1095,8 +1095,12 @@ static int usbhid_start(struct hid_device *hid) } /* Change the polling interval of mice. */ @@ -111026,10 +111028,10 @@ index 79cf503..db5ebe7 100644 ret = -ENOMEM; if (usb_endpoint_dir_in(endpoint)) { -From 504ab8d92954040e126fa8e6826d4b3620a1efcf Mon Sep 17 00:00:00 2001 +From 2ff6bf3a2e65d494716faa545e81bac925c45ea3 Mon Sep 17 00:00:00 2001 From: notro Date: Fri, 18 Jul 2014 18:15:57 +0200 -Subject: [PATCH 57/76] BCM2708: DT: change 'axi' nodename to 'soc' +Subject: [PATCH 57/75] BCM2708: DT: change 'axi' nodename to 'soc' Change DT node named 'axi' to 'soc' so it matches ARCH_BCM2835. The VC4 bootloader fills in certain properties in the 'axi' subtree, @@ -111054,10 +111056,10 @@ index 3f884b3..e02e67b 100644 #address-cells = <1>; #size-cells = <1>; -From 4fe0557221ae4613e55cf11d03b630c8dcf17fc4 Mon Sep 17 00:00:00 2001 +From d0852bb8e91cebc792b6dbdd690c8fe6feef14e0 Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 27 Jul 2014 20:12:58 +0200 -Subject: [PATCH 58/76] spi: bcm2708: add device tree support +Subject: [PATCH 58/75] spi: bcm2708: add device tree support Add DT support to driver and add to .dtsi file. Setup pins and spidev in .dts file. @@ -111176,10 +111178,10 @@ index 349d21f..041b5e2 100644 .probe = bcm2708_spi_probe, .remove = bcm2708_spi_remove, -From 6a4c124297b39624adf2e5cc4ab9a73d4bf9c046 Mon Sep 17 00:00:00 2001 +From 26b30e677795a3f9dfd3c8cf2889e3dfcff2987f Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 27 Jul 2014 20:13:44 +0200 -Subject: [PATCH 59/76] BCM2708: don't register SPI controller when using DT +Subject: [PATCH 59/75] BCM2708: don't register SPI controller when using DT The device for the SPI controller is in the Device Tree. Only register the device when not using DT. @@ -111250,10 +111252,10 @@ index 747e27a..0434cbf 100644 bcm_register_device(&bcm2708_bsc1_device); -From dffb8608c1e73d36ff6c0b95dff1b5ae1de3c168 Mon Sep 17 00:00:00 2001 +From cb5392ae87661ee010609f2bbc3b920f53882796 Mon Sep 17 00:00:00 2001 From: notro Date: Sun, 27 Jul 2014 20:14:05 +0200 -Subject: [PATCH 60/76] spi: bcm2835: make driver available on ARCH_BCM2708 +Subject: [PATCH 60/75] spi: bcm2835: make driver available on ARCH_BCM2708 Make this driver available on ARCH_BCM2708 @@ -111276,10 +111278,10 @@ index 6a7943c..6600723 100644 This selects a driver for the Broadcom BCM2835 SPI master. -From de594e7365ecaea6bd57a9d4978686ece80f0c8e Mon Sep 17 00:00:00 2001 +From 793c27004e0afdd2ea90b6c21d8b5d45a301805e Mon Sep 17 00:00:00 2001 From: notro Date: Tue, 29 Jul 2014 11:04:49 +0200 -Subject: [PATCH 61/76] i2c: bcm2708: add device tree support +Subject: [PATCH 61/75] i2c: bcm2708: add device tree support Add DT support to driver and add to .dtsi file. Setup pins in .dts file. @@ -111444,10 +111446,10 @@ index 8750634..728cb69 100644 .probe = bcm2708_i2c_probe, .remove = bcm2708_i2c_remove, -From 947bdf16ca9872822266ad2ede1d112f265b8d6b Mon Sep 17 00:00:00 2001 +From 89d3773ec654584d6361e20b46e9602de4c3b679 Mon Sep 17 00:00:00 2001 From: notro Date: Tue, 29 Jul 2014 11:05:18 +0200 -Subject: [PATCH 62/76] bcm2708: don't register i2c controllers when using DT +Subject: [PATCH 62/75] bcm2708: don't register i2c controllers when using DT The devices for the i2c controllers are in the Device Tree. Only register devices when not using DT. @@ -111489,10 +111491,10 @@ index 0434cbf..902f8c7 100644 bcm_register_device(&bcm2835_hwmon_device); bcm_register_device(&bcm2835_thermal_device); -From e2aa3947a9227dc5ea57c51ecaf34bcf517b746c Mon Sep 17 00:00:00 2001 +From 6f0c2fff591dfa4d653d9bdcb975d13706551cfa Mon Sep 17 00:00:00 2001 From: notro Date: Tue, 29 Jul 2014 11:05:39 +0200 -Subject: [PATCH 63/76] i2c: bcm2835: make driver available on ARCH_BCM2708 +Subject: [PATCH 63/75] i2c: bcm2835: make driver available on ARCH_BCM2708 Make this driver available on ARCH_BCM2708 @@ -111515,10 +111517,10 @@ index d8f8e2a..5f62d88 100644 If you say yes to this option, support will be included for the BCM2835 I2C controller. -From 35c69bba4143c70209a3e6f51bd56417bf8eee32 Mon Sep 17 00:00:00 2001 +From e59c2d9f5deb6157c93969e2bccab1df783fcf48 Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Fri, 25 Jul 2014 07:08:09 +0200 -Subject: [PATCH 64/76] Configure GPIOs for I2S based on revision/card settings +Subject: [PATCH 64/75] Configure GPIOs for I2S based on revision/card settings With RPi model B+, assignment of the I2S GPIO pins has changed. This patch uses the board revision to auto-detect the GPIOs used @@ -111703,10 +111705,10 @@ index 0000000..94fed6a + +#endif -From 1a31e5b0ca6b2c5c19cf29f5750f92ebf99ba5df Mon Sep 17 00:00:00 2001 +From d782b27abbf2ef958556b96f31db39883471892c Mon Sep 17 00:00:00 2001 From: P33M Date: Thu, 24 Jul 2014 21:24:03 +0100 -Subject: [PATCH 65/76] usb: core: make overcurrent messages more prominent +Subject: [PATCH 65/75] usb: core: make overcurrent messages more prominent Hub overcurrent messages are more serious than "debug". Increase loglevel. --- @@ -111714,10 +111716,10 @@ Hub overcurrent messages are more serious than "debug". Increase loglevel. 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c -index dc84915..e9e061e 100644 +index 674c262..b1ac9e0 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c -@@ -4915,7 +4915,7 @@ static void port_event(struct usb_hub *hub, int port1) +@@ -4918,7 +4918,7 @@ static void port_event(struct usb_hub *hub, int port1) if (portchange & USB_PORT_STAT_C_OVERCURRENT) { u16 status = 0, unused; @@ -111727,10 +111729,10 @@ index dc84915..e9e061e 100644 USB_PORT_FEAT_C_OVER_CURRENT); msleep(100); /* Cool down */ -From e37eac9d0813bcb1f54085453911d76d68d546fd Mon Sep 17 00:00:00 2001 +From ce48d900d539d2d8d576b78782a98ce51d67719e Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Tue, 22 Jul 2014 15:41:04 +0100 -Subject: [PATCH 66/76] vcsm: VideoCore shared memory service for BCM2835 +Subject: [PATCH 66/75] 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 @@ -116063,10 +116065,10 @@ index 0000000..da1c523 +MODULE_DESCRIPTION("VideoCore SharedMemory Driver"); +MODULE_LICENSE("GPL v2"); -From b01864bccde9d12c753607519611beb26dc131c8 Mon Sep 17 00:00:00 2001 +From 56785c505ffbfff3293d34f05d1fa020371c53f2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Thu, 7 Aug 2014 02:03:50 +0100 -Subject: [PATCH 67/76] Revert "ARM: dma: Use dma_pfn_offset for dma address +Subject: [PATCH 67/75] Revert "ARM: dma: Use dma_pfn_offset for dma address translation" This reverts commit 6ce0d20016925d031f1e24d64302e4c976d7cec6. @@ -116118,10 +116120,10 @@ index c45b61a..0af6bd0 100644 } -From c477b658b0813f4dbc6b0ed800bee9981f12703a Mon Sep 17 00:00:00 2001 +From e76eb1c8d09e4276db47c423985f6bed285de58f Mon Sep 17 00:00:00 2001 From: gellert Date: Fri, 15 Aug 2014 16:35:06 +0100 -Subject: [PATCH 68/76] MMC: added alternative MMC driver +Subject: [PATCH 68/75] MMC: added alternative MMC driver --- arch/arm/configs/bcmrpi_defconfig | 2 + @@ -116133,7 +116135,7 @@ Subject: [PATCH 68/76] MMC: added alternative MMC driver create mode 100644 drivers/mmc/host/bcm2835-mmc.c diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index a6b3c0c..53f9601 100644 +index 0a3bfe8..9f438cd 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -907,6 +907,8 @@ CONFIG_MMC=y @@ -117818,10 +117820,10 @@ index 0000000..123ff94 +MODULE_LICENSE("GPL v2"); +MODULE_AUTHOR("Gellert Weisz"); -From a486d232fe2b4ed732c21ed895a444acc209373a Mon Sep 17 00:00:00 2001 +From 3c2a80ecbe440d5670bd4417004c8cf32edbaa1b Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 10:06:56 +0200 -Subject: [PATCH 69/76] Added support for HiFiBerry DAC+ +Subject: [PATCH 69/75] 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. @@ -117835,7 +117837,7 @@ a different codec chip (PCM5122), therefore a new driver is necessary. create mode 100644 sound/soc/bcm/hifiberry_dacplus.c diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 53f9601..b5c7441 100644 +index 9f438cd..7cde874 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -754,6 +754,7 @@ CONFIG_SND_USB_6FIRE=m @@ -118045,10 +118047,10 @@ index 0000000..c63387b +MODULE_DESCRIPTION("ASoC Driver for HiFiBerry DAC+"); +MODULE_LICENSE("GPL v2"); -From 9241d2971b404582be64fcede73829ab327eeb8e Mon Sep 17 00:00:00 2001 +From 7a8bf6f41f3f0016aa53b65e6da1a1cfb846aedf Mon Sep 17 00:00:00 2001 From: android Date: Mon, 25 Aug 2014 06:54:19 +0100 -Subject: [PATCH 70/76] bcm2708_fb : Implement blanking support using the +Subject: [PATCH 70/75] bcm2708_fb : Implement blanking support using the mailbox property interface This implementation uses the userspace request style of an array of unsigned @@ -118108,10 +118110,10 @@ index b3b1e04..b25dd5b 100644 const struct fb_fillrect *rect) { -From 5fe850fd135e6f5fa1b7e55d6302c27ddb411a49 Mon Sep 17 00:00:00 2001 +From 727601b06adb682a48da9337c78e8b55246a8f7a Mon Sep 17 00:00:00 2001 From: Daniel Matuschek Date: Mon, 4 Aug 2014 11:09:58 +0200 -Subject: [PATCH 71/76] Added driver for HiFiBerry Amp amplifier add-on board +Subject: [PATCH 71/75] 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. @@ -118131,7 +118133,7 @@ drivers for the Raspberry Pi I2S subsystem. create mode 100644 sound/soc/codecs/tas5713.h diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index b5c7441..4cd8124 100644 +index 7cde874..4a14387 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -756,6 +756,7 @@ CONFIG_SND_BCM2708_SOC_I2S=m @@ -118955,10 +118957,10 @@ index 0000000..8f019e0 + +#endif /* _TAS5713_H */ -From c265657f983237ffc65c5a101cc2ca78d7cab4bc Mon Sep 17 00:00:00 2001 +From 585d444630a0342e15757ab1217ebdae722b59e2 Mon Sep 17 00:00:00 2001 From: popcornmix Date: Wed, 3 Sep 2014 23:35:44 +0100 -Subject: [PATCH 72/76] bcm2708_fb: Add pan and vsync controls +Subject: [PATCH 72/75] bcm2708_fb: Add pan and vsync controls --- drivers/video/fbdev/bcm2708_fb.c | 56 ++++++++++++++++++++++++++++++++-------- @@ -119070,10 +119072,10 @@ index b25dd5b..32aaaf5 100644 fb->fb.fix.accel = FB_ACCEL_NONE; -From 52f85176282dd50a9ae57d3679f26ffc2853f9bc Mon Sep 17 00:00:00 2001 +From 096dc205e9c7d6d0d1ad50451f69262440afd061 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Oct 2014 11:47:53 +0100 -Subject: [PATCH 73/76] Improve __copy_to_user and __copy_from_user performance +Subject: [PATCH 73/75] Improve __copy_to_user and __copy_from_user performance Provide a __copy_from_user that uses memcpy. On BCM2708, use optimised memcpy/memmove/memcmp/memset implementations. @@ -120596,10 +120598,10 @@ index 3e58d71..0622891 100644 static unsigned long noinline __clear_user_memset(void __user *addr, unsigned long n) -From cdb25b118fe5fa693407cdc3a0b54e40c79766d7 Mon Sep 17 00:00:00 2001 +From 28197188b024ea4b63c37bcd93385abfbe8fc910 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Wed, 15 Oct 2014 11:34:37 +0100 -Subject: [PATCH 74/76] bcm2708: Eliminate i2s debugfs directory error +Subject: [PATCH 74/75] bcm2708: Eliminate i2s debugfs directory error Qualify the two regmap ranges uses by bcm2708-i2s ('-i2s' and '-clk') to avoid the name clash when registering debugfs entries. @@ -120628,47 +120630,27 @@ index 9023984..3fcb740 100644 }; -From 588b0839f74b287220a1a7e316e9c01e59b5c688 Mon Sep 17 00:00:00 2001 +From d5fb7316c518719fa10b896d54ce15d5f1093a23 Mon Sep 17 00:00:00 2001 From: popcornmix -Date: Mon, 20 Oct 2014 14:05:01 +0100 -Subject: [PATCH 75/76] snd-bcm2708: Fix dmesg spam for non-error case +Date: Fri, 14 Nov 2014 16:02:26 +0000 +Subject: [PATCH 75/75] config: Remove CONFIG_REGULATOR - we don't have a + regulator driver --- - sound/arm/bcm2835-vchiq.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sound/arm/bcm2835-vchiq.c b/sound/arm/bcm2835-vchiq.c -index cfa669e..3c95381 100755 ---- a/sound/arm/bcm2835-vchiq.c -+++ b/sound/arm/bcm2835-vchiq.c -@@ -556,7 +556,7 @@ int bcm2835_audio_set_ctls(bcm2835_chip_t * chip) - LOG_ERR("Couldn't set the controls for stream %d\n", i); - ret = -1; - } -- else LOG_ERR(" Controls set for stream %d\n", i); -+ else LOG_DBG(" Controls set for stream %d\n", i); - } - } - LOG_DBG(" .. OUT ret=%d\n", ret); - -From 1f6cd09d340c84759c73844bee78d2e177b9ab17 Mon Sep 17 00:00:00 2001 -From: popcornmix -Date: Sun, 26 Oct 2014 14:21:26 +0000 -Subject: [PATCH 76/76] config: remove CONFIG_DEBUG_INFO - ---- - arch/arm/configs/bcmrpi_defconfig | 1 - - 1 file changed, 1 deletion(-) + arch/arm/configs/bcmrpi_defconfig | 3 --- + 1 file changed, 3 deletions(-) diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig -index 4cd8124..4a14387 100644 +index 4a14387..baf7783 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig -@@ -1082,7 +1082,6 @@ CONFIG_NLS_KOI8_U=m - CONFIG_DLM=m - CONFIG_PRINTK_TIME=y - CONFIG_BOOT_PRINTK_DELAY=y --CONFIG_DEBUG_INFO=y - CONFIG_DEBUG_STACK_USAGE=y - CONFIG_DEBUG_MEMORY_INIT=y - CONFIG_DETECT_HUNG_TASK=y +@@ -569,9 +569,6 @@ CONFIG_UCB1400_CORE=m + CONFIG_MFD_ARIZONA_I2C=m + CONFIG_MFD_ARIZONA_SPI=m + CONFIG_MFD_WM5102=y +-CONFIG_REGULATOR=y +-CONFIG_REGULATOR_FIXED_VOLTAGE=m +-CONFIG_REGULATOR_ARIZONA=m + CONFIG_MEDIA_SUPPORT=m + CONFIG_MEDIA_CAMERA_SUPPORT=y + CONFIG_MEDIA_ANALOG_TV_SUPPORT=y