diff --git a/projects/WeTek_Play/patches/linux/140-fix_amvidocap_src_rect_typo.patch b/projects/WeTek_Play/patches/linux/140-fix_amvidocap_src_rect_typo.patch new file mode 100644 index 0000000000..d4be79a491 --- /dev/null +++ b/projects/WeTek_Play/patches/linux/140-fix_amvidocap_src_rect_typo.patch @@ -0,0 +1,14 @@ +diff --git a/drivers/amlogic/amports/amvideocap.c b/drivers/amlogic/amports/amvideocap.c +index 8d43335..d4b2ccb 100755 +--- a/drivers/amlogic/amports/amvideocap.c ++++ b/drivers/amlogic/amports/amvideocap.c +@@ -275,8 +275,8 @@ static ssize_t amvideocap_YUV_to_RGB(struct amvideocap_private *priv, u32 cur_i + ge2d_config.src_para.x_rev = 0; + ge2d_config.src_para.y_rev = 0; + ge2d_config.src_para.color = 0; +- ge2d_config.src_para.top = input_x; +- ge2d_config.src_para.left = input_y; ++ ge2d_config.src_para.left = input_x; ++ ge2d_config.src_para.top = input_y; + ge2d_config.src_para.width = input_width; + ge2d_config.src_para.height = input_height; diff --git a/projects/WeTek_Play/patches/linux/150-add_led_to_devicetree.patch b/projects/WeTek_Play/patches/linux/150-add_led_to_devicetree.patch new file mode 100644 index 0000000000..bbac3f9101 --- /dev/null +++ b/projects/WeTek_Play/patches/linux/150-add_led_to_devicetree.patch @@ -0,0 +1,12 @@ +--- a/arch/arm/boot/dts/amlogic/wetek_play.dtd 2015-01-25 17:18:35.065137487 +0100 ++++ b/arch/arm/boot/dts/amlogic/wetek_play.dtd 2015-01-25 17:18:09.601138239 +0100 +@@ -1427,4 +1427,9 @@ + reserve-memory = <0x00a00000>; // 1920 * 1088 * 4 = 8,355,840 + reserve-iomap = "true"; + }; ++ ++powerled{ ++ compatible = "amlogic,wetekplay-led"; ++ label = "wetek:blue:powerled"; ++}; + }; /* end of / */