From patchwork Sun Nov 20 13:30:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1706808 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=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=BlEhyroE; 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 4NFX5c0v6sz23lt for ; Mon, 21 Nov 2022 00:52:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 31549851DB; Sun, 20 Nov 2022 14:38:19 +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="BlEhyroE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 135A28529F; Sun, 20 Nov 2022 14:38:14 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 B1D648528A for ; Sun, 20 Nov 2022 14:34:25 +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-x829.google.com with SMTP id h24so5890379qta.9 for ; Sun, 20 Nov 2022 05:34:25 -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=Sc0n3xTzAs1VzxFQKG4Kqz1yIEvgatL7YJUCxMHT2Vc=; b=BlEhyroEE93ZT1vRSOaCf9aV3GIu+2GDPEi2Kuj+P+t6lPtPV2wn/ZWzGlrhml/AYA d9CmllXiE7xnUnLQWwlrB/Dm6+1KNcSpwvsDUJ2oJbNYzIRSxUa4hDA832bfGx7GuLeG cTsbrt0W0F7PrSKjO66Eymz0W4c6cxUCSP51M= 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=Sc0n3xTzAs1VzxFQKG4Kqz1yIEvgatL7YJUCxMHT2Vc=; b=Ugi+N164/SIjWD2b2F8e+9JCB0yaW5p8gkueZ7CteB8ZBbgQezGxyiS+pJWiruE7/i daatDHyOVyqdWIeXyjckBrXAlvKi3XQd5j3xsLW6EbS8wWPPJTUjyZQlhLiQ7IfCpDb6 7XRWN3alGW4f34nuXOtH9NmWeswwGseCDCA7rQ8atbocr9bivg3DndF09TtEJ4+fwi7a aao3UnZfEKPI1LOBO0PwgSa0SVrDDtD9iZjP6tKQoOXjO5DkO7XIDa/8EK68T/qHwEXG obPDAmZohsheCw9MI+e7zd4x696veDByRZlxv2/tHAims57whmTpXKmQWiChzrts0sAe vNTw== X-Gm-Message-State: ANoB5pkUNEOc/XzEIr93OK78zBBJQD6ZBNiSOm7tkS6TyE7yANwz85xq a7dRd9WEMT/zu3H3OS0JmTNqr3mpgqy73A== X-Google-Smtp-Source: AA0mqf57LWG9/gVNHTUQPtRHKZ0xKIf8BzA/hyRef+ADiCzlS0plG6s5r5BAXT4rDPdAm6hm/dDllQ== X-Received: by 2002:ac8:74d2:0:b0:3a5:26e0:ffc3 with SMTP id j18-20020ac874d2000000b003a526e0ffc3mr14087899qtr.391.1668951264230; Sun, 20 Nov 2022 05:34:24 -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 m21-20020a05620a24d500b006ce0733caebsm6487740qkn.14.2022.11.20.05.34.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:23 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 041/241] global: Migrate CONFIG_FSL_PMIC_CLK to CFG Date: Sun, 20 Nov 2022 08:30:32 -0500 Message-Id: <20221120133352.3055600-42-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120133352.3055600-1-trini@konsulko.com> References: <20221119234545.404563-38-trini@konsulko.com> <20221120133352.3055600-1-trini@konsulko.com> 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 Signed-off-by: Tom Rini --- drivers/power/power_fsl.c | 2 +- include/configs/mx51evk.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c index eace4dd7e433..a576d1570b11 100644 --- a/drivers/power/power_fsl.c +++ b/drivers/power/power_fsl.c @@ -40,7 +40,7 @@ int pmic_init(unsigned char bus) #if defined(CONFIG_POWER_SPI) p->interface = PMIC_SPI; p->hw.spi.cs = CONFIG_FSL_PMIC_CS; - p->hw.spi.clk = CONFIG_FSL_PMIC_CLK; + p->hw.spi.clk = CFG_FSL_PMIC_CLK; p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN; p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 1aaa76240deb..ee0782ebfebf 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -23,7 +23,7 @@ /* PMIC Controller */ #define CFG_FSL_PMIC_BUS 0 #define CONFIG_FSL_PMIC_CS 0 -#define CONFIG_FSL_PMIC_CLK 2500000 +#define CFG_FSL_PMIC_CLK 2500000 #define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH) #define CFG_FSL_PMIC_BITLEN 32 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 3b9ec9d59f61..d006554e3d2b 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -41,7 +41,7 @@ CFG_FSL_FM_10GEC_REGULAR_NOTATION CFG_FSL_ISBC_KEY_EXT CFG_FSL_PMIC_BITLEN CFG_FSL_PMIC_BUS -CONFIG_FSL_PMIC_CLK +CFG_FSL_PMIC_CLK CONFIG_FSL_PMIC_CS CONFIG_FSL_PMIC_MODE CONFIG_FSL_SDHC_V2_3