Configuring ASM330LH in Linux
Hi,
I am working on ASM330LH in Linux. After enabling ASM drivers, IIO drivers in kernel and adding asm node entry in device tree, the device is getting detected.
target:/sys/bus/iio/devices # ls
iio:device0 iio:device1 iio:device2 iio_sysfs_trigger
But scan_elements and some other entries are missing in the device.
target:/sys/bus/iio/devices/iio:device0 # ls
current_timestamp_clock hwfifo_watermark_max in_accel_y_scale power
dev in_accel_scale_available in_accel_z_raw sampling_frequency
events in_accel_x_raw in_accel_z_scale sampling_frequency_available
hwfifo_flush in_accel_x_scale name subsystem
hwfifo_watermark in_accel_y_raw of_node uevent
Can anyone support me in configuring the chip in Linux? Is interrupt configuration required for scan_elements?
Regards,
Naveen
