From ed2b3e77710f8cb9d521e987f4ee700ba307a3bb Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Thu, 6 Feb 2014 18:32:03 +0000 Subject: add 3.13 support Signed-off-by: Imre Kaloz SVN-Revision: 39508 --- .../0334-video-da8xx-fb-adding-dt-support.patch | 203 ++++++++++++++++++ ...-fb-Add-API-to-register-wait-for-vsync-ca.patch | 91 ++++++++ ...-fb-fix-defect-with-vsync-callback-invoca.patch | 38 ++++ ...251-platform-data-to-a-separate-structure.patch | 198 ++++++++++++++++++ ...1-wlcore-set-irq_flags-in-the-board-files.patch | 126 +++++++++++ ...-remove-pwr_in_suspend-from-platform-data.patch | 65 ++++++ ...-instead-of-enumerations-for-pdata-clocks.patch | 231 +++++++++++++++++++++ ...al-device-tree-support-to-the-sdio-module.patch | 122 +++++++++++ ...05-wlcore-sdio-add-wilink-clock-providers.patch | 54 +++++ ...6-wlcore-sdio-get-clocks-from-device-tree.patch | 94 +++++++++ ...heck-if-we-got-correct-clock-data-from-DT.patch | 101 +++++++++ ...cumentation-dt-bindings-TI-WiLink-modules.patch | 102 +++++++++ ...ts-am335x-evmsk-add-support-for-lcd-panel.patch | 70 +++++++ .../patches-3.13/950-am335x-evmsk-wilink-dts.patch | 86 ++++++++ 14 files changed, 1581 insertions(+) create mode 100644 target/linux/omap/patches-3.13/0334-video-da8xx-fb-adding-dt-support.patch create mode 100644 target/linux/omap/patches-3.13/0343-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch create mode 100644 target/linux/omap/patches-3.13/0752-video-da8xx-fb-fix-defect-with-vsync-callback-invoca.patch create mode 100644 target/linux/omap/patches-3.13/900-wl1251-split-wl251-platform-data-to-a-separate-structure.patch create mode 100644 target/linux/omap/patches-3.13/901-wlcore-set-irq_flags-in-the-board-files.patch create mode 100644 target/linux/omap/patches-3.13/902-wlcore-remove-pwr_in_suspend-from-platform-data.patch create mode 100644 target/linux/omap/patches-3.13/903-wl12xx-use-frequency-instead-of-enumerations-for-pdata-clocks.patch create mode 100644 target/linux/omap/patches-3.13/904-wlcore-add-initial-device-tree-support-to-the-sdio-module.patch create mode 100644 target/linux/omap/patches-3.13/905-wlcore-sdio-add-wilink-clock-providers.patch create mode 100644 target/linux/omap/patches-3.13/906-wlcore-sdio-get-clocks-from-device-tree.patch create mode 100644 target/linux/omap/patches-3.13/907-wlcore-wl12xx-check-if-we-got-correct-clock-data-from-DT.patch create mode 100644 target/linux/omap/patches-3.13/908-Documentation-dt-bindings-TI-WiLink-modules.patch create mode 100644 target/linux/omap/patches-3.13/920-arm-dts-am335x-evmsk-add-support-for-lcd-panel.patch create mode 100644 target/linux/omap/patches-3.13/950-am335x-evmsk-wilink-dts.patch (limited to 'target/linux') diff --git a/target/linux/omap/patches-3.13/0334-video-da8xx-fb-adding-dt-support.patch b/target/linux/omap/patches-3.13/0334-video-da8xx-fb-adding-dt-support.patch new file mode 100644 index 0000000000..63ec77f124 --- /dev/null +++ b/target/linux/omap/patches-3.13/0334-video-da8xx-fb-adding-dt-support.patch @@ -0,0 +1,203 @@ +From 884d3962ef4787c8cf0b8a7a673531c623d1dff8 Mon Sep 17 00:00:00 2001 +From: Darren Etheridge +Date: Fri, 2 Aug 2013 15:35:36 -0500 +Subject: [PATCH 334/752] video: da8xx-fb: adding dt support + +Enhancing driver to enable probe triggered by a corresponding dt entry. + +Add da8xx-fb.txt documentation to devicetree section. + +Obtain fb_videomode details for the connected lcd panel using the +display timing details present in DT. + +Ensure that platform data is present before checking whether platform +callback is present (the one used to control backlight). So far this +was not an issue as driver was purely non-DT triggered, but now DT +support has been added this check must be performed. + +v2: squashing multiple commits from Afzal Mohammed (afzal@ti.com) +v3: remove superfluous cast +v4: expose both ti,am3352-lcdc and ti,da830-lcdc for .compatible + as driver can use enhanced features of all version of the + silicon block. +v5: addressed review comments from Prabhakar Lad +v6: Changed the .compatible naming to match the existing drm bindings + for am33xx devices +v7: clarify which compatible to use in the documentation for DA850 + +Acked-by: Lad, Prabhakar +Signed-off-by: Darren Etheridge +--- + .../devicetree/bindings/video/da8xx-fb.txt | 42 +++++++++++++ + drivers/video/da8xx-fb.c | 66 +++++++++++++++++++- + 2 files changed, 105 insertions(+), 3 deletions(-) + create mode 100644 Documentation/devicetree/bindings/video/da8xx-fb.txt + +--- /dev/null ++++ b/Documentation/devicetree/bindings/video/da8xx-fb.txt +@@ -0,0 +1,42 @@ ++TI LCD Controller on DA830/DA850/AM335x SoC's ++ ++Required properties: ++- compatible: ++ DA830, DA850 - "ti,da8xx-tilcdc" ++ AM335x SoC's - "ti,am33xx-tilcdc" ++- reg: Address range of lcdc register set ++- interrupts: lcdc interrupt ++- display-timings: typical videomode of lcd panel, represented as child. ++ Refer Documentation/devicetree/bindings/video/display-timing.txt for ++ display timing binding details. If multiple videomodes are mentioned ++ in display timings node, typical videomode has to be mentioned as the ++ native mode or it has to be first child (driver cares only for native ++ videomode). ++ ++Recommended properties: ++- ti,hwmods: Name of the hwmod associated to the LCDC ++ ++Example for am335x SoC's: ++ ++lcdc@4830e000 { ++ compatible = "ti,am33xx-tilcdc"; ++ reg = <0x4830e000 0x1000>; ++ interrupts = <36>; ++ ti,hwmods = "lcdc"; ++ status = "okay"; ++ display-timings { ++ 800x480p62 { ++ clock-frequency = <30000000>; ++ hactive = <800>; ++ vactive = <480>; ++ hfront-porch = <39>; ++ hback-porch = <39>; ++ hsync-len = <47>; ++ vback-porch = <29>; ++ vfront-porch = <13>; ++ vsync-len = <2>; ++ hsync-active = <1>; ++ vsync-active = <1>; ++ }; ++ }; ++}; +--- a/drivers/video/da8xx-fb.c ++++ b/drivers/video/da8xx-fb.c +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include