[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGCq0LYNn6VZwKpvvf=N2ra8ZJcSso80ZDpirByHO9ChBZv3eg@mail.gmail.com>
Date: Fri, 28 Mar 2025 15:44:00 +0800
From: Puma Hsu <pumahsu@...gle.com>
To: Wesley Cheng <quic_wcheng@...cinc.com>
Cc: srinivas.kandagatla@...aro.org, mathias.nyman@...el.com, perex@...ex.cz,
conor+dt@...nel.org, dmitry.torokhov@...il.com, corbet@....net,
broonie@...nel.org, lgirdwood@...il.com, krzk+dt@...nel.org,
pierre-louis.bossart@...ux.intel.com, Thinh.Nguyen@...opsys.com,
tiwai@...e.com, robh@...nel.org, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-sound@...r.kernel.org, linux-input@...r.kernel.org,
linux-usb@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH v36 04/31] usb: host: xhci-plat: Set XHCI max interrupters
if property is present
On Wed, Mar 19, 2025 at 8:54 AM Wesley Cheng <quic_wcheng@...cinc.com> wrote:
>
> Some platforms may want to limit the number of XHCI interrupters allocated.
> This is passed to xhci-plat as a device property. Ensure that this is read
> and the max_interrupters field is set.
>
> Signed-off-by: Wesley Cheng <quic_wcheng@...cinc.com>
Tested-by: Puma Hsu <pumahsu@...gle.com>
> ---
> drivers/usb/host/xhci-plat.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> index 3155e3a842da..6dab142e7278 100644
> --- a/drivers/usb/host/xhci-plat.c
> +++ b/drivers/usb/host/xhci-plat.c
> @@ -267,6 +267,8 @@ int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const s
>
> device_property_read_u32(tmpdev, "imod-interval-ns",
> &xhci->imod_interval);
> + device_property_read_u16(tmpdev, "num-hc-interrupters",
> + &xhci->max_interrupters);
> }
>
> /*
>
Powered by blists - more mailing lists