From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9972C35646 for ; Fri, 21 Feb 2020 16:56:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A9E3F208C4 for ; Fri, 21 Feb 2020 16:56:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726387AbgBUQ4X (ORCPT ); Fri, 21 Feb 2020 11:56:23 -0500 Received: from muru.com ([72.249.23.125]:56702 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726132AbgBUQ4X (ORCPT ); Fri, 21 Feb 2020 11:56:23 -0500 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 8B7F7807E; Fri, 21 Feb 2020 16:57:06 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Cc: arm@kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Tony Lindgren" , Lee Jones , Tomi Valkeinen , Pavel Machek Subject: [GIT PULL] Fix LCD backlight issue for droid4 Date: Fri, 21 Feb 2020 08:55:55 -0800 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: "Tony Lindgren" The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9: Linux 5.6-rc1 (2020-02-09 16:08:48 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.6/droid4-lcd-fix-signed for you to fetch changes up to 10dc62d0ae4167770e9ab150fc1ab55baa82e010: ARM: dts: droid4: Configure LED backlight for lm3532 (2020-02-20 06:51:13 -0800) ---------------------------------------------------------------- Fix LCD backlight issue for droid4 for v5.6 There was a bit of an integration glitch with the LED backlight series. The LED related parts got merged into v5.6-rc1, but the actual backlight driver got left out. This caused an issue on at least droid4 where the LCD backlight can not yet be enabled automatically. And the LCD backlight can no longer be enabled manually either via sysfs. The integration glitch happened because some pending comments from me. There was some confusion on which device tree property we should use for the default brightness property. After discussing how to fix this on the mailing lists, we came to the conclusion that it's best to fix this issue properly by adding the missing driver. The other solutions would mean backpedaling and try to come up with some temporary solution that really does not solve the issue for users. The patch for led_bl.c has been around for quite a while and tested by many users and was assumed to be merged as part of the LED backlight series. For the brightness property to use, we ended up using the more common "default-brightness-level" rather than "default-brightness" used by some backlight drivers. ---------------------------------------------------------------- Tomi Valkeinen (1): backlight: add led-backlight driver Tony Lindgren (1): ARM: dts: droid4: Configure LED backlight for lm3532 arch/arm/boot/dts/motorola-mapphone-common.dtsi | 13 +- arch/arm/configs/omap2plus_defconfig | 1 + drivers/video/backlight/Kconfig | 7 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/led_bl.c | 260 ++++++++++++++++++++++++ 5 files changed, 280 insertions(+), 2 deletions(-) create mode 100644 drivers/video/backlight/led_bl.c From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7438EC35657 for ; Fri, 21 Feb 2020 16:56:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 418F9208C4 for ; Fri, 21 Feb 2020 16:56:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iN1WJ/IK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 418F9208C4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1c1Ym4uy2UpUDxf71QQ1N4jalH12bbPX/m5Q0aMcFpA=; b=iN1WJ/IKEy9rWm lAZMH9nviMpT727U9Qj1HPfM6dJOUKWlXUOehzR6Hcq48Neo4FKzPbfpf63PaERisFqay6jWetJVW pI7nz67MhkdKVvF5xgWZVn7oHrZ5Jy0lWvLS8ImEtuqH4FN+yyDWkddUvauGeWkTZ9GuXZwmfFtGp dXA/5M/+bIJn4wNc0M2j8oXUe0w3yqMiAcEW5w0Vq1do/Dd/Oz2M6nnBh2zsgns+G8boJkmjl/ikb yv4Ed2LPUv8GFkncw8Re9vUNbcC8wF/zEfieSaNBpVMGoPEeiu198O9NuyYVvs+bL50ickunLfKK6 iY7gqjBx9DmC+e3LrUxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j5BbJ-00022W-IG; Fri, 21 Feb 2020 16:56:29 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j5BbG-00021s-MI for linux-arm-kernel@lists.infradead.org; Fri, 21 Feb 2020 16:56:28 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 8B7F7807E; Fri, 21 Feb 2020 16:57:06 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Subject: [GIT PULL] Fix LCD backlight issue for droid4 Date: Fri, 21 Feb 2020 08:55:55 -0800 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200221_085626_770445_3CA80BA7 X-CRM114-Status: GOOD ( 13.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arm@kernel.org, Tony Lindgren , Tomi Valkeinen , Pavel Machek , linux-omap@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: "Tony Lindgren" The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9: Linux 5.6-rc1 (2020-02-09 16:08:48 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.6/droid4-lcd-fix-signed for you to fetch changes up to 10dc62d0ae4167770e9ab150fc1ab55baa82e010: ARM: dts: droid4: Configure LED backlight for lm3532 (2020-02-20 06:51:13 -0800) ---------------------------------------------------------------- Fix LCD backlight issue for droid4 for v5.6 There was a bit of an integration glitch with the LED backlight series. The LED related parts got merged into v5.6-rc1, but the actual backlight driver got left out. This caused an issue on at least droid4 where the LCD backlight can not yet be enabled automatically. And the LCD backlight can no longer be enabled manually either via sysfs. The integration glitch happened because some pending comments from me. There was some confusion on which device tree property we should use for the default brightness property. After discussing how to fix this on the mailing lists, we came to the conclusion that it's best to fix this issue properly by adding the missing driver. The other solutions would mean backpedaling and try to come up with some temporary solution that really does not solve the issue for users. The patch for led_bl.c has been around for quite a while and tested by many users and was assumed to be merged as part of the LED backlight series. For the brightness property to use, we ended up using the more common "default-brightness-level" rather than "default-brightness" used by some backlight drivers. ---------------------------------------------------------------- Tomi Valkeinen (1): backlight: add led-backlight driver Tony Lindgren (1): ARM: dts: droid4: Configure LED backlight for lm3532 arch/arm/boot/dts/motorola-mapphone-common.dtsi | 13 +- arch/arm/configs/omap2plus_defconfig | 1 + drivers/video/backlight/Kconfig | 7 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/led_bl.c | 260 ++++++++++++++++++++++++ 5 files changed, 280 insertions(+), 2 deletions(-) create mode 100644 drivers/video/backlight/led_bl.c _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel