Skip to contentSkip to conversation

corrected PCI interrupt sense values to level low in mpc8349emds.dts

PATCH In review Kim Phillips 6 participants 9 messages Aug 28, 2006 – Aug 31, 2006

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

PATCH 1/1 corrected PCI interrupt sense values to level low in mpc8349emds.dts

Corrected PCI interrupt sense values to level low in mpc8349emds.dts, per Leo's recommendation.

---

applies on top of "[PATCH 4/4] Add MPC8349E MDS device tree source file to arch/powerpc/boot/dts"

 arch/powerpc/boot/dts/mpc8349emds.dts |  112 +++++++++++++++++----------------
 1 files changed, 56 insertions(+), 56 deletions(-)
arch/powerpc/boot/dts/mpc8349emds.dts +56 -56
index 7e4508b..0643db9 100644
@@ -178,46 +178,46 @@
 			interrupt-map = <
 
 					/* IDSEL 0x11 */
-					 8800 0 0 1 700 14 0
-					 8800 0 0 2 700 15 0
-					 8800 0 0 3 700 16 0
-					 8800 0 0 4 700 17 0
+					 8800 0 0 1 700 14 2
+					 8800 0 0 2 700 15 2
+					 8800 0 0 3 700 16 2
+					 8800 0 0 4 700 17 2
 
 					/* IDSEL 0x12 */
-					 9000 0 0 1 700 16 0
-					 9000 0 0 2 700 17 0
-					 9000 0 0 3 700 14 0
-					 9000 0 0 4 700 15 0
+					 9000 0 0 1 700 16 2
+					 9000 0 0 2 700 17 2
+					 9000 0 0 3 700 14 2
+					 9000 0 0 4 700 15 2
 
 					/* IDSEL 0x13 */
-					 9800 0 0 1 700 17 0
-					 9800 0 0 2 700 14 0
-					 9800 0 0 3 700 15 0
-					 9800 0 0 4 700 16 0
+					 9800 0 0 1 700 17 2
+					 9800 0 0 2 700 14 2
+					 9800 0 0 3 700 15 2
+					 9800 0 0 4 700 16 2
 
 					/* IDSEL 0x15 */
-					 a800 0 0 1 700 14 0
-					 a800 0 0 2 700 15 0
-					 a800 0 0 3 700 16 0
-					 a800 0 0 4 700 17 0
+					 a800 0 0 1 700 14 2
+					 a800 0 0 2 700 15 2
+					 a800 0 0 3 700 16 2
+					 a800 0 0 4 700 17 2
 
 					/* IDSEL 0x16 */
-					 b000 0 0 1 700 17 0
-					 b000 0 0 2 700 14 0
-					 b000 0 0 3 700 15 0
-					 b000 0 0 4 700 16 0
+					 b000 0 0 1 700 17 2
+					 b000 0 0 2 700 14 2
+					 b000 0 0 3 700 15 2
+					 b000 0 0 4 700 16 2
 
 					/* IDSEL 0x17 */
-					 b800 0 0 1 700 16 0
-					 b800 0 0 2 700 17 0
-					 b800 0 0 3 700 14 0
-					 b800 0 0 4 700 15 0
+					 b800 0 0 1 700 16 2
+					 b800 0 0 2 700 17 2
+					 b800 0 0 3 700 14 2
+					 b800 0 0 4 700 15 2
 
 					/* IDSEL 0x18 */
-					 b000 0 0 1 700 15 0
-					 b000 0 0 2 700 16 0
-					 b000 0 0 3 700 17 0
-					 b000 0 0 4 700 14 0>;
+					 b000 0 0 1 700 15 2
+					 b000 0 0 2 700 16 2
+					 b000 0 0 3 700 17 2
+					 b000 0 0 4 700 14 2>;
 			interrupt-parent = <700>;
 			interrupts = <42 8>;
 			bus-range = <0 0>;
