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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3876FC77B60 for ; Wed, 26 Apr 2023 12:49:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yIfHWtDOe0qQZzo+7ZHBBKS0eo/sJzs/EUwIdwJYDTU=; b=rQW3jR5k6BYrb3 KP27j/W71KOZBm4T1pXSwy6NFskK+Rfgjdze+WOPH4teYVJuEKSkIj15bybONQrvev1pigDWVN98Z i9GWKHtQyZvNaOtyQZgfuls0F1OB6BALr13ik6wMVwQiIAwny9jz1MBhh7GGIPAZ18Z+NSp1/rc/V Y3DiYvh0SucWGwpYjicYjq+TGyQ7CGAxhgblNSnAMP20gA3XCOlqhwcmW8FpY6iozE7gr/z4f9oTh cC0eFpkSQqkivHmigg29K2S8lpsmz0zCL2bPkr5PrpLCReCa2t1LA7ykTWgjSK8AXuGpYilnUUJeT pUYGDsHFhTl9pkTotfog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1preZw-003y9E-33; Wed, 26 Apr 2023 12:49:00 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1preZt-003y7l-1u for linux-arm-kernel@lists.infradead.org; Wed, 26 Apr 2023 12:48:59 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33QCmnPh037978; Wed, 26 Apr 2023 07:48:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682513329; bh=3ws5zKPEfE4Ifd7md6CIVe5EF0uPGAT8qRb1QnaTW+I=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=QUmzRSSuVi3nL8guNvwc+BDHUpAWMcLjRsakB7HIRTxEK+dUP4jhgvdRY0PGr3Srh jSQjc/x/g9t50TNzRDkXh8NGgAW/5kfV5zu6bl6WJ1UC0tH/sHvdhK0W89+XaIZdPO /zd/HvuIpDUSW6AFUCNSKYTpz/DrCXzVObPiKZ2g= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33QCmnnh117303 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Apr 2023 07:48:49 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 26 Apr 2023 07:48:48 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 26 Apr 2023 07:48:48 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33QCmmpU019878; Wed, 26 Apr 2023 07:48:48 -0500 Date: Wed, 26 Apr 2023 07:48:48 -0500 From: Nishanth Menon To: Udit Kumar CC: , , , , , , , , Subject: Re: [PATCH 5/5] arm64: dts: ti: k3-j7200: Add bootph-pre-ram for u-boot Message-ID: <20230426124848.2af7ombywlsqkbva@autistic> References: <20230426103219.1565266-1-u-kumar1@ti.com> <20230426103219.1565266-6-u-kumar1@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230426103219.1565266-6-u-kumar1@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230426_054857_710961_9585CAEA X-CRM114-Status: GOOD ( 15.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16:02-20230426, Udit Kumar wrote: > Adding bootph-pre-ram property for pin mux needed by > uboot. > > Signed-off-by: Udit Kumar > --- > arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 5 +++++ > arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 3 +++ > 2 files changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > index 2cdfd957dd12..1bcb94aec588 100644 > --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > @@ -81,7 +81,9 @@ vdd_sd_dv: gpio-regulator-TLV71033 { > }; > > &wkup_pmx0 { > + bootph-pre-ram; > mcu_uart0_pins_default: mcu_uart0_pins_default { > + bootph-pre-ram; > pinctrl-single,pins = < > J721E_WKUP_IOPAD(0xf4, PIN_INPUT, 0) /* (D20) MCU_UART0_RXD */ > J721E_WKUP_IOPAD(0xf0, PIN_OUTPUT, 0) /* (D19) MCU_UART0_TXD */ > @@ -91,6 +93,7 @@ J721E_WKUP_IOPAD(0xfc, PIN_OUTPUT, 0) /* (E21) MCU_UART0_RTSn */ > }; > > wkup_uart0_pins_default: wkup_uart0_pins_default { > + bootph-pre-ram; > pinctrl-single,pins = < > J721E_WKUP_IOPAD(0xb0, PIN_INPUT, 0) /* (B14) WKUP_UART0_RXD */ > J721E_WKUP_IOPAD(0xb4, PIN_OUTPUT, 0) /* (A14) WKUP_UART0_TXD */ > @@ -125,7 +128,9 @@ J721E_WKUP_IOPAD(0x0030, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */ > }; > > &main_pmx0 { > + bootph-pre-ram; > main_uart0_pins_default: main_uart0_pins_default { > + bootph-pre-ram; > pinctrl-single,pins = < > J721E_IOPAD(0xb0, PIN_INPUT, 0) /* (T16) UART0_RXD */ > J721E_IOPAD(0xb4, PIN_OUTPUT, 0) /* (T17) UART0_TXD */ > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > index 269424154771..d2500837a0e8 100644 > --- a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > @@ -119,7 +119,9 @@ J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */ > }; > > &wkup_pmx2 { > + bootph-pre-ram; > wkup_i2c0_pins_default: wkup-i2c0-pins-default { > + bootph-pre-ram; > pinctrl-single,pins = < > J721E_WKUP_IOPAD(0x98, PIN_INPUT_PULLUP, 0) /* (F20) WKUP_I2C0_SCL */ > J721E_WKUP_IOPAD(0x9c, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */ > @@ -129,6 +131,7 @@ J721E_WKUP_IOPAD(0x9c, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */ > > &main_pmx0 { > main_i2c0_pins_default: main-i2c0-pins-default { > + bootph-pre-ram; > pinctrl-single,pins = < > J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */ > J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */ > -- > 2.34.1 > There are a bunch of other nodes that neeed bootph-pre-ram -> lets first ensure all the nodes needed for u-boot is present (esm is still in discussion) then add bootph-pre-ram and related ones in a follow on series. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel