zephyr/dts/bindings/gpio
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
..
arm,cmsdk-gpio.yaml yaml: fix properties syntax to 'mapping' instead of 'series' 2017-11-28 11:42:59 -06:00
atmel,sam0-gpio.yaml gpio: add a GPIO driver for the SAM0 family. 2018-01-04 13:18:25 -05:00
atmel.sam-gpio.yaml drivers: GPIO Added GPIO for SAM family. 2018-03-10 11:42:25 -06:00
gpio-keys.yaml dts: provide yaml bindings for led and gpio keys 2018-04-13 13:36:45 -05:00
gpio-leds.yaml dts: provide yaml bindings for led and gpio keys 2018-04-13 13:36:45 -05:00
nxp,imx-gpio.yaml scripts: extract_includes_dts: Remove usage of cell_string yaml attribute 2018-05-10 10:38:23 -05:00
nxp,kinetis-gpio.yaml scripts: extract_includes_dts: Remove usage of cell_string yaml attribute 2018-05-10 10:38:23 -05:00
semtech,sx1509b-gpio.yaml gpio: Add a driver for SX1509B 2018-03-13 12:31:16 -05:00
st,stm32-gpio.yaml scripts: extract_includes_dts: Remove usage of cell_string yaml attribute 2018-05-10 10:38:23 -05:00
ti,cc2650-gpio.yaml yaml: fix properties syntax to 'mapping' instead of 'series' 2017-11-28 11:42:59 -06:00