Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp468346lqb; Wed, 29 May 2024 00:36:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7LNfI+EWyx3UcgJyVttAolhbwspnhScokjEspGAhImLWP92J/jZfB+TEhLiXDep8B7CbN80Aeu1qsMO2SSCQVjeftVVbmIqhzVWResg== X-Google-Smtp-Source: AGHT+IFNgFP2ivZ2yQ79od/nTW0RNtsP3wXft7JVLZYvO3Xhl5v5LiFVx27R0yADbMY7YlRd6H6R X-Received: by 2002:a17:906:3683:b0:a59:a431:f951 with SMTP id a640c23a62f3a-a6265148b8amr970444566b.48.1716968187056; Wed, 29 May 2024 00:36:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716968187; cv=pass; d=google.com; s=arc-20160816; b=Z8ZCH9oTHJ7zuGolwK/JX/kIc18vQ2YhtSZ9pv7VT0y9dImiqT35++IzGZoJfrSFdR x67hVS9ROeuTsApt9gdAvHt5Yl1Djib0mJ1PGN0ZJpl1E4IEzomsk+7fJNsmVHKxTLJe UCz3bv/FpkOvp3u49mL2JwmmTEWRBhEqUlXRd1xX/GlUABwYQy+FiOWX4BkOIn4YKL6u zds0w6b6KIlE8NNDg/ZZ1CplqYFZAdwevWoqwSLNjtKh4uYrGUx5FAaxG0LNHyxAg1qs R9ljtSrrasEcaDxINxS04YE4EJL++tINH7EE/yoh00W6mU0SP4rGQEjUOhUauVrkAX/+ nYIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Q/nLvZ9ebMbKWDAfuBKkm9DIkm0SWKJ80JMb41SoLPI=; fh=Q3FsKV1rcEvgvEcgxNPe11Cqig+V05aFGbijcMWyrDw=; b=iom8xdbYAl2Hs8X4DIxELQsiwXoCJl8zDJ/JNYv32yRBv8rfwrRfuQ7oRpMhGzmjfZ vsiJPVrxkqPduWAEYxI2Qod8i5HJk+W8vwMmRSRlSQ6mZhnRlxLNuYMM7mlBOT2sPWH6 ChmHTnuphi/G1LQr4KgwhetRFZyD+TnPhxuwJi4w1kJmGVjz352P+BzI+FmLFjerG+7H rd/2cuGdRAQbJ5oO/872WQz3lW9hdPdRLnmGzKu0k5TrKsdwJjWPAOjtIPPw2ca+YBcI 9Jltxnd8iF7ZzPinPBt+CBjqzfF4xNcW85p7TFWJ6r0kd1az4Jj6douL/kf8bH/jEPlL EjqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eXm8Rrb2; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-193595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cd9607fsi596359366b.831.2024.05.29.00.36.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 00:36:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eXm8Rrb2; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-193595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C294A1F22582 for ; Wed, 29 May 2024 07:36:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7284716729B; Wed, 29 May 2024 07:36:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eXm8Rrb2" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DC1415CD6A for ; Wed, 29 May 2024 07:36:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716968178; cv=none; b=eYTlffOPR3bv5gVp58x/NlGskE/U9+WZh9I6FUgCuweHEUNfyeARDM8dC3RyxdxkshjQD+/9klH2q3LuEqj0JbKHCDcDh3icdvojG1WKC9k4OLiX4mwXKK1x7Wz4z/HgUhmtkqKWInj/4RzgNbbert0S01PUxkKjPwTbNY4J0qE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716968178; c=relaxed/simple; bh=Q/nLvZ9ebMbKWDAfuBKkm9DIkm0SWKJ80JMb41SoLPI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=BMlAsTcI5/8F8hFR8I20YUsgTvRvHHXdZQxDcd62xD933vG0lJXYY+NGzh+21yw7aImvaiSgIe3M9Y0vSf/YDds5VIyJLSUin5NpA5ZsalHnkEfeLbj6IlLDhQ2eDtfEiBITGzn8+b0/0Me5e38G/TsJbD3cKkmftTIjNshKOv4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=eXm8Rrb2; arc=none smtp.client-ip=209.85.219.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-df4e1366da6so1652178276.1 for ; Wed, 29 May 2024 00:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716968176; x=1717572976; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Q/nLvZ9ebMbKWDAfuBKkm9DIkm0SWKJ80JMb41SoLPI=; b=eXm8Rrb24Zqthic8ztxHVQWmSOGnrOUgcg3lSdJXsNtag7kMVCAIN6GJA4nHNZkYKl xRNIocG+GS0Nx/M7qYDv5XQB5QpAQ7ecUY31K4GWhaV0f+46po2Vz2WYlp8n7CYMo/1L KPUqjG3F6En/zOshpPuv6S/Fe625tUIio0lNfAmuyEG5KGX5eg6naYCfSUGOLo7GYFYz 7bc8b0JZ3A7lSab0JlxBeRKHR1QlfGAnU/4o+ARiiKjOns1sDWUJFr6ooawzM0SnMbxj O00bHcn4/2JAnK+A1TW6SU2PJMBg7fNi4Zm5wJoZzxJuvQxKAkkqefx9NY0yHVICOMpX 0Eug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716968176; x=1717572976; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q/nLvZ9ebMbKWDAfuBKkm9DIkm0SWKJ80JMb41SoLPI=; b=uNJLjZ5N8ebVI1QscNWGervihWWcoc2M109PMse9ZlqxbX9rVm8jz7LEMQ80r02gz4 eyW6A5QU3w9Q6BFi8P+ybobRTqZjIeqdv+jK53ff1xNJOaMa0mw7yCt8wsHYrfnoTP9d Mz+ncNz5CZrg8vvny8yifWVh3cxavrinXt66uL5xnuA61TvBl2egXM7mbk9Iu7VvuYCz BiVhdmLsk8iZUy39169P0Rqt7J8BTHkbJi/p2quf0kKrDmAft9mLYRT7iZJyrNGt2inD W/GyYbObWumJsa5qY6R6Ve3dLsYiFyyJvvXPkbK+XKPOMsAM+5S/qYQqNNP3Dok97Nvn 6zFQ== X-Gm-Message-State: AOJu0YwrSGqH74DN/dRgQ6bxCi+aNLoGo7jOiAxSrdy/AeaOogwF0ln5 +WNBekfAfRh57Fu0QIRRVpsJuPE3s23d/kczqw7p58xowg7LxRQ2Za/ZTQjX5TvO0uGiuMone3M /ImljPgbYXFHseQfWyXVSGFgar/xskifxSKbfAw== X-Received: by 2002:a25:ce8b:0:b0:df4:978c:3794 with SMTP id 3f1490d57ef6-df772167874mr17998282276.1.1716968176161; Wed, 29 May 2024 00:36:16 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <2413a1f99278d70313960f13daecda9ef54172d8.1716807432.git.michal.simek@amd.com> In-Reply-To: <2413a1f99278d70313960f13daecda9ef54172d8.1716807432.git.michal.simek@amd.com> From: Linus Walleij Date: Wed, 29 May 2024 09:36:04 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: pinctrl-zynqmp: Use pin numbers stored in pin descriptor To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Swati Agarwal , "moderated list:ARM/ZYNQ ARCHITECTURE" , "open list:PIN CONTROL SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 27, 2024 at 12:57=E2=80=AFPM Michal Simek wrote: > From: Swati Agarwal > > Use pin numbers stored in the pin descriptors instead of index value whil= e > creating the pin groups. Pin Id's are not same as Index values for Xilinx > Versal platform, so use the pin values from descriptor which works for bo= th > ZynqMP and Versal platforms. > > Signed-off-by: Swati Agarwal > Signed-off-by: Michal Simek Patch applied! Yours, Linus Walleij