Received: by 2002:a05:7208:2202:b0:86:316c:7444 with SMTP id s2csp2370134rbb; Tue, 4 Jun 2024 03:28:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXD2yAU/V1O8SNPPW+mFi7AOO67LvIrwLz1wVBkXUHtWsOjuAGFf1xEY7LgMO3urDyxnwJlOZ81a8dIvIOKcue3otNsRbJvxt+fgomp2g== X-Google-Smtp-Source: AGHT+IHAGfqnGX+sARFWE+SI43dEuBZ4X+qxt9Nh9U8xngbS46307qZnrBKWwm+318aZMR5UjvOW X-Received: by 2002:a05:6a21:7887:b0:1b0:14ee:3b1c with SMTP id adf61e73a8af0-1b26f117464mr14286959637.22.1717496885778; Tue, 04 Jun 2024 03:28:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717496885; cv=pass; d=google.com; s=arc-20160816; b=gHynBP5WFKmFVWIVaPd5NEU4HNZ68bHxBNCPFnRaqFN31GP/4sUiMUrLy3C1MPa2Ps NAZ9GTRsuNSaR281BSb59QVOMaA2y84DPUHkRC7Zv76Z4YAEWXuGkpNhyL+VlpRWT2Qz uVhjO1MqwEA6aNUoSRBeR7OBmrFg8yHlqLHs+70xv+3l2bjV7d7V8rvwWF7uww53Orpi Qs60ahGk6XoFjrzGMkjJd25CxHzBnjvwiA/29bhi/ARh45o8JDLZmmZh9pyKkOSbxeXo 8B9/mB/VrcBsohjrprxNXXI0tLv34gcMWtV8V/31jSviNg2Jav/R42UgrPPii8K3cfFZ mmOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=tNqwA9kp6uLflIGkSXYg3LwJoBfyb2IwRcjDLOE6jWQ=; fh=7tNVLNcn4P5Wc6fWObP0lV4TukiNncsVT8rf5pXe3Qw=; b=gWZ08LAkTUGaC4x2eI0kre9EGMdRzx7asP/chUZuUGzAX2LQaUAwTfbZCd9vovghIr oYJPuaUMea3lrcUs2ngwwVaU6whw64d/AMAMPuWD3fQ81n9TS+ECAuZrZOc1WPsN/xuB Lf6zYnqy1SPAYV3hGe7/ZfebEy8mNWzbTfdXqPcbYvZJ2GjGapvgGcFTyUfNfah9mxsr NuArShqxzSA++Jvj5GRHwO+FmiwhkDhqHRerDw3e79m7jkwsmo3/iE5kWIDV7nXvf02x /e/wBp3d7NTbnVyHUiDVZSvr4xHQ4WxPjgSZoZshOtLsMKFXo1yASI9HP+OFWCOthuAL h4JQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-200422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-70264f77ef5si391189b3a.213.2024.06.04.03.28.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 03:28:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-200422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 466722847A9 for ; Tue, 4 Jun 2024 10:27:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59DFF144D0B; Tue, 4 Jun 2024 10:27:10 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBF9213247D; Tue, 4 Jun 2024 10:27:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717496829; cv=none; b=g/uYhnC2ZyKLyaoCLfxxfEd7HpNVMaj4ze2s80VUbGuM+mGtV9fTKxTAS40om8r4tHlp37kHpWneO+cRzEusZTERnY2yQbuzWIqWwPPkNZpxPIQGYtNgIZNhPRwD+2W/lN7m3bw6/NLxLOYES8DHfNbJbyZKL+II3IZCRmpB8ac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717496829; c=relaxed/simple; bh=s4p/kkqzKCiAh7TGz3mBbtp1qYDq3Y8HERuiXSIOO44=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GRzlVnpUsroGVF222orK3vaGUq0Szdcr85O0j6j6JtXkhO++mjjw+xWZ7qeirF66xBNqmkSVBMuRrXZHgEGdoIzLcbnYunOyc2zx/BS6ksJIJEudhcNDsl3Z/dW8Bz2lCehR3IkUWy9kxqr7teOz7I7gbtgg/J5B3SIPpqbccpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7DCB11042; Tue, 4 Jun 2024 03:27:31 -0700 (PDT) Received: from pluto (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EF6D43F792; Tue, 4 Jun 2024 03:27:04 -0700 (PDT) Date: Tue, 4 Jun 2024 11:27:02 +0100 From: Cristian Marussi To: "Peng Fan (OSS)" Cc: Sudeep Holla , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Linus Walleij , Dong Aisheng , Jacky Bai , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-gpio@vger.kernel.org, Peng Fan Subject: Re: [PATCH 3/3] pinctrl: imx: support SCMI pinctrl protocol for i.MX95 Message-ID: References: <20240521-pinctrl-scmi-imx95-v1-0-9a1175d735fd@nxp.com> <20240521-pinctrl-scmi-imx95-v1-3-9a1175d735fd@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240521-pinctrl-scmi-imx95-v1-3-9a1175d735fd@nxp.com> On Tue, May 21, 2024 at 02:25:59PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > The generic pinctrl-scmi.c driver could not be used for i.MX95 because > i.MX95 SCMI firmware not supports functions, groups or generic > 'Pin Configuration Type and Enumerations' listed in SCMI Specification. > > i.MX95 System Control Management Interface(SCMI) firmware only supports > below pin configuration types which are OEM specific types: > 192: PIN MUX > 193: PIN CONF > 194: DAISY ID > 195: DAISY VAL > > To Support fsl,pins property together with SCMI OEM protocol, add this > driver. > > Signed-off-by: Peng Fan > --- > drivers/pinctrl/freescale/Kconfig | 9 + > drivers/pinctrl/freescale/Makefile | 1 + > drivers/pinctrl/freescale/pinctrl-imx-scmi.c | 357 +++++++++++++++++++++++++++ > 3 files changed, 367 insertions(+) > Only tested compilation and interactions with Generic Pinctrl SCMI driver, LGTM. Reviewed-by: Cristian Marussi Thanks, Cristian