Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1071556ybz; Thu, 16 Apr 2020 02:14:04 -0700 (PDT) X-Google-Smtp-Source: APiQypKJ5xuUNLU/VpoG2uwu98UZq+mBc6wgpCy2TZmCvCXfr8n8a8lcBfyKqfN1Q10HauV93LNu X-Received: by 2002:a17:907:20b5:: with SMTP id pw21mr8361964ejb.227.1587028444339; Thu, 16 Apr 2020 02:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587028444; cv=none; d=google.com; s=arc-20160816; b=Q4jgfHI9BaAmntLConhwCXlyWelaG2LaD2iwuuJ/HxAPonD/ZJDjjNZBM+NmTYie/4 2Gz4SND9ippcxdFqG2G8p3vVvjeD4VPhJRvX1OoZWlcDngLLLDWeYFq+r7VgpDNeuvkB cyE2Sx1+MEiku14U4HedoUqjg9I85nDky0qIGUAFhjTRWSKis8F7I5fBAmNJjKsgO0SU uTEzhA7cS4nspBtaWGcTtj/OUlWnJ+esGtSSzOlVBN3P+slfDjQeF7GjRahuYgiC9wJY FJ6O8wJI+BbHi21nKxOXLr7xRzbIxhnzNI66cZyjm+m2c+3cJXZ9vaXaqew4ltB3Jbl4 uvNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AkzX3Dcs3nD4u98CC4pQCRsVTQrys7ElI/8/pjZK+Ts=; b=D4WjXzHfHdmSP1qh39OkibvYD1nEY31f9TuTMSG3NhESEZmTSiFBu4Jc4AWlzi0CqU WdlcAM6gSdheQACZ0Ll+oizxHxVKp44/0P+c1nQ57DGRuKxc+U3u46EPeaCZ7mebYEnR j1+h6QYVByf+JhrvLDDzCaS8Jz7yNg6JbqoNIRhWFbr71rYFnolSNh2emjRxDRXuMiq3 lG1kL/ZlP/BM8ey0cEy0P6lV9sCjpVgxM/+3GsA8yeIj6KcNKT4BLFctGIOwm/cx0t7c oHi9rWnZIsnYjweH+33wBICe7ExBtsZT+625h9XRnpaH4B60tiZcSSdlAWHofRLSbqJ6 ivZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wb/ou2IL"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si3891394edu.268.2020.04.16.02.13.41; Thu, 16 Apr 2020 02:14: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=pass header.i=@linaro.org header.s=google header.b="wb/ou2IL"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502029AbgDPJK1 (ORCPT + 99 others); Thu, 16 Apr 2020 05:10:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2503370AbgDPJKA (ORCPT ); Thu, 16 Apr 2020 05:10:00 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3806BC061A41 for ; Thu, 16 Apr 2020 02:09:56 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id o81so3747675wmo.2 for ; Thu, 16 Apr 2020 02:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=AkzX3Dcs3nD4u98CC4pQCRsVTQrys7ElI/8/pjZK+Ts=; b=wb/ou2IL7ZL03YQ8OAV+Os2euU0E17M9a0KwoQ3V3isxo7+xI1+LSfhg5vSw6QDiT5 PsrEZIKgjxOmO31HznVmbOHJL0WiBxEdRrUVX8PGl+6aFMMKj+Ok3aE5PJnZLvTAR7uI vGLCAgXDlm9SWpL6LlhpelL2R0kMbpm8ccCFbNZs9pJWVok28OUT2dVDc0jLwk1ecNu2 F3LojeUezoSXKQKiaoF94+HsBfCLyTeSTcf13SDqUTYKpELlLnEGHIWeaFAXVEXVx9Ze VdpFDYBagqARwZ2Txck/ZqK5qn1jwast8Gxgr8rEKOIaDNo6PJlLDAZamY6dNhxapVdn 0hAQ== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=AkzX3Dcs3nD4u98CC4pQCRsVTQrys7ElI/8/pjZK+Ts=; b=aqzuFVS2Y7AUkyxSsUbrjgl5mSoLiy2AGo0jWuTOoB7is/xMJiun6RZyOcl8NBhX+T VfWtMo393OG8J1/wQK23FHlfggw+r2S4mQpERfHcOVzcHkOeq/2wEFh1cNAtDx8q3E9m 0cJqnkuQeczrJuOG5mKP+xbSbc/ZQ3uZTPjlCzcUJBgz/qilk10Cs49yJicne+CMCtBQ KCevxh3Ybm+a1Oj4vwEY5TkSX/a2S4fYbcc/XyJ7HP6QvRe42CumIjOC8fbRG7rgy+tD Nd1W+gzElEhACNzj3AKJKkBGqrbfb826vl+zaP4uH2q/2eGc7EVWllB6788DZztE+bUL tKng== X-Gm-Message-State: AGi0PuYBCSZo9lAw/Pc0OVsilX2cCNjD4SqJOJxzA6b3regN8hjdaQbv +V6jOHF1GnNaU8BPiarzciw00g== X-Received: by 2002:a1c:99d3:: with SMTP id b202mr3989576wme.126.1587028194753; Thu, 16 Apr 2020 02:09:54 -0700 (PDT) Received: from dell ([95.149.164.124]) by smtp.gmail.com with ESMTPSA id h5sm7933704wrp.97.2020.04.16.02.09.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Apr 2020 02:09:54 -0700 (PDT) Date: Thu, 16 Apr 2020 10:10:54 +0100 From: Lee Jones To: Hsin-Hsiung Wang Cc: Rob Herring , Matthias Brugger , Alexandre Belloni , Nicolas Boichat , Mark Rutland , Sean Wang , Sebastian Reichel , Eddie Huang , Alessandro Zummo , Kate Stewart , Richard Fontana , Frank Wunderlich , Josef Friedl , Thomas Gleixner , Ran Bi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, srv_heupstream@mediatek.com Subject: Re: [PATCH v12 4/6] mfd: Add support for the MediaTek MT6358 PMIC Message-ID: <20200416091054.GZ2167633@dell> References: <1586333531-21641-1-git-send-email-hsin-hsiung.wang@mediatek.com> <1586333531-21641-5-git-send-email-hsin-hsiung.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1586333531-21641-5-git-send-email-hsin-hsiung.wang@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 08 Apr 2020, Hsin-Hsiung Wang wrote: > This adds support for the MediaTek MT6358 PMIC. This is a > multifunction device with the following sub modules: > > - Regulator > - RTC > - Codec > - Interrupt > > It is interfaced to the host controller using SPI interface > by a proprietary hardware called PMIC wrapper or pwrap. > MT6358 MFD is a child device of the pwrap. > > Signed-off-by: Hsin-Hsiung Wang > --- > drivers/mfd/Makefile | 2 +- > drivers/mfd/mt6358-irq.c | 235 +++++++++++++++++++++++++++++ > drivers/mfd/mt6397-core.c | 36 +++++ > include/linux/mfd/mt6358/core.h | 158 ++++++++++++++++++++ > include/linux/mfd/mt6358/registers.h | 282 +++++++++++++++++++++++++++++++++++ > include/linux/mfd/mt6397/core.h | 3 + > 6 files changed, 715 insertions(+), 1 deletion(-) > create mode 100644 drivers/mfd/mt6358-irq.c > create mode 100644 include/linux/mfd/mt6358/core.h > create mode 100644 include/linux/mfd/mt6358/registers.h [...] > diff --git a/include/linux/mfd/mt6358/core.h b/include/linux/mfd/mt6358/core.h > new file mode 100644 > index 0000000..a304aae > --- /dev/null > +++ b/include/linux/mfd/mt6358/core.h > @@ -0,0 +1,158 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * Copyright (c) 2019 MediaTek Inc. Nit: This needs updating. Once updated, please apply my: For my own reference (apply this as-is to your sign-off block): Acked-for-MFD-by: Lee Jones -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog