Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3189355ioo; Tue, 24 May 2022 15:39:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJximZQuRsrp+2uJNkPJyyYSsdtc6v5gYf65tiSaX7ds1VyJFi3YUzOd6P5oekC+RLpIL3Us X-Received: by 2002:a05:6402:2995:b0:42a:843f:ac82 with SMTP id eq21-20020a056402299500b0042a843fac82mr31279860edb.370.1653431965406; Tue, 24 May 2022 15:39:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653431965; cv=none; d=google.com; s=arc-20160816; b=lO9IA2jxbwqXZKLvTx0qvV6O8s4fUeiCvtOo3UGWgnSCU+pGJc/SMKdaL1Nwy8cfBN mSZzARzJKlM7bhxtffW0pUvDI1Hk1suRttPW4g18qDDZo1PrmBFxj+IRcCdQyHs96UBw gMwW1RRUmAL0iUMjm8MV0TC6zXbmT0AGWq8JNlJ9kH9Mv35YokkGiFBoKvJS4yc2bPWo 8AtId5QYRLQbhqE5lXJM2EIRosO/vQm+Bg8jabsKBWpP4xwGxn6IYDNLDrguBBkC8uLB YIblxGG/+eYmItuiDcnBanGEEEmQ5PoPIMozx3mHHK8TMov6Xk5ckzJYY9BJF/SphLI7 CVWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DlQEZ/gCc3QpUXehaN1GEEfOCVI81XCJ2rd4OltFdLY=; b=S9QDU7m4iz18yiKNY/gyf61HGlyApEMjLxntGMCIuQpC4+r5TV2HT33/UXwz9vBgL0 oA2AnD/952b/FxwzrPQwngqq9Sx6brGelIbhxoBM6zf3yLLYfbSsa+EF/2D61FBIDzAh wqEabdIAwWQpQvnLCSjBf8eXKE0tbs2yay8r8s/MegTlnCjKHJjIeXFfeyO35Bvjqm+5 DboSv05JFT2RJqaI+ZK/o4smGNTbz1p8p+oQx5CaZOPNEKyUsccY38yJxb5ogPYNM8d6 jUdU5IiDWX1dJ0IddHW8V4ns2QWhnXAlBhyEoGz1lSbTAPmZOhuuyY9KrulFKMplQJ4b MkmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CbNc1wxi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020a1709061da900b006e86e278dcesi7667242ejh.766.2022.05.24.15.38.59; Tue, 24 May 2022 15:39:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CbNc1wxi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238526AbiEXPDG (ORCPT + 99 others); Tue, 24 May 2022 11:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236693AbiEXPDE (ORCPT ); Tue, 24 May 2022 11:03:04 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A761E8A339 for ; Tue, 24 May 2022 08:03:03 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id rs12so24188915ejb.13 for ; Tue, 24 May 2022 08:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DlQEZ/gCc3QpUXehaN1GEEfOCVI81XCJ2rd4OltFdLY=; b=CbNc1wxia4KBEnPojOwiwyFFW4lhBKRf4AQt/+oQ3TR8JoKODULUGG36Ybz8lklHLj L6zd81OhoNFtQdzWk3JnSpvvQeD9/k+wmO7sOhIrSK0u/1YI/HJngN7SSxXuQ9A23p0/ PBjADz9nDQP9Py1zA+vYmC/eIvp1CfMTlYZN0zZ1Wxx+rIxWfIc6Umoo1SMLcZVFwvHL +8Rg9i8OTAnChsU+N3sBsft+ZwPVVRVipal3rAR2RxAv0D+b1O9anbkY6UfjcMkyHzi0 zbrTbd7o8+x9SZDqISgByUttWLIFYko/kvdNsMpBgxE9GAw28KiuSo/i2w15EPbM1r4t io9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DlQEZ/gCc3QpUXehaN1GEEfOCVI81XCJ2rd4OltFdLY=; b=Uzsk5bqpubcWs9O0C1JUdhgUfVMPaVn1p11ba1pZHNOCdILjVyw8xsOESXkCVHByEr x1KFmIObrZ2zv3qUVwb2ltNrX1T95D6cQqtZJq5Y/CYc11z9ME6TerQnwWFRAeSSiPG8 eOu0UdXvhcQFpSxiHrTH7lcCRpndeqX4lTUYgycNwBVXN48UQUfgGyapqJiOalDXlgGh Dx2oXjUeXCvy7Le3IJxw+PVIsZuoGwvyqsZbHo8tEVR4eFAUaBub6oMISLxpWL/eKZu9 551/lPgZkuIa6gqLYiXpM1PcMVDvp/vGIYbYIf5kuZFgU4Yq7ouwuWuWpdb2ozJwhwLo Ivxg== X-Gm-Message-State: AOAM531yJrzcaxGa5JA9j3gYfZ8906Va373MpHJ1sdNeIK1NQkaZ6W+f 8F/vqUc+0Cpd8Jya9RwMY+K5IyAo4DTsR/TBlwcdLsyXYgQEYg== X-Received: by 2002:a17:906:974c:b0:6fa:8c68:62a8 with SMTP id o12-20020a170906974c00b006fa8c6862a8mr25615119ejy.293.1653404582161; Tue, 24 May 2022 08:03:02 -0700 (PDT) MIME-Version: 1.0 References: <20170323055435.29197-1-bjorn.andersson@linaro.org> <20220523163038.GA9124@duo.ucw.cz> In-Reply-To: <20220523163038.GA9124@duo.ucw.cz> From: Bjorn Andersson Date: Tue, 24 May 2022 10:02:51 -0500 Message-ID: Subject: Re: [PATCH 1/2] leds: Add driver for Qualcomm LPG To: Pavel Machek , Marijn Suijten Cc: Richard Purdie , Jacek Anaszewski , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-arm-msm@vger.kernel.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 23, 2022 at 11:30 AM Pavel Machek wrote: > > Hi! > > > The Light Pulse Generator (LPG) is a PWM-block found in a wide range of > > PMICs from Qualcomm. It can operate on fixed parameters or based on a > > lookup-table, altering the duty cycle over time - which provides the > > means for e.g. hardware assisted transitions of LED brightness. > > > > Signed-off-by: Bjorn Andersson > > I'd really like to see the patch fixing the pattern interface (or > disabling it). I don't want to push the tree to Linus with that bug. > Please find a proposed update to lpg_pattern_set() and the documentation at: https://lore.kernel.org/linux-arm-msm/20220523233719.1496297-1-bjorn.andersson@linaro.org/T/#u @Marijn, would love to get your input on this proposal. Regards, Bjorn