ADC in kernel 4.4

What is the latest on using ADC in kernel 4.4?

I see their is is not BB-ADC in /lib/firmware.

How do I get this rolling in 4.4?

What is the latest on using ADC in kernel 4.4?

I see their is is not BB-ADC in /lib/firmware.

sudo apt-get update ; sudo apt-get install bb-cape-overlays

How do I get this rolling in 4.4?

/boot/uEnv.txt

cape_enable=bone_capemgr.enable_partno=BB-ADC

reboot..

debian@beaglebone:~$ dmesg | grep cape
[ 0.000000] Kernel command line: console=ttyO0,115200n8
bone_capemgr.enable_partno=BB-ADC root=/dev/mmcblk0p1 ro
rootfstype=ext4 rootwait coherent_pool=1M cape_universal=enable
[ 4.331469] bone_capemgr bone_capemgr: Baseboard:
'A335BNLT,BBG1,BBG116043766'
[ 4.338743] bone_capemgr bone_capemgr:
compatible-baseboard=ti,beaglebone-black - #slots=4
[ 4.404125] bone_capemgr bone_capemgr: slot #0: No cape found
[ 4.464122] bone_capemgr bone_capemgr: slot #1: No cape found
[ 4.524122] bone_capemgr bone_capemgr: slot #2: No cape found
[ 4.584122] bone_capemgr bone_capemgr: slot #3: No cape found
[ 4.589903] bone_capemgr bone_capemgr: enabled_partno PARTNO
'BB-ADC' VER 'N/A' PR '0'
[ 4.597857] bone_capemgr bone_capemgr: slot #4: override
[ 4.603196] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 4.610192] bone_capemgr bone_capemgr: slot #4: 'Override Board
Name,00A0,Override Manuf,BB-ADC'
[ 4.619302] bone_capemgr bone_capemgr: initialized OK.
[ 5.646166] bone_capemgr bone_capemgr: slot #4: dtbo
'BB-ADC-00A0.dtbo' loaded; overlay id #0

debian@beaglebone:/sys/bus/iio/devices/iio:device0$ tail in_*
==> in_voltage0_raw <==
3903

==> in_voltage1_raw <==
3562

==> in_voltage2_raw <==
3815

==> in_voltage3_raw <==
2611

==> in_voltage4_raw <==
2381

==> in_voltage5_raw <==
2728

==> in_voltage6_raw <==
2810

Regards,

Thanks!

For those that have custom dtbo’s to load in addition, comma seperate their names in /boot/uEnv.txt:

cape_enable=bone_capemgr.enable_partno=BB-ADC,your-cape-name-here