]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: imx8mp: Make MX8MP_I2C_DEFAULT independent on drive strength
authorDaniel Baluta <daniel.baluta@nxp.com>
Mon, 2 Mar 2026 13:38:04 +0000 (15:38 +0200)
committerFrank Li <Frank.Li@nxp.com>
Fri, 27 Mar 2026 13:52:12 +0000 (09:52 -0400)
commit95f56afadb0905e2181f3e966b4e5173780a05a6
tree90925f5edf56b8bd7cfd531ffb2ebb8c31b53560
parentb8d785a9f360abcd6a6f8f10a2adf222f8494d66
arm64: dts: imx8mp: Make MX8MP_I2C_DEFAULT independent on drive strength

Currently MX8MP_I2C_DEFAULT macro includes a fixed drive
strength (MX8MP_DSE_X6) thus limiting its use to only I2C
pins that require X6 drive.

There are many pinctrl configurations for I2C that use different
drive strength while still using the common I2C default configurations
(pull-up, Schmitt input, pull enable, SION).

So make the MX8MP_I2C_DEFAULT macro more flexible and reusable by removing
DSE_X6 drive strength from it's definition but add or it in all places
it is necessary.

Reviewed-by: Maud Spierings <maudspierings@gocontroll.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/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