@@ -238,46 +238,46 @@
 			interrupt-map = <
 
 					/* IDSEL 0x11 */
-					 8800 0 0 1 700 14 0
-					 8800 0 0 2 700 15 0
-					 8800 0 0 3 700 16 0
-					 8800 0 0 4 700 17 0
+					 8800 0 0 1 700 14 2
+					 8800 0 0 2 700 15 2
+					 8800 0 0 3 700 16 2
+					 8800 0 0 4 700 17 2
 
 					/* IDSEL 0x12 */
-					 9000 0 0 1 700 16 0
-					 9000 0 0 2 700 17 0
-					 9000 0 0 3 700 14 0
-					 9000 0 0 4 700 15 0
+					 9000 0 0 1 700 16 2
+					 9000 0 0 2 700 17 2
+					 9000 0 0 3 700 14 2
+					 9000 0 0 4 700 15 2
 
 					/* IDSEL 0x13 */
-					 9800 0 0 1 700 17 0
-					 9800 0 0 2 700 14 0
-					 9800 0 0 3 700 15 0
-					 9800 0 0 4 700 16 0
+					 9800 0 0 1 700 17 2
+					 9800 0 0 2 700 14 2
+					 9800 0 0 3 700 15 2
+					 9800 0 0 4 700 16 2
 
 					/* IDSEL 0x15 */
-					 a800 0 0 1 700 14 0
-					 a800 0 0 2 700 15 0
-					 a800 0 0 3 700 16 0
-					 a800 0 0 4 700 17 0
+					 a800 0 0 1 700 14 2
+					 a800 0 0 2 700 15 2
+					 a800 0 0 3 700 16 2
+					 a800 0 0 4 700 17 2
 
 					/* IDSEL 0x16 */
-					 b000 0 0 1 700 17 0
-					 b000 0 0 2 700 14 0
-					 b000 0 0 3 700 15 0
-					 b000 0 0 4 700 16 0
+					 b000 0 0 1 700 17 2
+					 b000 0 0 2 700 14 2
+					 b000 0 0 3 700 15 2
+					 b000 0 0 4 700 16 2
 
 					/* IDSEL 0x17 */
-					 b800 0 0 1 700 16 0
-					 b800 0 0 2 700 17 0
-					 b800 0 0 3 700 14 0
-					 b800 0 0 4 700 15 0
+					 b800 0 0 1 700 16 2
+					 b800 0 0 2 700 17 2
+					 b800 0 0 3 700 14 2
+					 b800 0 0 4 700 15 2
 
 					/* IDSEL 0x18 */
-					 b000 0 0 1 700 15 0
-					 b000 0 0 2 700 16 0
-					 b000 0 0 3 700 17 0
-					 b000 0 0 4 700 14 0>;
+					 b000 0 0 1 700 15 2
+					 b000 0 0 2 700 16 2
+					 b000 0 0 3 700 17 2
+					 b000 0 0 4 700 14 2>;
 			interrupt-parent = <700>;
 			interrupts = <42 8>;
 			bus-range = <0 0>;
Signature · 1 line
1.4.1
#1 lore raw

RE: [PATCH] corrected PCI interrupt sense values to level low inmpc8349emds.dts

Quoted 170 lines

Corrected PCI interrupt sense values to level low in=20 mpc8349emds.dts, per Leo's recommendation.
=20

---
=20
applies on top of "[PATCH 4/4] Add MPC8349E MDS device tree=20 source file to arch/powerpc/boot/dts"
=20
=20
arch/powerpc/boot/dts/mpc8349emds.dts | 112=20
+++++++++++++++++----------------

 1 files changed, 56 insertions(+), 56 deletions(-)

=20

