Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2166314ybt; Mon, 15 Jun 2020 21:26:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwJVryg7S9rOrWYi1SoClWnQYN0hQlDtVMED06xijUvd+LHHIc7W4TmuLunM7ch9Mf3H5e X-Received: by 2002:aa7:cdda:: with SMTP id h26mr888795edw.327.1592281564304; Mon, 15 Jun 2020 21:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592281564; cv=none; d=google.com; s=arc-20160816; b=ioz5LEJWp6y4bw2b/Rz0v4essCVccOya3S9TykEHozOtYxrqzDwzeiLEK5NtOYohFZ HxN1Xo7/QeiEpZq1kyZYPhMQUuq6ivJc3rMjvx4qkNXpJjRIxr23qhoI0uFitCX+9w68 pYALRs+YyCmaCFgf+yrMcpcgNJNOh9LXfPsZL+QF6blmkiR24niTpEvh9yq0QxsqbW1M 8TIbLj5Ju4m2s/NRKygl7KgOpSA/iUjWZb+xlIh2GIv9nXSNIKxdlG+NLRbnDYcn4SIV Fp6Cvx8FVykvQj5ICHqDkZ9k6ALLPj/QAJIk7/VkzLrQ24FLuJ90wfeUIPIYFO7aGO4C P/YQ== 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; bh=VBaa9anjVyZuOVcnVhJ3bee8Mi6f3nkfkVONvj0umUQ=; b=0D0B+ElrVmVPvF0nW+9hScmlbJkAnKRlGvcohzIGaHGYas9JdVxkviYB+sQcAa/xej UHh87v7QwT6hJiB11STmmiPNVmMVVlPPpz/D8Ry0WR1++BIg+yXUFW/qquShnM1unycX QtSpRHV2Xg3MKqFPUhav22pf0zIi+HXcqSJ1g+BCUfecJsPu/3B7cjnYP7DmlNfYcHZa kvnKHAZVb06se9ZpkDls17olNTN9t485i+A9UbTpXM4LePSkKO1tyeaZ6utcRMshEGBq U11ZTw1t7gZpSlK7fqQ7puD9+MS4MmCmACyeDZwr61czMZXhhf1lsyo215gq+clrHJ/S DYUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=flnq0CAx; 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 r26si10733767edl.255.2020.06.15.21.25.39; Mon, 15 Jun 2020 21:26:04 -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=@mg.codeaurora.org header.s=smtp header.b=flnq0CAx; 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 S1726064AbgFPEVr (ORCPT + 99 others); Tue, 16 Jun 2020 00:21:47 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:63943 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbgFPEVr (ORCPT ); Tue, 16 Jun 2020 00:21:47 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1592281306; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=VBaa9anjVyZuOVcnVhJ3bee8Mi6f3nkfkVONvj0umUQ=; b=flnq0CAxE0SRZLXXBR6AbjpVAOLgYfgtt0BBk9BLKPM2mXoZe1K5iY99zYs/NtmmkXu5dxVc JXG2670I6gniVu1dCEILiPGtbk11ddm93ffrmgG1zIYcs2KcT6lkXvKtwP69ErGnPH/bUBqs VGzxDPuSMPab/SC8mD0B0zB3OuY= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 5ee848c76bebe35debb63553 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 16 Jun 2020 04:21:27 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id F2AEAC433A1; Tue, 16 Jun 2020 04:21:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.110.37.174] (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: wcheng) by smtp.codeaurora.org (Postfix) with ESMTPSA id 62303C433C8; Tue, 16 Jun 2020 04:21:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 62303C433C8 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=wcheng@codeaurora.org Subject: Re: [PATCH v2 4/6] regulator: Add support for QCOM PMIC VBUS booster To: Randy Dunlap , 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> <6d23c903-abec-e2f8-1e63-c062211748c3@infradead.org> From: Wesley Cheng Message-ID: Date: Mon, 15 Jun 2020 21:21:24 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <6d23c903-abec-e2f8-1e63-c062211748c3@infradead.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/2020 8:28 PM, Randy Dunlap wrote: > 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? > > Thanks, Randy. Missed this as I was going back and forth on the file name. Thanks for the catch. >> + >> 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. > -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project