Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp79263ybt; Fri, 12 Jun 2020 20:38:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+Zs1CrFEzgzu53GBAozwIofk2bkyeb490XqVremZ/+TMaZXjnClpEtqXKnhq9BnQm5M3Q X-Received: by 2002:aa7:c69a:: with SMTP id n26mr14328656edq.2.1592019517947; Fri, 12 Jun 2020 20:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592019517; cv=none; d=google.com; s=arc-20160816; b=uDsUOI3eW6X+uDEA1TBI6fwJAO+AR59UJUcVotu/Sp26QDV2qoDkpkQ4rd2XNCWWxO ufPWQJpzQmOS7W/z3w0Q8oPpsAUReEN/K9LC1S5ZeKAyUSgUjdFwgwbi5HaZLLiJIo90 aNQktSYp1gC3NlP5lA1tRHJnNCAP/bva1RiDJFxzU4fpJPMl3zvBbh3+B0r4/XpoJU09 DNFN4CsXtDfI4wM8q7HFGT9m8xETP7roP/ImelO3MaSDElqiS83rWvuUCtmbcMvRqZ3K EEen3aqc0CCmmv3TCmSxo7B7yA0CF+UqFgJLEPrRYq+3MfWwAIzF9BoqDdg2LVXsMPDM KHjA== 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:dkim-signature; bh=HPEdl5A02jMG4MY9KVqcUkeXN5vUrwEPXxu3d5xQjpI=; b=Ez5zOSSaCWun1lqLMjEFmiwkJUGxk8nNu8G3/QEJHDeZrnRMmwvwp4Bk6ZOOOkFsUS UGq3SVC+UO2nv87wNJtQoonKKUR2axTaGc1CE6AmGQMD3khk1V7jX82ej8ZwRmXO2iLK cEZhNCc6MsdX9xEC1YqME2DNdhtkAuYjByAIPizj3594dp7ohE3QanYiRGsFFm60RH2R 4JFqy/Tna3S/JnkDlHh2oqvIJLUCHxUJgFYLHHtzS+hSFr4/vRvpzCUTwot0HMFRIY0r P11nqUiVnSL5LoQKmXPdS95NOK7Y0MM4kDLfVHlmykY874HFdrJGB1dlgqO9sFnrhPEH XoQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=IXD79xAC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si5023404ejb.679.2020.06.12.20.37.43; Fri, 12 Jun 2020 20:38:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=IXD79xAC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726444AbgFMD2Y (ORCPT + 99 others); Fri, 12 Jun 2020 23:28:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726392AbgFMD2X (ORCPT ); Fri, 12 Jun 2020 23:28:23 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4BD3C03E96F; Fri, 12 Jun 2020 20:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=HPEdl5A02jMG4MY9KVqcUkeXN5vUrwEPXxu3d5xQjpI=; b=IXD79xACg/wXUc/d1TEJZl+Bi0 BlDkX2FljHwbWMLfk+pIEOCe6gqXrdZyskyPFWmITsAsYvapdVthF3zAiemSBYLML3oOqAzN9uRPt lmF57zZeix7u8AbdTL4wuv3npO/aMQY4jF92IbeCvTCTllCiN20X+X0hmAdOwaNXqomrIq+TX/xtq G9Qi83gc9cJDGO4vtVcN1dGUAvp0yDYxIa0OcqKtYSeKF7ZhSIRo0XuyNf7JA0NxNYDSSX5NDxrPC ThQaGbCDpASszp1w5w5tRV/3L470FMwhG5qbDifHxWBmUa1fCFiYDCnwpjacmk52ThhBKgXST+LVq t9xrD/bw==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjwq8-0001Cf-Hn; Sat, 13 Jun 2020 03:28:16 +0000 Subject: Re: [PATCH v2 4/6] regulator: Add support for QCOM PMIC VBUS booster To: Wesley Cheng , robh+dt@kernel.org, heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, mark.rutland@arm.com, broonie@kernel.org, lgirdwood@gmail.com, agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, lijun.kernel@gmail.com, jackp@codeaurora.org, bryan.odonoghue@linaro.org References: <20200612231918.8001-1-wcheng@codeaurora.org> <20200612231918.8001-5-wcheng@codeaurora.org> From: Randy Dunlap Message-ID: <6d23c903-abec-e2f8-1e63-c062211748c3@infradead.org> Date: Fri, 12 Jun 2020 20:28:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200612231918.8001-5-wcheng@codeaurora.org> Content-Type: text/plain; charset=utf-8 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 On 6/12/20 4:19 PM, Wesley Cheng wrote: > diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig > index 074a2ef55943..f9165f9f9051 100644 > --- a/drivers/regulator/Kconfig > +++ b/drivers/regulator/Kconfig > @@ -797,6 +797,16 @@ config REGULATOR_QCOM_SPMI > Qualcomm SPMI PMICs as a module. The module will be named > "qcom_spmi-regulator". > > +config REGULATOR_QCOM_USB_VBUS > + tristate "Qualcomm USB Vbus regulator driver" > + depends on SPMI || COMPILE_TEST > + help > + If you say yes to this option, support will be included for the > + regulator used to enable the VBUS output. > + > + Say M here if you want to include support for enabling the VBUS output > + as a module. The module will be named "qcom_usb-regulator". Hi, Shouldn't that module name match what is in the Makefile? > + > config REGULATOR_RC5T583 > tristate "RICOH RC5T583 Power regulators" > depends on MFD_RC5T583 > diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile > index c0d6b96ebd78..cbab28aa7b56 100644 > --- a/drivers/regulator/Makefile > +++ b/drivers/regulator/Makefile > @@ -89,6 +89,7 @@ obj-$(CONFIG_REGULATOR_QCOM_RPM) += qcom_rpm-regulator.o > obj-$(CONFIG_REGULATOR_QCOM_RPMH) += qcom-rpmh-regulator.o > obj-$(CONFIG_REGULATOR_QCOM_SMD_RPM) += qcom_smd-regulator.o > obj-$(CONFIG_REGULATOR_QCOM_SPMI) += qcom_spmi-regulator.o > +obj-$(CONFIG_REGULATOR_QCOM_USB_VBUS) += qcom_usb_vbus-regulator.o > obj-$(CONFIG_REGULATOR_PALMAS) += palmas-regulator.o > obj-$(CONFIG_REGULATOR_PFUZE100) += pfuze100-regulator.o > obj-$(CONFIG_REGULATOR_PV88060) += pv88060-regulator.o thanks. -- ~Randy