arch/powerpc/boot/dts/mpc8349emds.dts +0 -0
index 7e4508b..0643db9 100644
@@ -178,46 +178,46 @@
 			interrupt-map =3D <

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x11 */
-					 8800 0 0 1 700 14 0
-					 8800 0 0 2 700 15 0
-					 8800 0 0 3 700 16 0
-					 8800 0 0 4 700 17 0
+					 8800 0 0 1 700 14 2
+					 8800 0 0 2 700 15 2
+					 8800 0 0 3 700 16 2
+					 8800 0 0 4 700 17 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x12 */
-					 9000 0 0 1 700 16 0
-					 9000 0 0 2 700 17 0
-					 9000 0 0 3 700 14 0
-					 9000 0 0 4 700 15 0
+					 9000 0 0 1 700 16 2
+					 9000 0 0 2 700 17 2
+					 9000 0 0 3 700 14 2
+					 9000 0 0 4 700 15 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x13 */
-					 9800 0 0 1 700 17 0
-					 9800 0 0 2 700 14 0
-					 9800 0 0 3 700 15 0
-					 9800 0 0 4 700 16 0
+					 9800 0 0 1 700 17 2
+					 9800 0 0 2 700 14 2
+					 9800 0 0 3 700 15 2
+					 9800 0 0 4 700 16 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x15 */
-					 a800 0 0 1 700 14 0
-					 a800 0 0 2 700 15 0
-					 a800 0 0 3 700 16 0
-					 a800 0 0 4 700 17 0
+					 a800 0 0 1 700 14 2
+					 a800 0 0 2 700 15 2
+					 a800 0 0 3 700 16 2
+					 a800 0 0 4 700 17 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x16 */
-					 b000 0 0 1 700 17 0
-					 b000 0 0 2 700 14 0
-					 b000 0 0 3 700 15 0
-					 b000 0 0 4 700 16 0
+					 b000 0 0 1 700 17 2
+					 b000 0 0 2 700 14 2
+					 b000 0 0 3 700 15 2
+					 b000 0 0 4 700 16 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x17 */
-					 b800 0 0 1 700 16 0
-					 b800 0 0 2 700 17 0
-					 b800 0 0 3 700 14 0
-					 b800 0 0 4 700 15 0
+					 b800 0 0 1 700 16 2
+					 b800 0 0 2 700 17 2
+					 b800 0 0 3 700 14 2
+					 b800 0 0 4 700 15 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x18 */
-					 b000 0 0 1 700 15 0
-					 b000 0 0 2 700 16 0
-					 b000 0 0 3 700 17 0
-					 b000 0 0 4 700 14 0>;
+					 b000 0 0 1 700 15 2
+					 b000 0 0 2 700 16 2
+					 b000 0 0 3 700 17 2
+					 b000 0 0 4 700 14 2>;
 			interrupt-parent =3D <700>;
 			interrupts =3D <42 8>;
 			bus-range =3D <0 0>;
