Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3594908imd; Mon, 29 Oct 2018 09:23:33 -0700 (PDT) X-Google-Smtp-Source: AJdET5dpU2G8wlZMaD49+Td7SWAu6IXRIxK8AuWX1sJrOPV0WxvDGZ2CUktQ1YCF5NWw53WErOad X-Received: by 2002:a65:47cb:: with SMTP id f11-v6mr14813899pgs.166.1540830213146; Mon, 29 Oct 2018 09:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540830213; cv=none; d=google.com; s=arc-20160816; b=E9w/Au0+idOF2kKotWxtV0azjBSyuBycCIkruo1DsqqEbIa2V93wdw8em6aUxVbdOY I5yQYBDNPjPW+1AWJWTYdhV/yhKpqJzTNmfymIRPc/hSAasn2wZ4pFfT7VkxWnFy0K3j YIMT+ODuZREQlFasfZzWtRhGIf41WjAI+PYsDXH6XCA81liBoV2IeNvX1cRwp2C3nI2y 9BxdoTiy6+3IPdYVr/RSWT2sAgnOWDgFRe9K3XTJUYOPr5RJMjHtrhUUtdUjrx/lay5Q g2ll27tm46Xyn2GQlALmZsqghCalnaNDgjIG9xxCvRPtPjj1vY+Ie5ejkzqe5lIHemBf +ARg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=HP+BH3tBU+MH1ji1q/gQIHXl75x5h/NfSVjEemfUY9Q=; b=uUFvXCw0WRyBJmI8UkcNhN58l1TybHfpjVI3PRqIyfhy2tSvneFSJg2JrT4xdPUDQY oFU9REE0HwkK+aTlmtYYRJvji3Yq+5BaPoBkJo4WhIuYksSUtsuGmDSkmCCEKySUVymi PwXFuAAam3Mb7whtCgZhRx9wCNtFZGJwpX31g+l9kNu8qMV6b+NKhL5h6Co7cniT32cp ERUWcofGVOIsO0UHJNcGn23/7TFDQIWwaUDc/+YmuXmXZddZbcrlEj10n7tPDW7gHhBs uyM6tuefIdW1hs1z2zqBkgeWMeHMH/GEUEA0tH/cT3tV7mo5FbcO+8R0bMv8lE7D0q3D AfGQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3-v6si20121172pld.231.2018.10.29.09.23.14; Mon, 29 Oct 2018 09:23:33 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727842AbeJ3BLu convert rfc822-to-8bit (ORCPT + 99 others); Mon, 29 Oct 2018 21:11:50 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:36263 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727690AbeJ3BLt (ORCPT ); Mon, 29 Oct 2018 21:11:49 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w9TGJVsJ022877; Mon, 29 Oct 2018 17:22:06 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2nchdv5utk-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 29 Oct 2018 17:22:06 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 59EDD31; Mon, 29 Oct 2018 16:22:05 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F3CEC52A0; Mon, 29 Oct 2018 16:22:04 +0000 (GMT) Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 29 Oct 2018 17:22:04 +0100 Received: from SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6]) by SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6%20]) with mapi id 15.00.1347.000; Mon, 29 Oct 2018 17:22:04 +0100 From: Pascal PAILLET-LME To: "dmitry.torokhov@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "lee.jones@linaro.org" , "lgirdwood@gmail.com" , "broonie@kernel.org" , "wim@linux-watchdog.org" , "linux@roeck-us.net" , "linux-input@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-watchdog@vger.kernel.org" , "benjamin.gaignard@linaro.org" , "eballetbo@gmail.com" , "axel.lin@ingics.com" CC: Pascal PAILLET-LME Subject: [PATCH v5 0/8] Introduce STPMIC1 PMIC Driver Thread-Topic: [PATCH v5 0/8] Introduce STPMIC1 PMIC Driver Thread-Index: AQHUb6OH6tsV6/qf/kuwtZkaX4ZohA== Date: Mon, 29 Oct 2018 16:22:04 +0000 Message-ID: <1540830122-2577-1-git-send-email-p.paillet@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.48] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-10-29_11:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an hardware watchdog. The STPMIC1 is controlled via I2C. Main driver is drivers/mfd/stpmic1 that handle I2C regmap configuration and irqchip. stpmic1_regulator, stpmic1_onkey and stpmic1_wdt need stpmic1 mfd as parent. stpmic1 mfd and regulator drivers maybe mandatory at boot time. Pascal Paillet (8): dt-bindings: mfd: document stpmic1 mfd: stpmic1: add stpmic1 driver dt-bindings: regulator: document stpmic1 pmic regulators regulator: stpmic1: add stpmic1 regulator driver dt-bindings: input: document stpmic1 pmic onkey input: stpmic1: add stpmic1 onkey driver dt-bindings: watchdog: document stpmic1 pmic watchdog watchdog: stpmic1: add stpmic1 watchdog driver .../devicetree/bindings/input/st,stpmic1-onkey.txt | 28 + .../devicetree/bindings/mfd/st,stpmic1.txt | 61 ++ .../bindings/regulator/st,stpmic1-regulator.txt | 67 +++ .../bindings/watchdog/st,stpmic1-wdt.txt | 11 + drivers/input/misc/Kconfig | 11 + drivers/input/misc/Makefile | 2 + drivers/input/misc/stpmic1_onkey.c | 198 ++++++ drivers/mfd/Kconfig | 16 + drivers/mfd/Makefile | 1 + drivers/mfd/stpmic1.c | 215 +++++++ drivers/regulator/Kconfig | 12 + drivers/regulator/Makefile | 1 + drivers/regulator/stpmic1_regulator.c | 667 +++++++++++++++++++++ drivers/watchdog/Kconfig | 12 + drivers/watchdog/Makefile | 1 + drivers/watchdog/stpmic1_wdt.c | 139 +++++ include/dt-bindings/mfd/st,stpmic1.h | 50 ++ include/linux/mfd/stpmic1.h | 212 +++++++ 18 files changed, 1704 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/st,stpmic1-onkey.txt create mode 100644 Documentation/devicetree/bindings/mfd/st,stpmic1.txt create mode 100644 Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt create mode 100644 Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt create mode 100644 drivers/input/misc/stpmic1_onkey.c create mode 100644 drivers/mfd/stpmic1.c create mode 100644 drivers/regulator/stpmic1_regulator.c create mode 100644 drivers/watchdog/stpmic1_wdt.c create mode 100644 include/dt-bindings/mfd/st,stpmic1.h create mode 100644 include/linux/mfd/stpmic1.h -- 1.9.1