Re: [PATCH v4 28/33] dt-bindings: crypto: rockchip: convert to new driver bindings

From: Krzysztof Kozlowski
Date: Sat Apr 02 2022 - 16:19:14 EST

On 02/04/2022 22:10, LABBE Corentin wrote:
> Le Sat, Apr 02, 2022 at 01:53:58PM +0200, Krzysztof Kozlowski a écrit :
>> On 01/04/2022 22:17, Corentin Labbe wrote:
>>> The latest addition to the rockchip crypto driver need to update the
>>> driver bindings.

>>> reset-names:
>>> - maxItems: 1
>>> + deprecated: true
>> Why reset-names are being deprecated? Did we talk about this?
> Since I use the devm_reset_control_array_get_exclusive, there is no need to have reset-names.

The reset-names are not only for Linux driver. In any case, Linux driver
could get always reset/clock/gpio by index, not by name.

Additionally, there can be different implementation in different
system/user of bindings.

Therefore the driver implementation does not matter (or matters little)
for the bindings, so for multi entries the reset-names are needed.

Best regards,