Message ID | 1624688321-69131-3-git-send-email-zhouyanjie@wanyeetech.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2bc434b12d1283f16e388b0fd682303aa9c16db6 |
Headers | show |
Series | Misc Ingenic patches. | expand |
Quoting 周琰杰 (Zhou Yanjie) (2021-06-25 23:18:38) > Update the CGU binding documentation, add mac-phy-ctrl as a > pattern property. > > Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> > Acked-by: Paul Cercueil <paul@crapouillou.net> > --- Acked-by: Stephen Boyd <sboyd@kernel.org> Would also be good to add it to the example.
Hi Stephen, 于 Sun, 27 Jun 2021 19:52:02 -0700 Stephen Boyd <sboyd@kernel.org> 写道: > Quoting 周琰杰 (Zhou Yanjie) (2021-06-25 23:18:38) > > Update the CGU binding documentation, add mac-phy-ctrl as a > > pattern property. > > > > Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> > > Acked-by: Paul Cercueil <paul@crapouillou.net> > > --- > > Acked-by: Stephen Boyd <sboyd@kernel.org> > Thanks! > Would also be good to add it to the example. Unfortunately, mac-phy-ctrl only appeared after JZ4775 (include JZ4775), but now the CGU driver of JZ4775 has not been merged into the mainline. My plan is to wait for the CGU driver of JZ4775 to be merged into the mainline and then add a new example based on JZ4775 :) Thanks and best regards!
diff --git a/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml b/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml index c65b945..ee9b5fb 100644 --- a/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml +++ b/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml @@ -93,6 +93,8 @@ required: patternProperties: "^usb-phy@[a-f0-9]+$": allOf: [ $ref: "../phy/ingenic,phy-usb.yaml#" ] + "^mac-phy-ctrl@[a-f0-9]+$": + allOf: [ $ref: "../net/ingenic,mac.yaml#" ] additionalProperties: false