Re: [PATCH 4.4 13/36] ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux

From: Ben Hutchings
Date: Mon Mar 12 2018 - 19:29:44 EST


On Fri, 2018-03-09 at 16:18 -0800, Greg Kroah-Hartman wrote:
> 4.4-stable review patch.ÂÂIf anyone has any objections, please let me know.
>
> ------------------
>
> From: Adam Ford <aford173@xxxxxxxxx>
>
> commit 74402055a2d3ec998a1ded599e86185a27d9bbf4 upstream.
>
> The pinmuxing was missing for I2C1 which was causing intermittent issues
> with the PMIC which is connected to I2C1.ÂÂThe bootloader did not quite
> configure the I2C1 either, so when running at 2.6MHz, it was generating
> errors at time.
>
> This correctly sets the I2C1 pinmuxing so it can operate at 2.6MHz
>
> Fixes: 687c27676151 ("ARM: dts: Add minimal support for LogicPD Torpedo
> DM3730 devkit")
>
> Signed-off-by: Adam Ford <aford173@xxxxxxxxx>
> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> ---
> Âarch/arm/boot/dts/logicpd-torpedo-som.dtsi |ÂÂÂÂ8 ++++++++
> Â1 file changed, 8 insertions(+)
>
> --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> @@ -90,6 +90,8 @@
> Â};
> Â
> Â&i2c1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c1_pins>;
> Â clock-frequency = <2600000>;
> Â
> Â twl: twl@48 {
> @@ -146,6 +148,12 @@
> Â OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2)ÂÂÂ/* etk_ctl.sdmmc3_cmd */
> Â >;
> Â };
> + i2c1_pins: pinmux_i2c1_pins {
> + pinctrl-single,pins = <
> + OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT | MUX_MODE0)ÂÂÂÂÂÂÂÂ/* i2c1_scl.i2c1_scl */
> + OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0)ÂÂÂÂÂÂÂÂ/* i2c1_sda.i2c1_sda */
> + >;
> + };

This is being added under &omap3_pmx_core2, but upstream it was added
under &omap3_pmx_core. Does that matter?

Ben.

> Â};
> Â
> Â#include "twl4030.dtsi"
>
>
>
--
Ben Hutchings
Software Developer, Codethink Ltd.