Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3.8: spi1 cs example, fix LCD4 button polarity
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
- Loading branch information
Showing
2 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
patches/not-capebus/0178-capes-Add-commented-out-example-of-use-of-spi1_cs1.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 30929cfcecfb768daaa6478f05b22216506d2bd7 Mon Sep 17 00:00:00 2001 | ||
From: Pantelis Antoniou <panto@antoniou-consulting.com> | ||
Date: Thu, 30 May 2013 16:38:42 +0300 | ||
Subject: [PATCH 178/179] capes: Add commented out example of use of spi1_cs1 | ||
|
||
--- | ||
firmware/capes/BB-SPI1-00A0.dts | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/firmware/capes/BB-SPI1-00A0.dts b/firmware/capes/BB-SPI1-00A0.dts | ||
index e26f346..1ead983 100644 | ||
--- a/firmware/capes/BB-SPI1-00A0.dts | ||
+++ b/firmware/capes/BB-SPI1-00A0.dts | ||
@@ -24,6 +24,7 @@ | ||
"P9.29", /* spi1_d0 */ | ||
"P9.30", /* spi1_d1 */ | ||
"P9.28", /* spi1_cs0 */ | ||
+ // "P9.42", /* spi1_cs1 */ | ||
/* the hardware ip uses */ | ||
"spi1"; | ||
|
||
@@ -37,6 +38,7 @@ | ||
0x194 0x33 /* mcasp0_fsx.spi1_d0, INPUT_PULLUP | MODE3 */ | ||
0x198 0x13 /* mcasp0_axr0.spi1_d1, OUTPUT_PULLUP | MODE3 */ | ||
0x19c 0x13 /* mcasp0_ahclkr.spi1_cs0, OUTPUT_PULLUP | MODE3 */ | ||
+ // 0x164 0x12 /* eCAP0_in_PWM0_out.spi1_cs1 OUTPUT_PULLUP | MODE2 */ | ||
>; | ||
}; | ||
}; | ||
-- | ||
1.8.1.4 | ||
|
61 changes: 61 additions & 0 deletions
61
patches/not-capebus/0179-cape-LCD4-Correct-key-active-polarity.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
From 4424a43135acbb8deec2687fdbcdc9d5f007ddad Mon Sep 17 00:00:00 2001 | ||
From: Pantelis Antoniou <panto@antoniou-consulting.com> | ||
Date: Mon, 3 Jun 2013 15:59:04 +0300 | ||
Subject: [PATCH 179/179] cape: LCD4: Correct key active polarity | ||
|
||
--- | ||
firmware/capes/BB-BONE-LCD4-01-00A1.dts | 10 +++++----- | ||
1 file changed, 5 insertions(+), 5 deletions(-) | ||
|
||
diff --git a/firmware/capes/BB-BONE-LCD4-01-00A1.dts b/firmware/capes/BB-BONE-LCD4-01-00A1.dts | ||
index 9e65a22..7a05f3a 100644 | ||
--- a/firmware/capes/BB-BONE-LCD4-01-00A1.dts | ||
+++ b/firmware/capes/BB-BONE-LCD4-01-00A1.dts | ||
@@ -152,7 +152,7 @@ | ||
debounce_interval = <50>; | ||
linux,code = <105>; | ||
label = "left"; | ||
- gpios = <&gpio2 16 0x0>; | ||
+ gpios = <&gpio2 16 0x1>; | ||
gpio-key,wakeup; | ||
autorepeat; | ||
}; | ||
@@ -160,7 +160,7 @@ | ||
debounce_interval = <50>; | ||
linux,code = <106>; | ||
label = "right"; | ||
- gpios = <&gpio2 17 0x0>; | ||
+ gpios = <&gpio2 17 0x1>; | ||
gpio-key,wakeup; | ||
autorepeat; | ||
}; | ||
@@ -168,7 +168,7 @@ | ||
debounce_interval = <50>; | ||
linux,code = <103>; | ||
label = "up"; | ||
- gpios = <&gpio2 19 0x0>; | ||
+ gpios = <&gpio2 19 0x1>; | ||
gpio-key,wakeup; | ||
autorepeat; | ||
}; | ||
@@ -176,7 +176,7 @@ | ||
debounce_interval = <50>; | ||
linux,code = <108>; | ||
label = "down"; | ||
- gpios = <&gpio4 16 0x0>; | ||
+ gpios = <&gpio4 16 0x1>; | ||
gpio-key,wakeup; | ||
autorepeat; | ||
}; | ||
@@ -184,7 +184,7 @@ | ||
debounce_interval = <50>; | ||
linux,code = <28>; | ||
label = "enter"; | ||
- gpios = <&gpio1 15 0x0>; | ||
+ gpios = <&gpio1 15 0x1>; | ||
gpio-key,wakeup; | ||
}; | ||
}; | ||
-- | ||
1.8.1.4 | ||
|