[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250219223523.4o2h43ptydtpdqjm@synopsys.com>
Date: Wed, 19 Feb 2025 22:35:31 +0000
From: Thinh Nguyen <Thinh.Nguyen@...opsys.com>
To: Kaustabh Chakraborty <kauschluss@...root.org>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>,
"linux-samsung-soc@...r.kernel.org" <linux-samsung-soc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/2] usb: dwc3: exynos: add support for exynos7870
On Wed, Feb 19, 2025, Kaustabh Chakraborty wrote:
> Exynos7870 devices have a DWC3 compatible USB 2.0 controller.
> Add support in the driver by:
> - Adding its own compatible string, "samsung,exynos7870-dwusb3".
> - Adding three USBDRD clocks named "bus_early", "ctrl", and "ref", to
> be controlled by the driver.
>
> Signed-off-by: Kaustabh Chakraborty <kauschluss@...root.org>
> ---
> drivers/usb/dwc3/dwc3-exynos.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c
> index f5d963fae9e069e1bd145ff5bd1b704da89fb74c..ca8d2955303c589ea03a261944aadb6582c9cb9f 100644
> --- a/drivers/usb/dwc3/dwc3-exynos.c
> +++ b/drivers/usb/dwc3/dwc3-exynos.c
> @@ -163,6 +163,12 @@ static const struct dwc3_exynos_driverdata exynos7_drvdata = {
> .suspend_clk_idx = 1,
> };
>
> +static const struct dwc3_exynos_driverdata exynos7870_drvdata = {
> + .clk_names = { "bus_early", "ctrl", "ref" },
> + .num_clks = 3,
> + .suspend_clk_idx = -1,
> +};
> +
> static const struct dwc3_exynos_driverdata exynos850_drvdata = {
> .clk_names = { "bus_early", "ref" },
> .num_clks = 2,
> @@ -185,6 +191,9 @@ static const struct of_device_id exynos_dwc3_match[] = {
> }, {
> .compatible = "samsung,exynos7-dwusb3",
> .data = &exynos7_drvdata,
> + }, {
> + .compatible = "samsung,exynos7870-dwusb3",
> + .data = &exynos7870_drvdata,
> }, {
> .compatible = "samsung,exynos850-dwusb3",
> .data = &exynos850_drvdata,
>
> --
> 2.48.1
>
Acked-by: Thinh Nguyen <Thinh.Nguyen@...opsys.com>
Thanks,
Thinh
Powered by blists - more mailing lists