Received: by 10.192.165.148 with SMTP id m20csp4979262imm; Tue, 24 Apr 2018 11:32:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx49NsCeb1/gms+ZPajTl98DsDQW8Dys1F1DHtFfIahUW+tYomSZiExmlZpYwWKa5RR+v6fDC X-Received: by 10.98.21.73 with SMTP id 70mr24951256pfv.91.1524594772360; Tue, 24 Apr 2018 11:32:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524594772; cv=none; d=google.com; s=arc-20160816; b=BfrdN8b2T5v07D/nGoiRCkTjeFJ6WeIqWy3c240jli38h8J49MQ/+6vMzacILrEYJs eOsnFhZZvgYQGvW/F6krqUXxIICnH6f8sOLnXmbTYZsHfnlci1mGidLM8/RItjcIm8Yu A68KrqMkB0a0sbBLTyp0eueQu+D7nbg/lCG+mUjPjMn6jrn4oSWpP36LDZIvQd1PNUT1 VfQytGEIjS2AVeaRSReaunlyaLmMd9DaGgtcWj5H6PjsxnboNx3tAkTOt4TsD+nOYQbr o0TRA0OgEX6VSnp0ntkAb5DS/kSRZcEBT+lGWNm21mBLMct+SoyeyJvLdUKtksF09HAV fYig== 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 :arc-authentication-results; bh=lAcsxrRZvsYgQ5WwE8NfUoONgRdKDP3j1hxq4gW09Rw=; b=VEUmHFtlb13wUF7pIefr8VuypJsAdFStq1jvgG0XPgU2DrJApuFKwuHgCfq5mqY4aX 4qhbOd/03pEiBHH9QgHBK0cV0YoEFzyxvlw6UC0U2IdVcQ75m9lhYsZ1qHV3D8dRtFfY 4VLmfgt0/YSt+HgZj4RKBp6uCtku2yjNHyW+GGBaIqn5BZO611yVVfn/3fq8RhUrrh62 Usm/oRrCzXodbF4QShzIYaxrabAY+s+WPVoddHBcIxbvGZi1siKSsZAH0NRNi10KkrRr kaBt10Nqc23c5rTHKbqxdUxVO36+56zyZigwo+jiJBtow9bhQg5a87Azz5Adlj773zuT onAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sjSQYfjr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si6952581pgp.119.2018.04.24.11.32.37; Tue, 24 Apr 2018 11:32:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sjSQYfjr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751110AbeDXPjO (ORCPT + 99 others); Tue, 24 Apr 2018 11:39:14 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49086 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729AbeDXPjI (ORCPT ); Tue, 24 Apr 2018 11:39:08 -0400 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lAcsxrRZvsYgQ5WwE8NfUoONgRdKDP3j1hxq4gW09Rw=; b=sjSQYfjrlRUMZTpP66vtBgngB cJOgUQFkgrWTlzGclg6m+OwYTKtcURwyIZCT1Ek9fxTthbwijSX0SpQke02jxddq6bkz8DhaPa4pQ IjPKKizJloUepaWDu5Haq4NRwGvAYFkjgKpIu8tgAVekEQua5EHv/mj/OTv/Wc7AsWJ9FwyPnKH12 dDlngXb7Koqtrho9TEfszcNGEN/vKBE1J/4qn6//2tMmppmKoJ6+i8/PDfi0CodyGqcE56lRP72Le bkk4+X74Omj7HhHvkBLiMHpvnL+ZrbPstvjfwWmtBR8/q54iKOwgT501Hh9v5blpYkNsydT3k4Fcy BHklRHLRQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fB025-0005fp-05; Tue, 24 Apr 2018 15:39:05 +0000 Subject: Re: [v2 resend 03/10] mfd: mtk-mmsys: Add mmsys driver To: matthias.bgg@kernel.org, ulrich.hecht+renesas@gmail.com, laurent.pinchart@ideasonboard.com, ck.hu@mediatek.com, p.zabel@pengutronix.de, airlied@linux.ie, robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@codeaurora.org, lee.jones@linaro.org Cc: davem@davemloft.net, gregkh@linuxfoundation.org, mchehab@kernel.org, pi-cheng.chen@linaro.org, sean.wang@mediatek.com, linux-clk@vger.kernel.org, linux@armlinux.org.uk, matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Matthias Brugger References: <99bef17c57ad60eff6104da780cf59b785bd3e42.1524563001.git.mbrugger@suse.com> From: Randy Dunlap Message-ID: <9b023ba1-fb66-a955-e54d-d0a9cbbd7b45@infradead.org> Date: Tue, 24 Apr 2018 08:39:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <99bef17c57ad60eff6104da780cf59b785bd3e42.1524563001.git.mbrugger@suse.com> 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 04/24/2018 02:47 AM, matthias.bgg@kernel.org wrote: > From: Matthias Brugger > > The MMSYS subsystem includes clocks and drm components. > This patch adds a MFD device to probe both drivers from the same > device tree compatible. > > Signed-off-by: Matthias Brugger > --- > drivers/mfd/Kconfig | 9 ++++++ > drivers/mfd/Makefile | 2 ++ > drivers/mfd/mtk-mmsys.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 90 insertions(+) > create mode 100644 drivers/mfd/mtk-mmsys.c > > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index b860eb5aa194..a2c928e26026 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -378,6 +378,15 @@ config MFD_MC13XXX_I2C > help > Select this if your MC13xxx is connected via an I2C bus. > > +config MFD_MEDIATEK_MMSYS > + tristate "Mediatek MMSYS interface" > + select MDF_CORE select MFD_CORE tested?? > + select REGMAP_MMIO > + help > + Select this if you have a MMSYS subsystem in your SoC. The > + MMSYS subsystem has at least a clock driver part and some > + DRM components. > + > config MFD_MXS_LRADC > tristate "Freescale i.MX23/i.MX28 LRADC" > depends on ARCH_MXS || COMPILE_TEST -- ~Randy