Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1538976rdd; Thu, 11 Jan 2024 02:08:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFIwxvBitgHpTnjB66DnWWG+XssMffyjU9bhkBTsQwfK2GmEFZXy1qxAXOmdUsqYvUFyl+ X-Received: by 2002:a17:903:41cd:b0:1d4:2836:63dd with SMTP id u13-20020a17090341cd00b001d4283663ddmr1184135ple.103.1704967698547; Thu, 11 Jan 2024 02:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704967698; cv=none; d=google.com; s=arc-20160816; b=s1op1GsJGZBsEdQeI3fKN9sUzcm1GBtvHARgFRByWXc7jZTRgFJFAG0DF6ePkLlsjh NRU6inV90FFfmXedNsbxFimhEkoZGq/CgVaJ02pkdM5A9qO5KsXSov1sfrXnQ6Cs8giF Dbayig+29JrynLWjV460TsFlprIgUfklbfre/WhDp/Mcz9jUYhytyckYuI7q1qJWGv5y kJk6xLIXgvRB08JHRl2fxxBzyDHB1oSk8lv0EDt183nAC3QGCfHjKpIZIR0v/cjF77hs iSKB9VxplbqqM2iyN9A7Y0nG7iZ4WZpHU6iV7cj2QIenXXAzixn7UEjuSPITP56xc+z8 UPZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gS+mDfgdkxNfxYDuFH9/FeAaMQZ8fh13C7/F5qV0cMs=; fh=K/10XQfxarkzre7bdjMa7rhVyYdQJP6b87fFRjfgjC8=; b=RdaFblyp7i8jeTu+inMULVwO4rn7ElnA/XNRIeEbkWtdu0KxTTDlbsAJO5RzH0p1Wi FkvacXOig9GTqSjcupDvwbe2o29bblX67jcFjN21GDX7wSMz6Wg/7K3wJfsbfzt0SaiC LWsloIcRy2Ao2xVW8d845BAEomEaSw/uVGdZzNSLwO1W2OqAvPDoGZXOtcsnGR85SBCO KaMAfJQMTeVuE+y0C0YDIAEO0uHX4J1sN4i3d9qmsVjUVKdmfe3CuunRWQMCwbJNLiQ6 36SM+3LwTfpYTOhFezvNFT/jvUXgRp+HV9azCRMWobBOph8DlFBGMutth8eLwtOcsVQj bazA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WZ2+unwR; spf=pass (google.com: domain of linux-kernel+bounces-23361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n7-20020a170902d2c700b001d472670a14si787803plc.303.2024.01.11.02.08.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:08:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WZ2+unwR; spf=pass (google.com: domain of linux-kernel+bounces-23361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 35507284504 for ; Thu, 11 Jan 2024 10:08:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD99112E60; Thu, 11 Jan 2024 10:07:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WZ2+unwR" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E25A512E47; Thu, 11 Jan 2024 10:07:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6928C433F1; Thu, 11 Jan 2024 10:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704967674; bh=MHZ3HKsiCpjEYPd5oTIO5WrJhKmnJLJk8uK+pY3y/hg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WZ2+unwR2gZ2PJIImYKRhVGQn/kfG7T1ALp/3Pzcn33+QPO/+/hKT9zqJ8l9vlLtG mI1u2v0eHLoeT9H3qPl9OYIc07/bzQVI7hYUw7WjpfkB8UOiMxSm9yeiSVO9v/hKOy teUk3SwyvUmgE45OHM3PyMyGW5IUZPaIWyjCLMtkQC8QZdU9He20EYG3F5mCqQloLX jrH452UhjOGsarqGlZFHhluN+/FobdjSVhVzkCtCwRRpHNyd/g2YTorWemjhnqG7Kl Uvb7Pq12eKikuVaizsFADJd6gc1dxt+EFooGDFJ4xcStIjR0CwArYY7K+uo/oMdK2g zKZUVRfexAq1Q== Date: Thu, 11 Jan 2024 10:07:47 +0000 From: Lee Jones To: pavel@ucw.cz, thierry.reding@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, agross@kernel.org, andersson@kernel.org, Anjelique Melendez Cc: luca.weiss@fairphone.com, konrad.dybcio@linaro.org, u.kleine-koenig@pengutronix.de, quic_subbaram@quicinc.com, quic_gurus@quicinc.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: (subset) [PATCH v8 0/7] Add support for LUT PPG Message-ID: <20240111100747.GM7948@google.com> References: <20231221185838.28440-1-quic_amelende@quicinc.com> <170496750168.1654525.11132648331912183091.b4-ty@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <170496750168.1654525.11132648331912183091.b4-ty@kernel.org> On Thu, 11 Jan 2024, Lee Jones wrote: > On Thu, 21 Dec 2023 10:58:30 -0800, Anjelique Melendez wrote: > > In certain PMICs, LUT pattern and LPG configuration is stored in SDAM > > modules instead of LUT peripheral. This feature is called PPG. > > > > This change series adds support for PPG. Thanks! > > Changes since v7: > > - Patch 4/7 > > - Initialize hi/lo_pause variables in lpg_pattern_set() > > Changes since v6: > > - Patch 2/7 > > - Removed required by constraint on PPG dt properties > > Changes since v5: > > - Patch 4/7 > > - Update logic so that multicolor led device triggers pattern > > on all LEDs at the same time > > - Update nitpicks from Lee > > - Patch 5/7 > > - Update nitpicks from Lee > > Changes since v4: > > - Patch 3/7 > > - Get rid of r/w helpers > > - Use regmap_read_poll_timeout() in qcom_pbs_wait_for_ack() > > - Update error path in qcom_pbs_trigger_event() > > - Fix reverse christmas tree > > - Patch 4/7 > > - Get rid of r/w helpers > > - Update variables to use "sdam" instead of "nvmem" > > - Fix comments > > - Fix reverse christmas tree > > - Update lpg_pattern_set() logic > > - Patch 5/7 > > - Removed sdam_lut_base from lpg_data > > Changes since v3: > > - Patch 4/7 > > - Fix function returns > > - Move register definition to top of file > > - Revert max_brightness and probe accidental changes > > - Combine init_sdam() and parse_sdam() > > - Change error prints in probe to use dev_err_probe > > - Remove ppg_en variable > > - Update when pbs triggers are set/cleared > > - Patch 6/7 > > - Remove use of nvmem_count > > - Move register definition to top of file > > - Remove lpg_get_sdam_lut_idx() > > Changes since v2: > > - Patch 1/7 > > - Fix dt_binding_check error > > - Rename binding file to match compatible > > - Iclude SoC specific comptaibles > > - Patch 2/7 > > - Update nvmem-names list > > - Patch 3/7 > > - Update EXPORT_SYMBOL to EXPORT_SYMBOL_GPL > > - Fix return/break logic in qcom_pbs_wait_for_ack() > > - Update iterators to be int > > - Add constants > > - Fix function calls in qcom_pbs_trigger_event() > > - Remove unnessary comments > > - Return -EPROBE_DEFER from get_pbs_client_device() > > Changes since v1: > > - Patch 1/7 > > - Fix dt_binding_check errors > > - Update binding description > > - Path 2/7 > > - Fix dt_binding_check errors > > - Update per variant constraints > > - Update nvmem description > > - Patch 3/7 > > - Update get_pbs_client_device() > > - Drop use of printk > > - Remove unused function > > > > [...] > > Applied, thanks! > > [2/7] dt-bindings: leds: leds-qcom-lpg: Add support for LPG PPG > commit: 2fdd08fec742e0c94a2a06a0c9ee0912b6f7ac39 > [4/7] leds: rgb: leds-qcom-lpg: Add support for PPG through single SDAM > commit: 07a1afc8fbb77cc893e2285112482902ac88a295 > [5/7] leds: rgb: leds-qcom-lpg: Update PMI632 lpg_data to support PPG > commit: f4f5f6a6f8d7bcc8efd0eee6751def22c9a38fd0 > [6/7] leds: rgb: leds-qcom-lpg: Include support for PPG with dedicated LUT SDAM > commit: 7399a927272de1fc42f4da8af1d8d60b65a15b84 > [7/7] leds: rgb: Update PM8350C lpg_data to support two-nvmem PPG Scheme > commit: 7b4066868689b1f341e61957611d252b6fa8cafc This set had a bunch of checkpatch.pl errors. Please fix them up subsequently. -- Lee Jones [李琼斯]