summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAishwarya Kothari <aishwarya.kothari@toradex.com>2022-08-25 14:40:11 +0200
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2022-08-30 11:10:03 +0000
commit4d391402e393bbdd22e0989fc966502358514794 (patch)
tree9de51fdaaa6dc78b8e9e0fe5d553cb775a169a35
parenta17c290ed689caa4437e504d27cd11c21c0e8732 (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") 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";
};
};