mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
2b1c6b21b5
As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also adds support for Raspberry Pi Compute Module 3 (untested). Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From b90a1393b3bdffa88c8e8dfbdc2bec650a5f885e Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Tue, 9 Aug 2016 21:51:41 +0100
|
|
Subject: [PATCH] overlays: Add assert_falling_edge to pps-gpio overlay
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/1590
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 2 ++
|
|
arch/arm/boot/dts/overlays/pps-gpio-overlay.dts | 1 +
|
|
2 files changed, 3 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -797,6 +797,8 @@ Name: pps-gpio
|
|
Info: Configures the pps-gpio (pulse-per-second time signal via GPIO).
|
|
Load: dtoverlay=pps-gpio,<param>=<val>
|
|
Params: gpiopin Input GPIO (default "18")
|
|
+ assert_falling_edge When present, assert is indicated by a falling
|
|
+ edge, rather than by a rising edge
|
|
|
|
|
|
Name: pwm
|
|
--- a/arch/arm/boot/dts/overlays/pps-gpio-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/pps-gpio-overlay.dts
|
|
@@ -30,5 +30,6 @@
|
|
__overrides__ {
|
|
gpiopin = <&pps>,"gpios:4",
|
|
<&pps_pins>,"brcm,pins:0";
|
|
+ assert_falling_edge = <&pps>,"assert-falling-edge?";
|
|
};
|
|
};
|