Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5721370ybl; Sun, 22 Dec 2019 12:46:42 -0800 (PST) X-Google-Smtp-Source: APXvYqzzzztrUkbfoFETMobmYk63dt6SnCwpYNrNuOyItvq8ys8sTTxf0ghG9SKv2bQXX+muMYto X-Received: by 2002:a9d:75da:: with SMTP id c26mr28645792otl.40.1577047601954; Sun, 22 Dec 2019 12:46:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577047601; cv=none; d=google.com; s=arc-20160816; b=aT3ze/egb0Zme29pQ7hN6uCbeTyZ4/kxDlr69I5utNt6DzVKpILEYX/+26CC3mLcQN HfbEp/TQ0iUoxVkNOs/RTPSEkPUdZi6n3e07rBwyM6k9+rUiFtUbHBMYdE85fkSUEDwz IGNxkzPvgZV4nBHy8QyJBi+CRJdTC3nSUvRvDwfp/NOL4tGxsiBZhvZuRPdUlY1lB/Xs qvocDZkEHw0bhYKKDMD4qvO/y2825rNXhn1SAqiEO9++YnvUYjlcqj9U6oFg9mwWHv3v ZtkmymmX2vxqPTfWPZoAaLL8ZB80kj4ozUPj58aEK7pja94cJWYBQT+GVH2uubBJh+Bc cYjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=4+rTus2NxW8CdBcDQP+AlQ20MDROyr2Jjwi3989i+Bg=; b=msLPR3O00dYjj+h7LztL7Ohv1ai+QyxeO0zd4+O323LqZGEfKVyPZC73OTw9jSa1y2 Ozasjm8+Ie3s9WE+vP2CblBPIQ2j9zFAG0Qw/knXCLjwQbdqlbkCua+MiNgjtRkq6cQe mSrRh3eCxaEzKci0NTPYo2qJD/oOv+6HqJ0GS0tQ/kgTyph9cmY6xxxLPEUWViDe+49S saiZMShe/EyhMODrsFtYOSeHVjc4bNVNLR89gik+AxoR2ejJNKe2w0y4S+mj5e7pK7Ce JNddCVKEsU/KefX/k4Wnw6dBbqBbwHdq0JOoIteKWE4ZTtwaN75GHq+XfeGWrA+N2gb3 c/aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="MyK5VB/t"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h203si8290130oif.3.2019.12.22.12.46.30; Sun, 22 Dec 2019 12:46:41 -0800 (PST) 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=pass header.i=@gmail.com header.s=20161025 header.b="MyK5VB/t"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726613AbfLVUpV (ORCPT + 99 others); Sun, 22 Dec 2019 15:45:21 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:43211 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725951AbfLVUpV (ORCPT ); Sun, 22 Dec 2019 15:45:21 -0500 Received: by mail-wr1-f66.google.com with SMTP id d16so14587895wre.10; Sun, 22 Dec 2019 12:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=4+rTus2NxW8CdBcDQP+AlQ20MDROyr2Jjwi3989i+Bg=; b=MyK5VB/tjTp7tnEi4fMhduxkAdQEN6tmOw/ELaDsjiq2eN0UJcuKypgLUC5WSTaQr3 7YjFv50HI9B0TmdlHLLKOM1gIFVHu3kS2ElnM9skuV25irqkKuyjN7EuNfEykOi6LnQe Em4TFF8R0Z7IwZNOzoU1q/fFuYmcLXOpJN1er1cCbnUj1BzihGVJBmcnVhPjvdoig0MJ G8/dhUX/PE+h87i+xB2wobrctH/GU7P3vAiL7hdjk5tWMJOdRR66jrk72/qgSlr2VVS7 Y3gUGCZ1kJRSC2u2L0sUVMcKgPnpMiWLHXJaV9BFXEIizhrIZVjHM2OZBV5TNodxunrM GUPA== 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; bh=4+rTus2NxW8CdBcDQP+AlQ20MDROyr2Jjwi3989i+Bg=; b=f6mo4cpRIcE590IXX3t5W8A6G8f6zegxJFLbKwowBwAatwHT697ID18l7JBxhKkzRU xJyFlAN5un6nDOpYultGyA6jzvtWcRsh5VL7x+SlG4y5hNqFrCGGxz/ZaDsqTwgA5VDI I3mv9m3kFuUwMpHYx96YzattnhpCedeX9suSmu4+Gol18f/+hn7eUh9YV4gIsuCAJBGa Orfp3DF7H+Je03SqIHJfhMw9wLOo89WGsji/HZIRmujLXFFii2n2yPsRdk64YRsMFc6i r0xZSnqV+mwlNFDfjb4288ycHsNavyG69xMv1J8Dw9NfcjAV+xPWoC6VrcLmsE44bZGC b37w== X-Gm-Message-State: APjAAAV0Fb8EZtXQWUhYBspMyC1Yp3lJqvaBTcCsLr04JE92cOW4CtX8 nHXeYrSV8lGkPImbrB/kGn0= X-Received: by 2002:adf:ef03:: with SMTP id e3mr27528694wro.216.1577047518728; Sun, 22 Dec 2019 12:45:18 -0800 (PST) Received: from localhost.localdomain (p5B3F6AB6.dip0.t-ipconnect.de. [91.63.106.182]) by smtp.gmail.com with ESMTPSA id o4sm17603792wrx.25.2019.12.22.12.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2019 12:45:17 -0800 (PST) From: Saravanan Sekar To: sravanhome@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, mripard@kernel.org, shawnguo@kernel.org, heiko@sntech.de, sam@ravnborg.org, icenowy@aosc.io, laurent.pinchart@ideasonboard.com, gregkh@linuxfoundation.org, Jonathan.Cameron@huawei.com, davem@davemloft.net, mchehab+samsung@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/4] Add regulator support for mpq7920 Date: Sun, 22 Dec 2019 21:45:03 +0100 Message-Id: <20191222204507.32413-1-sravanhome@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in V3: - fixed review comments in Documentation and dt_bindings_check passed Changes in V2: - fixed all the review comments in the driver, avoid ternery operator, inline & constant - fixed/modifed review comments in Documentation This patch series add support for PMIC regulator driver for Monolithic Power System's MPQ7920 chipset. MPQ7920 provides support for 4-BUCK converter, one fixed voltage RTCLDO and 4-LDO regualtor, accessed over I2C. Saravanan Sekar (4): dt-bindings: Add an entry for Monolithic Power System, MPS dt-bindings: regulator: add document bindings for mpq7920 regulator: mpq7920: add mpq7920 regulator driver MAINTAINERS: Add entry for mpq7920 PMIC driver .../bindings/regulator/mpq7920.yaml | 143 +++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 7 + drivers/regulator/Kconfig | 10 + drivers/regulator/Makefile | 1 + drivers/regulator/mpq7920.c | 396 ++++++++++++++++++ drivers/regulator/mpq7920.h | 72 ++++ 7 files changed, 631 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mpq7920.yaml create mode 100644 drivers/regulator/mpq7920.c create mode 100644 drivers/regulator/mpq7920.h -- 2.17.1