Commit 0a4acd8e authored by Jilay Pandya's avatar Jilay Pandya Committed by Benjamin Cabé
Browse files

dts: bindings: spi: use hyphen instead of underscore

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

Signed-off-by: default avatarJilay Pandya <jilay.pandya@outlook.com>
parent 35180543
Loading
Loading
Loading
Loading
+2 −2
Changes for boards/microchip/mec15xxevb_assy6853/mec15xxevb_assy6853.dts: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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
+6 −0
Changes for doc/releases/migration-guide-4.2.rst: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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
****************

+1 −1
Changes for dts/arm/microchip/mec1501hsz.dtsi: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -471,7 +471,7 @@
			rxdma = <11>;
			txdma = <10>;
			lines = <1>;
			chip_select = <0>;
			chip-select = <0>;
			dcsckon = <6>;
			dckcsoff = <4>;
			dldh = <6>;
+2 −2
Changes for dts/bindings/spi/microchip,xec-qmspi.yaml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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#
+2 −2
Changes for samples/drivers/espi/boards/mec1501modular_assy6885.overlay: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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
Loading