All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: net: dpmac: Add phys property
@ 2022-08-01 18:13 Sean Anderson
  2022-08-02  7:51 ` Krzysztof Kozlowski
  2022-08-03 22:48 ` Rob Herring
  0 siblings, 2 replies; 4+ messages in thread
From: Sean Anderson @ 2022-08-01 18:13 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, devicetree; +Cc: Ioana Ciornei, Sean Anderson

This silences warnings like

arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dtb: ethernet@8: 'phys', 'sfp' do not match any of the regexes: 'pinctrl-[0-9]+'
	From schema: Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml

Fixes: f978fe85b8d1 ("dpaa2-mac: configure the SerDes phy on a protocol change")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
---

 Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
index 600240281e8c..b46c7e174a03 100644
--- a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
+++ b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
@@ -30,6 +30,9 @@ properties:
 
   phy-mode: true
 
+  phys:
+    maxItems: 1
+
   pcs-handle:
     maxItems: 1
     description:
-- 
2.35.1.1320.gc452695387.dirty


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: net: dpmac: Add phys property
  2022-08-01 18:13 [PATCH] dt-bindings: net: dpmac: Add phys property Sean Anderson
@ 2022-08-02  7:51 ` Krzysztof Kozlowski
  2022-08-02 15:04   ` Sean Anderson
  2022-08-03 22:48 ` Rob Herring
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-02  7:51 UTC (permalink / raw)
  To: Sean Anderson, Rob Herring, Krzysztof Kozlowski, devicetree; +Cc: Ioana Ciornei

On 01/08/2022 20:13, Sean Anderson wrote:
> This silences warnings like
> 
> arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dtb: ethernet@8: 'phys', 'sfp' do not match any of the regexes: 'pinctrl-[0-9]+'
> 	From schema: Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
> 
> Fixes: f978fe85b8d1 ("dpaa2-mac: configure the SerDes phy on a protocol change")
> Signed-off-by: Sean Anderson <sean.anderson@seco.com>

Don't  we have phy-handle for this?

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: net: dpmac: Add phys property
  2022-08-02  7:51 ` Krzysztof Kozlowski
@ 2022-08-02 15:04   ` Sean Anderson
  0 siblings, 0 replies; 4+ messages in thread
From: Sean Anderson @ 2022-08-02 15:04 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski, devicetree
  Cc: Ioana Ciornei



On 8/2/22 3:51 AM, Krzysztof Kozlowski wrote:
> On 01/08/2022 20:13, Sean Anderson wrote:
>> This silences warnings like
>> 
>> arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dtb: ethernet@8: 'phys', 'sfp' do not match any of the regexes: 'pinctrl-[0-9]+'
>> 	From schema: Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
>> 
>> Fixes: f978fe85b8d1 ("dpaa2-mac: configure the SerDes phy on a protocol change")
>> Signed-off-by: Sean Anderson <sean.anderson@seco.com>
> 
> Don't  we have phy-handle for this?

This is for serdes phys. See dtschema/schemas/phy/phy-consumer.yaml

--Sean

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: net: dpmac: Add phys property
  2022-08-01 18:13 [PATCH] dt-bindings: net: dpmac: Add phys property Sean Anderson
  2022-08-02  7:51 ` Krzysztof Kozlowski
@ 2022-08-03 22:48 ` Rob Herring
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-08-03 22:48 UTC (permalink / raw)
  To: Sean Anderson; +Cc: Ioana Ciornei, Krzysztof Kozlowski, devicetree, Rob Herring

On Mon, 01 Aug 2022 14:13:46 -0400, Sean Anderson wrote:
> This silences warnings like
> 
> arch/arm64/boot/dts/freescale/fsl-lx2160a-honeycomb.dtb: ethernet@8: 'phys', 'sfp' do not match any of the regexes: 'pinctrl-[0-9]+'
> 	From schema: Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml
> 
> Fixes: f978fe85b8d1 ("dpaa2-mac: configure the SerDes phy on a protocol change")
> Signed-off-by: Sean Anderson <sean.anderson@seco.com>
> ---
> 
>  Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-03 22:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-01 18:13 [PATCH] dt-bindings: net: dpmac: Add phys property Sean Anderson
2022-08-02  7:51 ` Krzysztof Kozlowski
2022-08-02 15:04   ` Sean Anderson
2022-08-03 22:48 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.