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 F196BC433EF for ; Sat, 12 Mar 2022 07:12:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9E9DF83AFF; Sat, 12 Mar 2022 08:11:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1647069110; bh=8zLkLGqAEpb20ICc5nFRX0McfPBcdpLc1gsUOvTgqpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=I1azG0QswfzcLMmig1fpL5hZRZIXEmvVrkzbZI97odRsDom2UGzjBdHCj+uy0OLlH hEDc90hpop3px7Jo0tsPcivpeaHrZglB5a9pftU6I6L3n9bqi88HTQ5WC9KWEEK+fW 5ysA/iXTHnkcgh5ToatRWTDlezfJSV9EW0C0T3q1kKjVYFlA/ot+ucCd3MkQ2nHzs3 REZOiNlteIG0NzcSIKLJEcyGmxQPb+zI70UCy47GIqa8rHSRHDlnWbcYX7kUFFmr86 cqg/AJiW4UDhYuWwuiXxnZEa04HiTboAn2MJkoKPPYQK71GHwAkMugdDmnbJc+lqOV MsNjRJR5E1Hiw== Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7FFEA83A8A; Sat, 12 Mar 2022 08:11:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1647069093; bh=8zLkLGqAEpb20ICc5nFRX0McfPBcdpLc1gsUOvTgqpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XDpYpn/tMQauAYZv0DtW2cRCeTMLJeT7uBpH+L9YM4jO/6cS+NTp3nZ/ucNVYya28 BlpRv9UFPDr0BqRbnlLP8FLvyD7jwJqRxx1SuER7FBcQjPuK6QfumDMMPwEZMqOQbq CadTtv4jSCr2U/BzaqbZT/bBMyAS+ydXoizWY8FZw+BkRfN50z6aq5UqqTzbk592+9 isQQ/im2lRSOdTFRdVK4BS5TAiRvMQz9RC92jXkh09JeXRXmK9JeqvY+bgJpNDmvRj AD+4R8zoEP+GMVMTpaRtxMfHpD/0RFdezx04aqrqS1JlDX8BQrY5uJxzE8CQyn+KTn zJm2nwK9jHLYQ== From: Lukasz Majewski To: Tom Rini , u-boot@lists.denx.de Cc: Lukasz Majewski , "Andrew F. Davis" Subject: [PATCH v2 3/3] defconfig: Enable DM_PMIC and DM PMIC_TPS65217 on AM335x EVM board Date: Sat, 12 Mar 2022 08:11:12 +0100 Message-Id: <20220312071112.5276-3-lukma@denx.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220312071112.5276-1-lukma@denx.de> References: <20220312071112.5276-1-lukma@denx.de> 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.5 at phobos.denx.de X-Virus-Status: Clean As this board now supports DM_I2C, it is safe for it to also use the DM converted PMIC tps65217 driver. Signed-off-by: Lukasz Majewski --- Changes in v2: - Move the Kconfig definition for PMIC to patch, which adds support for DM configs/am335x_boneblack_vboot_defconfig | 3 +++ configs/am335x_evm_defconfig | 3 +++ configs/am335x_evm_spiboot_defconfig | 3 +++ configs/am335x_hs_evm_defconfig | 3 +++ configs/am335x_hs_evm_uart_defconfig | 3 +++ include/configs/am335x_evm.h | 1 - 6 files changed, 15 insertions(+), 1 deletion(-) diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig index c79ffde91c..d46b2ac470 100644 --- a/configs/am335x_boneblack_vboot_defconfig +++ b/configs/am335x_boneblack_vboot_defconfig @@ -64,6 +64,9 @@ CONFIG_DM_ETH=y CONFIG_PHY_GIGE=y CONFIG_MII=y CONFIG_DRIVER_TI_CPSW=y +CONFIG_DM_PMIC=y +# CONFIG_SPL_DM_PMIC is not set +CONFIG_PMIC_TPS65217=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_OMAP3_SPI=y diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index 33d0fb818f..7f7556971b 100644 --- a/configs/am335x_evm_defconfig +++ b/configs/am335x_evm_defconfig @@ -83,6 +83,9 @@ CONFIG_DM_ETH=y CONFIG_PHY_GIGE=y CONFIG_MII=y CONFIG_DRIVER_TI_CPSW=y +CONFIG_DM_PMIC=y +# CONFIG_SPL_DM_PMIC is not set +CONFIG_PMIC_TPS65217=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_OMAP3_SPI=y diff --git a/configs/am335x_evm_spiboot_defconfig b/configs/am335x_evm_spiboot_defconfig index f8acb7e1a9..f7be718b58 100644 --- a/configs/am335x_evm_spiboot_defconfig +++ b/configs/am335x_evm_spiboot_defconfig @@ -77,6 +77,9 @@ CONFIG_PHY_SMSC=y CONFIG_DM_ETH=y CONFIG_MII=y CONFIG_DRIVER_TI_CPSW=y +CONFIG_DM_PMIC=y +# CONFIG_SPL_DM_PMIC is not set +CONFIG_PMIC_TPS65217=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_OMAP3_SPI=y diff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig index 993fbbcd39..fbb2d1f382 100644 --- a/configs/am335x_hs_evm_defconfig +++ b/configs/am335x_hs_evm_defconfig @@ -70,6 +70,9 @@ CONFIG_PHY_SMSC=y CONFIG_DM_ETH=y CONFIG_MII=y CONFIG_DRIVER_TI_CPSW=y +CONFIG_DM_PMIC=y +# CONFIG_SPL_DM_PMIC is not set +CONFIG_PMIC_TPS65217=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_OMAP3_SPI=y diff --git a/configs/am335x_hs_evm_uart_defconfig b/configs/am335x_hs_evm_uart_defconfig index ecb0526c33..b7008025de 100644 --- a/configs/am335x_hs_evm_uart_defconfig +++ b/configs/am335x_hs_evm_uart_defconfig @@ -72,6 +72,9 @@ CONFIG_PHY_SMSC=y CONFIG_DM_ETH=y CONFIG_MII=y CONFIG_DRIVER_TI_CPSW=y +CONFIG_DM_PMIC=y +# CONFIG_SPL_DM_PMIC is not set +CONFIG_PMIC_TPS65217=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_OMAP3_SPI=y diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 7b02d91e47..42660f09d6 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -166,7 +166,6 @@ #define CONFIG_SYS_NS16550_COM6 0x481aa000 /* UART5 */ /* PMIC support */ -#define CONFIG_PMIC_TPS65217 #define CONFIG_POWER_TPS65910 /* SPL */ -- 2.20.1