Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4763093img; Tue, 26 Mar 2019 16:41:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYed7C1epv5q+zU/mbe5Tr+htzz5KEVsPEcJpqzOPBD0THl2rwyJX5V7d1ODdnsIL0M9cp X-Received: by 2002:a62:b502:: with SMTP id y2mr144913pfe.212.1553643677403; Tue, 26 Mar 2019 16:41:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553643677; cv=none; d=google.com; s=arc-20160816; b=bTiNLpoiSpOFAeD4M+4Q7cDJwbdUEsWcu7VkzU9xmU5Bt5burgiAu5QRCZW8GdlO0l Ziw7MZxsyDypRmT9j1RyRn0pFVjuU4MUTFZAQFSqkt/PBs72vJNiA0452OyFO4TdUnfW 1mPfc0DWjKZP/yhA4XbMXVYloogyK4QZCsMUPLPphnWCqx7ZJAbnJ5oxLnt2FsWeCOpe oeI3xOPbgzI4Fq7isDmNsILh/+A+rLIWMn96SMAhz1BCr2Fy3eGlj/vO3TzNi9cRkYEd i2lH2C4SsK1HEqi8EVAoQW41Yzjc19S8C09QZz+s8Xnyaq+y2YkZk3GJV+6jhLCb58zc NUEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=W3CSYtb+IezfXaAW3oUjosbZZL/k9drIG0lfBNWZokE=; b=aROc3UClwbdqgMSRZ74E7BjJirYj694bmi+vSDmc06OOjGUoS37Zf/uQ+vC1CXyO8h m0sssFpLCmGeQ6WcxJRa/1mV+nVQgdVJt8CHbzfL2rUZ2oBgKsGgLWK1uTQDBLWqA8IA fZZeXL3lndm3DKEX6EebXP0UwNXK4XE6b2PavVN/OWE/abB1zDryec6sf5CuKJ4jjh4F IAw38Gf+AJaLJmvsxlnMGrwUbiPmlf8Gdh42tnK3WyK9U6FNd1mBH4MN7y4KE7sdqlLA WKMR6FzDXOTP7cu10y/ZaVG/rZA5fI2O/hHVat8tycE32EHnJye2YgztjF8hvt8PTv8l ZiGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11si16435728pgp.229.2019.03.26.16.41.01; Tue, 26 Mar 2019 16:41:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732313AbfCZXk0 (ORCPT + 99 others); Tue, 26 Mar 2019 19:40:26 -0400 Received: from muru.com ([72.249.23.125]:42978 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730333AbfCZXk0 (ORCPT ); Tue, 26 Mar 2019 19:40:26 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 1959C8030; Tue, 26 Mar 2019 23:40:38 +0000 (UTC) Date: Tue, 26 Mar 2019 16:40:22 -0700 From: Tony Lindgren To: Suman Anna Cc: linux-omap@vger.kernel.org, Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 09/14] bus: ti-sysc: Move rstctrl reset to happen later Message-ID: <20190326234022.GD49658@atomide.com> References: <20190325215849.13182-1-tony@atomide.com> <20190325215849.13182-10-tony@atomide.com> <20190326231306.GC49658@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, * Suman Anna [190326 23:22]: > On 3/26/19 6:13 PM, Tony Lindgren wrote: > Hmm, are you envisioning the SYSC reset (OCP SoftReset) here or the PRCM > RSTCTRL hardresets here? The latter in general requires the clocks to be > running first (module won't be in ready status until you deassert the > hardresets with clocks running). You can look up the Warm-reset or > Cold-reset sequences in the TRMs for any of the processors. That's for rstctrl. I just did a quick test with my earlier reset-simple patch and I noticed sgx on am33xx produces a clock error unless we deassert it's rstrctrl before enabling clocks first: gfx-l3-clkctrl:0004:0: failed to enable > I am working on preparing the next version of PRUSS patches with ti-sysc > on AM33xx/AM437x/AM57xx platforms, so will pick up these patches for my > testing. OK great, yes please check and test with your rstctrl use case. I guess you still need to use the reset-simple patch for now until we have a proper prm rstctrl driver. Note that you probably also want to leave out the struct omap_hwmod data from omap_hwmod_*_data.c files with rstctrl entries. Regards, Tony