Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1777313pxp; Mon, 7 Mar 2022 02:04:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQraYT7+dhJktRtdGnUBPh+biYrbrQRxKyaA5FSvEDPXc2qHgwZz/u6ERvOmuWqXCHItUq X-Received: by 2002:a63:fb44:0:b0:372:9ec8:745a with SMTP id w4-20020a63fb44000000b003729ec8745amr9090669pgj.551.1646647488653; Mon, 07 Mar 2022 02:04:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646647488; cv=none; d=google.com; s=arc-20160816; b=PDtCMYWrD11bSk0tN6P4FWSVgaaRFwOwMeJg0jykA9Flm3oZ3O4lbCiI3pjniy2tBw ITHgsqqPSnwsSNQIBMs2Oimu4UugsBe4UYhl2HYbtE7MiNhXhfs0i2ODK9VNZ83yJehG I9D66/caDyucAYj3bt7o+59wcWq1G7gWjuTyVVEfhJWLDUlPm/++UBQxGC/AAF7REJGd uCgMzm6onjt7ckd6E25u5Sdh9uFwCDZP8iPYr8dnEREbSn2Tuj06LZG7XnSe/jAt2ndI xp26i1eCKOsdtd6mlyz7d8rNM9ZIV1yGDO/F/OwBXodjelH8pXl86/BsIMV4D3By861a i9Bg== 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=YHSu/WtG8UVR1PJNKBhlbLzgyUCfHKhVtn0mTn/KHuM=; b=KgjZhBBmKmbyOCHV5ntZCNROQZjh1o7z9EsL16equaP9DUo4f1L7W0vkibOGoCoyWa Lk9dUhLdZTAApaQU/UPLAWeExSeHALtCkj6XJYotigPNGm0eKVmcSTDzgBP8gAKQeI+C /tMAndDkiY43BENemgJZhNEkTneEvrBf33YwhR4XIAH6K6zoJ7OTvKfjTaY8Q3N7T4Fo 5seJYWriqIgoEHNvDZ1PgoMmDjrQkgMHFm+BUcYkTbnrKeC54XkKCZldoOw1CTkLXQE8 iChjPeyZIHNV/Kf5oEzz02lXt2lUvDmvkhMzdNn3YVgwQztJtudOgLY8rVQVM/b958bF XquQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aKWRZv86; 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 u21-20020a170902a61500b0014a421ec0cesi12668478plq.218.2022.03.07.02.04.32; Mon, 07 Mar 2022 02:04:48 -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=aKWRZv86; 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 S237190AbiCGJat (ORCPT + 99 others); Mon, 7 Mar 2022 04:30:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237354AbiCGJ2C (ORCPT ); Mon, 7 Mar 2022 04:28:02 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C825A5A164; Mon, 7 Mar 2022 01:25:15 -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 ams.source.kernel.org (Postfix) with ESMTPS id 360FFB810C0; Mon, 7 Mar 2022 09:25:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F56DC340F3; Mon, 7 Mar 2022 09:25:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646645102; bh=CdbhoOIuBsH1DbMzlzA8mShODwOPYYh3vrMPo75ltZc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aKWRZv86dhGhp1gAUAaL1tN6OiJmHYN9XM1laBFW2hmgw9YAqjZBdHlaBhTzPs+j8 +yJa7k792GyxM0bGN5jaOa7wCKDLRKLKeMoYMh1CmagqI0pIZDCYC2p3pC26aGGU1y NWR22vC9aSfhisuJFg9uSEKOJU3yHpy9/58c7KzM= 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 4.19 39/51] arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output Date: Mon, 7 Mar 2022 10:19:14 +0100 Message-Id: <20220307091638.104821164@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220307091636.988950823@linuxfoundation.org> References: <20220307091636.988950823@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 @@ -287,7 +287,7 @@ sound: sound { compatible = "rockchip,rk3399-gru-sound"; - rockchip,cpu = <&i2s0 &i2s2>; + rockchip,cpu = <&i2s0 &spdif>; }; }; @@ -438,10 +438,6 @@ ap_i2c_audio: &i2c8 { status = "okay"; }; -&i2s2 { - status = "okay"; -}; - &io_domains { status = "okay"; @@ -538,6 +534,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";