Message ID | 20230307082936.16631-1-lukas.bulwahn@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2318766wrd; Tue, 7 Mar 2023 00:50:00 -0800 (PST) X-Google-Smtp-Source: AK7set/qR5wNnBJp0r445Gu/+fIAiP7kmNBgY8mMB+TOabrDMOk8xyoVFElSDsT7JWq/6DM/eOd9 X-Received: by 2002:a17:906:a1c5:b0:906:3373:cfe9 with SMTP id bx5-20020a170906a1c500b009063373cfe9mr13137181ejb.10.1678179000128; Tue, 07 Mar 2023 00:50:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678179000; cv=none; d=google.com; s=arc-20160816; b=S48lk1xVB2LDvKmpDZ5ugGOhgVWELkwdDN0WU7hDKp1VwMYuyGrmgoQVTXc0uicTEr AYMvayTH9lGrBgB4KPzE1q+CIooBqtyRbQG1yQqVT30eyOxV91z5LbubdN7onj5EG4Qe ChuGDsC7QWQ05dgqKw0+lNp9dzRSATLe5a82ZivrSKB/oiCliFD/0gl5rnldIodzTi2w bFLU0KCZTUjs6vlSHoDkyctC+DiS+JrKkC2URNMQdqw6L6Qu/m4/+BWMxxDU1lPciKaz LPIzLWCedG8g8qxK7CasMk3DJkUZ2Z5Tyx1I/TfBqD+D7N6ptRw6dwZbONwA7zQq3TCm 7e1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=3AbvUXReTTM4AVHYC5kqdjEokxzgC2ZBAFH06E7ehB4=; b=PEoWluMzQI5crmlbcAFz04nXEUn1diTb/FeYOH2L/J4UMfDz4IFJnnHv8tJ9yZq3/F qdv4YpqCcj+XI/N6RC+rcBcWEM6XRE+K6mlEt+kg8Q5UhDBjW73HhV3ORkA/iI6rvRzv vmDo8W+Z25wdCJSpg+GlgFk6jVbQOqpBi0QKpsYagMKtzBeGxMXnK8oYZK+0mEiLDLV5 Ey7PO9U84WWtgglrZSFe/CIooyQFRccoDcDU9MYM14ZYVHPXLOochHSbcKRWMmd1DhgJ r10hPMJU7Jlt3dBDwUux4AxvRgNWpbgHYe2De6d2LNs+7flGR5oJfz4HbFlEesKSPHY2 X0ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IS6tlqa7; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jz21-20020a170906bb1500b008cb6722b1f2si2209814ejb.991.2023.03.07.00.49.36; Tue, 07 Mar 2023 00:50:00 -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=pass header.i=@gmail.com header.s=20210112 header.b=IS6tlqa7; 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 S229556AbjCGI3p (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 7 Mar 2023 03:29:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbjCGI3m (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Mar 2023 03:29:42 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A90837F3E; Tue, 7 Mar 2023 00:29:41 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id ec29so18263735edb.6; Tue, 07 Mar 2023 00:29:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678177780; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3AbvUXReTTM4AVHYC5kqdjEokxzgC2ZBAFH06E7ehB4=; b=IS6tlqa7BHjdbJXvlwdGYpY0tlL7AnTvkm5MLjGJKBcnWmCztjRzqOW8C0c2dt8CnU TZv/V35oG40BhjADsVoBnbN27t2eCqXNe6NwxGzcBX/fYM1cBlRV6NJfBZUzvvaGMUzs nXRHaGNi6Aq00NszXO8bx7qSChKkSMBtMlQEqnZUzf+Z8qL6w4VE9MRMaQyfIyD6RW8A owFrS4Maej/CDQkDTMorZEHDjx2AwgAvKQUtDvGq2SvhPKAaFuYVGqsQNeWPQVfa+P3q gxYWl3Y2ts1qCaIoASBhKY+DLg3HwP/kASBo0QVkpa6eJAfl4j57I9r+Tkol2JTU4XXI vMwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678177780; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3AbvUXReTTM4AVHYC5kqdjEokxzgC2ZBAFH06E7ehB4=; b=BJl/bc5RAa+tnOMhdUAqXbCgi908N/DCTWtuZG89Q1M8cMdiH5VkDbVYokvPdYNq7z lRftbqzqCAM8uQZDmLA2vU/a0zoO2EBFIOtUebDdnImFKGuhwYCXG47WVT0Vynxyj5p2 xKFvI3JsIJEk3g8eQCeV02paemLsqR+bFAYA9nuZ4VbA94ZPko4dGdl7w7s6thXeJhf/ pGVdwcgForOS4IzFjKTMAeugSfbKiEzSMxWYSqyd6usa4BUqT4vAXJqkuyT8lTVjVU16 ykT32LNOX2YV64viuicm8f+JmLiBl1FtQ4jvoV4iMx2BQRN87x3xJ6T6zGRfHsrP+w44 cqOQ== X-Gm-Message-State: AO0yUKV5EmLOSZZOJuIfKyiGas35ZyoOd338uTB4MN6pX/EBm4iypT+O VvWKRPhWc/csIp1WQPG7alTw7jbW49AJ0A== X-Received: by 2002:a17:907:8b16:b0:8b1:2e7c:df49 with SMTP id sz22-20020a1709078b1600b008b12e7cdf49mr15440608ejc.7.1678177779745; Tue, 07 Mar 2023 00:29:39 -0800 (PST) Received: from felia.fritz.box ([2a02:810d:2a40:1104:a517:a52e:cdbc:e30d]) by smtp.gmail.com with ESMTPSA id f27-20020a50a6db000000b004acc61206cfsm6304353edc.33.2023.03.07.00.29.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 00:29:39 -0800 (PST) From: Lukas Bulwahn <lukas.bulwahn@gmail.com> To: Pavel Machek <pavel@ucw.cz>, Florian Fainelli <f.fainelli@gmail.com>, linux-leds@vger.kernel.org Cc: William Zhang <william.zhang@broadcom.com>, =?utf-8?b?UmFmYcWCIE1pxYJl?= =?utf-8?b?Y2tp?= <rafal@milecki.pl>, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn <lukas.bulwahn@gmail.com> Subject: [PATCH] leds: bcm63138: refer to ARCH_BCMBCA instead of ARCH_BCM4908 Date: Tue, 7 Mar 2023 09:29:36 +0100 Message-Id: <20230307082936.16631-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759698223362517332?= X-GMAIL-MSGID: =?utf-8?q?1759698223362517332?= |
Series |
leds: bcm63138: refer to ARCH_BCMBCA instead of ARCH_BCM4908
|
|
Commit Message
Lukas Bulwahn
March 7, 2023, 8:29 a.m. UTC
Commit dd5c672d7ca9 ("arm64: bcmbca: Merge ARCH_BCM4908 to ARCH_BCMBCA")
removes config ARCH_BCM4908 as config ARCH_BCMBCA has the same intent.
Probably due to concurrent development, commit a0ba692072d8 ("leds:
bcm63138: add support for BCM63138 controller") introduces 'LED Support
for Broadcom BCM63138 SoC' that depends on ARCH_BCM4908, but this use was
not visible during the config refactoring from the commit above. Hence,
these two changes create a reference to a non-existing config symbol.
Adjust the LEDS_BCM63138 definition to refer to ARCH_BCMBCA instead of
ARCH_BCM4908 to remove the reference to the non-existing config symbol
ARCH_BCM4908.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
drivers/leds/blink/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 2023-03-07 09:29, Lukas Bulwahn wrote: > diff --git a/drivers/leds/blink/Kconfig b/drivers/leds/blink/Kconfig > index 945c84286a4e..bdcb7377cd4e 100644 > --- a/drivers/leds/blink/Kconfig > +++ b/drivers/leds/blink/Kconfig > @@ -1,10 +1,10 @@ > config LEDS_BCM63138 > tristate "LED Support for Broadcom BCM63138 SoC" > depends on LEDS_CLASS > - depends on ARCH_BCM4908 || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST > + depends on ARCH_BCMBCA || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST > depends on HAS_IOMEM > depends on OF > - default ARCH_BCM4908 > + default ARCH_BCMBCA > help > This option enables support for LED controller that is part of > BCM63138 SoC. The same hardware block is known to be also used William: do we want LEDS_BCM63138 default on all BCMBCA devices?
Hi Rafal, On 03/07/2023 01:41 AM, Rafał Miłecki wrote: > On 2023-03-07 09:29, Lukas Bulwahn wrote: >> diff --git a/drivers/leds/blink/Kconfig b/drivers/leds/blink/Kconfig >> index 945c84286a4e..bdcb7377cd4e 100644 >> --- a/drivers/leds/blink/Kconfig >> +++ b/drivers/leds/blink/Kconfig >> @@ -1,10 +1,10 @@ >> config LEDS_BCM63138 >> tristate "LED Support for Broadcom BCM63138 SoC" >> depends on LEDS_CLASS >> - depends on ARCH_BCM4908 || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST >> + depends on ARCH_BCMBCA || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST >> depends on HAS_IOMEM >> depends on OF >> - default ARCH_BCM4908 >> + default ARCH_BCMBCA >> help >> This option enables support for LED controller that is part of >> BCM63138 SoC. The same hardware block is known to be also used > > William: do we want LEDS_BCM63138 default on all BCMBCA devices? Yes that is fine. We can always build this driver for BCMBCA but it will be only probed and running if dts enable such device.
On 03/07/2023 12:29 AM, Lukas Bulwahn wrote: > Commit dd5c672d7ca9 ("arm64: bcmbca: Merge ARCH_BCM4908 to ARCH_BCMBCA") > removes config ARCH_BCM4908 as config ARCH_BCMBCA has the same intent. > > Probably due to concurrent development, commit a0ba692072d8 ("leds: > bcm63138: add support for BCM63138 controller") introduces 'LED Support > for Broadcom BCM63138 SoC' that depends on ARCH_BCM4908, but this use was > not visible during the config refactoring from the commit above. Hence, > these two changes create a reference to a non-existing config symbol. > > Adjust the LEDS_BCM63138 definition to refer to ARCH_BCMBCA instead of > ARCH_BCM4908 to remove the reference to the non-existing config symbol > ARCH_BCM4908. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> > --- > drivers/leds/blink/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/leds/blink/Kconfig b/drivers/leds/blink/Kconfig > index 945c84286a4e..bdcb7377cd4e 100644 > --- a/drivers/leds/blink/Kconfig > +++ b/drivers/leds/blink/Kconfig > @@ -1,10 +1,10 @@ > config LEDS_BCM63138 > tristate "LED Support for Broadcom BCM63138 SoC" > depends on LEDS_CLASS > - depends on ARCH_BCM4908 || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST > + depends on ARCH_BCMBCA || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST > depends on HAS_IOMEM > depends on OF > - default ARCH_BCM4908 > + default ARCH_BCMBCA > help > This option enables support for LED controller that is part of > BCM63138 SoC. The same hardware block is known to be also used > Acked-by: William Zhang <william.zhang@broadcom.com>
On 2023-03-07 09:29, Lukas Bulwahn wrote: > Commit dd5c672d7ca9 ("arm64: bcmbca: Merge ARCH_BCM4908 to > ARCH_BCMBCA") > removes config ARCH_BCM4908 as config ARCH_BCMBCA has the same intent. > > Probably due to concurrent development, commit a0ba692072d8 ("leds: > bcm63138: add support for BCM63138 controller") introduces 'LED Support > for Broadcom BCM63138 SoC' that depends on ARCH_BCM4908, but this use > was > not visible during the config refactoring from the commit above. Hence, > these two changes create a reference to a non-existing config symbol. > > Adjust the LEDS_BCM63138 definition to refer to ARCH_BCMBCA instead of > ARCH_BCM4908 to remove the reference to the non-existing config symbol > ARCH_BCM4908. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Acked-by: Rafał Miłecki <rafal@milecki.pl>
On Tue 2023-03-07 09:29:36, Lukas Bulwahn wrote: > Commit dd5c672d7ca9 ("arm64: bcmbca: Merge ARCH_BCM4908 to ARCH_BCMBCA") > removes config ARCH_BCM4908 as config ARCH_BCMBCA has the same intent. > > Probably due to concurrent development, commit a0ba692072d8 ("leds: > bcm63138: add support for BCM63138 controller") introduces 'LED Support > for Broadcom BCM63138 SoC' that depends on ARCH_BCM4908, but this use was > not visible during the config refactoring from the commit above. Hence, > these two changes create a reference to a non-existing config symbol. > > Adjust the LEDS_BCM63138 definition to refer to ARCH_BCMBCA instead of > ARCH_BCM4908 to remove the reference to the non-existing config symbol > ARCH_BCM4908. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Do we really want this "default Y" on those architectures? I'd understand it for something critical but LED is not, and if it is not even present on all such machines... BR, Pavel
On 3/7/2023 12:29 AM, Lukas Bulwahn wrote: > Commit dd5c672d7ca9 ("arm64: bcmbca: Merge ARCH_BCM4908 to ARCH_BCMBCA") > removes config ARCH_BCM4908 as config ARCH_BCMBCA has the same intent. > > Probably due to concurrent development, commit a0ba692072d8 ("leds: > bcm63138: add support for BCM63138 controller") introduces 'LED Support > for Broadcom BCM63138 SoC' that depends on ARCH_BCM4908, but this use was > not visible during the config refactoring from the commit above. Hence, > these two changes create a reference to a non-existing config symbol. > > Adjust the LEDS_BCM63138 definition to refer to ARCH_BCMBCA instead of > ARCH_BCM4908 to remove the reference to the non-existing config symbol > ARCH_BCM4908. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com>
diff --git a/drivers/leds/blink/Kconfig b/drivers/leds/blink/Kconfig index 945c84286a4e..bdcb7377cd4e 100644 --- a/drivers/leds/blink/Kconfig +++ b/drivers/leds/blink/Kconfig @@ -1,10 +1,10 @@ config LEDS_BCM63138 tristate "LED Support for Broadcom BCM63138 SoC" depends on LEDS_CLASS - depends on ARCH_BCM4908 || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST + depends on ARCH_BCMBCA || ARCH_BCM_5301X || BCM63XX || COMPILE_TEST depends on HAS_IOMEM depends on OF - default ARCH_BCM4908 + default ARCH_BCMBCA help This option enables support for LED controller that is part of BCM63138 SoC. The same hardware block is known to be also used