Skip to content

Conversation

@rruuaanng
Copy link
Contributor

@rruuaanng rruuaanng commented Dec 24, 2024

This inherits from proposal #53502, with the main work as shown in the title. For details, see #53506.

Closes: #83741

@rruuaanng
Copy link
Contributor Author

I have a lot of work to catch up on right now, like CI checks and other underlying changes (maybe due to a lack of focus).

@rruuaanng rruuaanng force-pushed the bindings-style branch 8 times, most recently from f765f9a to debb691 Compare December 25, 2024 07:11
@rruuaanng
Copy link
Contributor Author

rruuaanng commented Dec 25, 2024

I wrote another PR which adds the devicetree coding style to the contributor guide.
(it provides a link to the upstream Linux kernel devicetree coding style.)

#83379

@rruuaanng rruuaanng force-pushed the bindings-style branch 2 times, most recently from 95e3358 to 502e60a Compare June 12, 2025 09:31
JarmouniA
JarmouniA previously approved these changes Jun 12, 2025
This script replaces all underscore(_)
separation in a binding with hyphens(-).

Signed-off-by: James Roy <[email protected]>
@rruuaanng rruuaanng marked this pull request as draft June 12, 2025 11:18
Implement a check in the CI pipeline to enforce
that property names in device tree bindings do
not contain underscores.

Signed-off-by: James Roy <[email protected]>
Signed-off-by: Martí Bolívar <[email protected]>
Bindings now use hyphens(-) instead of
underscores(_) as property separators.

Signed-off-by: James Roy <[email protected]>
@sonarqubecloud
Copy link

@rruuaanng rruuaanng marked this pull request as ready for review June 12, 2025 12:58
@henrikbrixandersen henrikbrixandersen merged commit 92b22be into zephyrproject-rtos:main Jun 17, 2025
32 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Architecture Review Jun 17, 2025
maass-hamburg added a commit to maass-hamburg/zephyr that referenced this pull request Jun 18, 2025
in  zephyrproject-rtos#83352 a few bindings were not migrated,
fix that, as it will lead to ci fails.

Signed-off-by: Fin Maaß <[email protected]>
@maass-hamburg
Copy link
Member

maass-hamburg commented Jun 18, 2025

@rruuaanng some props were not migrated and are now causing ci fails, when dts yamls are changed, fix: #91818

maass-hamburg added a commit to maass-hamburg/zephyr that referenced this pull request Jun 18, 2025
in  zephyrproject-rtos#83352 a few bindings were not migrated,
fix that, as it will lead to ci fails.

Signed-off-by: Fin Maaß <[email protected]>
@rruuaanng rruuaanng deleted the bindings-style branch June 18, 2025 09:33
nashif pushed a commit that referenced this pull request Jun 18, 2025
in  #83352 a few bindings were not migrated,
fix that, as it will lead to ci fails.

Signed-off-by: Fin Maaß <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Jul 23, 2025
in  zephyrproject-rtos#83352 a few bindings were not migrated,
fix that, as it will lead to ci fails.

(cherry picked from commit 4a468e9)

Original-Signed-off-by: Fin Maaß <[email protected]>
GitOrigin-RevId: 4a468e9
Cr-Build-Id: 8711682253588645601
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8711682253588645601
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I3e9a931b19c8edb7358a85c93bf8950d95ae253b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6655868
Tested-by: Keith Short <[email protected]>
Commit-Queue: Keith Short <[email protected]>
Reviewed-by: Yuval Peress <[email protected]>
Tested-by: Yuval Peress <[email protected]>
Reviewed-by: Keith Short <[email protected]>
Tested-by: ChromeOS Copybot <[email protected]>
@rruuaanng rruuaanng linked an issue Jul 29, 2025 that may be closed by this pull request
bjda pushed a commit to bjda/zephyr that referenced this pull request Sep 5, 2025
in  zephyrproject-rtos#83352 a few bindings were not migrated,
fix that, as it will lead to ci fails.

Signed-off-by: Fin Maaß <[email protected]>
(cherry picked from commit 4a468e9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Coding Guidelines Coding guidelines and style area: Continuous Integration area: Devicetree Binding PR modifies or adds a Device Tree binding area: Devicetree Release Notes To be mentioned in the release notes treewide 🧹

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Use hyphens instead of underscores for property separation Require recommended word separator (-) in devicetree property names