Jump to content

Mr_Blonde

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Mr_Blonde reacted to zador.blood.stained in Solved: Banana Pro (A20) SPI not working with mainline kernel (4.9.12)   
    You just have to replace the old file with your modified one.
  2. Like
    Mr_Blonde reacted to zador.blood.stained in Solved: Banana Pro (A20) SPI not working with mainline kernel (4.9.12)   
    You have to add spidev child node to the controller node
    spi@01c05000 { compatible = "allwinner,sun4i-a10-spi"; reg = <0x1c05000 0x1000>; interrupts = <0x0 0xa 0x4>; clocks = <0x2 0x14 0x20>; clock-names = "ahb", "mod"; dmas = <0x1f 0x1 0x1b 0x1f 0x1 0x1a>; dma-names = "rx", "tx"; status = "okay"; #address-cells = <0x1>; #size-cells = <0x0>; pinctrl-names = "default"; pinctrl-0 = <0x21 0x22 0x23>; spidev@0 { compatible = "spidev"; status = "okay"; reg = <0>; /* Chip select 0 */ spi-max-frequency = <1000000>; }; }; In the future it will be solved with DT overlays, but for now it's not implemented on the stable images.
  3. Like
    Mr_Blonde reacted to zador.blood.stained in Solved: Banana Pro (A20) SPI not working with mainline kernel (4.9.12)   
    Device Tree modifications are currently required to enable SPIdev on stable Armbian images with mainline kernel.
  4. Like
    Mr_Blonde reacted to martinayotte in Solved: Banana Pro (A20) SPI not working with mainline kernel (4.9.12)   
    The fact that you are seeing spidev in lsmod doesn't mean nothing wrong occured.
    Check the kernel logs with "dmesg | grep spidev"
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines