Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp751273imm; Thu, 5 Jul 2018 08:17:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcMQehnyOZeXH4r3H3SCv/xWhmU6q+7wxGTbLChYfobgy6v3VjoELJqigrLfxpbYMRGXZX3 X-Received: by 2002:a63:8dca:: with SMTP id z193-v6mr6131587pgd.228.1530803833788; Thu, 05 Jul 2018 08:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530803833; cv=none; d=google.com; s=arc-20160816; b=ns0Enuu0C73Ielj6EnfFjshWsW9qwv6EDA85XjlvcV6+7RVt3kaEfBuagYqhjpdLxA b6P0bOy5SqCJdWL/rYPUjF4UBBhpWA8iXiYtXn4tBnUrMkiF+L6xrfXsVhifHEDQNXFT /HJiJryvBE1gwf0YvLRzoi9mK3BQQJbm1XwBcfwUVkP2dIddpB85Un6NsFtmzHnp1Co6 ExNVh4LZ12FNI0Yk3tWHFhnCoLbeun7tLJzTdaMSgnaHylXHjcOp5dO8etP1UdcXd9rR GKiRg0fDORJqoujIr9ut85ePCfQR13Rya7TdQoA5ND2FqQdhGpQcb97yGz2SSbD68qs4 enCQ== 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:arc-authentication-results; bh=25R/H2AbBmb21Sr3zcGgfTLXgzsHO89U16sz1P/M/fY=; b=vWOgjB+LxFyT6H8ZOm6FIp/UJKeP+cSUPgpnGOn8kMPjyEB3ruOoxtIQXH9bpN9nMb bjii+27A5BVFeW868YkX2wxlNjKi0M01SrBfLSCJf+lmobXsURs/iW51KqbLPmh4U/vT waAZAL8sRmWieuaHYVf/OEVN12Zu/pVukCmiR4erdqtK01WU/i63Nzm/gOlpL+29JoGQ lYXi7V0VnfysHqWgKUef73R2LcUIAcjVTj+HuQzOeltHmL3DA/fE9a4iinwd6LNWvm6k LS8rni+hupJOsYvUga+hFGIa8/LkxCvsNyjTbUiW1WzVsaEPc8T7b2m+G1IThdE3E6aW 9OMw== 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 w10-v6si6403634pfg.328.2018.07.05.08.16.58; Thu, 05 Jul 2018 08:17:13 -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 S1754362AbeGEPOx convert rfc822-to-8bit (ORCPT + 99 others); Thu, 5 Jul 2018 11:14:53 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:2980 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754068AbeGEPOr (ORCPT ); Thu, 5 Jul 2018 11:14:47 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w65F4Wv2023381; Thu, 5 Jul 2018 17:14:23 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2k0dr4hrxg-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 05 Jul 2018 17:14:23 +0200 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 6A84C31; Thu, 5 Jul 2018 15:14:22 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3A04626D4; Thu, 5 Jul 2018 15:14:22 +0000 (GMT) Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 5 Jul 2018 17:14:21 +0200 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; Thu, 5 Jul 2018 17:14:21 +0200 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" CC: Pascal PAILLET-LME Subject: [PATCH 0/8] Introduce STPMU1 PMIC Driver Thread-Topic: [PATCH 0/8] Introduce STPMU1 PMIC Driver Thread-Index: AQHUFHLZyl88Q2RyOUKEJjkUD58ETA== Date: Thu, 5 Jul 2018 15:14:21 +0000 Message-ID: <1530803657-17684-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.50] 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-07-05_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: pascal paillet The goal of this patch-set is to propose a driver for the STPMU1 PMIC from ST Microelectronics. The STPMU1 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 STPMU1 is controlled via I2C. Main driver is drivers/mfd/stpmu1 that handle I2C regmap configuration and irqchip. stpmu1_regulator, stpmu1_onkey and stpmu1_wdt need stpmu1 mfd as parent. stpmu1 mfd regulator drivers maybe mandatory at boot time. *** BLURB HERE *** pascal paillet (8): dt-bindings: mfd: document stpmu1 pmic mfd: stpmu1: add stpmu1 pmic driver dt-bindings: regulator: document stpmu1 pmic regulators regulator: stpmu1: add stpmu1 regulator driver dt-bindings: input: document stpmu1 pmic onkey input: stpmu1: add stpmu1 onkey driver dt-bindings: watchdog: document stpmu1 pmic watchdog watchdog: stpmu1: add stpmu1 watchdog driver .../devicetree/bindings/input/st,stpmu1-onkey.txt | 31 + .../devicetree/bindings/mfd/st,stpmu1.txt | 138 ++++ .../bindings/regulator/st,stpmu1-regulator.txt | 72 ++ .../devicetree/bindings/watchdog/st,stpmu1-wdt.txt | 11 + drivers/input/misc/Kconfig | 11 + drivers/input/misc/Makefile | 2 + drivers/input/misc/stpmu1_onkey.c | 321 +++++++ drivers/mfd/Kconfig | 14 + drivers/mfd/Makefile | 1 + drivers/mfd/stpmu1.c | 490 +++++++++++ drivers/regulator/Kconfig | 12 + drivers/regulator/Makefile | 2 + drivers/regulator/stpmu1_regulator.c | 919 +++++++++++++++++++++ drivers/watchdog/Kconfig | 12 + drivers/watchdog/Makefile | 1 + drivers/watchdog/stpmu1_wdt.c | 177 ++++ include/dt-bindings/mfd/st,stpmu1.h | 46 ++ include/linux/mfd/stpmu1.h | 220 +++++ 18 files changed, 2480 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/st,stpmu1-onkey.txt create mode 100644 Documentation/devicetree/bindings/mfd/st,stpmu1.txt create mode 100644 Documentation/devicetree/bindings/regulator/st,stpmu1-regulator.txt create mode 100644 Documentation/devicetree/bindings/watchdog/st,stpmu1-wdt.txt create mode 100644 drivers/input/misc/stpmu1_onkey.c create mode 100644 drivers/mfd/stpmu1.c create mode 100644 drivers/regulator/stpmu1_regulator.c create mode 100644 drivers/watchdog/stpmu1_wdt.c create mode 100644 include/dt-bindings/mfd/st,stpmu1.h create mode 100644 include/linux/mfd/stpmu1.h -- 1.9.1