dts: bindings: spi: use hyphen instead of underscore

use hyphen instead of underscore in order to comply with device tree
specification.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
This commit is contained in:
Jilay Pandya 2025-01-11 12:01:30 +01:00 committed by Benjamin Cabé
parent 351805435c
commit 0a4acd8ee8
7 changed files with 17 additions and 11 deletions

View File

@ -186,8 +186,8 @@
&spi0 {
status = "okay";
port_sel = <0>;
chip_select = <0>;
port-sel = <0>;
chip-select = <0>;
lines = <1>;
pinctrl-0 = < &shd_cs0_n_gpio055
&shd_clk_gpio056

View File

@ -127,6 +127,12 @@ Networking
(because the addr is not a pointer) and must be changed to ``if (lladdr->len == 0)``
if the code wants to check that the link address is not set.
SPI
===
* Renamed the device tree property ``port_sel`` to ``port-sel``.
* Renamed the device tree property ``chip_select`` to ``chip-select``.
Other subsystems
****************

View File

@ -471,7 +471,7 @@
rxdma = <11>;
txdma = <10>;
lines = <1>;
chip_select = <0>;
chip-select = <0>;
dcsckon = <6>;
dckcsoff = <4>;
dldh = <6>;

View File

@ -11,7 +11,7 @@ properties:
reg:
required: true
port_sel:
port-sel:
type: int
required: true
description: SPI Port 0 or 1.
@ -37,7 +37,7 @@ properties:
required: true
description: QMSPI lines 1, 2, or 4
chip_select:
chip-select:
type: int
required: true
description: Use QMSPI CS0# or CS1#

View File

@ -16,8 +16,8 @@
&spi0 {
status = "okay";
port_sel = <0>;
chip_select = <0>;
port-sel = <0>;
chip-select = <0>;
lines = <4>;
pinctrl-0 = < &shd_cs0_n_gpio055
&shd_clk_gpio056

View File

@ -20,7 +20,7 @@
&spi0 {
status = "okay";
port_sel = <0>;
chip_select = <0>;
port-sel = <0>;
chip-select = <0>;
lines = <4>;
};

View File

@ -6,8 +6,8 @@
&spi0 {
status = "okay";
port_sel = <0>;
chip_select = <0>;
port-sel = <0>;
chip-select = <0>;
lines = <4>;
pinctrl-0 = < &shd_cs0_n_gpio055