summaryrefslogtreecommitdiff
path: root/board-to-kernel-dt.py
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2015-03-24 16:36:18 -0600
committerStephen Warren <swarren@nvidia.com>2015-03-25 12:02:51 -0600
commit39af52fc08dfa0a065add47cdc15d50e1f1ed5cc (patch)
treeee30a0f9a99100e5bb3cbe1510760e048bdb3252 /board-to-kernel-dt.py
parent4f47990bce794c231cfa9fb123953e496f646855 (diff)
downloadtegra-pinmux-scripts-39af52fc08dfa0a065add47cdc15d50e1f1ed5cc.tar.gz
Support for MIPI pad ctrl groups in *.board
Update csv-to-board.py to extract, and board-to-*.py to emit, configuration for MIPI pad ctrl groups. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'board-to-kernel-dt.py')
-rwxr-xr-xboard-to-kernel-dt.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/board-to-kernel-dt.py b/board-to-kernel-dt.py
index 394b4ac..273f741 100755
--- a/board-to-kernel-dt.py
+++ b/board-to-kernel-dt.py
@@ -64,6 +64,12 @@ for pincfg in board.pincfgs_by_num():
# FIXME: Handle drive groups
+for cfg in board.mipipadctrlcfgs_by_num():
+ print(' ' + cfg.name + ' {')
+ print(' nvidia,pins = "mipi_pad_ctrl_' + cfg.name + '";')
+ print(' nvidia,function = "' + cfg.mux + '";')
+ print(' };')
+
print(' };')
board.warn_about_unconfigured_pins()