Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp890672ybl; Wed, 8 Jan 2020 07:33:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxVKwifbXjfpF+bKT10TER4tsNQh3uBYwyIFQF1EQ8j5ZcfkeCZz02joNhR+Jrj31u6bH26 X-Received: by 2002:a9d:c42:: with SMTP id 60mr4441037otr.182.1578497616902; Wed, 08 Jan 2020 07:33:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578497616; cv=none; d=google.com; s=arc-20160816; b=toQXO8+IdZfARosdot2nV9o9gUlHIss3DFuOV7j5P/PjQDV7eRT/2u197hI7hMroyY bdKiwXgsEulhtagCnhugiMEC4WBzJlZOx5wF/0/4coyXN0XEr+pDcxS6tzHDnLAxIRmo e1rCksyLghFtqSYyxVgfrBYednX9+pUu0klctSxNkXer7qTumajs1uANft8O4zPKkKV3 JStjE6D/NcSSJgN++v9lCeF1lFPq/e0xdv7ibXj7r6yKAayahJH1Wy3xiI3HhNYdAQOy vsx+Xdgv5jcInkX8yGkX9rigEu+P74EslCcCSK2ZTaV1suNQOde8QIitcUvKFIqk8Mcz 28Tw== 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=CW1vsmVOYVpnu21wOV1FaVQtVlxQeM9zvVeI3WDjoeQ=; b=RVivLwU0ulp1Iz93NsQgMnkYDiU5dz2fXkLjJbV5+dz+NId3AA95dnjKb1y2R2EpND jnKCxA/eSS8C7+cDwJsBWutZrLYs0fe2Iiz/urWktMZH5R4U9KSzbzcnQ9aAdWSHGUZn Jmy/p11/4izNPHGHiQQU6nV78SBnTO8EMg6avYm6q3wgHfbmn5dz46bZI5X7teF/5zJn U+hadMUuaXZbgOVrDO5c73wsWODhK7sMgcICcYIQf8+sQ0rQqvczLmUsCP0L7qsGs9Rn FUvdvWnJomn8YNw5xP7bzpzydX3V/zxL+3VId2hsBJUWUFFTaB+Viz83sypqKrnIQgoH cC5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TGiv7UgY; 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 k7si1767904oib.115.2020.01.08.07.33.24; Wed, 08 Jan 2020 07:33:36 -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=TGiv7UgY; 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 S1727260AbgAHNMq (ORCPT + 99 others); Wed, 8 Jan 2020 08:12:46 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33694 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726199AbgAHNMq (ORCPT ); Wed, 8 Jan 2020 08:12:46 -0500 Received: by mail-wr1-f66.google.com with SMTP id b6so3382222wrq.0; Wed, 08 Jan 2020 05:12:44 -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=CW1vsmVOYVpnu21wOV1FaVQtVlxQeM9zvVeI3WDjoeQ=; b=TGiv7UgYOnCvuzeHdEbOimyJWrw0yKav/L80GnMtkV3tQsGQB0qsfwJwoIjI9a8EyY Edi0fjN7J30XXnYRBDvH7r9dNEIoUg/OMEesb0PGkwjop57B8UHXxtx//W7JVGu6MpIW tl8YijCWvV/pLDOzHl7ZiTXVguS7u2J1rCSftGu1mpKseTBKrmOIVoN+sRMbnhPpFLmh XDbB4gKsAzGM0uBcgTjabj/xHFzKuxgFc+giboEvqLY3lexuRV1FCVJJ8st3/lrThiOX 01giLKsLHfvrMx0vbHbzS5hMDL+1XfeRbKNB/XOwDoh/BCjIFoskOi7PntEsweng0igd CVEQ== 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=CW1vsmVOYVpnu21wOV1FaVQtVlxQeM9zvVeI3WDjoeQ=; b=ExbJa0NvjYmwlOHSP9PlFZRzZltGTw+2QHhJIXT+R0LhnmMUPgfbJooUrSJl2W0amK Aby5/vrD1A7v2bOit3w5F7Pqz2Kn1DUMN5Gq9ZTCBQIpfy7rVZ0IjGF1bTqV/XZSvavO VWm2NPPk5LY4F7LC9yXouE3NNw8s5T6IUvW8HlISQexoq+wBvk2kf+LXNoAThrAHQQ9Q GSB/xdz3hj0HJed+nEnXDhjzdJfDf0XC+PwzHiTeOACt+iUMex+kKVYioCmaxHDYLkiq dd7OImeQCtk1xHHjc3jeUup9OAGIvqtqE3Gom8+O/IVj17+TdTxYYfpsKSfyF7VgrO30 3jGA== X-Gm-Message-State: APjAAAVZiQTVTXoVeGiyh2yP8MU4NQCqNkKOsgH+tSkgnvrjE+CPrd/D BNJH+nwp24leJPr+CzvAcGU= X-Received: by 2002:adf:edd0:: with SMTP id v16mr4468409wro.310.1578489163703; Wed, 08 Jan 2020 05:12:43 -0800 (PST) Received: from localhost.localdomain (p5B3F64F6.dip0.t-ipconnect.de. [91.63.100.246]) by smtp.gmail.com with ESMTPSA id k82sm3875878wmf.10.2020.01.08.05.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 05:12:42 -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 v5 0/4] Add regulator support for mpq7920 Date: Wed, 8 Jan 2020 14:12:30 +0100 Message-Id: <20200108131234.24128-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 V5: - removed timeslot related changes, the timeslot register holds the value of time duration between each regulator of power on/off sequence. Although timeslot register is accessed over I2C the changes reflects on next powercycle of pmic, so cannot handled part of this driver. - device tree bindings property are defined per regulator node Changes in V4: - fixed 0-DAY warnings 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 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/mps,mpq7920.yaml | 202 +++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 7 + drivers/regulator/Kconfig | 10 + drivers/regulator/Makefile | 1 + drivers/regulator/mpq7920.c | 342 ++++++++++++++++++ drivers/regulator/mpq7920.h | 72 ++++ 7 files changed, 636 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml create mode 100644 drivers/regulator/mpq7920.c create mode 100644 drivers/regulator/mpq7920.h -- 2.17.1