Skip to contentSkip to conversation

ARM: dts: add pwm pins for r40.

PATCH Superseded hao_zhang 2 participants 4 messages Jan 11, 2018 – Jan 15, 2018

Subsystems (4)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

hao_zhang

author
#0 lore raw

PATCH 3/4 ARM: dts: add pwm pins for r40.

This patch add pwm pins for r40.

---
 arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts +6 -0
index 8c5efe2..6cf6273 100644
@@ -196,6 +196,12 @@
 	status = "okay";
 };
 
+&pwm {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pwm_pins>;
+	status = "okay";
+};
+
 &uart0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart0_pb_pins>;
Signature · 1 line
2.7.4
#1 lore raw

Hi,

Quoted 3 lines · hao_zhang

This patch add pwm pins for r40.

You should order your patches differently. We try to be as bisectable as possible, and if we just apply this patch the DT will not compile anymore.

Your patch 4 should come before this one.

Your commit title and log doesn't seem to match the content of the patch either.

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180111/48365930/attachment.sig>
author
#2 lore raw

2018-01-11 20:47 GMT+08:00 Maxime Ripard <[email protected]>:

Quoted 5 lines

Hi,

Quoted 2 lines · hao_zhang

This patch add pwm pins for r40.

Quoted 8 lines
Quoted 1 line

You should order your patches differently. We try to be as bisectable as possible, and if we just apply this patch the DT will not compile anymore.

Your patch 4 should come before this one.

Do you mean that the order of patch be applied is from the first to the last in the patch set ?
because you apply the last patch first also break the DT compile...

Thinks :)
Hao Zhang

Quoted 10 lines

Your commit title and log doesn't seem to match the content of the patch either.

Thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

#3 lore raw
Quoted 12 lines · Hao Zhang

2018-01-11 20:47 GMT+08:00 Maxime Ripard <[email protected]>:

Quoted 11 lines

Hi,

Quoted 3 lines · hao_zhang

This patch add pwm pins for r40.

You should order your patches differently. We try to be as bisectable as possible, and if we just apply this patch the DT will not compile anymore.

Quoted 5 lines
Quoted 2 lines

Your patch 4 should come before this one.

Do you mean that the order of patch be applied is from the first to the last in the patch set ?

Yes and each steps should compile and not introduce any regressions (ideally :)).

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180115/d62f8f86/attachment.sig>