{"id":797140,"url":"http://patchwork.ozlabs.org/api/patches/797140/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1501756568-28641-2-git-send-email-philippe.cornu@st.com/","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":"<1501756568-28641-2-git-send-email-philippe.cornu@st.com>","list_archive_url":null,"date":"2017-08-03T10:36:06","name":"[U-Boot,v1,1/3] dm: backlight: Add CONFIG_BACKLIGHT_PWM","commit_ref":"08a43cfbc29224dadf1d725e26697c227bf9723a","pull_url":null,"state":"accepted","archived":false,"hash":"8e2dbd2e5f9ba71094b2436077f35d4ff5a9fdc5","submitter":{"id":71606,"url":"http://patchwork.ozlabs.org/api/people/71606/?format=json","name":"Philippe CORNU","email":"philippe.cornu@st.com"},"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/1501756568-28641-2-git-send-email-philippe.cornu@st.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/797140/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/797140/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 3xNRX70qCgz9s7C\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  3 Aug 2017 20:44:55 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D1B47C21DBE; Thu,  3 Aug 2017 10:44:01 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B376FC21D7D;\n\tThu,  3 Aug 2017 10:43:28 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 9461FC21C2B; Thu,  3 Aug 2017 10:36:33 +0000 (UTC)","from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com\n\t[62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id 0355EC21C2B\n\tfor <u-boot@lists.denx.de>; Thu,  3 Aug 2017 10:36:32 +0000 (UTC)","from pps.filterd (m0046037.ppops.net [127.0.0.1])\n\tby mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv73AYM20015408; Thu, 3 Aug 2017 12:36:30 +0200","from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])\n\tby mx07-.pphosted.com with ESMTP id 2c40scgfwk-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tThu, 03 Aug 2017 12:36:30 +0200","from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9])\n\tby beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EDCA131;\n\tThu,  3 Aug 2017 10:36:29 +0000 (GMT)","from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46])\n\tby zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D90BC14DA;\n\tThu,  3 Aug 2017 10:36:29 +0000 (GMT)","from SAFEX1HUBCAS21.st.com (10.75.90.45) by SAFEX1HUBCAS23.st.com\n\t(10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.339.0;\n\tThu, 3 Aug 2017 12:36:29 +0200","from localhost (10.201.23.32) by Webmail-ga.st.com (10.75.90.48)\n\twith Microsoft SMTP Server (TLS) id 14.3.339.0;\n\tThu, 3 Aug 2017 12:36:29 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"Philippe CORNU <philippe.cornu@st.com>","To":"Anatolij Gustschin <agust@denx.de>, <u-boot@lists.denx.de>, \"Christophe\n\tKerello\" <christophe.kerello@st.com>, Patrick Delaunay\n\t<patrick.delaunay@st.com>, Vikas Manocha <vikas.manocha@st.com>, \"Patrice\n\tChotard\" <patrice.chotard@st.com>","Date":"Thu, 3 Aug 2017 12:36:06 +0200","Message-ID":"<1501756568-28641-2-git-send-email-philippe.cornu@st.com>","X-Mailer":"git-send-email 1.9.1","In-Reply-To":"<1501756568-28641-1-git-send-email-philippe.cornu@st.com>","References":"<1501756568-28641-1-git-send-email-philippe.cornu@st.com>","MIME-Version":"1.0","X-Originating-IP":"[10.201.23.32]","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-08-03_06:, , signatures=0","X-Mailman-Approved-At":"Thu, 03 Aug 2017 10:43:25 +0000","Cc":"Yannick Fertre <yannick.fertre@st.com>,\n\tBenjamin Gaignard <benjamin.gaignard@linaro.org>","Subject":"[U-Boot] [PATCH v1 1/3] dm: backlight: Add CONFIG_BACKLIGHT_PWM","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>","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":"From: Patrick Delaunay <patrick.delaunay@st.com>\n\nAdd a config to select individually the driver for PWM backlights.\nManage \"depends on\" to be backyard compatible.\n\nSigned-off-by: Patrick Delaunay <patrick.delaunay@st.com>\n---\n drivers/video/Kconfig  | 11 +++++++++++\n drivers/video/Makefile |  4 +---\n 2 files changed, 12 insertions(+), 3 deletions(-)","diff":"diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig\nindex 61dfed8..da23d39 100644\n--- a/drivers/video/Kconfig\n+++ b/drivers/video/Kconfig\n@@ -14,6 +14,17 @@ config DM_VIDEO\n \t  option compiles in the video uclass and routes all LCD/video access\n \t  through this.\n \n+config BACKLIGHT_PWM\n+\tbool \"Generic PWM based Backlight Driver\"\n+\tdepends on DM_VIDEO && DM_PWM\n+\tdefault y\n+\thelp\n+\t  If you have a LCD backlight adjustable by PWM, say Y to enable\n+\t  this driver.\n+\t  This driver can be use with \"simple-panel\" and\n+\t  it understands the standard device tree\n+\t  (leds/backlight/pwm-backlight.txt)\n+\n config VIDEO_BPP8\n \tbool \"Support 8-bit-per-pixel displays\"\n \tdepends on DM_VIDEO\ndiff --git a/drivers/video/Makefile b/drivers/video/Makefile\nindex ac5371f..3839433 100644\n--- a/drivers/video/Makefile\n+++ b/drivers/video/Makefile\n@@ -11,9 +11,7 @@ obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o\n obj-$(CONFIG_DM_VIDEO) += panel-uclass.o simple_panel.o\n obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o\n obj-$(CONFIG_DM_VIDEO) += video_bmp.o\n-ifdef CONFIG_DM_VIDEO\n-obj-$(CONFIG_DM_PWM) += pwm_backlight.o\n-endif\n+obj-$(CONFIG_BACKLIGHT_PWM) += pwm_backlight.o\n obj-$(CONFIG_CONSOLE_NORMAL) += console_normal.o\n obj-$(CONFIG_CONSOLE_ROTATION) += console_rotate.o\n obj-$(CONFIG_CONSOLE_TRUETYPE) += console_truetype.o fonts/\n","prefixes":["U-Boot","v1","1/3"]}