SPI enable?
#8
i was able to get SPI enabled on my Pine64+ by following the instructions at the following link:

http://synfare.com/599N105E/hwdocs/pine64/spidev.html

This is what it looks like after performing the dtc edits:

Code:
ls /dev/spidev0.0
/dev/spidev0.0

$ dmesg | grep spi
[    7.359039] sunxi hwspinlock vbase:0xffffff800005c000
[    8.643747] spi spi0: master is unqueued, this is deprecated

lsmod |grep spi
spidev                 13470  0


$ modinfo spidev
filename:       /lib/modules/3.10.104/kernel/drivers/spi/spidev.ko
alias:          spi:spidev
license:        GPL
description:    User mode SPI device interface
author:         Andrea Paterniani, <a.paterniani@swapp-eng.it>
srcversion:     52DC1464FA6763724AC8CBF
alias:          of:N*T*Crohm,dh2228fv*
depends:        
intree:         Y
vermagic:       3.10.104 SMP preempt mod_unload modversions aarch64
parm:           bufsiz:data bytes in biggest supported SPI message (uint)


i have not tried this but it looks good thus far.
  Reply


Messages In This Thread
SPI enable? - by herialtifa - 01-16-2017, 08:40 PM
RE: SPI enable? - by tllim - 01-20-2017, 08:09 PM
RE: SPI enable? - by herialtifa - 01-20-2017, 08:58 PM
RE: SPI enable? - by jeroen79 - 02-09-2018, 11:12 AM
RE: SPI enable? - by xalius - 02-09-2018, 12:00 PM
RE: SPI enable? - by jeroen79 - 02-11-2018, 03:30 AM
RE: SPI enable? - by xalius - 02-15-2018, 10:48 AM
RE: SPI enable? - by jomoengineer - 03-17-2018, 01:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)