Skip to content

treewide: fix missing use of underscores #91818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion boards/nxp/lpcxpresso55s28/lpcxpresso55s28.dts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ zephyr_uhc1: &usbhhs {
pinctrl-0 = <&pinmux_usbhhs>;
pinctrl-names = "default";
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

&usbphy1 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ zephyr_uhc1: &usbhhs {
pinctrl-0 = <&pinmux_usbhhs>;
pinctrl-names = "default";
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

&usbphy1 {
Expand Down
4 changes: 2 additions & 2 deletions boards/nxp/mimxrt1050_evk/mimxrt1050_evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ zephyr_udc0: &usb1 {

zephyr_uhc0: &usbh1 {
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

zephyr_uhc1: &usbh2 {
status = "okay";
phy_handle = <&usbphy2>;
phy-handle = <&usbphy2>;
};

&usbphy1 {
Expand Down
4 changes: 2 additions & 2 deletions boards/nxp/mimxrt1060_evk/mimxrt1060_evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ zephyr_udc0: &usb1 {

zephyr_uhc0: &usbh1 {
status = "okay";
phy_handle = <&usbphy1>;
phy-handle = <&usbphy1>;
};

zephyr_uhc1: &usbh2 {
status = "okay";
phy_handle = <&usbphy2>;
phy-handle = <&usbphy2>;
};

&usbphy1 {
Expand Down
2 changes: 1 addition & 1 deletion doc/releases/migration-guide-4.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Devicetree

* Property names in devicetree and bindings use hyphens(``-``) as separators, and replacing
all previously used underscores(``_``). For local code, you can migrate property names in
bindings to use hyphens by running the ``scripts/migrate_bindings_style.py`` script.
bindings to use hyphens by running the ``scripts/utils/migrate_bindings_style.py`` script.


DAI
Expand Down
2 changes: 1 addition & 1 deletion dts/arm/silabs/siwg917.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
interrupt-names = "pwm";
clocks = <&clock0 SIWX91X_CLK_PWM>;
#pwm-cells = <2>;
silabs,ch_prescaler = <64 64 64 64>;
silabs,ch-prescaler = <64 64 64 64>;
status = "disabled";
};

Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/display/solomon,ssd1309fb-spi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ compatible: "solomon,ssd1309fb"
include: ["solomon,ssd1306fb-common.yaml", "spi-device.yaml"]

properties:
data_cmd-gpios:
data-cmd-gpios:
type: phandle-array
required: true
description: D/C# pin.
2 changes: 1 addition & 1 deletion dts/bindings/led/ti,lp50xx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ properties:
type: boolean
description: |
If enabled the maximum current output is set to 35 mA (25.5 mA else).
log_scale_en:
log-scale-en:
type: boolean
description: |
If enabled a logarithmic dimming scale curve is used for LED brightness
Expand Down
4 changes: 2 additions & 2 deletions dts/bindings/pwm/silabs,siwx91x-pwm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ properties:
"#pwm-cells":
const: 2

silabs,ch_prescaler:
silabs,ch-prescaler:
type: array
required: true
description: |
Expand All @@ -26,7 +26,7 @@ properties:
- 32
- 64

silabs,pwm_polarity:
silabs,pwm-polarity:
type: int
required: true
description: |
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/usb/nxp,uhc-ehci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ compatible: "nxp,uhc-ehci"
include: [usb-controller.yaml]

properties:
phy_handle:
phy-handle:
type: phandle
2 changes: 1 addition & 1 deletion dts/bindings/usb/nxp,uhc-ip3516hs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ compatible: "nxp,uhc-ip3516hs"
include: [usb-controller.yaml, pinctrl-device.yaml]

properties:
phy_handle:
phy-handle:
type: phandle
4 changes: 2 additions & 2 deletions dts/bindings/watchdog/nxp,ewm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ properties:
description: Watchdog clock divider
required: true

input_trigger_en:
input-trigger-en:
type: boolean
description: |
When enabled the ewm_in signal can be used
to assert the ewm.

input_trigger_active_high:
input-trigger-active-high:
type: boolean
description: |
When enabled the ewm_in signal is active high.
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/migrate_bindings_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# bindings base
BINDINGS_PATH = [Path("dts/bindings/")]
BINDINGS_PROPERTIES_AL = None
with open(Path(__file__).parent / 'bindings_properties_allowlist.yaml') as f:
with open(Path(__file__).parents[1] / 'bindings_properties_allowlist.yaml') as f:
allowlist = yaml.safe_load(f.read())
if allowlist is not None:
BINDINGS_PROPERTIES_AL = set(allowlist)
Expand Down
2 changes: 1 addition & 1 deletion tests/drivers/pwm/pwm_api/boards/siwx917_rb4338a.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
pwm_channel1: pwm_channel1 {
pwms = <&pwm 0 1000000>;
};
silabs,pwm_polarity = <PWM_POLARITY_NORMAL>;
silabs,pwm-polarity = <PWM_POLARITY_NORMAL>;
status = "okay";
};
Loading