Module ag35

Module ag35 

Expand description

AG35 implementation.

I wasn’t able to find any documentation for how Quectel exposes the ADC values. It seems like it’s quite an uncommon use case.

The ql_adc.h header doesn’t expose the underlying channel labels.

They can be extracted from the device tree: arch/arm/boot/dts/qcom/mdm9607.dtsi.

The CBC channel isn’t documented in the device tree and has been reverse engineered from the library. DEVICE_PREFIX is also taken from the library.

Constants§

ADC0
ADC1
ADC2
CBC
DEVICE_PREFIX 🔒

Functions§

channel_path
Returns the full path to the ADC channel file.
device_dir
Returns the path to the ADC device directory.