From 6c8443f4c3ecb5191f229ce05ef2510cab4e26aa Mon Sep 17 00:00:00 2001 From: StrikerHF Date: Fri, 20 Mar 2015 23:56:07 +0100 Subject: [PATCH 1/2] Add amvideocap odroid-c1 dtb Need this device to grab data for DIY Ambilight Project with hyperion on odroid-c1. --- arch/arm/boot/dts/meson8b_odroidc.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/meson8b_odroidc.dts b/arch/arm/boot/dts/meson8b_odroidc.dts index efe382bc5a9ef6..870dfa0d157e65 100755 --- a/arch/arm/boot/dts/meson8b_odroidc.dts +++ b/arch/arm/boot/dts/meson8b_odroidc.dts @@ -986,5 +986,17 @@ gpios = "GPIOY_3"; // linux,open-drain; // .is_open_drain = 1; }; + /// - DISP&MM-A/V Amvideocap + //$$ MODULE = "DISP&MM-Amvideocap" + //$$ DEVICE="amvideocap" + //$$ L2 PROP_STR = "status" + //$$ L3 PROP_U32 4 ="reg" + amvideocap{ + compatible = "amlogic,amvideocap"; + dev_name = "amvideocap.0"; + status = "okay"; + reserve-memory = <0x00a00000>; // 1920 * 1088 * 4 = 8,355,840 + reserve-iomap = "true"; + }; }; /* end of / */ From 346bb279735d874f402ec51fa073ab95cbc10978 Mon Sep 17 00:00:00 2001 From: StrikerHF Date: Sat, 21 Mar 2015 12:09:31 +0100 Subject: [PATCH 2/2] remove commets from meson8b_odroidc.dts amvideocap entry --- arch/arm/boot/dts/meson8b_odroidc.dts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/meson8b_odroidc.dts b/arch/arm/boot/dts/meson8b_odroidc.dts index 870dfa0d157e65..84a054292f5237 100755 --- a/arch/arm/boot/dts/meson8b_odroidc.dts +++ b/arch/arm/boot/dts/meson8b_odroidc.dts @@ -986,11 +986,7 @@ gpios = "GPIOY_3"; // linux,open-drain; // .is_open_drain = 1; }; - /// - DISP&MM-A/V Amvideocap - //$$ MODULE = "DISP&MM-Amvideocap" - //$$ DEVICE="amvideocap" - //$$ L2 PROP_STR = "status" - //$$ L3 PROP_U32 4 ="reg" + amvideocap{ compatible = "amlogic,amvideocap"; dev_name = "amvideocap.0";