Android VIM3 SPI0使用问题

Which Khadas SBC do you use?

VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?

Android最新版本

Which version of system do you use? Khadas official images, self built images, or others?

Khadas official images,

Please describe your issue below:

目前想用spicc0这组调试spi设备,发现pinmux都是没有问题。但是发送没有数据且时钟也没有,dts配置以及驱动代码如下?目前没有发现问题点,请帮忙看下,谢谢!@jasonl @Frank @numbqq
— a/arch/arm/boot/dts/amlogic/mesong12b.dtsi
+++ b/arch/arm/boot/dts/amlogic/mesong12b.dtsi
@@ -2610,6 +2610,18 @@
};
};

  •   spicc0_pins: spicc0_pins {
    
  •           mux {
    
  •                   groups = "spi0_mosi_c",
    
  •                            "spi0_miso_c",
    
  •                           // "spi0_ss0_c",
    
  •                            "spi0_clk_c";
    
  •                   function = "spi0";
    
  •                   drive-strength = <3>;
    
  •           };
    
  •   };
    

&spicc0 {
status = “okay”;
pinctrl-names=“default”;
pinctrl-0=<&spicc0_pins>;
//max-freq = <50000000>;

spi_test@00 {
	compatible ="vhd, spi_test";
	cs-gpios = <&gpio GPIOC_2 GPIO_ACTIVE_HIGH>;
	reg = <0>;
	spi-max-frequency = <50000000>;
};

};



@jasonl @Frank @numbqq 能帮忙看下 谢谢