Skip to contentSkip to conversation

ARM: dts: imx28: add pinmux for USB1 overcurrent on pwm2

PATCH In review Mans Rullgard 3 participants 8 messages Jan 10, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx28: add pinmux for USB1 overcurrent on pwm2

Add pinmux setting for USB1 overcurrent on pwm2 pad.

---
 arch/arm/boot/dts/imx28.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/imx28.dtsi +10 -0
index fae7b9069fc4..2f5cbf7d09f2 100644
@@ -883,6 +883,16 @@
 					fsl,pull-up = <MXS_PULL_DISABLE>;
 				};
 
+				usb1_pins_b: usb1 at 1 {
+					reg = <1>;
+					fsl,pinmux-ids = <
+						MX28_PAD_PWM2__USB1_OVERCURRENT
+					>;
+					fsl,drive-strength = <MXS_DRIVE_12mA>;
+					fsl,voltage = <MXS_VOLTAGE_HIGH>;
+					fsl,pull-up = <MXS_PULL_DISABLE>;
+				};
+
 				usb0_id_pins_a: usb0id at 0 {
 					reg = <0>;
 					fsl,pinmux-ids = <
Signature · 1 line
2.7.0
#2 lore raw
Quoted 9 lines · Stefan Wahren

Hi Mans,

Quoted 4 lines

Mans Rullgard <[email protected]> hat am 10. Januar 2016 um 13:40 geschrieben:

Add pinmux setting for USB1 overcurrent on pwm2 pad.

could you please change your patch to describe why you need to add this pinmux?

I'm working on a board that is wired that way. I can of course put this in the board-specific dts if that's preferable.

Signature · 1 line
M?ns Rullg?rd
#3 lore raw
Quoted 10 lines

M?ns Rullg?rd <[email protected]> hat am 10. Januar 2016 um 14:13 geschrieben:

Quoted 5 lines · Stefan Wahren

Hi Mans,

Quoted 3 lines

Mans Rullgard <[email protected]> hat am 10. Januar 2016 um 13:40 geschrieben:

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Add pinmux setting for USB1 overcurrent on pwm2 pad.

could you please change your patch to describe why you need to add this pinmux?

I'm working on a board that is wired that way. I can of course put this in the board-specific dts if that's preferable.

So the board isn't submitted to mainline?

IMHO the change is okay, but the description doesn't explain why is it needed.

So a suitable description would be that it's needed for board xy.

Quoted 3 lines

--
M?ns Rullg?rd

#4 lore raw
Quoted 12 lines · Stefan Wahren
Quoted 12 lines

M?ns Rullg?rd <[email protected]> hat am 10. Januar 2016 um 14:13 geschrieben:

Quoted 7 lines · Stefan Wahren

Hi Mans,

Quoted 4 lines

Mans Rullgard <[email protected]> hat am 10. Januar 2016 um 13:40 geschrieben:

Add pinmux setting for USB1 overcurrent on pwm2 pad.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

could you please change your patch to describe why you need to add this pinmux?

I'm working on a board that is wired that way. I can of course put this in the board-specific dts if that's preferable.

So the board isn't submitted to mainline?

Not yet anyway.

Quoted 3 lines

IMHO the change is okay, but the description doesn't explain why is it needed.

So a suitable description would be that it's needed for board xy.

Would it be better to send this patch in a series along with the full board support?

Signature · 1 line
M?ns Rullg?rd
#5 lore raw
Quoted 29 lines

M?ns Rullg?rd <[email protected]> hat am 10. Januar 2016 um 14:42 geschrieben:

Quoted 13 lines · Stefan Wahren
Quoted 13 lines

M?ns Rullg?rd <[email protected]> hat am 10. Januar 2016 um 14:13 geschrieben:

Quoted 8 lines · Stefan Wahren

Hi Mans,

Quoted 5 lines

Mans Rullgard <[email protected]> hat am 10. Januar 2016 um 13:40 geschrieben:

Add pinmux setting for USB1 overcurrent on pwm2 pad.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

could you please change your patch to describe why you need to add this pinmux?

I'm working on a board that is wired that way. I can of course put this in the board-specific dts if that's preferable.

So the board isn't submitted to mainline?

Not yet anyway.

Quoted 8 lines
Quoted 4 lines

IMHO the change is okay, but the description doesn't explain why is it needed.

So a suitable description would be that it's needed for board xy.

Would it be better to send this patch in a series along with the full board support?

Yes, it would be nice to have a dts file which reference the new pinmux.

Quoted 7 lines

--
M?ns Rullg?rd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#6 lore raw
Quoted 31 lines · Stefan Wahren
Quoted 31 lines

M?ns Rullg?rd <[email protected]> hat am 10. Januar 2016 um 14:42 geschrieben:

Quoted 13 lines · Stefan Wahren
Quoted 13 lines

M?ns Rullg?rd <[email protected]> hat am 10. Januar 2016 um 14:13 geschrieben:

Quoted 8 lines · Stefan Wahren

Hi Mans,

Quoted 5 lines

Mans Rullgard <[email protected]> hat am 10. Januar 2016 um 13:40 geschrieben:

Add pinmux setting for USB1 overcurrent on pwm2 pad.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

could you please change your patch to describe why you need to add this pinmux?

I'm working on a board that is wired that way. I can of course put this in the board-specific dts if that's preferable.

So the board isn't submitted to mainline?

Not yet anyway.

Quoted 3 lines

IMHO the change is okay, but the description doesn't explain why is it needed.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

So a suitable description would be that it's needed for board xy.

Would it be better to send this patch in a series along with the full board support?

Yes, it would be nice to have a dts file which reference the new pinmux.

OK, I'll sit on it for a while longer then.

Signature · 1 line
M?ns Rullg?rd
#7 lore raw
In reply to Stefan Wahren

Hello,

Quoted 13 lines · Stefan Wahren
Quoted 13 lines

M?ns Rullg?rd <[email protected]> hat am 10. Januar 2016 um 14:13 geschrieben:

Quoted 9 lines · Stefan Wahren

Hi Mans,

Quoted 4 lines

Mans Rullgard <[email protected]> hat am 10. Januar 2016 um 13:40 geschrieben:

Add pinmux setting for USB1 overcurrent on pwm2 pad.

could you please change your patch to describe why you need to add this pinmux?

Quoted 8 lines
Quoted 2 lines

I'm working on a board that is wired that way. I can of course put this in the board-specific dts if that's preferable.

So the board isn't submitted to mainline?

IMHO the change is okay, but the description doesn't explain why is it needed.

So a suitable description would be that it's needed for board xy.

The problem with pinmuxing on i.MX23/28 is that the order of pinmux groups is to a certain degree important. So not everything is possible in the machine specific dts. (I didn't have an eye on this issue, maybe it's fixed in the meantime?)

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |