diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-08-27 05:13:30 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-09-19 23:00:22 +0300 |
commit | bcfaaa9711127eda1803f164ae4d790f38ff1122 (patch) | |
tree | 6b41696b568ef469fdc01bf100998462b3573ea3 /drivers/i2c/i2c-dev.c | |
parent | 19b6ffd5f079741dadc555477375e3da59fd5c58 (diff) | |
download | linux-bcfaaa9711127eda1803f164ae4d790f38ff1122.tar.xz |
i2c: mt65xx: allow optional pmic clock
Using the I2C host controller on the MT7981 SoC requires 4 clocks to
be enabled. One of them, the pmic clk, is only enabled in case
'mediatek,have-pmic' is also set which has other consequences which
are not desired in this case.
Allow defining a pmic clk even in case the 'mediatek,have-pmic' propterty
is not present and the bus is not used to connect to a pmic, but may
still require to enable the pmic clock.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions