Просмотр исходного кода

mediatek: drop spi cal for Keenetic KN-(3711/3811/3911)

In the original DTS from the device firmware, there are
no entries that enable SPI calibration. Therefore, it
should be disabled.

Signed-off-by: Maxim Anisimov <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21635
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 299105441a55cf12574d1e7ea04c02ddb4f22367)
Maxim Anisimov 3 недель назад
Родитель
Сommit
fdf2a1bf00

+ 0 - 7
target/linux/mediatek/dts/mt7981b-keenetic-kn-3711.dts

@@ -209,13 +209,6 @@
 		spi-tx-buswidth = <4>;
 		spi-rx-buswidth = <4>;
 
-		spi-cal-enable;
-		spi-cal-mode = "read-data";
-		spi-cal-datalen = <7>;
-		spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4e 0x41 0x4e 0x44>;
-		spi-cal-addrlen = <5>;
-		spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
-
 		mediatek,nmbm;
 		mediatek,bmt-max-ratio = <1>;
 		mediatek,bmt-max-reserved-blocks = <64>;

+ 0 - 7
target/linux/mediatek/dts/mt7981b-keenetic-kn-3811.dts

@@ -225,13 +225,6 @@
 		spi-tx-buswidth = <4>;
 		spi-rx-buswidth = <4>;
 
-		spi-cal-enable;
-		spi-cal-mode = "read-data";
-		spi-cal-datalen = <7>;
-		spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4e 0x41 0x4e 0x44>;
-		spi-cal-addrlen = <5>;
-		spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
-
 		mediatek,nmbm;
 		mediatek,bmt-max-ratio = <1>;
 		mediatek,bmt-max-reserved-blocks = <64>;

+ 0 - 7
target/linux/mediatek/dts/mt7981b-keenetic-kn-3911.dts

@@ -172,13 +172,6 @@
 		spi-tx-buswidth = <4>;
 		spi-rx-buswidth = <4>;
 
-		spi-cal-enable;
-		spi-cal-mode = "read-data";
-		spi-cal-datalen = <7>;
-		spi-cal-data = /bits/ 8 <0x53 0x50 0x49 0x4e 0x41 0x4e 0x44>;
-		spi-cal-addrlen = <5>;
-		spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
-
 		mediatek,nmbm;
 		mediatek,bmt-max-ratio = <1>;
 		mediatek,bmt-max-reserved-blocks = <64>;