Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,22 @@
interrupts = <0 23 4>;
};

vcd: vcd@0 {
vcd: vcd@f0810000 {
compatible = "nuvoton,npcm750-vcd";
reg = <0xf0810000 0x10000
0xf0820000 0x2000>;
interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
reg = <0xf0810000 0x10000>;
mem-addr = <0x3e200000>;
mem-size = <0x600000>;
interrupts = <0 22 4>;
status = "disabled";
};

ece: ece@f0820000 {
compatible = "nuvoton,npcm750-ece";
reg = <0xf0820000 0x2000>;
mem-addr = <0x3e800000>;
mem-size = <0x600000>;
interrupts = <0 24 4>;
status = "disabled";
};

pcimbox: pcimbox@f0848000 {
Expand Down Expand Up @@ -654,6 +664,12 @@
pinctrl-0 = <&smb15_pins>;
status = "disabled";
};

gfxi: gfxi@f000e000 {
compatible = "nuvoton,npcm750-gfxi", "syscon", "simple-mfd";
reg = <0xf000e000 0x100>;
};

};
};

Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/nuvoton-npcm750-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,14 @@
status = "okay";
};

vcd: vcd@f0810000 {
status = "okay";
};

ece: ece@f0820000 {
status = "okay";
};

apb {

watchdog1: watchdog@901C {
Expand Down
2 changes: 2 additions & 0 deletions drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@ if FB || SGI_NEWPORT_CONSOLE

endif

source "drivers/video/vcd/Kconfig"
source "drivers/video/compression/Kconfig"

endmenu
3 changes: 3 additions & 0 deletions drivers/video/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ obj-$(CONFIG_LOGO) += logo/
obj-y += backlight/

obj-y += fbdev/
obj-$(CONFIG_NPCM750_ECE) += compression/
obj-$(CONFIG_NPCM750_VCD) += vcd/


obj-$(CONFIG_VIDEOMODE_HELPERS) += display_timing.o videomode.o
ifeq ($(CONFIG_OF),y)
Expand Down
8 changes: 8 additions & 0 deletions drivers/video/compression/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# ECE configuration
#

config NPCM750_ECE
tristate "Nuvoton ECE support"
---help---
Enable Nuvoton Encoding and Compression Engine.
1 change: 1 addition & 0 deletions drivers/video/compression/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_NPCM750_ECE) += npcm750_ece.o
Loading