Received: by 10.213.65.68 with SMTP id h4csp34644imn; Mon, 19 Mar 2018 18:39:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELuVVHbqBXalh/82UlCcZzrxWMSDKD2wBDZAy7loQZ0Gh4h+6PDcUroNOUQ/NKEG/0fQDyA2 X-Received: by 10.98.74.143 with SMTP id c15mr12029930pfj.83.1521509993354; Mon, 19 Mar 2018 18:39:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521509993; cv=none; d=google.com; s=arc-20160816; b=Q6oeqSy5QZ9ao4Xnv4Ql5bWlV5bhZHSW/DjhPKGr7J9wZdE1PfNHPOhQSONGt+8Whs lsX0NH+M9RgbKdkDX5awwXGZWZ/0w1UlXGoGkD4B/O0fKi8lnBMMrKfPvIqwr7slN+sn Nbpwh7itZAVfWETkteprwAM+TmWUxIKGRG4EFKGV3vwxZvei4zwopLDIy7bBnS8CIkJf RGbvitmtTu9bwhWY8HoIpoRS4uzusgxmd8FCJ4NLzuEQs4o/nlAdV8G7d5PzdfXDAU3v /aP3ox6NV1COIEy4tDusiUMLU5YWqoBlEPlN7PSclwFm+iPOTY1XHkj4IuSMyBjuorw3 Ma5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=h29KuDfZ6bL6v4L9i3xt2D2jcWs5GFrBteOxz5fgrv0=; b=YrL4I5DrMmDJKqBOeLzW14uJt59b+0ci1RSECcentIClYFkkQ5ipJ4Tut4SS61Yins lXNaV9A2ac1MVR0kfewrfFVkBtISTMq9ZgHOjkN/rsi2houeH6yUiknRAQYdgRTZwZgc Hg2Z4xpi9oRtxdObGrThuMm0h3UZM+HIU0W7iPuk58OPIMmQ/LfPDHITVfb4cDCQDmsA SUY78vRkOAbfISNrLeZDG7DRXfpcLPzoOx5jPvp3ZcgLolH3IcROW7TizDpTD++4fZ7r xW1cWCWbMyppoRpSBkH8NicqCHwlaWIjWXWxPTUmxwqxrNlcmWe8oPaNbGKCMhkeP0C1 Cwzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W4lFq3Rt; 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 o19si407302pgn.222.2018.03.19.18.39.39; Mon, 19 Mar 2018 18:39:53 -0700 (PDT) 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=W4lFq3Rt; 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 S967754AbeCSQ7a (ORCPT + 99 others); Mon, 19 Mar 2018 12:59:30 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:40594 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966570AbeCSQ7Z (ORCPT ); Mon, 19 Mar 2018 12:59:25 -0400 Received: by mail-wm0-f67.google.com with SMTP id t6so17172086wmt.5; Mon, 19 Mar 2018 09:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=h29KuDfZ6bL6v4L9i3xt2D2jcWs5GFrBteOxz5fgrv0=; b=W4lFq3Rt5uqxNFqsk9WQJmMM5HKuOLbIrxNjt5QB7UHBEfXj0kS+c1bJlJK5AkZPaL WawDl7AtpIoxTKa5xV818Tb+LclC6jGXJQNerW9+9kNG7Ma0DtImvgHhxMh6xsJJieUT wK7nCaKTU867Xs3B5ifPALMR1mYEUQr4/rfZExB3eEvUU4zgzQaPeCg4zGkYzQWlUial be/HaOQSR8dPm4nUoryM3uk7xX1p7SfCFDNkUADsRvYisw+/U0SRLVLqXjYjr34PR9ht vHP8ucmj3HNi30KgGd9+s3kRZaMXI4LjKanLfTGtU08Qz6e/wUhrxuwTmkBIBBkp/LKz tNnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=h29KuDfZ6bL6v4L9i3xt2D2jcWs5GFrBteOxz5fgrv0=; b=iQmf6NqdkXU9zV4Ho/yauTp7Cuvt7QaEG06g/aUcqqAWLmxi8Xq3V55oloWcq2lVVz Iox+tF7iIYx1ZUGe4yiCZPYAFpusAV0i1KxV6KAc6ZbQxIpQr41JBsGTBaSbm2FuSJhv seOAqvL1/ie1LdX4Chq+W7i5QzAvFuWqQkMucrOod+2jk4kNBxjfrn8410fDBhuaieHO c4gkT4WtnSiO5Syzyu9oRVkrww5BnojGiosgSH8Rj4mmb+JEkTC5JKspl8Vu3Md1rORf 1RjpSrb1wfoBGzhLm4ce7H/nw9rlNDO0wH5Jcdte5HzBcVBYT76bd4SsNCFDBHA2U9l8 wRZw== X-Gm-Message-State: AElRT7E+4KIQ5vi71sK0d1kugL0pNRt2vHUSgWe7nj5w5iFOUz46pGiP wseZzedeCGdx1C559uI6SjxyrA== X-Received: by 10.80.245.124 with SMTP id w57mr14335462edm.230.1521478764030; Mon, 19 Mar 2018 09:59:24 -0700 (PDT) Received: from localhost (p200300E41F1A6C00A7FFE15449086C5C.dip0.t-ipconnect.de. [2003:e4:1f1a:6c00:a7ff:e154:4908:6c5c]) by smtp.gmail.com with ESMTPSA id d18sm471273edb.68.2018.03.19.09.59.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Mar 2018 09:59:23 -0700 (PDT) Date: Mon, 19 Mar 2018 17:59:22 +0100 From: Thierry Reding To: Enric Balletbo i Serra Cc: Lee Jones , Daniel Thompson , Jingoo Han , Rob Herring , Pavel Machek , Heiko Stuebner , Bartlomiej Zolnierkiewicz , Richard Purdie , Jacek Anaszewski , linux-pwm@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, groeck@chromium.org, linux-rockchip@lists.infradead.org, kernel@collabora.com Subject: Re: [RESEND PATCH v5 3/5] pwm-backlight: add support for PWM delays proprieties. Message-ID: <20180319165922.GD22770@ulmo> References: <20180216174034.15936-1-enric.balletbo@collabora.com> <20180216174034.15936-3-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="g7w8+K/95kPelPD2" Content-Disposition: inline In-Reply-To: <20180216174034.15936-3-enric.balletbo@collabora.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --g7w8+K/95kPelPD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 16, 2018 at 06:40:32PM +0100, Enric Balletbo i Serra wrote: > Some panels (i.e. N116BGE-L41), in their power sequence specifications, > request a delay between set the PWM signal and enable the backlight and > between clear the PWM signal and disable the backlight. Add support for > the new post-pwm-on-delay-ms and pwm-off-delay-ms proprieties to meet > the timings. >=20 > Signed-off-by: Enric Balletbo i Serra > Acked-by: Pavel Machek > Acked-by: Daniel Thompson > Acked-by: Jingoo Han > --- > Changes since v4: > - Rebased on top of mainline. > - Added the acks from Pavel Machek, Daniel thompson and Jingoo Han > Changes since v3: > - Use two named members instead of pwm_delay[] (Daniel and Pavel) > - Use msleep instead of usleep_range. (Pavel) > Changes since v2: > - Move the pwm/enable sequence to another patch (Thierry Reding) > Changes since v1: > - As suggested by Daniel Thompson > - Do not assume power-on delay and power-off delay will be the same > - Move the check of dt property to the parse dt function. >=20 > drivers/video/backlight/pwm_bl.c | 19 +++++++++++++++++++ > include/linux/pwm_backlight.h | 2 ++ > 2 files changed, 21 insertions(+) Acked-by: Thierry Reding --g7w8+K/95kPelPD2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlqv7GoACgkQ3SOs138+ s6F9GxAAqXp9JE/VvfuJ/zqbvGh/hLA1/RJzfV05dGFb5pk9QoKYjKgIZSaJ9VyB rNEnjma8Mbj89T4emlMg+3jMXXBiMGUv9vfDR+XO7GQI1bhGgp7JQUUmYg3d6a/F CUL3jR0RJWlqChyDgU4VkZJqlfF15t7Vdmu8zrpVaMSmNSSCnlNDYM6EZ7v7Fmct zWxgfovvsV+E/cCAcJQvUxPL5bZWFlTcoWAbhL+xUyCNmChBKPIgiFMbaYBlBREC 7teXLSnQ2OVD4p0H/SpkMDD2fTAUChpSoUWVWhnxa1Z8NCY0ZikF5srsWr+W25bO tixRdRPR/1l/1x6/3kKvWO5/mrKxHhMcCHxfe4QY5PgtsDCiFgFwJ/nmN5HPVuYa +clnAbDcytGfv31fLlnvd4+04CnVFyHjzaSIWjw4kKjmJd6d6rWs+4E4XlVmJtku s2QMW4bN5GBFqteNRR0zLDz0bbEYjiZtTwOf0bs3bViw8sNh2rw0/KUogfFumI3F 4WYqbapezDnXiHoA7MX349f9z9TVuHvE7fioK+GQW+6wfkTuY5GAmqCxfsO254Uk E9gtIZ0W9qFlga2mHp0hBUwzLdAhei4x8uZ8bNF6hKSlBLRj4Agn+XOaLzJYJmiZ DrOaqv0lpcX/1ERM5HDsLjKdj5VaKov1lyjUo4G5JCl59TmDZLo= =3DKy -----END PGP SIGNATURE----- --g7w8+K/95kPelPD2--