From patchwork Thu May 24 05:59:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10422755 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 462966019D for ; Thu, 24 May 2018 06:00:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 358DB29319 for ; Thu, 24 May 2018 06:00:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28BA02931C; Thu, 24 May 2018 06:00:01 +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 BA2C229319 for ; Thu, 24 May 2018 06:00:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964799AbeEXGAA (ORCPT ); Thu, 24 May 2018 02:00:00 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34966 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964796AbeEXF77 (ORCPT ); Thu, 24 May 2018 01:59:59 -0400 Received: by mail-wm0-f67.google.com with SMTP id o78-v6so1681072wmg.0; Wed, 23 May 2018 22:59:58 -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=o2atZXWm+OOxxIxQ4RuC/gpl6Qrtr8DINuDxK9H65Z0=; b=eduG8uCZVpvHuSQdiEQiI0ThCNWZSkjQ42M+hbp9vjFytZYg/GanZJ7+iD3suxvZTZ rBxi8Z6X0mnd2t1p/RuxxHrVaqC61qdrDBCiibCO7xsEfzuB+GIFxRbiQ3navFJPwiWR tRVTqWg/F52vGN81FqnXppGLou3UHet3kZLpHm0Lbr5TDYV5K2+akb/UznV7RQxZAeG8 MGea7q/lyCYOKTyBEoyy+CSOPhict8clc9pLGejTY5INw1H/X3wV8ILW85euctFe4eTo Cnx5EyO8NyNy2G23TjwgCBRQOaJMVt6WUWSR9YjdM/H3faMSQh7MYKwkGp7RifmCB7Bi xYVQ== X-Gm-Message-State: ALKqPwej58zO9RsorO31aAqKH/9GU5F5B0zOQFrhBloyEkMmvCsuHkpy GOeXlMoCKECnxYOdLWvBOPM= X-Google-Smtp-Source: AB8JxZqjH/2sNbGIizpXzmCZMugmuKzr6MstbimW3xmq9lWA8qHOvyaKvAAYRyH8UoP7zPGBUzo4nw== X-Received: by 2002:a2e:9cc7:: with SMTP id g7-v6mr3416894ljj.141.1527141597939; Wed, 23 May 2018 22:59:57 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id i125-v6sm1113011lfe.58.2018.05.23.22.59.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 22:59:57 -0700 (PDT) Date: Thu, 24 May 2018 08:59:55 +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 7/9] clk: bd71837: Build ROHM BD71837 PMIC clock driver Message-ID: <20180524055955.GH4249@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 clock driver Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 9 +++++++++ drivers/clk/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 41492e980ef4..4b045699bb5e 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -279,6 +279,15 @@ config COMMON_CLK_STM32H7 ---help--- Support for stm32h7 SoC family clocks +config COMMON_CLK_BD71837 + tristate "Clock driver for ROHM BD71837 PMIC MFD" + depends on MFD_BD71837 + depends on I2C=y + depends on OF + help + This driver supports ROHM BD71837 PMIC clock. + + source "drivers/clk/bcm/Kconfig" source "drivers/clk/hisilicon/Kconfig" source "drivers/clk/imgtec/Kconfig" diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index de6d06ac790b..8393c4af7d5a 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -21,6 +21,7 @@ endif obj-$(CONFIG_MACH_ASM9260) += clk-asm9260.o obj-$(CONFIG_COMMON_CLK_AXI_CLKGEN) += clk-axi-clkgen.o obj-$(CONFIG_ARCH_AXXIA) += clk-axm5516.o +obj-$(CONFIG_COMMON_CLK_BD71837) += clk-bd71837.o obj-$(CONFIG_COMMON_CLK_CDCE706) += clk-cdce706.o obj-$(CONFIG_COMMON_CLK_CDCE925) += clk-cdce925.o obj-$(CONFIG_ARCH_CLPS711X) += clk-clps711x.o