Skip to content
Permalink
Browse files

scripts/dts: Remove 'use-prop-name' from clock generation

We never set 'use-prop-name' on clock bindings so lets just always
use CLOCK_CONTROLLER as the define name we generate.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak committed Jun 19, 2019
1 parent 593d628 commit 79b59e8205c0f609514c1fe9ddcaa850b60fdf46
Showing with 1 addition and 4 deletions.
  1. +1 −4 scripts/dts/extract/clocks.py
@@ -126,10 +126,7 @@ def _extract_consumer(self, node_path, clocks, def_label):
'clocks']['generation']
except:
generation = ''
if 'use-prop-name' in generation:
clock_cell_name = 'CLOCKS_CONTROLLER'
else:
clock_cell_name = 'CLOCK_CONTROLLER'
clock_cell_name = 'CLOCK_CONTROLLER'
if clock_index == 0 and \
len(clocks) == (len(clock_cells) + 1):
index = ''

0 comments on commit 79b59e8

Please sign in to comment.
You can’t perform that action at this time.