From patchwork Sat Nov 12 16:04:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Frattaroli X-Patchwork-Id: 19219 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1333924wru; Sat, 12 Nov 2022 08:06:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf51ucSfrKy8XiMpXTZnQ3vG6veeoHVWqfNnGB83a43wEo53uWkeSwACvYHDYj2+5K+O83NJ X-Received: by 2002:a17:907:78c8:b0:7ae:215:2dd5 with SMTP id kv8-20020a17090778c800b007ae02152dd5mr5568995ejc.208.1668269217237; Sat, 12 Nov 2022 08:06:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668269217; cv=none; d=google.com; s=arc-20160816; b=hlIS+ix78Q7h/31KSOCZPeb4k6Sb6FtLw62MrFziwC3X69VsLhuRzjpVdn38wWNegR q1DlN/43WPBaat85tcCcr9S5aoUuice86dM070pc9NARtL4WZd3MfVySjQdB5Bt6b5ff lw6MO5WdDpG3txSf5pKCjJQflm9wukNGDfTwWWM/P54bc2cb5g/AIkFaPrTFHDT2MDvp JP+UdlUp230gmOx/OMq8BP6ecflmk2AmtgB2khg+tv9/H0syX8RYZOZrzLoLLdaddztp VP3HuthVLL9ZVMt2D/T+5oIKCRv0LzP/X1RNKNVobZDY9R2eiT6Txz+1e8IfseEGJqeW T00g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ijKNfiunV63AFU9RzYinLsQfMGW1tKqr0LKOgrxroKY=; b=xzID1JP5+3SlHoqWengteKFXdYLuVvNrZLX0qkt6mbfuZsgkuKGknJ6/7dyj4fDPzm mmC6eRiNV12ru1Mgzc7UVG0Lm/6Rw8E/79OrlvV2CC9OnRkkENLV+ZC+rex9rCuML08m MLl+ChqKgWnROgAjuXv7OtfwyIJgaTpSYmHnROnpisq9IXqNyU5ckNWNC+/YQjzsYp9X Gs+G6LlOV4uSWcpZL3zETSkF33Pvv+aPB+ruYKePhKejefCLkVagIIXp5MSZrJ1dkDDs wytEe6GQ8edV1XZExTwaQfQVI5k9BtzbiAMBjNsrc660dpyYmA9LHGnYjczgldvVf+gw yIcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HH+eoyr8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs34-20020a1709072d2200b0078d930212c0si5107676ejc.347.2022.11.12.08.05.59; Sat, 12 Nov 2022 08:06:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HH+eoyr8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234979AbiKLQEn (ORCPT + 99 others); Sat, 12 Nov 2022 11:04:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232347AbiKLQEd (ORCPT ); Sat, 12 Nov 2022 11:04:33 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FC79193C6; Sat, 12 Nov 2022 08:04:32 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id w14so10154966wru.8; Sat, 12 Nov 2022 08:04:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ijKNfiunV63AFU9RzYinLsQfMGW1tKqr0LKOgrxroKY=; b=HH+eoyr8wWz+PKf3eTxeIrPtgd+VdxvgSfFjHy3RdnzKHzXvFhUscCZ8oBFmTOtyOV +itCm1tI1JznZHo0CX+0nf+J8urzmatqkiF+mF9rKFLNYMjTbheGHW4U/E+CqtFePiWE tqfkb/yWDzao3xg0A+DgJ93jGHsSEiW8dc0Ha1YfwQpTQ+osNVt59Wj53xotk3VATra8 6okQ4A1FUnSULA/EW9Inh5ff24nvOqJ8Xw4kbB/b5f1N8lIImEVt3bB9B1BjyZG5a6dA Z+QvMK8IB132LL6pQTOrVLfZBlGmz3MTsmfbWMn7n7ZvgnyasPC5WIgr8IyP7SMX3hbZ 6UsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ijKNfiunV63AFU9RzYinLsQfMGW1tKqr0LKOgrxroKY=; b=uLSJ1GE9SchN11n/44k+1Baos+timqilacM9Spa25M5v3aVsmM4BJwm/s30H5aTWsP waUoqqsWaTahr4B56UjTxLXaSpsFyHgOH4wuQjEYpsh/YJJQR0pc2E0vhKr/KtKlpLYp +EfWxHwLiB7EzLudy8X6ASoz3JzBNoGsHfVL7v6vekPJBCMqvMuNW3MA6V3YF2dxsXVF yEm/enhSPQcC7NqP1Fa8Bp0G5e0otvOcI9ijHESUppneJ6El8sZFco7ddpegf+6poGwa f+g+j+p2WF7PRaD80Nla3jKUcJ/7VJS5+sUFlc7CnbpkVZ/2jdQPtNtKoc+RHI3PeJ4R 588A== X-Gm-Message-State: ANoB5pn+OtWjpuXbRZ8VoP+W9BwoD0nB4JMcqJVF/n1GyQLrChPAVtE/ iL/ilpCcrqw4w9MsExYqqvw= X-Received: by 2002:adf:fbc6:0:b0:22e:3392:fb46 with SMTP id d6-20020adffbc6000000b0022e3392fb46mr3627992wrs.706.1668269070882; Sat, 12 Nov 2022 08:04:30 -0800 (PST) Received: from localhost.localdomain (84-72-105-84.dclient.hispeed.ch. [84.72.105.84]) by smtp.gmail.com with ESMTPSA id iv16-20020a05600c549000b003cf87623c16sm14605752wmb.4.2022.11.12.08.04.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 08:04:30 -0800 (PST) From: Nicolas Frattaroli To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: Nicolas Frattaroli , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/6] arm64: dts: rockchip: Enable HDMI sound on SOQuartz Date: Sat, 12 Nov 2022 17:04:00 +0100 Message-Id: <20221112160404.70868-4-frattaroli.nicolas@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221112160404.70868-1-frattaroli.nicolas@gmail.com> References: <20221112160404.70868-1-frattaroli.nicolas@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749307062712030354?= X-GMAIL-MSGID: =?utf-8?q?1749307062712030354?= This patch enables the i2s0 node on SOQuartz, which is responsible for hdmi audio, and adds an hdmi-sound node to enable said audio. Signed-off-by: Nicolas Frattaroli --- arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi index 0bfb0cea7d6b..1b975822effa 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-soquartz.dtsi @@ -178,6 +178,10 @@ hdmi_out_con: endpoint { }; }; +&hdmi_sound { + status = "okay"; +}; + &i2c0 { status = "okay"; @@ -446,6 +450,10 @@ &i2c4 { status = "disabled"; }; +&i2s0_8ch { + status = "okay"; +}; + /* * i2s1_8ch is exposed on CM1 / Module1A * pin 24 - i2s1_sdi1_m1