powerpc/85xx: add ngPIXIS FPGA device tree node to the P1022DS board
Subsystems (3)
PATCH v2 1/2 powerpc/85xx: add ngPIXIS FPGA device tree node to the P1022DS board
The device tree for Freescale's P1022DS reference board is missing the node for the ngPIXIS FPGA.
--- arch/powerpc/boot/dts/p1022ds.dts | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
arch/powerpc/boot/dts/p1022ds.dts +11 -0
@@ -148,6 +148,17 @@ label = "reserved-nand"; }; }; + + board-control@3,0 { + compatible = "fsl,p1022ds-pixis"; + reg = <3 0 0x30>; + interrupt-parent = <&mpic>; + /* + * IRQ8 is generated if the "EVENT" switch is pressed + * and PX_CTL[EVESEL] is set to 00. + */ + interrupts = <8 8>; + }; }; soc@fffe00000 {
Signature · 1 line
1.7.2.3
PATCH v2 2/2 powerpc/85xx: add DIU support to the Freecale P1022DS reference board
The Freescale P1022DS has an on-chip video controller called the DIU, and a driver for this device already exists. Update the platform file for the P1022DS reference board to enable the driver, and update the defconfig for Freescale MPC85xx boards to add the driver.
--- arch/powerpc/configs/mpc85xx_defconfig | 3 + arch/powerpc/configs/mpc85xx_smp_defconfig | 3 + arch/powerpc/platforms/85xx/p1022_ds.c | 213 +++++++++++++++++++++++++++- 3 files changed, 217 insertions(+), 2 deletions(-)
arch/powerpc/configs/mpc85xx_defconfig +3 -0
@@ -124,6 +124,9 @@ CONFIG_I2C_CPM=m CONFIG_I2C_MPC=y # CONFIG_HWMON is not set CONFIG_VIDEO_OUTPUT_CONTROL=y +CONFIG_FB=y +CONFIG_FB_FSL_DIU=y +# CONFIG_VGA_CONSOLE is not set CONFIG_SOUND=y CONFIG_SND=y # CONFIG_SND_SUPPORT_OLD_API is not set
arch/powerpc/configs/mpc85xx_smp_defconfig +3 -0
@@ -126,6 +126,9 @@ CONFIG_I2C_CPM=m CONFIG_I2C_MPC=y # CONFIG_HWMON is not set CONFIG_VIDEO_OUTPUT_CONTROL=y +CONFIG_FB=y +CONFIG_FB_FSL_DIU=y +# CONFIG_VGA_CONSOLE is not set CONFIG_SOUND=y CONFIG_SND=y # CONFIG_SND_SUPPORT_OLD_API is not set
arch/powerpc/platforms/85xx/p1022_ds.c +211 -2
239 lines not on this page · raw message
Signature · 1 line
1.7.2.3
Kumar Gala
AppliedRe: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board
Quoted 1 line · Timur Tabi
The Freescale P1022DS has an on-chip video controller called the DIU, =
and a
Quoted 1 line
driver for this device already exists. Update the platform file for =
the
Quoted 1 line
P1022DS reference board to enable the driver, and update the defconfig =
for
Quoted 7 lines
Freescale MPC85xx boards to add the driver.
=20Signed-off-by Timur Tabi <[email protected]>---
arch/powerpc/configs/mpc85xx_defconfig | 3 + arch/powerpc/configs/mpc85xx_smp_defconfig | 3 + arch/powerpc/platforms/85xx/p1022_ds.c | 213 =
+++++++++++++++++++++++++++-
Quoted 1 line
3 files changed, 217 insertions(+), 2 deletions(-)
applied to next
- k=
Re: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board
In reply to Timur TabiQuoted 1 line · Timur Tabi
The Freescale P1022DS has an on-chip video controller called the DIU, =
and a
Quoted 1 line
driver for this device already exists. Update the platform file for =
the
Quoted 1 line
P1022DS reference board to enable the driver, and update the defconfig =
for
Quoted 7 lines
Freescale MPC85xx boards to add the driver.
=20Signed-off-by Timur Tabi <[email protected]>---
arch/powerpc/configs/mpc85xx_defconfig | 3 + arch/powerpc/configs/mpc85xx_smp_defconfig | 3 + arch/powerpc/platforms/85xx/p1022_ds.c | 213 =
+++++++++++++++++++++++++++-
Quoted 1 line
3 files changed, 217 insertions(+), 2 deletions(-)
I dropped this because of chicken/egg issue with guts.h
- k=
Re: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board
S3VtYXIgR2FsYSB3cm90ZToNCj4+ID4gIGFyY2gvcG93ZXJwYy9jb25maWdzL21wYzg1eHhfZGVm Y29uZmlnICAgICB8ICAgIDMgKw0KPj4gPiAgYXJjaC9wb3dlcnBjL2NvbmZpZ3MvbXBjODV4eF9z bXBfZGVmY29uZmlnIHwgICAgMyArDQo+PiA+ICBhcmNoL3Bvd2VycGMvcGxhdGZvcm1zLzg1eHgv cDEwMjJfZHMuYyAgICAgfCAgMjEzICsrKysrKysrKysrKysrKysrKysrKysrKysrKy0NCj4+ID4g IDMgZmlsZXMgY2hhbmdlZCwgMjE3IGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pDQo+IEkg ZHJvcHBlZCB0aGlzIGJlY2F1c2Ugb2YgY2hpY2tlbi9lZ2cgaXNzdWUgd2l0aCBndXRzLmgNCg0K SWYgeW91IHB1bGwgZnJvbSBhbHNhLW5leHQsIGl0IHNob3VsZCByZXNvbHZlIHRoYXQuDQoNCkVp dGhlciB0aGF0LCBvciBhc2sgdGhlIGFsc2EgZ3V5cyB0byBhcHBseSB0aGlzIHBhdGNoIGluc3Rl YWQuDQoNCi0tIA0KVGltdXIgVGFiaQ0KTGludXgga2VybmVsIGRldmVsb3Blcg0K
Re: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board
Quoted 4 lines · On Oct 13, 2010, at 8:39 PM, Tabi Timur-B04825 wrote:
Quoted 3 lines · Kumar Gala
Quoted 3 lines
Quoted 3 lines
arch/powerpc/configs/mpc85xx_defconfig | 3 + arch/powerpc/configs/mpc85xx_smp_defconfig | 3 + arch/powerpc/platforms/85xx/p1022_ds.c | 213 =
+++++++++++++++++++++++++++-
Quoted 6 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
3 files changed, 217 insertions(+), 2 deletions(-)I dropped this because of chicken/egg issue with
guts.h=20
If you pull from alsa-next, it should resolve that. =20
Either that, or ask the alsa guys to apply this patch instead.
Can you ask the alsa guys to pick it up. I'm happy to ack.
- k=
Re: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board
In reply to Timur TabiMark, can you pick up this patch for us? Because it depends on "powerpc: rename immap_86xx.h to fsl_guts.h, and add 85xx support", it will break the build if we apply to powerpc-next.
You can grab the patch from http://patchwork.ozlabs.org/patch/67095/
Quoted 1 line · Timur Tabi
The Freescale P1022DS has an on-chip video controller called the DIU, and=
a
Quoted 1 line
driver for this device already exists. =A0Update the platform file for th=
e
Quoted 1 line
P1022DS reference board to enable the driver, and update the defconfig fo=
r
Quoted 4 lines
Freescale MPC85xx boards to add the driver.
Signed-off-by Timur Tabi <[email protected]>---
--=20
Timur Tabi
Linux kernel developer at Freescale
Re: [PATCH 2/2] [v2] powerpc/85xx: add DIU support to the Freecale P1022DS reference board
Quoted 5 lines · Timur Tabi
Mark, can you pick up this patch for us? Because it depends on "powerpc: rename
immap_86xx.htofsl_guts.h, and add 85xx support", it will break the build if we apply to powerpc-next.You can grab the patch from http://patchwork.ozlabs.org/patch/67095/
Done, but I had to fix up what looked like an add/add conflict with headers in the file. Since I was editing that area of the file anyway I also dropped the #define DEBUG as it looked like a mistake. Please send followup patch(es) correcting things if I messed up any of that.
Kumar Gala
AppliedQuoted 7 lines · Timur Tabi
The device tree for Freescale's P1022DS reference board is missing the node for the ngPIXIS FPGA.
Signed-off-by Timur Tabi <[email protected]>---
arch/powerpc/boot/dts/p1022ds.dts| 11 +++++++++++1 files changed, 11 insertions(+), 0 deletions(-)
applied
- k