summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/samsung/pinctrl-exynos.h
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@linaro.org>2024-04-26 16:25:15 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-04-29 20:19:30 +0300
commitf9c74474797351c60e009ebc59a798fcfd93ee57 (patch)
tree7b0735ff5e113cedca0ca6b25cda2932126b96a8 /drivers/pinctrl/samsung/pinctrl-exynos.h
parentdff9f3fb6ba4f74eb805bc172cc16ff2c91648bf (diff)
downloadlinux-f9c74474797351c60e009ebc59a798fcfd93ee57.tar.xz
pinctrl: samsung: support a bus clock
On some Samsung-based SoCs there are separate bus clocks / gates each for each pinctrl instance. To be able to access each pinctrl instance's registers, this bus clock needs to be running, otherwise register access will hang. Google Tensor gs101 is one example for such an implementation. Update the driver to handle this optional bus clock: * handle an optional bus clock from DT * prepare it during driver probe * enclose all relevant register accesses with a clock enable & disable Signed-off-by: André Draszik <andre.draszik@linaro.org> Link: https://lore.kernel.org/r/20240426-samsung-pinctrl-busclock-v3-2-adb8664b8a7e@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/pinctrl/samsung/pinctrl-exynos.h')
0 files changed, 0 insertions, 0 deletions