From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2CA8EC433FE for ; Sun, 20 Nov 2022 14:24:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9C647854C8; Sun, 20 Nov 2022 15:18:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="bM8oT0AR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A79F1854AB; Sun, 20 Nov 2022 15:17:54 +0100 (CET) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 C107885498 for ; Sun, 20 Nov 2022 15:17:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82e.google.com with SMTP id l2so5918725qtq.11 for ; Sun, 20 Nov 2022 06:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=glLBkwDgY/spJkF9/qdtvJZGYvMMIzK0XuXsF0p9YJ8=; b=bM8oT0ARhntPI9+gX6xL3zn7y+QeLQ6RPFJX7KQxJxt+2sLoTlmXexF4uUrQEl/39x ehXwhCX/sHxXWDl1iN4X/NtGzaBpnxsT2b3oYYtPZmpzkhMZ3eJN/56ldRZGbkXIHG9u rPHeqXdzJgmIeH2/V8ybQtZhndM6BU4k82nhs= 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:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=glLBkwDgY/spJkF9/qdtvJZGYvMMIzK0XuXsF0p9YJ8=; b=ElUyz57GP+U9HsktY88cjRD+bN2fKaSAAH635Vu+rq7vxSbSRI1c+LRF/1m/SYJWTL tPLtTI0GifTXGJ8j25psPqidAcEvQBfU2C0970efJC+d4OqjARtUWg4OhhR9dfLIIu7u VfbTQOYDElBpvpcKkNyD5KJaZI0iYdJtPyTLNv7GikpV0bzqXZTHoKLBgGpF+fqxNcAg jSKm7b6BygSfdlBQiY+91EHYsAhc5A6ySZgEiTfRtpKxAV3MtmZnj1xMnVT6dX5Vs9HF ZJxknRBJdgbkOSHP+e6D21D62GHeda0Z4Z57Ct5lBDBkh9taEk2+Jm/z6vhHf8STXUeV w4eg== X-Gm-Message-State: ANoB5pnVkGi8zC3bPyklRPQyU+aWdTSvAMRqvTlacvsaPA4Pws/XabYU JfZp1iGQSiN4YIf9LarzIYtFeUGDIwmTIQ== X-Google-Smtp-Source: AA0mqf73X7nU2t7LvJS6RlzLxA+ZKPWNuDu+mGUHfnUAhZlguWjuLjJ+N5zF2t6qtR29B4MnF7I88w== X-Received: by 2002:ac8:4d0e:0:b0:39d:11a9:760d with SMTP id w14-20020ac84d0e000000b0039d11a9760dmr13686117qtv.139.1668953868497; Sun, 20 Nov 2022 06:17:48 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-29a0-035f-b06a-235e.res6.spectrum.com. [2603:6081:7b00:6400:29a0:35f:b06a:235e]) by smtp.gmail.com with ESMTPSA id bk23-20020a05620a1a1700b006ce580c2663sm6400114qkb.35.2022.11.20.06.17.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:17:48 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 206/241] global: Migrate CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3 to CFG Date: Sun, 20 Nov 2022 09:17:08 -0500 Message-Id: <20221120141743.3059310-7-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120141743.3059310-1-trini@konsulko.com> References: <20221120140829.3057894-90-trini@konsulko.com> <20221120141743.3059310-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Tom Rini --- arch/arm/mach-tegra/tegra30/cpu.c | 2 +- include/configs/cardhu.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-tegra/tegra30/cpu.c b/arch/arm/mach-tegra/tegra30/cpu.c index 651edd27ee87..1e2848b5049b 100644 --- a/arch/arm/mach-tegra/tegra30/cpu.c +++ b/arch/arm/mach-tegra/tegra30/cpu.c @@ -62,7 +62,7 @@ static void enable_cpu_power_rail(void) tegra_i2c_ll_write_addr(TPS62366A_I2C_ADDR, 2); tegra_i2c_ll_write_data(TPS62366A_SET1_DATA, I2C_SEND_2_BYTES); #endif -#ifdef CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3 +#ifdef CFG_TEGRA_VDD_CORE_TPS62361B_SET3 tegra_i2c_ll_write_addr(TPS62361B_I2C_ADDR, 2); tegra_i2c_ll_write_data(TPS62361B_SET3_DATA, I2C_SEND_2_BYTES); #endif diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index 722e09d43bf3..8079acc47c29 100644 --- a/include/configs/cardhu.h +++ b/include/configs/cardhu.h @@ -11,7 +11,7 @@ #include "tegra30-common.h" /* VDD core PMIC */ -#define CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3 +#define CFG_TEGRA_VDD_CORE_TPS62361B_SET3 /* High-level configuration options */ #define CFG_TEGRA_BOARD_STRING "NVIDIA Cardhu" diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index bb11839ede29..7b609b55e8cf 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -215,7 +215,7 @@ CFG_TEGRA_SLINK_CTRLS CFG_TEGRA_SPI CFG_TEGRA_UARTA_GPU CFG_TEGRA_UARTA_SDIO1 -CONFIG_TEGRA_VDD_CORE_TPS62361B_SET3 +CFG_TEGRA_VDD_CORE_TPS62361B_SET3 CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1 CONFIG_TESTPIN_MASK CONFIG_TESTPIN_REG -- 2.25.1