[PATCH mt76 v2 1/3] dt-bindings: net: wireless: mt76: Document power-limits country property
Johannes Berg
johannes at sipsolutions.net
Mon Oct 6 13:48:15 PDT 2025
On Mon, 2025-10-06 at 15:45 -0500, Rob Herring wrote:
>
> > + country:
> > + $ref: /schemas/types.yaml#/definitions/string
> > + description:
> > + ISO 3166-1 alpha-2 country code for power limits
>
> This would be constrained to something like this?:
>
> pattern: '^[A-Z]{2}$'
There's a "00" special case for "world roaming", so maybe that would
have to be '^([A-Z]{2}|00)$'? Not sure you'd ever want to specify that
though. We also use '99' internally for even more special cases, but I'm
pretty sure that shouldn't be specified externally.
johannes
More information about the Linux-mediatek
mailing list