Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp994963ima; Wed, 6 Feb 2019 11:50:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IY8bC8KujkpOLPjnH0aAD7Xt7evf8I/VSqZPWPtpqgoeTl/pRVB0y/GWMPE0y6e291fUTVW X-Received: by 2002:a17:902:42e4:: with SMTP id h91mr12558163pld.18.1549482642069; Wed, 06 Feb 2019 11:50:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549482642; cv=none; d=google.com; s=arc-20160816; b=fLsKikQSlL5As4RoFs4nLmJRH+NixqNFlrk6NJ0HhNe1G1914GE/2VOGACDfS89f+R wFGwwFQ0krjwo+yIisPuTc9uduocYFcPEUQsF1zaqxEcp9m6jwV+nvAGA9Iezx8ML83H UERniyfuoCnoXb4wy6K4ZbLAzuNONQc0qruBmZwbtyBX5qbNpzD0YRbjgI2eRAk9kTJI nvXc3I1TUbw3QjU1h2EyxhlWGPoPvEcIUTohOk1RhIGyAVi5TFS4ytK5/mFN+2flkYzX sP86de08gZSRRsjbZYekmopbNsv5/rrMCtp8NQAasVWS+e1qhBXj454sIjr+DJtz6TS4 RP2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:cc:references:message-id :subject:user-agent:in-reply-to:to:content-transfer-encoding :mime-version:dkim-signature; bh=RLTQoXCbj+/ppSPwC4Hd/+dUweisLBw7tn0W2RBRfo4=; b=pjd6Y8HsTZJrMlPOfVK4Qf0YKOvivfuY08hG06a7zLfS9MOekcLtkL736l/hyr9MQQ M8FjLvkXCJG1EWuoZquliYZIVOk9hsVMR0IVfYcI/tkFJTt4Uqi48ZYPJoOLqz0CSSIZ Uu9CH7Sek/OKSAS8zeIhH6phJVRvMjqAhVgJuq7ElCeZMrRslWV4DtHqzZpGJ9S/cSgn UufWk3eBrU564t7YdqAVMyZkjZDZ+rFb2lkaEThlPLfGXqWC91kv5CyCTnQTgxutd+3t 1mXReb4u4AuDERmXDWYRw3acf1NSvV1OnfWwnoXDpUcaDDZzwoycjpz/WFiDwOcdsCDR QwDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rvuR0Sca; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 36si7734972plc.250.2019.02.06.11.50.25; Wed, 06 Feb 2019 11:50:42 -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; dkim=pass header.i=@kernel.org header.s=default header.b=rvuR0Sca; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726774AbfBFTsz (ORCPT + 99 others); Wed, 6 Feb 2019 14:48:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:37948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726161AbfBFTsy (ORCPT ); Wed, 6 Feb 2019 14:48:54 -0500 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C87252083B; Wed, 6 Feb 2019 19:48:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549482533; bh=pHLrlFbTI2rLtkD4ymAbJFQdveLIaTglrm1K9+u6yhM=; h=To:In-Reply-To:Subject:References:Cc:From:Date:From; b=rvuR0ScaEWKQKT5ykL4ztFMunBBetOQRmRJ1O6JbU42z61DGwrk60EniHR+JNt/iU P+IhPIW/7NvlsOIuIHGJex4gUU1l0WrW1ZkNGvsGCKCIWywsiST30LbKK1Py4rIzy2 HiTkNUrinhuGLTP5jCNBjUkudBy4oea/CAZwWj4U= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Andy Gross , Avri Altman , Evan Green , Kishon Vijay Abraham I , Vinayak Holikatti In-Reply-To: User-Agent: alot/0.8 Subject: RE: [PATCH v3 6/8] scsi: ufs: qcom: Expose the reset controller for PHY Message-ID: <154948253306.115909.17663891665120785337@swboyd.mtv.corp.google.com> References: <20190205185902.106085-1-evgreen@chromium.org> <20190205185902.106085-7-evgreen@chromium.org> <10ea3fe2-e331-0342-cfad-eccce3753d2e@ti.com> Cc: Marc Gonzalez , Can Guo , Vivek Gautam , Douglas Anderson , Asutosh Das , "James E.J. Bottomley" , "Martin K. Petersen" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" From: Stephen Boyd Date: Wed, 06 Feb 2019 11:48:53 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Avri Altman (2019-02-06 05:57:17) > Hi, >=20 > > On 06/02/19 12:29 AM, Evan Green wrote: > > > Expose a reset controller that the phy will later use to control its > > > own PHY reset in the UFS controller. This will enable the combining > > > of PHY init functionality into a single function. > > > > > > Signed-off-by: Evan Green > >=20 > > I'd like to get ACK from scsi/ufs/ MAINTAINER Vinayak for me merge it i= n PHY > > tree. > Looks like this series is qcom specific, and has less impact of the ufs c= ore driver. >=20 > > > + err =3D devm_reset_controller_register(dev, &host->rcdev); > Just my 2 cents: > Isn't this should be done somewhere in drivers/clk/qcom, > Like its done for any other qcom board? It's not a clk controller, so I don't see how that makes sense. There are clk/reset controllers on qcom platforms, and so we've combined them into the same overall driver there because those resets affect clk operations and vice-versa. But this looks like some sort of reset in the phy or the controller itself and isn't the "clk type" resets that we implement in drivers/clk/qcom/