From 8e77a0c91a45d74b08a91190c5f38381cb626de2 Mon Sep 17 00:00:00 2001 From: Alexey Sheplyakov Date: Mon, 6 Jun 2022 16:46:44 +0400 Subject: [PATCH 621/631] dt-bindings: dw-hdmi: added ahb-audio-regshift Hardware revision 0x2a needs a register offset. It can't be auto-detected: to figure out the hardware revision one need to read HDMI_REVISION_ID register, and to read a register one need to know the registers offset shift. Hence the correct register offset shift has to be specified in the device tree. Signed-off-by: Alexey Sheplyakov X-feature-Baikal-M --- .../bindings/display/bridge/synopsys,dw-hdmi.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml index 4b7e54a8f037..85b3ac7d1057 100644 --- a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml @@ -29,6 +29,13 @@ properties: enum: [1, 4] default: 1 + ahb-audio-regshift: + description: + AHB audio registers offset shift + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 2] + default: 0 + clocks: minItems: 2 maxItems: 5 -- 2.40.1