[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <08388eec-bfe8-c4c4-06b7-8450bc34182e@linaro.org>
Date: Sun, 30 Jul 2023 10:29:36 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Stanley Chang[昌育德]
<stanley_chang@...ltek.com>,
Thinh Nguyen <Thinh.Nguyen@...opsys.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 2/2] doc: dt: bindings: usb: realtek,dwc3: Add Realtek
DHC RTD SoC DWC3 USB
On 28/07/2023 19:37, Stanley Chang[昌育德] wrote:
>>> +
>>> + realtek,disable-usb3-phy:
>>> + description: Close USB 3.0 PHY if the board design not support USB 3.0.
>>> + type: boolean
>>> +
>>> + realtek,enable-l4icg:
>>> + description: Enable the power saving feature l4icg by hardware clock.
>>> + gating.
>>
>> You described the desired Linux feature or behavior, not the actual hardware.
>> The bindings are about the latter, so instead you need to rephrase the property
>> and its description to match actual hardware
>> capabilities/features/configuration etc.
>
> The l4icg entry is a hardware feature for power saving.
> The term may not clearly convey the function.
> So instead of the term "l4icg" I use "hw clock gating".
>
> realtek,enable-hw-clock-gating:
> description: Enable the clock gated function which will gating sram
> clock when dbus idle.
And why this should be configurable per board? It looks you like to put
OS policy into DT, so no.
Best regards,
Krzysztof
Powered by blists - more mailing lists