Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1140522rwl; Fri, 24 Mar 2023 06:52:35 -0700 (PDT) X-Google-Smtp-Source: AKy350ZiRVHOisnLfLJ5cXQkWq/V1idPOSVgnMXCkwysJd5qTO/uLpqGsMHe8A5QjYlimtuUq9Sb X-Received: by 2002:a17:906:17ca:b0:930:963b:63a6 with SMTP id u10-20020a17090617ca00b00930963b63a6mr3097850eje.66.1679665955588; Fri, 24 Mar 2023 06:52:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679665955; cv=none; d=google.com; s=arc-20160816; b=iabqpSyTDNnwlxI3MUXPtGMNpOozGob2y3txPBawZ9wCw330BVq/L59Pn5gPMV2WfC ONDCFG44fLK0mCrJzIeAJhDFZzd8axVwGDMqOt2PO6ij5COGKwXDzaX+VD9BNPc5ckn5 GUgLH9+5MzYohNaA80MJdOAcf6iMfX9EcvvET8cG7uEz17nOTBXwClZgQygzXJLREIoX Ss9jnHvQkwLZTk9U8y1ejGcqJhJ4dEUvn6IghCWVkgJpciWDBeeI8DAnbsCm28BMqt7y kK31vIX2X0/umSri4v/oJAquSq0jpSheo3YOh7TIvavkLoPoB/s0Taw6ADf8jTFpl23j xbTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=q6TXbrcgFASi0eagDLg5BODte0HiiblG64yHgWKrR0g=; b=UvbN67zHVG/EuatSsjROqlgtXPBd0KF4qEptn7ZBmfsCtoD9wejqol+dyeOqbct7vO TmUBdl3ytaT0ZHvTmfiFk0jVbyBWBH2wnbJ12G3kijXXt+Z8wQXCEuooS183CQdmWXNm yP/hRvSqkU+5cgVJvnLIapWtb6lWq9GqetyB3kYninyZ04SiSsRas4ZuEsoRWw9COoah WUyIIbUlhHFAbkcaCgziQE1oBnKSYw2+BBzM4DR9G8La+b57Gmn5zmfP3oqEebixmqvZ Q3pDNChJohC7Y9Ls8cm2+g4YJe5Wijsz8PBGCxbQ8HsV7u7fysyQ/rWRs0EFeI36kzGu ap8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=d3ifWX00; 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=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ld7-20020a1709079c0700b00933407f013esi10072381ejc.147.2023.03.24.06.52.08; Fri, 24 Mar 2023 06:52:35 -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=@9elements.com header.s=google header.b=d3ifWX00; 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=NONE dis=NONE) header.from=9elements.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231678AbjCXNuk (ORCPT + 99 others); Fri, 24 Mar 2023 09:50:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231215AbjCXNuj (ORCPT ); Fri, 24 Mar 2023 09:50:39 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D9991B2C0 for ; Fri, 24 Mar 2023 06:50:33 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id ja10so1864405plb.5 for ; Fri, 24 Mar 2023 06:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1679665833; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=q6TXbrcgFASi0eagDLg5BODte0HiiblG64yHgWKrR0g=; b=d3ifWX00W+AV/5ho1Vz/g0q33OWCa3ACzBK2Rvdsex+EQll6WbEOqfWbpfDxavh4Z5 G/Q7XthcHtrbumuMhwTMa06aolyh5OKbS+lRefBMfMb5WLGRCVdKXk2xziY/jvRSi7c+ yUMucR2NL9Tc3eOprCefpsiGnootjL9EJVpHdRqu/Gz93tTFbMaJpjSgGAgmGK4oINEO +7NC2/cc5zNAX+L1ciYvj2nEm7xbEbEPSyTyMv6JXUCw4OI6sNXJHdUFMHFEoeIMjRWJ +6fithdDgrM86knKgsfZFlS/mEd5l8P2mnXuR+Dtbs6tnbIxX9WRc082j+DtcJ9CgkX0 tIbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679665833; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=q6TXbrcgFASi0eagDLg5BODte0HiiblG64yHgWKrR0g=; b=dFOdbVxe3GgbUvLkZ0yNGoLm3NoIjUvugjF4mALbQ234QK9z6IJ34CgZkHnYRHarEK 37lc3EOk2r4l3iQuOWqwE7z68jewWXhs7H7yg+zNvi7tZFntDDM5ikt5nPJoyHyXgifd gsx/O6ClEv5u3ZXDdGXzLeYcf/lTENjICxp8P1EXA4VQ4MxxeYZwoMLEGJPZIK13sKA1 +AP0e4m1URqKREgQHhxUg/G2sEZ1k8XN37+m/1RCALbLGPTq8T/UPo1QKOQ/HTuFveTz c4StncZzQeBwgqCNP0bX8KDFUoekeM09ptsBqO1JHgpQeivICAO1joIcmC/iNvDlJ0tU AW+g== X-Gm-Message-State: AAQBX9dic8EVg4THGW03Tjyj+b92EjnNnVJtAdtaBkiN6Z6gw4JjOYu8 oXL1xQHSYkdkDi/UM5Od1s8kVg== X-Received: by 2002:a17:90b:4c4a:b0:23b:bf03:397e with SMTP id np10-20020a17090b4c4a00b0023bbf03397emr3301739pjb.24.1679665832975; Fri, 24 Mar 2023 06:50:32 -0700 (PDT) Received: from ?IPV6:2405:201:d02f:d899:2028:7962:400:43b6? ([2405:201:d02f:d899:2028:7962:400:43b6]) by smtp.gmail.com with ESMTPSA id d1-20020a656201000000b00512fbdd8c47sm4373240pgv.45.2023.03.24.06.50.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Mar 2023 06:50:32 -0700 (PDT) Message-ID: <8b3cb61c-8824-e358-a039-012471d679f2@9elements.com> Date: Fri, 24 Mar 2023 19:20:31 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 2/2] leds: max597x: Add support for max597x Content-Language: en-US To: Pavel Machek Cc: Christophe JAILLET , Lee Jones , Patrick Rudolph , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org References: <20230323194550.1914725-1-Naresh.Solanki@9elements.com> <20230323194550.1914725-2-Naresh.Solanki@9elements.com> <688423c6-ba98-002c-efe5-7b0997d6af73@9elements.com> From: Naresh Solanki In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 Hi Christophe, Pavel, On 24-03-2023 06:37 pm, Pavel Machek wrote: > Hi! > >>>> +++ b/drivers/leds/Kconfig >>>> @@ -590,6 +590,17 @@ config LEDS_ADP5520 >>>>         To compile this driver as a module, choose M here: the >>>> module will >>>>         be called leds-adp5520. >>>> +config LEDS_MAX597X >>>> +    tristate "LED Support for Maxim 597x" >>>> +    depends on LEDS_CLASS >>>> +    depends on MFD_MAX597X >>>> +    help >>>> +      This option enables support for the Maxim 597x smart switch >>>> indication LEDs >>>> +      via the I2C bus. >>>> + >>>> +      To compile this driver as a module, choose M here: the module will >>>> +      be called max597x-led. >>> >>> leds-max597x? >> As per struct max597x_led_driver, driver name is max597x-led > > Please test the modular build and double check the module name. Thank you for your suggestion, it turns out that you were right. The correct module name is leds-max597x(./drivers/leds/leds-max597x.ko). Will update Kconfig message accordingly. Thanks! > > BR, > Pavel > Regards, Naresh