Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp223602lqp; Tue, 11 Jun 2024 02:31:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPzAppB0ptB4Y/q2p9zU0RchIHtdVcu6zps3Jre1g3Nvqek2Q0QShww0B50Kx8phegw+zI/SDpyO4OKOFJ4Y3u2aHM2tWzb52GmGlc1A== X-Google-Smtp-Source: AGHT+IH8huyq0dSamh4m6cw+0tXphkoXEvLqhDQ9BakTMShaHnEqqPng2w8S5c/C2+WELJeQnApQ X-Received: by 2002:a05:6870:89a0:b0:254:7d41:bfb8 with SMTP id 586e51a60fabf-2547d4264dbmr11243125fac.27.1718098318967; Tue, 11 Jun 2024 02:31:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718098318; cv=pass; d=google.com; s=arc-20160816; b=wP6ySFkHKvDgO2wuhWgqpUwowM5HyZXAcQ/DbVVhYtW+MY/QtF3XAlX9oW134RVJ0D DehOke0aalPOzvpazDvrzlpjg990dy4ffI/N1oaa6kC2IWPXaUUacV9E60VJ2v66YNnK 4UCipCuzmNwPojXrlwbL6FTJ/o0g3etDBBV7fQtKjBShyjiYMezeogzyFWt3v4P3K9/j whK/yVwu84dGV6LyQSm4mB+chjuIBeb16kC6N7h0NGb5ZQ7cFMFlragK72HCw1xgth8p v0i+BxUzu8mJFHEwUJYG2Gfs5g5qC/Ckkkk3+nj+O36OjnWk5L5oAnt6nAtsD2IksAny ChFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=A1NuEiICXWyE8rxOeuhvSM4opfTeQoy98lWyxr7c5BA=; fh=cEVGzHaClv3DPkVtUs+8oUwak0/VykQWp6u7zNvkpr4=; b=BTToc80lLRVaGq8O2W8TUkLF66DaJC7wI3uTh7KW1wz2RRe5IF37wRVHg9aSPa4hf8 Lpsga483u6dRlObXHlIax8eHTFV/ybZOaiKrMuJdnaLxSKjx73FU6tlFn/kyWfPYwY5b WzHEZQ+pF7gmvLAbxgS4u4YlxqyQex1YTweZahhkYN2eKazMgnEcpzkXEgJljWC2scWE n45Ok6vMRS9lgkD+SRVUymQcGB7V2o0k2X2yISmv2LWYOW1trJ+e3SkCXKUMlD6iykcp Mu+M6KPNq76savl8IsHq3wCMKz25pda8w8d7i5X/7NWf9efGumm8ydSpdK6uV724pQp1 g4/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-209571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-79581aee3eesi479259985a.567.2024.06.11.02.31.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 02:31:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-209571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id ABD8A1C23294 for ; Tue, 11 Jun 2024 09:31:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9D96176ADF; Tue, 11 Jun 2024 09:31:36 +0000 (UTC) Received: from fgw23-7.mail.saunalahti.fi (fgw23-7.mail.saunalahti.fi [62.142.5.84]) (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 98683172BB4 for ; Tue, 11 Jun 2024 09:31:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.84 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718098296; cv=none; b=EHJY/UdivLj5cayjPMUxG6WMtPiDaZcD/g38GQNns5ngecrdw2WGQ+0ykAEUhGlAN5YllnXGanQibQM+cZIzE2OiRbtMOG73wdhlqPzNEsP6vxLfpYzQyMguTPPpgOYJVaob1vMgDJ9hh/2luTyw4pxZS4u7ieFg06M8Vr3+a14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718098296; c=relaxed/simple; bh=gPE9ecK322dZPly/Tq/DdkWYuVy7hgxwgVaWhEWbTxk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lmmj1fS/y/5+PeA2qmm+qOTwtd0BmD6SN6C/FrxlKcFdTOW+9cPqKw9vlYtM88kL42Tv/JtrPO6RpTDI8+ARhD0ZLHXdjhAO54UN3Gp6yKjbfTuZHEZFIPXEWnJb37NsfDzk8sfcJD4efjAUG44dEC4sSda4ri8B5ptYw7xCDok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=62.142.5.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com Received: from localhost (88-113-25-87.elisa-laajakaista.fi [88.113.25.87]) by fgw23.mail.saunalahti.fi (Halon) with ESMTP id 61bcbe87-27d5-11ef-80ea-005056bdfda7; Tue, 11 Jun 2024 12:31:31 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Jacky Huang , Linus Walleij , Tomer Maimon , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Cc: Shan-Chun Hung , Avi Fishman , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Subject: [PATCH v1 0/4] pinctrl: nuvoton: A few cleanups Date: Tue, 11 Jun 2024 12:30:21 +0300 Message-ID: <20240611093127.90210-1-andy.shevchenko@gmail.com> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert Nuvoton drivers to use pin control provided data types and more of device property APIs. Not tested. Andy Shevchenko (4): pinctrl: nuvoton: Convert to use struct pingroup and PINCTRL_PINGROUP() pinctrl: nuvoton: Make use of struct pinfunction and PINCTRL_PINFUNCTION() pinctrl: nuvoton: Convert to use struct group_desc pinctrl: nuvoton: Reduce use of OF-specific APIs drivers/pinctrl/nuvoton/pinctrl-ma35.c | 116 ++++++++++------------ drivers/pinctrl/nuvoton/pinctrl-ma35d1.c | 1 - drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 43 ++------ drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 29 ++---- drivers/pinctrl/nuvoton/pinctrl-wpcm450.c | 11 +- 5 files changed, 71 insertions(+), 129 deletions(-) -- 2.45.2