Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1155623iob; Wed, 4 May 2022 16:08:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8onTMYFhU7wth1ALPBAjqaoQG9oGBtB/3lkFuHbkR6vyhvYUxbfYlVFuHv+7X/5TpTCV6 X-Received: by 2002:a17:907:9690:b0:6f3:bf14:4c68 with SMTP id hd16-20020a170907969000b006f3bf144c68mr22396788ejc.584.1651705684574; Wed, 04 May 2022 16:08:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651705684; cv=none; d=google.com; s=arc-20160816; b=bcIoky7VPBpuGL448bKxNst8faphAjXjcELvKJOIQtjQPSe2EDLzcgKlct1nNC17aA caJkybfzWE8FjgtvMLTwDOULfbtvOV+7MpihNdEMbMZ0GwRgYVk6bUpwMtgYwV8YwdjN t1qgaZTVcHrN9nzCz4rqVgXsgm1wLQHH+l+nSr1wVEDyMhkoueKTQS4tU+6zkg7cAATU hBt4kVQWzQyTmK+6fbIrFuo5G/LsBDaJERPRywVTYvWqXa7dHK9F3pT1dHLR4Tz7Qhlt HZmuYhkGp91Z0p7PhOOH0b1K8JxS+7gKiThnBqZrKSY1fx8xbsLsGeQV4veYoAWKXPbN TYuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mUEDan7Dtx1KZpGoKAau2Fv0ZvExfFewSXxbANg6G8k=; b=V601XOeBmtPqt/nXkWr0o+NK7I+rRF09/EOvG+FX77g+68UfwybxzHvef28N+Lk8gt G8o5H52sLaNR0ttSIvHLy+7H3X+KX6WZM+sbkrQSyMTLjjrZ1nDzRbHqccCUTu/RddjY j11ChFEkcb7r+k39UvyaYM2IF7+xAOVQB97mK5kopn5JqCv2cSUm8V6EnA9RWrlbFFdR FqWnuVWaMy+P4876fr/zKxFxgu1fRCeqTFxSMPWTsH6UklQOIzk0uSInA/8o/9ODc9gc s9/oQEtyjHMyIsm7j+KuTEkEHcKcPY+dpxEa+ZGoSQLNtfL0VPROtzyGloTOrn7+PC0c RFSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Rweo0KfA; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2-20020a170906868200b006f3b16423ebsi228889ejx.620.2022.05.04.16.07.41; Wed, 04 May 2022 16:08:04 -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=@gmail.com header.s=20210112 header.b=Rweo0KfA; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352790AbiEDPzU (ORCPT + 99 others); Wed, 4 May 2022 11:55:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232647AbiEDPzS (ORCPT ); Wed, 4 May 2022 11:55:18 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AC2F457BC; Wed, 4 May 2022 08:51:42 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id a21so2203369edb.1; Wed, 04 May 2022 08:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mUEDan7Dtx1KZpGoKAau2Fv0ZvExfFewSXxbANg6G8k=; b=Rweo0KfAB6S4ghWTiJYw6bg0FQGb4rnMWOySQR650Mz9JVBYQLQJoXd9Q8yFxEw0gO vaEhv2Gy5iV+aCOLz97jzQO/A46Ab3uHH3mrB9lLpmWZU/0U1Fk1ChzBbl9LdyV9udpY pdaOyOu9mECd54mSOyEt4X9FjPO8oTNr2Ggh4y5n3+omh99MJg1QcGUxqo6z+Z3zDLSB c4LLB+i5v2fX+Sx1rPYeRRFQe2+Xd8oXkCz4wWKpI9A7WmXgIpBdyvS1H6AeDQln9Pow z+stxHBlA9w3ZTegK8lNt1phZ6cdtA8GNGvku4n+QH98nvWxY8niwx2S+9zcE5vTPxv1 r5AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mUEDan7Dtx1KZpGoKAau2Fv0ZvExfFewSXxbANg6G8k=; b=xynwduqUWOF6h7ETDRoYX0B23LhyIlG1GTmQDQMZPgDNfEbv662mvWeMMn/9iw+WmD HZPrN/dFPrmHdJAqdNRKB1SY0NOqZiGeeK3vvkE72qv6J+fY3dZtblvq2pRdALepdl9a +kwv14z3tj0kEn9Rtw6qApFkGK0STv0MJ8CWmcLFvmqLglelKre1LbdbAORd6NEBQ2eo 3b3myhS08dh0h8pgLF1PlYM+qP5iJ2Ed96+HLVV+JKm1z3XRHMogi/0cAla2064GQE7g yulvMkLrqgjYzSIEm06zINbDve+p1css7z6DI8M1l2UgDQQuSQxYYFvCWmHmyH3ODV8A 544Q== X-Gm-Message-State: AOAM530MAH5WYegs9Gb4LVL0T/rlfmuZIzXQM68QqpNSJ2BGrpt/JcBZ E/CuFw0SmAk/eEzOQZMII1aLRYKPOaFQqt912Ho= X-Received: by 2002:a05:6402:d51:b0:425:d5e1:e9f0 with SMTP id ec17-20020a0564020d5100b00425d5e1e9f0mr23714956edb.125.1651679501072; Wed, 04 May 2022 08:51:41 -0700 (PDT) MIME-Version: 1.0 References: <20220504153814.11108-1-markuss.broks@gmail.com> <20220504153814.11108-3-markuss.broks@gmail.com> In-Reply-To: <20220504153814.11108-3-markuss.broks@gmail.com> From: Andy Shevchenko Date: Wed, 4 May 2022 17:51:05 +0200 Message-ID: Subject: Re: [PATCH RESEND v6 (corrected v2) 2/2] leds: ktd2692: Make aux-gpios optional To: Markuss Broks Cc: Pavel Machek , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Christophe JAILLET , Lad Prabhakar , Linux LED Subsystem , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Wed, May 4, 2022 at 5:38 PM Markuss Broks wrote: > > Make the AUX pin optional, since it isn't a core part of functionality, > and the device is designed to be operational with only one CTRL pin. > > Also pick up maintenance for the LED driver and the yaml bindings. The MAINTAINERS update seems like it deserves a separate patch. But most importantly, you need to add a patch that converts the error reporting to use dev_err_probe(). Currently code has that issue, i.e. it will print the error message as many times as probe was deferred due to unreadiness of GPIO. Something like this > dev_err(dev, "cannot get aux-gpios %d\n", ret); > return ret; ===> return dev_err_probe(dev, ret, "cannot get aux-gpios\n"); with a Fixes tag added. -- With Best Regards, Andy Shevchenko