From 8f4c154c0529e174170e0f80b65de5bf0c397efa Mon Sep 17 00:00:00 2001 From: "jianglk.darker" Date: Mon, 12 Aug 2024 08:37:15 +0000 Subject: [PATCH] Change SPI Rate to 2MHz --- .../wulin/hi3751v811_c/base/hi3751v811/hi3751v811.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 vendor/huanglong/linux/dts/huanglong/wulin/hi3751v811_c/base/hi3751v811/hi3751v811.dtsi diff --git a/vendor/huanglong/linux/dts/huanglong/wulin/hi3751v811_c/base/hi3751v811/hi3751v811.dtsi b/vendor/huanglong/linux/dts/huanglong/wulin/hi3751v811_c/base/hi3751v811/hi3751v811.dtsi old mode 100644 new mode 100755 index 6d50c1d4ab..26c73ed846 --- a/vendor/huanglong/linux/dts/huanglong/wulin/hi3751v811_c/base/hi3751v811/hi3751v811.dtsi +++ b/vendor/huanglong/linux/dts/huanglong/wulin/hi3751v811_c/base/hi3751v811/hi3751v811.dtsi @@ -403,13 +403,13 @@ Fsspclkout = Fsspclk / (cpsdvsr * (1 + scr)) spi work clk(Fsspclk) is 100MHz, spi output max clk(Fsspclkout) is 50MHz. - example: - scr = 4, cpsdvsr = 20 --> Fsspclkout = 1MHz + example� scr = 4, cpsdvsr = 20 --> Fsspclkout = 1MHz scr = 4, cpsdvsr = 10 --> Fsspclkout = 2MHz scr = 4, cpsdvsr = 4 --> Fsspclkout = 5MHz scr = 4, cpsdvsr = 2 --> Fsspclkout = 10MHz */ - clock-rate = <24 40>; + /*clock-rate = <24 40>;*/ + clock-rate = <4 10>; status="okay"; /* userspace spi interface * parse by of_register_spi_devices function