zephyr/scripts
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
..
checkpatch scripts: cleanup scripts directory 2018-04-03 09:28:09 -04:00
ci
cmake
cross_compiler
dts scripts: extract_includes_dts: Remove usage of cell_string yaml attribute 2018-05-10 10:38:23 -05:00
footprint
gitlint
kconfig menuconfig: Increase indent and make Unicode more robust 2018-05-09 14:08:00 +02:00
sanity_chk sanitycheck: support skipped tests, enhance device handler 2018-05-08 07:56:18 -04:00
support intel_s1000: scripts: debug, debugserver and flash scripts 2018-05-01 16:46:41 -04:00
.gitignore
check_host_is_ok.py
check_link_map.py
checkpatch.pl checkpatch: downgrade COMPLEX_MACRO to a warning 2018-05-08 08:56:12 -07:00
checkstack.pl
dir_is_writeable.py cmake: Add function for checking if a directory is write-able 2018-04-27 12:06:02 +02:00
elf_helper.py
file2hex.py
filter-known-issues.py
gen_alignment_script.py
gen_gdt.py
gen_idt.py
gen_kobject_list.py drivers: led: Add system call handler support 2018-05-04 10:07:39 -07:00
gen_mmu_x86.py
gen_offset_header.py
gen_priv_stacks.py
gen_syscall_header.py gen_syscall_header.py: fix include issue 2018-03-28 20:52:08 -04:00
gen_syscalls.py gen_syscalls.py: fix include issue 2018-03-28 20:52:08 -04:00
parse_syscalls.py
process_gperf.py
py2-requirements.txt
qemu-machine-hack.py
requirements.txt sanitycheck: we need pyserial for sanitycheck 2018-05-08 07:56:18 -04:00
sanitycheck sanitycheck: support skipped tests, enhance device handler 2018-05-08 07:56:18 -04:00
spelling.txt
tags.sh
waitpid