Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp645424pxb; Fri, 15 Oct 2021 12:56:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrNjc1JAWsAm4yixob4uf4DfIiLftJ1D/KNzRcuKAMcFfsbgYP5Bn67DDQRrVNvp12Gcoh X-Received: by 2002:a50:da04:: with SMTP id z4mr20431609edj.52.1634327817742; Fri, 15 Oct 2021 12:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634327817; cv=none; d=google.com; s=arc-20160816; b=vIH1q/DmojpubelvyFmysOaESiz8adPtvrhA0yHNm+h+XUSS38sOkzxaOvMGBZzHpV ulwwvcwv4AIb71ZlB8qj1RtMGM2gCIrgyy3/y/AaJ45eEPYbQ6+Y6+zTXJa8iVb7MoCO TH/aBVR5U0AeHygRwZC0j47JUaqml/1eHxVSqZZ5H7VNqiX+XtkqThD/7Omxepvrh0m4 i9XmA+ipqZr8SIWzjTCEKC4BA3YZkSS7pn1HzAaSeaPl7kVVa1OP+wcXAA9+/03Ok6eU PXiL6ijKNo8wZd7nPquX3o317U96mdKHlADPUbmLV6JonGwUGn6dczPbXlLOCJWGeQaG jQYw== 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=LSI5oUUXkL8OiMsYr9YZBaNLQBQQhatS/MOSPJ3+9wg=; b=AwkmLVjK8GICnXvz7yIEaa0NH6DgP8LqdbdMIhSCUNAJFHpuj80BPb+6E7nN1yUgXa gHnWjmAaiEvV+VMrPGJHlvnx1sXm/fU/vR+w6STUqvdaVTiAEioebaw2mWsAfCAypMOX 4Jf1+9Zuwa5FOWTc61NdXzxVwLQLGuxbHq7ckvR2FdcKW/AqoazPJStY6fVH42zF3vko tXm8RjmwCUuCdkhaJHKgbZsJ2G89hM2Nzw6JUY7NDCLCVE4FS4rwV4qFrxm84T+AVWLX krPhOainMjGiREv/bYNyaATdW8HiKWlTFXjLPRmn4rENXUiIz74/iZLIlmRxY3GLnHe7 xemQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gJWR5ocJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fz1si3026883ejc.665.2021.10.15.12.56.34; Fri, 15 Oct 2021 12:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gJWR5ocJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S238336AbhJOLPx (ORCPT + 99 others); Fri, 15 Oct 2021 07:15:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238318AbhJOLPw (ORCPT ); Fri, 15 Oct 2021 07:15:52 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF79FC061755; Fri, 15 Oct 2021 04:13:45 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id t9so39409963lfd.1; Fri, 15 Oct 2021 04:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LSI5oUUXkL8OiMsYr9YZBaNLQBQQhatS/MOSPJ3+9wg=; b=gJWR5ocJpGyJ1rfcWDdYR43oHq+aWAa1Fme6AHiJbTqUSSo4BusdfozTCw5qv5Be63 KSClH0AbCFmfVB/9Z3MltgnmdoHEhPyx6MY41gc8LkLCYeGDtYsR9HBHEaMfP73EcayH Ji3/L89ZrSk2QnVWfUDSZbqaNeuDxeJADv4kYqTf3w2Y4EROEHJP6ThomtlygFZ6yoOr N34LPXYwB70QNTwLvJRp+okDqvT4oaoAx2wjyOeslde9jtc+zfzyjNxU3p0Tq2CmrTtd txaAFgp34lZg0AsRgmo9Buc/JL9JHot4jSlIRFf3Ex4MHaHHzZY4JfdmSH/l7IKsviHp r3Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LSI5oUUXkL8OiMsYr9YZBaNLQBQQhatS/MOSPJ3+9wg=; b=3Gd0eVE/uZ232GFeauu/7WlJ2IzTqHW9bF9azRh9DmtTkvvy8l6VEqbuESzbn40Vdf y/toLnXT5h5KSXziPCCoZA8Xv4FjCacfmJPvrjkc4tFOFzOUTbaWVCfd0Wha8sBaFOVN xOTL+cTTMYHSIyBhjyrUSul/8bCNI+PXbh1ohz3Q0/q4v3YVbevOwooHoGL6ywdhlRmT AfNH5VpAOJVOnmvqsXAL3kMFrMeu7+kSdopc6nE3ogHxs5x5WDRQMY6QrYqL4JOvKb/K 6BIDpfkqoqGqC/YSvrzdSnl5W+ie5Ah3JYyMosL07p095E4kcQH9QB+eX884YxpY3Kgi /S3A== X-Gm-Message-State: AOAM5318IxLl7xaFTUj86IkPYsyqzmqiel37OYLMLXLDWWRbnbWD9dhG unjsddXGFfavKO/ccEfVLBc= X-Received: by 2002:a05:6512:12c6:: with SMTP id p6mr10393057lfg.40.1634296424290; Fri, 15 Oct 2021 04:13:44 -0700 (PDT) Received: from localhost.localdomain (84-72-105-84.dclient.hispeed.ch. [84.72.105.84]) by smtp.gmail.com with ESMTPSA id s25sm534647ljd.63.2021.10.15.04.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 04:13:43 -0700 (PDT) From: Nicolas Frattaroli To: Rob Herring , Heiko Stuebner Cc: Nicolas Frattaroli , Peter Geis , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: rockchip: enable spdif on Quartz64 A Date: Fri, 15 Oct 2021 13:13:02 +0200 Message-Id: <20211015111303.1365328-2-frattaroli.nicolas@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211015111303.1365328-1-frattaroli.nicolas@gmail.com> References: <20211015111303.1365328-1-frattaroli.nicolas@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Co-developed-by: Peter Geis Signed-off-by: Peter Geis Signed-off-by: Nicolas Frattaroli --- .../boot/dts/rockchip/rk3566-quartz64-a.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts index a244f7b87e38..d272839405c5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts @@ -58,6 +58,25 @@ led-diy { }; }; + spdif_sound: spdif-sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "SPDIF"; + + simple-audio-card,cpu { + sound-dai = <&spdif>; + }; + + simple-audio-card,codec { + sound-dai = <&spdif_dit>; + }; + }; + + spdif_dit: spdif-dit { + compatible = "linux,spdif-dit"; + #sound-dai-cells = <0>; + }; + + vcc12v_dcin: vcc12v_dcin { compatible = "regulator-fixed"; regulator-name = "vcc12v_dcin"; @@ -458,6 +477,10 @@ &sdmmc0 { status = "okay"; }; +&spdif { + status = "okay"; +}; + &tsadc { /* tshut mode 0:CRU 1:GPIO */ rockchip,hw-tshut-mode = <1>; -- 2.33.0