Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7533161rwl; Tue, 10 Jan 2023 01:58:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXuzaBZ0a20fRCIPtDjpjr3Qazs6zXSXWR9rYijbq3YX7TlWvEzp/EOubFfleIk6pR+xHka8 X-Received: by 2002:a17:90a:4086:b0:226:27c2:829e with SMTP id l6-20020a17090a408600b0022627c2829emr44765475pjg.32.1673344707821; Tue, 10 Jan 2023 01:58:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673344707; cv=none; d=google.com; s=arc-20160816; b=LEgd68NI6OTaORWnVM9cSNN2qMcPq2oFJGBsqS8ptfgiDhEH6sQe5mvpFgDWJsm8ZS LDAapgyUKH8LclnL6uYBvDVQ/2pQODtYEONDXyaVOVuFbJyYDJ2Z+cm2zndSEmYVePHK SwZKcZSnILqSL40ueKvdq4Dcp7ATS2t/7vuymws806lYGYMOWTp5zCxbjCVnpDOrQAZI 73uM2RzoUjictgwkmHYYcSnV8KaMb6FpixGm+1+WRM+gIRcglOZk6XDFmDqWh8TR+8YD zTZo7NnxkY8ySOj2OqR0In2lMVlvLfc09eFium/0SN2DQEA4qif3bzWUbmxSX/y+J2Xl vvRw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a65-20020a639044000000b004b64146f242si216150pge.430.2023.01.10.01.58.21; Tue, 10 Jan 2023 01:58:27 -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 + 53 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 ); 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 ; Tue, 10 Jan 2023 01:24:49 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id ay40so8295355wmb.2 for ; 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 Cc: krzysztof.kozlowski@linaro.org, Maarten Zanders , devicetree@vger.kernel.org, Jacek Anaszewski , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Pavel Machek 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: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.37.3