Skip to content

Commit 9a216ff

Browse files
committed
dts: bindings: usb: Fix max3421e compatible to use hyphen word separator
Fixes the max3421e devicetree compatible to follow the convention of using a hyphen rather than an underscore as the word separator. Signed-off-by: Maureen Helm <[email protected]>
1 parent b676f6b commit 9a216ff

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

boards/shields/max3421e/sparkfun_max3421e.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
cs-gpios = <&arduino_header ARDUINO_HEADER_R3_D10 GPIO_ACTIVE_LOW>;
1212

1313
zephyr_uhc0: max3421e@0 {
14-
compatible = "maxim,max3421e_spi";
14+
compatible = "maxim,max3421e-spi";
1515
spi-max-frequency = <26000000>;
1616
int-gpios = <&arduino_header ARDUINO_HEADER_R3_D9 GPIO_ACTIVE_LOW>;
1717
reset-gpios = <&arduino_header ARDUINO_HEADER_R3_D7 GPIO_ACTIVE_LOW>;

doc/releases/migration-guide-4.4.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ STM32
110110

111111
* ``CONFIG_POWER_SUPPLY_EXTERNAL_SOURCE``
112112

113+
USB
114+
===
115+
116+
* :dtcompatible:`maxim,max3421e_spi` has been renamed to :dtcompatible:`maxim,max3421e-spi`.
117+
113118
.. zephyr-keep-sorted-stop
114119
115120
Bluetooth

drivers/usb/uhc/Kconfig.max3421e

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2022 Nordic Semiconductor ASA
22
# SPDX-License-Identifier: Apache-2.0
33

4-
DT_COMPAT_UHC_MAX3421E := maxim,max3421e_spi
4+
DT_COMPAT_UHC_MAX3421E := maxim,max3421e-spi
55

66
config UHC_MAX3421E
77
bool "MAX3421E driver"

dts/bindings/usb/maxim,max3421e_spi.yaml renamed to dts/bindings/usb/maxim,max3421e-spi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
description: |
55
MAX3421E USB Peripheral/Host Controller controller with SPI interface
66
7-
compatible: "maxim,max3421e_spi"
7+
compatible: "maxim,max3421e-spi"
88

99
include: [spi-device.yaml]
1010

tests/drivers/build_all/usb/spi_devices.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<&test_gpio 0 0>;
3333

3434
max3421e_spi: max3421e_spi@0 {
35-
compatible = "maxim,max3421e_spi";
35+
compatible = "maxim,max3421e-spi";
3636
reg = <0>;
3737
spi-max-frequency = <5000000>;
3838
int-gpios = <&test_gpio 0 0>;

0 commit comments

Comments
 (0)