]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
phy: exynos5-usbdrd: Do not depend on Type-C
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 27 Feb 2025 07:05:18 +0000 (08:05 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 27 Feb 2025 12:25:46 +0000 (17:55 +0530)
Older Exynos designs, like Exynos5422, do not have USB Type-C and the
USB DRD PHY does not really need CONFIG_TYPEC for these devices at all.
Incorrectly added optional dependency on CONFIG_TYPEC caused this driver
to be missing for exynos_defconfig and as result Exynos5422-based boards
like Hardkernel Odroid HC1 failed to probe USB.

Reported-by: Krzysztof Kozlowski <krzk@kernel.org>
Closes: https://krzk.eu/#/builders/21/builds/6139
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Closes: https://lore.kernel.org/all/3c0b77e6-357d-453e-8b63-4757c3231bde@samsung.com/
Fixes: 09dc674295a3 ("phy: exynos5-usbdrd: subscribe to orientation notifier if required")
Reviewed-by: André Draszik <andre.draszik@linaro.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250227070518.5468-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/Kconfig

index 7fba571c0e2b855deb9620b46d1b6863d6c06be9..6566100441d616ee066182c96ad57ba86369b611 100644 (file)
@@ -81,7 +81,7 @@ config PHY_EXYNOS5_USBDRD
        tristate "Exynos5 SoC series USB DRD PHY driver"
        depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
        depends on HAS_IOMEM
-       depends on TYPEC || (TYPEC=n && COMPILE_TEST)
+       depends on TYPEC || !TYPEC
        depends on USB_DWC3_EXYNOS
        select GENERIC_PHY
        select MFD_SYSCON