OSDN Git Service

dt-bindings: media: mediatek,vcodec: Fix addressing cell sizes
authorRob Herring <robh@kernel.org>
Tue, 1 Mar 2022 23:35:00 +0000 (17:35 -0600)
committerRob Herring <robh@kernel.org>
Tue, 29 Mar 2022 01:17:55 +0000 (20:17 -0500)
commita50e431bbc6fc5768ed26be5fab5b149b7b8b1fe
tree7df099a728cfbf838017a40e844030abd66c478f
parent09a2fb41ba67dcb45f259efd1d2baafe4a6be1a7
dt-bindings: media: mediatek,vcodec: Fix addressing cell sizes

'dma-ranges' in the example is written for cell sizes of 2 cells, but
the schema and example specify sizes of 1 cell. As the h/w has a bus
address of >32-bits, cell sizes of 2 is correct. Update the schema's
'#address-cells' and '#size-cells' to be 2 and adjust the example
throughout.

There's no error currently because dtc only checks 'dma-ranges' is a
correct multiple number of cells (3) and the schema checking is based on
bracketing of entries.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220301233501.2110047-1-robh@kernel.org
Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml