summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBilly Tsai <billy_tsai@aspeedtech.com>2021-09-22 16:15:11 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-19 08:27:32 +0100
commiteaa74a8d510d05a98b5839958ff3c70a30ba8d71 (patch)
tree55ebc72f218eddec33c4cbf332d02a09608eac25 /tools/perf/scripts/python/export-to-postgresql.py
parent89c65417da9065f79b9785f1cdb89d5b67e9dad5 (diff)
iio: adc: aspeed: Restructure the model data
This patch refactors the model data structure to distinguish the function form different versions of aspeed ADC. - Rename the vref_voltage to vref_fixed_mv and add vref_mv driver data When driver probe will check vref_fixed_mv value and store it to vref_mv which isn't const value. - Add num_channels Make num_channles of iio device can be changed by different model_data - Add need_prescaler flag and scaler_bit_width The need_prescaler flag is used to tell the driver the clock divider needs another Prescaler and the scaler_bit_width to set the clock divider bitfield width. Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com> Link: https://lore.kernel.org/r/20210922081520.30580-3-billy_tsai@aspeedtech.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions