[PATCH v2 0/2] Xilinx XADC fixes

Robert Hancock robert.hancock at calian.com
Thu Sep 14 17:10:17 PDT 2023


Fixes for a couple of issues in the Xilinx XADC driver: one where
preconfigured temperature/voltage thresholds were being clobbered and
potentially breaking overtemperature shutdown, and another for inaccurate
temperature readings on UltraScale family devices.

Changed since v2: Updated to also remove disabling XADC alarm bits.

Robert Hancock (2):
  iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature
    thresholds
  iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale

 drivers/iio/adc/xilinx-xadc-core.c | 39 +++++++++++-------------------
 drivers/iio/adc/xilinx-xadc.h      |  2 ++
 2 files changed, 16 insertions(+), 25 deletions(-)

-- 
2.41.0




More information about the linux-arm-kernel mailing list