Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4739709iob; Sun, 8 May 2022 23:51:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHQosi8+idbWIRvr7EovPYgR8ValsP3hxQtQ1RArNqf2hQZVCdUkDNBPB5cJo5Fl4MjIjZ X-Received: by 2002:a17:902:eb87:b0:15e:bd77:a91 with SMTP id q7-20020a170902eb8700b0015ebd770a91mr14904873plg.49.1652079109129; Sun, 08 May 2022 23:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652079109; cv=none; d=google.com; s=arc-20160816; b=weG80TcuSsMn/69zuK7as/sjkj14EsKHwJXg7VjQbAwlrOUtf9VnruAsPATurFr3MY ksEzXRe3GjZwwPgCzTMvwkD20D48Pwc0aJ99UED6g/jHKnruNQ/8H2XZ/GhS1OHwp9JT h8vlzLgUAr6SlxVc0k1/LUD4rcM8K+icxcn5UArnZJ4joaGYKBqegUkNmJN4JZf+TeJo gJHC+IZKkdxz5lvt2C43mgX7FO/7dmTbO/F8J7Y5mEWFng0g11OQaBJL4uukPSJJfBnb KYmpAt2CALjXzYAKAK2coiaPcoVy6jwaJDZuAGSJvpnSJIXygBZP+OOAQetld7eqmCnD PzxA== 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=ZDhgPea7AaxweRmJ+AmTEopRkG76tKkwcXjpIdNSv0c=; b=BLMwNTJnE1+BWllIybFh8yfNFhAw4pDNipTOW69cJe6yB6wFYzBllTSNTAWFVnzTAO 9y107BF6RA5jKNxqIUZvDKDUudr7Ra0jv61oD5xl/i2IpK2HVNewmxcmerbLuiPXZmDo kz65aCxkde2wBVkUAvMDjs3g7Mif11JjQT1F6G+QoFnKE/FnE/v4fScM6S7AwE9sKVxj 7KbVx9i7HA4mQRSuBczLgXfVAAMXPEMcKPmUFqWyFBsijv1Q9UbdgGirDt+r+kLQKsB+ NvxBi3UTJq4otC0Fl4RhZC0lDURlHsLJrHX3iDZsmGP/78LsvGLWF/rifT+EfTOPQP2g uMrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rTPHvJRj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id t33-20020a634621000000b003ab05fe79c1si13484216pga.120.2022.05.08.23.51.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 23:51:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rTPHvJRj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4794519C760; Sun, 8 May 2022 23:49:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358101AbiEDRU3 (ORCPT + 99 others); Wed, 4 May 2022 13:20:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355911AbiEDREr (ORCPT ); Wed, 4 May 2022 13:04:47 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CA6649C90; Wed, 4 May 2022 09:53:32 -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 A0674B8279F; Wed, 4 May 2022 16:53:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E2A9C385AA; Wed, 4 May 2022 16:53:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651683210; bh=sCjBYryfbrDNUGqpThNG1E4jFTg2IH/IIsr3Om6bE/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rTPHvJRjO7SUs8vBOX7miqGV0qlkPwlvu4ToyIlu+vZmmqPxPKmaZtsGfF/ytLzhY HfQ4y12GX1bCdoabTE5zfvFjygd1g5vlPIBEy7uEMZwTe7UN09qLWhYYWT48VLpwH3 NEpCTVKndA4YUtiX1kwd1dlRYlJOxZWD6Sb7Wz8k= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Benoit Parrot , Kevin Hilman , Tony Lindgren , Sasha Levin Subject: [PATCH 5.15 062/177] ARM: dts: dra7: Fix suspend warning for vpe powerdomain Date: Wed, 4 May 2022 18:44:15 +0200 Message-Id: <20220504153058.558589545@linuxfoundation.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504153053.873100034@linuxfoundation.org> References: <20220504153053.873100034@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=-2.6 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: Tony Lindgren [ Upstream commit 8d2453d9a307c2eafd21242dd73f35f05fb7ce74 ] We currently are getting the following warning after a system suspend: Powerdomain (vpe_pwrdm) didn't enter target state 0 Looks like this is because the STANDBYMODE bit for SMART_IDLE should not be used. The TRM "Table 12-348. VPE_SYSCONFIG" says that the value for SMART_IDLE is "0x2: Same behavior as bit-field value of 0x1". But if the SMART_IDLE value is used, PM_VPE_PWRSTST LASTPOWERSTATEENTERED bits always show value of 3. Let's fix the issue by dropping SMART_IDLE for vpe. And let's also add the missing the powerdomain for vpe. Fixes: 1a2095160594 ("ARM: dts: dra7: Add ti-sysc node for VPE") Cc: Benoit Parrot Reported-by: Kevin Hilman Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- arch/arm/boot/dts/dra7-l4.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/dra7-l4.dtsi b/arch/arm/boot/dts/dra7-l4.dtsi index 0a11bacffc1f..5733e3a4ea8e 100644 --- a/arch/arm/boot/dts/dra7-l4.dtsi +++ b/arch/arm/boot/dts/dra7-l4.dtsi @@ -4188,11 +4188,11 @@ target-module@1d0010 { /* 0x489d0000, ap 27 30.0 */ reg = <0x1d0010 0x4>; reg-names = "sysc"; ti,sysc-midle = , - , - ; + ; ti,sysc-sidle = , , ; + power-domains = <&prm_vpe>; clocks = <&vpe_clkctrl DRA7_VPE_VPE_CLKCTRL 0>; clock-names = "fck"; #address-cells = <1>; -- 2.35.1