From 58fb9d3ef752d9c125dacf3be1a83e5623047811 Mon Sep 17 00:00:00 2001 From: Andrew 'Necromant' Andrianov Date: Sat, 19 Jun 2021 14:10:42 +0000 Subject: [PATCH 1/3] hi3516ev300: Add fm25q128a spi chip id Signed-off-by: Andrew 'Necromant' Andrianov --- .../kernel/patches/spi_id_fm25q128a.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/spi_id_fm25q128a.patch diff --git a/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/spi_id_fm25q128a.patch b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/spi_id_fm25q128a.patch new file mode 100644 index 00000000..ba240cb5 --- /dev/null +++ b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/spi_id_fm25q128a.patch @@ -0,0 +1,13 @@ +--- a/drivers/mtd/spi-nor/spi-nor.c 2021-06-19 13:56:54.523168941 +0000 ++++ b/drivers/mtd/spi-nor/spi-nor.c 2021-06-19 14:02:43.947271771 +0000 +@@ -1217,6 +1217,10 @@ + SECT_4K | SPI_NOR_QUAD_READ), PARAMS(gd), CLK_MHZ_2X(120) }, + { "gd25q128", INFO(0xc84018, 0, 64 * 1024, 256, + SECT_4K | SPI_NOR_QUAD_READ), PARAMS(gd), CLK_MHZ_2X(80) }, ++ ++ { "fm25q128a", INFO(0xa14018, 0, 64 * 1024, 256, ++ SECT_4K | SPI_NOR_QUAD_READ), PARAMS(gd), CLK_MHZ_2X(80) }, ++ + { "gd25q256", INFO(0xc84019, 0, 64 * 1024, 512, + SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES), PARAMS(gd), CLK_MHZ_2X(80) }, + /* GigaDevice 1.8V */ From 49de429415f466e4cb27b2f5aa31bda93bd5895e Mon Sep 17 00:00:00 2001 From: Igor Zalatov Date: Sat, 19 Jun 2021 19:11:31 +0300 Subject: [PATCH 2/3] Rename spi_id_fm25q128a.patch to 12_add_support_for_fm25q128a.patch --- ...{spi_id_fm25q128a.patch => 12_add_support_for_fm25q128a.patch} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/{spi_id_fm25q128a.patch => 12_add_support_for_fm25q128a.patch} (100%) diff --git a/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/spi_id_fm25q128a.patch b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/12_add_support_for_fm25q128a.patch similarity index 100% rename from br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/spi_id_fm25q128a.patch rename to br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/12_add_support_for_fm25q128a.patch From faf53e78ef3a9b9e12348b2d6f629a38e8a914a6 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin Date: Sat, 19 Jun 2021 19:28:43 +0300 Subject: [PATCH 3/3] Change 4M IMX335 fps to 25 --- .../hisilicon-osdrv4/files/sensor/config/WDR/imx335_i2c_4M.ini | 2 +- .../hisilicon-osdrv4/files/sensor/config/imx335_i2c_4M.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/br-ext-chip-hisilicon/package/hisilicon-osdrv4/files/sensor/config/WDR/imx335_i2c_4M.ini b/br-ext-chip-hisilicon/package/hisilicon-osdrv4/files/sensor/config/WDR/imx335_i2c_4M.ini index aae9fa88..fe703fe4 100644 --- a/br-ext-chip-hisilicon/package/hisilicon-osdrv4/files/sensor/config/WDR/imx335_i2c_4M.ini +++ b/br-ext-chip-hisilicon/package/hisilicon-osdrv4/files/sensor/config/WDR/imx335_i2c_4M.ini @@ -28,7 +28,7 @@ Isp_x =0 Isp_y =0 Isp_W =2592 Isp_H =1520 -Isp_FrameRate=30 +Isp_FrameRate=25 Isp_Bayer =0 ;BAYER_RGGB=0, BAYER_GRBG=1, BAYER_GBRG=2, BAYER_BGGR=3 diff --git a/br-ext-chip-hisilicon/package/hisilicon-osdrv4/files/sensor/config/imx335_i2c_4M.ini b/br-ext-chip-hisilicon/package/hisilicon-osdrv4/files/sensor/config/imx335_i2c_4M.ini index b3957060..b2f2f290 100644 --- a/br-ext-chip-hisilicon/package/hisilicon-osdrv4/files/sensor/config/imx335_i2c_4M.ini +++ b/br-ext-chip-hisilicon/package/hisilicon-osdrv4/files/sensor/config/imx335_i2c_4M.ini @@ -29,7 +29,7 @@ Isp_x =0 Isp_y =0 Isp_W =2592 Isp_H =1520 -Isp_FrameRate=30 +Isp_FrameRate=25 Isp_Bayer =0 ;BAYER_RGGB=0, BAYER_GRBG=1, BAYER_GBRG=2, BAYER_BGGR=3