edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

how to set vref for ADC chip #104

Closed xlla closed 4 years ago

xlla commented 4 years ago

I notice this in dmesg

root@edison:~# dmesg |grep ads
[    0.089960] process: using mwait in idle threads
[ 1643.785328] ads7950 spi-ADS7951:00: Failed to retrieve ACPI GPIO chip
[ 1643.857991] ads7950 spi-ADS7951:00: spi-ADS7951:00 supply vref not found, using dummy regulator

In Schema, REFP was controlled by J8, how to tell ads7950 I was set AREF to 3.3v or 5v ?

htot commented 4 years ago

I don't know what it means, but there are more dummy regulators:

root@edison:~# journalctl -b | grep regulator
regulator-dummy: no parameters
pca953x i2c-INT3491:00: i2c-INT3491:00 supply vcc not found, using dummy regulator
pca953x i2c-INT3491:01: i2c-INT3491:01 supply vcc not found, using dummy regulator
pca953x i2c-INT3491:02: i2c-INT3491:02 supply vcc not found, using dummy regulator
pca953x i2c-INT3491:03: i2c-INT3491:03 supply vcc not found, using dummy regulator
hci_uart_bcm serial0-0: serial0-0 supply vbat not found, using dummy regulator
hci_uart_bcm serial0-0: serial0-0 supply vddio not found, using dummy regulator
ads7950 spi-PRP0001:01: spi-PRP0001:01 supply vref not found, using dummy regulator
xlla commented 4 years ago

I found it is use hardcode for acpi case, this is a warning message.