From patchwork Sun Oct 1 18:14:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Apurva Nandan X-Patchwork-Id: 14789 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1164719vqb; Sun, 1 Oct 2023 20:10:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFr5I1UEhovTnKUZ9xtctZASsQseFqjq3q+QGJQi41NFn8eHiUKr7hpr7sSXQbZ28fNvqi3 X-Received: by 2002:a05:6870:3308:b0:1be:f311:4a29 with SMTP id x8-20020a056870330800b001bef3114a29mr12559874oae.20.1696216215629; Sun, 01 Oct 2023 20:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696216215; cv=none; d=google.com; s=arc-20160816; b=TtcE4u0MibIP0Bfo1Xl0LdL8vqCTVaOyVjtbyboPDlxz9b6woOD6tE881lDKBGZ0cU DsjeWPht99P25QrBXQ4+Hp8mzv/9qFTBMuCG4VeVGoWW/be+lKrTq7+SC1eycuugeyki Pe/mQA3SDgCC4n2I4wg6HaC9dQhH497Uz+OlHGm6fe+Ia7dnqEhZZWFkmOSp5OlhDWnK sHQLwUjd6OiDWTZ8+xd5Jgv6NQ6Wwlk7eoFx3iX5aDu1OVvp+MbLwhohBRPpqegdcgWZ De9fFPNb7zL+c66tAgGwCzrE4AZmPCdjEX7zkch2ISv8S8f1mQHaSlbZhP9YdtN125/5 CGkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=O5rdSdlyu4updCwA3s54d2+oQ8P77FGDsfrVMd0oaJc=; fh=2m+hmwDAPWlxzxGknVDJJN3AOKobNasKPSyWMVmTtbA=; b=x6eu7toHywF/tkjlYZLg3QynF6x/Erhcw5Tai1htVEtBnBeMEP3rCVU8uT83F0MFpH SMPbJYvtdOTDgX8uisI8p1l+SL7rq0apfQqQfELpNiAF2GFLNe8KF+1Mw/DToxhnsWkZ O8MOsY0HAaxAVy8XlKGzxHG/oIOKONIjdn9gi7HEIHaE01A3vIPCHQnFJT6Pqhkj4o+Y pm1ZC7gYEySBjHscEmEreY+01N0cCTm4sHeaau14h8cFauK52Aq9ajLkFDonxhSwwET4 Ah5WEujuQ/B2sYdFbAb6Sz984RNLkcLEH+GH1gSSDWMMBbbl0uPVgMnuGo2GvheZbbpy 9PrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XHuVCaR2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id h2-20020a631202000000b0056546b5fef5si24846657pgl.561.2023.10.01.20.10.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 20:10:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XHuVCaR2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C7AF88025BEE; Sun, 1 Oct 2023 11:14:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235280AbjJASOj (ORCPT + 18 others); Sun, 1 Oct 2023 14:14:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233932AbjJASOi (ORCPT ); Sun, 1 Oct 2023 14:14:38 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338F7C6; Sun, 1 Oct 2023 11:14:35 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 391IELYD032646; Sun, 1 Oct 2023 13:14:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696184061; bh=O5rdSdlyu4updCwA3s54d2+oQ8P77FGDsfrVMd0oaJc=; h=From:To:Subject:Date; b=XHuVCaR2C+fLzVKrTQ1+YSQRtBSUiv0A1sToDjAfY6ZfqRRsf08iiMIxvyVokNDUx 9enLUoEP+mF8LtZAnEkLb1luNquaPNlkRgIa5Ak9mzHogOhGhJDdzxQZX5hXpk2vP7 tMiIm1HuwkL64gZvHxVjFKk9SbNALP4ZCcc+SahA= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 391IELJY004802 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 1 Oct 2023 13:14:21 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 1 Oct 2023 13:14:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE105.ent.ti.com (10.64.6.26) 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; Sun, 1 Oct 2023 13:14:21 -0500 Received: from TI.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 391IEHtn063395; Sun, 1 Oct 2023 13:14:18 -0500 From: Apurva Nandan To: Apurva Nandan , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , Hari Nagalla , Udit Kumar Subject: [PATCH v5 0/9] Add R5F and C7x DSP node for K3 J721S2, AM68 and AM69 SoCs Date: Sun, 1 Oct 2023 23:44:08 +0530 Message-ID: <20231001181417.743306-1-a-nandan@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 01 Oct 2023 11:14:53 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778611614582853785 X-GMAIL-MSGID: 1778611614582853785 This series adds the R5F processor nodes and C7x DSP nodes for J721S2, AM68 and AM69 SoCs to align these nodes with other K3 SOC's node. The first three patches adds the remote proc nodes to the SoC device tree, remaining patches reserves the memory for remote proc IPCs on K3 J721S2 EVM, AM68 SK, AM69 boards. Note, K3 AM69 SoC derives from K3 J784S4 SoC, but is included in this series as it was originally missed in the K3 J784S4 EVM rproc series. (https://lore.kernel.org/all/20230502231527.25879-4-hnagalla@ti.com/). kpv log: https://gist.githubusercontent.com/apurvanandan1997/57fcf127c118a48bd174ce36d8840329/raw/ Test log: https://gist.githubusercontent.com/apurvanandan1997/556b4148651ae74b50dda993ad07f1e5/raw/ v5: Changelog: 1) Rebased patches on top of next-20230929 tag, no other change Link to v4: https://lore.kernel.org/linux-arm-kernel/20230906112422.2846151-1-a-nandan@ti.com/ v4: Changelog: 1) Added R5F and C7x nodes for K3 AM68 and AM69 SoCs Link to v3: https://lore.kernel.org/linux-arm-kernel/20230811202252.3586926-1-a-nandan@ti.com/ v3: Changelog: 1) Disabled c7x in k3-j721s2-main.dtsi and enabled in k3-j721s2-som-p0.dtsi which fixes the following dtbs_check for k3-am69-sk.dts - dsp@64800000: 'mboxes' is a required property - dsp@64800000: 'memory-region' is a required property 2) Split into separate patches for C7x and R5F Link to v2: https://lore.kernel.org/lkml/20230808201842.292911-1-a-nandan@ti.com/ v2:Changelog: 1) Added status = "disabled"; in soc dtsi files, and removed it from som dts 2) Fixed mboxes property in for all cores in som dts Link to v1: https://lore.kernel.org/all/20230529220941.10801-1-hnagalla@ti.com/ Apurva Nandan (9): arm64: dts: ti: k3-j721s2-mcu: Add MCU R5F cluster nodes arm64: dts: ti: k3-j721s2-main: Add MAIN R5F remote processsor nodes arm64: dts: ti: k3-j721s2-main: Add C7x remote processsor nodes arm64: dts : ti: k3-j721s2-som-p0: Add DDR carveout memory nodes for R5F arm64: dts : ti: k3-j721s2-som-p0: Add DDR carveout memory nodes for C71x DSPs arm64: dts : ti: k3-am68-sk-som: Add DDR carveout memory nodes for R5F arm64: dts : ti: k3-am68-sk-som: Add DDR carveout memory nodes for C71x DSP arm64: dts : ti: k3-am69-sk: Add DDR carveout memory nodes for R5F arm64: dts : ti: k3-am69-sk: Add DDR carveout memory nodes for C71x DSP arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 208 ++++++++++++ arch/arm64/boot/dts/ti/k3-am69-sk.dts | 304 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 106 ++++++ .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 40 +++ arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 208 ++++++++++++ 5 files changed, 866 insertions(+)