From patchwork Mon Sep 5 09:16:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 9313259 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 261626075E for ; Mon, 5 Sep 2016 09:17:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 159EF289E0 for ; Mon, 5 Sep 2016 09:17:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A00F289E6; Mon, 5 Sep 2016 09:17:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D210289E3 for ; Mon, 5 Sep 2016 09:16:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755422AbcIEJQx (ORCPT ); Mon, 5 Sep 2016 05:16:53 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.219]:19983 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754322AbcIEJQu (ORCPT ); Mon, 5 Sep 2016 05:16:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1473067002; l=937; s=domk; d=goldelico.com; h=Date:Subject:Cc:To:From; bh=oKZXbPNdTFZ95WqRhxTFk+PD+8GqDGZ5zzUfgU24kgQ=; b=G1EiJPMk3/5pIt1ERIRt4IyRpMU2oDMtj+TCy3kZt8SdDBG2/lJSiMqdYRfRocb1Sy6 5AwEZgAWgBmmJsjKmPzgu25Q3RxDH7rUHny6CFD06pbhgRmiYenrFFWu0OkeTfpWP8uZl aM0dUVXvEFejqrSZbzbSAfhfeLZUujBuLPE= X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcecEarQROEYabkiUo6mSAGQ+qKID82PDV0h5M= X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (p57AE0AEB.dip0.t-ipconnect.de [87.174.10.235]) by smtp.strato.de (RZmta 38.13 DYNA|AUTH) with ESMTPA id e0a374s859Gcqj9; Mon, 5 Sep 2016 11:16:38 +0200 (CEST) From: "H. Nikolaus Schaller" To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland , Russell King , marek@goldelico.com Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, "H. Nikolaus Schaller" Subject: [PATCH] ARM: dts: omap3-gta04: reduce panel backlight PWM frequency to 83Hz Date: Mon, 5 Sep 2016 11:16:38 +0200 Message-Id: <954d43b570092fe92b8b49cf8f475c027d3d8342.1473066997.git.hns@goldelico.com> X-Mailer: git-send-email 2.7.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This helps to get 100% intensity closer to "always on". It compensates for an effect of dmtimer which at 100% still emits short "off" impulses and the startup-time of the DC/DC converter makes backlight intensity not reach full scale. The lower the PWM frequency is, the smaller is this effect. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index c09a057..94f12dd 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -102,7 +102,7 @@ backlight { compatible = "pwm-backlight"; - pwms = <&pwm11 0 2000000 0>; + pwms = <&pwm11 0 12000000 0>; pwm-names = "backlight"; brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>; default-brightness-level = <9>; /* => 90 */