Message ID | 20230110092342.24132-1-maarten.zanders@mind.be |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2646653wrt; Tue, 10 Jan 2023 01:31:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXtljBCdA5Mm61lpVHOPSD7cnlFW+gzdauwZFHdHKjGAPkRLYeC4fNXmsoy0Ke9Ltwq1Zzbg X-Received: by 2002:a17:906:3a98:b0:84d:255e:21a4 with SMTP id y24-20020a1709063a9800b0084d255e21a4mr10216668ejd.2.1673343110186; Tue, 10 Jan 2023 01:31:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673343110; cv=none; d=google.com; s=arc-20160816; b=SglyXwET/GLb2sINA2Qz3nOGYrPyK4PGdyB3qnSCMGjsL51Jgsi+3FsNYKAfdTICDT YOTbZdJp7PNTqAMDb4zgQYoLiMr+QoSEhGXOPZtQfj96/DVFxT4KZbWfn+ncdelcPTu/ A2rZPUL0XwXM8XO3sMHsiR38JHG7SfWhprI0IlMml/DiQ/9o4IwcFT5xZvB8d/LmwVOO RadgTT14aih7WohN9tD+ePQRdGhydaej1YoxzeWRK39Euna0/WEMoJpklV2EpU54r9dh C53+VX0Oa8p8YSvBTUHtJZIh4evFnhASWZ2UsOVeXkajcgnbP9tWC0XbQc5oQFSk9UZ4 iBnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=G0xm6pZSYV0zy2S2dPvMPd0PXu+EXkyVu00ABlXhNhM=; b=GnP/vCNiIIa9XNEwN+Kqh9yHgV8yAsgLy5GlXL5/LeeKWVjSOV4lW9U6i/vU2CXHJb OV3h9zr7728GiW1AQ999fo6LE2ICJGR8GP9pv0NemMLI04XEK8WQzPYulXQOBEWYEVXI HcD6oU+/eBSPeVMjSLLXtJ+NTA0oeiZzNL+26VukuqD4n1f289592eM3E4pLtRkvFxfE r+NnJrCzfCL+NK93pGuDHRo2MOusdV3qyRrk5kEaSC/hmp4+d2egTFFrGdXPy+cNNzjx UkrNgt2Oz/2YoEIG19sVBYtvnuznnPk6Ze2mrNl8NnYAe9QWdCyw5XMk9BGSysi8pVnH kVxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mind.be header.s=google header.b=GhFAGk8Q; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt17-20020a1709072d9100b0084c3ce2f3e5si9823096ejc.321.2023.01.10.01.31.26; Tue, 10 Jan 2023 01:31:50 -0800 (PST) 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=fail header.i=@mind.be header.s=google header.b=GhFAGk8Q; 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 S230163AbjAJJZJ (ORCPT <rfc822;syz17693488234@gmail.com> + 99 others); Tue, 10 Jan 2023 04:25:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238072AbjAJJYw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 10 Jan 2023 04:24:52 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2530E544F4 for <linux-kernel@vger.kernel.org>; Tue, 10 Jan 2023 01:24:49 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id ay40so8295355wmb.2 for <linux-kernel@vger.kernel.org>; Tue, 10 Jan 2023 01:24:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=G0xm6pZSYV0zy2S2dPvMPd0PXu+EXkyVu00ABlXhNhM=; b=GhFAGk8Qhy6npRJLnhhVVchYynDfMMeynYBikUtnElIrZ7fzo6UmMkEimVxhfaZ4VS PYPbmgmvK7AsKMoGo5a4XQVuiTH76g6pkC0oi2wStHtmSMFojHJDNVPZRS4UAuYZArMl 8p1VOgBMpUptJuc7g7BHwI8EaKt6Nety8rfbVg74gzYqpoNIgNwgABiBgpkllz0ej7/H LrM2naxA7W5AqqrHbO8xBCD30Fy33PXY3NVp3TjVopp5ma8NDWYdpcX9O9py4uKs5Hlq GbFQINXuHXXetZxmhb+DedqAEmGmKxg8+N7LVhJ1TgPHTbCVOoSziQuARaPYkLhQngZ1 57Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G0xm6pZSYV0zy2S2dPvMPd0PXu+EXkyVu00ABlXhNhM=; b=Q72cQK7BWKuARnKNEneWh+fUcij3CSplMMdBTFYpo5utIM9nBADg1Gs35Vzh4DVD8i 0qFXLzGKR7PsgmFVFAdD9yjeP4Kd9MQC40QfW0FiPPcI7GS+0LSaDuvbzTXQT4mir+ow SJOtzj1bs6qU7a7yU2l2oLsH61w1r/O7uKXEMEzr1YH6V26cIRpHld2mr2FXZSn324oT w8ZKgd3a5el7+1CH8h3s8bHHsbY+ntJAh5XzkvNuGXXZhRDsqPyN+tpy7IFFljW6fT/i 1ojYYDREQ26j+D+tybg4NksfZdbyBzhAHeWJNII1O2fOoidGi/VGqvOztqbmbf7/2hIF RRHg== X-Gm-Message-State: AFqh2kruaON1+EbKRntX+jUtpeH7oS2BKsOSddhv+T2A0l82/wk+VgFn RqjTfCN1XoOv/ODny/GtqF9uvw== X-Received: by 2002:a05:600c:4f54:b0:3d9:f04c:f58f with SMTP id m20-20020a05600c4f5400b003d9f04cf58fmr4872024wmq.40.1673342687626; Tue, 10 Jan 2023 01:24:47 -0800 (PST) Received: from dtpc.zanders.be (78-22-137-109.access.telenet.be. [78.22.137.109]) by smtp.gmail.com with ESMTPSA id q22-20020a05600c331600b003d9dd62deedsm13149433wmp.30.2023.01.10.01.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 01:24:47 -0800 (PST) From: Maarten Zanders <maarten.zanders@mind.be> Cc: krzysztof.kozlowski@linaro.org, Maarten Zanders <maarten.zanders@mind.be>, devicetree@vger.kernel.org, Jacek Anaszewski <jacek.anaszewski@gmail.com>, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Pavel Machek <pavel@ucw.cz> Subject: [PATCH v2 0/2] leds: lp55xx: configure internal charge pump Date: Tue, 10 Jan 2023 10:23:38 +0100 Message-Id: <20230110092342.24132-1-maarten.zanders@mind.be> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754627425517734233?= X-GMAIL-MSGID: =?utf-8?q?1754627425517734233?= |
Series |
leds: lp55xx: configure internal charge pump
|
|
Message
Maarten Zanders
Jan. 10, 2023, 9:23 a.m. UTC
A new option in the devicetree "ti,charge-pump-mode" allows the user to configure the charge pump in a certain mode. Previously it was defaulting to automatic mode. v1 of the patch implemented a bool to disable the charge pump and had some issues in the yaml binding. To avoid future modifications, implement all possible configurations of the charge pump. Maarten Zanders (2): dt-bindings: leds-lp55xx: add ti,charge-pump-mode leds: lp55xx: configure internal charge pump .../devicetree/bindings/leds/leds-lp55xx.yaml | 8 +++++++ drivers/leds/leds-lp5521.c | 12 +++++----- drivers/leds/leds-lp5523.c | 18 ++++++++++----- drivers/leds/leds-lp55xx-common.c | 22 +++++++++++++++++++ drivers/leds/leds-lp8501.c | 8 +++++-- include/linux/platform_data/leds-lp55xx.h | 9 ++++++++ 6 files changed, 64 insertions(+), 13 deletions(-)
Comments
On 10/01/2023 10:23, Maarten Zanders wrote: > A new option in the devicetree "ti,charge-pump-mode" allows the user to > configure the charge pump in a certain mode. Previously it was defaulting > to automatic mode. Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. Best regards, Krzysztof