Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp820940rwr; Thu, 27 Apr 2023 08:32:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MeWr3+dB7hBMLQm9dDB5QQTBAFkPWP91xlUOAfW/+aYzkmGj9c3F+NJ9izTeUrNj6pVZB X-Received: by 2002:a17:902:ea02:b0:1a9:83c8:f7f2 with SMTP id s2-20020a170902ea0200b001a983c8f7f2mr2358500plg.2.1682609527922; Thu, 27 Apr 2023 08:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682609527; cv=none; d=google.com; s=arc-20160816; b=ti4yaT/JZgvqe28Cz0oE6BivTWS2GyF2NMoznkNBeyk/Vnwr3HpcJcJ93Cvd9wSVey gll96xFU1zSxYxD0HkBDDPXT0NxZUgRKH2mcfR5vbqF15A0/BXyxdRGdvbIXT2ye1WZg U4QGB8KAP9TmDRhnZ28/8aSwg+zju/6bclY/+pX2u6LnLgX0Z/ufzQC0nrDVBFm3Ykvm 4wGtGUIHe0tW1ox2IN4N3nRKT6zQ7MzhXEOsewGRvUvaEPiKhGU6HWHKssjiot8zuqIB tBLrzYGy2bHOn3cePg/vBZKhw3kl1p7e/iO0w6PU7zuVvnuJVAtusqoqiBEMenu5NDWA PN1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=grOYVfC0ZU7BUzc9+ayWXy519dRp0Fppwx1yT1O+Q0I=; b=yMS79m8N70PLz1tMmT+AC37UE+n5nTF+RRbTsRASwjD5vU6u8O1lMh5IyO++Y2TAGj w7jQtKGjAPlGHM5Vvt5lgYf4dkzMaXm+MFCb38zNhigKrpCH57jDmr/3ddKbggTT+cjA QflTBt9ScTAPOWPBPQ6RkOSbE49P5N49Lpt8RDtwTEU1CEk/IGN6LyUa6Fv1UrMpQT63 H7JKv6bCy/89pyj6DVS4H20WxaIGiPkaChVjenXC39AdVHf5o3n46GqDhB+Go99XwC4y 7U9YSMKWaZqivYQUJtFlnAujFeWUbkFq650Q5BUsfRJ3JO4xvovX8z8W0swcHnC3TngM 3SJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SIgAkX1L; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ki7-20020a170903068700b001a93cb99252si16889537plb.375.2023.04.27.08.31.51; Thu, 27 Apr 2023 08:32:07 -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=@kernel.org header.s=k20201202 header.b=SIgAkX1L; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244182AbjD0PWT (ORCPT + 99 others); Thu, 27 Apr 2023 11:22:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244202AbjD0PWN (ORCPT ); Thu, 27 Apr 2023 11:22:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D4C74495; Thu, 27 Apr 2023 08:21:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C488C63DF5; Thu, 27 Apr 2023 15:21:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8A84C433EF; Thu, 27 Apr 2023 15:21:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682608918; bh=ubzLIiKWk4xS3fSUFL6f4HYwN3pMsyjqGrPI/EsNgjM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SIgAkX1LAax4lBVZnNItcQejkgjdWp2jW2n+tccgqr0xHc3DGMMGIIhUheL1+7d4k wPyfq1DPU4qV+twUfCgLrfsKbhy8vw1N+3VuSupOV9Ib1zMrZoa8WTZOMWiJZ4Wtcf nWCNmBVN2/Pmc+i/onQtJ5FBBA5UBq34y00Fq1bkrlWpINWvuEbcSKqjne3srI0pnd WdRK+ck7bl/SNuq0oUQdmXe+vrHc4D643zs6Rqd9I+D9PGcOOqpPtmIkU6/NSj+9tj 441zkhW5aUj7QM7Q38zGNF1jRoRyoxkUnaBmEBn6TY1WM0MQxWQcOREftn8ilWn64C oVQBXP+FRpuRA== Date: Thu, 27 Apr 2023 16:21:53 +0100 From: Lee Jones To: Maarten Zanders Cc: Pavel Machek , Rob Herring , Krzysztof Kozlowski , Jacek Anaszewski , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 2/2] leds: lp55xx: configure internal charge pump Message-ID: <20230427152153.GY50521@google.com> References: <20230421075305.37597-1-maarten.zanders@mind.be> <20230421075305.37597-3-maarten.zanders@mind.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230421075305.37597-3-maarten.zanders@mind.be> X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Fri, 21 Apr 2023, Maarten Zanders wrote: > The LP55xx range of devices have an internal charge pump which > can (automatically) increase the output voltage towards the > LED's, boosting the output voltage to 4.5V. > > Implement this option from the devicetree. When the setting > is not present it will operate in automatic mode as before. > > Tested on LP55231. Datasheet analysis shows that LP5521, LP5523 > and LP8501 are identical in topology and are modified in the > same way. > > Signed-off-by: Maarten Zanders > --- > > Notes: > v1: implement as bool to disable charge pump > v2: rewrite to use string configuration, supporting all modes > v3: simplification by replacing string from DTS by constant > v4: added notes > v5: property type to u32 > v6: cleanup parsing of DT paramter > v7: formatting > > drivers/leds/leds-lp5521.c | 11 +++++------ > drivers/leds/leds-lp5523.c | 14 +++++++++----- > drivers/leds/leds-lp55xx-common.c | 9 +++++++++ > drivers/leds/leds-lp8501.c | 8 +++++--- > include/linux/platform_data/leds-lp55xx.h | 3 +++ > 5 files changed, 31 insertions(+), 14 deletions(-) Applied, thanks -- Lee Jones [李琼斯]