Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp353129rdh; Tue, 19 Dec 2023 00:23:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCoRaMmEIZV1ZxFHak9YERXJigXuNOb26qejKOMwZkToKiEKB5OdLVHbW+0YQxonc1iIQ4 X-Received: by 2002:a17:90a:582:b0:28a:b561:e3ee with SMTP id i2-20020a17090a058200b0028ab561e3eemr6139795pji.54.1702974180741; Tue, 19 Dec 2023 00:23:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702974180; cv=none; d=google.com; s=arc-20160816; b=EFWQIGcEo6IY6H2xqalLeuNU6+X9tqH+OhQ6r+HZWkLGv+dfDgvVb4RsdGPXbvjfa8 6mbuk7toKuSXwCy9KK9B7rePDnlMQqvuYBrlrHF9xxGzPUN8cwg+nrq5eh3RInL1fP0X +L9SFrOmEgPW4ZzIMrVNyHdpRmsTtDHhebWtMlCU6fqLASE8W4a+RjW81t/HQ5ouyGlm PTEuOrz5bmLXz7RXY38XFtjwTHJuRMJf31PNJ4bueNprO5f4Urh3YogGXsZHVPUwv0vr Fz8oN0LLvdlYXGQqce+jagTDqRuMBR1068dwqaGERadve4WAkijfUhuQTw/Z38vYEH/b Ik2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HTumqjrODXeIgqCU954g3E9ce+ErUCFiIrRpHVMnZyo=; fh=vyke9euLj8PlCdp2z3siS//F55QEdFSXgoS05v/byQs=; b=QwcGDif4hr+cUu5eqRN7UEQ//gjPpakJHr7v/Ubh8nB8LrF7VO0hshUSeWv5z+pcFb YVZ/sfYtn1r06Rcni/RtFEGQtEx73ZuTNn9ILFo57TDJ9hIs1+8aEvsTE0sS7zJiizNt Gj+Jf9qxDwVSJQH30jTrrKlHJM5KH4tNtlVe9QcdUHw7E7n3KKwkpy1sQU+Eh6XVvvTd cJbkXoKzYkQDoiTrm1sGRIAgwMJ8xRW59bkSAl+HMN2Vh3Jvci/P4rT03i7YMZ6qQ25U iMmFUPg68gJkUCbnyBQep9TYaESJGcGQz/8Tb5Zo9L2bEhpZ29M0Zo/cr7H2dRTLVVOw Xcmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pGQnJ+qS; spf=pass (google.com: domain of linux-kernel+bounces-4880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4880-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l13-20020a17090b078d00b0028ad32112d2si685517pjz.78.2023.12.19.00.23.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 00:23:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pGQnJ+qS; spf=pass (google.com: domain of linux-kernel+bounces-4880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4880-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 784EBB216F4 for ; Tue, 19 Dec 2023 08:22:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF86D11CA8; Tue, 19 Dec 2023 08:22:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pGQnJ+qS" X-Original-To: linux-kernel@vger.kernel.org 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 0BCF811709; Tue, 19 Dec 2023 08:22:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 771ADC433C7; Tue, 19 Dec 2023 08:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702974167; bh=FmCM3a684//V/bIDrG9a5kI2+uNKkLhT98DUvSSewC0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pGQnJ+qSxpGb5vN82otT1ZXIeafjXyBSyiq/ecFHosnYloJVBEDGjtJNZYWJO13GE Etg2tV/suN/uRNVHczTAKniHLU1h/lCZ8UGWvy9hdtRy163K/Bprhw6iSGz3pIQBWa IHydr394DHiTazdPjVPbPNiB+usyXCNmb4HSqapYUgTUliV2FqWb8FqyI51mBxqFnL Mw3qtzZNMgToE4GEyloFLBJmwH3Y6e9t5yVc+9PyXVKFtbYNKvSLYTJqps7UHrZ+kR HWYzZtgLm1Z2sxa3umZ8fdqGdBoDfDIO+hqrHm4polDAYwHgJgqlN3fFU4/JyR6MgT 2IstHvDaKba5g== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rFVND-0006xa-1S; Tue, 19 Dec 2023 09:22:44 +0100 Date: Tue, 19 Dec 2023 09:22:43 +0100 From: Johan Hovold To: Marijn Suijten , Lee Jones Cc: phone-devel@vger.kernel.org, Pavel Machek , Bjorn Andersson , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, Rob Herring , Bhupesh Sharma , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd , Satya Priya Subject: Re: [PATCH v4 2/2] leds: qcom-lpg: Add PM660L configuration and compatible Message-ID: References: <20220719211848.1653920-1-marijn.suijten@somainline.org> <20220719211848.1653920-2-marijn.suijten@somainline.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=us-ascii Content-Disposition: inline In-Reply-To: <20220719211848.1653920-2-marijn.suijten@somainline.org> Hi Marijn and Lee, On Tue, Jul 19, 2022 at 11:18:48PM +0200, Marijn Suijten wrote: > Inherit PM660L PMIC LPG/triled block configuration from downstream > drivers and DT sources, consisting of a triled block with automatic > trickle charge control and source selection, three colored led channels > belonging to the synchronized triled block and one loose PWM channel. > > Signed-off-by: Marijn Suijten > Reviewed-by: Bjorn Andersson > --- > > Changes since v3: > - Rebased on -next; > - (series) dropped DTS patches that have been applied through the > Qualcomm DTS tree, leaving only leds changes (driver and > accompanying dt-bindings). > diff --git a/drivers/leds/rgb/leds-qcom-lpg.c b/drivers/leds/rgb/leds-qcom-lpg.c > index 02f51cc61837..102ab0c33887 100644 > --- a/drivers/leds/rgb/leds-qcom-lpg.c > +++ b/drivers/leds/rgb/leds-qcom-lpg.c > @@ -1304,6 +1304,23 @@ static int lpg_remove(struct platform_device *pdev) > return 0; > } > > +static const struct lpg_data pm660l_lpg_data = { > + .lut_base = 0xb000, > + .lut_size = 49, > + > + .triled_base = 0xd000, > + .triled_has_atc_ctl = true, > + .triled_has_src_sel = true, > + > + .num_channels = 4, > + .channels = (const struct lpg_channel_data[]) { > + { .base = 0xb100, .triled_mask = BIT(5) }, > + { .base = 0xb200, .triled_mask = BIT(6) }, > + { .base = 0xb300, .triled_mask = BIT(7) }, > + { .base = 0xb400 }, > + }, > +}; > + > static const struct lpg_data pm8916_pwm_data = { > .num_channels = 1, > .channels = (const struct lpg_channel_data[]) { > @@ -1424,6 +1441,7 @@ static const struct lpg_data pm8350c_pwm_data = { > }; > > static const struct of_device_id lpg_of_table[] = { > + { .compatible = "qcom,pm660l-lpg", .data = &pm660l_lpg_data }, > { .compatible = "qcom,pm8150b-lpg", .data = &pm8150b_lpg_data }, > { .compatible = "qcom,pm8150l-lpg", .data = &pm8150l_lpg_data }, > { .compatible = "qcom,pm8350c-pwm", .data = &pm8350c_pwm_data }, When reviewing the Qualcomm SPMI PMIC bindings I noticed that this patch was never picked up by the LEDs maintainer, while the binding and dtsi changes made it in: https://lore.kernel.org/r/20220719211848.1653920-2-marijn.suijten@somainline.org Looks like it may still apply cleanly, but otherwise, would you mind rebasing and resending so that Lee can pick this one up? Johan