zephyr/dts
Erwan Gouriou 93d3a42776 scripts: extract_includes_dts: Remove usage of cell_string yaml attribute
'cell_string' yaml attribute has been introduced in order to
help enforcement of specific string during defines generation.
This adds complexity in understanding script behavior as a black
box and create additional dependency which is not strictly required.

For node specific generation functions (pinctrl and interrupts),
this could be replaced directly by an hardcoded version
(as everyone used the same 'cell_string' anyway).
For extract_cells functions, string could be replaced by extracted
property name. As a consequence, we're now able to generate defines
for properties refering to these controllers via phandle.
For instance, in following node
 	spbtle-rf@0 {
 		compatible = "st,spbtle-rf";
 		reg = <0>;
		reset-gpios = <&gpioa 8 0>;
 	};
We'll be able to generate:
 #define ST_STM32_SPI_...LE_RF_0_RESET_GPIOS_CONTROLLER	"GPIOA"
 #define ST_STM32_SPI_...PBTLE_RF_0_RESET_GPIOS_FLAGS_0		0
 #define ST_STM32_SPI_..._SPBTLE_RF_0_RESET_GPIOS_PIN_0		8

Only impact for this whole change is for NXP clocks which were the
only ones using 'cell_string' attribute with a value different than
the default one.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2018-05-10 10:38:23 -05:00
..
arc dts: arc: quark_se_c1000_ss: Fix worng interrupt number in i2c 0/1 2018-04-20 08:03:00 -05:00
arm dts/arm/st: Add usbotg_fs node to stm32l4 DT 2018-05-10 07:47:13 -05:00
bindings scripts: extract_includes_dts: Remove usage of cell_string yaml attribute 2018-05-10 10:38:23 -05:00
common dts: common.dts: trivial whitespace cleanup 2018-02-22 18:52:42 +01:00
x86 dts: dtc v1.4.6 warnings: Fix warning for leading 0s 2018-04-26 03:00:42 +05:30
xtensa dts: interrupt_controller: Add dts support for DesignWare controller 2018-05-01 16:46:41 -04:00
Kconfig dts: arm: 96b_carbon use DT to configure USB 2018-02-21 09:17:12 -06:00