Skip to content

imx8mp-frdm: Enhance code readability

Daniel Baluta imx linux-arm-kernel linux-devicetree lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v1 RFC2 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* v1: https://lore.kernel.org/imx/[email protected]/
* 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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: dts: imx8mp: Make MX8MP_I2C_DEFAULT independent on drive strengtharch/arm64/boot/dts/freescale/imx8mp-pinfunc.h arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81.dtsi+13 -130 replies
2/2arm64: dts: imx8mp-frdm: Use symbolic macros for IOMUXC_SW_PAD_CTL_PADarch/arm64/boot/dts/freescale/imx8mp-frdm.dts+84 -480 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMaud Spierings
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] imx8mp-frdm: Enhance code readability

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/[email protected]/
* 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(-)
Signature · 1 line
2.45.2