diff options
author | Andrew McRae <amcrae@google.com> | 2022-01-05 17:26:07 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-06 03:53:26 +0000 |
commit | cb05487c07466c020d7a8d239e029adb49cce322 (patch) | |
tree | 60d9ff48de7483d173c265897b58b6f8fa3ec6cc /util/pinmap/readers/csv/testdata/data.csv | |
parent | 318dcc1cf3540c2ab3092a10aee57c12cebd73e9 (diff) | |
download | chrome-ec-cb05487c07466c020d7a8d239e029adb49cce322.tar.gz |
pinmap: Remove interrupts, add pull up/down
Remove interrupt inputs. Previously, pins could be identified
as interrupts, which were considered inputs. Interrupts could be
identified as being triggered on rising, falling or both edges.
However, for the purposes of generating the DTS, interrupts are
considered exactly the same as inputs - the interrupt configuration is
treated completely separately. So there is no need to separately
deal with interrupts, they can all be made normal inputs.
Add pull up and pull down inputs. This is required so that the
hardware configuration can be correctly done for each GPIO.
BUG=none
TEST=go test ./...
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: I03082a1fe21060a5c0eaf421ffb8d806da8a83d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3367363
Reviewed-by: Eizan Miyamoto <eizan@chromium.org>
Commit-Queue: Eizan Miyamoto <eizan@chromium.org>
Diffstat (limited to 'util/pinmap/readers/csv/testdata/data.csv')
-rw-r--r-- | util/pinmap/readers/csv/testdata/data.csv | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/pinmap/readers/csv/testdata/data.csv b/util/pinmap/readers/csv/testdata/data.csv index c7200e1431..6c7ac5ace9 100644 --- a/util/pinmap/readers/csv/testdata/data.csv +++ b/util/pinmap/readers/csv/testdata/data.csv @@ -8,3 +8,4 @@ EC_GPIO_2,E5,OUTPUT,GPIO2 EC_GPIO_3,F6,OUTPUT_ODL, EC_I2C_CLK_0,G7,I2C_CLOCK,SENSOR EC_I2C_DATA_0,H8,I2C_DATA, +EC_GPIO_4,K10,INPUT_PU, |