Received: by 10.223.176.46 with SMTP id f43csp241845wra; Fri, 19 Jan 2018 16:59:50 -0800 (PST) X-Google-Smtp-Source: AH8x224sJuiad/fZCx3L3ffOoz8RP53HMfrT+RP1sP8DxlE0mFEJk4U/Zqe5dZV67gpX2W/7xmba X-Received: by 10.101.77.8 with SMTP id i8mr327825pgt.308.1516409990011; Fri, 19 Jan 2018 16:59:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516409989; cv=none; d=google.com; s=arc-20160816; b=REiid4bNavTRxh22ogxSKF4f3xEIv5oaGAi+s3cwegFy6YdZEl3K8peUn5ICB+ZMyH MTRtzAegqvG7hDc19KOURRFfjQd/ircvfntA0jO8kKvpSFxIuu7v+m1GTksR4vDtNBRU 7lT20fcvi8/5GqU3thT/j+PT5hZe3gNiszNz2oYBq9MOBh13Y5bihmGbm/fvR9vsTC+I JuBlHgKVOVTn2oYZBT/aYIh5Ym/CiqGzEs1lemowHdsxMU+Hljbe6AOhO4Cnot22pg9E Kne4m3U9HTka1+LQf9Ekwo4WmwJfG7i+7+SLzJDFD64CQrmnSNXT1JxUNkqp6fjV5QUY FcaQ== 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:arc-authentication-results; bh=wfShkyY+d+52akPfCCvNPrMQOLjf6mWHB0eNkuf5n8E=; b=hTx82TAk9EpKkytnEP14KDPgmgAkkL0iP4vd1Z2EMGHHhA1bKThgtsulFq30hDW11n cErjMrwoKcIkCoZqhCd4helvTnA0kKKO9hz4DFa1euFUJ1o3YNogLsMgexCogK/JiEbl H2T01SHl4Phm5MBkHSRX5N2qkObOuZwJ4Zi5FPhn9BEv17+VxCBINfLTWOBFN+MWXG9n +rXp4k5uIJ6vuauHHnnEOrVotWtrsizke4Jt1D5deuq1P2L3sH2H4hx9uYwK43i+CIYQ cQLtVfNlfsyXLAIl9iefxq9CCWFODbbUvaUNLYo6+RO9MwcTZ07ZMfnp7OpegSMEm8YA 9hAQ== 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 r83si10310321pfd.355.2018.01.19.16.59.17; Fri, 19 Jan 2018 16:59:49 -0800 (PST) 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 S1756225AbeATA4D (ORCPT + 99 others); Fri, 19 Jan 2018 19:56:03 -0500 Received: from muru.com ([72.249.23.125]:50404 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752938AbeATAz4 (ORCPT ); Fri, 19 Jan 2018 19:55:56 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id AE89780B8; Sat, 20 Jan 2018 00:56:02 +0000 (UTC) Date: Fri, 19 Jan 2018 16:55:51 -0800 From: Tony Lindgren To: Suman Anna Cc: Philipp Zabel , Philipp Zabel , Paul Parsons , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, Dave Gerlach , Mark Rutland , Nishant Menon , Rob Herring , Tero Kristo Subject: Re: [PATCH] reset: ti-rstctrl: use the reset-simple driver Message-ID: <20180120005551.GC4180@atomide.com> References: <20180116011159.1386-1-tony@atomide.com> <1516095054.9022.1.camel@pengutronix.de> <20180116150314.GC4042@atomide.com> <20180116232243.GD4042@atomide.com> <10dab35c-9c79-5a77-0654-1e99621e4c0f@ti.com> <20180119213310.GA4180@atomide.com> <06882c43-d689-2b85-a1c4-ae4e13a73046@ti.com> <20180119234938.GB4180@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Suman Anna [180120 00:43]: > On 01/19/2018 05:49 PM, Tony Lindgren wrote: > > * Suman Anna [180119 23:30]: > >> On 01/19/2018 03:33 PM, Tony Lindgren wrote: > >>> OK let's do some tests on that, I'll take a look at doing a dts > >>> file over next few weeks. > >> > >> You can look up the patches folder in the above repo, there are some > >> example nodes there already, they are rather straight-forward. > > > > Just for reference, here's what I played with but keep getting > > -EPROBE_DEFER somewhere during init. > > Hmm, What's the baseline branch you are using - mainline, linux-next or > your for-next? I just quickly tested with Linux next + my yet to be posted patches.. I'll debug it further. > > prm: prm@6000 { > > ... > > ranges = <0 0x6000 0x3000>; > > > > prm_dsp: prm@400 { > > compatible = "simple-bus"; > > #address-cells = <1>; > > #size-cells = <1>; > > ranges = <0 0x400 0x100>; > > > > dsp_rstctrl: rstctrl@10 { > > compatible = "ti,rstctrl"; > > reg = <0x10 0x4>; > > #reset-cells = <1>; > > }; > > }; > > ... > > }; > > > > target-module@4a066000 { > > compatible = "ti,sysc-omap2", "ti,sysc"; > > ti,hwmods = "mmu_dsp"; > > reg = <0x4a066000 0x4>, > > <0x4a066010 0x4>, > > <0x4a066014 0x4>; > > reg-names = "rev", "sysc", "syss"; > > ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | > > SYSC_OMAP2_SOFTRESET | > > SYSC_OMAP2_AUTOIDLE)>; > > ti,sysc-sidle = , > > , > > ; > > clocks = <&tesla_clkctrl OMAP4_DSP_CLKCTRL 0>; > > clock-names = "fck"; > > resets = <&dsp_rstctrl 1>, > > <&dsp_rstctrl 0>; > > reset-names = "rst2", "rst1"; > > We definitely do not want the two resets here for sure, as the rst2 > belongs to the dsp core (I believe it would be a sibling node to mmu_dsp > here), and cannot be released from reset without programming the MMU and > loading the code. OK thanks, I'll give that a try next week at some point. Regards, Tony