lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 21 Nov 2023 09:40:42 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Niklas Söderlund
 <niklas.soderlund+renesas@...natech.se>, Rob Herring <robh+dt@...nel.org>,
 Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
 devicetree@...r.kernel.org, netdev@...r.kernel.org,
 linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: net: renesas,ethertsn: Add bindings for
 Ethernet TSN

On 21/11/2023 09:00, Geert Uytterhoeven wrote:
> On Tue, Nov 21, 2023 at 8:45 AM Krzysztof Kozlowski
> <krzysztof.kozlowski@...aro.org> wrote:
>> On 20/11/2023 17:07, Niklas Söderlund wrote:
>>> Add bindings for Renesas R-Car Ethernet TSN End-station IP. The RTSN
>>> device provides Ethernet network.
>>>
>>> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@...natech.se>
> 
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/net/renesas,ethertsn.yaml
>>> @@ -0,0 +1,133 @@
>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/net/renesas,ethertsn.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: Renesas Ethernet TSN End-station
>>> +
>>> +maintainers:
>>> +  - Niklas Söderlund <niklas.soderlund@...natech.se>
>>> +
>>> +description:
>>> +  The RTSN device provides Ethernet network using a 10 Mbps, 100 Mbps, or 1
>>> +  Gbps full-duplex link via MII/GMII/RMII/RGMII. Depending on the connected PHY.
>>> +
>>> +properties:
>>> +  compatible:
>>> +    oneOf:
>>> +      - items:
>>
>> Drop items.
>>
>> I assume you have oneOf above because you predict this will grow with
>> entries with fallbacks? If not, drop.
>>
>>> +          - enum:
>>> +              - renesas,ethertsn-r8a779g0      # R-Car V4H
> 
> renesas,r8a779g0-ethertsn

You can try to make a schema for this. See for examples:
Documentation/devicetree/bindings/arm/qcom-soc.yaml

> 
> R-Car S4 also has EtherTSN.
> Is it identical, so it makes sense to add a renesas,rcar-gen4-ethertsn
> fallback?
> 
>>> +  renesas,rx-internal-delay:
>>> +    type: boolean
>>> +    description:
>>> +      Enable internal Rx clock delay, typically 1.8ns.
>>
>> Why this is bool, not delay in ns?
>> Why this is property of a board (not SoC)?
> 
> Standard property is rx-internal-delay-ps.

Thanks.



Best regards,
Krzysztof


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