Re: [RFC PATCH 08/14] usb: dwc3: Add DT parameter to specify maximum number of interrupters

Krzysztof Kozlowski
2022-12-26T12:28:35Z

On 24/12/2022 12:13, Dmitry Baryshkov wrote:
>> @@ -1468,6 +1469,9 @@ static void dwc3_get_properties(struct dwc3 *dwc)
>> */
>> tx_fifo_resize_max_num = 6;
>>
>> + /* default to a single XHCI interrupter */
>> + num_hc_interrupters = 1;
>> +
>> dwc->maximum_speed = usb_get_maximum_speed(dev);
>> dwc->max_ssp_rate = usb_get_maximum_ssp_rate(dev);
>> dwc->dr_mode = usb_get_dr_mode(dev);
>> @@ -1511,6 +1515,12 @@ static void dwc3_get_properties(struct dwc3 *dwc)
>> &tx_thr_num_pkt_prd);
>> device_property_read_u8(dev, "snps,tx-max-burst-prd",
>> &tx_max_burst_prd);
>> + device_property_read_u8(dev, "snps,num-hc-interrupters",
>> + &num_hc_interrupters);
>
> bindings change?

Undocumented bindings change :(

Best regards,
Krzysztof