[PATCH 0/2] iio: frequency: add iio support for Amlogic clock measure

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

 



Add support for the HW found in most Amlogic SoC dedicated to measure
system clocks.

This drivers aims to replace the one found in
drivers/soc/amlogic/meson-clk-measure.c with following improvements:

* Access to the measurements through the IIO API:
  Easier re-use of the results in userspace and other drivers
* Controllable scale with raw measurements
* Higher precision with processed measurements

Jerome Brunet (2):
  dt-bindings: iio: frequency: add clock measure support
  iio: frequency: add amlogic clock measure support

 .../iio/frequency/amlogic,clk-msr-io.yaml     |  50 ++
 drivers/iio/frequency/Kconfig                 |  15 +
 drivers/iio/frequency/Makefile                |   1 +
 drivers/iio/frequency/amlogic-clk-msr-io.c    | 802 ++++++++++++++++++
 4 files changed, 868 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/frequency/amlogic,clk-msr-io.yaml
 create mode 100644 drivers/iio/frequency/amlogic-clk-msr-io.c

-- 
2.43.0





[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