soc: qcom: geni-se: add desc struct to specify clocks from device match data
authorNeil Armstrong <neil.armstrong@linaro.org>
Tue, 29 Nov 2022 14:47:03 +0000 (15:47 +0100)
committerWolfram Sang <wsa@kernel.org>
Mon, 5 Dec 2022 08:30:09 +0000 (09:30 +0100)
commit63fc9af83c11e02ea9c981d3bd0382e36f49916f
tree5be620d50c3b30b1ccadb1af725e44e05a0f8736
parentcb29d4e6a9ef004eed24774bc26839aa9e373ba4
soc: qcom: geni-se: add desc struct to specify clocks from device match data

The I2C Master Hub is a stripped down version of the GENI Serial Engine
QUP Wrapper Controller but only supporting I2C serial engines without
DMA support.

Prepare support for the I2C Master Hub variant by moving the required
clocks list to a new desc struct then passing it through the compatible
match data.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/soc/qcom/qcom-geni-se.c