Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp401738rwl; Thu, 6 Apr 2023 22:10:37 -0700 (PDT) X-Google-Smtp-Source: AKy350Y/pifLDaFxrQ1Y7ufTtH74PHumX/CpWOE1Xa/KZWEv2mA+yy/gmgiEaSIVLFnr5fJoKFuR X-Received: by 2002:a17:902:e886:b0:1a1:c945:4b23 with SMTP id w6-20020a170902e88600b001a1c9454b23mr1846869plg.65.1680844237069; Thu, 06 Apr 2023 22:10:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680844237; cv=none; d=google.com; s=arc-20160816; b=pZ+cUWpoqnI8CNl+c8F3q33LgCTVyVgOCVp+p/aJyhcYuPaoi17vbW330Z2/muBI5Y EhB5M/Vx8Ubqav4eWJ/nUVE8OzHJQsL6QEMG23tuYCwGJBmFlOEpaIK2QBTlrApbSjW2 2yJArlFP2GNzuHsgyfVf3Wm00pWfPGPOThSA11ISi3P7/3IaGd2sx9UoGkYtKoIHtn0M aOjq3LPEtRFWRCks6xwkhOr93Z/nzvZfK6P9GlAXorl27ssvlLWW10DFCGYCe9Rxdt35 cuvltznk+jqzNTtJ18tDGS+f1H/z3CLkVlJ597Cr77mHmwG5PD1PWSjlE/KDlRI0kAaT JfVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=/8ob2zKXGw6AFOuUFfRUi8yj3VGYr+2YVTkTpSoB8Pw=; b=UCCFT9AyFGNDyyOpxwWxNF3IEc9AMoDQ7dk5klaynAWtIiyz8Nz1ObsWPT0yE5R3St BSYZdE6V0rR20wQz6h3EJUJn7Uh6tukmy1Xiuv9PbxIXgq6KpxIkTvUHMjp4kRmmatnX L5xUFAxlEHaXl2/osK93bw9Z1Wu9xKz9KwdmseYBIRV1b5N6DAqWAeQZ590v550rgw6K umIaDIsUxmYVq029qSstZMf1Jif00OEbJVmCQq5PGlSSv/zM0ymLElT4xydGS69OxW3B YwUL/6sdc6IphV3R0foRSOt/pnzl/67N21JfcIr2Qif5hZUsU2QQ+N6OSRcEgM8ANAcw lMdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=HBfCzdSG; 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 b18-20020a170903229200b001a198a4871fsi3364539plh.577.2023.04.06.22.10.25; Thu, 06 Apr 2023 22:10:37 -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=fail header.i=@kemnade.info header.s=20220719 header.b=HBfCzdSG; 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 S231524AbjDGFI7 (ORCPT + 99 others); Fri, 7 Apr 2023 01:08:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbjDGFI5 (ORCPT ); Fri, 7 Apr 2023 01:08:57 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B2324C20; Thu, 6 Apr 2023 22:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/8ob2zKXGw6AFOuUFfRUi8yj3VGYr+2YVTkTpSoB8Pw=; b=HBfCzdSGMwdcXZuWaguxAzKqDZ faVN0pRzoOBhE3X5XnAw3y2tP4kvGD88TtdjZgk1wD1natpLVMFsCRPYp4WN8NdK0ZtUvp28zaT3/ ehLH8EwnINCrqZ6SpF2+WN+l16uLm/AHHjlP/i1Zg1UGHPzaQgdIsLiQ3BLFMOQ6FrajdrvT3E53J 1S04K7Of/h0Tm7JgYBfz/rOvyoL1VW4U/sC6x3qIcDwFxpPVUWuJ9ErwfDdqC7zfNAQbxufCbLmyX TMhFBfw8GWAskSaUWkmwt2MzTepnYF5H0rc0KOLj/JfidOmU15YK7W2RZxn5hs7T6cQgrmDGL+P5W 6mV4dBgQ==; Received: from p200300ccff0cf1001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0c:f100:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1pkeKT-0003rz-O6; Fri, 07 Apr 2023 07:08:45 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1pkeKT-000iQg-15; Fri, 07 Apr 2023 07:08:05 +0200 From: Andreas Kemnade To: pavel@ucw.cz, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andreas@kemnade.info, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matti Vaittinen Subject: [PATCH v2 0/2] leds: Add a driver for the BD2606MVV Date: Fri, 7 Apr 2023 07:08:01 +0200 Message-Id: <20230407050803.170773-1-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Add the binding description and the corresponding driver for the BD2606. Changes in V2: - Add Datasheet link - use fwnode api - remove childnode count check, that will bail out anyways later. - add enable-gpios to binding but not to driver due to lack of testing ability Andreas Kemnade (2): dt-bindings: leds: ROHM BD2606MVV LED driver leds: bd2606mvv: Driver for the Rohm 6 Channel i2c LED driver .../bindings/leds/rohm,bd2606mvv.yaml | 83 ++++++++++ drivers/leds/Kconfig | 11 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-bd2606mvv.c | 143 ++++++++++++++++++ 4 files changed, 238 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml create mode 100644 drivers/leds/leds-bd2606mvv.c -- 2.39.2