summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-pps-gpio.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-01-04 18:35:32 -0600
committerJohn Klug <john.klug@multitech.com>2019-01-04 18:35:56 -0600
commit9975c9f348d1588ee8c67f4830ff053313d1c179 (patch)
treea471e6c66bbbdc6bf7650b0a107315368467dba5 /recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-pps-gpio.patch
parentcb905d8eb251a58ab3f613c61dbbc3ef9efe8628 (diff)
downloadmeta-multitech-atmel-9975c9f348d1588ee8c67f4830ff053313d1c179.tar.gz
meta-multitech-atmel-9975c9f348d1588ee8c67f4830ff053313d1c179.tar.bz2
meta-multitech-atmel-9975c9f348d1588ee8c67f4830ff053313d1c179.zip
Sanitize the version of the kernel removing dirty and at91
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-pps-gpio.patch')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-pps-gpio.patch23
1 files changed, 1 insertions, 22 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-pps-gpio.patch b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-pps-gpio.patch
index 554b53f..7d8881c 100644
--- a/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-pps-gpio.patch
+++ b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-pps-gpio.patch
@@ -1,3 +1,4 @@
+# It appears that capture clear is now implemented. Keep the doc fix.
diff -uprN old/Documentation/devicetree/bindings/pps/pps-gpio.txt new/Documentation/devicetree/bindings/pps/pps-gpio.txt
--- old/Documentation/devicetree/bindings/pps/pps-gpio.txt 2016-09-19 09:51:11.271472335 -0500
+++ new/Documentation/devicetree/bindings/pps/pps-gpio.txt 2016-09-19 09:49:27.283474197 -0500
@@ -7,25 +8,3 @@ diff -uprN old/Documentation/devicetree/bindings/pps/pps-gpio.txt new/Documentat
assert-falling-edge;
+ capture-clear;
};
-diff -uprN old/drivers/pps/clients/pps-gpio.c new/drivers/pps/clients/pps-gpio.c
---- old/drivers/pps/clients/pps-gpio.c 2016-09-19 09:51:11.271472335 -0500
-+++ new/drivers/pps/clients/pps-gpio.c 2016-09-19 17:09:02.367001869 -0500
-@@ -119,6 +119,8 @@ static int pps_gpio_probe(struct platfor
-
- if (of_get_property(np, "assert-falling-edge", NULL))
- data->assert_falling_edge = true;
-+ if (of_get_property(np, "capture-clear", NULL))
-+ data->capture_clear = true;
- }
-
- /* GPIO setup */
-@@ -208,6 +210,8 @@ static struct platform_driver pps_gpio_d
- module_platform_driver(pps_gpio_driver);
- MODULE_AUTHOR("Ricardo Martins <rasm@fe.up.pt>");
- MODULE_AUTHOR("James Nuss <jamesnuss@nanometrics.ca>");
-+MODULE_AUTHOR("Gary Miller <gem@rellim.com>");
-+
- MODULE_DESCRIPTION("Use GPIO pin as PPS source");
- MODULE_LICENSE("GPL");
--MODULE_VERSION("1.0.0");
-+MODULE_VERSION("1.0.1");