dtoc: Put phandle args in an array
authorSimon Glass <sjg@chromium.org>
Tue, 29 Aug 2017 20:15:58 +0000 (14:15 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Sep 2017 11:27:48 +0000 (05:27 -0600)
commitbc79617fdfeb4afabb94774885447dd64d7bea6c
tree77b22f03fd35d592abe2d9f7020e79abe9875849
parent35d503700f294b6f5dd930e2c1b0dd841f1b58fb
dtoc: Put phandle args in an array

We want to support more than one phandle argument. It makes sense to use
an array for this rather than discrete struct members. Adjust the code to
support this. Rename the member to 'arg' instead of 'id'.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
drivers/clk/clk-uclass.c
include/dt-structs.h
tools/dtoc/dtb_platdata.py
tools/dtoc/test_dtoc.py