From: Linus Walleij <linus.walleij@linaro.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Fabian Vogt <fabian@ritter-vogt.de>,
Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH v2 2/7] usb: fotg210: List different variants
Date: Wed, 18 Jan 2023 08:09:16 +0100 [thread overview]
Message-ID: <20230103-gemini-fotg210-usb-v2-2-100388af9810@linaro.org> (raw)
In-Reply-To: <20230103-gemini-fotg210-usb-v2-0-100388af9810@linaro.org>
There are at least two variants of the FOTG: FOTG200 and
FOTG210. Handle them in this driver and let's add
more quirks as we go along.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/usb/fotg210/fotg210-core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/fotg210/fotg210-core.c b/drivers/usb/fotg210/fotg210-core.c
index 8a54edf921ac..cef12827e797 100644
--- a/drivers/usb/fotg210/fotg210-core.c
+++ b/drivers/usb/fotg210/fotg210-core.c
@@ -127,7 +127,9 @@ static int fotg210_remove(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id fotg210_of_match[] = {
+ { .compatible = "faraday,fotg200" },
{ .compatible = "faraday,fotg210" },
+ /* TODO: can we also handle FUSB220? */
{},
};
MODULE_DEVICE_TABLE(of, fotg210_of_match);
--
2.39.0
next prev parent reply other threads:[~2023-01-18 7:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-18 7:09 [PATCH v2 0/7] usb: fotg210: Various improvements Linus Walleij
2023-01-18 7:09 ` [PATCH v2 1/7] dt-bindings: usb: Correct and extend FOTG210 schema Linus Walleij
2023-01-18 8:01 ` Krzysztof Kozlowski
2023-01-18 7:09 ` Linus Walleij [this message]
2023-01-18 7:09 ` [PATCH v2 3/7] usb: fotg210: Acquire memory resource in core Linus Walleij
2023-01-18 7:09 ` [PATCH v2 4/7] usb: fotg210: Move clock handling to core Linus Walleij
2023-01-18 7:09 ` [PATCH v2 5/7] usb: fotg210: Check role register in core Linus Walleij
2023-01-18 7:09 ` [PATCH v2 6/7] usb: fotg210-udc: Assign of_node and speed on start Linus Walleij
2023-01-18 7:09 ` [PATCH v2 7/7] usb: fotg210-udc: Implement VBUS session Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230103-gemini-fotg210-usb-v2-2-100388af9810@linaro.org \
--to=linus.walleij@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=fabian@ritter-vogt.de \
--cc=gregkh@linuxfoundation.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.