From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2019AC4332F for ; Wed, 4 May 2022 07:30:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345415AbiEDHdr (ORCPT ); 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) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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--