iio: xilinx-ams: Add labels
authorSean Anderson <sean.anderson@linux.dev>
Thu, 20 Jun 2024 20:48:42 +0000 (16:48 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 30 Jun 2024 10:41:19 +0000 (11:41 +0100)
commitaa9e366bb0bf457c7cff3d72276f5dfa43d5a244
tree01b8fac85d2551dd0c9382600e080318cc0cadf0
parent340fa834ae229a952db04a57ed13fd5d35d75818
iio: xilinx-ams: Add labels

Label all the channels using names from the reference manual. Some of
the "control" channels are duplicates of other channels. The reference
manual describes it like:

> The AMS register set includes several measurement registers that are
> written to by the PS SYSMON unit using the single-channel mode
> (sequencer off). These voltage measurements are performed using the
> unipolar sampling circuit with a 0 to 3V range and do not have alarms
> or minimum/maximum registers.

So I think these really are measuring the same voltages but in a
different location. In which case, sharing labels makes sense to me.

Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://patch.msgid.link/20240620204842.817237-1-sean.anderson@linux.dev
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/xilinx-ams.c