How to enable spi of VIM3l(S905D3) with Android 9.0

Dear:, @jasonl
I want to make SPI(or SPICC) to be enabled on S905D3 with android 9.0, but it doesn’t work. Would you tell me how to do it?
I have tried below:

  1. Set “spicc0” and “spicc1” in file “kvim3l.dts”, like below:
	status = "okay";
	status = "okay";
  1. Set the environment variable “spi_state” to “1”, in bootloader
    Even so the function “meson_spicc_probe” of “spi_meson-spicc.c” doesn’t be called.

In addition, I had asked Frank , and received response. It ask me to follow the How To Use Device Tree Overlay, and enable SPI with overlays. But there is not /boot in file system of Andorid 9.0.

&spicc1 {
status = “okay”;
pinctrl-names = “default”;
pinctrl-0 = <&spicc1_pins>;
cs-gpios = <&gpio GPIOH_6 0>;
you can refer to the above

Dear @jasonl
Thanks for your answer.
I have tried, but it doesn’t work. Is there any other reason can make the SPI disable?
By the way, may I ask you, what is the effect of “spi_state” the environment variable of bootloader.

you should disable uart_C and pwm_f ,you can check it

spi_state indicates whether the SPI device exists

spi_state’ is ‘0’ on S905D3 , does it indicate that there is not any spi device on it?

you can check board/khadas/configs/kvim3l.h file