Set MAX_SPI_SIZE from 60 to 64
authorMiroslav Ondra <ondra@faster.cz>
Sun, 24 Jan 2021 18:17:24 +0000 (19:17 +0100)
committerMiroslav Ondra <ondra@faster.cz>
Sun, 24 Jan 2021 18:17:24 +0000 (19:17 +0100)
debian/bootcmd.d/src/40-enable-rtc-zulu.conf [new file with mode: 0644]
debian/g1-unipi-kernel-modules.install
debian/zulu-unipi-kernel-modules.install [new file with mode: 0644]
modules/unipi/src/unipi_common.h

diff --git a/debian/bootcmd.d/src/40-enable-rtc-zulu.conf b/debian/bootcmd.d/src/40-enable-rtc-zulu.conf
new file mode 100644 (file)
index 0000000..b6c30a4
--- /dev/null
@@ -0,0 +1 @@
+fdt set /soc@0/bus@30800000/i2c@30a40000/rtc@6f compatible "unipi,unipi-mcp7941x"
index aab9bf2dd96819c022fb0b3abae353b561283720..7f9ef06677d6b2adb3e71c25a091d832874114d2 100644 (file)
@@ -1 +1 @@
-debian/bootcmd.d                         etc/
+debian/bootcmd.d/40-enable-rtc-unipi.conf         etc/bootcmd.d
diff --git a/debian/zulu-unipi-kernel-modules.install b/debian/zulu-unipi-kernel-modules.install
new file mode 100644 (file)
index 0000000..ed1bed1
--- /dev/null
@@ -0,0 +1 @@
+debian/bootcmd.d/40-enable-rtc-zulu.conf      etc/bootcmd.d
index 03695f8c978732371c518c5f81646bc197ce64e3..a3b2be8c3560ce2a04ffbead394fc10c3620fb55 100644 (file)
    #define NEURONSPI_SLOWER_FREQ                       7500000
 #endif
 
+#if defined(CONFIG_ARM64)
+#define NEURONSPI_MAX_TX                               64
+#else
 #define NEURONSPI_MAX_TX                               60
+#endif
+
 //#define NEURONSPI_MAX_TX                             256
 #define NEURONSPI_MAX_BAUD                             115200
 #define NEURONSPI_FIFO_SIZE                            256