arm64: configs: Enable GPIO_DAVINCI
PATCH 1/1 arm64: configs: Enable GPIO_DAVINCI
Enable GPIO_DAVINCI and related configs for TI K3 AM6 platforms.
--- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +3 -0
@@ -385,6 +385,9 @@ CONFIG_PINCTRL_QCS404=y CONFIG_PINCTRL_QDF2XXX=y CONFIG_PINCTRL_QCOM_SPMI_PMIC=y CONFIG_PINCTRL_SDM845=y +CONFIG_DEBUG_GPIO=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_DAVINCI=y CONFIG_GPIO_DWAPB=y CONFIG_GPIO_MB86S7X=y CONFIG_GPIO_PL061=y
Signature · 1 line
2.17.1
Quoted 12 lines · Keerthy
Enable
GPIO_DAVINCIand related configs for TI K3 AM6 platforms.Signed-off-by Keerthy <[email protected]>--- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+)arch/arm64/configs/defconfig +0
-0
arch/arm64/configs/defconfig CONFIG_PINCTRL_QCS404=y · line 388
Quoted 4 lines
arch/arm64/configs/defconfig +1
-0@@ -385,6 +385,9 @@ CONFIG_PINCTRL_QCS404=y CONFIG_PINCTRL_QDF2XXX=y CONFIG_PINCTRL_QCOM_SPMI_PMIC=y CONFIG_PINCTRL_SDM845=y +CONFIG_DEBUG_GPIO=y
Why DEBUG_GPIO?
arch/arm64/configs/defconfig CONFIG_PINCTRL_QCS404=y · line 389
Quoted 1 line
arch/arm64/configs/defconfig +1
-0+CONFIG_GPIO_SYSFS=y
Also, why GPIO_SYSFS?
Both of the above are nice for debugging purposes, but should not be enabled by default imho, as they are not needed by drivers.
arch/arm64/configs/defconfig CONFIG_PINCTRL_QCS404=y · line 390
Quoted 1 line
arch/arm64/configs/defconfig +1
-0+CONFIG_GPIO_DAVINCI=y
I think you should not modify defconfig, rather add these as platform required features under arch/arm64/Kconfig.platforms?
-Tero
arch/arm64/configs/defconfig CONFIG_PINCTRL_QCS404=y · line 393
Quoted 4 lines
arch/arm64/configs/defconfig +0
-0CONFIG_GPIO_DWAPB=y CONFIG_GPIO_MB86S7X=y CONFIG_GPIO_PL061=y
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Quoted 8 lines · Tero Kristo
Quoted 7 lines · Keerthy
Enable
GPIO_DAVINCIand related configs for TI K3 AM6 platforms.Signed-off-by Keerthy <[email protected]>---
arch/arm64/configs/defconfig| 3 +++1 file changed, 3 insertions(+)
Quoted 11 lines
Quoted 9 lines
arch/arm64/configs/defconfig +0
-0@@ -385,6 +385,9 @@ CONFIG_PINCTRL_QCS404=y
CONFIG_PINCTRL_QDF2XXX=y
CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
CONFIG_PINCTRL_SDM845=y
+CONFIG_DEBUG_GPIO=yWhy
DEBUG_GPIO?
Okay this can be left out.
Quoted 4 lines
Quoted 2 lines
+CONFIG_GPIO_SYSFS=y
Also, why
GPIO_SYSFS?
This has been there for pretty much all the SoCs in the past
and one of the ways to validate GPIOs are functional. This is very much needed IMHO.
Quoted 6 lines
Both of the above are nice for debugging purposes, but should not be enabled by default imho, as they are not needed by drivers.
Quoted 1 line
+CONFIG_GPIO_DAVINCI=y
I think you should not modify defconfig, rather add these as platform required features under
arch/arm64/Kconfig.platforms?
I observed CONFIG_RESET_TI_SCI, CONFIG_TI_SCI_PROTOCOL which are platform specific in the defconfig and added them here. Already there are n number of GPIO config options as well under defconfig. If the norm is to add selects under arch/arm64/Kconfig.platforms then i am fine with that as well. Kindly let me know.
- Keerthy
Quoted 10 lines
-Tero
Quoted 4 lines
CONFIG_GPIO_DWAPB=y
CONFIG_GPIO_MB86S7X=y
CONFIG_GPIO_PL061=ySignature · 1 line
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki