Skip to content

Commit ab9e2a6

Browse files
shawajpopcornmix
authored andcommitted
overlays: add spi override to merus-amp overlay
adds an override to the merus-amp overlay to turn the spi bus off Change-type: patch Signed-off-by: Aaron Shaw <[email protected]>
1 parent 5514303 commit ab9e2a6

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,8 +1914,8 @@ Params: speed Display SPI bus speed
19141914

19151915
Name: merus-amp
19161916
Info: Configures the merus-amp audio card
1917-
Load: dtoverlay=merus-amp
1918-
Params: <None>
1917+
Load: dtoverlay=merus-amp,<param>=<val>
1918+
Params: spioff Turn SPI bus off
19191919

19201920

19211921
Name: midi-uart0

arch/arm/boot/dts/overlays/merus-amp-overlay.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,14 @@
5757
status = "okay";
5858
};
5959
};
60+
61+
fragment@4 {
62+
target = <&spi0>;
63+
frag4: __overlay__ {
64+
};
65+
};
66+
67+
__overrides__ {
68+
spioff = <&frag4>, "status=disabled";
69+
};
6070
};

0 commit comments

Comments
 (0)