From patchwork Mon Aug 3 08:57:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Hsiung Wang X-Patchwork-Id: 254184 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC4D6C433E0 for ; Mon, 3 Aug 2020 08:57:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BDB42208B3 for ; Mon, 3 Aug 2020 08:57:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="oWC/ALzo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726605AbgHCI5m (ORCPT ); Mon, 3 Aug 2020 04:57:42 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:21093 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726585AbgHCI5l (ORCPT ); Mon, 3 Aug 2020 04:57:41 -0400 X-UUID: a1976ea1b8f542379a9e99ec10c28d85-20200803 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=vVxk1mPm0UvUElUUsRqFd2ieDTCtTuX+2gn/JyVMCiU=; b=oWC/ALzobzkxun/Oj6gLmEkTd7BTAGZlJaJqRyZUEBhZjSZIJ0EJ/4Cii+gkgakt4VlOkZSZmRwAYyKLVXJBX4pD20URfhj5R6QdePQ7MdJJa/LrQKYpf3nZcIU5zrqvAHXvawzb45DZ6ClF3PhOSKuVhSd5qciLCtSySIu85+0=; X-UUID: a1976ea1b8f542379a9e99ec10c28d85-20200803 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 537542150; Mon, 03 Aug 2020 16:57:38 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 Aug 2020 16:57:35 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 3 Aug 2020 16:57:35 +0800 From: Hsin-Hsiung Wang To: Mark Brown , Rob Herring , Matthias Brugger CC: Liam Girdwood , Stephen Boyd , Hsin-Hsiung Wang , , , , , , Subject: [PATCH 0/3] Add support for MT6315 regulator Date: Mon, 3 Aug 2020 16:57:24 +0800 Message-ID: <1596445047-2975-1-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-MTK: N Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch series add support for MediaTek PMIC MT6315 regulator driver, which adds MT6315 related buck voltage data to the driver. Hsin-Hsiung Wang (3): spmi: Add driver shutdown support regulator: bindings: Add document for MT6315 regulator regulator: mt6315: Add support for MT6315 regulator .../bindings/regulator/mt6315-regulator.txt | 45 +++ drivers/regulator/Kconfig | 10 + drivers/regulator/Makefile | 1 + drivers/regulator/mt6315-regulator.c | 367 +++++++++++++++++++++ drivers/spmi/spmi.c | 12 + include/linux/regulator/mt6315-regulator.h | 45 +++ include/linux/spmi.h | 1 + 7 files changed, 481 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mt6315-regulator.txt create mode 100644 drivers/regulator/mt6315-regulator.c create mode 100644 include/linux/regulator/mt6315-regulator.h -- 2.6.4