Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp41400imm; Wed, 30 May 2018 17:12:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIEkoHOYsRUQPMGcEQk3ou/sKAiRDO67NNRjGg6+2pO57JWavBB6jY0E6HiilqH67yClcrx X-Received: by 2002:a17:902:e85:: with SMTP id 5-v6mr4855463plx.318.1527725562828; Wed, 30 May 2018 17:12:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527725562; cv=none; d=google.com; s=arc-20160816; b=RSfeRkbSudQ7uzgq0Hhq7ddp4BY9qYCl/aChMmZ0LSu5S74BrJh16k56dW1HxgAkIU U9qVUABp8bXXW2jAGzng4EnayMkKiMG26KvsmBWtlaTNPLznE2jYHSFk1OnEl3FfGBGN 5Kg6x6ybd5suFKTIzMthEHcWaa8ZvK6ybKR8PAx5YxbMTx+PgNaAAEcKoAMfK3cwLNhc 40Boo0bYQ7PqwBZlKgu2V2Rs+vM00ZTn7l7z5CmAao9NZH9cNQlF91axBqpSgRTJhQN6 /IqufQYP4is5sHMANfP0TX7rDHmGxGrxVG+l8pXqQZVGku+hzO8XGNUppo/YXPPJ8fqt ynjg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=FOsDpkx+622XezXTkPC1WlaCKuul5U2vLnAAJrrVx6Y=; b=Yyt/W6bM8ecK8sqIZIJy2xzkZHJSTinDklfLtTegWtPsZ3CuMAgzRGhegILxIsLRO/ Fp9nid6WXAH/vJjoNw5weYg+V2HW2yFb1orVYZ0KEzP6K775t+SL70uNGSvSpiHh8RPc oaPdR3rBXPnvcjQTeMVRwOkF0g9dXsZGhesFpZV2oXXi83c5gbhtl97s9FE10zctQrhP IAFOp6B9UuL/Vawnc4crQ1ozLIUGPoAfOQWFLLyCnT7k5bCR3fk4zpIqm4sqOPi67lcX WjsLBHQQUytwhRufIOMLxIDDsSqt/qbxDtrdTu/mLQSPMtQJcOK7qSMSEOuhqBoaVfHl T1UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=QT+Apkkc; dkim=pass header.i=@codeaurora.org header.s=default header.b=FHR+w0hr; 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 32-v6si35366441plc.252.2018.05.30.17.12.28; Wed, 30 May 2018 17:12:42 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=QT+Apkkc; dkim=pass header.i=@codeaurora.org header.s=default header.b=FHR+w0hr; 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 S932630AbeEaAL7 (ORCPT + 99 others); Wed, 30 May 2018 20:11:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42622 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932450AbeEaAL4 (ORCPT ); Wed, 30 May 2018 20:11:56 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3B1E760646; Thu, 31 May 2018 00:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527725516; bh=z1fB9XIR4Vr9RYNP70WcylwFlhD9Dpvl1ay4jCoaEKQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=QT+ApkkcoDIOh1YO0XaRDx8EhJj0el7zmg8EEtYAm6sJzBo7/AB8OYYndnKwVIqb0 O9FuXIbcQ3vyGPmE01Xqfmmk47z0yU+l9aDM9HL+kNu1yO0dx3oAXn6xQvSEx9450p zKXN9J6rq3DDY32/0cThuD7BilFnS/rWZmh+yaac= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.46.160.165] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: collinsd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id EA8956063F; Thu, 31 May 2018 00:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527725515; bh=z1fB9XIR4Vr9RYNP70WcylwFlhD9Dpvl1ay4jCoaEKQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=FHR+w0hrpPmFFzMZCUj9RDSqnxPkwaYOHU/gL7Gj87E9rZzNWOQ/XsQq6D7KoGoZG WWDh9AwJa//spmDRKHYDqir11VrZWcmBIDZ9DO7ZcVrVS6A/nusBWBMbXw1GhJ8Ks7 +wESzaStDiiIwcZ4TcuNmKJRYA0g+oJ0w113RBt0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EA8956063F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=collinsd@codeaurora.org Subject: Re: [PATCH v4 0/2] regulator: add QCOM RPMh regulator driver To: Mark Brown Cc: lgirdwood@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, rnayak@codeaurora.org, sboyd@kernel.org, dianders@chromium.org References: <20180530163343.GV6920@sirena.org.uk> From: David Collins Message-ID: Date: Wed, 30 May 2018 17:11:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20180530163343.GV6920@sirena.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Mark, On 05/30/2018 09:33 AM, Mark Brown wrote: > On Tue, May 22, 2018 at 07:43:16PM -0700, David Collins wrote: >> This patch series adds a driver and device tree binding documentation for >> PMIC regulator control via Resource Power Manager-hardened (RPMh) on some >> Qualcomm Technologies, Inc. SoCs such as SDM845. RPMh is a hardware block > > So, this is a very big driver and obviously it being RPM based it > doesn't look like other regulators which is causing problems, especially > when coupled with the desire to implement a bunch of more exotic > features like the mode setting. I think this review is going to go a > lot more smoothly if you split this up into a base driver with just > normal, standard stuff that doesn't add too many custom properties or > unusual ways of working and then a series of patches on top of that > adding things like the mode adjustment and interaction with other RPM > clients. > > We've got other RPM based regulators in tree already so the baseline bit > shouldn't be too hard, that'll make the rest of the patches much smaller > and easier to review and mean that the bits that are simpler and easier > to cope with don't need to be reposted. I'll split up the patches so that reviewing is easier. For the base patch, would you prefer that I remove *all* mode support (handled by generic regulator framework DT properties) or only remove the special purpose drms mode handling support (i.e. qcom,regulator-drms-modes and qcom,drms-mode-max-microamps)? Thanks, David -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project