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: 12885549 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 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 4DF62C43334 for ; Fri, 17 Jun 2022 10:58:26 +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=XRa6BqQSVD8l+s3X/g9BCpemPHbmMnpO7jSi6IMhgHM=; b=3Clt5JAfIFAcDy hYhe9ufcKkusd3raAQh8jJKLdwxy6M6H9ES2Q4SsddJwJWub2xPKxv+CvIjVKMnsM63vxKd3MIyqZ MC+7kUwQPba6EYKBcZME/6U4yByG5yyylVnFsbOhUV71yf4OwDix/K/nr7WerwbVNHlUaQs6Trwz2 qVx7W8lxbGUHXFVnWA8gZZYKcLpZasdrIBWi/V3WGXXFzeeR6vV94q8glTu6z9exkXGDvk304sOzG JgTKRuI60OhUHRu1ETiPz9DL7EmNP5LGQsrFSzN4lFsqOu4nG2TjOzLzah+sdvirBPVrT5OGcwzod LVc/u89/Ly3p6VYvjgqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o29en-0077dH-Rg; Fri, 17 Jun 2022 10:56:55 +0000 Received: from mail-bn8nam12on2069.outbound.protection.outlook.com ([40.107.237.69] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o29Vo-0072uM-MX for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2022 10:47:38 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220617_034736_774967_F4B3A06D X-CRM114-Status: UNSURE ( 8.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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: 12885557 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 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 69D7AC43334 for ; Fri, 17 Jun 2022 11:00:34 +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=p8vFdqHk/M3QW8SdnasRaVubdMScV/D0/wiq7QeH8cM=; b=u5fAu3Ke4GxNiS LpgJHUsZa0pDAl1FU5MpfrDBaFA3d7zgeR+3gApp1I2DJagRdK4uALNmakgp+ZXEKC+N6JAz3+0MQ pG7606UiIVu/9VIUkI3kR0oc7NhRsTpHdTxPky5s7ayQOWWEB5+9ruOo5sszXDNJtug+uOKUlJfr0 hNphVvLfj+PEt7hpDyJBrWU5Mq/x+GiAsD59lLs4Bu3fLjLKHRVrEGnA2KBu4Pff+l0iOFk8pg7Cj HklizJ9ZnxMIxjsHzhbDiKb9HG3VY2ZCtEXTxPp0W0Rd57cn4/i2W+bUY/21drXbdAkVV2DIGH4tB uCqrUGETsHiff/nGu67Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o29gx-0078Xn-Lk; Fri, 17 Jun 2022 10:59:09 +0000 Received: from mail-bn8nam12on2087.outbound.protection.outlook.com ([40.107.237.87] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o29WN-0073E0-9b for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2022 10:48:12 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220617_034811_443933_1457B2DE X-CRM114-Status: UNSURE ( 7.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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: 12885556 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 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 10ACAC433EF for ; Fri, 17 Jun 2022 10:59:37 +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=zUI0SewX6oMWKFerFZg0CPeFPdwJDNQJ9i7aFdajvdA=; b=U4+6nMOZmILKO7 lPD2qxPXhXC0VjX3xnG7A2xv5AAmnSw7jq8W2336a3mRmADgQn33EAQ4AF07iFuhXB0Q/4ZxMYT+O ttkY6vtgvWQ/DliD/1p2mZ6z2qI46e3DTqaVzrbEcSsffbByTZB5MDK48IfUVKpyUuw363HXAL6ss czjt99oAyAOX4PfLGtbGIpvt6a478sxlshSyONx4E6s4JL3t2cxpZlGFMFXD3qyvmGoojKItuLvHi SF+6pRabzL1zWuKp8nU64//nfIESQMbABZ1wazY05TUXrfMGRfnD42V4BOJWfQQRu+YXjSDzlPd3Y +tHhucr5IFYnCnEWRtJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o29fx-007899-OU; Fri, 17 Jun 2022 10:58:08 +0000 Received: from mail-dm6nam11on20628.outbound.protection.outlook.com ([2a01:111:f400:7eaa::628] helo=NAM11-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o29WF-0073A9-Sn for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2022 10:48:05 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220617_034804_039283_5424ED27 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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: 12885558 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 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 89864C433EF for ; Fri, 17 Jun 2022 11:01:30 +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=HxW5iB7FD95+BaR/u1EtT1VTCdAnhqKG0s9F2IcKIFQ=; b=BWwo2RiDQDsC19 n4cDFwARAjgy3UgDFmhg77kJLmoyvC08rdMk1aDVI0E/itT6gH275kCTbPfA825ALuBG95EySf2q9 86DB6+iDVLV2mmKHVKcVxCf64tgaxY0ogl814eTsAJ/yBHaHzKxtOFpBBxPckQ5QhUypNQpChYXMn 0M8y8gB2foAYoPtAGtm65jGcWRXGLa4DRZf/am1yNoNWlTs5g1YoQUlEvcL4CT8rLXeVlgGh/HUF4 lJEYoxyzuMoAWZ0yD68wIDxpmpm2rx9ROEuJKfQ4Zi8Vsbo92Y/g37mE8Nfazliaitb8dhuLEDFPo xr89XYKqYbZ51di8frsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o29ho-0078sY-NM; Fri, 17 Jun 2022 11:00:03 +0000 Received: from mail-mw2nam12on20614.outbound.protection.outlook.com ([2a01:111:f400:fe5a::614] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o29WT-0073Ht-FG for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2022 10:48:18 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220617_034817_557993_F8B0298A X-CRM114-Status: UNSURE ( 8.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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,