Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp223816lqd; Tue, 23 Apr 2024 23:23:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDmxT5pF7IrzQTAb/FfKeWmhRbEMf+rcLAI3uDNkt8AtPdjPdlQywcBDDi9R4e0v6BNg7yVYhJLhtAdxqefr/2FA9yqcDGFkm9Q2a9KA== X-Google-Smtp-Source: AGHT+IGysv4486CJLuBkB6u1B/uk1aaqGAkbgQeIKHKCQJiUhRCI9ttovmVg2WFwCVAw3u4op5WL X-Received: by 2002:a05:6a00:2ea9:b0:6ea:c04c:a899 with SMTP id fd41-20020a056a002ea900b006eac04ca899mr1902892pfb.20.1713939803053; Tue, 23 Apr 2024 23:23:23 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id jc12-20020a056a006c8c00b006eae83fa41asi10298349pfb.151.2024.04.23.23.23.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 23:23:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156355-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=nVn89AbM; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-156355-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156355-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6C8CE28553C for ; Wed, 24 Apr 2024 06:22:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7CB7156C6D; Wed, 24 Apr 2024 06:22:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="nVn89AbM" Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2075.outbound.protection.outlook.com [40.107.212.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AAE0A15687B; Wed, 24 Apr 2024 06:22:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.212.75 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713939771; cv=fail; b=W5HtHaP7ZnAVbvhJMKg/SnOyDPW7BK4SGYcg3oEa5D0X5Th/2EliDeERHegEwz3xQMSitI0eVW9vCjlGgTb1SWFxJZzNAPXlxr9TMhVvwzFStlpfUzCdbrppko+NNfmFNzH2NegFtxy1XDdxbygXA7Hplwjnk9+o8+to1Suss88= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713939771; c=relaxed/simple; bh=OW7fbIYvnUHLhEcuUH9qq+dY26wCDbHEltlpuBL1oug=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=S0cu8OYPp3jIDgNBHO/FvFiBP8C2qX8CPAFl5jOzpPUeBJyow3LCkW2PTjTQrIQkDnJZZMFjZjPvKT8cL8PLXvfhgQB1hIgqy4PtMlTeXLyc6C9+fb6mVSASyaM0VWTRJEwxmfYK1A6CqLb83YHAaDF9ZCfkFolOV6U8WTjH56E= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=nVn89AbM; arc=fail smtp.client-ip=40.107.212.75 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bHIIzTKWDWy5qhihM2Pxlt7NPQV67HntrUJS1cL8jFMoOJnPLwk/p2BigxZ93A/UlJVk/aE6lLj0RyyU90VrtSMc4oRlMXQykEBkCEOIsM9Cu/lBzVX0qXk0tL8xpByjS9f8/3+SD7/5Wfb7khwKSLiCCGqj/JENAI5E2pv58wu8qjn2KXwuL8KQCQ9OCFGa2vrI88gWAobD+tXpEEQqIxNniRvdaYEWN9liCyzkj/YDLqHvk08096tIjVcYwNYziTyF5q3yj/Fns7xm5a6iuAs8/jgu6fiq7oi+U4fGhgSUn45NO3PQiKD/0BgCCMCTz6P21zzrYg6ZbY7Z0P8m4A== 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=RVh32F9lHBSO2uItqpTOgvUs1072iuwwKAPNBDk6OH4=; b=DO7ZFMtSwZw1XikLDyvXN3ZK4HjbMJRuEyS+Oq1wT4zLSqbIAvjgQ6gu9ztFrIhRsOSEgeyE/DTMMAdWTDhc0sKjEApN207fqBgdNHrG7RRCPOSIH2U4JL+FUAQ9bLWOI5B7usVT4ENxrPbCRC8GbLoi7fPiBbwflFsNAhMyg9V0eZ+3JqIV3rO8967GU9pJ+uhEFNIQyCZHQRzsMFAEHETVeo/UXP/4mO8Wz6mgiXtRCGBaikw4c1HqeS1+LpdDuJUhgoJ9/Jeh1MoBTrfgyNHLMqPsTeC6cjRW6/pu0Z8TJXAfxVl/jeOXPNFdWTpee1pVxYl38SWZdkynwYMRrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; 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=RVh32F9lHBSO2uItqpTOgvUs1072iuwwKAPNBDk6OH4=; b=nVn89AbMYbn+NOFdN1a9XqDpk/FIrVqmX06GXKEjK1sHyOOaq9hureUe16re9cR214AQ45Fee27GHMUN2gNJ1uSGAdWa2KcHlQLRLu9eaYdYVl95Jg4ryBEldqprGLIpnD/31gmpzmyZ/4HoTGwmpQK5F403kKYcVrFm9aOxUD4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8109.namprd12.prod.outlook.com (2603:10b6:a03:4f5::8) by DS7PR12MB5863.namprd12.prod.outlook.com (2603:10b6:8:7a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.22; Wed, 24 Apr 2024 06:22:46 +0000 Received: from SJ2PR12MB8109.namprd12.prod.outlook.com ([fe80::c3fc:3be9:dde7:745f]) by SJ2PR12MB8109.namprd12.prod.outlook.com ([fe80::c3fc:3be9:dde7:745f%7]) with mapi id 15.20.7472.044; Wed, 24 Apr 2024 06:22:45 +0000 Message-ID: Date: Wed, 24 Apr 2024 08:22:33 +0200 User-Agent: Mozilla Thunderbird Subject: Re: pinctrl: zynqmp: Valid pin muxings cannot be configured To: Sean Anderson , "linux-gpio@vger.kernel.org" Cc: Linus Walleij , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" References: <5bb0dc7e-4c89-4f3d-abc6-41ae9ded5ae9@linux.dev> Content-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cjWIPnBVlB2Z0YH/gizMDdM0Sa/HIz+q7JR7XkGL4MYeAM15m6O7hkCJcoFV7LMzkNKk OiCZ3E0JYDsMXvmh3S4EVWAG+buA+9beElCmXDcXPI4PinMPqpwmLNcEhPVMQfvAYRqQp2fg 1vTEyK58Ms+0a9L1k5MvvbFg9QARAQABwsF8BBgBCAAmAhsMFiEEZzUMm/XM7ptTZDVqN3x/ If49H5EFAmQr1YsFCRZ/gFoACgkQN3x/If49H5H6BQ//TqDpfCh7Fa5v227mDISwU1VgOPFK eo/+4fF/KNtAtU/VYmBrwT/N6clBxjJYY1i60ekFfAEsCb+vAr1W9geYYpuA+lgR3/BOkHlJ eHf4Ez3D71GnqROIXsObFSFfZWGEgBtHBZ694hKwFmIVCg+lqeMV9nPQKlvfx2n+/lDkspGi epDwFUdfJLHOYxFZMQsFtKJX4fBiY85/U4X2xSp02DxQZj/N2lc9OFrKmFJHXJi9vQCkJdIj S6nuJlvWj/MZKud5QhlfZQsixT9wCeOa6Vgcd4vCzZuptx8gY9FDgb27RQxh/b1ZHalO1h3z kXyouA6Kf54Tv6ab7M/fhNqznnmSvWvQ4EWeh8gddpzHKk8ixw9INBWkGXzqSPOztlJbFiQ3 YPi6o9Pw/IxdQJ9UZ8eCjvIMpXb4q9cZpRLT/BkD4ttpNxma1CUVljkF4DuGydxbQNvJFBK8 ywyA0qgv+Mu+4r/Z2iQzoOgE1SymrNSDyC7u0RzmSnyqaQnZ3uj7OzRkq0fMmMbbrIvQYDS/ y7RkYPOpmElF2pwWI/SXKOgMUgigedGCl1QRUio7iifBmXHkRrTgNT0PWQmeGsWTmfRit2+i l2dpB2lxha72cQ6MTEmL65HaoeANhtfO1se2R9dej57g+urO9V2v/UglZG1wsyaP/vOrgs+3 3i3l5DA= In-Reply-To: <5bb0dc7e-4c89-4f3d-abc6-41ae9ded5ae9@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: VI1P189CA0019.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::32) To SJ2PR12MB8109.namprd12.prod.outlook.com (2603:10b6:a03:4f5::8) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8109:EE_|DS7PR12MB5863:EE_ X-MS-Office365-Filtering-Correlation-Id: 1926a65f-a10b-45e8-6d23-08dc6426f4a5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?WGNXSGhDeXVjNDF0R3RTQ0FOZFYzLzVKSDBFbTVaSk5URXErZ0hHNnhmdUtr?= =?utf-8?B?RHRYZEFkTENybnZlTDllNWNJc3RNMDl2T3V2Wi8yS3pnNlc4VUpGbHR2dG5z?= =?utf-8?B?VmJkdEp3bVBvMzBqT0JDZzhTTGoydlRweXN6a21UWlFGZlhLTDVHamwyTDRC?= =?utf-8?B?WVA2TTMyT1VxUEh5Wk5mTG1PZjkvbXRXbjVGTGQ5ZGtIRzUvTG12bUFjNytr?= =?utf-8?B?bDVVMUx6dThDNzVFazg4Qno3ZWRSdytqYU43a3hPOVpxdnN5ei85VlI5R2di?= =?utf-8?B?TnptZkdYUjVXcW5VQkF0dkt2ZFN0SjhmbDFIbG9vaFJQMFJPM0I3OU1CdW9h?= =?utf-8?B?LytES21qQWl2QVB5UUtBNVRGSGV4SEp4ald5VjF0U3B5QUJXSmtHZ2wzZWpS?= =?utf-8?B?VXIwbnMvZUNaUHJ2aDZDMUhlckI1Q1RLTVpRWmJvM1BVQWhtZ3ZBK3k3M244?= =?utf-8?B?VzVkMmpWTG9uYmJscEplY2tNRUhNMlpVRitEb3VpSTBOemxTSmtya0NjVEFX?= =?utf-8?B?b3c3VWorbEt4dzhIRmc0bjhHZ0xEaGhXak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UTYvVWFRdzh4VGJ0TjY5MWF6U0twQlha?= =?utf-8?B?MnE4MG5POWlINW9UYm5EMmFTbjNheWxQUlBuUEtON1pZU3djM2phbmZIclph?= =?utf-8?B?Uk1GbWM1UUpLR3ltZDdIbUhZUDJlR21qTzl6RisyNjRDZmk4WUx5UVNrZElO?= =?utf-8?B?SXFKTVE0VnpKeHJiOFZDTG9TQlA4NnpQSjFDTndRSjRVc0p6K0YvaldGR2xU?= =?utf-8?B?S29QSDBoMXNOVURtNFlic3J2UmNIR0p6QXhiNzBkbmwxSWZQOEZnWDFnPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR12MB8109.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Ny82L1Z6Rm00MGFvN0hseFh3U082UkRBUEdUWDJYMWJIKzEveTZNR1l1SHk3?= =?utf-8?B?eExBbUF2MUNFcTcyUThDNTVPNXNKd3h4NTE3VlAzUEIvOHhxQXZUZzBhSHhM?= =?utf-8?B?NXFJcWRnZ3lBVG9jOHZENFRkM2dNTVNTUjFka1QrQlZxVFVmNFEwUWUyaTdv?= =?utf-8?B?Lyt0KzF2cnQzUkxJaGt6ZjNZQ2VwY1JEZ3RuZHdPWEtkMEdSRmVRYXBHbElM?= =?utf-8?B?dlJpeGkrZmNySGE2NDJHeUNkZVlUVG5ObWl4SmFBYmdKMTJ5V09WcG53ckc2?= =?utf-8?B?THRlK2daWlRUU0JwekdrMEZkLzNVY0dLVE1YQzZkZ01OcmJmQ21LWGl5QkM2?= =?utf-8?B?M3lWb3VNZG9XVU5NQzk2SDhUZ0I5bEVLQmoxY3BHb1B3SGdGZ3p4ZzJkV1M1?= =?utf-8?B?VkhlZE45TVRzU3BCOE5L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2PR12MB8109.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2024 06:22:45.8435 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: clTpHTyU4F7p2yG1rqVeZNBY4mdh7E1w/7RIpljqjtc3R3IuG9Enh/7q+03Ds269 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5863 Hi Sean, On 4/24/24 01:04, Sean Anderson wrote: > Hi Michal, > > I was looking to upstream one of our ZynqMP boards, and I ran into an > issue with the pinmuxing. We use almost all of the I/Os, so everything > is tightly packed into the MIO. For example, we have the QSPI on MIO0 to > MIO5, and MIO6 to MIO11 are used for SPI1. However, I cannot select this > configuration using the pinmux driver. I am using the following > configuration: > > pinctrl_qspi_default: qspi-default { > mux { > groups = "qspi0_0_grp"; > function = "qspi0"; > }; > > mux-cs { > groups = "qspi_ss_0_grp"; > function = "qspi_ss"; > }; > }; > > pinctrl_spi1_default: spi1-default { > mux { > groups = "spi1_0_grp"; > function = "spi1"; > }; > > mux-cs { > groups = "spi1_ss_0_grp", "spi1_ss_1_grp"; > function = "spi1_ss"; > }; > }; > > But I get the following errors on boot: > > [ 4.261739] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: pin MIO8 already requested by ff050000.spi; cannot claim for ff0f0000.spi > [ 4.274506] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: error -EINVAL: pin-8 (ff0f0000.spi) > [ 4.283789] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: error -EINVAL: could not request pin 8 (MIO8) from group qspi0_0_grp on device zynqmp_pinctrl > > This is because the qspi0_0_grp and spi1_0_grp groups overlap: > > group: qspi0_0_grp > pin 0 (MIO0) > pin 1 (MIO1) > pin 2 (MIO2) > pin 3 (MIO3) > pin 4 (MIO4) > pin 8 (MIO8) > pin 9 (MIO9) > pin 10 (MIO10) > pin 11 (MIO11) > pin 12 (MIO12) > > group: qspi_ss_0_grp > pin 5 (MIO5) > pin 7 (MIO7) > > group: qspi_fbclk_0_grp > pin 6 (MIO6) > > group: spi1_0_grp > pin 6 (MIO6) > pin 10 (MIO10) > pin 11 (MIO11) > > group: spi1_ss_0_grp > pin 9 (MIO9) > > group: spi1_ss_1_grp > pin 8 (MIO8) > > group: spi1_ss_2_grp > pin 7 (MIO7) > > However, we are not using the "upper" pins of the QSPI device. > Therefore, these pins should not be included in the qspi0_0_grp. This > stems from the driver placing all possible pins into a function's group, > even though each pin can be muxed individially and it is not necessary > to mux all pins for full functionality. Correct. These configurations were not consider at that time when code was written. The same issue is there if you want to combine pins from different groups. IIRC uart rx via MIOX and tx not from MIOX+1. > > I think it would be better to have a single group for each pin: > > pinctrl_qspi_default: qspi-default { > mux { > groups = "mio0", "mio1", "mio2", "mio3", "mio4"; > function = "qspi0"; > }; > > mux-cs { > groups = "mio5"; > function = "qspi_ss"; > }; > }; > > pinctrl_spi1_default: spi1-default { > mux { > groups = "mio6", "mio10", "mio11"; > function = "spi1"; > }; > > mux-cs { > groups = "mio8", "mio9"; > function = "spi1_ss"; > }; > }; > > This allows the full functionality of this chip to be configured. Does > that sound good? I can send a patch to this effect if you agree. The only question is if this can be done without changing TF-A code because we are running out of space in OCM for it. Just a generic question to your problem. It doesn't sound like a dynamic case. You have static assignment for pins which likely won't change over lifecycle. QSPI can be even boot device. Do you really need to describe pins via DT that it is not enough to have them configured via psu_init directly? Driver has been developed for i2c bus recovery via gpio which was the main application. Right now Kria SOM is using it for carrier card pins configuration. And Kria is pretty much only platform where this is regularly tested. Thanks, Michal