Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp232143iob; Mon, 2 May 2022 17:59:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwX1rgCNEIq6ijPIZBqbIio66oTghid/h3RpqQyX5GzeQLWEIlrYODzxVEnADYx4n+qItd2 X-Received: by 2002:a17:903:41cb:b0:15e:ab0c:5172 with SMTP id u11-20020a17090341cb00b0015eab0c5172mr5530836ple.170.1651539560863; Mon, 02 May 2022 17:59:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651539560; cv=none; d=google.com; s=arc-20160816; b=MCGPoK6qpzdrzRme1VD4TNbEUDKhVHWsFbLBi/xiQcK+/M57z0A8s1COWkGuMf/Oo3 7NBymrf8lqAQux27jvl4Bucm62gk8m8VAOlnCPVggepOnf19cIgdOpJVXrhulFS32Fem y5lPwBXFbpf6MYGq3S5IbGUzaL6hjAdMsavyAouMbBx51fs3r6OvAz7vDYLvwtc/TKkM 7xG6Z3LzjWEMkhAeJmDgk7hShvv9fOazhuVpOBEJQScfeC5/H3xCST7ic2AdGmmBl+cw pN3W8HQ9T7/JBJxUq5Y/BKDeSY32SV0ZU/yPVRU99/vppBbg6yjEvYGU8eoXSwWNx6EY vyqg== 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:date:cc:to:from:subject :message-id; bh=6ipc4vSN359UUwq2/J3ZxkuwqpG5vAN3WgNw+BapdQM=; b=iLJ3N1CUQi/Hilgdpoz0/9icFLLrivGxwIqzPjkPVi+EJVjqpJEXT27RykrCmpe6t7 8RbfuzIvsvMt/LVzAr83EBhpqi/P27JV0UZe8W/We7ivNdu1BUpE0e1vSDHhRFHU7+ys OtyxtVueI2QChHNl58s7sGYLh8FC9Ju3hvYHu70BAMi0r0k+UCPgWLCHG+4QgMcLg7wm /IFIf1jYoEzMNxGumZnpWbB/8hVg7AP98E585bHgV78aRAA0m5f1QFFhQdd8dN45knvD cb7kEZ1qT87sRJLTBmoFQ3xx+xpZsIRRfwr5PVeAnwkwQsPFv34jiFHGY55sNyYfwCIE VFHQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j16-20020a056a00131000b00505ad6b7610si15191838pfu.63.2022.05.02.17.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:59:20 -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; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A73FB53B4F; Mon, 2 May 2022 17:44:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384446AbiEBKSn (ORCPT + 99 others); Mon, 2 May 2022 06:18:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235855AbiEBKSl (ORCPT ); Mon, 2 May 2022 06:18:41 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD39A23C for ; Mon, 2 May 2022 03:15:11 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlT50-00066e-Rq; Mon, 02 May 2022 12:14:58 +0200 Message-ID: <5e93e411e1100c5d8292327b9aea560bfcbda7d1.camel@pengutronix.de> Subject: Re: [PATCH v1 4/4] arm64: dts: imx8mm.dtsi: Add resets for dispmix power domain. From: Lucas Stach To: Viraj Shah , shawnguo@kernel.org, s.hauer@pengutronix.de Cc: Pengutronix Kernel Team , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , NXP Linux Team , Adam Ford , Tim Harvey , Peng Fan , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 02 May 2022 12:14:57 +0200 In-Reply-To: <20220502100233.6023-5-viraj.shah@linutronix.de> References: <20220502100233.6023-1-viraj.shah@linutronix.de> <20220502100233.6023-5-viraj.shah@linutronix.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Am Montag, dem 02.05.2022 um 12:02 +0200 schrieb Viraj Shah: > The resets are controlled from src. From reference manual page > 959, display controller needs DISP_RESET bit to be set to reset > dispmix. > This reset is driven by the GPC hardware logic. Only if you are 100% sure that this is not the case should a reset be added to the DT, as handling it both from the GPC HW sequencing and software has proven to be problematic and result in sporadic hangs. Regards, Lucas > Signed-off-by: Viraj Shah > --- > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > index 1ee05677c2dd..11a6cae5bb99 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > @@ -734,6 +734,7 @@ > assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>, > <&clk IMX8MM_SYS_PLL1_800M>; > assigned-clock-rates = <500000000>, <200000000>; > + resets = <&src IMX8MQ_RESET_DISP_RESET>; > }; > > pgc_mipi: power-domain@11 {