[PATCH] arm: multi_v7_defconfig: Enable more OMAP related configs

Beleswar Padhi posted 1 patch 1 month, 4 weeks ago
There is a newer version of this series
arch/arm/configs/multi_v7_defconfig | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
[PATCH] arm: multi_v7_defconfig: Enable more OMAP related configs
Posted by Beleswar Padhi 1 month, 4 weeks ago
From: Sinthu Raja <sinthu.raja@ti.com>

This allows us to enable various peripherals in the TI OMAP family
platforms like AM571X-IDK, AM572X-IDK, AM574X-IDK, AM57XX-BEAGLE-X15,
AM57XX-EVM using the multi_v7_defconfig, instead of only with the
OMAP specific defconfigs.

IKCONFIG*:
Allows reading the current kernel configuration through /proc/config.gz

{TI/DRA752}_THERMAL:
Enables TI's bandgap temperature sensor and thermal zone framework for
thermal management on the OMAP SoC family.

THERMAL_EMULATION:
Adds emul_temp sysfs node under thermal zones to allow emulating
temperature changes.

DRM_PANEL_OSD_OSD101T2587_53TS:
TOUCHSCREEN_EDT_FT5X06:
Enables OSD LCD panel and capacitive touchscreen support used in AM57XX
evaluation modules.

SPI_TI_QSPI:
Enables TI's QSPI master controller driver for accessing flash devices
on OMAP5 platforms.

FANOTIFY:
Allows sending open file descriptors to userspace listeners along with
file access events.

USER_NS:
NAMESPACES:
Enable user NS to provide user info of different users for different
process.

POSIX_MQUEUE:
Supports POSIX message queues for priority-based IPC.

BSD_PROCESS_ACCT:
Enables BSD process accounting to allow user space program to write
process accounting information to a file.

bloat-o-meter:
Total: Before=24537037, After=24640034, chg +0.42%

Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Co-developed-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
---
 arch/arm/configs/multi_v7_defconfig | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index f2822eeefb95..d88177cbf2ce 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -1,7 +1,13 @@
 CONFIG_SYSVIPC=y
+CONFIG_POSIX_MQUEUE=y
 CONFIG_NO_HZ_IDLE=y
 CONFIG_HIGH_RES_TIMERS=y
+CONFIG_BSD_PROCESS_ACCT=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
 CONFIG_CGROUPS=y
+CONFIG_NAMESPACES=y
+CONFIG_USER_NS=y
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_EXPERT=y
 CONFIG_PERF_EVENTS=y
@@ -333,7 +339,7 @@ CONFIG_TOUCHSCREEN_ADC=m
 CONFIG_TOUCHSCREEN_ATMEL_MXT=m
 CONFIG_TOUCHSCREEN_ELAN=m
 CONFIG_TOUCHSCREEN_MMS114=m
-CONFIG_TOUCHSCREEN_EDT_FT5X06=m
+CONFIG_TOUCHSCREEN_EDT_FT5X06=y
 CONFIG_TOUCHSCREEN_WM97XX=m
 CONFIG_TOUCHSCREEN_ST1232=m
 CONFIG_TOUCHSCREEN_STMPE=y
@@ -453,6 +459,7 @@ CONFIG_SPI_GXP=m
 CONFIG_SPI_GPIO=m
 CONFIG_SPI_FSL_DSPI=m
 CONFIG_SPI_OMAP24XX=y
+CONFIG_SPI_TI_QSPI=y
 CONFIG_SPI_ORION=y
 CONFIG_SPI_PL022=y
 CONFIG_SPI_ROCKCHIP=m
@@ -547,6 +554,7 @@ CONFIG_SENSORS_RASPBERRYPI_HWMON=m
 CONFIG_SENSORS_INA2XX=m
 CONFIG_CPU_THERMAL=y
 CONFIG_DEVFREQ_THERMAL=y
+CONFIG_THERMAL_EMULATION=y
 CONFIG_IMX_THERMAL=y
 CONFIG_QORIQ_THERMAL=m
 CONFIG_ROCKCHIP_THERMAL=y
@@ -555,6 +563,8 @@ CONFIG_ARMADA_THERMAL=y
 CONFIG_BCM2711_THERMAL=m
 CONFIG_BCM2835_THERMAL=m
 CONFIG_BRCMSTB_THERMAL=m
+CONFIG_TI_THERMAL=y
+CONFIG_DRA752_THERMAL=y
 CONFIG_ST_THERMAL_MEMMAP=y
 CONFIG_TEGRA_SOCTHERM=m
 CONFIG_TEGRA30_TSENSOR=m
