From patchwork Mon Jan 15 18:50:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 762765 Delivered-To: patch@linaro.org Received: by 2002:a5d:5903:0:b0:337:62d3:c6d5 with SMTP id v3csp1286067wrd; Mon, 15 Jan 2024 10:51:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7nzLxtI943n2MdrjVPUjeVzoDSPiwrmpplm213Eu2APe0OZ85KAkkiwPUyJL3UVCSppO5 X-Received: by 2002:a05:6000:232:b0:333:43bd:5c67 with SMTP id l18-20020a056000023200b0033343bd5c67mr2027590wrz.170.1705344691485; Mon, 15 Jan 2024 10:51:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705344691; cv=none; d=google.com; s=arc-20160816; b=SFSahnJfUIsS0sBdZjU+8TbYSaQvjIDY5iR2C7FnMTO7i+fl0H19iDtL6Zvm4P4e2i eQbC+AjHNv513i7AHqMwC0KC4Vhjl87vlsdC2pb68WW2wkytnBw2dgSM1GRLzLWIa1EH FY+Vr8pCUgYQRxDVEAW9+HnfLbIH7g1xshmBiQVtCXdwDrT/shs2xjmQZ/N7N+AwaV1+ jCuODTHFnLtBh90SRHX+5ZrpU7n1oIbZxnhrbwzXqXZHrVTq8cxHoIbnm5TiGK4bqFie K55lhsw5Rb+FD0ip8rexA+QuYuznK7c5P9EDnAYCPLkH20oeuKgXYUfLLXKTxxr9j+0P kWEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=p1N0BoW7E1W/RVT7zDsuIE1tGK/RlIGl6XW7xYLUJdI=; fh=G7XA7khqyLdfRdeDQtLcUGMBOfS2+dHM9KCol5lx9eM=; b=QZVIunL8nzIb4gUmeo1DsPrH/++IM72Z+2+kVuWJEgM/HJOqyxi6MXP6OZBl4MH+Q+ KuOqhHlMP+2ZxWrn/8uI/OBNnqGeIMGqnTsJog0lVnIkKh26cjbEOdrVrsWm8JxuBuT0 o7YDYdMylqPKhSnmC3bWrF1Zotbw2Uary1NRmJmSIhgjAcz4BWFlwIt6wpAx/B/4Wtaf rYGg99XYb6Evb8kicTJeHEqWp3gRqqDliCyHmVlMJtGoAg/NQcLMAnRnnnnON6V0Xrsi ls+/pEOZSIFX7TGDU40I+VRryPvpcgpGzZC31zDn4QHBR8L22ZqbDyA51ZX2bxGIV4vP +7bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PM5f8aod; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id l11-20020a05600012cb00b003365c516dd0si4882248wrx.344.2024.01.15.10.51.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 10:51:31 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PM5f8aod; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E28E8876F8; Mon, 15 Jan 2024 19:51:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="PM5f8aod"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9F6987852; Mon, 15 Jan 2024 19:51:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EEBC787626 for ; Mon, 15 Jan 2024 19:51:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3366ddd1eddso7448984f8f.0 for ; Mon, 15 Jan 2024 10:51:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705344686; x=1705949486; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=p1N0BoW7E1W/RVT7zDsuIE1tGK/RlIGl6XW7xYLUJdI=; b=PM5f8aodaD77omVYJX89K7jH3MGWtp43ejS7H9dSBzhzDJaXUMN6UH4c19+EzS0FGc xhkIR74At2V9EvuyyPwGrnY4+7mf5DR2RhnGSlluiKEjfG+N0VS533/Y174rYhIuEHEG 5ocr66LBtpZ50EhZauy8QjTBbx5LMS6LlSDfJu1GUYvrnYqksoAnGP91OeP6Evvc5qX2 syor8CJEywe8XjITuuLKgyEjrkg5SLjbszHYcZ8vLUgUCPoJjBCPFGV+EXzsq/rX3X2d 8qPNjEptvlOfZbKw1mDn5FKkQp6k3py6i7tPIqkj4cBoaIQg4yeYJMC7NWCoq0kXL9s4 uwbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705344686; x=1705949486; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=p1N0BoW7E1W/RVT7zDsuIE1tGK/RlIGl6XW7xYLUJdI=; b=EnA91MNDSg5V7twc2gYLacDMcDk4ezTSr6+ztjuFRU/mwTkSmBxCt4pbjopUYmNcq2 lFaRwboijNmj+YIhnwkS2gj9pjPjaBEk5T9TTz6foc6lF7m3QBohlPUNJCIXr+D2mbLi DNXO4oosR3NEBCmC1PrgMSZK5X1mbPJ+n9m7d2QHn6q5EuMSekZWoQ/hnss3Os+GoWEG SUigdOSUNdXW3RcXEhfctbZVL48ZtYJ4dVYjmC7rlVT2P1KbzAcL24oOsKkf5wcWrf7m XTwazMZaV05u9g+fy9TspkNMLtWM3ThZaQlM34UzNDzP1fflZnILK7MmHNgWuuMUFf78 +JfA== X-Gm-Message-State: AOJu0Yy+uvydpt3lIO1e8abf9v97t7FC2FqAa2Ab9ytM7ozWINYmSr13 wn5zGYPGt6knUYkMDuYHbEihiMs0vie6TQ== X-Received: by 2002:a05:600c:4683:b0:40e:490f:3f31 with SMTP id p3-20020a05600c468300b0040e490f3f31mr1545711wmo.35.1705344686347; Mon, 15 Jan 2024 10:51:26 -0800 (PST) Received: from lion.caleb.rex.connolly.tech (host-92-17-96-230.as13285.net. [92.17.96.230]) by smtp.gmail.com with ESMTPSA id hn33-20020a05600ca3a100b0040e621feca9sm15276689wmb.17.2024.01.15.10.51.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 10:51:26 -0800 (PST) From: Caleb Connolly To: Tom Rini , Simon Glass Cc: u-boot@lists.denx.de, Caleb Connolly , Neil Armstrong Subject: [PATCH] sandbox_flattree: enable button support Date: Mon, 15 Jan 2024 18:50:49 +0000 Message-ID: <20240115185122.776217-1-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 Signed-off-by: Caleb Connolly Reviewed-by: Neil Armstrong --- 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