diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-05-01 00:00:14 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-05-08 16:57:32 +0200 |
commit | 51e9aa6acef3e7314fc5ad4646397000f5181899 (patch) | |
tree | f88609d95bf182592b07bbb8cafe7f988dc024d8 /target/linux/gemini/patches-6.1/0001-usb-phy-phy-gpio-vbus-usb-Add-device-tree-probing.patch | |
parent | 0d74b2a1e5f35d534fb5433ffcd85aa6b967cd47 (diff) | |
download | openwrt-51e9aa6acef3e7314fc5ad4646397000f5181899.tar.gz openwrt-51e9aa6acef3e7314fc5ad4646397000f5181899.tar.bz2 openwrt-51e9aa6acef3e7314fc5ad4646397000f5181899.zip |
gemini: Bump to kernel v6.6
The Gemini works fine with kernel v6.6.
As per the example for ipq806x, drop support for anything
older than v6.6, there is no point in supporting it,
and the new DTS SoC directory just makes it hard to
maintain.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'target/linux/gemini/patches-6.1/0001-usb-phy-phy-gpio-vbus-usb-Add-device-tree-probing.patch')
-rw-r--r-- | target/linux/gemini/patches-6.1/0001-usb-phy-phy-gpio-vbus-usb-Add-device-tree-probing.patch | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/target/linux/gemini/patches-6.1/0001-usb-phy-phy-gpio-vbus-usb-Add-device-tree-probing.patch b/target/linux/gemini/patches-6.1/0001-usb-phy-phy-gpio-vbus-usb-Add-device-tree-probing.patch deleted file mode 100644 index 943b166d7e..0000000000 --- a/target/linux/gemini/patches-6.1/0001-usb-phy-phy-gpio-vbus-usb-Add-device-tree-probing.patch +++ /dev/null @@ -1,67 +0,0 @@ -From d5a026cc8306ccd3e99e1455c87e38f8e6fa18df Mon Sep 17 00:00:00 2001 -From: Linus Walleij <linus.walleij@linaro.org> -Date: Mon, 7 Nov 2022 00:05:06 +0100 -Subject: [PATCH 01/29] usb: phy: phy-gpio-vbus-usb: Add device tree probing - -Make it possible to probe the GPIO VBUS detection driver -from the device tree compatible for GPIO USB B connectors. - -Since this driver is using the "gpio-usb-b-connector" -compatible, it is important to discern it from the role -switch connector driver (which does not provide a phy), -so we add some Kconfig text and depend on !USB_CONN_GPIO. - -Cc: Rob Herring <robh@kernel.org> -Cc: Prashant Malani <pmalani@chromium.org> -Cc: Felipe Balbi <balbi@kernel.org> -Signed-off-by: Linus Walleij <linus.walleij@linaro.org> -Link: https://lore.kernel.org/r/20221106230506.1646101-1-linus.walleij@linaro.org -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ---- ---- a/drivers/usb/phy/Kconfig -+++ b/drivers/usb/phy/Kconfig -@@ -93,12 +93,16 @@ config USB_GPIO_VBUS - tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" - depends on GPIOLIB || COMPILE_TEST - depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y' -+ depends on !USB_CONN_GPIO - select USB_PHY - help - Provides simple GPIO VBUS sensing for controllers with an - internal transceiver via the usb_phy interface, and - optionally control of a D+ pullup GPIO as well as a VBUS -- current limit regulator. -+ current limit regulator. This driver is for devices that do -+ NOT support role switch. OTG devices that can do role switch -+ (master/peripheral) shall use the USB based connection -+ detection driver USB_CONN_GPIO. - - config OMAP_OTG - tristate "OMAP USB OTG controller driver" ---- a/drivers/usb/phy/phy-gpio-vbus-usb.c -+++ b/drivers/usb/phy/phy-gpio-vbus-usb.c -@@ -366,12 +366,24 @@ static const struct dev_pm_ops gpio_vbus - - MODULE_ALIAS("platform:gpio-vbus"); - -+/* -+ * NOTE: this driver matches against "gpio-usb-b-connector" for -+ * devices that do NOT support role switch. -+ */ -+static const struct of_device_id gpio_vbus_of_match[] = { -+ { -+ .compatible = "gpio-usb-b-connector", -+ }, -+ {}, -+}; -+ - static struct platform_driver gpio_vbus_driver = { - .driver = { - .name = "gpio-vbus", - #ifdef CONFIG_PM - .pm = &gpio_vbus_dev_pm_ops, - #endif -+ .of_match_table = gpio_vbus_of_match, - }, - .probe = gpio_vbus_probe, - .remove = gpio_vbus_remove, |