Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3362478imj; Tue, 19 Feb 2019 02:05:27 -0800 (PST) X-Google-Smtp-Source: AHgI3IajcieKz7JaogMK1sJoSlVJAQtIhFDeophlxvvcYBUm2QIGfJqqftGzRXFvfqhO2WBTIucI X-Received: by 2002:a63:e84c:: with SMTP id a12mr26872978pgk.241.1550570727924; Tue, 19 Feb 2019 02:05:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550570727; cv=none; d=google.com; s=arc-20160816; b=kCZD2O0vI92S4WLDlf/LzHt3XoVzoK+pV5e0BcTBoUtdGa99tCOL3e/pghsxrlqvA3 5TL4K4gOpQl/1j1JXANvUxfLBSzsve1uZzJfnHRZcxFkk/gv9WgoDL6AalueOmh+D0V+ redPxZ2od9cTGIlgJAN1Ap1BA+JWuWiLNd34AaI5AbHOiMzc3Tv4xSeUY2KmDmuOPzOs k9qYMhtSAw1EKvqzHmGtgOyNPKanYDIDD9hJ9Cw1V/X22zcZhWVkyUzPTOFH+bW2+DMn /R/UZf6KZEwgqXvthZLg8k0cm0fKG2nJQuTu22xHVn3+4w5Lo+uj4Y4b40KMPdCpEaOf dA6g== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=uIZN/upDIWNmd+q9R8EK+JSwpfTU7Aeqz0mybeWhNTc=; b=PIWwgfEMyvUONYWoko0IZw37WxgEnZg4lXq14/M6IR4/TOXwtaNK8mfvBOu6kuTZdU cM+a8FOAMz4uBDTgMPUagz51yXR4BGjVeYN/E46mRglAvz35mjlhDJy0sF6qYHBn5u08 uahxDPsKCBmVqd+FgVmPbpdF0t11dooZgCeRV+MGouGVlK7gnUzuuk8OuRwEVdk1KI+h qQrp5zTFf6tYGNKdYu8kPXHOudsPLtO6JaU867RLbue5QD8PyGbI/UGNxWCsEY6zgheX Z4h/X8zBE+K3hmO7mjwYtbwrM0E/0qrzlU57ccpiyvTrCJyfWwWF+arGeKR6F3DrIbx0 wxIA== 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 g92si16243201plg.392.2019.02.19.02.05.12; Tue, 19 Feb 2019 02:05:27 -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; 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 S1728266AbfBSKEq convert rfc822-to-8bit (ORCPT + 99 others); Tue, 19 Feb 2019 05:04:46 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:11523 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727500AbfBSKEn (ORCPT ); Tue, 19 Feb 2019 05:04:43 -0500 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 x1JA31s9015937; Tue, 19 Feb 2019 11:04:36 +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 2qpc6x7p48-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 19 Feb 2019 11:04:36 +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 C9DAA3A; 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 AAC0F2796; 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 5/8] regulator: stpmic1: Remove support for regulator pull down Thread-Topic: [PATCH 5/8] regulator: stpmic1: Remove support for regulator pull down Thread-Index: AQHUyDqD+87cpMH+zEiqQTpa1+pPcw== Date: Tue, 19 Feb 2019 10:04:33 +0000 Message-ID: <1550570647-9555-6-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] 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=2019-02-19_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Regulator high pull down are enabled by default so remove support in the driver. Signed-off-by: pascal paillet --- drivers/regulator/stpmic1_regulator.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c index f5c0e58..6970e45 100644 --- a/drivers/regulator/stpmic1_regulator.c +++ b/drivers/regulator/stpmic1_regulator.c @@ -133,7 +133,6 @@ enum { .disable = regulator_disable_regmap, .get_voltage_sel = regulator_get_voltage_sel_regmap, .set_voltage_sel = regulator_set_voltage_sel_regmap, - .set_pull_down = regulator_set_pull_down_regmap, .set_over_current_protection = stpmic1_set_icc, }; @@ -145,7 +144,6 @@ enum { .disable = regulator_disable_regmap, .get_voltage_sel = regulator_get_voltage_sel_regmap, .set_voltage_sel = regulator_set_voltage_sel_regmap, - .set_pull_down = regulator_set_pull_down_regmap, .get_bypass = regulator_get_bypass_regmap, .set_bypass = regulator_set_bypass_regmap, .set_over_current_protection = stpmic1_set_icc, @@ -155,7 +153,6 @@ enum { .is_enabled = regulator_is_enabled_regmap, .enable = regulator_enable_regmap, .disable = regulator_disable_regmap, - .set_pull_down = regulator_set_pull_down_regmap, .set_over_current_protection = stpmic1_set_icc, }; @@ -177,7 +174,6 @@ enum { .is_enabled = regulator_is_enabled_regmap, .enable = regulator_enable_regmap, .disable = regulator_disable_regmap, - .set_pull_down = regulator_set_pull_down_regmap, }; static const struct regulator_ops stpmic1_switch_regul_ops = { @@ -203,8 +199,6 @@ enum { .enable_val = 1, \ .disable_val = 0, \ .enable_time = PMIC_ENABLE_TIME_US, \ - .pull_down_reg = ids##_PULL_DOWN_REG, \ - .pull_down_mask = ids##_PULL_DOWN_MASK, \ .supply_name = #base, \ } @@ -228,8 +222,6 @@ enum { .bypass_mask = LDO_BYPASS_MASK, \ .bypass_val_on = LDO_BYPASS_MASK, \ .bypass_val_off = 0, \ - .pull_down_reg = ids##_PULL_DOWN_REG, \ - .pull_down_mask = ids##_PULL_DOWN_MASK, \ .supply_name = #base, \ } @@ -247,8 +239,6 @@ enum { .enable_val = 1, \ .disable_val = 0, \ .enable_time = PMIC_ENABLE_TIME_US, \ - .pull_down_reg = ids##_PULL_DOWN_REG, \ - .pull_down_mask = ids##_PULL_DOWN_MASK, \ .supply_name = #base, \ } @@ -288,8 +278,6 @@ enum { .enable_val = 1, \ .disable_val = 0, \ .enable_time = PMIC_ENABLE_TIME_US, \ - .pull_down_reg = ids##_PULL_DOWN_REG, \ - .pull_down_mask = ids##_PULL_DOWN_MASK, \ .supply_name = #base, \ } -- 1.9.1