Skip to content

Commit 434a401

Browse files
committed
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 437b168 commit 434a401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ examples:
191191
channels = <36 48>;
192192
rates-ofdm = /bits/ 8 <23 23 23 23 23 23 23 23>;
193193
rates-mcs = /bits/ 8 <1 23 23 23 23 23 23 23 23 23 23>,
194-
<3 22 22 22 22 22 22 22 22 22 22>;
194+
/bits/ 8 <3 22 22 22 22 22 22 22 22 22 22>;
195195
rates-ru = /bits/ 8 <3 22 22 22 22 22 22 22 22 22 22 22 22>,
196-
<4 20 20 20 20 20 20 20 20 20 20 20 20>;
196+
/bits/ 8 <4 20 20 20 20 20 20 20 20 20 20 20 20>;
197197
};
198198
b1 {
199199
channels = <100 181>;

0 commit comments

Comments
 (0)