From patchwork Sun Feb 12 23:15:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1741250 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Z5BVaGZD; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PFP2t209Pz23r9 for ; Mon, 13 Feb 2023 10:35:02 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3487685754; Mon, 13 Feb 2023 00:27:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Z5BVaGZD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4024C856F7; Mon, 13 Feb 2023 00:18:17 +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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 D6573856F7 for ; Mon, 13 Feb 2023 00:17:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2c.google.com with SMTP id w24so3936943iow.13 for ; Sun, 12 Feb 2023 15:17:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XTpFYWYtzbxcB8lFgYzlkn5y3oLjG2TOJX53/cmeoSg=; b=Z5BVaGZDxIacohBYMPqPVt2IXRibqXsGpLF5CjqDSit/5Y/a4p8Jmpq5xf9DZr704D fRJDAd7Kyk20wKZzk7sk9lNbDSKembAnUweZNw6XRqlqYhZ01p3HYLG4p1meo5qbxvTq BraPJ7Vl/A+MP34E99nKf7bPTfPzmLhKE5CQg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XTpFYWYtzbxcB8lFgYzlkn5y3oLjG2TOJX53/cmeoSg=; b=mHMLNm+CzWDXn7BFQP7QEQ+g+TKQOmtYfWMN041vKlpQ4GjbCpP7B4rGp98ZJKcoyn IVhKp8VRtADVT97hoqGTEhZyzNyk3LZxMsbAaK1sot9ZQIwYKgGz1GOU+Oh3k5I85ann oQhsvpwh9b8PHTYlX98q+KmwJDljvqSjcRTnjB1iNass2Gk1d4VoZKk7HkqTY1JKoMtb s0x3+tGS3DTax19OQuYQCBopjMkaa1RX4bg9aYPeYQBCeV53cxxMtpiIDeWhoS7R4il8 Z3FUs9FvHPvFjweqVGEk7l7vtVb6eRN0xqPNHaf7T7rfrimyfXYg1lfbtlg9hZykkKOG 5FXw== X-Gm-Message-State: AO0yUKXVlF/DqEOFwa3AIrnXrdHHriG8cqaYi4j5kQ3smG4IgL5sK8dx bqXafuZ5E5/eF5CZJeysttos8kd6oekJhM0+ X-Google-Smtp-Source: AK7set/ckaX22pZpHp3OSdBlpz1dXXxB+GQBjqlfgUq1pvJ5l4Y5/9jsOes4BEp0zpsDfY6s3K6qvA== X-Received: by 2002:a05:6602:3141:b0:72f:3256:2d26 with SMTP id m1-20020a056602314100b0072f32562d26mr19702226ioy.9.1676243853771; Sun, 12 Feb 2023 15:17:33 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id n16-20020a6b8b10000000b006dfbd35e995sm3627849iod.21.2023.02.12.15.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 15:17:33 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v3 24/95] button: Add a Kconfig for SPL_BUTTON Date: Sun, 12 Feb 2023 16:15:27 -0700 Message-Id: <20230212231638.1134219-25-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.581.gbfd45094c4-goog In-Reply-To: <20230212231638.1134219-1-sjg@chromium.org> References: <20230212231638.1134219-1-sjg@chromium.org> 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.6 at phobos.denx.de X-Virus-Status: Clean This is implicitly used in the source and seems useful, so add it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/button/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/button/Kconfig b/drivers/button/Kconfig index 8ce2de37d62..60645a7745a 100644 --- a/drivers/button/Kconfig +++ b/drivers/button/Kconfig @@ -9,6 +9,10 @@ config BUTTON can provide access to board-specific buttons. Use of the device tree for configuration is encouraged. +config SPL_BUTTON + def_bool n # Enable button support (SPL) + depends on SPL + config BUTTON_ADC bool "Button adc" depends on BUTTON