Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp890164iob; Wed, 4 May 2022 10:02:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPQ5aba4wqSANQ98JgGAlLJ54Y4GaTGHGYmXJ1Ti+ajGt4+aIdmSm0O+XLiV2ZRaDxu0tA X-Received: by 2002:a05:6402:128b:b0:425:d1d7:b321 with SMTP id w11-20020a056402128b00b00425d1d7b321mr23716625edv.179.1651683728851; Wed, 04 May 2022 10:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651683728; cv=none; d=google.com; s=arc-20160816; b=G7WXNv99X4juqZDQEIr7geJkAllL0VK1g95Nat14bm/8g9RH3tEHUH95eo3La6YcXS asppPOEpt1IZdPI5X7ogh9unrM5eNeqRn+rCzb7p/PvOIooF2c6AQs1huYXVOyCO6hkk RllnjZHAhapLpJgEeSHdYcFkexkrk+FDDr5b1ZjXr+YYg9bJvAGx9u0oiuqgTOpynlg8 fV4arLo+pbMc9rrdfgvUnnL+BTwnQeqrea+YjvaQ49dLCj5ITDlBOvfEM1Dsu6k9tlqY oNTsgEyyAo7Zx1RjyxX6/EpjPSq68/UEwNNSm1CXRayx7uDl9uDtA6zLJPPeRl9CDnny bQAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=l9BpPp4AHFvl2pu0g6qlYPRbexg2Xnh6Rsi9bgaf/yY=; b=OW71iU+U7jdm/VyqybI2V000L3iwrTvWypDiRggWdHaC4rqdIToRD1pnkwaXWo6vJQ LAJOeSmgyF+vJLJvQMeqlAr/6yRwbeRWCaSKdF34brs7w1segHaVGyftkgkvS2WjMtaC OPf4qOy7lNfFU51RN+cmPPhqNlrlNgFsmAtbDOdf1lMvXuFUydd94EbjmTz1TKbMmGTb OhfqBfBPpqLXgiDvHj8B3cKk6y0xLdpqgGWOGOVFh9S0SZH0uHjttB24TaoaOltkQed+ nnreHFstgBmF6LEGLOFy1fc6fWDyAdH4nTTO2+RrcoxzMWewrJYZ1kvZcr1P0F4lv0Ly gKhQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hj16-20020a170906875000b006e862100d5bsi14463012ejb.396.2022.05.04.10.01.43; Wed, 04 May 2022 10:02:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345467AbiEDHdr (ORCPT + 99 others); Wed, 4 May 2022 03:33:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343741AbiEDHdq (ORCPT ); Wed, 4 May 2022 03:33:46 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78B9D23168; Wed, 4 May 2022 00:30:11 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 2E7E01C0B82; Wed, 4 May 2022 09:30:10 +0200 (CEST) Date: Wed, 4 May 2022 09:30:09 +0200 From: Pavel Machek To: Bjorn Andersson Cc: Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Lee Jones , Luca Weiss , Doug Anderson , Rob Herring , Jonathan Corbet , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-pwm@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v14 2/2] leds: Add driver for Qualcomm LPG Message-ID: <20220504073009.GC8204@duo.ucw.cz> References: <20220303214300.59468-1-bjorn.andersson@linaro.org> <20220303214300.59468-2-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y5rl02BVI9TCfPar" Content-Disposition: inline In-Reply-To: <20220303214300.59468-2-bjorn.andersson@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 --Y5rl02BVI9TCfPar Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +/sys/class/leds//hw_pattern > +-------------------------------- > + > +Specify a hardware pattern for a Qualcomm LPG LED. > + > +The pattern is a series of brightness and hold-time pairs, with the hold= -time > +expressed in milliseconds. The hold time is a property of the pattern an= d must > +therefor be identical for each element in the pattern (except for the pa= uses > +described below). therefore? > +Simple pattern:: > + > + "255 500 0 500" > + > + ^ > + | > + 255 +----+ +----+ > + | | | | ... > + 0 | +----+ +---- > + +----------------------> > + 0 5 10 15 time (100ms) > + > +The LPG supports specifying a longer hold-time for the first and last el= ement > +in the pattern, the so called "low pause" and "high pause". Please see Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt . This should really be compatible. Can I get either patch to disable pattern infrastructure for now or to get it compatible? Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --Y5rl02BVI9TCfPar Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYnIrgQAKCRAw5/Bqldv6 8rLMAJ0VtBNxB/xvCl2JcOP0LCU18d1nfgCfdpUxi4Hu4njyY6v5UbF8MNrW4p8= =qHV3 -----END PGP SIGNATURE----- --Y5rl02BVI9TCfPar--