From patchwork Thu May 24 05:56:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10422735 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 2E13E6019D for ; Thu, 24 May 2018 05:56:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CEE5292E5 for ; Thu, 24 May 2018 05:56:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F7512931B; Thu, 24 May 2018 05:56:42 +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 625DD292E5 for ; Thu, 24 May 2018 05:56:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755202AbeEXF4k (ORCPT ); Thu, 24 May 2018 01:56:40 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:45626 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755033AbeEXF4k (ORCPT ); Thu, 24 May 2018 01:56:40 -0400 Received: by mail-wr0-f193.google.com with SMTP id w3-v6so708854wrl.12; Wed, 23 May 2018 22:56:39 -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=UkqAW/kFgX98B6MEngL1uPn/zNKS0g//94yLmhdzAtk=; b=d5gJF1kMPonR+5j2efWzo8f1d8QicFsGjlhb/Zr/kgm9Aq3puqq//1bjxGY9oM8ory DLc6xJuMtETHkr32fuChcaB2+/x+dpBMb20M2FxlP2pToF96yOOusuUDzeK4+3zIyEuZ 2O9zEizH0IhWQulSgO0/UtSLAHYiTRzXwGpxsUFgfXzEurRbz4vn9KBWLtKbxPZ/ewWy OJsL7JXl4WojbuG8/fu/TyYeI3CF5x0MlwrYLXD7oPKCWyg5cnPUqhLIyUv86vkOcFZE o3lieGX//QrfYkc3KlG8/kZjffCOQ2HZ/4NfaQEflSjFLFdGXz6qukBPhn0VopEQXpNM 2KFQ== X-Gm-Message-State: ALKqPwdT4iEyTWHKjv/yxj9n+uIu6cm26qZLZiY/mkB1yEY+RKsCzjo+ SDZszjENDhVYJmqQmQx6Jn4= X-Google-Smtp-Source: AB8JxZru+/+4bK0XIH3l9tIGCluUZ7wTVkCzk0tH6a35nNZ3Vt2l1x99HriwVLLn16LDmRYe2byZlw== X-Received: by 2002:a19:1099:: with SMTP id 25-v6mr3351948lfq.112.1527141398669; Wed, 23 May 2018 22:56:38 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id e9-v6sm3809082ljg.90.2018.05.23.22.56.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 22:56:38 -0700 (PDT) Date: Thu, 24 May 2018 08:56:35 +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 2/9] mfd: bd71837: build BD71837 PMIC MFD driver Message-ID: <20180524055635.GC4249@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 Configuration options and Makefile for BD71837 PMIC MFD driver Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 +++++++++++++ drivers/mfd/Makefile | 1 + 2 files changed, 14 insertions(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index b860eb5aa194..7aa05fc9ed8e 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1787,6 +1787,19 @@ config MFD_STW481X in various ST Microelectronics and ST-Ericsson embedded Nomadik series. +config MFD_BD71837 + bool "BD71837 Power Management chip" + depends on I2C=y + depends on OF + select REGMAP_I2C + select REGMAP_IRQ + select MFD_CORE + help + Select this option to get support for the ROHM BD71837 + Power Management chips. BD71837 is designed to power processors like + NXP i.MX8. It contains 8 BUCK outputs and 7 LDOs, voltage monitoring + and emergency shut down as well as 32,768KHz clock output. + config MFD_STM32_LPTIMER tristate "Support for STM32 Low-Power Timer" depends on (ARCH_STM32 && OF) || COMPILE_TEST diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index e9fd20dba18d..09dc9eb3782c 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile @@ -227,4 +227,5 @@ obj-$(CONFIG_MFD_STM32_TIMERS) += stm32-timers.o obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o obj-$(CONFIG_RAVE_SP_CORE) += rave-sp.o +obj-$(CONFIG_MFD_BD71837) += bd71837.o