Received: by 10.223.185.116 with SMTP id b49csp1810911wrg; Thu, 22 Feb 2018 03:35:57 -0800 (PST) X-Google-Smtp-Source: AH8x224/CaTtqvUODQz9oMRWJzRcYSbtVAi9dRv4hu7UAnWuMkK0DYCGsAkInf+je6Msh2El1C5Z X-Received: by 10.99.97.211 with SMTP id v202mr5398245pgb.193.1519299357256; Thu, 22 Feb 2018 03:35:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519299357; cv=none; d=google.com; s=arc-20160816; b=WTElNGhj7No5wJTEH2ApS3p0o/JMZ4vBFa1MvN+06p9u6zTKvCcN4aBTw0njpLGMya kF/PwzcoYbPKz4Yjh3ePNkJbIk5wnHeOyr6PHTsTpPRGMkNhdmEzeILZip84TcMt/A50 3z23sYucA8c/xCISiXcdZu9dV1Z0wdMLVgOz2nGjsGbqlpfBE8xF3LGMVe4OPgYoMmxr iqZAXxGUoqT+OYIkXSolODXMrJz7zBOH6ULS0/77bI7q6+K9gmxzouXqnPF5/v2Zm89O b7chT2xPLrhs1SV6XOejHDyLebLkfkQg1Q7Bu37VCRD6O7IExEokr3aEvVKny7APD+o7 TMew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=NxVrksycNMYtJM2c5QO3TOTeLZGm2Fum9QwYOBga82c=; b=LyIf6eiWJsacKoATSa64NmAUF2LNXTWdRH/Ju7s8OC8bFkvvR6VhrU6EgHbXyaW3UT r8hqu9ZE1JTM6zaQamZtfM/IBF5xNOkirCuJ87DbEFE9ZcvXhwQWV8z6vPLe0c4esDwd mWVLi5GuweWcM9naRDYLMw+/OzN6FWKp9CQJqochyaAYlrt4cm7LM/dMuD7+3+h1ZT4F XwhMyP6SXkLutFXicXoWURB+4pnfusD1c0CzH/KFGmA5C68ZiByCmwdIaaUNiIy3fEkT hJwBjOOlVNMAAEicXF3uc7muMR9Bu8xweOB/2xtqMDdw5qAISZ0rUuDJqUkPT54zMsRd gytA== 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 i124si3613681pgc.589.2018.02.22.03.35.42; Thu, 22 Feb 2018 03:35:57 -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 S932087AbeBVLe7 (ORCPT + 99 others); Thu, 22 Feb 2018 06:34:59 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:59563 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753669AbeBVLe5 (ORCPT ); Thu, 22 Feb 2018 06:34:57 -0500 Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1eop9L-0001xq-O2; Thu, 22 Feb 2018 12:34:55 +0100 Message-ID: <1519299294.7447.4.camel@pengutronix.de> Subject: Re: [PATCH v4] reset: add support for non-DT systems From: Philipp Zabel To: David Lechner , Bartosz Golaszewski Cc: linux-kernel@vger.kernel.org, Bartosz Golaszewski , Sekhar Nori , Kevin Hilman Date: Thu, 22 Feb 2018 12:34:54 +0100 In-Reply-To: <8ef4b901-f38d-d885-e7bc-657202a2e248@lechnology.com> References: <20180219165837.28913-1-brgl@bgdev.pl> <72cd2af4-ed6b-8c1b-2488-b999976b894a@lechnology.com> <1519123185.3470.5.camel@pengutronix.de> <8ef4b901-f38d-d885-e7bc-657202a2e248@lechnology.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-02-20 at 10:40 -0600, David Lechner wrote: [...] > > In your case the platform code that adds the lookup may be identical to > > the code that registers the struct reset_controller_dev, but that > > doesn't have to be the case. I'm not sure how that is supposed to work > > for the phy framework (I see no platform code adding phy lookups, only > > drivers). > > > In our use case, we would be adding the lookup in the driver rather than > in the platform code, which is why I am suggesting doing it like the phy > framework. Shouldn't it be the job of the platform code to describe the connections between reset controller and peripheral module reset inputs? regards Philipp