@@ -238,46 +238,46 @@
 			interrupt-map =3D <

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x11 */
-					 8800 0 0 1 700 14 0
-					 8800 0 0 2 700 15 0
-					 8800 0 0 3 700 16 0
-					 8800 0 0 4 700 17 0
+					 8800 0 0 1 700 14 2
+					 8800 0 0 2 700 15 2
+					 8800 0 0 3 700 16 2
+					 8800 0 0 4 700 17 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x12 */
-					 9000 0 0 1 700 16 0
-					 9000 0 0 2 700 17 0
-					 9000 0 0 3 700 14 0
-					 9000 0 0 4 700 15 0
+					 9000 0 0 1 700 16 2
+					 9000 0 0 2 700 17 2
+					 9000 0 0 3 700 14 2
+					 9000 0 0 4 700 15 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x13 */
-					 9800 0 0 1 700 17 0
-					 9800 0 0 2 700 14 0
-					 9800 0 0 3 700 15 0
-					 9800 0 0 4 700 16 0
+					 9800 0 0 1 700 17 2
+					 9800 0 0 2 700 14 2
+					 9800 0 0 3 700 15 2
+					 9800 0 0 4 700 16 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x15 */
-					 a800 0 0 1 700 14 0
-					 a800 0 0 2 700 15 0
-					 a800 0 0 3 700 16 0
-					 a800 0 0 4 700 17 0
+					 a800 0 0 1 700 14 2
+					 a800 0 0 2 700 15 2
+					 a800 0 0 3 700 16 2
+					 a800 0 0 4 700 17 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x16 */
-					 b000 0 0 1 700 17 0
-					 b000 0 0 2 700 14 0
-					 b000 0 0 3 700 15 0
-					 b000 0 0 4 700 16 0
+					 b000 0 0 1 700 17 2
+					 b000 0 0 2 700 14 2
+					 b000 0 0 3 700 15 2
+					 b000 0 0 4 700 16 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 					/* IDSEL 0x17 */
-					 b800 0 0 1 700 16 0
-					 b800 0 0 2 700 17 0
-					 b800 0 0 3 700 14 0
-					 b800 0 0 4 700 15 0
+					 b800 0 0 1 700 16 2
+					 b800 0 0 2 700 17 2
+					 b800 0 0 3 700 14 2
+					 b800 0 0 4 700 15 2

=20

arch/powerpc/boot/dts/mpc8349emds.dts +4 -5
 					/* IDSEL 0x18 */
-					 b000 0 0 1 700 15 0
-					 b000 0 0 2 700 16 0
-					 b000 0 0 3 700 17 0
-					 b000 0 0 4 700 14 0>;
+					 b000 0 0 1 700 15 2
+					 b000 0 0 2 700 16 2
+					 b000 0 0 3 700 17 2
+					 b000 0 0 4 700 14 2>;
 			interrupt-parent =3D <700>;
 			interrupts =3D <42 8>;
 			bus-range =3D <0 0>;
--
Quoted 1 line

1.4.1

Where these IDSEL 0x15~0x18 come from on 8349EMDS board? Please expain it.

-DAve

#2 lore raw

Re: [PATCH] corrected PCI interrupt sense values to level low inmpc8349emds.dts

Quoted 2 lines

Where these IDSEL 0x15~0x18 come from on 8349EMDS board? Please expain it.

This is from the docs on the PMC-PCI expansion boards that state what IDSELs are used and how they are wired up.

- k

#3 lore raw

RE: [PATCH] corrected PCI interrupt sense values to level low inmpc8349emds.dts

<snip>

Quoted 6 lines

=20

Quoted 2 lines

Where these IDSEL 0x15~0x18 come from on 8349EMDS board? Please expain it.

=20
This is from the docs on the PMC-PCI expansion boards that=20 state what IDSELs are used and how they are wired up.

Maybe you misunderstand me, I know that, the IDSEL is determined by hardware design, I look up the schematic, only AD17/18/19 are connected to PCI SLOT, that is IDSEL 0x11~0x13, I cannot find the IDSEL 0x15~0x18 are impemented in the PIB. The IDSEL 0x15~0x18 actually are not existing.

-DAve

#4 lore raw

RE: [PATCH] corrected PCI interrupt sense values to level lowinmpc8349emds.dts

Quoted 7 lines

<snip>

Quoted 5 lines

=20

Quoted 2 lines

Where these IDSEL 0x15~0x18 come from on 8349EMDS board? Please expain it.

=20
This is from the docs on the PMC-PCI expansion boards that=20

Quoted 8 lines

state what=20

Quoted 1 line

IDSELs are used and how they are wired up.

=20
Maybe you misunderstand me, I know that, the IDSEL is=20 determined by hardware design, I look up the schematic, only=20 AD17/18/19 are connected to PCI SLOT, that is IDSEL=20 0x11~0x13, I cannot find the IDSEL 0x15~0x18 are impemented=20 in the PIB. The IDSEL 0x15~0x18 actually are not existing.

These IDSELs are used by PCI Expansion Adaptor Board which has 4 PCI slots for PCI1.

