Message ID | 20240728082004.36575-2-andyshrk@163.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Add support for Cool Pi GenBook | expand |
On 28/07/2024 10:20, Andy Yan wrote: > Add Cool Pi CM5 GenBook, a laptop powered by RK3588. > > Cool Pi GenBook works with a carrier board connect > with CM5. Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit): https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597 > > Signed-off-by: Andy Yan <andyshrk@163.com> > > --- > > Changes in v2: > - Descripte it as Cool Pi CM5 GenBook > > Documentation/devicetree/bindings/arm/rockchip.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml > index 1ef09fbfdfaf..a9bfb87e69f5 100644 > --- a/Documentation/devicetree/bindings/arm/rockchip.yaml > +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml > @@ -96,6 +96,14 @@ properties: > - const: coolpi,pi-cm5 > - const: rockchip,rk3588 > > + - description: Cool Pi CM5 GenBook > + items: > + - enum: > + - coolpi,genbook > + - const: coolpi,pi-cm5 > + - const: rockchip,rk3588 > + > + Just one blank line. Please always take a look how the code looks around and do not implement things entirely different. Like odd blank lines. Best regards, Krzysztof
Hello Andy, On 2024-07-28 10:20, Andy Yan wrote: > Add Cool Pi CM5 GenBook, a laptop powered by RK3588. > > Cool Pi GenBook works with a carrier board connect > with CM5. > > Signed-off-by: Andy Yan <andyshrk@163.com> > > --- > > Changes in v2: > - Descripte it as Cool Pi CM5 GenBook > > Documentation/devicetree/bindings/arm/rockchip.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml > b/Documentation/devicetree/bindings/arm/rockchip.yaml > index 1ef09fbfdfaf..a9bfb87e69f5 100644 > --- a/Documentation/devicetree/bindings/arm/rockchip.yaml > +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml > @@ -96,6 +96,14 @@ properties: > - const: coolpi,pi-cm5 > - const: rockchip,rk3588 > > + - description: Cool Pi CM5 GenBook > + items: > + - enum: > + - coolpi,genbook This should also follow the "dependency graph" naming approach, so it should be named "coolpi,pi-cm5-genbook" instead. It would also make the naming scheme future-proof for some other SoM that could possibly be made available for the GenBook in the future, for which the new identifier would be "coolpi,pi-XYZ-genbook". Though, the "pi-" part in "coolpi,pi-cm5-genbook" seems redundant to me, but it's already present in all related Cool Pi identifiers, e.g. "coolpi,pi-cm5-evb", so including the leading "pi-" here as well is obviously required for consistency. Oh, and I somehow managed to miss this in my earlier repose, which would have saved you from sending another version of this series. I'm sorry for that. > + - const: coolpi,pi-cm5 > + - const: rockchip,rk3588 > + > + > - description: Cool Pi 4 Model B > items: > - const: coolpi,pi-4b
diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 1ef09fbfdfaf..a9bfb87e69f5 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -96,6 +96,14 @@ properties: - const: coolpi,pi-cm5 - const: rockchip,rk3588 + - description: Cool Pi CM5 GenBook + items: + - enum: + - coolpi,genbook + - const: coolpi,pi-cm5 + - const: rockchip,rk3588 + + - description: Cool Pi 4 Model B items: - const: coolpi,pi-4b
Add Cool Pi CM5 GenBook, a laptop powered by RK3588. Cool Pi GenBook works with a carrier board connect with CM5. Signed-off-by: Andy Yan <andyshrk@163.com> --- Changes in v2: - Descripte it as Cool Pi CM5 GenBook Documentation/devicetree/bindings/arm/rockchip.yaml | 8 ++++++++ 1 file changed, 8 insertions(+)