diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-10-15 10:14:35 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-10-20 17:28:15 +0100 |
commit | f783484381ad088490a497abb4faab47511774c5 (patch) | |
tree | 9f6d4a3b223789c03b87edfdee8d1ede23f1e5b3 /tools/include | |
parent | 6147947922fc8e4d15296ed69bf886fbe139042a (diff) |
mfd: ti_am335x_tscadc: Use driver data
So far every sub-cell parameter in this driver was hardcoded: cell name,
cell compatible, specific clock name and desired clock frequency.
As we are about to introduce support for ADC1/magnetic reader, we need a
bit of flexibility. Let's add a driver data structure which will contain
these information.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211015081506.933180-18-miquel.raynal@bootlin.com
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions