Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp486006rdb; Sat, 27 Jan 2024 16:06:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5UfL5W+gx8lc562IUYpLRlvk/0T630ECfB/zqLkwoUtBV4IOS3Zz7B39LhJ2Fnjy1mJlR X-Received: by 2002:a62:e415:0:b0:6dd:e2b9:d4a with SMTP id r21-20020a62e415000000b006dde2b90d4amr3420688pfh.26.1706400408957; Sat, 27 Jan 2024 16:06:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706400408; cv=pass; d=google.com; s=arc-20160816; b=fZLZml5dT9AE6e/rZNb4PYQF/TdT+EAOVLVJ6X/sV/C374Urzscr2W9OdA+kVZrbHG 54r4JJEsxV9qix1pIYeT1vZge1smF/cRQff+CxrZupisdpWqllYw4eK+jbZspBSiXtSo LLcmmoiPE/ixrfImPTCY22TzLVSdG67yOaAMfB8pL8AD/92f3Vfh66zcnHikDiQYmZ9A YNZLsS6MqfmFi6CRraCi9NQie9R+SBMAQxN1pMqQJaAz73BS51GhOt014QUSJRyMWluQ 5QnkrawrrMf7GqZwbC6Rjszx4dZf05sw0UDleqMiC5CEQgrQsmPmJ3iF2Tz275h5XXPt IAYw== 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=oeb/WqSCatx9ZWHQi1P+avr9vJYUzW5yoj2SSuS3mkY=; fh=71o6fSnbdll5nsPamHxWaAFRLrCNK8tH4SS/zb0dZzE=; b=wUrYwHjCw8iqFmGdbgzRgE5uquMpriCA/FfRqOQdAiQlt42VCIWQSePlftcyTYbIuG zR2DAUZ0kmyZIgBMFcaik0Jz5XA/Mh6dzEehfDIIMl3gwFlCBd2yh0l8hSKhCYJhRXJY QlosNluakUE549+zxYAG4zF3K2Ef/fAhvEbbMtQToh+ElN/lrJr61wNMFRbS/5QHP1tL A2Hm4X5p0dD/0PETqKM95kq5hNdpDonJG+doH7E7i9S5GWSLoD7VmC4P/lg3J8e+/J5w org/4QsECDFh2vFkAUGho4IwCEiG/lUTv8f5ztZ09jXy0LJyjHWVcweLIYWa5KkxKZvf mIeA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kvFaXOq7; 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-41472-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41472-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b8-20020a056a000cc800b006dddffe5456si3503081pfv.372.2024.01.27.16.06.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 16:06:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41472-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=@linaro.org header.s=google header.b=kvFaXOq7; 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-41472-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41472-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 933CF2843CD for ; Sun, 28 Jan 2024 00:06:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D96120FD; Sun, 28 Jan 2024 00:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kvFaXOq7" Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.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 12B9115D1 for ; Sun, 28 Jan 2024 00:06:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706400401; cv=none; b=fCWAjzUobsrCQolf1UfAMW7eTGZQ/XwAi2bESI8IUQQc9S25JyZYfZf6oULDY6//89Rj6H7o18mj8aO5Ieaf1QLoAjrjpdq48SZB5vMa+s32TJ6m+f2ykoz9BLTPQKPhUkuNk7jOwETeEfCga0q1djsjpV53hcD1YjF8phnAE90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706400401; c=relaxed/simple; bh=ammylFPq3l7kcWoDBrB+c62nBJSB6kVIemC4JBj/rF8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Z0INnGz8DSjywjxKLOFDyJrnhJX4KOUwuQYf2XyNQcSn/lrbs2UbC9cTCZ9NTPBirD0B6muCMmcyF5rDBE8aGOU31BM52gmxKclH48yeM9oDaJ+BCWWa0nQVieHjGxC63KASq4dUWFyX6zZBn+3CGRikhxi5PmlD4mGUAmOYUsM= 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=kvFaXOq7; arc=none smtp.client-ip=209.85.128.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-yw1-f182.google.com with SMTP id 00721157ae682-5ffa694d8e5so25075357b3.0 for ; Sat, 27 Jan 2024 16:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706400399; x=1707005199; 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=oeb/WqSCatx9ZWHQi1P+avr9vJYUzW5yoj2SSuS3mkY=; b=kvFaXOq7HMBZRffSBFNLbYYe5nwUYjVb9HiotZbkddnYM+nYpiCk5VaZwwQyhPl9RO KZs64ES+xP98weC6AiIdVtdRcDVoaHHfXXFwfuo0tH2ZyDrCWW3TfgjPyFMViWME50/1 p6yU7y4uDLReFv7pOgBxLHiK8yBUS3tAolDKbe8LrtFPYI1hN2ZgGE2WJF/MO0NMrzKL wYlyvs/6NLTKiPIiUNnXWxFvRdNlSoZprFjCleW8+XGm43MWi+J+uGq1FMJu7/XjlgOa 3vNv8NDkqCK/OLOm7qCXr8b4fM+PzVTLenrk34BjZLnzu/6rpnCvV7nzkIltwkmv3vJA p1+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706400399; x=1707005199; 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=oeb/WqSCatx9ZWHQi1P+avr9vJYUzW5yoj2SSuS3mkY=; b=AVzHLG0MKoC4xzlPDjlnQg+0Vbds14oEcuoY0hJ/iijjRk6/cGwZyk1dqdPNB8l03+ Dri95ayg1Ep8pH5vt7+ouRkTwNauD2gdK2pV2WXuAm69iO7ZN5XTb/NPKxPHND1XZ+sM W+P3P2As1xMqGKNWDYvruWZQORY8N32N/K/uHkLLqHUcGJCrS1TdZii2JZkdl845MfAV Wc3Dk+vi/to57lAM9TpfrCqJsVfvza5Rf3r3VngIJQThGewjFS6y1XmYn7TqI72jURZ6 mApDTy9nDyL9Qafnlu0UiZU3sL/b8Utz2/jepyC+zipLVaT0ZYXjpTKN9eg1JgZbgBJK Wn/A== X-Gm-Message-State: AOJu0Ywz/RcXk+mDD0GfZzkcm8an+ScLl/tKa2U1X8TZBddtsy/qWvTN iwAacn0/x6efZ7m5FpacU6CtBYTkPF5NSQy7eLGZa+/JUjHsgGWqXOilJm5qATtdbFW9GnMjh5q flZk5uLzR+IZ527FvV3G+VHdSFDf1duxjegS0zw== X-Received: by 2002:a0d:dd0c:0:b0:5ff:87b2:e43d with SMTP id g12-20020a0ddd0c000000b005ff87b2e43dmr1973626ywe.36.1706400398954; Sat, 27 Jan 2024 16:06:38 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240104-pinctrl-scmi-v2-0-a9bd86ab5a84@nxp.com> <20240104-pinctrl-scmi-v2-4-a9bd86ab5a84@nxp.com> In-Reply-To: <20240104-pinctrl-scmi-v2-4-a9bd86ab5a84@nxp.com> From: Linus Walleij Date: Sun, 28 Jan 2024 01:06:28 +0100 Message-ID: Subject: Re: [PATCH v2 4/6] pinctrl: Implementation of the generic scmi-pinctrl driver To: "Peng Fan (OSS)" Cc: Sudeep Holla , Cristian Marussi , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oleksii Moisieiev , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, AKASHI Takahiro , Peng Fan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Peng, thanks for your patch! On Thu, Jan 4, 2024 at 11:45=E2=80=AFAM Peng Fan (OSS) wrote: > From: Peng Fan > > scmi-pinctrl driver implements pinctrl driver interface and using > SCMI protocol to redirect messages from pinctrl subsystem SDK to > SCMI platform firmware, which does the changes in HW. > > Co-developed-by: Oleksii Moisieiev > Signed-off-by: Oleksii Moisieiev > Signed-off-by: Peng Fan (...) > +#ifdef CONFIG_OF > + .dt_node_to_map =3D pinconf_generic_dt_node_to_map_all, > + .dt_free_map =3D pinconf_generic_dt_free_map, > +#endif This looks like with !OF the driver becomes pretty unusable doesn't it? Should we just depend on OF in Kconfig or are there already plans for ACPI or similar? Yours, Linus Walleij