diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-09-29 00:12:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-09 14:14:12 +0200 |
commit | 15b26d8165b39a07f038fb4d2b67a04c50463eb9 (patch) | |
tree | 0acd9051b52d0dd8f36b5bcb255802821c381388 /sound/soc/rockchip/rockchip_pdm.c | |
parent | ASoC: SOF: ipc4: Take priority into cosideration when (diff) | |
download | linux-15b26d8165b39a07f038fb4d2b67a04c50463eb9.tar.xz linux-15b26d8165b39a07f038fb4d2b67a04c50463eb9.zip |
ASoC: rockchip: Convert RK3288 HDMI to GPIO descriptors
This converts the Rockchip RK3288 HDMI driver to use GPIO
descriptors:
- Look up the HP EN GPIO as an optional descriptor and handle
it directly, the gpiod API is NULL-tolerant so no special
guards are needed.
- Let the Jack detection core obtain and handle the HP detection
GPIO, just pass the right name and gpiod_dev and it will
do the job. Make sure to check that the GPIO property
is there first, so it becomes optional.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230929-descriptors-asoc-rockchip-v2-1-2d2c0e043aab@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip/rockchip_pdm.c')
0 files changed, 0 insertions, 0 deletions