From patchwork Fri May 5 14:14:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 13232707 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 A7EA8C7EE24 for ; Fri, 5 May 2023 14:15:12 +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:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jtm5ZzD41MXfiVECu1TRDpByIvcUEzgcnc57KstwjpU=; b=iSM7pKzVNlwuO+ 7a3wCPKx5hgUFHhpZDJ4Svqc2M/UcLcgGY180UrZjSfDoK+J8pODgnjdHmU4o+S/QT5zHNszqdLlR l3ulPRu6FqYU0SSJXpIV+d0vKrx1E8XZE0PdeXkZ1PRoC1fVunoiklYmihh2PZCsDzZCwRT1UW+GP Ge9tqyApi/WXrm57EUJmalsevCeX1TnrovMJai+8nJaA6qwECqgcruSf/6PXAS2fDl4q81OdsAqEi TQpM7IxP2+P9FmxYZ2BTL595aQDQs4FWcryty36/74Qid+OuSRZjivtrq2sBBXMNd17vYrVGvEsJ5 P/xq9hA98zaJc1LQM2sQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1puwCS-00B3uN-0y; Fri, 05 May 2023 14:14:20 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1puwCO-00B3tj-31 for linux-arm-kernel@lists.infradead.org; Fri, 05 May 2023 14:14:18 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 345EE97h126078; Fri, 5 May 2023 09:14:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683296049; bh=OVIMJEOTw58a5+zeZXdnuWbw6urjw5K0715hy8nuTNk=; h=From:To:CC:Subject:Date; b=Gg/ye8sl/ga21PKHywDBiTo+sbJTfaTkJ2iugWkorwIlH2mw5OXrp2SqhxlsxXHiI zNhech7D0likr9N/voff6F67zjBU/1CAQJPRaDfB7mCO+Sfm57Y50GuUlxJlrav23F 7ZpEo3aLRKT/+RFDv+BorweqCvu/YIgicPYIXuBo= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 345EE9mm000557 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 May 2023 09:14:09 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 5 May 2023 09:14:09 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 5 May 2023 09:14:08 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 345EE7xb022255; Fri, 5 May 2023 09:14:08 -0500 From: Vaishnav Achath To: , , , , , CC: , , , , Subject: [PATCH 0/4] arm64: dts: ti: j721e: Add HyperFlash support Date: Fri, 5 May 2023 19:44:03 +0530 Message-ID: <20230505141407.15134-1-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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-20230505_071417_136422_5EC334CA X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds hyperflash support for J721E. J721E SoC has HyperBus and OSPI controller muxed within the FSS subsystem and the J721E SoM has a 64 MiB S28 OSPI flash and a 64 MiB Hyperflash present which is muxed externally also. * Patch 1/4 adds the hyperbus controller nodes and fixes DT compile warnings. * Patch 2/4 adds the hyperflash support in the SoM DTS. * Patch 3 and 4/4 enables the pinmux for external mux that selects between hyperflash or OSPI NOR flash, this is done for J7200 and J721E platforms since it is required in U-Boot and helps keep the DT in sync. Patch 1/4 depends on the following patch: https://lore.kernel.org/all/20230424184810.29453-1-afd@ti.com/ Patch 3 depends on the below fix for pinmux offsets in J7200: https://lore.kernel.org/all/20230419040007.3022780-2-u-kumar1@ti.com/ Bootlog and basic hyperflash erase-write-read test: https://gist.github.com/vaishnavachath/be652108f3e360f1e2d41b499df844ef Thanks and Regards, Vaishnav Vaishnav Achath (4): arm64: dts: ti: k3-j721e-mcu-wakeup: Add HyperBus node arm64: dts: ti: k3-j721e-som-p0: Add HyperFlash node arm64: dts: ti: k3-j7200-common-proc-board: Add OSPI/Hyperflash select pinmux arm64: dts: ti: k3-j721e-common-proc-board: Add OSPI/Hyperflash select pinmux .../dts/ti/k3-j7200-common-proc-board.dts | 11 ++++++ .../dts/ti/k3-j721e-common-proc-board.dts | 11 ++++++ .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 25 +++++++++++-- arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 35 +++++++++++++++++++ 4 files changed, 80 insertions(+), 2 deletions(-)