From patchwork Thu Aug 1 12:00:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Potthuri, Sai Krishna" X-Patchwork-Id: 13750277 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 084C9C3DA64 for ; Thu, 1 Aug 2024 12:31:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version: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:In-Reply-To:References:List-Owner; bh=rRjF29+l/Gp9On4fgD079p8k3gzhuOxeY10ZewmXWJE=; b=QgLotXI5lpBW/jTONz4yOl9e4d ShnT6NM38M8PaW51T85QBxloMnxuR9zadrS7fw4fubLmxS8z6+8zHZmrcTDoPuDg2Y4tSwQYUJaQb 67avh3VTZfB4/ZHA24N712+m+bGaMwz/pEIBwVdiBjFI7U1BKmLklTN+4FhSsUtaKrzr62uIi+9/G vD5RxrtIm9CF3azUZhYZQWzDBBBlwYxz0plqscDrrmlyj2HK/bB0h2iKxbGY4t3+qKM25O4DPzPXz ZOkKqcovZ7ZeijPhwEYLSaGaX8hLKyxsy9DXoXSNsBXOPRV1KDrBfOEUgGTYAhbwdt1ruqn/pXAgA Eb1q6Nqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZUy0-00000005CDH-0p2D; Thu, 01 Aug 2024 12:31:36 +0000 Received: from mail-co1nam11on20600.outbound.protection.outlook.com ([2a01:111:f403:2416::600] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZUUF-00000004zK3-3Xza for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 12:01:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fQLed4y8vcOWIAezTNL3LSmF9x5oGHJLcmg8/liHzdQ5527gJCm67Jcq/w1z+ZOpJxeFB57AUnJCVbUuPLCRn+JWLg9YDu36bDHOo7kbtGqkvuzKWkM6ussU22IEufqCbqkVv1/cFAnND353jAAqs0j2FODc26tVQGhJ0vKP43neImghUSEydXSKebQhkBJIi9o2F78N7vBZj6BTHy9dV/qlv/8+iNgcoxEzB7Y3vk2fT48ewj7/osrW++VgmPcrpACKZGpPblRh0sHfnQgrrvSXDf+yMaRh8UM1caW83kz5+zy5OgjMetTSZA6Mtxt94W+BQqUxObMMo6rlaF/+Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=rRjF29+l/Gp9On4fgD079p8k3gzhuOxeY10ZewmXWJE=; b=mm2vgUBlfqsCuPGdS/ZnMpQknbhFFa6gntE2Cpch53269BIDZPtS5v4a5sTFvXs3VOD3tH3ssUXuBm0gW0tHmQ7rbTndqpXPKXQGs2An9Y5Wgp6BP+YqNmaAOpRxW3i/c8GNn2x/YHE6Qn/DCxEtxRYa/BKQGBe9PDEtCX/Xz2/gye4ktKfxcpP5CLA0TnUgPi2nfsI4BfaNTWWkCQHjQLBC1npSxbOw/CdXCrbowOrYwLEmZTJsigrHASaqjSAx+HOnKAQYLuwECzu/r1Rrg2OZFsUaYuaaS6McZXrdhToxqJbizVrgms6ACTCHLMX/FB3zg6yFhG6WaYtPxNZ46Q== 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 (0) 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=rRjF29+l/Gp9On4fgD079p8k3gzhuOxeY10ZewmXWJE=; b=hVXxq5/0CrqKirabVigWWneFVrjXXFuuemiPoBEEJT+rZdBVVK8SNzmJVizGub1Dya5Gl5PLDh61eSYbkuaMEL4/9HEKm8HFCb46UQ6O8TeEqaC8imEp384zBWb92tsjZ4jH+DaoUjvtXRuVyGLXBE2umJDXeevrl5m1fBypJIE= Received: from CH2PR07CA0047.namprd07.prod.outlook.com (2603:10b6:610:5b::21) by MN2PR12MB4221.namprd12.prod.outlook.com (2603:10b6:208:1d2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22; Thu, 1 Aug 2024 12:00:35 +0000 Received: from DS2PEPF0000343A.namprd02.prod.outlook.com (2603:10b6:610:5b:cafe::a4) by CH2PR07CA0047.outlook.office365.com (2603:10b6:610:5b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.21 via Frontend Transport; Thu, 1 Aug 2024 12:00:35 +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 DS2PEPF0000343A.mail.protection.outlook.com (10.167.18.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7828.19 via Frontend Transport; Thu, 1 Aug 2024 12:00:34 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) 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.2507.39; Thu, 1 Aug 2024 07:00:34 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 1 Aug 2024 07:00:33 -0500 Received: from xhdlakshmis40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Thu, 1 Aug 2024 07:00:29 -0500 From: Sai Krishna Potthuri To: Linus Walleij , Michal Simek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Jay Buddhabhatti" , Praveen Teja Kundanala , Greg Kroah-Hartman CC: , , , , , , Sai Krishna Potthuri Subject: [PATCH v3 0/3] pinctrl: pinctrl-zynqmp: Add Versal platform support Date: Thu, 1 Aug 2024 17:30:26 +0530 Message-ID: <20240801120029.1807180-1-sai.krishna.potthuri@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: None (SATLEXMB05.amd.com: sai.krishna.potthuri@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF0000343A:EE_|MN2PR12MB4221:EE_ X-MS-Office365-Filtering-Correlation-Id: 3779caf7-39c9-48ee-d493-08dcb2218d11 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: Sqawm5JUbxXIj4lYz7hIvA1tDgQ2FNz1JrdXTWsUmwh0TTDgPupg+IsLj/Q2xbkWcsW7rYPCavBMDsVNmVMAXJAHdcjI9TtEr/nRtRoRnn1/KY77DhAT8O+1rQ/pLZ/9wDl/q1LggjRq1HlXniZyv+Xz945XI+TMnUKUHY85EMBO7Oqb4SqxD12dZFKnWnwfrVeTOV+j6XgS82IHY4FoqsV5hiDnIOtuQo8uDiUSlIUzhqtd/1L5xLSYiBPw9y9aSTzY4UcflbnwHXWlKIATwLYVQW1e2g+BcAJaUfZzqSBeMLOKvqOx9wTjzBuTOl+/r0C09rUxNOBgX6Vlq8vpWqQeqnedbGy71wQhkts4yTB1XT7rCXbYB1APeH0UU/jOx+fhqlL12+G8ELakRiGkSMZeR3YUk16kcUCCkQKFuJItVqcJ7y2v3yf3sS5Lykws9CwasqaFu8x/dD0PTl8H81CtpiGtA2MHdjzqgIIxH4NBwcYcJ1WupueUZboMbh3cZeKddzEjyvAECMAjvxvknY2gMRSdow7CdaNor3QvR7eAzsySi8N7dt7t6BzNrpIsvPNYXrrUYOlhHoPTVjOLb40g+g69X73Mm0XI8N1H8RY+5x8Q/n3BrMWltIkrOjSZZoaUWaHcn/0xkMNYserCA8xoCe3MN6DogJXLv03QHey8F+ozagdkOLD8QMOGJWTZKhIcskE1zEMDZHN61j20HZ1aieZa4aCS7pJvfBQlEfIvBnwcK1TvtW9f5Gtx/9ivL8UXPwe7m1Id5pGSyzTNFOoibOa+8SW3cYyHKaMdGOckoy2LM3+XT1XY6LoI4yMsiLtgTBfiPbPr9clcQilLIY0FI7gAoe2WSorJiLlysdnv2g5SPI/15B+TdyzvSytJfosV3zo2JkgAGSphxajZO7RMftQbZWhJNW57xq6EXMHGts48Ok1NC2s0HA6Vi+M2YaWsvdL71v3qOBG8O0aqooKD33LDZJNP6MaiObIE5nCmr5LIrkB3eNrf+jRJnLfRCDHx0cjmctu+mY6PvXhAnqu7s2IzcUNW18NV896H8c+Z1f5hnZjqY1DAvrl/iZykAnO3fCuY74NasBeSsL2sOcEnUk9zAj5L1w4Kngj+D8Cftt1sTNXHX2fG0P/FkqKBA/PpnbuXTCjmoWWCiUAT8rPRLxpj/kSisqxB+yHyOai0fzHN0mPilW74gWavnM5Nx9B/CUlBR0YHMhJGMQ1emSx0YGJVb2mkm6OjuvLPqBO3sirkB7KuQ4aQ8L65axaoq4RwGf3Agv9rj+qPmSs1wZopF60JawmgljHM656qLenb7wXw6KOqOj/t1mCd1T3giaZfHKcX1oqMz4RIzgPQw+xuS/xfYn/RXTiWAtz3VyIKpUOlXxODwCWFHAnGcnA/A1k7kTxtuy1ZO4EnO7zdRXzr6zic7ezxp7XrghhCaT3f/Z36d4gDgS+R/ekZD1cO 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:(13230040)(36860700013)(82310400026)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 12:00:34.9095 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3779caf7-39c9-48ee-d493-08dcb2218d11 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: DS2PEPF0000343A.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4221 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_050101_861342_09E21C33 X-CRM114-Status: GOOD ( 12.75 ) 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 Update the binding and pinctrl-zynqmp driver to add Versal platform support. Add Get Attribute ID in the Xilinx firmware driver to get the pin information from Xilinx Platform Management Firmware. Changes in v3: -> 1/3 - Mentioned all group names in conf node and also defined the conf node properties in $defs (suggested by Rob). Changes in v2: -> 1/3 - Created new binding doc for Versal platform (suggested by Rob). -> 1/3 - Update regex for pins properties to make sure it always starts with "LPD" or "PMC" string. -> 3/3 - Used firmware API to get platform information to differentiate platform specific code (suggested by Jay). Sai Krishna Potthuri (3): dt-bindings: pinctrl: Add support for Xilinx Versal platform firmware: xilinx: Add Pinctrl Get Attribute ID pinctrl: pinctrl-zynqmp: Add support for Versal platform .../bindings/pinctrl/xlnx,versal-pinctrl.yaml | 398 ++++++++++++++++++ drivers/pinctrl/pinctrl-zynqmp.c | 97 ++++- include/linux/firmware/xlnx-zynqmp.h | 1 + 3 files changed, 491 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/xlnx,versal-pinctrl.yaml