@@ -747,6 +757,7 @@ CONFIG_DRM_PANEL_SIMPLE=y
 CONFIG_DRM_PANEL_EDP=y
 CONFIG_DRM_PANEL_SAMSUNG_LD9040=m
 CONFIG_DRM_PANEL_ORISETECH_OTM8009A=m
+CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS=y
 CONFIG_DRM_PANEL_RAYDIUM_RM68200=m
 CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03=m
 CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=m
@@ -1260,6 +1271,7 @@ CONFIG_COUNTER=m
 CONFIG_STM32_LPTIMER_CNT=m
 CONFIG_STM32_TIMER_CNT=m
 CONFIG_EXT4_FS=y
+CONFIG_FANOTIFY=y
 CONFIG_AUTOFS_FS=y
 CONFIG_MSDOS_FS=y
 CONFIG_VFAT_FS=y
-- 
2.34.1
Re: [PATCH] arm: multi_v7_defconfig: Enable more OMAP related configs
Posted by Arnd Bergmann 1 month, 4 weeks ago
On Wed, Aug 6, 2025, at 16:18, Beleswar Padhi wrote:
> From: Sinthu Raja <sinthu.raja@ti.com>
>
> This allows us to enable various peripherals in the TI OMAP family
> platforms like AM571X-IDK, AM572X-IDK, AM574X-IDK, AM57XX-BEAGLE-X15,
> AM57XX-EVM using the multi_v7_defconfig, instead of only with the
> OMAP specific defconfigs.

Hi Beleswar,

It's fine to enable drivers that are only used on a specific
platform, but those should generally be loadable modules, not
built-in.

For the generic (platform-independent) options, I would
suggest splitting them out into a separate patch, so you
can describe better what the purpose is, since this is
clearly not just for OMAP.

> IKCONFIG*:
> Allows reading the current kernel configuration through /proc/config.gz

This one seems particularly unnecessary in a "defconfig" build
since the configuration is already known based on the version.

> THERMAL_EMULATION:
> Adds emul_temp sysfs node under thermal zones to allow emulating
> temperature changes.

The documentation for this option suggests that we probably
don't want it enabled.

> FANOTIFY:
> Allows sending open file descriptors to userspace listeners along with
> file access events.
>
> USER_NS:
> NAMESPACES:
> Enable user NS to provide user info of different users for different
> process.
>
> POSIX_MQUEUE:
> Supports POSIX message queues for priority-based IPC.
>
> BSD_PROCESS_ACCT:
> Enables BSD process accounting to allow user space program to write
> process accounting information to a file.

I assume these are all in order to run a particular userspace
distro?

      Arnd
Re: [PATCH] arm: multi_v7_defconfig: Enable more OMAP related configs
Posted by Beleswar Prasad Padhi 1 month, 2 weeks ago
Hi Arnd,

On 06/08/25 21:11, Arnd Bergmann wrote:
> On Wed, Aug 6, 2025, at 16:18, Beleswar Padhi wrote:
>> From: Sinthu Raja <sinthu.raja@ti.com>
>>
>> This allows us to enable various peripherals in the TI OMAP family
>> platforms like AM571X-IDK, AM572X-IDK, AM574X-IDK, AM57XX-BEAGLE-X15,
>> AM57XX-EVM using the multi_v7_defconfig, instead of only with the
>> OMAP specific defconfigs.
> Hi Beleswar,
>
> It's fine to enable drivers that are only used on a specific
> platform, but those should generally be loadable modules, not
> built-in.


Sorry for the delay in getting back. I have sent out an v2 with your suggestions:
https://lore.kernel.org/all/20250819101137.2878336-1-b-padhi@ti.com/

Thanks,
Beleswar

>
> For the generic (platform-independent) options, I would
> suggest splitting them out into a separate patch, so you
> can describe better what the purpose is, since this is
> clearly not just for OMAP.
>
>> IKCONFIG*:
>> Allows reading the current kernel configuration through /proc/config.gz
> This one seems particularly unnecessary in a "defconfig" build
> since the configuration is already known based on the version.
>
>> THERMAL_EMULATION:
>> Adds emul_temp sysfs node under thermal zones to allow emulating
>> temperature changes.
> The documentation for this option suggests that we probably
> don't want it enabled.
>
>> FANOTIFY:
>> Allows sending open file descriptors to userspace listeners along with
>> file access events.
>>
>> USER_NS:
>> NAMESPACES:
>> Enable user NS to provide user info of different users for different
>> process.
>>
>> POSIX_MQUEUE:
>> Supports POSIX message queues for priority-based IPC.
>>
>> BSD_PROCESS_ACCT:
>> Enables BSD process accounting to allow user space program to write
>> process accounting information to a file.
> I assume these are all in order to run a particular userspace
> distro?
>
>       Arnd
Re: [PATCH] arm: multi_v7_defconfig: Enable more OMAP related configs
Posted by Krzysztof Kozlowski 1 month, 4 weeks ago
On 06/08/2025 16:18, Beleswar Padhi wrote:
> From: Sinthu Raja <sinthu.raja@ti.com>
> 
> This allows us to enable various peripherals in the TI OMAP family
> platforms like AM571X-IDK, AM572X-IDK, AM574X-IDK, AM57XX-BEAGLE-X15,
> AM57XX-EVM using the multi_v7_defconfig, instead of only with the
> OMAP specific defconfigs.
> 
> IKCONFIG*:
> Allows reading the current kernel configuration through /proc/config.gz

Why do we want it?

> 
> {TI/DRA752}_THERMAL:
> Enables TI's bandgap temperature sensor and thermal zone framework for
> thermal management on the OMAP SoC family.
> 
> THERMAL_EMULATION:
> Adds emul_temp sysfs node under thermal zones to allow emulating
> temperature changes.
> 
> DRM_PANEL_OSD_OSD101T2587_53TS:
> TOUCHSCREEN_EDT_FT5X06:
> Enables OSD LCD panel and capacitive touchscreen support used in AM57XX
> evaluation modules.
> 
> SPI_TI_QSPI:
> Enables TI's QSPI master controller driver for accessing flash devices
> on OMAP5 platforms.
> 
> FANOTIFY:
> Allows sending open file descriptors to userspace listeners along with
> file access events.

Why do we want it?

> 
> USER_NS:
> NAMESPACES:
> Enable user NS to provide user info of different users for different
> process.

Why do we want it?


> 
> POSIX_MQUEUE:
> Supports POSIX message queues for priority-based IPC.

Why do we want it?

> 
> BSD_PROCESS_ACCT:
> Enables BSD process accounting to allow user space program to write
> process accounting information to a file.

No, we don't want it, unless ...?

> 
> bloat-o-meter:
> Total: Before=24537037, After=24640034, chg +0.42%
> 
> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
> Co-developed-by: Carlos Hernandez <ceh@ti.com>

Incorrect SoB chain. Read carefully submitting patches.

> Signed-off-by: Beleswar Padhi <b-padhi@ti.com>


Best regards,
Krzysztof
Re: [PATCH] arm: multi_v7_defconfig: Enable more OMAP related configs
Posted by Andrew Davis 1 month, 4 weeks ago
On 8/6/25 9:18 AM, Beleswar Padhi wrote:
> From: Sinthu Raja <sinthu.raja@ti.com>
> 
> This allows us to enable various peripherals in the TI OMAP family
> platforms like AM571X-IDK, AM572X-IDK, AM574X-IDK, AM57XX-BEAGLE-X15,
> AM57XX-EVM using the multi_v7_defconfig, instead of only with the
> OMAP specific defconfigs.
> 
> IKCONFIG*:
> Allows reading the current kernel configuration through /proc/config.gz
> 

This gives the "what" the config does, but not the "why" it should be
in multi_v7_defconfig. For this item a better "why" would be something
explaining that the majority of platform specific defconfigs have this
and so does the main ARM64 defconfig, so it should be reasonable for
the main common ARMv7 defconfig to also have it.

Anyway these are all reasonable to have and help us make this shared
defconfig useful for more platforms,

Acked-by: Andrew Davis <afd@ti.com>

