mmc: sdhci-pxav2: add optional core clock
authorDoug Brown <doug@schmorgal.com>
Mon, 16 Jan 2023 19:43:58 +0000 (11:43 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Jan 2023 10:56:41 +0000 (11:56 +0100)
commite41c48b4bcb3ceee43a101ba7d514483271fb2fb
tree03d56e43d27692ca30a00a4a41cda04a493b9481
parentc7c60bf62820abfbfc7d154ade06a6043be0b479
mmc: sdhci-pxav2: add optional core clock

Add ability to have an optional core clock just like the pxav3 driver.
The PXA168 needs this because its SDHC controllers have separate core
and io clocks that both need to be enabled. This also correctly matches
the documented devicetree bindings for this driver.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Doug Brown <doug@schmorgal.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20230116194401.20372-6-doug@schmorgal.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav2.c