diff mbox series

sandbox_flattree: enable button support

Message ID 20240115185122.776217-1-caleb.connolly@linaro.org
State Accepted
Commit 4c3dfa1b8babf9fc0575ce08eed99f950d3bab84
Headers show
Series sandbox_flattree: enable button support | expand

Commit Message

Caleb Connolly Jan. 15, 2024, 6:50 p.m. UTC
sandbox_flattree enables QCOM_PMIC_GPIO which now depends on BUTTON. As
a result the button tests now get run, but fail because the ADC and GPIO
button drivers aren't enabled.

Enable them to run the tests for sandbox_flattree.

Reported-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
 configs/sandbox_flattree_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Neil Armstrong Jan. 16, 2024, 8:52 a.m. UTC | #1
On 15/01/2024 19:50, Caleb Connolly wrote:
> sandbox_flattree enables QCOM_PMIC_GPIO which now depends on BUTTON. As
> a result the button tests now get run, but fail because the ADC and GPIO
> button drivers aren't enabled.
> 
> Enable them to run the tests for sandbox_flattree.
> 
> Reported-by: Neil Armstrong <neil.armstrong@linaro.org>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
>   configs/sandbox_flattree_defconfig | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig
> index 0b637727d9f1..ad364f6e128e 100644
> --- a/configs/sandbox_flattree_defconfig
> +++ b/configs/sandbox_flattree_defconfig
> @@ -101,6 +101,9 @@ CONFIG_SYS_ATA_DATA_OFFSET=0
>   CONFIG_SYS_ATA_REG_OFFSET=1
>   CONFIG_SYS_ATA_ALT_OFFSET=2
>   CONFIG_SYS_ATA_IDE0_OFFSET=0
> +CONFIG_BUTTON=y
> +CONFIG_BUTTON_ADC=y
> +CONFIG_BUTTON_GPIO=y
>   CONFIG_CLK=y
>   CONFIG_CLK_COMPOSITE_CCF=y
>   CONFIG_CLK_K210=y

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff mbox series

Patch

diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig
index 0b637727d9f1..ad364f6e128e 100644
--- a/configs/sandbox_flattree_defconfig
+++ b/configs/sandbox_flattree_defconfig
@@ -101,6 +101,9 @@  CONFIG_SYS_ATA_DATA_OFFSET=0
 CONFIG_SYS_ATA_REG_OFFSET=1
 CONFIG_SYS_ATA_ALT_OFFSET=2
 CONFIG_SYS_ATA_IDE0_OFFSET=0
+CONFIG_BUTTON=y
+CONFIG_BUTTON_ADC=y
+CONFIG_BUTTON_GPIO=y
 CONFIG_CLK=y
 CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_CLK_K210=y