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 5D3F0C76196 for ; Thu, 6 Apr 2023 17:43:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2B90E8611C; Thu, 6 Apr 2023 19:41:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com 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=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="HW0z2AA+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 537AA86052; Thu, 6 Apr 2023 17:38:48 +0200 (CEST) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 9C2548606F for ; Thu, 6 Apr 2023 17:38:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jneanne@baylibre.com Received: by mail-wm1-x334.google.com with SMTP id n10-20020a05600c4f8a00b003ee93d2c914so25432475wmq.2 for ; Thu, 06 Apr 2023 08:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680795525; x=1683387525; 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=wqIwg4dDDA1sZ9lxbEW8l4gryer1So4n6TfvHvlR2/8=; b=HW0z2AA+ppsJ33BR6aQpe97FJnuFjyDmCCqDJbzKV+ajUyq2KIUxCXC9VVgHRyVJbP D23wLUoTx/yw4LCEca/Vj0RowJu0UcecbrpvZNVVG+0oTx5gyfhqcQb1p3YNld/ntn5T GtpdPUeD2TpeqgJbIjex5jqGmnblt4qA6OJ29UF7iNq0gpAaKLxbCYTTGGXaSJWR9a/P aKYC74+JZuCT9j/Kb5qCYZdzYxAkCx0bwQF7t3UEjbJ1POe5iOGTwTElDm1aDw40VLZz 8VAP88lI7LPEtB2jJGbZ82sG9IdsI/IZmyGW0e9ErIFgnoOBOjN3CRgK3yJSXedKvd/P vNaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680795525; x=1683387525; 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=wqIwg4dDDA1sZ9lxbEW8l4gryer1So4n6TfvHvlR2/8=; b=7fZyHlS9k0IKjm+B3LYw4jm2L8fZi3doKegSY2U1aa1eDrYcbatKKM6eEkSe6igcoj qEOi/fXqSbm4mns8HxxZTjBl+b2BzhcCRLR+C5aLSswDE6tN6OYfZVmgmMDQcv3o/MZU /8CeQcWKuUSF5M70hq1oR3vIwnC7SASIC4AMF/rhsemWpYQKc2UR7af3Son8aWJaKKxa 5u99Ytz/bzFjH1MqQpg5agApL+OcmDZCwNJEF3MCyPDRUVm35mRW1P2CERaRjsIPe+jZ 5fIQNwEaqNRzCW9dX6WAy2m5DHNaQqqTMbInV7NDFg205nLeDwqihYabobgJlIfGL+M+ 8z+w== X-Gm-Message-State: AAQBX9dHpuOUDGUe0HILKso2EYYjPz2SnmKxZLz2hquRU2eORLwIOsIx zLQxs1DmqeLYx/xsqcYNAhNTOQ== X-Google-Smtp-Source: AKy350aTo4ofrg4zfbpPyFZMmehXjbZzaCrBEdc+kTsLblL6UZaw57mIzY3R/rJ4++U2PfmDXAjftw== X-Received: by 2002:a05:600c:3b93:b0:3ed:2346:44bd with SMTP id n19-20020a05600c3b9300b003ed234644bdmr4608838wms.19.1680795525386; Thu, 06 Apr 2023 08:38:45 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id m21-20020a7bcb95000000b003ee4e99a8f6sm1891760wmi.33.2023.04.06.08.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 08:38:45 -0700 (PDT) From: Jerome Neanne To: vigneshr@ti.com, bb@ti.com, jh80.chung@samsung.com, nm@ti.com, g-vlaev@ti.com, d-gerlach@ti.com, jpanis@baylibre.com, jneanne@baylibre.com, vaishnav.a@ti.com, michal.simek@amd.com, j-keerthy@ti.com Cc: u-boot@lists.denx.de, sterzik@ti.com, u-kumar1@ti.com, eblanc@baylibre.com, khilman@baylibre.com Subject: [PATCH v1 9/9] DONOTMERGE: arm: dts: k3-am62a7-sk: Add TI TPS6593 PMIC support Date: Thu, 6 Apr 2023 17:38:20 +0200 Message-Id: <20230406153820.2800054-10-jneanne@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230406153820.2800054-1-jneanne@baylibre.com> References: <20230406153820.2800054-1-jneanne@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 06 Apr 2023 19:41:06 +0200 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 Add support for TPS6593 PMIC devices: - regulators (bucks and LDOs) on main I2C0 bus, - watchdog on MCU I2C0 bus. Signed-off-by: Julien Panis Signed-off-by: Jerome Neanne --- arch/arm/dts/k3-am62a7-sk-u-boot.dtsi | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi b/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi index 7fc749ed70..4b2e9f7d22 100644 --- a/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am62a7-sk-u-boot.dtsi @@ -84,7 +84,14 @@ }; &mcu_pmx0 { - u-boot,dm-spl; + status = "okay"; + + mcu_i2c0_pins_default: mcu_i2c0_pins_default { + pinctrl-single,pins = < + AM62X_MCU_IOPAD(0x044, PIN_INPUT_PULLUP, 0) /* (E12) MCU_I2C0_SCL */ + AM62X_MCU_IOPAD(0x048, PIN_INPUT_PULLUP, 0) /* (D9) MCU_I2C0_SDA */ + >; + }; }; &wkup_uart0 { @@ -96,7 +103,20 @@ }; &main_i2c0 { - u-boot,dm-spl; + tps659312: tps659312@48 { + compatible = "ti,tps659312"; + }; +}; + +&mcu_i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&mcu_i2c0_pins_default>; + + tps65931_wd: tps65931_wd@12 { + compatible = "ti,tps65941_watchdog"; + reg = <0x12>; + }; }; &main_i2c0_pins_default { -- 2.25.1