From: Daniel Baluta <daniel.baluta@nxp.com>
To: Frank.Li@nxp.com
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
s.hauer@pengutronix.de, kernel@pengutronix.de,
festevam@gmail.com, devicetree@vger.kernel.org,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, maudspierings@gocontroll.com,
Daniel Baluta <daniel.baluta@nxp.com>
Subject: [PATCH v2 0/2] imx8mp-frdm: Enhance code readability
Date: Mon, 2 Mar 2026 15:38:03 +0200 [thread overview]
Message-ID: <20260302133806.76191-1-daniel.baluta@nxp.com> (raw)
Enhance the readability of IOMUXC_SW_PAD_CTL_PAD configuration by using
symbolic macros instead of magic values.
First patch makes MX8MP_I2C_DEFAULT independent of DS so it can be
re-used in multiple places.
Second patch makes uses on the macros introduce with:
31ff1060175c458 ("arm64: dts: imx8mp: Add pinctrl config definitions")
in order to make code easier to read and understand.
Changes since v1:
* v1: https://lore.kernel.org/imx/20260227130242.1702329-1-daniel.baluta@nxp.com/
* remove RFC tag as seems v1 got positive feedback
* add R-b tag from Maud for patch 1/2
* update commit message for patch 2/2 as suggested by Frank
* Use existing macro instead of introducing MX8MP_NAND_DATA_DEFAULT
as suggested by Maud and Frank
Daniel Baluta (2):
arm64: dts: imx8mp: Make MX8MP_I2C_DEFAULT independent on drive
strength
arm64: dts: imx8mp-frdm: Use symbolic macros for IOMUXC_SW_PAD_CTL_PAD
arch/arm64/boot/dts/freescale/imx8mp-frdm.dts | 132 +++++++++++-------
.../arm64/boot/dts/freescale/imx8mp-pinfunc.h | 2 +-
.../imx8mp-tx8p-ml81-moduline-display-106.dts | 16 +--
.../boot/dts/freescale/imx8mp-tx8p-ml81.dtsi | 8 +-
4 files changed, 97 insertions(+), 61 deletions(-)
--
2.45.2
next reply other threads:[~2026-03-02 13:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 13:38 Daniel Baluta [this message]
2026-03-02 13:38 ` [PATCH v2 1/2] arm64: dts: imx8mp: Make MX8MP_I2C_DEFAULT independent on drive strength Daniel Baluta
2026-03-02 13:38 ` [PATCH v2 2/2] arm64: dts: imx8mp-frdm: Use symbolic macros for IOMUXC_SW_PAD_CTL_PAD Daniel Baluta
2026-03-09 19:00 ` [PATCH v2 0/2] imx8mp-frdm: Enhance code readability Frank Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260302133806.76191-1-daniel.baluta@nxp.com \
--to=daniel.baluta@nxp.com \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maudspierings@gocontroll.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®