commit | 247ae982ed03e86339868afbaddfb1b350dec0a7 | [log] [tgz] |
---|---|---|
author | Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> | Wed Aug 21 01:36:44 2019 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Sat Sep 07 10:25:02 2019 -0500 |
tree | 0f9999dc7bb4c895b817858b171c963e41c68224 | |
parent | 14138c3b9b488119d366cec6620cfadaa2dc85c2 [diff] |
dts: gen_defines: Remove lots of code duplication for phandle/val lists Add a write_phandle_val_list() function for handling GPIOs, PWMs, and IO channels. The logic is the same in all cases. This also indirectly makes pwm-names and io-channel-names work the same as gpio-names. Previously, they were ignored. Also add a long explanation with example output. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>