Skip to content

Commit

Permalink
ARCv2: [vdk] Enable ARC PGU on HS38 VDK
Browse files Browse the repository at this point in the history
With required ARC PGU updates that allow it to be used on simulation
platforms we may finally utilize ARC PGU in HS38 VDK with modern
Linux kernels.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
  • Loading branch information
Alexey Brodkin committed Jun 13, 2016
1 parent a189d28 commit c8f1daa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
13 changes: 9 additions & 4 deletions arch/arc/boot/dts/vdk_axs10x_mb.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
#clock-cells = <0>;
};

pguclk: pguclk {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <25175000>;
};
};

ethernet@0x18000 {
Expand Down Expand Up @@ -75,11 +80,11 @@
};

/* PGU output directly sent to virtual LCD screen; hdmi controller not modelled */
pgu@0x17000 {
compatible = "snps,arcpgufb";
pgu@17000 {
compatible = "snps,arcpgu";
reg = <0x17000 0x400>;
clock-frequency = <51000000>; /* PGU'clock is initated in init function */
/* interrupts = <5>; PGU interrupts not used, this vector is used for ps2 below */
clocks = <&pguclk>;
clock-names = "pxlclk";
};

/* VDK has additional ps2 keyboard/mouse interface integrated in LCD screen model */
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/boot/dts/vdk_hs38_smp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
compatible = "snps,axs103";

chosen {
bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0";
bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0 video=640x480-24";
};
};
7 changes: 2 additions & 5 deletions arch/arc/configs/vdk_hs38_smp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,9 @@ CONFIG_SERIAL_8250_DW=y
CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_HW_RANDOM is not set
# CONFIG_HWMON is not set
CONFIG_FB=y
CONFIG_ARCPGU_RGB888=y
CONFIG_ARCPGU_DISPTYPE=0
# CONFIG_VGA_CONSOLE is not set
CONFIG_DRM=y
CONFIG_DRM_ARCPGU=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
Expand Down

0 comments on commit c8f1daa

Please sign in to comment.