From: Rob Herring Date: Fri, 7 Jan 2022 03:04:17 +0000 (-0600) Subject: dt-bindings: net: wireless: mt76: Fix 8-bit property sizes X-Git-Tag: v5.17-rc1~95^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=434a4010de07b6f5f497f9109aae8cb9868abdc9;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: net: wireless: mt76: Fix 8-bit property sizes The '/bits/ 8' notation applies the next <> list of values. Another <> list is encoded as 32-bits by default. IOW, each <> list needs to be preceeded with '/bits/ 8'. While the dts format allows this, as a rule we don't mix sizes for DT properties since all size information is lost in the dtb file. Signed-off-by: Rob Herring Link: https://lore.kernel.org/r/20220107030419.2380198-1-robh@kernel.org --- diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml index 1489d3c1cd6ec..269cd63fb5444 100644 --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml @@ -191,9 +191,9 @@ examples: channels = <36 48>; rates-ofdm = /bits/ 8 <23 23 23 23 23 23 23 23>; rates-mcs = /bits/ 8 <1 23 23 23 23 23 23 23 23 23 23>, - <3 22 22 22 22 22 22 22 22 22 22>; + /bits/ 8 <3 22 22 22 22 22 22 22 22 22 22>; rates-ru = /bits/ 8 <3 22 22 22 22 22 22 22 22 22 22 22 22>, - <4 20 20 20 20 20 20 20 20 20 20 20 20>; + /bits/ 8 <4 20 20 20 20 20 20 20 20 20 20 20 20>; }; b1 { channels = <100 181>;