Message ID | 20221017130303.21746-2-sai.krishna.potthuri@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9D5F2C433FE for <linux-arm-kernel@archiver.kernel.org>; Mon, 17 Oct 2022 13:04:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PpeQmBAcgdt3vpn5+qf+5CU/hJNhpVHCYkLbKLv2x9I=; b=wsxFktIFwOAhjt qHVmIC0hbWTIht9NJ5fprJDqxV7dEumVecw2g7/2jTbbfaW2Lu5bJY0w3alY3eT9bCkJibz1hnBZc heuU5flLH3Ld103lP7vow6x84eoUb3O3VbvAkEQgLsoI54zfkeROeodpJoXVis7a1ze1nkNoxVtdO 7TJqKNPgT9uVBNmg90W5vv13nOUjCALDt/leGjnqLGxI+BsiguDIaag1st2DMK+fPZCisZtMQ0AZD Jbfc9NHqKSoDx92j8HajMZG4BZ7mc+lKSfjmGOH0udghiNN0rdOGq9iC1PHdG7Vvq6DV1OsY/8fhi aeONEUadCSrluflIEb2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okPmH-00C1h1-Or; Mon, 17 Oct 2022 13:03:33 +0000 Received: from mail-bn8nam04on2074.outbound.protection.outlook.com ([40.107.100.74] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okPm8-00C1D3-1M for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 13:03:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MEr8IB8G9EZOjHdo7epYbU0XfxYA8dE/lWPmSE8xPlFiI9srhOEMthPo+S9NSwvLVCGq2hSSxvRu58tr4g8ZXCc2Pyiy+S2w1zSM2Cwt/92OnV9Rnrautejc4gZSFnnaDfovziSWM4Za9ahy/iLUuUDPohc3/y85iX+2+hg6kH1EABYCOJgM9e8GKK9DfrIJxDYiS7wxuOirvoNsa+70VTnypJGkWbI9VBHSj2t3Fg7HCYF/eSIJS0AwGVUQM8cMbKZMgpD3tayBrmZpjJ6zxyiNCPzNznAKWlU3S7ViyGjozn4+o54uBk5TLpY1Z7UoUOr5d8m+XX3EHpkvb8zO/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tV2/cZ8ENmRlzU0AeVgTrKzp8Y+7xxQF013lwQaAL6o=; b=fx9dkwjmlowjHXNOMjRkWp0Ehi9p9Mx0D3F6vGNx5JfF0EGUgIj02DBVBP4nKoefAapnyCtu7g5ums33xowCZRGp0ZDpRfdRokHz0+CdqCYFBb5+eS/O0rr9w8oM2pikWX3evpoUc9XpDzeSoBsS+jBstElsU2AA6YprWTZ600Oq41w+zanUV+QjsFEywtqi0PrDeVX0QmVHH/Ailjt/TxUb8UM5HhPhrwDsV9711CKQe/piKUy1lTRdAnN9x0mRM1s23Dbdt8FrnAw20wub1h9DUuqCDZWOwQILkS7HFB2/u6au4RqQGeX6tFQEV+QI8F+57eNgRYVDOMsddtiLWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linaro.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tV2/cZ8ENmRlzU0AeVgTrKzp8Y+7xxQF013lwQaAL6o=; b=kZ9Tid72nIfY4N3XnHE04gstm3N4oGLVq+o2CP2/YnfEZJswWnxkIJYXRs2xM42P73GNx1qgQ+ZNxR/rsuA6E79Dnflr9FbS/z/Q271phBVUwT6TaVMERCvVrgmvBvm3lFjTBDbOxLYTk/r1v0BzINoAixSYpV4zUw0CmqU8gas= Received: from MW4PR04CA0337.namprd04.prod.outlook.com (2603:10b6:303:8a::12) by SN7PR12MB7153.namprd12.prod.outlook.com (2603:10b6:806:2a4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32; Mon, 17 Oct 2022 13:03:19 +0000 Received: from CO1NAM11FT094.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8a:cafe::7d) by MW4PR04CA0337.outlook.office365.com (2603:10b6:303:8a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30 via Frontend Transport; Mon, 17 Oct 2022 13:03:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT094.mail.protection.outlook.com (10.13.174.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5723.20 via Frontend Transport; Mon, 17 Oct 2022 13:03:18 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 17 Oct 2022 08:03:15 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB07.amd.com (10.181.41.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 17 Oct 2022 06:03:14 -0700 Received: from xhdlakshmis40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.31 via Frontend Transport; Mon, 17 Oct 2022 08:03:11 -0500 From: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> To: Linus Walleij <linus.walleij@linaro.org>, Michal Simek <michal.simek@xilinx.com>, Rob Herring <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org> CC: <devicetree@vger.kernel.org>, <linux-gpio@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <saikrishna12468@gmail.com>, <git@amd.com>, Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>, <stable@vger.kernel.org> Subject: [PATCH v2 1/2] Revert "pinctrl: pinctrl-zynqmp: Add support for output-enable and bias-high-impedance" Date: Mon, 17 Oct 2022 18:33:02 +0530 Message-ID: <20221017130303.21746-2-sai.krishna.potthuri@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221017130303.21746-1-sai.krishna.potthuri@amd.com> References: <20221017130303.21746-1-sai.krishna.potthuri@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT094:EE_|SN7PR12MB7153:EE_ X-MS-Office365-Filtering-Correlation-Id: edfa12a1-3a2b-4616-f670-08dab03ff65b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QhqgIIdG0ZIKeqKTUT0YtJ7eEkmoKYjCzO6eQ5KcYqfU9WCAGRqjBjcw6PwwTrKZBEnVfsUlHRZQtGC9g7E1GX/XdcCFKzBhP1PQi8wHdQgATZZ1dSv5bQGw58S/jMPQpkWQv487/CJWwY3cJPdaIAtwM1QAVUWdcgwXt2tJGLgVROZoTnOZH851gnARYa3ZArFwq0YwAVK+F1ECfU011KMQAp5IeoUaNnW3E8BZMEy1ShpccBhN59xTVKRKhsw8MkchcdToUbCIrSYT/lLMmkmgrLaZFhtSbUgw2OkjN8ExK+wlfgQG0BSwLzuwAfaIwURRUfUOmVZnsJ+zKtmKG9H8RDxLN3AySC1kKinnB5sq86Rg3uUzofnwBTW1UWWbqfoOaec9F2j8wzDosKC1Fu4BR5jeB5MxkpRgp5jD/EWZrIV4j1g1uArb1d9zUAD0D+t8UCtNzHrrFVFOVHA4J16YhibYASxoSht5cF2eDr+8yYbjDyntF7exeK0OYlAlKe4irkdsaYYAEm7lyHoJvvNKzOzsOJdzK0WPn7xwNXXgAc6SDRqx87xUn0n16+hS5H/VEzS1U1i6byoNAhtai1FGb3olUKyY04+dfEz1wjQYYyB33wA1rVgtV8oH0QnCmH0wzSSD32CACyJWE7wyBIrgeoWGJ7k+TOOxtBzg6mIBeMT8qwhfzO9SlB55wNlu4oE1hG/4ZH/16P/bZodYc+tcN5Dbh72qLA2oz3VyVe6/Yyn1n8i/O9G29odyLY7eEQCaVGWQUvdV0xciCgTl9ogmQ2YffsPZUjrmygUJo4Y= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(396003)(376002)(136003)(39860400002)(346002)(451199015)(40470700004)(46966006)(36840700001)(186003)(426003)(47076005)(36860700001)(336012)(1076003)(2616005)(2906002)(82310400005)(54906003)(5660300002)(316002)(86362001)(26005)(41300700001)(82740400003)(6666004)(70206006)(8676002)(70586007)(83380400001)(40460700003)(4326008)(40480700001)(356005)(81166007)(8936002)(110136005)(103116003)(478600001)(36756003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2022 13:03:18.7278 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: edfa12a1-3a2b-4616-f670-08dab03ff65b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT094.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7153 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_060324_109919_A4179E47 X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
pinctrl: pinctrl-zynqmp: Revert output-enable and bias-high-impedance support
|
expand
|
diff --git a/drivers/pinctrl/pinctrl-zynqmp.c b/drivers/pinctrl/pinctrl-zynqmp.c index 7d2fbf8a02cd..c98f35ad8921 100644 --- a/drivers/pinctrl/pinctrl-zynqmp.c +++ b/drivers/pinctrl/pinctrl-zynqmp.c @@ -412,10 +412,6 @@ static int zynqmp_pinconf_cfg_set(struct pinctrl_dev *pctldev, break; case PIN_CONFIG_BIAS_HIGH_IMPEDANCE: - param = PM_PINCTRL_CONFIG_TRI_STATE; - arg = PM_PINCTRL_TRI_STATE_ENABLE; - ret = zynqmp_pm_pinctrl_set_config(pin, param, arg); - break; case PIN_CONFIG_MODE_LOW_POWER: /* * These cases are mentioned in dts but configurable @@ -424,11 +420,6 @@ static int zynqmp_pinconf_cfg_set(struct pinctrl_dev *pctldev, */ ret = 0; break; - case PIN_CONFIG_OUTPUT_ENABLE: - param = PM_PINCTRL_CONFIG_TRI_STATE; - arg = PM_PINCTRL_TRI_STATE_DISABLE; - ret = zynqmp_pm_pinctrl_set_config(pin, param, arg); - break; default: dev_warn(pctldev->dev, "unsupported configuration parameter '%u'\n",
This reverts commit ad2bea79ef0144043721d4893eef719c907e2e63. On systems with older PMUFW (Xilinx ZynqMP Platform Management Firmware) using these pinctrl properties can cause system hang because there is missing feature autodetection. When this feature is implemented in the PMUFW, support for these two properties should bring back. Cc: stable@vger.kernel.org Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> --- drivers/pinctrl/pinctrl-zynqmp.c | 9 --------- 1 file changed, 9 deletions(-)