Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp91317rwe; Thu, 13 Apr 2023 22:55:38 -0700 (PDT) X-Google-Smtp-Source: AKy350ZX96jxv0gV9HevcGZc4hHQ8Sq+zNGibyxYVelSnuBWH/Y2fyPqvkZbQq9kTKgnCWbjFobn X-Received: by 2002:a05:6a00:2d1e:b0:63b:57c3:dfc5 with SMTP id fa30-20020a056a002d1e00b0063b57c3dfc5mr5600005pfb.14.1681451737955; Thu, 13 Apr 2023 22:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681451737; cv=none; d=google.com; s=arc-20160816; b=vH8WAPsVp8R3lnNZ/H+qZGJSxhRnJbi175OOPaLtuBbP8NKGQ5W5/dfYERox2ngKX8 k684DtNcsYCmbrK0dIqnilB+i+eYi2u9dRdg4HmUud/QlNWT/5YZogNiNVdYLLuQyaW4 JEF49lqAj895Ga4qS/FEg0AB5pZ2tkAmfhmuLX9Iq9G2XS2HCB5FJCr6jhkeEoTIx/m2 1mE6dyiDU1gpnyHGYyLWOs2cAc1orOvxbK2jISFQGNfsLF9J15HHuDnhI993mK+/eDgO 20w1o8wwrHGP/x+0642SjEJxT1q7GzXwi/E/K56DwptNttz7cp6+qq4QySsiuXlGHh0t BALg== 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=QtfyVYYjax5xM4kYhUQxS8FTdCBduseuTRb90/0OO/0=; b=ZIp7qK9tWCx2ca055Js0wDgojhHOsyaKEMkfbTqSpkyvD0ATdiqGCXKgL4RxY0dFGS dcHEvETm9UqwWcGUvPTm5KOIaBdipefqaJMjqB7bEmyBIspZlHj5SWWBOQOQ4F+RpBLn t3pmMWGGe+MraUNQ6WG44RhnP+ZNIPnKfIW6gkk9c0z/fRrXRtrn9ol86Dzmg3ernkMj VB0ZHTjpWIZBWDjRp7CSHBxV4E8HkmY3xifTrktTQntI32GztdoeAZq45DxFFXzrhbi4 I0uJWO1NC6yX3pnkpToBLoCv1lEuq9yJrxy2QzkaQYW/65mHCAvDBUFm4xLDnWVWyYRl /NbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=KHrc87H9; 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 z11-20020aa7990b000000b0063b648880adsi1174398pff.239.2023.04.13.22.55.24; Thu, 13 Apr 2023 22:55: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=KHrc87H9; 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 S229659AbjDNFxz (ORCPT + 99 others); Fri, 14 Apr 2023 01:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjDNFxx (ORCPT ); Fri, 14 Apr 2023 01:53:53 -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 DFC3A2729; Thu, 13 Apr 2023 22:53:51 -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=QtfyVYYjax5xM4kYhUQxS8FTdCBduseuTRb90/0OO/0=; b=KHrc87H9g++u0Wwwa+3LEGROQW dS9fJCMG3eGJCXJtGlOLdcnIVQeLX3hv/VGkFwNaYkWb5gsdU0eTf2AwuxWetf7bbbxlkvQiJsrFO ZYz6VRWOh0Hhati3mDqJlbzK56YNn2dbF0SXPuKNW+MAQHEWr/L07wP2CB6PwOOucWEJdpXSC215v XLgnB/Pymv2LHqXztgIppeCX6LHv0TwrIf6Ncmus84DgeZDc0yfoXja1IPc9C4S9Ftw1whd20UnRw 2VR+am/OjQDbXe3jASEovD1o77Va0V3uIkUJkdgJSbQWUgX9y0vLrGOZs3TCOo41LbehNpEO19b9u ztLEiTEQ==; Received: from p200300ccff0c0d001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0c:d00: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 1pnCNV-0005Md-AT; Fri, 14 Apr 2023 07:53:45 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1pnCNU-001PGv-2X; Fri, 14 Apr 2023 07:53:44 +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 v4 0/2] leds: Add a driver for the BD2606MVV Date: Fri, 14 Apr 2023 07:53:39 +0200 Message-Id: <20230414055341.335456-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Add the binding description and the corresponding driver for the BD2606. Changes in V4: - minor tuning of description in bindings Changes in V3: - binding cleanup - move active variable from long-living struct onto stack 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: Add ROHM BD2606MVV LED driver leds: bd2606mvv: Driver for the Rohm 6 Channel i2c LED driver .../bindings/leds/rohm,bd2606mvv.yaml | 81 ++++++++++ drivers/leds/Kconfig | 11 ++ drivers/leds/Makefile | 1 + drivers/leds/leds-bd2606mvv.c | 143 ++++++++++++++++++ 4 files changed, 236 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/rohm,bd2606mvv.yaml create mode 100644 drivers/leds/leds-bd2606mvv.c -- 2.39.2