From patchwork Thu May 24 06:01:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10422763 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E4820602D8 for ; Thu, 24 May 2018 06:01:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2E1D2931D for ; Thu, 24 May 2018 06:01:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C706A29324; Thu, 24 May 2018 06:01:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D76F29325 for ; Thu, 24 May 2018 06:01:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935565AbeEXGBT (ORCPT ); Thu, 24 May 2018 02:01:19 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:36881 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935515AbeEXGBS (ORCPT ); Thu, 24 May 2018 02:01:18 -0400 Received: by mail-wr0-f196.google.com with SMTP id i12-v6so752139wrc.4; Wed, 23 May 2018 23:01:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=YuHgVyNnokpTJ3PwItkNRB3vUcxPbZNnbwdBN5egblw=; b=Ext3xuAOsts0v4IsVYZRZwlledGYVq/fhRN+kMr5BKyIaOdba9lR1MHempy6VX5rLj jDGcDSMueYuEm+/zfwTWHjL9bZ2069AQTd6JnSPiUqKdQfbM8w0frg1CsYwqs7Uig0sv Xbf422+Bk9QdPkdsfTEIC1spPQ4EBl47tFDShgCJ+v36DkYinlQ2rM22D8lTDSJpgY6e RC+aakliv7uLpq1Hak1vr7uMiX3BKIIDTlAfvkEyTFTb93dRE9hS4w+rhyiqNy6EHZsG 9Re5/KV3gfFWG7ZRlV7gQi30jhhe5rq2I5E2Euf4tMprG5AMqPOVmbAnS3Z+Af59s5I1 e1JQ== X-Gm-Message-State: ALKqPwd3Fl/GbTNLiNKK8iuEXuGZ81fv5FQQsk/XVpkVB6eAYxeaFWTe 9ao6Wl6xqPP25uuFGRw6kVw= X-Google-Smtp-Source: AB8JxZqY1JJJXfm9rwIHf5AKfbfX51/KRMTMk4EibJq0ZRv564c5DseB8fE9MsrV8saOs7hutszzLg== X-Received: by 2002:a19:12c7:: with SMTP id 68-v6mr3453737lfs.10.1527141676938; Wed, 23 May 2018 23:01:16 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id g132-v6sm4809397lfg.23.2018.05.23.23.01.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 23:01:16 -0700 (PDT) Date: Thu, 24 May 2018 09:01:14 +0300 From: Matti Vaittinen To: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, mazziesaccount@gmail.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mikko.mutanen@fi.rohmeurope.com, heikki.haikola@fi.rohmeurope.com Subject: [PATCH 9/9] regulator: bd71837: Build BD71837 regulator driver Message-ID: <20180524060114.GJ4249@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Configurations and Makefile for BD71837 regulator driver Signed-off-by: Matti Vaittinen --- drivers/regulator/Kconfig | 11 +++++++++++ drivers/regulator/Makefile | 1 + 2 files changed, 12 insertions(+) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 097f61784a7d..139f4b53fea0 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -180,6 +180,17 @@ config REGULATOR_BCM590XX BCM590xx PMUs. This will enable support for the software controllable LDO/Switching regulators. +config REGULATOR_BD71837 + tristate "ROHM BD71837 Power Regulator" + depends on MFD_BD71837 + help + This driver supports voltage regulators on ROHM BD71837 PMIC. + This will enable support for the software controllable buck + and LDO regulators. + + This driver can also be built as a module. If so, the module + will be called bd71837-regulator. + config REGULATOR_BD9571MWV tristate "ROHM BD9571MWV Regulators" depends on MFD_BD9571MWV diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile index 590674fbecd7..1b4d8ec416c2 100644 --- a/drivers/regulator/Makefile +++ b/drivers/regulator/Makefile @@ -27,6 +27,7 @@ obj-$(CONFIG_REGULATOR_AS3711) += as3711-regulator.o obj-$(CONFIG_REGULATOR_AS3722) += as3722-regulator.o obj-$(CONFIG_REGULATOR_AXP20X) += axp20x-regulator.o obj-$(CONFIG_REGULATOR_BCM590XX) += bcm590xx-regulator.o +obj-$(CONFIG_REGULATOR_BD71837) += bd71837-regulator.o obj-$(CONFIG_REGULATOR_BD9571MWV) += bd9571mwv-regulator.o obj-$(CONFIG_REGULATOR_DA903X) += da903x.o obj-$(CONFIG_REGULATOR_DA9052) += da9052-regulator.o