> {TI/DRA752}_THERMAL:
> Enables TI's bandgap temperature sensor and thermal zone framework for
> thermal management on the OMAP SoC family.
> 
> THERMAL_EMULATION:
> Adds emul_temp sysfs node under thermal zones to allow emulating
> temperature changes.
> 
> DRM_PANEL_OSD_OSD101T2587_53TS:
> TOUCHSCREEN_EDT_FT5X06:
> Enables OSD LCD panel and capacitive touchscreen support used in AM57XX
> evaluation modules.
> 
> SPI_TI_QSPI:
> Enables TI's QSPI master controller driver for accessing flash devices
> on OMAP5 platforms.
> 
> FANOTIFY:
> Allows sending open file descriptors to userspace listeners along with
> file access events.
> 
> USER_NS:
> NAMESPACES:
> Enable user NS to provide user info of different users for different
> process.
> 
> POSIX_MQUEUE:
> Supports POSIX message queues for priority-based IPC.
> 
> BSD_PROCESS_ACCT:
> Enables BSD process accounting to allow user space program to write
> process accounting information to a file.
> 
> bloat-o-meter:
> Total: Before=24537037, After=24640034, chg +0.42%
> 
> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
> Co-developed-by: Carlos Hernandez <ceh@ti.com>
> Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
> ---
>   arch/arm/configs/multi_v7_defconfig | 14 +++++++++++++-
>   1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
> index f2822eeefb95..d88177cbf2ce 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -1,7 +1,13 @@
>   CONFIG_SYSVIPC=y
> +CONFIG_POSIX_MQUEUE=y
>   CONFIG_NO_HZ_IDLE=y
>   CONFIG_HIGH_RES_TIMERS=y
> +CONFIG_BSD_PROCESS_ACCT=y
> +CONFIG_IKCONFIG=y
> +CONFIG_IKCONFIG_PROC=y
>   CONFIG_CGROUPS=y
> +CONFIG_NAMESPACES=y
> +CONFIG_USER_NS=y
>   CONFIG_BLK_DEV_INITRD=y
>   CONFIG_EXPERT=y
>   CONFIG_PERF_EVENTS=y
> @@ -333,7 +339,7 @@ CONFIG_TOUCHSCREEN_ADC=m
>   CONFIG_TOUCHSCREEN_ATMEL_MXT=m
>   CONFIG_TOUCHSCREEN_ELAN=m
>   CONFIG_TOUCHSCREEN_MMS114=m
> -CONFIG_TOUCHSCREEN_EDT_FT5X06=m
> +CONFIG_TOUCHSCREEN_EDT_FT5X06=y
>   CONFIG_TOUCHSCREEN_WM97XX=m
>   CONFIG_TOUCHSCREEN_ST1232=m
>   CONFIG_TOUCHSCREEN_STMPE=y
> @@ -453,6 +459,7 @@ CONFIG_SPI_GXP=m
>   CONFIG_SPI_GPIO=m
>   CONFIG_SPI_FSL_DSPI=m
>   CONFIG_SPI_OMAP24XX=y
> +CONFIG_SPI_TI_QSPI=y
>   CONFIG_SPI_ORION=y
>   CONFIG_SPI_PL022=y
>   CONFIG_SPI_ROCKCHIP=m
> @@ -547,6 +554,7 @@ CONFIG_SENSORS_RASPBERRYPI_HWMON=m
>   CONFIG_SENSORS_INA2XX=m
>   CONFIG_CPU_THERMAL=y
>   CONFIG_DEVFREQ_THERMAL=y
> +CONFIG_THERMAL_EMULATION=y
>   CONFIG_IMX_THERMAL=y
>   CONFIG_QORIQ_THERMAL=m
>   CONFIG_ROCKCHIP_THERMAL=y
> @@ -555,6 +563,8 @@ CONFIG_ARMADA_THERMAL=y
>   CONFIG_BCM2711_THERMAL=m
>   CONFIG_BCM2835_THERMAL=m
>   CONFIG_BRCMSTB_THERMAL=m
> +CONFIG_TI_THERMAL=y
> +CONFIG_DRA752_THERMAL=y
>   CONFIG_ST_THERMAL_MEMMAP=y
>   CONFIG_TEGRA_SOCTHERM=m
>   CONFIG_TEGRA30_TSENSOR=m
> @@ -747,6 +757,7 @@ CONFIG_DRM_PANEL_SIMPLE=y
>   CONFIG_DRM_PANEL_EDP=y
>   CONFIG_DRM_PANEL_SAMSUNG_LD9040=m
>   CONFIG_DRM_PANEL_ORISETECH_OTM8009A=m
> +CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS=y
>   CONFIG_DRM_PANEL_RAYDIUM_RM68200=m
>   CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03=m
>   CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0=m
> @@ -1260,6 +1271,7 @@ CONFIG_COUNTER=m
>   CONFIG_STM32_LPTIMER_CNT=m
>   CONFIG_STM32_TIMER_CNT=m
>   CONFIG_EXT4_FS=y
> +CONFIG_FANOTIFY=y
>   CONFIG_AUTOFS_FS=y
>   CONFIG_MSDOS_FS=y
>   CONFIG_VFAT_FS=y