Hello, 

I'm trying to enable SPI0 on the BBB, i have an LCD7 cape and pin "85" 
which is P9_21 was in conflict with it so i changed the dts file in the 
kernel build folder and i rebuilt the kernel :

i modified capemgr in the /etc/defaults folder to boot the system with the 
pins activated but i still can't get the SPI0 activated , this is my dmesg 
: 

[    8.673056] bone-capemgr bone_capemgr.9: part_number 'BB-SPI0-01', 
version 'N/A'
[    8.673133] bone-capemgr bone_capemgr.9: slot #8: generic override
[    8.673150] bone-capemgr bone_capemgr.9: bone: Using override eeprom 
data at slot 8
[    8.673165] bone-capemgr bone_capemgr.9: slot #8: 'Override Board 
Name,00A0,Override Manuf,BB-SPI0-01'
[    8.673263] bone-capemgr bone_capemgr.9: slot #8: Requesting part 
number/version based 'BB-SPI0-01-00A0.dtbo
[    8.673278] bone-capemgr bone_capemgr.9: slot #8: Requesting firmware 
'BB-SPI0-01-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[    8.689664] bone-capemgr bone_capemgr.9: slot #8: dtbo 
'BB-SPI0-01-00A0.dtbo' loaded; converting to live tree
[    8.689879] bone-capemgr bone_capemgr.9: slot #8: #2 overlays
[    8.716083] pinctrl-single 44e10800.pinmux: pin 44e10950 already 
requested by panel.14; cannot claim for 48030000.spi
[    8.727435] pinctrl-single 44e10800.pinmux: pin-84 (48030000.spi) status 
-22
[    8.734937] pinctrl-single 44e10800.pinmux: could not request pin 84 on 
device pinctrl-single
[    8.914270] omap2_mcspi 48030000.spi: pins are not configured from the 
driver
[    8.922858] omap2_mcspi 48030000.spi: registered master spi1
[    8.945936] edma-dma-engine edma-dma-engine.0: allocated channel for 0:17
[    8.945997] edma-dma-engine edma-dma-engine.0: allocated channel for 0:16
[    8.946015] spi spi1.0: setup: speed 24000000, sample leading edge, clk 
normal
[    8.946029] spi spi1.0: setup mode 0, 8 bits/w, 24000000 Hz max --> 0
[    8.948432] omap2_mcspi 48030000.spi: registered child spi1.0
[    8.955719] bone-capemgr bone_capemgr.9: slot #8: Applied #2 overlays.


the cape is loaded successfully  

root@beaglebone:/dev# cat /sys/devices/bone_capemgr.*/slots 
 0: 54:P---L 4D 7.0 LCD CAPE- 4DCAPE-70T     ,00A3,4D SYSTEMS     
 ,BB-BONE-LCD7-01
 1: 55:PF--- 
 2: 56:PF--- 
 3: 57:PF--- 
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPI0-01


root@beaglebone:~# cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pingroups 
, it's declared in the group pins :

group: spi0_pins_s0
pin 84 (44e10950)
pin 85 (44e10954)
pin 86 (44e10958)
pin 87 (44e1095c)


but it's unclaimed in pinmux pins : 

pin 84 (44e10950): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 85 (44e10954): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 86 (44e10958): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 87 (44e1095c): (MUX UNCLAIMED) (GPIO UNCLAIMED)

can you please help , because i can't seem to understand what's wrong here 

Thanks in advance

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to