Re: [PATCH v2 05/10] pwm: ntxec: Add driver for PWM function in Netronix EC
From: Lee Jones <hidden>
Date: 2020-09-08 09:36:04
Also in:
linux-devicetree, linux-pwm, linux-rtc, lkml
From: Lee Jones <hidden>
Date: 2020-09-08 09:36:04
Also in:
linux-devicetree, linux-pwm, linux-rtc, lkml
On Tue, 08 Sep 2020, Andy Shevchenko wrote:
On Tue, Sep 8, 2020 at 11:14 AM Lee Jones [off-list ref] wrote:quoted
On Sat, 05 Sep 2020, Andy Shevchenko wrote:quoted
On Saturday, September 5, 2020, Jonathan Neuschäfer [off-list ref] wrote:...quoted
quoted
quoted
+config PWM_NTXEC + tristate "Netronix embedded controller PWM support"quoted
+ depends on MFD_NTXEC && OFI don’t see need to reduce test coverage and use of the driver by sticking with OF. Actually it’s not used.If the device is only known to boot with OF, then it's pointless building it when !OF.No, it's not. As I pointed out the (compilation) test coverage is better.
No, it's a waste of disk space. Why would you knowingly compile something you know you can't use? That's the whole point of COMPILE_TEST. Note that when you want real coverage and you use `allyesconfig` and/or `allmodconfig` then CONFIG_OF is also enabled on platforms which support it.
quoted
If you want to increase test coverage enable COMPILE_TEST instead.It is one way to achieve that, yes; depends on OF || COMPILE_TEST depends on MFD_NTXEC
This is better. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel