Re: Accessing specific hardware features of mxs-lradc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/02/2013 12:49 PM, Hector Palacios wrote:
> Greetings,
> 
> The mxs-lradc has some hardware specific features like the DIVIDE_BY_TWO (an
> analog divide by two circuit that can be activated per channel).
> This is not currently implemented in the driver and I was wondering what would
> be the way to expose and control such setting. A specific sysfs entry? Somehow
> through the device tree?
> 
> Is there any example of how to control a hw-specific feature in other similar
> iio drivers?
> 

This sounds as if the channel scale is programmable. There are quite a few
drivers for devices which have similar features, just make the scale property
writable and provide a scale_available.

- Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux