提交 b4193622 编写于 作者: S Shawn Guo 提交者: Rob Herring

dt-bindings: bcm4329-fmac: add optional brcm,ccode-map

Add optional brcm,ccode-map property to support translation from ISO3166
country code to brcmfmac firmware country code and revision.

The country revision is needed because the RF parameters that provide
regulatory compliance are tweaked per platform/customer.  So depending
on the RF path tight to the chip, certain country revision needs to be
specified.  As such they could be seen as device specific calibration
data which is a good fit into device tree.
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
Reviewed-by: NArend van Spriel <arend.vanspriel@broadcom.com>
Link: https://lore.kernel.org/r/20210415104728.8471-2-shawn.guo@linaro.orgSigned-off-by: NRob Herring <robh@kernel.org>
上级 56ddc4cd
...@@ -68,6 +68,13 @@ properties: ...@@ -68,6 +68,13 @@ properties:
description: A GPIO line connected to the WL_RST line, if present description: A GPIO line connected to the WL_RST line, if present
this shall be flagged as active low. this shall be flagged as active low.
brcm,ccode-map:
$ref: /schemas/types.yaml#/definitions/string-array
description: Multiple strings for translating ISO3166 country code to
brcmfmac firmware country code and revision.
items:
pattern: '^[A-Z][A-Z]-[A-Z][0-9A-Z]-[0-9]+$'
required: required:
- compatible - compatible
- reg - reg
...@@ -97,5 +104,6 @@ examples: ...@@ -97,5 +104,6 @@ examples:
interrupts = <24 IRQ_TYPE_EDGE_FALLING>; interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
interrupt-names = "host-wake"; interrupt-names = "host-wake";
reset-gpios = <&gpio 23 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
brcm,ccode-map = "JP-JP-78", "US-Q2-86";
}; };
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册