summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAishwarya Kothari <aishwarya.kothari@toradex.com>2022-08-30 09:58:29 +0200
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2022-08-30 11:10:24 +0000
commit6744e50ab1ae806e1d07230dae9a4f806e479cf2 (patch)
tree231c32624d8a6a4e0925b2966f68dbbd348577d4
parentb966d4015e4eed5d02de33637ef289063918dbf7 (diff)
verdin-imx8mm: clean fix spidev overlay
This commit corrects the indentation, adds a comment about the the compatible chipname used to bind the spidev driver and removes the redundant status variable. Fixes: d929016d ("verdin-imx8mm: add spidev overlay") Related-to: ELB-4652 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
-rw-r--r--overlays/verdin-imx8mm_spidev_overlay.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/overlays/verdin-imx8mm_spidev_overlay.dts b/overlays/verdin-imx8mm_spidev_overlay.dts
index d7a25e9..5620046 100644
--- a/overlays/verdin-imx8mm_spidev_overlay.dts
+++ b/overlays/verdin-imx8mm_spidev_overlay.dts
@@ -15,13 +15,13 @@
/* Verdin SPI_1 */
&ecspi2 {
#address-cells = <1>;
- #size-cells = <0>;
+ #size-cells = <0>;
status = "okay";
spidev@0 {
+ /* Use compatible "rohm,dh2228fv" to bind spidev driver */
compatible = "rohm,dh2228fv";
reg = <0>;
spi-max-frequency = <10000000>;
- status = "okay";
};
};