Received: by 10.223.185.111 with SMTP id b44csp127052wrg; Fri, 9 Mar 2018 02:16:01 -0800 (PST) X-Google-Smtp-Source: AG47ELu50nLVbs5uNBQ3bLj9NMX9WwiwLzXVJ/iK34jCwLMmzM3SimulQpLDx67OU/S3i+XZnQ+2 X-Received: by 2002:a17:902:b418:: with SMTP id x24-v6mr26804673plr.320.1520590561786; Fri, 09 Mar 2018 02:16:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520590561; cv=none; d=google.com; s=arc-20160816; b=TgThSms1bTamnAGapJNVVYNeH0MFIgRIdy49xZOXGOJUwh0GHOLL5C5DgQDRXci6b4 kTe96EEU8pm6RxSwwU+lzVMgHI6+QCI6uwHTsBD3ZBSypYe6uketBSnWp+DtJRawPGfV gj/IovIj/RtW28+Q90iuIYif9L4zTxY1jr9fC8Lh2JHznVplYvbQqQiAy41+rPVnTuj8 9gO45xc+sfwAcsllBmsDXW5ssyYEHekS8Dm0Ig2kjqzNBMaOGHy6JWKOIqPK0E4tYYZA 3KlQ2gXyBMdOWG5sNKINw0XrQdnnu6p7l4yTOuM6ERHFWxjDubzP1x4qFV/bLnmq6rW5 IRzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=8I2YaupxOC0i1d8zQtKIYuzapS1qFCm3rICqUnAhIBo=; b=oF9C3buBo1HERO/I2OuoVcrzVSpDINtB8zx1MRymFMeujimwX9vNbtA6LrYDCG2xP9 +zrM2VOA7ZyCDVbmcbBcVsapRgEJ4b2S7BbtPcV1GqGR8rYjw506tdoIIxv/dpB6Uwwr 5JfwjN9SMRSH4NSNMX6T4PlnQrJgZo4bQN7I7yME4ytSR5plVDM9ARZbdH6nh9DEKPpa 2rNsIN//Jf2kj7jHUq0h5/CqWCp5UF04b+8p5p4PHs91RsWWmg8Oh4q3vVwtvQmY4LxF pVCwrCle+rI7OokunzneMttjBlLu70gz/mjNRJZvBczRhQzRRs36Lg8h4fd9+WhbyDWE fzKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eJZOxNnZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f80si646083pfh.37.2018.03.09.02.15.47; Fri, 09 Mar 2018 02:16:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eJZOxNnZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751147AbeCIKOk (ORCPT + 99 others); Fri, 9 Mar 2018 05:14:40 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:37483 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbeCIKOi (ORCPT ); Fri, 9 Mar 2018 05:14:38 -0500 Received: by mail-qt0-f193.google.com with SMTP id r16so10111875qtm.4; Fri, 09 Mar 2018 02:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8I2YaupxOC0i1d8zQtKIYuzapS1qFCm3rICqUnAhIBo=; b=eJZOxNnZrY+l64iwr0NAse7gUgQ8IWdqZLRwMNtBho5P0RREQ06s2ijBimTqeESYc/ +S7YqQFw1VZ1pGVm81A3sC11vP1eie4b3sQTzhw/7LCR4djukAzIC/vDfVt7yefv+cdf BXk2z2KGLqtJbz/9HtZ3xftPYzzD7WGJTPx40r+8tVLkhAyRuz6BJxN5ErPhMfCh63J4 NrP4FeU2GseAtMc6cl/1eVNuwoN86uObazPUZciO9qmqx2xPuUTTHiilzxdMYwQtRoXj TMi+lWiAsWo0VnMkrG8XIBNQsm5B4nCmJrRbvbNWNdP/1GEnFeI3GM2ih7h+3AAlcQkT PtBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8I2YaupxOC0i1d8zQtKIYuzapS1qFCm3rICqUnAhIBo=; b=j/W+HE5AjF23TSF8B5NRAA77zGr0AFoOKNFD9CToB52ifOb9328FyIpr23Mh264k5d bHgmYI2E+pz4EZ8jDwe6L5ehVWwrEgHsthPhQ1xIuvQygOBVWJ5YzVeeEJrh5Lfl+/V8 JOVVXfIBdw7RG3zfmxasljlLWJVCFUzftNMSqkC58nFM23ZghoIwUoFvNjTx0tHxbrB1 JygC+GC+Xkc3DsYBjIyO1qAcrm7n39zA/7ktNPuuCizgn21BU+LMyl0keojQkWq98bf1 oNIoHda2tdBY+lCnnyAEyyBwgLiHwCbjwiFFVJpdYCTNW2ff5J+C3dSSUHr1C6gHrXSA SCEA== X-Gm-Message-State: AElRT7GQ4VUYwshfeiptCgRQKwnduPrCy/nJqitrErl567E2oAhmAqrN j6ZLnhgiQbU3b8tIgcfeUlztvMvTjBUnpdA9ucs= X-Received: by 10.200.42.15 with SMTP id k15mr46204094qtk.101.1520590477241; Fri, 09 Mar 2018 02:14:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.64.205 with HTTP; Fri, 9 Mar 2018 02:14:36 -0800 (PST) In-Reply-To: <20180219111136.jpv4wtcm6h2hfwac@oak.lan> References: <20180216174034.15936-1-enric.balletbo@collabora.com> <20180216174034.15936-2-enric.balletbo@collabora.com> <20180219111136.jpv4wtcm6h2hfwac@oak.lan> From: Enric Balletbo Serra Date: Fri, 9 Mar 2018 11:14:36 +0100 Message-ID: Subject: Re: [RESEND PATCH v5 2/5] dt-bindings: pwm-backlight: add PWM delay proprieties. To: Daniel Thompson Cc: Enric Balletbo i Serra , Lee Jones , Jingoo Han , Rob Herring , Pavel Machek , Heiko Stuebner , Thierry Reding , Bartlomiej Zolnierkiewicz , Richard Purdie , Jacek Anaszewski , Linux PWM List , linux-fbdev@vger.kernel.org, linux-kernel , Guenter Roeck , "open list:ARM/Rockchip SoC..." , kernel@collabora.com, "devicetree@vger.kernel.org" , Mark Rutland Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, oh, devicetree mailing list is not added, sorry, so cc'ing ... 2018-02-19 12:11 GMT+01:00 Daniel Thompson : > On Fri, Feb 16, 2018 at 06:40:31PM +0100, Enric Balletbo i Serra wrote: >> Hardware needs a delay between setting an initial (non-zero) PWM and >> enabling the backlight using GPIO. The post-pwm-on-delay-ms specifies >> this delay in milli seconds. Hardware also needs a delay between disabing >> the backlight using GPIO and setting PWM value to 0. The pwm-off-delay-ms >> is this delay in milli seconds. >> >> Signed-off-by: Enric Balletbo i Serra >> Acked-by: Pavel Machek > > Acked-by: Daniel Thompson > Lee, I guess that after Daniel ack the only ack missing here is one from Rob Herring? Rob, if you have a chance to look at this I'd appreciate. Thanks, Enric >> --- >> Based on the original Huang Lin work. >> >> Changes since v4: >> - Rebase on top of mainline. >> Changes since v3: >> - Replace us for ms. >> - Add Acked-by: Pavel Machek >> Changes since v2: >> - Use separate properties (Rob Herring) >> Changes since v1: >> - As suggested by Daniel Thompson >> - Do not assume power-on delay and power-off delay will be the same >> >> Documentation/devicetree/bindings/leds/backlight/pwm-backlight.txt | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.txt b/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.txt >> index 764db86d441a..310810906613 100644 >> --- a/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.txt >> +++ b/Documentation/devicetree/bindings/leds/backlight/pwm-backlight.txt >> @@ -17,6 +17,10 @@ Optional properties: >> "pwms" property (see PWM binding[0]) >> - enable-gpios: contains a single GPIO specifier for the GPIO which enables >> and disables the backlight (see GPIO binding[1]) >> + - post-pwm-on-delay-ms: Delay in ms between setting an initial (non-zero) PWM >> + and enabling the backlight using GPIO. >> + - pwm-off-delay-ms: Delay in ms between disabling the backlight using GPIO >> + and setting PWM value to 0. >> >> [0]: Documentation/devicetree/bindings/pwm/pwm.txt >> [1]: Documentation/devicetree/bindings/gpio/gpio.txt >> @@ -32,4 +36,6 @@ Example: >> >> power-supply = <&vdd_bl_reg>; >> enable-gpios = <&gpio 58 0>; >> + post-pwm-on-delay-ms = <10>; >> + pwm-off-delay-ms = <10>; >> }; >> -- >> 2.15.1 >>