From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 From: Alexey Sheplyakov To: devel-kernel@lists.altlinux.org Date: Mon, 3 Oct 2022 18:02:18 +0400 Message-Id: <20221003140226.1064966-23-asheplyakov@basealt.ru> X-Mailer: git-send-email 2.33.3 In-Reply-To: <20221003140226.1064966-1-asheplyakov@basealt.ru> References: <20221003140226.1064966-1-asheplyakov@basealt.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: nir@basealt.ru, jqt4@basealt.ru, rst@basealt.ru, sin@basealt.ru Subject: [d-kernel] [PATCH 22/31] dt-bindings: dw-hdmi: added ahb-audio-regshift X-BeenThere: devel-kernel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2022 14:04:54 -0000 Archived-At: List-Archive: List-Post: 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 b00246faea57..82a5f32c22c0 100644 --- a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi.yaml @@ -30,6 +30,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.33.3