diff options
author | Stephen Warren <swarren@nvidia.com> | 2015-05-14 08:13:00 -0600 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2015-05-14 09:56:07 -0600 |
commit | aca5e18948948c2c275f5dfbc2d4447d18516ea5 (patch) | |
tree | dcc697d773af29b652d952f98cd843682337b2c9 | |
parent | 39af52fc08dfa0a065add47cdc15d50e1f1ed5cc (diff) | |
download | tegra-pinmux-scripts-aca5e18948948c2c275f5dfbc2d4447d18516ea5.tar.gz |
board-to-kernel-dt: don't generate outer state node
The important thing for board-to-kernel-dt to generate is the content of
the pinmux "state" node in DT. The name and label of the node that
contains this information is essentially irrelevant. Since this
irrelevant name and label varies between boards in existing DTs, update
board-to-kernel-dt so it doesn't generate it. This makes it obvious that
the name and label shouldn't be modified when importing new versions of
board-to-kernel-dt's output.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rwxr-xr-x | board-to-kernel-dt.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board-to-kernel-dt.py b/board-to-kernel-dt.py index 273f741..55e556c 100755 --- a/board-to-kernel-dt.py +++ b/board-to-kernel-dt.py @@ -44,8 +44,6 @@ def mapper_pull(val): def mapper_bool(val): return 'TEGRA_PIN_' + {False: 'DISABLE', True: 'ENABLE'}[val] -print(' state_default: pinmux {') - for pincfg in board.pincfgs_by_num(): print(' ' + pincfg.fullname + ' {') print(' nvidia,pins = "' + pincfg.fullname + '";') @@ -70,6 +68,4 @@ for cfg in board.mipipadctrlcfgs_by_num(): print(' nvidia,function = "' + cfg.mux + '";') print(' };') -print(' };') - board.warn_about_unconfigured_pins() |