2024-04-15 10:28:41

by Peng Fan (OSS)

[permalink] [raw]
Subject: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells property

From: Peng Fan <[email protected]>

Allow nvmem-cells and nvmem-cell-names to get mac_address from onchip
fuse.

Signed-off-by: Peng Fan <[email protected]>
---
Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
index 4c01cae7c93a..87bc4416eadf 100644
--- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
+++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
@@ -66,6 +66,10 @@ properties:
Should be phandle/offset pair. The phandle to the syscon node which
encompases the GPR register, and the offset of the GPR register.

+ nvmem-cells: true
+
+ nvmem-cell-names: true
+
snps,rmii_refclk_ext:
$ref: /schemas/types.yaml#/definitions/flag
description:
--
2.37.1



2024-04-15 14:39:33

by Frank Li

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells property

On Mon, Apr 15, 2024 at 06:36:21PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <[email protected]>
>
> Allow nvmem-cells and nvmem-cell-names to get mac_address from onchip
> fuse.
>
> Signed-off-by: Peng Fan <[email protected]>

Reviewed-by: Frank Li <[email protected]>

> ---
> Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> index 4c01cae7c93a..87bc4416eadf 100644
> --- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> @@ -66,6 +66,10 @@ properties:
> Should be phandle/offset pair. The phandle to the syscon node which
> encompases the GPR register, and the offset of the GPR register.
>
> + nvmem-cells: true
> +
> + nvmem-cell-names: true
> +
> snps,rmii_refclk_ext:
> $ref: /schemas/types.yaml#/definitions/flag
> description:
> --
> 2.37.1
>

2024-04-15 15:47:19

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells property

On Mon, Apr 15, 2024 at 06:36:21PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <[email protected]>
>
> Allow nvmem-cells and nvmem-cell-names to get mac_address from onchip
> fuse.

Is this valid for all 3 devices in this binding?

>
> Signed-off-by: Peng Fan <[email protected]>
> ---
> Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> index 4c01cae7c93a..87bc4416eadf 100644
> --- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> @@ -66,6 +66,10 @@ properties:
> Should be phandle/offset pair. The phandle to the syscon node which
> encompases the GPR register, and the offset of the GPR register.
>
> + nvmem-cells: true
> +
> + nvmem-cell-names: true
> +
> snps,rmii_refclk_ext:
> $ref: /schemas/types.yaml#/definitions/flag
> description:
> --
> 2.37.1
>


Attachments:
(No filename) (1.07 kB)
signature.asc (235.00 B)
Download all attachments

2024-04-16 13:52:34

by Peng Fan

[permalink] [raw]
Subject: RE: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells property

> Subject: Re: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells
> property
>
> On Mon, Apr 15, 2024 at 06:36:21PM +0800, Peng Fan (OSS) wrote:
> > From: Peng Fan <[email protected]>
> >
> > Allow nvmem-cells and nvmem-cell-names to get mac_address from onchip
> > fuse.
>
> Is this valid for all 3 devices in this binding?

Yes. It is valid for all the three devices.

Thanks,
Peng.
>
> >
> > Signed-off-by: Peng Fan <[email protected]>
> > ---
> > Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> > b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> > index 4c01cae7c93a..87bc4416eadf 100644
> > --- a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> > +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml
> > @@ -66,6 +66,10 @@ properties:
> > Should be phandle/offset pair. The phandle to the syscon node which
> > encompases the GPR register, and the offset of the GPR register.
> >
> > + nvmem-cells: true
> > +
> > + nvmem-cell-names: true
> > +
> > snps,rmii_refclk_ext:
> > $ref: /schemas/types.yaml#/definitions/flag
> > description:
> > --
> > 2.37.1
> >

2024-04-16 14:37:18

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells property

On Tue, Apr 16, 2024 at 01:52:18PM +0000, Peng Fan wrote:
> > Subject: Re: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells
> > property
> >
> > On Mon, Apr 15, 2024 at 06:36:21PM +0800, Peng Fan (OSS) wrote:
> > > From: Peng Fan <[email protected]>
> > >
> > > Allow nvmem-cells and nvmem-cell-names to get mac_address from onchip
> > > fuse.
> >
> > Is this valid for all 3 devices in this binding?
>
> Yes. It is valid for all the three devices.

Acked-by: Conor Dooley <[email protected]>

Ty,
Conor.


Attachments:
(No filename) (544.00 B)
signature.asc (235.00 B)
Download all attachments

2024-04-17 00:21:11

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: nxp,dwmac-imx: allow nvmem cells property

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:

On Mon, 15 Apr 2024 18:36:21 +0800 you wrote:
> From: Peng Fan <[email protected]>
>
> Allow nvmem-cells and nvmem-cell-names to get mac_address from onchip
> fuse.
>
> Signed-off-by: Peng Fan <[email protected]>
>
> [...]

Here is the summary with links:
- dt-bindings: net: nxp,dwmac-imx: allow nvmem cells property
https://git.kernel.org/netdev/net-next/c/427f6acbc881

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html