Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1784000pxp; Mon, 7 Mar 2022 02:13:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMRenYizbbIM6wwi7u5DeMLZx09CGCKXbkIfXtBYEWfVgGDhjhgM7AS5qKjGJK3i0Vt0Ek X-Received: by 2002:a05:6402:51d1:b0:412:e72f:c6d3 with SMTP id r17-20020a05640251d100b00412e72fc6d3mr10194992edd.61.1646647897417; Mon, 07 Mar 2022 02:11:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646647897; cv=none; d=google.com; s=arc-20160816; b=063masfPhbalm3NwPzUBJiPMjEaZkd1KKdIZhPzJUbvuIz3kWztUimpEf9aDkCtcdb 5QUxO/ym+2zl7pF56P2ureLL2AZFHLzW+a03MnsST3zrta37yQwhDRLGAVsG/6QMvGkd 2lvr2DjEGfaqSipUbSjbgzawmHGY+Q4GS6K6HMhB6bTfGH0HYmIRdevzKwQpN0ej8Qol N4dptN5p0p3fm8QJbaPilVQSQiJeJZojxNEERFKYlsMMw6oaLJ892hgWDwCt4QGSGxBo Fcp63TF3QEZPEhM2Sr61TkNpOMLIB03dopC1tl5dq3zOj4TfCNqr3OoJbDcQHLTkkiGm P+YA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YOMtLnwhenzFoXnegHti2FHEGhdnznncLHdxz5IOWIA=; b=wYCFttpMDNumrFmwRgBalb4r+CgsdOMvV1r24bBHFoofM8lwV8Ah5WUWqYkOAM9RkD Taakabsl3om/bTjVFW7A8VXmn9CbCDL9C65PpuMWqSeC6IkY0hwCID8oycXf0ke3vEa5 B1jyMa1b+VYmBcDCAFa7wfHg9Mrx/n7kZosdfj47xGw2pR+xiGdLNn27kKy97S9Mo7U4 xh5obbl5xhals9NDkGJyshXI2LO46fmiDk2ZzqZYarfU+eh15XIxkdwGx8Apu0M9wEZJ rbfyD3L2t6JKsU1AUktKM9kcsKRBbjhJn3TTNnp4f1ACpvvCm175rJXw+Kp2vSjmMb14 xtCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="wr/eSdJq"; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a101-20020a509eee000000b0040f1b079eeasi7872818edf.482.2022.03.07.02.11.15; Mon, 07 Mar 2022 02:11:37 -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=@linuxfoundation.org header.s=korg header.b="wr/eSdJq"; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237938AbiCGJhx (ORCPT + 99 others); Mon, 7 Mar 2022 04:37:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238746AbiCGJ3j (ORCPT ); Mon, 7 Mar 2022 04:29:39 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43C9B5C36F; Mon, 7 Mar 2022 01:28:05 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D1FDE61119; Mon, 7 Mar 2022 09:28:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5B65C340E9; Mon, 7 Mar 2022 09:28:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646645284; bh=75ZY1WfUHU2Io4whiLfTwywajK/W9695AyieS52ILww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wr/eSdJqjxO+p1bXBS/xxRuQT03g9eiTWGvFizNkIil6K+x+6h7kwce1NbHazGGqx Sjsi1sn3hS394o381kHCscyQ2/Y8fvt/Dkzf3v8P8+cTOUdzM7nSkqAyeBSaoWukRB 1UO16rgC6/71PJy52oANduXuWmpGyzUID8FGdzQw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Brian Norris , Chen-Yu Tsai , Heiko Stuebner Subject: [PATCH 5.4 44/64] arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output Date: Mon, 7 Mar 2022 10:19:17 +0100 Message-Id: <20220307091640.402267811@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220307091639.136830784@linuxfoundation.org> References: <20220307091639.136830784@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Brian Norris commit b5fbaf7d779f5f02b7f75b080e7707222573be2a upstream. Commit b18c6c3c7768 ("ASoC: rockchip: cdn-dp sound output use spdif") switched the platform to SPDIF, but we didn't fix up the device tree. Drop the pinctrl settings, because the 'spdif_bus' pins are either: * unused (on kevin, bob), so the settings is ~harmless * used by a different function (on scarlet), which causes probe failures (!!) Fixes: b18c6c3c7768 ("ASoC: rockchip: cdn-dp sound output use spdif") Signed-off-by: Brian Norris Reviewed-by: Chen-Yu Tsai Link: https://lore.kernel.org/r/20220114150129.v2.1.I46f64b00508d9dff34abe1c3e8d2defdab4ea1e5@changeid Signed-off-by: Heiko Stuebner Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi @@ -281,7 +281,7 @@ sound: sound { compatible = "rockchip,rk3399-gru-sound"; - rockchip,cpu = <&i2s0 &i2s2>; + rockchip,cpu = <&i2s0 &spdif>; }; }; @@ -432,10 +432,6 @@ ap_i2c_audio: &i2c8 { status = "okay"; }; -&i2s2 { - status = "okay"; -}; - &io_domains { status = "okay"; @@ -532,6 +528,17 @@ ap_i2c_audio: &i2c8 { vqmmc-supply = <&ppvar_sd_card_io>; }; +&spdif { + status = "okay"; + + /* + * SPDIF is routed internally to DP; we either don't use these pins, or + * mux them to something else. + */ + /delete-property/ pinctrl-0; + /delete-property/ pinctrl-names; +}; + &spi1 { status = "okay";