{"id":816343,"url":"http://patchwork.ozlabs.org/api/patches/816343/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170920161822.64503-4-icenowy@aosc.io/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170920161822.64503-4-icenowy@aosc.io>","list_archive_url":null,"date":"2017-09-20T16:18:21","name":"[U-Boot,v5,3/4] video: add an option for video simplefb via DT","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"26d82b0460fc2691000dc150cae5bd7cfa68674b","submitter":{"id":71295,"url":"http://patchwork.ozlabs.org/api/people/71295/?format=json","name":"Icenowy Zheng","email":"icenowy@aosc.io"},"delegate":{"id":1700,"url":"http://patchwork.ozlabs.org/api/users/1700/?format=json","username":"ag","first_name":"Anatolij","last_name":"Gustschin","email":"agust@denx.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170920161822.64503-4-icenowy@aosc.io/mbox/","series":[{"id":4164,"url":"http://patchwork.ozlabs.org/api/series/4164/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=4164","date":"2017-09-20T16:18:19","name":"Allwinner SimpleFB Kconfig cleanup and DE2 SimpleFB support","version":5,"mbox":"http://patchwork.ozlabs.org/series/4164/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/816343/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/816343/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xy4jS2gdhz9sPt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 02:20:43 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 314DEC21F56; Wed, 20 Sep 2017 16:19:40 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 25641C21EC8;\n\tWed, 20 Sep 2017 16:19:38 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 948D3C21D5F; Wed, 20 Sep 2017 16:19:16 +0000 (UTC)","from butterfly.ash.relay.mailchannels.net\n\t(butterfly.ash.relay.mailchannels.net [23.83.222.27])\n\tby lists.denx.de (Postfix) with ESMTPS id 02B0EC21EAE\n\tfor <u-boot@lists.denx.de>; Wed, 20 Sep 2017 16:19:10 +0000 (UTC)","from relay.mailchannels.net (localhost [127.0.0.1])\n\tby relay.mailchannels.net (Postfix) with ESMTP id 134A45C25B3;\n\tWed, 20 Sep 2017 16:19:07 +0000 (UTC)","from hermes.aosc.io (unknown [100.96.146.203])\n\t(Authenticated sender: lmn-TZDUIOWCRQMW)\n\tby relay.mailchannels.net (Postfix) with ESMTPA id 593B95C190D;\n\tWed, 20 Sep 2017 16:19:06 +0000 (UTC)","from hermes.aosc.io (hermes.aosc.io [172.20.66.218])\n\t(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)\n\tby 0.0.0.0:2500 (trex/5.9.14); Wed, 20 Sep 2017 16:19:07 +0000","from localhost (localhost [127.0.0.1]) (Authenticated sender:\n\ticenowy@aosc.io)\n\tby hermes.aosc.io (Postfix) with ESMTPSA id EA87047B91;\n\tWed, 20 Sep 2017 16:19:02 +0000 (UTC)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","X-Sender-Id":["lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io","lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io"],"X-MC-Relay":"Neutral","X-MailChannels-SenderId":"lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io","X-MailChannels-Auth-Id":"lmn-TZDUIOWCRQMW","X-Battle-Shelf":"680bd2d44309a8b2_1505924346879_1892502910","X-MC-Loop-Signature":"1505924346879:3785711590","X-MC-Ingress-Time":"1505924346878","From":"Icenowy Zheng <icenowy@aosc.io>","To":"Jagan Teki <jagan@openedev.com>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tJernej Skrabec <jernej.skrabec@siol.net>","Date":"Thu, 21 Sep 2017 00:18:21 +0800","Message-Id":"<20170920161822.64503-4-icenowy@aosc.io>","In-Reply-To":"<20170920161822.64503-1-icenowy@aosc.io>","References":"<20170920161822.64503-1-icenowy@aosc.io>","Cc":"u-boot@lists.denx.de, linux-sunxi@googlegroups.com,\n\tIcenowy Zheng <icenowy@aosc.io>","Subject":"[U-Boot] [PATCH v5 3/4] video: add an option for video simplefb via\n\tDT","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Add an option to indicate that the video driver should setup a SimpleFB\nnode that passes the video framebuffer initialized by U-Boot to the\noperating system kernel.\n\nCurrently only the Allwinner DE1 driver uses this option, and the\ndefinition of this option in the sunxi-common.h config header is\nconverted to an imply of this option from CONFIG_VIDEO_SUNXI.\n\nSigned-off-by: Icenowy Zheng <icenowy@aosc.io>\n---\nChanges in v5:\n- Convert Allwinner DE1 to use the option.\nChanges in v4:\n- Remove the dependency of VIDEO_DT_SIMPLEFB.\n\n arch/arm/mach-sunxi/Kconfig    | 1 +\n drivers/video/Kconfig          | 8 ++++++++\n include/configs/sunxi-common.h | 3 ---\n 3 files changed, 9 insertions(+), 3 deletions(-)","diff":"diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig\nindex 3c29fc61f7..33869a3dde 100644\n--- a/arch/arm/mach-sunxi/Kconfig\n+++ b/arch/arm/mach-sunxi/Kconfig\n@@ -615,6 +615,7 @@ config VIDEO_SUNXI\n \tdepends on !MACH_SUN9I\n \tdepends on !MACH_SUN50I\n \tselect VIDEO\n+\timply VIDEO_DT_SIMPLEFB\n \tdefault y\n \t---help---\n \tSay Y here to add support for using a cfb console on the HDMI, LCD\ndiff --git a/drivers/video/Kconfig b/drivers/video/Kconfig\nindex 082cc4a528..547d4cc0c7 100644\n--- a/drivers/video/Kconfig\n+++ b/drivers/video/Kconfig\n@@ -601,4 +601,12 @@ config VIDEO_DW_HDMI\n \t  rather requires a SoC-specific glue driver to call it), it\n \t  can not be enabled from the configuration menu.\n \n+config VIDEO_DT_SIMPLEFB\n+\tbool \"Enable SimpleFB support for passing framebuffer to OS\"\n+\thelp\n+\t  Enables the code to pass the framebuffer to the kernel as a\n+\t  simple framebuffer in the device tree.\n+\t  The video output is initialized by U-Boot, and kept by the\n+\t  kernel.\n+\n endmenu\ndiff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h\nindex 0f16ea543e..3bae86fa79 100644\n--- a/include/configs/sunxi-common.h\n+++ b/include/configs/sunxi-common.h\n@@ -273,9 +273,6 @@ extern int soft_i2c_gpio_scl;\n  */\n #define CONFIG_SUNXI_MAX_FB_SIZE (16 << 20)\n \n-/* Do we want to initialize a simple FB? */\n-#define CONFIG_VIDEO_DT_SIMPLEFB\n-\n #define CONFIG_VIDEO_LOGO\n #define CONFIG_VIDEO_STD_TIMINGS\n #define CONFIG_I2C_EDID\n","prefixes":["U-Boot","v5","3/4"]}