- Leo

#5 lore raw

RE: [PATCH] corrected PCI interrupt sense values to level lowinmpc8349emds.dts

Quoted 10 lines
Quoted 5 lines

=20
Maybe you misunderstand me, I know that, the IDSEL is determined by=20 hardware design, I look up the schematic, only
AD17/18/19 are connected to PCI SLOT, that is IDSEL 0x11~0x13, I=20 cannot find the IDSEL 0x15~0x18 are impemented in the PIB.=20

The IDSEL=20

Quoted 1 line

0x15~0x18 actually are not existing.

=20
These IDSELs are used by PCI Expansion Adaptor Board which=20 has 4 PCI slots for PCI1.

Oh...The PCI expansion adaptor board. I see.
I have not ever seen the board.

-DAve

#6 lore raw
In reply to Kim Phillips
Quoted 2 lines · Kim Phillips

Corrected PCI interrupt sense values to level low in mpc8349emds.dts, per Leo's recommendation.

Please send an amended version of your original patch.

Thanks,
Paul.

#7 lore raw
In reply to Kim Phillips

Hello.

Quoted 16 lines · Kim Phillips

Corrected PCI interrupt sense values to level low in mpc8349emds.dts, per Leo's recommendation.

---

applies on top of "[PATCH 4/4] Add MPC8349E MDS device tree source file to arch/powerpc/boot/dts"

 arch/powerpc/boot/dts/mpc8349emds.dts |  112 +++++++++++++++++----------------
 1 files changed, 56 insertions(+), 56 deletions(-)
arch/powerpc/boot/dts/mpc8349emds.dts +0 -0
index 7e4508b..0643db9 100644
@@ -178,46 +178,46 @@
 			interrupt-map = <

arch/powerpc/boot/dts/mpc8349emds.dts line 184

Quoted 10 lines
arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
 
 					/* IDSEL 0x11 */
-					 8800 0 0 1 700 14 0
-					 8800 0 0 2 700 15 0
-					 8800 0 0 3 700 16 0
-					 8800 0 0 4 700 17 0
+					 8800 0 0 1 700 14 2
+					 8800 0 0 2 700 15 2
+					 8800 0 0 3 700 16 2
+					 8800 0 0 4 700 17 2

Since when 2 means level low? 2 is level high, 1 is level low.

WBR, Sergei

#8 lore raw
Quoted 18 lines · Hello, I wrote:
Quoted 18 lines

Corrected PCI interrupt sense values to level low in mpc8349emds.dts, per Leo's recommendation.

---

applies on top of "[PATCH 4/4] Add MPC8349E MDS device tree source file to arch/powerpc/boot/dts"

 arch/powerpc/boot/dts/mpc8349emds.dts |  112 
+++++++++++++++++----------------
 1 files changed, 56 insertions(+), 56 deletions(-)
arch/powerpc/boot/dts/mpc8349emds.dts +0 -0
index 7e4508b..0643db9 100644
@@ -178,46 +178,46 @@
             interrupt-map = <
 
Quoted 11 lines

arch/powerpc/boot/dts/mpc8349emds.dts line 184

Quoted 9 lines
arch/powerpc/boot/dts/mpc8349emds.dts +4 -4
                     /* IDSEL 0x11 */
-                     8800 0 0 1 700 14 0
-                     8800 0 0 2 700 15 0
-                     8800 0 0 3 700 16 0
-                     8800 0 0 4 700 17 0
+                     8800 0 0 1 700 14 2
+                     8800 0 0 2 700 15 2
+                     8800 0 0 3 700 16 2
+                     8800 0 0 4 700 17 2

Since when 2 means level low? 2 is level high, 1 is level low.

Ah, this board uses IPIC, not OpenPIC. Anyway, this contradicts your own
comment to the "ipic" device node stating that 8 is the right value for level low.

WBR, Sergei