From patchwork Fri Jun 17 10:46:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai Krishna Potthuri X-Patchwork-Id: 582862 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45E19C43334 for ; Fri, 17 Jun 2022 10:47:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382020AbiFQKrn (ORCPT ); Fri, 17 Jun 2022 06:47:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381975AbiFQKrf (ORCPT ); Fri, 17 Jun 2022 06:47:35 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2075.outbound.protection.outlook.com [40.107.237.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ECA1271A; Fri, 17 Jun 2022 03:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ufv6AHc24PGfDh8rNNbVmEglR1LH8i3KsiNMfaKpu8QSH/T5qmCG4cuUzxdxzoVxd5WaEtEI4ipd7dH9LbNbETzqsIJfrzRXt3lBnaE1oeMNOmfD8km3Vsb+wNDwB3DZfN0PxgEw9Gzxj9sks7lniBsgncv5dsvDB3n30E4xgfsinCm1126WR2lDtc5Dx/K9Itb8Onuzt8FE8/thnAyipQfihmEB/hbwSUc1VT2kTbkLR6wmg273CslWQNq2/FVCnHKDFbA5PwhIkYAwK8528O4xMR9prW3254TS2bMo59lz+wK02ia4PcNyknEh4UZ40DvTMtc4W1s9FBq7aadgJA== 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=HC3R+vOEnFv40FR9MtEy5wY78xXPXvZvX2B2cehwhgQ=; b=QXWCUWZX+FjfrxnYfuIMwWT6f7+ZlkuwuWqTAbjjlG2O86evwWqwKrQFGFDtplHlR4SzSlNZEv3XB7hDrjS68PMhndmhorB9tELUMGbBLlu0JjnoU2QPzA+s+57erA1NDsJ6zqzIu/Ns2ZtgMp+6UNz4z82xBUueIhYw1bVz1pJg3KzOemBB7PUATv24NALVAb58pPOYONB3OyR826VT/7WF9tmnEsDi411yFj8bbJjkPxoPmHde3zv0MQ74CEyy6kTYIlxhh35anUS6eaFsppOWbMhhNHGaGPMcEva+uwk/J0qBTdYFA4EGMkzd6nMBf2vfudKRbnHHK2HwKQqWCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=gmail.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HC3R+vOEnFv40FR9MtEy5wY78xXPXvZvX2B2cehwhgQ=; b=pwNTHim5OhdXDkuNHxPNgW2lCx66+a0BE8Z5F7WpeE/FBpRoype+mgQIoj55NUklDJFH8PjwiLHVAxFhr2xn8F6ZEkIJrR1eLQ0qf+Xq5EJMw8uzxFwXCzls+S6TLbQQzNX1UlIxL0q2ZpfBp+qC7MOhnn7xlClA60F0c85xHLk= Received: from DM5PR12CA0008.namprd12.prod.outlook.com (2603:10b6:4:1::18) by DS0PR02MB8926.namprd02.prod.outlook.com (2603:10b6:8:ca::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.19; Fri, 17 Jun 2022 10:47:29 +0000 Received: from DM3NAM02FT058.eop-nam02.prod.protection.outlook.com (2603:10b6:4:1:cafe::a6) by DM5PR12CA0008.outlook.office365.com (2603:10b6:4:1::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.16 via Frontend Transport; Fri, 17 Jun 2022 10:47:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT058.mail.protection.outlook.com (10.13.5.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5353.14 via Frontend Transport; Fri, 17 Jun 2022 10:47:29 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 17 Jun 2022 03:47:28 -0700 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 17 Jun 2022 03:47:28 -0700 Envelope-to: git@xilinx.com, saikrishna12468@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Received: from [172.23.64.1] (port=60016 helo=xhdvnc101.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1o29Vf-0001Nv-Ri; Fri, 17 Jun 2022 03:47:28 -0700 Received: by xhdvnc101.xilinx.com (Postfix, from userid 14964) id AE6CB20F5E; Fri, 17 Jun 2022 16:17:08 +0530 (IST) From: Sai Krishna Potthuri To: Linus Walleij , Rob Herring , Michal Simek , "Krzysztof Kozlowski" CC: , , , , , , Sai Krishna Potthuri Subject: [PATCH 1/4] firmware: xilinx: Add configuration values for tri-state Date: Fri, 17 Jun 2022 16:16:56 +0530 Message-ID: <1655462819-28801-2-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> References: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 981606b8-dbef-4ce9-19da-08da504ec69d X-MS-TrafficTypeDiagnostic: DS0PR02MB8926:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZxeI1UiWGh84BvKz1UntHcKsiGwSaK1TMvq9fAVu/t4drE5FdxZcAGyQSUbvLXkkS+76cIhQOy1EGsCMStPhaEnoqwYxxwk877s+rj6NgzIMEGfZu7dWM1Ezuq8vuPO8QAQabk2r4vYAf/5aV3XUG0/d7u9xa8pqGecB/DXkIy7knPWvJAwhQaDJVmWwYDahrcoLNfo5xP9zp8muZKgoID4kgcX9yGpxYJsiNTivS30YWAnryGu9vOVha5JTUm/ihEr80Ky0HZdbtm5lzMkROxYhfkFXnfjuYMxSmwPEHKjmiJ+Ufe3KIDMzmdntd71N/3XY00A0jPqypZT0MW3VMIKC/2avkcE3S7LCPVhA9q6pqVaYXfM3XyO5F7ooKjwZoNjftZGx0bGz0woeEI+ihrfK19hblb+pMSPFso6Do3Ls3+z1EvMZkcdlgmQxZkc03BrvDkhW/AXMkZnt8I77jZgHOjNA5U64R9FfPXdxgtIeZxhszm0s4ceG8pqBXORvnu0vLjEMPHKJC5ahLQQ2O+vvmKBGeqS9mEAbfRaz42fDK9a2yHq68rPMq6cmjUhPTCiWFD56m9l9Lzq34OmHsMzx0h5xjQI/csg9VPPq1nUTu7NNXnkGAP+P/sUYqnksSnkKsMDbF0KADE35vbV6yNUcmdm7tWxn/SSJ2P8UElSsOrrR6dk2RBiyfT4PJm90PefmFdUoG1UsXrI6gbKe8Q== X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(40470700004)(46966006)(36840700001)(82310400005)(110136005)(336012)(26005)(186003)(2906002)(40460700003)(6666004)(4326008)(7636003)(356005)(426003)(36860700001)(47076005)(8676002)(8936002)(54906003)(316002)(70586007)(70206006)(5660300002)(107886003)(2616005)(4744005)(508600001)(36756003)(42186006)(6266002)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2022 10:47:29.5264 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 981606b8-dbef-4ce9-19da-08da504ec69d X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT058.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR02MB8926 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add configuration values(enable/disable) for tri-state parameter. Signed-off-by: Sai Krishna Potthuri --- include/linux/firmware/xlnx-zynqmp.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index 14f00a7672d1..7c4d2297cac1 100644 --- a/include/linux/firmware/xlnx-zynqmp.h +++ b/include/linux/firmware/xlnx-zynqmp.h @@ -363,6 +363,11 @@ enum pm_pinctrl_drive_strength { PM_PINCTRL_DRIVE_STRENGTH_12MA = 3, }; +enum pm_pinctrl_tri_state { + PM_PINCTRL_TRI_STATE_DISABLE = 0, + PM_PINCTRL_TRI_STATE_ENABLE = 1, +}; + enum zynqmp_pm_shutdown_type { ZYNQMP_PM_SHUTDOWN_TYPE_SHUTDOWN = 0, ZYNQMP_PM_SHUTDOWN_TYPE_RESET = 1, From patchwork Fri Jun 17 10:46:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai Krishna Potthuri X-Patchwork-Id: 582861 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F5C4CCA479 for ; Fri, 17 Jun 2022 10:48:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382169AbiFQKsM (ORCPT ); Fri, 17 Jun 2022 06:48:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382168AbiFQKsK (ORCPT ); Fri, 17 Jun 2022 06:48:10 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2058.outbound.protection.outlook.com [40.107.237.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A97D33880; Fri, 17 Jun 2022 03:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hGp7NNJruP+vxEd5nopeNuXMbNRFMTrxUPJ/VaOat0w05PlbZ/6a4yWxo8iSCfZArtquOH6FMKXEnJXAZD/OwjF2KMvUICyQUQKvikptai8wPnphbfGmV+2hFZKZOXd0xzp3eFw1k1SbRuZJFZx8e3M5coqAvQuM20WQbXk9nmKicq5D62WHPqGMe0Vb+Z5RdB9F3pP4sZoKSuiHgqbSixud3yfYzqRbZOT78TcXERVWyfsZ3cXHUKLpypX1ojEc2s1+VRV+QMaWQRML3hBpI1jHGnTxPogCoP7EYqa0rsc9c6/p07mtZaVbMc53l2RdrLdSLfZdfM1JpfkGyegxLw== 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=u3leZdyH2CWEiL6goxTy7JcaId0/DW7Ts5Og7sylZv4=; b=ld7bo3qppLZqWrTY1eUteTYQFrlmMivdVCzL1ecPRy51Y5SX+RahrHctLsdlbzLZJRYpfvKakl4tlBZx3ZHFG1oQ/hiHhNLI7j3b0GE9fuWmaqlcMOs5aIZhb4/Q/dbS7Ark/x4QASOsIPXItJYl5Q9yOcDMEIhB2GeOqgVj0tw3ezaQNbP26RAs4HBgL5YnD6wOmYaemcMVrkMfghsBENeYuUqDp+QlLAxScpW+WacQhFNZAfKJOEpK4XbxKjO3/eUFeT7oK2lSjregYv/5xmP2CSoLhtglNIvQiYUMZ3sNtD1/4feMsuAnbkdMqpfTI5xhUrZTup93jCMv32o8SA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=gmail.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u3leZdyH2CWEiL6goxTy7JcaId0/DW7Ts5Og7sylZv4=; b=WNDmysrJuPlscAlIcwhBjsuka3Dnbo7hVRGPSedAuQ3NcDneWNgoVrT83++Zwgj77hfwEyZj5by4u0WZWJ6nWn1pH78DdzoEOsOMaqyWRu1nqqjuumPY0Jsn1OBawv1HjfCuPyAhrWSPcPuEP8q8Y4EJ+6nxw2lvT0XsMRkdM3s= Received: from DM6PR03CA0036.namprd03.prod.outlook.com (2603:10b6:5:40::49) by BN0PR02MB8061.namprd02.prod.outlook.com (2603:10b6:408:16e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Fri, 17 Jun 2022 10:48:07 +0000 Received: from DM3NAM02FT023.eop-nam02.prod.protection.outlook.com (2603:10b6:5:40:cafe::6a) by DM6PR03CA0036.outlook.office365.com (2603:10b6:5:40::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.19 via Frontend Transport; Fri, 17 Jun 2022 10:48:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT023.mail.protection.outlook.com (10.13.5.127) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5353.14 via Frontend Transport; Fri, 17 Jun 2022 10:48:07 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 17 Jun 2022 03:47:41 -0700 Received: from smtp.xilinx.com (172.19.127.96) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 17 Jun 2022 03:47:41 -0700 Envelope-to: git@xilinx.com, saikrishna12468@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Received: from [172.23.64.1] (port=60018 helo=xhdvnc101.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1o29Vt-000Azk-1E; Fri, 17 Jun 2022 03:47:41 -0700 Received: by xhdvnc101.xilinx.com (Postfix, from userid 14964) id B371021632; Fri, 17 Jun 2022 16:17:08 +0530 (IST) From: Sai Krishna Potthuri To: Linus Walleij , Rob Herring , Michal Simek , "Krzysztof Kozlowski" CC: , , , , , , Sai Krishna Potthuri Subject: [PATCH 2/4] dt-bindings: pinctrl-zynqmp: Add output-enable configuration Date: Fri, 17 Jun 2022 16:16:57 +0530 Message-ID: <1655462819-28801-3-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> References: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b5cc2bcc-e5a3-45b0-1e57-08da504edcff X-MS-TrafficTypeDiagnostic: BN0PR02MB8061:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mEO1Vsu7GnjgAkcBrHyWpag+ReUE3YJpxwH6igWQYczUwgZ8b+ldNwjGBhxDQKa/b80Ekj48doqwY4WbYMz7AXXkiCV1zgxnpuaKeg2n7YH8FFvsuceT6pe37xMPspsT7P3jBodCgvkQhmgPC0bVBljjXHUgX70UcXSu7iGRoxKWXOch5tK+hJlJae50DY7K2px1EpWtZIeg+erl36+WeBzbp0tc3FSuYHfPVwbosNTAsl9AjStiyWcsf3/l74KhaQFeMQb40fSGofpOh51BqrbDjQWFkjkrdi5t2Bmw9IiGByyVACHto8G7eWXl4R+SCPspaRwb1+PyJr44Kml+ObhwpjyjbCNHJxD26aTwLhSyORkNCMqo1t70Y23q9eV7hhotmGfED+7WWKzJKskAv6MI3Jv5UYwHVirJbeYACQHMxdKXAUyit7XVBqR1Vxr49ey8TxihZyjF5xfT4xvjwy8M7l2f5YSqX8C9LvJIHbaFmrV34RbAwoGjyFNRYJVQBsAiNecG1jbrj6y5+hDcQ4H1UDQeczxC94brdnnAspvJFYW1f4rmD9CrEpt0ZpL2vFUE8cVCGi5OIdzRKrZkFnst8xjYFPGugwGiLX3jSEduHyFbZYPkE39r3XEtQz4TyZwmimnyDkvqfCSTzS/MHqo1/5vn6KnO1loVUe+qxyJaejsV+s9eqBEmiPnrZlMbzQhcSdlK+dCZQtJaZVy8vA== X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(36840700001)(46966006)(40470700004)(54906003)(336012)(107886003)(110136005)(82310400005)(6266002)(42186006)(26005)(47076005)(70206006)(2616005)(4744005)(426003)(186003)(5660300002)(316002)(498600001)(40460700003)(36756003)(4326008)(8676002)(356005)(6666004)(2906002)(7636003)(70586007)(8936002)(36860700001)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2022 10:48:07.0787 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b5cc2bcc-e5a3-45b0-1e57-08da504edcff X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT023.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR02MB8061 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add 'output-enable' configuration parameter to the properties list. Signed-off-by: Sai Krishna Potthuri Acked-by: Rob Herring --- .../devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml index 2722dc7bb03d..1e2b9b627b12 100644 --- a/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml @@ -274,6 +274,10 @@ patternProperties: slew-rate: enum: [0, 1] + output-enable: + description: + This will internally disable the tri-state for MIO pins. + drive-strength: description: Selects the drive strength for MIO pins, in mA. From patchwork Fri Jun 17 10:46:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai Krishna Potthuri X-Patchwork-Id: 582672 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9700BCCA479 for ; Fri, 17 Jun 2022 10:48:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381933AbiFQKsE (ORCPT ); Fri, 17 Jun 2022 06:48:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380514AbiFQKsC (ORCPT ); Fri, 17 Jun 2022 06:48:02 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2043.outbound.protection.outlook.com [40.107.223.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24F6A64BDE; Fri, 17 Jun 2022 03:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iiac8m0crUL5yIa+oAPe4V3oRr3NRBWUhc4hHy+GxKdlWgVuaJIjl7MfWwAn6C7ku8ORqKDF7CXO5q/OpjQU0j9fJ7Y7h2o54QZqwIZ1fkIiFL7isJg5aXC2ioXmOOydabYhEkrnteYA9MH/RdAHSa+qiPEQc+0W/S5h63d8bhtIrFbD+8t6RRVOC+QTe64Y83SzvomhKQwOykXpTy9MgFDqDx5uOc/GRvCaP32fvcE/yr1SW1IlH6fJkv5eo6xJkZJXfARd5Kk+KU+BlI+gCCs43xK4ey4QR5pRD3M45jjCDxmV7G0c9oNqG4C/MA1iAHXky6vbAVPEbfzP5i7O5g== 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=K+Sr14pksdLyrxxdBOMtkBYHPvMFWVgs/WfZnfF/+pM=; b=deegUGb8M2QspFI1YWCIX+r1vh4eStnwt7VsGXeYgYI/vjhDnp4zKgjMKvnzbSkuT0Q11lxzVwepyiP++wHvVRVgsGmTbXys8X9dH0IqcJR/x7/Q1VbB/aDYKXzSKAHPwoxFNG+WFZ44oMLvpGagq12QEnKWMap2NiZyCHC8nQPYaxW404Zv0VearwgkTVunu7Bs7aXgPmRRt+eR4Rzwy/HTIw9GxdPo/Abx68bk9s/Ij25voUEfjoH3M4C8wADwntz0/j7tEgAVuuIoMN3aIMgSM1Uj+LCa1ET4OcGrUTm7UVWZi6c3t0oCcwhxvLaxraLZdDOvPqsfwHwbQZPq5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=gmail.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K+Sr14pksdLyrxxdBOMtkBYHPvMFWVgs/WfZnfF/+pM=; b=aBAG9owIyaMPgvCIMiNHsaZjfOyAWVpc1SIOYbwYRPGjuKbO6ah4hu6NM6666cxrGrcwyvfnNKVhfoYHyjsH1YETcTk9y3ktspvtdeO459bJGfxgkezTL2T3iU9QqjN30R1HzsrJuIQ3wWHeNB72IVeYVTtWv1H7eXaSof20zaQ= Received: from DM5PR04CA0031.namprd04.prod.outlook.com (2603:10b6:3:12b::17) by BYAPR02MB4981.namprd02.prod.outlook.com (2603:10b6:a03:71::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.15; Fri, 17 Jun 2022 10:47:56 +0000 Received: from DM3NAM02FT020.eop-nam02.prod.protection.outlook.com (2603:10b6:3:12b:cafe::28) by DM5PR04CA0031.outlook.office365.com (2603:10b6:3:12b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14 via Frontend Transport; Fri, 17 Jun 2022 10:47:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT020.mail.protection.outlook.com (10.13.4.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5353.14 via Frontend Transport; Fri, 17 Jun 2022 10:47:56 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 17 Jun 2022 03:47:54 -0700 Received: from smtp.xilinx.com (172.19.127.96) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 17 Jun 2022 03:47:54 -0700 Envelope-to: git@xilinx.com, saikrishna12468@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Received: from [172.23.64.1] (port=60019 helo=xhdvnc101.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1o29W6-000B0E-6x; Fri, 17 Jun 2022 03:47:54 -0700 Received: by xhdvnc101.xilinx.com (Postfix, from userid 14964) id B974621637; Fri, 17 Jun 2022 16:17:08 +0530 (IST) From: Sai Krishna Potthuri To: Linus Walleij , Rob Herring , Michal Simek , "Krzysztof Kozlowski" CC: , , , , , , Sai Krishna Potthuri Subject: [PATCH 3/4] pinctrl: pinctrl-zynqmp: Add support for output-enable and bias-high-impedance Date: Fri, 17 Jun 2022 16:16:58 +0530 Message-ID: <1655462819-28801-4-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> References: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1babcc64-0787-41ca-b0e3-08da504ed6d0 X-MS-TrafficTypeDiagnostic: BYAPR02MB4981:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0XvK+oYiOSW0ooR8hD9zhQntL4WLqoFSsdQhpmQRE5pg+pdLWy9C9Sv79tbDv/IBqNN58vitmnPJg+lssnKJ96i2YWpQhxU+huyvPWDKj4d7dn7a64JWCxshvuiEuCJy+SdvHR5e4LLa38YmUKB/KsuMGxmKHUBoj1qV//WEoweErVf+w2CgtCGoU9p0BAZkX6hzihrlzrE/CD74ukcA7ZmwkUOi1YkUg2UDBD1XK6fh18rZlM3IMWwLJoH0fe9Qr9iB48ugOUKTaYLC/WGd0AMGz0Ycwqt32qd78YTN8kyqcv1LE9jkvtR2WCXNfv4EDHNb9lXYv4i+i5nce7OmjNWMsz5HiSBPBJPf7VegdU2+7d/iQtyh27thr9nguJ5phuLQcDjRl86sImqJxQFtMnmsIlmuNzeGXZcvUTSgp5D2Lz+6GsxuJ+6ZDiKtg/U4WRPFIJqTgLWrMOUzN+K/biGevVxrzc37yuaX4yYjNtR3YtNzXtVdNougwKh8clPrUOLOiKwaAzCjlZRMhlk8vOgBgdO5Rh0LW9YXBLUWH9FtymG00MIr7sY2oUoEIkBz7k06qVhR0knBOirCCqZbL0ie3gP2JaZ2ZwRyTLXqy+1wzp7PL+EzDr8cGjOt2MacR5LoaWZyq+JD+v8IE0xaqz8ZS6KYlijfxqDhz8ViDxachoD31zuTqTnJYh54TrsXOjZ928FC8CFcdH71sNMXlg== X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch01.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(46966006)(40470700004)(36840700001)(426003)(40460700003)(6666004)(42186006)(36756003)(316002)(82310400005)(5660300002)(107886003)(8936002)(356005)(8676002)(110136005)(336012)(2906002)(47076005)(508600001)(54906003)(26005)(36860700001)(2616005)(7636003)(70586007)(4326008)(186003)(6266002)(70206006)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2022 10:47:56.7081 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1babcc64-0787-41ca-b0e3-08da504ed6d0 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT020.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB4981 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add support to handle 'output-enable' and 'bias-high-impedance' configurations. As part of the output-enable configuration, ZynqMP pinctrl driver takes care of removing the pins from tri-state. Signed-off-by: Sai Krishna Potthuri --- drivers/pinctrl/pinctrl-zynqmp.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/pinctrl/pinctrl-zynqmp.c b/drivers/pinctrl/pinctrl-zynqmp.c index e14012209992..b25e9e76fbf8 100644 --- a/drivers/pinctrl/pinctrl-zynqmp.c +++ b/drivers/pinctrl/pinctrl-zynqmp.c @@ -410,6 +410,10 @@ 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 @@ -418,6 +422,11 @@ 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", From patchwork Fri Jun 17 10:46:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai Krishna Potthuri X-Patchwork-Id: 582671 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8065ECCA47C for ; Fri, 17 Jun 2022 10:48:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382166AbiFQKsh (ORCPT ); Fri, 17 Jun 2022 06:48:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380514AbiFQKsQ (ORCPT ); Fri, 17 Jun 2022 06:48:16 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2052.outbound.protection.outlook.com [40.107.94.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94772192B2; Fri, 17 Jun 2022 03:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eJG2AcXJiC+k5mWXP5FozdI35EMXw2Tfo46eoIB18tdGolNy142gbe699kYKDpReor4SzCmPAKx1L2GLVr8O3imkEYIsFhKzfoIsrKXGg+bbvElqbKEhr9EXBiOFHcfpXRXsW+qbOgqyEXw8nHfW0VCeiyv9yCFkmJ2H8abW6pFfmQe/LawyRi/lIZnmFTzJl5mfNpvTCMezU4QASqRIT19oNG0bYLIJPS17/ptqBaaYXS5DGqTkBCUBRAQSWqkn48lhoXZv1C/VzGsFT2rgIt9A4xkT+id8Xo4KNvDnXhVpvf0xoXXVjesmsx30sidqzAEfoXdGXMXIlKIKEKRGJw== 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=SQzEp2+660WAMs2N0VB+RP4Eg5ZmuxHB8GEqAhaakkM=; b=iXYkghlTYZvG4dYxtGBso7+MvmJ6auxBPwErUNZYQFp/Yjxb280srzlu3osfCR/+xdyVRj7j5CeuP9op32fkjFX2iRdYAWFvAjoobD+OyPCCdZkrhLua2cCnGAcGJnaqnHOzmA2xC7xhLK3hhU6FYAg6nUXT145BxILI5Kn7i773N8Qm2T/gW5yKKfIYsMOs0VjigJlVCDCdZpzSoEJnM166NL7NliXa+6O8xewynMv108PkD/Gae1fsD5wtuZcyrXMb4zxQuF/H9hy9moxx+3xg2sSIxoU3Xr+xgxIwPPC7Hh1dwtI29Gaaz893/vKYzBtD8uk6ovTg7mpJYJL11A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=gmail.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SQzEp2+660WAMs2N0VB+RP4Eg5ZmuxHB8GEqAhaakkM=; b=kI/UXC1xdaD6rtf/O3qdMs09cGwCvdeJx8c8Z1n3n/JTc1Skwbws9uAbxgIZcL4yYNRz27PiufUklI/PrcDQn4FEJmQKWIzQjVww5UPXQO2Sn6qzVkyAaXxH8fkw8mWSs91Lf7JmySd4+r3noLnkxtNchQ556jjpzF84pOU/tTQ= Received: from DM5PR04CA0043.namprd04.prod.outlook.com (2603:10b6:3:12b::29) by MN2PR02MB6159.namprd02.prod.outlook.com (2603:10b6:208:184::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.16; Fri, 17 Jun 2022 10:48:12 +0000 Received: from DM3NAM02FT020.eop-nam02.prod.protection.outlook.com (2603:10b6:3:12b:cafe::fa) by DM5PR04CA0043.outlook.office365.com (2603:10b6:3:12b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14 via Frontend Transport; Fri, 17 Jun 2022 10:48:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; pr=C Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT020.mail.protection.outlook.com (10.13.4.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5353.14 via Frontend Transport; Fri, 17 Jun 2022 10:48:12 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 17 Jun 2022 03:48:08 -0700 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 17 Jun 2022 03:48:08 -0700 Envelope-to: git@xilinx.com, saikrishna12468@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Received: from [172.23.64.1] (port=60020 helo=xhdvnc101.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1o29WJ-0001R2-Gr; Fri, 17 Jun 2022 03:48:07 -0700 Received: by xhdvnc101.xilinx.com (Postfix, from userid 14964) id BFD3021640; Fri, 17 Jun 2022 16:17:08 +0530 (IST) From: Sai Krishna Potthuri To: Linus Walleij , Rob Herring , Michal Simek , "Krzysztof Kozlowski" CC: , , , , , , Sai Krishna Potthuri Subject: [PATCH 4/4] pinctrl: pinctrl-zynqmp: Fix kernel-doc warning Date: Fri, 17 Jun 2022 16:16:59 +0530 Message-ID: <1655462819-28801-5-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> References: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f6b9e3ab-e4b8-4244-5207-08da504ee01e X-MS-TrafficTypeDiagnostic: MN2PR02MB6159:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D5IZP56vt/UERjRaBqj3XhPX1hz1Tx5wm34fQO8swzD1dHQLnIxgA3WetrdOZHYdf1GbtTmod2KGO9AUUkJSQs9GQbeCUecryMaI1sun++M4Pw3BfKUO2tQWm3j9LXj/tr709PBXtkwJbYDdO0rPIsSYDXoj+aBy7F5knhf/N4j1bO8P7HavimA6Q5Y2rhcjiFL9ixtpBiFuE/eA/krNnRRCoyPOzSQGA/7kzie2KWLh7WH+y9feTTA/1FOZ8vaT5LVTHQfzGgZG7UWIm9xBkMjab49fANS2Cc9xcBp31lCvi+D+lZFCxZcrNKur7eyNWnhJ7TTZhUSJ6GUA8Ax6R/Uow22McnfblXWHOcISoZSFJvTfmcfWLk8eRNGpF4o2wYUhCVD+IEY9Ob5+aQ7gjWbOEAzNg5dxkuiXEv5mTg7CIe2KYENNF5Cj5RXfte4uthZ7ED1TVy+omlOMv26I+3RepYNPECnd0G2KY8aHCqKLju9Tsf4jPHWs53e/p+zpDdg/I/6KQ0XG3y/0nOgeo4ZcO69Fp+alhTPBAUe+WshiqjVoKfVDMuQy5Zws/cZ+WUGuOM1xpda6XcUwBidC/ZPodckNVLopaxJKvV4EsGmm8lV2JiEcJ6U6Y8QI+dGkxigtrZNKAVDq25vodBb8DH0HPpejZfRIxSexeGhLUXcNQKqrhBY6Kbub55psy2DKVEmC9AMHMug4ItAmrqSQ2A== X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch01.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(40470700004)(46966006)(36840700001)(83380400001)(82310400005)(8936002)(107886003)(42186006)(70206006)(2616005)(36756003)(110136005)(316002)(54906003)(8676002)(2906002)(498600001)(70586007)(7636003)(40460700003)(5660300002)(6666004)(356005)(4326008)(36860700001)(186003)(336012)(426003)(6266002)(26005)(47076005)(4744005)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2022 10:48:12.3319 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f6b9e3ab-e4b8-4244-5207-08da504ee01e X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT020.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR02MB6159 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Fix the below kernel-doc warning by adding the description for return value. "warning: No description found for return value of 'zynqmp_pmux_get_function_groups'". Signed-off-by: Sai Krishna Potthuri --- drivers/pinctrl/pinctrl-zynqmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/pinctrl-zynqmp.c b/drivers/pinctrl/pinctrl-zynqmp.c index b25e9e76fbf8..7d2fbf8a02cd 100644 --- a/drivers/pinctrl/pinctrl-zynqmp.c +++ b/drivers/pinctrl/pinctrl-zynqmp.c @@ -163,6 +163,8 @@ static const char *zynqmp_pmux_get_function_name(struct pinctrl_dev *pctldev, * @num_groups: Number of function groups. * * Get function's group count and group names. + * + * Return: 0 */ static int zynqmp_pmux_get_function_groups(struct pinctrl_dev *pctldev, unsigned int selector,