From patchwork Tue Jun 11 09:30:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 803689 Received: from fgw20-7.mail.saunalahti.fi (fgw20-7.mail.saunalahti.fi [62.142.5.81]) (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 630311BF2A for ; Tue, 11 Jun 2024 09:31:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718098295; cv=none; b=m5u4XlusvtCauJqqmnNQs/bCCdQQxYPXJqCTmvdTPZT2zugE7MbGoCrY1Yjra2RCoTLR1LZbRqGHqynwg2DUaRihTDLsRAfD1wZozKcfjb97KZCjFAKiNYYMQJ1AYhmYclK8d/O1XUMMSBKjR9HlXrRMnCP5AkLLvf58P4xzSAE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718098295; c=relaxed/simple; bh=gPE9ecK322dZPly/Tq/DdkWYuVy7hgxwgVaWhEWbTxk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HpViXoeNHjXofpDGvIuYEiMWfO/o7za/4/J5kHAX53HDu018hDzCRlobNQpPPYQiLPZMwUzpytS9AbNWJOTKFTkHtmJUWyhUdDNVH7VzCcbwVEXBH829hmOijXikgnf0T2k+SfGZHtWcmO3SmOwRTyOwgMhwTE2QrZSkHrAwW1k= 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.81 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_Neusch=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-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)