Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2190648iof; Tue, 7 Jun 2022 22:41:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNBQGMAOJp4REaz5Om68wNBa52aK1jpbKlgJOPkcs2GId5WjJhv5rQDrnnRza/KwfUshdq X-Received: by 2002:a05:6a00:1ad2:b0:51c:6537:e984 with SMTP id f18-20020a056a001ad200b0051c6537e984mr1604526pfv.2.1654666875111; Tue, 07 Jun 2022 22:41:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654666875; cv=none; d=google.com; s=arc-20160816; b=bzAJrqW/bSObfIWRWwOYxLg0n+jeIIOEoA8duNdRyu1ve6ibVehIu9A/7Jkdj/rb79 iZsyOcfKEFJWi/1KsV+G+qo62RhRTFhR87yYApQO/rFn3s+we2QgzsTTZy8bvjkLcVAQ cqCQsxXmE1ztHMwTF/8hVpYcRDahq4aEE2AS3aHe/mEkXv8iDILF2D1zJn0g2D0KK4dH 0VRKgATjAh8uNbzXMWnXIJB8TFyTibUBOYGVVIqlVCE3bAYPrcYuqqJBAGsJCuP+OhnP d1Zj9np8H6urnq0M9H/sKQfUKZxvFjJoaXiE2AQWYJczSAMzFt+bAwgBQzdOLDpOu9+v BHrQ== 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=3gTp4+yG/6IM2Bf4Livas5Z/8zfN8iIbLYZs5yOU5CA=; b=LjkZZk+FUeuxuT4hX+hjgZoDalsqvNpmbgxs/jkBpr2yDxvlUexljqm7W8tzI2ZF15 rMqa5493YuVT1KrZbVECCiAAZxzbcqAkz78iI2O7OfQAiXPQZuSSguHu1y47rr+pszis 6F+wXx2ilux4v4pUYWls8WV8H1TqO36W98k0cBJ0O8fYE/H8z7lowhc8URXKVVYHKvc/ G+Sm+E/jsYwObNVCg1SMZ0q8/F2lF7sed3254SgX8svIaIP0XhC5zAPPM3YsKreGI34P ZT8L3Rxag587/xCt72CMoAMkOmg4eVkyqaXpNrYbIiUKT9jUwIVJrb/0EEXQFdzO5D8s KcsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MihFh0s4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a8-20020a170902ecc800b00153b2d16643si30854356plh.587.2022.06.07.22.41.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:41:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MihFh0s4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7770049DB28; Tue, 7 Jun 2022 22:12:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353607AbiFHA2F (ORCPT + 99 others); Tue, 7 Jun 2022 20:28:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384830AbiFGWbN (ORCPT ); Tue, 7 Jun 2022 18:31:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B766A279341; Tue, 7 Jun 2022 12:24:39 -0700 (PDT) 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 1BCA4B823CA; Tue, 7 Jun 2022 19:24:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 812D7C385A2; Tue, 7 Jun 2022 19:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629876; bh=VWcjbaWEKU8jM7eBzPIHpVL4HsBF647GA3mic0FDKcI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MihFh0s46Da8XElh+qavHLunReq4LA5/AUsTbNpfPKonEJzoX8Y+Zcd6r3sOskiz1 5LUhsqUhMYj29Y4ajurPdKZv+9TzGZh37Y4c539IJlPoZ+SxBO99PMKEvNnTRdEynP i7O9+hha+5jkUvRidiSeCCscOTAlH3Kv0HAKWFGA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Diogo Ivo , Thierry Reding Subject: [PATCH 5.18 847/879] arm64: tegra: Add missing DFLL reset on Tegra210 Date: Tue, 7 Jun 2022 19:06:05 +0200 Message-Id: <20220607165027.437715567@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: Diogo Ivo commit 0017f2c856e21bb900be88469e15dac4f41f4065 upstream. Commit 4782c0a5dd88 ("clk: tegra: Don't deassert reset on enabling clocks") removed deassertion of reset lines when enabling peripheral clocks. This breaks the initialization of the DFLL driver which relied on this behaviour. In order to be able to fix this, add the corresponding reset to the DT. Tested on Google Pixel C. Cc: stable@vger.kernel.org Fixes: 4782c0a5dd88 ("clk: tegra: Don't deassert reset on enabling clocks") Signed-off-by: Diogo Ivo Signed-off-by: Thierry Reding Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -1366,8 +1366,9 @@ <&tegra_car TEGRA210_CLK_DFLL_REF>, <&tegra_car TEGRA210_CLK_I2C5>; clock-names = "soc", "ref", "i2c"; - resets = <&tegra_car TEGRA210_RST_DFLL_DVCO>; - reset-names = "dvco"; + resets = <&tegra_car TEGRA210_RST_DFLL_DVCO>, + <&tegra_car 155>; + reset-names = "dvco", "dfll"; #clock-cells = <0>; clock-output-names = "dfllCPU_out"; status = "disabled";