Help in setting module NVEC_PAZ00
Since, the thread - https://lore.kernel.org/outreachy/[email protected]/T/#t
got very long so I thought of posting the issue here for better reach to get guidance.
I want to configure NVEC_PAZ00 as 'm' and its dependencies are STAGING [=y] && MFD_NVEC [=n] && LEDS_CLASS [=y], Therefore, I tried to set MFD_NVEC as 'y', which depends on STAGING [=y] && I2C [=y] && GPIOLIB [=y] && ARCH_TEGRA. Here ARCH_TEGRA is confusing. How can we set this in menuconfig . The following options appears:
PS: I am sticking to resolve this issue and trying my best for it. I am very grateful to all of you for your kind help.
Symbol: ARCH_TEGRA [=ARCH_TEGRA] │ │ Type : unknown │ │ │ │ │ │ Symbol: ARCH_TEGRA_114_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:38 │ │ Prompt: Enable support for Tegra114 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers (1) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra114 family (ARCH_TEGRA_114_SOC [=n]) │ │ Selects: ARM_ERRATA_798181 && HAVE_ARM_ARCH_TIMER && PINCTRL_TEGRA114 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEG │ │ │ │ │ │ Symbol: ARCH_TEGRA_124_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:50 │ │ Prompt: Enable support for Tegra124 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (2) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra124 family (ARCH_TEGRA_124_SOC [=n]) │ │ Selects: HAVE_ARM_ARCH_TIMER && PINCTRL_TEGRA124 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] && TEGRA_ │ │ │ │ │ │ Symbol: ARCH_TEGRA_132_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:66 │ │ Prompt: NVIDIA Tegra132 SoC │ │ Depends on: ARCH_TEGRA && ARM64 │ │ Location: │ │ -> Device Drivers (3) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra132 SoC (ARCH_TEGRA_132_SOC [=n]) │ │ Selects: PINCTRL_TEGRA124 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_186_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:96 │ │ Prompt: NVIDIA Tegra186 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers │ │ (4) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra186 SoC (ARCH_TEGRA_186_SOC [=n]) │ │ Selects: MAILBOX [=y] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_194_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:112 │ │ Prompt: NVIDIA Tegra194 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers
(5) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra194 SoC (ARCH_TEGRA_194_SOC [=n]) │ │ Selects: MAILBOX [=y] && PINCTRL_TEGRA194 [=n] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SO │ │ │ │ │ │ Symbol: ARCH_TEGRA_210_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:77 │ │ Prompt: NVIDIA Tegra210 SoC │ │ Depends on: ARCH_TEGRA && ARM64 │ │ Location: │ │ -> Device Drivers │ │ (6) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra210 SoC (ARCH_TEGRA_210_SOC [=n]) │ │ Selects: PINCTRL_TEGRA210 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] && TEGRA_TIMER [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_234_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:124 │ │ Prompt: NVIDIA Tegra234 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers
(7) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra234 SoC (ARCH_TEGRA_234_SOC [=n]) │ │ Selects: MAILBOX [=y] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_2x_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:7 │ │ Prompt: Enable support for Tegra20 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (8) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra20 family (ARCH_TEGRA_2x_SOC [=n]) │ │ Selects: ARCH_NEEDS_CPU_IDLE_COUPLED [=n] && ARM_ERRATA_720789 && ARM_ERRATA_754327 && ARM_ERRATA_764369 && PINC │ │ │ │ │ │ Symbol: ARCH_TEGRA_3x_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:24 │ │ Prompt: Enable support for Tegra30 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (9) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra30 family (ARCH_TEGRA_3x_SOC [=n]) │ │ Selects: ARM_ERRATA_754322 && ARM_ERRATA_764369 && PINCTRL_TEGRA30 [=n] && PL310_ERRATA_769419 && SOC_TEGRA_FLOW
Regards,
Sumitra
Quoted 8 lines · Sumitra Sharma
Since, the thread - https://lore.kernel.org/outreachy/[email protected]/T/#t
got very long so I thought of posting the issue here for better reach to get guidance.I want to configure
NVEC_PAZ00as 'm' and its dependencies are STAGING [=y] &&MFD_NVEC[=n] &&LEDS_CLASS[=y], Therefore, I tried to setMFD_NVECas 'y', which depends on STAGING [=y] && I2C [=y] && GPIOLIB [=y] &&ARCH_TEGRA. HereARCH_TEGRAis confusing. How can we set this in menuconfig . The following options appears:PS: I am sticking to resolve this issue and trying my best for it. I am very grateful to all of you for your kind help.
Did you try make ARCH=arm tegra_defconfig menuconfig
If you do that, more things will be y and you can select what is needed.
julia
Quoted 121 lines
Symbol: ARCH_TEGRA [=ARCH_TEGRA] │ │ Type : unknown │ │ │ │ │ │ Symbol: ARCH_TEGRA_114_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:38 │ │ Prompt: Enable support for Tegra114 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers (1) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra114 family (ARCH_TEGRA_114_SOC [=n]) │ │ Selects: ARM_ERRATA_798181 && HAVE_ARM_ARCH_TIMER && PINCTRL_TEGRA114 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEG │ │ │ │ │ │ Symbol: ARCH_TEGRA_124_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:50 │ │ Prompt: Enable support for Tegra124 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (2) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra124 family (ARCH_TEGRA_124_SOC [=n]) │ │ Selects: HAVE_ARM_ARCH_TIMER && PINCTRL_TEGRA124 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] && TEGRA_ │ │ │ │ │ │ Symbol: ARCH_TEGRA_132_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:66 │ │ Prompt: NVIDIA Tegra132 SoC │ │ Depends on: ARCH_TEGRA && ARM64 │ │ Location: │ │ -> Device Drivers (3) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra132 SoC (ARCH_TEGRA_132_SOC [=n]) │ │ Selects: PINCTRL_TEGRA124 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_186_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:96 │ │ Prompt: NVIDIA Tegra186 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers │ │ (4) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra186 SoC (ARCH_TEGRA_186_SOC [=n]) │ │ Selects: MAILBOX [=y] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_194_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:112 │ │ Prompt: NVIDIA Tegra194 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers(5) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra194 SoC (ARCH_TEGRA_194_SOC [=n]) │ │ Selects: MAILBOX [=y] && PINCTRL_TEGRA194 [=n] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SO │ │ │ │ │ │ Symbol: ARCH_TEGRA_210_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:77 │ │ Prompt: NVIDIA Tegra210 SoC │ │ Depends on: ARCH_TEGRA && ARM64 │ │ Location: │ │ -> Device Drivers │ │ (6) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra210 SoC (ARCH_TEGRA_210_SOC [=n]) │ │ Selects: PINCTRL_TEGRA210 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] && TEGRA_TIMER [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_234_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:124 │ │ Prompt: NVIDIA Tegra234 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers(7) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra234 SoC (ARCH_TEGRA_234_SOC [=n]) │ │ Selects: MAILBOX [=y] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_2x_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:7 │ │ Prompt: Enable support for Tegra20 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (8) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra20 family (ARCH_TEGRA_2x_SOC [=n]) │ │ Selects: ARCH_NEEDS_CPU_IDLE_COUPLED [=n] && ARM_ERRATA_720789 && ARM_ERRATA_754327 && ARM_ERRATA_764369 && PINC │ │ │ │ │ │ Symbol: ARCH_TEGRA_3x_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:24 │ │ Prompt: Enable support for Tegra30 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (9) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra30 family (ARCH_TEGRA_3x_SOC [=n]) │ │ Selects: ARM_ERRATA_754322 && ARM_ERRATA_764369 && PINCTRL_TEGRA30 [=n] && PL310_ERRATA_769419 && SOC_TEGRA_FLOWRegards,
Sumitra
Quoted 11 lines · Julia Lawall
Quoted 7 lines · Sumitra Sharma
Since, the thread - https://lore.kernel.org/outreachy/[email protected]/T/#t
got very long so I thought of posting the issue here for better reach to get guidance.I want to configure
NVEC_PAZ00as 'm' and its dependencies are STAGING [=y] &&MFD_NVEC[=n] &&LEDS_CLASS[=y], Therefore, I tried to setMFD_NVECas 'y', which depends on STAGING [=y] && I2C [=y] && GPIOLIB [=y] &&ARCH_TEGRA. HereARCH_TEGRAis confusing. How can we set this in menuconfig . The following options appears:
Quoted 6 lines
Quoted 1 line
PS: I am sticking to resolve this issue and trying my best for it. I am very grateful to all of you for your kind help.
Did you try make ARCH=arm
tegra_defconfigmenuconfigIf you do that, more things will be y and you can select what is needed.
HI julia,
Your idea worked. Now I am able to locate as well as make the module. Thank you for your time. :)
REgards,
Sumitra
Quoted 123 lines
julia
Quoted 121 lines
Symbol: ARCH_TEGRA [=ARCH_TEGRA] │ │ Type : unknown │ │ │ │ │ │ Symbol: ARCH_TEGRA_114_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:38 │ │ Prompt: Enable support for Tegra114 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers (1) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra114 family (ARCH_TEGRA_114_SOC [=n]) │ │ Selects: ARM_ERRATA_798181 && HAVE_ARM_ARCH_TIMER && PINCTRL_TEGRA114 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEG │ │ │ │ │ │ Symbol: ARCH_TEGRA_124_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:50 │ │ Prompt: Enable support for Tegra124 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (2) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra124 family (ARCH_TEGRA_124_SOC [=n]) │ │ Selects: HAVE_ARM_ARCH_TIMER && PINCTRL_TEGRA124 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] && TEGRA_ │ │ │ │ │ │ Symbol: ARCH_TEGRA_132_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:66 │ │ Prompt: NVIDIA Tegra132 SoC │ │ Depends on: ARCH_TEGRA && ARM64 │ │ Location: │ │ -> Device Drivers (3) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra132 SoC (ARCH_TEGRA_132_SOC [=n]) │ │ Selects: PINCTRL_TEGRA124 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_186_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:96 │ │ Prompt: NVIDIA Tegra186 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers │ │ (4) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra186 SoC (ARCH_TEGRA_186_SOC [=n]) │ │ Selects: MAILBOX [=y] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_194_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:112 │ │ Prompt: NVIDIA Tegra194 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers(5) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra194 SoC (ARCH_TEGRA_194_SOC [=n]) │ │ Selects: MAILBOX [=y] && PINCTRL_TEGRA194 [=n] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SO │ │ │ │ │ │ Symbol: ARCH_TEGRA_210_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:77 │ │ Prompt: NVIDIA Tegra210 SoC │ │ Depends on: ARCH_TEGRA && ARM64 │ │ Location: │ │ -> Device Drivers │ │ (6) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra210 SoC (ARCH_TEGRA_210_SOC [=n]) │ │ Selects: PINCTRL_TEGRA210 [=n] && SOC_TEGRA_FLOWCTRL [=n] && SOC_TEGRA_PMC [=n] && TEGRA_TIMER [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_234_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:124 │ │ Prompt: NVIDIA Tegra234 SoC │ │ Depends on: ARCH_TEGRA && ARM64 && !CPU_BIG_ENDIAN │ │ Location: │ │ -> Device Drivers(7) -> SOC (System On Chip) specific Drivers │ │ -> NVIDIA Tegra234 SoC (ARCH_TEGRA_234_SOC [=n]) │ │ Selects: MAILBOX [=y] && TEGRA_BPMP [=n] && TEGRA_HSP_MBOX [=n] && TEGRA_IVC [=n] && SOC_TEGRA_PMC [=n] │ │ │ │ │ │ Symbol: ARCH_TEGRA_2x_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:7 │ │ Prompt: Enable support for Tegra20 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (8) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra20 family (ARCH_TEGRA_2x_SOC [=n]) │ │ Selects: ARCH_NEEDS_CPU_IDLE_COUPLED [=n] && ARM_ERRATA_720789 && ARM_ERRATA_754327 && ARM_ERRATA_764369 && PINC │ │ │ │ │ │ Symbol: ARCH_TEGRA_3x_SOC [=n] │ │ Type : bool │ │ Defined at drivers/soc/tegra/Kconfig:24 │ │ Prompt: Enable support for Tegra30 family │ │ Depends on: ARCH_TEGRA && ARM │ │ Location: │ │ -> Device Drivers │ │ (9) -> SOC (System On Chip) specific Drivers │ │ -> Enable support for Tegra30 family (ARCH_TEGRA_3x_SOC [=n]) │ │ Selects: ARM_ERRATA_754322 && ARM_ERRATA_764369 && PINCTRL_TEGRA30 [=n] && PL310_ERRATA_769419 && SOC_TEGRA_FLOWRegards,
Sumitra