zephyr/scripts
Christophe Dufaza ad48c51651 devicetree: edtlib: prefixes which are not vendors are NOT vendors
In Linux, checkpatch.pl relies on the vendor-prefixes.yaml file
to validate manufacturers in compatible strings.
In addition to the vendors defined in vendor-prefixes.txt,
the YAML file includes expressions for "prefixes which are not vendors":
these expressions do NOT define special manufacturers that may appear
in compatible strings, and are never involved as such in DTS files.
We can rather see them as bulk-definitions of JSON/YAML properties
suitable for the dt-schema tools.

OTHO, in Zephyr, checkpatch.pl relies on the vendor-prefixes.txt file,
which does not include these additional prefixes, but edtlib.EDT adds
them as hard-coded special values.

This is confusing, if not incorrect:

- the fact that edtlib.EDT (and thus its client code in the
zephyr/scripts directory) actually allows these vendors
in compatible strings is buried in the source code
- checkpatch.pl (with vendor-prefixes.txt) in Zephyr behaves neither like
checkpatch.pl (with vendor-prefixes.yaml) in Linux, nor like edtlib.EDT
(with _VENDOR_PREFIX_ALLOWED)
- Zephyr should not treat these "prefixes which are not vendors" as
valid manufacturers in compatible strings to begin with

Signed-off-by: Christophe Dufaza <chris@openmarl.org>
2023-08-16 14:50:26 +02:00
..
build scripts: build: gen_isr_tables: make bit masks configurable 2023-08-10 10:55:41 -04:00
checkpatch kernel/timeout: introduce the timepoint API 2023-07-25 09:12:26 +02:00
ci scripts: ci: check_compliance: Replace dead Kconfig doc link 2023-08-09 12:47:12 +00:00
coccinelle
coredump arch: arm64: add support for coredump 2023-07-03 09:32:26 +02:00
dts devicetree: edtlib: prefixes which are not vendors are NOT vendors 2023-08-16 14:50:26 +02:00
footprint footprint: Add BT TMAP broadcast samples 2023-07-21 10:55:03 +00:00
generate_usb_vif
gitlint
kconfig scripts: kconfig: size/addr by nodelabel 2023-08-02 10:38:23 +02:00
logging/dictionary scripts: logging: dictionary: Fix database generation 2023-06-19 15:03:07 +02:00
native_simulator native_simulator: Align with upstream latest 2023-07-28 09:08:07 +02:00
net
pylib scripts: twister: Fix return value for size 2023-08-09 10:29:20 -04:00
pylint/checkers
release scripts: drop list_issues.py 2023-07-25 16:45:15 +02:00
schemas snippets: fix example usage of EXTRA_DTC_OVERLAY_FILE 2023-08-10 08:15:01 +00:00
support
tests scripts: twister: Fix return value for size 2023-08-09 10:29:20 -04:00
tracing
utils scripts: restore utils/migrate_includes.py 2023-08-10 08:05:54 +00:00
west_commands west debugserver: openocd: configure rtos 2023-07-27 15:08:15 -05:00
.gitignore
checkpatch.pl scripts: Exclude spelling.txt from spelling check 2023-08-04 21:18:43 +00:00
checkstack.pl
coccicheck
dump_bugs_pickle.py
gen_gcov_files.py
get_maintainer.py
github_helpers.py
list_boards.py
make_bugs_pickle.py
requirements-base.txt
requirements-build-test.txt
requirements-compliance.txt
requirements-extras.txt
requirements-run-test.txt twister: Use natural sort when generating hardware map 2023-06-17 07:54:46 -04:00
requirements.txt doc: move requirements to doc/ 2023-07-12 09:13:49 -04:00
series-push-hook.sh
set_assignees.py
snippets.py scripts: snippets: add `DTS_EXTRA_CPPFLAGS` support 2023-08-02 16:27:11 +02:00
spelling.txt doc: Fix a typo 2023-08-04 21:18:43 +00:00
tags.sh
twister
valgrind.supp valgrind: Update suppression file to align with updated POSIX arch 2023-07-05 07:01:19 -04:00
west-commands.yml
zephyr_module.py scripts: zephyr_module: Tolerate symlinks 2023-08-11 12:01:21 +00:00