* [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM [not found] <80e17dffa8f4c1d3fdedd4d82df3a722aa4044ff.1720707932.git.geert+renesas@glider.be> @ 2024-07-11 14:30 ` Geert Uytterhoeven 2024-07-11 15:06 ` Hans de Goede ` (2 more replies) 2024-07-11 14:32 ` [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 " Geert Uytterhoeven 1 sibling, 3 replies; 10+ messages in thread From: Geert Uytterhoeven @ 2024-07-11 14:30 UTC (permalink / raw) To: Hans de Goede, Ilpo Järvinen, Bryan O'Donoghue, Nikita Travkin Cc: platform-driver-x86, linux-kernel, Geert Uytterhoeven The Acer Aspire 1 Embedded Controller is only present on the Qualcomm Snapdragon-based Acer Aspire 1 laptop. Hence add a dependency on ARCH_QCOM, to prevent asking the user about this driver when configuring a kernel without Qualcomm SoC support. Fixes: 2b3efb7c515111ea ("platform: arm64: Add Acer Aspire 1 embedded controller driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/platform/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig index 8c103b3150d1d0a6..058a4baa216a83b8 100644 --- a/drivers/platform/arm64/Kconfig +++ b/drivers/platform/arm64/Kconfig @@ -18,6 +18,7 @@ if ARM64_PLATFORM_DEVICES config EC_ACER_ASPIRE1 tristate "Acer Aspire 1 Embedded Controller driver" + depends on ARCH_QCOM || COMPILE_TEST depends on I2C depends on DRM depends on POWER_SUPPLY -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM 2024-07-11 14:30 ` [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM Geert Uytterhoeven @ 2024-07-11 15:06 ` Hans de Goede 2024-07-11 15:30 ` Nikita Travkin 2024-07-12 9:03 ` Ilpo Järvinen 2 siblings, 0 replies; 10+ messages in thread From: Hans de Goede @ 2024-07-11 15:06 UTC (permalink / raw) To: Geert Uytterhoeven, Ilpo Järvinen, Bryan O'Donoghue, Nikita Travkin Cc: platform-driver-x86, linux-kernel Hi Geert, On 7/11/24 4:30 PM, Geert Uytterhoeven wrote: > The Acer Aspire 1 Embedded Controller is only present on the Qualcomm > Snapdragon-based Acer Aspire 1 laptop. Hence add a dependency on > ARCH_QCOM, to prevent asking the user about this driver when configuring > a kernel without Qualcomm SoC support. > > Fixes: 2b3efb7c515111ea ("platform: arm64: Add Acer Aspire 1 embedded controller driver") Thanks, patch looks good to me: Reviewed-by: Hans de Goede <hdegoede@redhat.com> Not sure if this warrants a fixes tag though, anyways I'll leave that up to Ilpo when he applies this. Regards, Hans > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > drivers/platform/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig > index 8c103b3150d1d0a6..058a4baa216a83b8 100644 > --- a/drivers/platform/arm64/Kconfig > +++ b/drivers/platform/arm64/Kconfig > @@ -18,6 +18,7 @@ if ARM64_PLATFORM_DEVICES > > config EC_ACER_ASPIRE1 > tristate "Acer Aspire 1 Embedded Controller driver" > + depends on ARCH_QCOM || COMPILE_TEST > depends on I2C > depends on DRM > depends on POWER_SUPPLY ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM 2024-07-11 14:30 ` [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM Geert Uytterhoeven 2024-07-11 15:06 ` Hans de Goede @ 2024-07-11 15:30 ` Nikita Travkin 2024-07-11 15:39 ` Ilpo Järvinen 2024-07-12 9:03 ` Ilpo Järvinen 2 siblings, 1 reply; 10+ messages in thread From: Nikita Travkin @ 2024-07-11 15:30 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Hans de Goede, Ilpo Järvinen, Bryan O'Donoghue, platform-driver-x86, linux-kernel Geert Uytterhoeven писал(а) 11.07.2024 19:30: > The Acer Aspire 1 Embedded Controller is only present on the Qualcomm > Snapdragon-based Acer Aspire 1 laptop. Hence add a dependency on > ARCH_QCOM, to prevent asking the user about this driver when configuring > a kernel without Qualcomm SoC support. > Oh yeah, you're right. Thanks for fixing this! Acked-by: Nikita Travkin <nikita@trvn.ru> We should probably do the same for the C630 driver as well... > Fixes: 2b3efb7c515111ea ("platform: arm64: Add Acer Aspire 1 embedded controller driver") > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > drivers/platform/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig > index 8c103b3150d1d0a6..058a4baa216a83b8 100644 > --- a/drivers/platform/arm64/Kconfig > +++ b/drivers/platform/arm64/Kconfig > @@ -18,6 +18,7 @@ if ARM64_PLATFORM_DEVICES > > config EC_ACER_ASPIRE1 > tristate "Acer Aspire 1 Embedded Controller driver" > + depends on ARCH_QCOM || COMPILE_TEST > depends on I2C > depends on DRM > depends on POWER_SUPPLY ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM 2024-07-11 15:30 ` Nikita Travkin @ 2024-07-11 15:39 ` Ilpo Järvinen 0 siblings, 0 replies; 10+ messages in thread From: Ilpo Järvinen @ 2024-07-11 15:39 UTC (permalink / raw) To: Nikita Travkin Cc: Geert Uytterhoeven, Hans de Goede, Bryan O'Donoghue, platform-driver-x86, LKML [-- Attachment #1: Type: text/plain, Size: 1345 bytes --] On Thu, 11 Jul 2024, Nikita Travkin wrote: > Geert Uytterhoeven писал(а) 11.07.2024 19:30: > > The Acer Aspire 1 Embedded Controller is only present on the Qualcomm > > Snapdragon-based Acer Aspire 1 laptop. Hence add a dependency on > > ARCH_QCOM, to prevent asking the user about this driver when configuring > > a kernel without Qualcomm SoC support. > > > > Oh yeah, you're right. Thanks for fixing this! > > Acked-by: Nikita Travkin <nikita@trvn.ru> > > We should probably do the same for the C630 driver as well... Yes, Geert sent another patch for that already. -- i. > > Fixes: 2b3efb7c515111ea ("platform: arm64: Add Acer Aspire 1 embedded controller driver") > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > > --- > > drivers/platform/arm64/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig > > index 8c103b3150d1d0a6..058a4baa216a83b8 100644 > > --- a/drivers/platform/arm64/Kconfig > > +++ b/drivers/platform/arm64/Kconfig > > @@ -18,6 +18,7 @@ if ARM64_PLATFORM_DEVICES > > > > config EC_ACER_ASPIRE1 > > tristate "Acer Aspire 1 Embedded Controller driver" > > + depends on ARCH_QCOM || COMPILE_TEST > > depends on I2C > > depends on DRM > > depends on POWER_SUPPLY > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM 2024-07-11 14:30 ` [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM Geert Uytterhoeven 2024-07-11 15:06 ` Hans de Goede 2024-07-11 15:30 ` Nikita Travkin @ 2024-07-12 9:03 ` Ilpo Järvinen 2 siblings, 0 replies; 10+ messages in thread From: Ilpo Järvinen @ 2024-07-12 9:03 UTC (permalink / raw) To: Hans de Goede, Bryan O'Donoghue, Nikita Travkin, Geert Uytterhoeven Cc: platform-driver-x86, linux-kernel On Thu, 11 Jul 2024 16:30:36 +0200, Geert Uytterhoeven wrote: > The Acer Aspire 1 Embedded Controller is only present on the Qualcomm > Snapdragon-based Acer Aspire 1 laptop. Hence add a dependency on > ARCH_QCOM, to prevent asking the user about this driver when configuring > a kernel without Qualcomm SoC support. > > Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo branch only once I've pushed my local branch there, which might take a while. The list of commits applied: [1/1] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM commit: 03b927565057dae39da3e4b46e5ab65274b5dcdc -- i. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM [not found] <80e17dffa8f4c1d3fdedd4d82df3a722aa4044ff.1720707932.git.geert+renesas@glider.be> 2024-07-11 14:30 ` [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM Geert Uytterhoeven @ 2024-07-11 14:32 ` Geert Uytterhoeven 2024-07-11 15:06 ` Hans de Goede ` (2 more replies) 1 sibling, 3 replies; 10+ messages in thread From: Geert Uytterhoeven @ 2024-07-11 14:32 UTC (permalink / raw) To: Hans de Goede, Ilpo Järvinen, Bryan O'Donoghue, Dmitry Baryshkov Cc: platform-driver-x86, linux-kernel, Geert Uytterhoeven The Lenovo Yoga C630 Embedded Controller is only present on the Qualcomm Snapdragon-based Lenovo Yoga C630 laptop. Hence add a dependency on ARCH_QCOM, to prevent asking the user about this driver when configuring a kernel without Qualcomm SoC support. Fixes: 5e5f2f92cccc29f3 ("platform: arm64: add Lenovo Yoga C630 WOS EC driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/platform/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig index 058a4baa216a83b8..f7539e5419cf1616 100644 --- a/drivers/platform/arm64/Kconfig +++ b/drivers/platform/arm64/Kconfig @@ -35,6 +35,7 @@ config EC_ACER_ASPIRE1 config EC_LENOVO_YOGA_C630 tristate "Lenovo Yoga C630 Embedded Controller driver" + depends on ARCH_QCOM || COMPILE_TEST depends on I2C select AUXILIARY_BUS help -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM 2024-07-11 14:32 ` [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 " Geert Uytterhoeven @ 2024-07-11 15:06 ` Hans de Goede 2024-07-12 9:03 ` Ilpo Järvinen 2024-07-12 10:24 ` Dmitry Baryshkov 2 siblings, 0 replies; 10+ messages in thread From: Hans de Goede @ 2024-07-11 15:06 UTC (permalink / raw) To: Geert Uytterhoeven, Ilpo Järvinen, Bryan O'Donoghue, Dmitry Baryshkov Cc: platform-driver-x86, linux-kernel Hi Geert, On 7/11/24 4:32 PM, Geert Uytterhoeven wrote: > The Lenovo Yoga C630 Embedded Controller is only present on the Qualcomm > Snapdragon-based Lenovo Yoga C630 laptop. Hence add a dependency on > ARCH_QCOM, to prevent asking the user about this driver when configuring > a kernel without Qualcomm SoC support. > > Fixes: 5e5f2f92cccc29f3 ("platform: arm64: add Lenovo Yoga C630 WOS EC driver") > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Thanks, patch looks good to me: Reviewed-by: Hans de Goede <hdegoede@redhat.com> Not sure if this warrants a fixes tag though, anyways I'll leave that up to Ilpo when he applies this. Regards, Hans > --- > drivers/platform/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig > index 058a4baa216a83b8..f7539e5419cf1616 100644 > --- a/drivers/platform/arm64/Kconfig > +++ b/drivers/platform/arm64/Kconfig > @@ -35,6 +35,7 @@ config EC_ACER_ASPIRE1 > > config EC_LENOVO_YOGA_C630 > tristate "Lenovo Yoga C630 Embedded Controller driver" > + depends on ARCH_QCOM || COMPILE_TEST > depends on I2C > select AUXILIARY_BUS > help ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM 2024-07-11 14:32 ` [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 " Geert Uytterhoeven 2024-07-11 15:06 ` Hans de Goede @ 2024-07-12 9:03 ` Ilpo Järvinen 2024-07-12 10:24 ` Dmitry Baryshkov 2 siblings, 0 replies; 10+ messages in thread From: Ilpo Järvinen @ 2024-07-12 9:03 UTC (permalink / raw) To: Hans de Goede, Bryan O'Donoghue, Dmitry Baryshkov, Geert Uytterhoeven Cc: platform-driver-x86, linux-kernel On Thu, 11 Jul 2024 16:32:35 +0200, Geert Uytterhoeven wrote: > The Lenovo Yoga C630 Embedded Controller is only present on the Qualcomm > Snapdragon-based Lenovo Yoga C630 laptop. Hence add a dependency on > ARCH_QCOM, to prevent asking the user about this driver when configuring > a kernel without Qualcomm SoC support. > > Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo branch only once I've pushed my local branch there, which might take a while. The list of commits applied: [1/1] platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM commit: 1e02e317470b1c68d5971e51e8c62967ec1bc828 -- i. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM 2024-07-11 14:32 ` [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 " Geert Uytterhoeven 2024-07-11 15:06 ` Hans de Goede 2024-07-12 9:03 ` Ilpo Järvinen @ 2024-07-12 10:24 ` Dmitry Baryshkov 2024-07-12 12:01 ` Geert Uytterhoeven 2 siblings, 1 reply; 10+ messages in thread From: Dmitry Baryshkov @ 2024-07-12 10:24 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Hans de Goede, Ilpo Järvinen, Bryan O'Donoghue, platform-driver-x86, linux-kernel On Thu, 11 Jul 2024 at 17:32, Geert Uytterhoeven <geert+renesas@glider.be> wrote: > > The Lenovo Yoga C630 Embedded Controller is only present on the Qualcomm > Snapdragon-based Lenovo Yoga C630 laptop. Hence add a dependency on > ARCH_QCOM, to prevent asking the user about this driver when configuring > a kernel without Qualcomm SoC support. > > Fixes: 5e5f2f92cccc29f3 ("platform: arm64: add Lenovo Yoga C630 WOS EC driver") > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > drivers/platform/arm64/Kconfig | 1 + > 1 file changed, 1 insertion(+) Could you please add the same condition to the Acer Aspire 1 entry? > > diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig > index 058a4baa216a83b8..f7539e5419cf1616 100644 > --- a/drivers/platform/arm64/Kconfig > +++ b/drivers/platform/arm64/Kconfig > @@ -35,6 +35,7 @@ config EC_ACER_ASPIRE1 > > config EC_LENOVO_YOGA_C630 > tristate "Lenovo Yoga C630 Embedded Controller driver" > + depends on ARCH_QCOM || COMPILE_TEST > depends on I2C > select AUXILIARY_BUS > help > -- > 2.34.1 > -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM 2024-07-12 10:24 ` Dmitry Baryshkov @ 2024-07-12 12:01 ` Geert Uytterhoeven 0 siblings, 0 replies; 10+ messages in thread From: Geert Uytterhoeven @ 2024-07-12 12:01 UTC (permalink / raw) To: Dmitry Baryshkov Cc: Hans de Goede, Ilpo Järvinen, Bryan O'Donoghue, platform-driver-x86, linux-kernel Hi Dmitry, On Fri, Jul 12, 2024 at 12:24 PM Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote: > On Thu, 11 Jul 2024 at 17:32, Geert Uytterhoeven > <geert+renesas@glider.be> wrote: > > > > The Lenovo Yoga C630 Embedded Controller is only present on the Qualcomm > > Snapdragon-based Lenovo Yoga C630 laptop. Hence add a dependency on > > ARCH_QCOM, to prevent asking the user about this driver when configuring > > a kernel without Qualcomm SoC support. > > > > Fixes: 5e5f2f92cccc29f3 ("platform: arm64: add Lenovo Yoga C630 WOS EC driver") > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > > --- > > drivers/platform/arm64/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > Could you please add the same condition to the Acer Aspire 1 entry? https://lore.kernel.org/all/f5f38709c01d369ed9e375ceb2a9a12986457a1a.1720707932.git.geert+renesas@glider.be/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-07-12 12:01 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <80e17dffa8f4c1d3fdedd4d82df3a722aa4044ff.1720707932.git.geert+renesas@glider.be>
2024-07-11 14:30 ` [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM Geert Uytterhoeven
2024-07-11 15:06 ` Hans de Goede
2024-07-11 15:30 ` Nikita Travkin
2024-07-11 15:39 ` Ilpo Järvinen
2024-07-12 9:03 ` Ilpo Järvinen
2024-07-11 14:32 ` [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 " Geert Uytterhoeven
2024-07-11 15:06 ` Hans de Goede
2024-07-12 9:03 ` Ilpo Järvinen
2024-07-12 10:24 ` Dmitry Baryshkov
2024-07-12 12:01 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox