From patchwork Tue Feb 19 10:04:32 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pascal PAILLET-LME
X-Patchwork-Id: 1044582
Return-Path:
X-Original-To: incoming-dt@patchwork.ozlabs.org
Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org
Authentication-Results: ozlabs.org;
spf=none (mailfrom) smtp.mailfrom=vger.kernel.org
(client-ip=209.132.180.67; helo=vger.kernel.org;
envelope-from=devicetree-owner@vger.kernel.org; receiver=)
Authentication-Results: ozlabs.org;
dmarc=none (p=none dis=none) header.from=st.com
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by ozlabs.org (Postfix) with ESMTP id 443bvn212mz9s21
for ;
Tue, 19 Feb 2019 21:05:25 +1100 (AEDT)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1727361AbfBSKFS convert rfc822-to-8bit (ORCPT
);
Tue, 19 Feb 2019 05:05:18 -0500
Received: from mx07-00178001.pphosted.com ([62.209.51.94]:40965 "EHLO
mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK)
by vger.kernel.org with ESMTP id S1727244AbfBSKEl (ORCPT
); Tue, 19 Feb 2019 05:04:41 -0500
Received: from pps.filterd (m0046037.ppops.net [127.0.0.1])
by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
x1JA1v73005503; Tue, 19 Feb 2019 11:04:34 +0100
Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])
by mx07-00178001.pphosted.com with ESMTP id 2qpc6kq30t-1
(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);
Tue, 19 Feb 2019 11:04:34 +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 0427C3D;
Tue, 19 Feb 2019 10:04:33 +0000 (GMT)
Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17])
by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C3C8E2799;
Tue, 19 Feb 2019 10:04:33 +0000 (GMT)
Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG6NODE2.st.com
(10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2;
Tue, 19 Feb 2019 11:04:33 +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; Tue, 19 Feb 2019 11:04:33 +0100
From: Pascal PAILLET-LME
To: "lgirdwood@gmail.com" ,
"broonie@kernel.org" ,
"robh+dt@kernel.org" ,
"mark.rutland@arm.com" ,
"linux-kernel@vger.kernel.org" ,
"devicetree@vger.kernel.org" ,
"axel.lin@ingics.com"
CC: Pascal PAILLET-LME ,
"benjamin.gaignard@linaro.org" ,
"linux-stm32@st-md-mailman.stormreply.com"
Subject: [PATCH 3/8] dt-bindings: regulator: remove interrupt-parent
description on stpmic1
Thread-Topic: [PATCH 3/8] dt-bindings: regulator: remove interrupt-parent
description on stpmic1
Thread-Index: AQHUyDqCuJq9i0hC3UyD8Qo97W8lzg==
Date: Tue, 19 Feb 2019 10:04:32 +0000
Message-ID: <1550570647-9555-4-git-send-email-p.paillet@st.com>
References: <1550570647-9555-1-git-send-email-p.paillet@st.com>
In-Reply-To: <1550570647-9555-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]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
definitions=2019-02-19_06:, , signatures=0
Sender: devicetree-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: devicetree@vger.kernel.org
The interrupt parent description is not needed as the parent is a parent
node with 'interrupt-controller' property.
Signed-off-by: pascal paillet
---
Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt b/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
index a3f4762..de27897 100644
--- a/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
@@ -29,7 +29,6 @@ Optional properties:
if set, all regulators are switched off in case of over-current detection
on this regulator,
if not set, the driver only sends an over-current event.
-- interrupt-parent: phandle to the parent interrupt controller
- interrupts: index of current limit detection interrupt
- -supply: phandle to the parent supply/regulator node
each regulator supply can be described except vref_ddr.
@@ -43,7 +42,6 @@ regulators {
vdd_core: buck1 {
regulator-name = "vdd_core";
interrupts = ;
- interrupt-parent = <&pmic>;
st,mask-reset;
regulator-pull-down;
regulator-min-microvolt = <700000>;
@@ -53,7 +51,6 @@ regulators {
v3v3: buck4 {
regulator-name = "v3v3";
interrupts = ;
- interrupt-parent = <&mypmic>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
From patchwork Tue Feb 19 10:04:33 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pascal PAILLET-LME
X-Patchwork-Id: 1044581
Return-Path:
X-Original-To: incoming-dt@patchwork.ozlabs.org
Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org
Authentication-Results: ozlabs.org;
spf=none (mailfrom) smtp.mailfrom=vger.kernel.org
(client-ip=209.132.180.67; helo=vger.kernel.org;
envelope-from=devicetree-owner@vger.kernel.org; receiver=)
Authentication-Results: ozlabs.org;
dmarc=none (p=none dis=none) header.from=st.com
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by ozlabs.org (Postfix) with ESMTP id 443bvf61VQz9s5c
for ;
Tue, 19 Feb 2019 21:05:18 +1100 (AEDT)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1727238AbfBSKFL convert rfc822-to-8bit (ORCPT
);
Tue, 19 Feb 2019 05:05:11 -0500
Received: from mx07-00178001.pphosted.com ([62.209.51.94]:28357 "EHLO
mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK)
by vger.kernel.org with ESMTP id S1727361AbfBSKEm (ORCPT
); Tue, 19 Feb 2019 05:04:42 -0500
Received: from pps.filterd (m0046037.ppops.net [127.0.0.1])
by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
x1JA1wJB005510; Tue, 19 Feb 2019 11:04:35 +0100
Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])
by mx07-00178001.pphosted.com with ESMTP id 2qpc6kq30u-1
(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);
Tue, 19 Feb 2019 11:04:35 +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 5E7743F;
Tue, 19 Feb 2019 10:04:34 +0000 (GMT)
Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17])
by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3A2672796;
Tue, 19 Feb 2019 10:04:34 +0000 (GMT)
Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG6NODE2.st.com
(10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2;
Tue, 19 Feb 2019 11:04:33 +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; Tue, 19 Feb 2019 11:04:33 +0100
From: Pascal PAILLET-LME
To: "lgirdwood@gmail.com" ,
"broonie@kernel.org" ,
"robh+dt@kernel.org" ,
"mark.rutland@arm.com" ,
"linux-kernel@vger.kernel.org" ,
"devicetree@vger.kernel.org" ,
"axel.lin@ingics.com"
CC: Pascal PAILLET-LME ,
"benjamin.gaignard@linaro.org" ,
"linux-stm32@st-md-mailman.stormreply.com"
Subject: [PATCH 4/8] dt-bindings: regulator: remove regulator pull-down
support for stpmic1
Thread-Topic: [PATCH 4/8] dt-bindings: regulator: remove regulator pull-down
support for stpmic1
Thread-Index: AQHUyDqDB1q5RfHEh0+Y/zPyKTc5gQ==
Date: Tue, 19 Feb 2019 10:04:33 +0000
Message-ID: <1550570647-9555-5-git-send-email-p.paillet@st.com>
References: <1550570647-9555-1-git-send-email-p.paillet@st.com>
In-Reply-To: <1550570647-9555-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]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
definitions=2019-02-19_06:, , signatures=0
Sender: devicetree-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: devicetree@vger.kernel.org
Regulator high pull down are enabled by default so remove support in the
driver.
Signed-off-by: Pascal Paillet
---
Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt | 2 --
1 file changed, 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt b/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
index de27897..bf9385b 100644
--- a/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
@@ -23,8 +23,6 @@ Switches are fixed voltage regulators with only enable/disable capability.
Optional properties:
- st,mask-reset: mask reset for this regulator: the regulator configuration
is maintained during pmic reset.
-- regulator-pull-down: enable high pull down
- if not specified light pull down is used
- regulator-over-current-protection:
if set, all regulators are switched off in case of over-current detection
on this regulator,
From patchwork Tue Feb 19 10:04:34 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pascal PAILLET-LME
X-Patchwork-Id: 1044580
Return-Path:
X-Original-To: incoming-dt@patchwork.ozlabs.org
Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org
Authentication-Results: ozlabs.org;
spf=none (mailfrom) smtp.mailfrom=vger.kernel.org
(client-ip=209.132.180.67; helo=vger.kernel.org;
envelope-from=devicetree-owner@vger.kernel.org; receiver=)
Authentication-Results: ozlabs.org;
dmarc=none (p=none dis=none) header.from=st.com
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by ozlabs.org (Postfix) with ESMTP id 443bvN0tJLz9sDL
for ;
Tue, 19 Feb 2019 21:05:04 +1100 (AEDT)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1726548AbfBSKEn convert rfc822-to-8bit (ORCPT
);
Tue, 19 Feb 2019 05:04:43 -0500
Received: from mx07-00178001.pphosted.com ([62.209.51.94]:40972 "EHLO
mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK)
by vger.kernel.org with ESMTP id S1727315AbfBSKEn (ORCPT
); Tue, 19 Feb 2019 05:04:43 -0500
Received: from pps.filterd (m0046037.ppops.net [127.0.0.1])
by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
x1JA1wJD005510; Tue, 19 Feb 2019 11:04:37 +0100
Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])
by mx07-00178001.pphosted.com with ESMTP id 2qpc6kq315-1
(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);
Tue, 19 Feb 2019 11:04:37 +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 0A4F842;
Tue, 19 Feb 2019 10:04:35 +0000 (GMT)
Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17])
by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 878CD279D;
Tue, 19 Feb 2019 10:04:35 +0000 (GMT)
Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG6NODE2.st.com
(10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2;
Tue, 19 Feb 2019 11:04:34 +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; Tue, 19 Feb 2019 11:04:34 +0100
From: Pascal PAILLET-LME
To: "lgirdwood@gmail.com" ,
"broonie@kernel.org" ,
"robh+dt@kernel.org" ,
"mark.rutland@arm.com" ,
"linux-kernel@vger.kernel.org" ,
"devicetree@vger.kernel.org" ,
"axel.lin@ingics.com"
CC: Pascal PAILLET-LME ,
"benjamin.gaignard@linaro.org" ,
"linux-stm32@st-md-mailman.stormreply.com"
Subject: [PATCH 7/8] dt-bindings: regulator: Add active discharge support for
stpmic1
Thread-Topic: [PATCH 7/8] dt-bindings: regulator: Add active discharge
support for stpmic1
Thread-Index: AQHUyDqD9R8MH1bdfUmtPiHDjMrnqg==
Date: Tue, 19 Feb 2019 10:04:34 +0000
Message-ID: <1550570647-9555-8-git-send-email-p.paillet@st.com>
References: <1550570647-9555-1-git-send-email-p.paillet@st.com>
In-Reply-To: <1550570647-9555-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]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
definitions=2019-02-19_06:, , signatures=0
Sender: devicetree-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: devicetree@vger.kernel.org
Add support for active discharge for USB power switches.
Signed-off-by: pascal paillet
---
Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt b/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
index bf9385b..6189df7 100644
--- a/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
@@ -30,6 +30,7 @@ Optional properties:
- interrupts: index of current limit detection interrupt
- -supply: phandle to the parent supply/regulator node
each regulator supply can be described except vref_ddr.
+- regulator-active-discharge: can be used on pwr_sw1 and pwr_sw2.
Example:
regulators {