Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d80d581b authored by Roger Quadros's avatar Roger Quadros Committed by Tony Lindgren
Browse files

ARM: dts: dra7x-evm: avoid possible contention while muxing on CAN lines



DCAN1 RX and TX lines are internally pulled high according to [1].
While muxing between DCAN mode and SAFE mode we make sure
that the same pull direction is set to minimize opposite
pull contention during the switching window.

[1] in DRA7 data manual, Ball characteristics table 4-2, DSIS colum shows
the state driven to the peripheral input while in the deselcted mode.
DSIS - De-Selected Input State.

Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9b558085
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -263,15 +263,15 @@


	dcan1_pins_default: dcan1_pins_default {
	dcan1_pins_default: dcan1_pins_default {
		pinctrl-single,pins = <
		pinctrl-single,pins = <
			0x3d0   (PIN_OUTPUT | MUX_MODE0) /* dcan1_tx */
			0x3d0   (PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
			0x418   (PULL_DIS | MUX_MODE1) /* wakeup0.dcan1_rx */
			0x418   (PULL_UP | MUX_MODE1) /* wakeup0.dcan1_rx */
		>;
		>;
	};
	};


	dcan1_pins_sleep: dcan1_pins_sleep {
	dcan1_pins_sleep: dcan1_pins_sleep {
		pinctrl-single,pins = <
		pinctrl-single,pins = <
			0x3d0   (MUX_MODE15)	/* dcan1_tx.off */
			0x3d0   (MUX_MODE15 | PULL_UP)	/* dcan1_tx.off */
			0x418   (MUX_MODE15)	/* wakeup0.off */
			0x418   (MUX_MODE15 | PULL_UP)	/* wakeup0.off */
		>;
		>;
	};
	};
};
};
+4 −4
Original line number Original line Diff line number Diff line
@@ -119,15 +119,15 @@


	dcan1_pins_default: dcan1_pins_default {
	dcan1_pins_default: dcan1_pins_default {
		pinctrl-single,pins = <
		pinctrl-single,pins = <
			0x3d0   (PIN_OUTPUT | MUX_MODE0) /* dcan1_tx */
			0x3d0   (PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
			0x418   (PULL_DIS | MUX_MODE1) /* wakeup0.dcan1_rx */
			0x418   (PULL_UP | MUX_MODE1)	/* wakeup0.dcan1_rx */
		>;
		>;
	};
	};


	dcan1_pins_sleep: dcan1_pins_sleep {
	dcan1_pins_sleep: dcan1_pins_sleep {
		pinctrl-single,pins = <
		pinctrl-single,pins = <
			0x3d0   (MUX_MODE15)	/* dcan1_tx.off */
			0x3d0   (MUX_MODE15 | PULL_UP)	/* dcan1_tx.off */
			0x418   (MUX_MODE15)	/* wakeup0.off */
			0x418   (MUX_MODE15 | PULL_UP)	/* wakeup0.off */
		>;
		>;
	};
	};