Skip to content

Instantly share code, notes, and snippets.

From 40ad837c248c9a54ad39efb2e45bc16171963b9f Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 15 Aug 2016 11:03:41 +0100
Subject: [PATCH] Increase commonality with Pi3 dts
---
arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 37 +++++++++++++++++++++++++----------
1 file changed, 27 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
/*
* 2016 - Erik Sejr
*/
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2708";
/* ----------- ADS1015 ------------ */
fragment@0 {
From 0c72a5102ac951c5e34fed336d367b5ff16061f2 Mon Sep 17 00:00:00 2001
From: Thomas Kriechbaumer <thomas@kriechbaumer.name>
Date: Fri, 3 Jun 2016 09:40:44 +0200
Subject: [PATCH] BCM270X_DT: Add spi-rtc overlay on SPI0.0
Initially version supports PCF2123 RTC.
---
arch/arm/boot/dts/overlays/Makefile | 1 +
arch/arm/boot/dts/overlays/README | 6 +++++
arch/arm/boot/dts/overlays/spi-rtc-overlay.dts | 31 ++++++++++++++++++++++++++
WARNING: line over 80 characters
#37: FILE: drivers/net/wireless/realtek/rtl8192cu/core/rtw_ioctl_set.c:538:
+u8 rtw_set_802_11_connect(_adapter* padapter, const u8 *bssid, NDIS_802_11_SSID *ssid)
ERROR: "foo* bar" should be "foo *bar"
#37: FILE: drivers/net/wireless/realtek/rtl8192cu/core/rtw_ioctl_set.c:538:
+u8 rtw_set_802_11_connect(_adapter* padapter, const u8 *bssid, NDIS_802_11_SSID *ssid)
WARNING: line over 80 characters
#76: FILE: drivers/net/wireless/realtek/rtl8192cu/include/autoconf.h:36:
@pelwell
pelwell / i2c-mux-overlay.dts
Last active May 11, 2016 11:22
Generic I2C Mux overlay
// Generic I2C Mux overlay
/dts-v1/;
/plugin/;
/{
compatible = "brcm,bcm2708";
fragment@0 {
target = <&i2c_arm>;
From 52c54a27d20295dfcfd0f8ef3c62efaa8253e8c2 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 14 Apr 2016 10:02:39 +0100
Subject: [PATCH 1/2] fixup audio
---
arch/arm/boot/dts/overlays/README | 8 ++++--
.../boot/dts/overlays/boomberry-dac-overlay.dts | 3 +--
sound/soc/bcm/boomberry-digi.c | 30 +++++++++++-----------
3 files changed, 22 insertions(+), 19 deletions(-)
@pelwell
pelwell / 0001-Aux-SPI-1-2-implementation.patch
Created February 23, 2016 15:17
Latest version of patch with cosmetic changes
From dc54420b7665e3344062d0c2571c86cc69fb418f Mon Sep 17 00:00:00 2001
From: Fraser <github@frasersdev.net>
Date: Tue, 23 Feb 2016 10:04:37 +1100
Subject: [PATCH] Aux SPI 1&2 implementation
Adds aux spi 1 & 2 devices for compatible Raspberry Pis.
* Minor config of the driver build environment to ensure they get built
for CONFIG_ARCH_BCM2708 & CONFIG_ARCH_BCM2709 devices.
* Adds the aux spi driver into the defconfigs as a module.
* Adds the auxiliary and spi1/2 devices into the device tree in a
From be3a54cb721546a7b1edf47f338c517fd2a904c3 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 4 Nov 2015 17:37:33 +0000
Subject: [PATCH] vcilcs: Avoid a potential deadlock when very threaded
See: https://github.com/raspberrypi/firmware/issues/449
---
interface/vmcs_host/vcilcs.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
@pelwell
pelwell / pr1163.patch
Last active October 13, 2015 08:33
This diff is the result of replacing the downstream I2S driver with the @HiassofT's modified upstream I2S driver after a simple 2835->2708 textual substitution, because I find it makes it easier to understand the consequences of switching. As you can see, the two drivers are virtually identical.
diff --git a/sound/soc/bcm/bcm2708-i2s.c b/sound/soc/bcm/bcm2708-i2s.c
index ad9ca2c..1eeb131 100644
--- a/sound/soc/bcm/bcm2708-i2s.c
+++ b/sound/soc/bcm/bcm2708-i2s.c
@@ -31,8 +31,6 @@
* General Public License for more details.
*/
-#include "bcm2708-i2s.h"
-
@pelwell
pelwell / 0001-squash-Unbreak-BCM2709-build.patch
Last active August 29, 2015 14:27
squash: Unbreak BCM2709 build
From 1e6be5cac10150d967295575e8192ee2445e167c Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Sat, 22 Aug 2015 16:09:40 +0100
Subject: [PATCH] squash: Unbreak BCM2709 build
---
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c