Skip to content

Instantly share code, notes, and snippets.

@pelwell
pelwell / 0001-BCM2708-Use-upstream-interrupt-driver-on-all-Pi1-s.patch
Created August 19, 2015 08:26
BCM2708: Use upstream interrupt driver on all Pi1's
From 104951f582f52e7b391b4bcea3ebaa13e28a7a8a Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Wed, 19 Aug 2015 08:49:11 +0100
Subject: [PATCH] BCM2708: Use upstream interrupt driver on all Pi1's
Although the aim is to delete the old armctrl driver, that can't happen
while non-DT configurations are still supported. This commit enables
use of the new FIQ-enabled upstream irqchip driver when DT is enabled
on all BCM2835-based RPi platforms (Models A, B, A+, B+ & CM).
@pelwell
pelwell / 0001-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch
Created June 25, 2015 11:23
Patch to support gpio-poweroff on the Pi
From ac6797373064264c76d839bfe8e9a3c68f828998 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 25 Jun 2015 12:16:11 +0100
Subject: [PATCH] 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
the gpio-poweroff module to abort the probe function.
This patch introduces a "force" DT property that overrides that
@pelwell
pelwell / 0001-BCM270X_DT-Sort-nodes-by-bus-address-and-consolidate.patch
Last active August 29, 2015 14:23
Patches to allow I2C2 to be enabled and used. Use with extreme caution.
From 557b787b67d8037601d4efeb1ed2980156c75a60 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 22 Jun 2015 14:21:55 +0100
Subject: [PATCH 1/2] BCM270X_DT: Sort nodes by bus address, and consolidate
aliases
---
arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 19 ----------
arch/arm/boot/dts/bcm2708-rpi-b.dts | 19 ----------
arch/arm/boot/dts/bcm2708-rpi-cm.dtsi | 21 -----------