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
| ||
|
Message-Id: <20231113204052.43688-1-festevam@gmail.com> Date: Mon, 13 Nov 2023 17:40:52 -0300 From: Fabio Estevam <festevam@...il.com> To: kuba@...nel.org Cc: davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com, robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org, netdev@...r.kernel.org, devicetree@...r.kernel.org, Fabio Estevam <festevam@...x.de> Subject: [PATCH net-next] dt-bindings: net: snps,dwmac: Do not make 'phy-mode' required From: Fabio Estevam <festevam@...x.de> The property 'phy-connection-type' can also be used to describe the interface type between the Ethernet device and the Ethernet PHY device. Mark 'phy-mode' as a non required property. This fixes the following schema warning: imx8mp-debix-model-a.dtb: ethernet@...f0000: 'phy-mode' is a required property from schema $id: http://devicetree.org/schemas/net/snps,dwmac.yaml# Signed-off-by: Fabio Estevam <festevam@...x.de> --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 5c2769dc689a..6c0d9e694d76 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -505,6 +505,10 @@ properties: required: - compatible + phy-connection-type: true + + phy-mode: true + stmmac-axi-config: type: object unevaluatedProperties: false @@ -564,7 +568,6 @@ required: - reg - interrupts - interrupt-names - - phy-mode dependencies: snps,reset-active-low: ["snps,reset-gpio"] -- 2.34.1
Powered by blists - more mailing lists