Message ID | 20240624081906.1399447-5-jacobe.zang@wesion.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show |
Series | Add AP6275P wireless support | expand |
On 6/24/2024 10:19 AM, Jacobe Zang wrote: > Add clocks and clock-names for brcm4329-fmac. Thanks. Prefer another clock name though ... > Signed-off-by: Jacobe Zang <jacobe.zang@wesion.com> > --- > .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > index e564f20d8f415..b9e39a62c3b32 100644 > --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > @@ -121,6 +121,15 @@ properties: > NVRAM. This would normally be filled in by the bootloader from platform > configuration data. > > + clocks: > + description: phandle to the clock connected on rtc clock line. > + maxItems: 1 > + > + clock-names: > + description: Names of the supplied clocks. > + items: > + - const: 32k While it is a 32kHz clock I would prefer to use the functional name. The input pin on the chip is called "LPO_IN" in our schematics as well as in the AMPAK datasheet. In the Edge 2 schematics it is simply "LPO". Another name used is "EXT_LPO" as opposed to the internal LPO, which can be selected through boardflags3 in nvram file. Having the clock external is better although it seems the edge 2 does not provide the recommended ppm. In short I would suggest to pick one of the following names: lpo-in, lpo, or ext-lpo. This affect the driver patch which is why I tend to go for consensus on the bindings first before posting a driver patch. With only a single rename it is not that much churn though. Regards, Arend > required: > - compatible > - reg
> In short I would suggest to pick one of the following names: > lpo-in, lpo, or ext-lpo. Sure. LPO is more common for the clock name. I will rename it. --- Best Regards Jacobe
On 24/06/2024 10:19, Jacobe Zang wrote: > Add clocks and clock-names for brcm4329-fmac. Which devices have this clock? All? You now mention driver, but this is a binding so please describe hardware. Subject: drop full stops. In every patch. > > Signed-off-by: Jacobe Zang <jacobe.zang@wesion.com> > --- > .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > index e564f20d8f415..b9e39a62c3b32 100644 > --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml > @@ -121,6 +121,15 @@ properties: > NVRAM. This would normally be filled in by the bootloader from platform > configuration data. > > + clocks: > + description: phandle to the clock connected on rtc clock line. Drop redundant parts, like "phandle to the". Just use items with description instead of above and maxItems. > + maxItems: 1 > + > + clock-names: > + description: Names of the supplied clocks. Drop description, completely redundant. > + items: > + - const: 32k 32k? That's the name of the clock? In the datasheet? > + > required: > - compatible > - reg Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml index e564f20d8f415..b9e39a62c3b32 100644 --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml @@ -121,6 +121,15 @@ properties: NVRAM. This would normally be filled in by the bootloader from platform configuration data. + clocks: + description: phandle to the clock connected on rtc clock line. + maxItems: 1 + + clock-names: + description: Names of the supplied clocks. + items: + - const: 32k + required: - compatible - reg
Add clocks and clock-names for brcm4329-fmac. Signed-off-by: Jacobe Zang <jacobe.zang@wesion.com> --- .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 9 +++++++++ 1 file changed, 9 insertions(+)