Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1977095yba; Mon, 15 Apr 2019 02:19:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZ9OFN0Rub9ne2tzE0dZgJ3NYiqBjBId4Np8lpJAbROguGv1qp0LA5jXTLNZ09XEWvmVOg X-Received: by 2002:a65:6496:: with SMTP id e22mr68782719pgv.249.1555319951123; Mon, 15 Apr 2019 02:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555319951; cv=none; d=google.com; s=arc-20160816; b=h232SZlS/rruqujnv9p2V4PF6ADLvxwHa+InWYLCafQY1RwrIiUXfRztWmKtDx65qo w7DV+0yNOOZ/wWGnvw12HUbeMo1u0P8rcHttUh0d1aXW9qXgVyNicRJFrfFL9a0GO1oM Ew8KPN5vUiv8WdjRWdwtB5AzwQN2gYdI6SRRasimWnDYwF7GrEQ/0oXmNfBMBoSFauma GPsAgDjfDIE1kzfvn4sCv9suvxsfS6K0RccCMKWkQt/cwK8+A2t+NfI2lHAAaRz9/Ot2 TaS9gs7A6AWo8mUx+2zYCOKovpEHoUeIIVnIAAvOleopqWkbNfgTDyCewMtdy3Ybum/H leLw== 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:dkim-signature; bh=WKcDVUt3eJxya8lvec0kpB+XZOCrE6KUNKvsxWE1Hxo=; b=T5dL7eIhWeNW2V6Jo8NjVtmF2ktI98pEzaEHDAscxBk0w2btgHfKBrWGV+ri4vKJTb YnP2Dz9CVOEN3bl1ty2KzZliocHnS/vxTmjNzG+RHeTGN6X9UOGU4Ru+fa6ERdraHrw1 8NHA1gv40e/sNzw1J7MPrAsDTrA5PYwXVybyR+b/WO/3opkggkXcow00kP96zugWJrL1 9kgWZ7eqNnNmlDkKiVfs+Sz5vYUROSdHJn5QnnWoD0Ll/IXik0L3uzcBW/GLVyvXZw8v 9VTplc2ayA/+kirXH4PeyHb4Z4JNXczkYAXWHbypEjN+H18Ay0mzbh50cGEfVmXEGLNJ rMdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=CqKws8Jx; 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 x13si31267314pga.2.2019.04.15.02.18.55; Mon, 15 Apr 2019 02:19:11 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=CqKws8Jx; 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 S1726579AbfDOJRw (ORCPT + 99 others); Mon, 15 Apr 2019 05:17:52 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:29106 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725794AbfDOJRw (ORCPT ); Mon, 15 Apr 2019 05:17:52 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3F9F8SD019506; Mon, 15 Apr 2019 11:17:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=WKcDVUt3eJxya8lvec0kpB+XZOCrE6KUNKvsxWE1Hxo=; b=CqKws8JxZPv4IZQ/c18aEPbYBi4WaucwEBk8at7l9u2kLGf1a5bIsEXpDVBJO8I9dewU n8Fk1Fjm0AGoTJ4SGxSpN+WGYap2fLkmF/pmoFJyeVo3rm21uALfCLqSF/UwN+Ai3q/O ZnMNSrwRniR9qjJD5kiodXbh3aWQdrTva9KFsv27Ja/dNqJ/V7You+8nwWkizLDlgFPw 4AI+GFg1JAWTw8LRZlIE1y3HLQ8LoNKgKGNOENxuRFQ+tJSwFnHmc7SPIxHwIx+2Exfe 3SA4YbMn1Yj+1XZt2U5JcDHFHEZ3fFnkWjaSwPT5HNNBXFdaCi4rXJduhLQgCcDFvbjQ ZQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ru4w81xt1-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Apr 2019 11:17:39 +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 F188531; Mon, 15 Apr 2019 09:17:37 +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 9E797145B; Mon, 15 Apr 2019 09:17:37 +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; Mon, 15 Apr 2019 11:17:37 +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; Mon, 15 Apr 2019 11:17:37 +0200 From: Pascal PAILLET-LME To: "lgirdwood@gmail.com" , "broonie@kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "mcoquelin.stm32@gmail.com" , Alexandre TORGUE , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" CC: Pascal PAILLET-LME , "linux-stm32@st-md-mailman.stormreply.com" Subject: [PATCH v2 0/2] Add support for STM32MP1 power regulators Thread-Topic: [PATCH v2 0/2] Add support for STM32MP1 power regulators Thread-Index: AQHU82wRryk5xo81okmIoqW6eJ8QHw== Date: Mon, 15 Apr 2019 09:17:37 +0000 Message-ID: <1555319855-2982-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.45] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-15_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The POWER block of the STM32MP1 integrates 3 fixed regulators with a ready status bit for each one. The goal of this patchset is to add support those regulators. Pascal Paillet (2): changes in v2: * add COMPILE_TEST switch * do not test ready in is_enabled() callback * remove of_regulator_match * change author dt-bindings: regulator: Add stm32mp1 pwr regulators regulator: Add support for stm32 power regulators .../bindings/regulator/st,stm32mp1-pwr-reg.txt | 43 +++++ drivers/regulator/Kconfig | 7 + drivers/regulator/Makefile | 1 + drivers/regulator/stm32-pwr.c | 190 +++++++++++++++++= ++++ 4 files changed, 241 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/st,stm32mp1= -pwr-reg.txt create mode 100644 drivers/regulator/stm32-pwr.c --=20 1.9.1