From patchwork Wed May 15 13:17:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 10944755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6C6D51395 for ; Wed, 15 May 2019 13:17:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AA5628978 for ; Wed, 15 May 2019 13:17:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4EE2E28999; Wed, 15 May 2019 13:17:58 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 04CAE28978 for ; Wed, 15 May 2019 13:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=tTw+HKTFl1cxa/21SHgOfFbHXuXnYKxavoNJvBuh7D0=; b=sCHzgB9J/Dh3G8 AwntVRjAJweSuBjfSLF/VcfRDmj3UNMHzoKWSlIo++ors5ZSkwBT2t1swSzALi8xj1RJ9BZLHXs/Q GOaNSfm+Qwv5n0k1nQsGfpmXfpP1JdlhVH2ZUcWgLvrk9dKemkhhMK7Nm9Z09HYTxc/JIpplqazaE eJ1dnq8w3pIkcMXhhkQj/23AcCpYQcTWZZNHixfKk7CdKMXiw7hy3ih3IUImdxDJwcSeQvOD8gI3e I+hbdbDJTQDSY6Qu4XG0umDWTRbx8Zg1BbPckYIOdG/d0kq5iJ+2ZNnfSbnWnA/PP1XRmb8+DJdYY qMH8XF4jH5D6IP5Q28yw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQtn5-0002Xq-GP; Wed, 15 May 2019 13:17:51 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQtn0-0002VA-0i for linux-arm-kernel@lists.infradead.org; Wed, 15 May 2019 13:17:47 +0000 Received: by mail-wm1-x342.google.com with SMTP id j187so4696767wma.1 for ; Wed, 15 May 2019 06:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IBIWbSPpc7j2EgIiZbpjBgwSCzEoaoZA6IHHGeyqm0k=; b=MHYcqecCUI/xmN0B4JbfnX7hMUbiXLCSV1mF6rl8tZ2E/n8Dqwl7RFPMQb7BsxJ6Xr kXLbgqR52m/LoSaW6Wmuv+5/eAqFgWZF1kMc/Rd4879C6I95vL8neWipC4GRZqAVr3Pj zYUjZ/FA2xA7QVXfrgynvf+6HEClV+jOcEuav7LiVpqlKa+HNg2QYp5mSpeYRYzqB6lo yuR09cbQFJx5C6/7VhsCQ34CfnrVtre6Nc5j/ou1EZdnJfE9mmq7obbZ0chFH6D/rSp1 81DX849ZUfUsN9Q+u0yj2LzxxfQCcM83++Pl3VJOh1S1BaUxAGliBMtJo+5pFLceJ/fR ZMHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IBIWbSPpc7j2EgIiZbpjBgwSCzEoaoZA6IHHGeyqm0k=; b=fIuba1SRnZlH2zOQgxYeBFvS6zAG0MQusr2fuSn5DZkjHgAQQAvr3ONX5JZp2vhXz8 u3pyBbtptmdcIQkCnxTaYFkCD4MybpWXvScMRDC+q4l5yWKWTT4ARGj4uYLc26n5XFWr 0yDcZuESuXRrjcLYo5LGEgtdvbJnHCwTXzQIAlT9mu1OzJzPti8uvmoakPibMhwq+cc5 gMfKhGrLKb80crkE9nnXnZKs55e1Ajfr3ssrjd27Sqfguw50MIPZzhTZ6COS/CVxWvRs J6tKbQcD+dIentWgYBM2ymTUEaR0jJDEQI8ggmYtNBh43R08zkxM0BTGR5WKB1SnV8WF sJBw== X-Gm-Message-State: APjAAAXhydFqwKIDRMcaYfC+JtVSyfekBJ6QHfyJOxlmLFJZKIvMxqAM ET4kt+e8tfRP8pj3PjE+Eb/x/w== X-Google-Smtp-Source: APXvYqztV9ij0IVX8p1xv1SzUN1LERXsJ9a/GZbNdSp+jRn1j2plcZZjBsrB44VGoOhLMEphD5XOIQ== X-Received: by 2002:a1c:80c3:: with SMTP id b186mr21232039wmd.43.1557926264158; Wed, 15 May 2019 06:17:44 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-11-31.w90-86.abo.wanadoo.fr. [90.86.214.31]) by smtp.gmail.com with ESMTPSA id f10sm3268583wrg.24.2019.05.15.06.17.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 15 May 2019 06:17:43 -0700 (PDT) From: Fabien Parent To: robh+dt@kernel.org, mark.rutland@arm.com, matthias.bgg@gmail.com Subject: [PATCH v3 0/5] mt6392: Add support for MediaTek MT6392 PMIC Date: Wed, 15 May 2019 15:17:36 +0200 Message-Id: <20190515131741.17294-1-fparent@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190515_061746_061957_5D4A6800 X-CRM114-Status: GOOD ( 12.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabien Parent Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series aims at bringing support for the MediaTek MT6392 PMIC. This PMIC is used on the MT8516 Pumpkin board. This patch series adds support for the following features: * PMIC keys * regulator * RTC Fabien Parent (5): dt-bindings: regulator: add support for MT6392 regulator: mt6392: Add support for MT6392 regulator dt-bindings: mfd: mt6397: Add bindings for MT6392 PMIC mfd: mt6397: Add support for MT6392 pmic arm64: dts: mt6392: Add PMIC mt6392 dtsi .../devicetree/bindings/mfd/mt6397.txt | 12 +- .../bindings/regulator/mt6392-regulator.txt | 220 ++++++++ arch/arm64/boot/dts/mediatek/mt6392.dtsi | 208 ++++++++ drivers/mfd/mt6397-core.c | 55 ++ drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/mt6392-regulator.c | 490 ++++++++++++++++++ include/linux/mfd/mt6392/core.h | 42 ++ include/linux/mfd/mt6392/registers.h | 487 +++++++++++++++++ include/linux/regulator/mt6392-regulator.h | 40 ++ 10 files changed, 1562 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/mt6392-regulator.txt create mode 100644 arch/arm64/boot/dts/mediatek/mt6392.dtsi create mode 100644 drivers/regulator/mt6392-regulator.c create mode 100644 include/linux/mfd/mt6392/core.h create mode 100644 include/linux/mfd/mt6392/registers.h create mode 100644 include/linux/regulator/mt6392-regulator.h