Message ID | 20230503091218.25899-1-vaishnav.a@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1190988vqo; Wed, 3 May 2023 02:29:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qeDS/XxGyPL888LJxtq3dGSQc48Or2qm6cRCeb1FcwQsvJX7+c6L7WCfhMyE9Ko6k7ZrI X-Received: by 2002:a05:6a20:8415:b0:f2:1141:9d20 with SMTP id c21-20020a056a20841500b000f211419d20mr1870524pzd.24.1683106181664; Wed, 03 May 2023 02:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683106181; cv=none; d=google.com; s=arc-20160816; b=QavAXdil9rbvE18NdnqpFxwvxKZRIqCTOdRvbrgiybv4uCfpeqxf93/6ykHj9oKoXC yp3boVDltR8ZxukegFVQEm+ROizzGroG0sWYB8HRuIzQsmfi3FkBa7er7/bflxgzULvT by5YtUCh4pLFYT1ItvSnXFMgafOgplEutXjwdlHtH5wAunjDC55AYxWWG1W9UpuBiFZn FipmgTYX+GvdNq+HiJEPTdEHjhvmPFGz7SH3V/d9QYiue05nbbmYnaDGuhP3JiMx1nZp 1hnMT9ItKDWnQQdFFN+W+RdXjJeiCiFWYL+opivdEZnJ4zy+Itt9Gydc6ZnAUc94Tq5I 3WMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=3YA2PMZcSKiIdt6cUAIQp//I/c7gz0wH0GeQMzN9cPc=; b=PExCYqgmy60c1XadOupsQdCZqawc7cbyjGuAub1s68HgfpySxdLLH2yCIKYtY/dBUi k9uHGwQRsSiDA5Ob0OJeaHcGJfovRJfT6NQoSFGUxkRBYQCFCregO4R99n7KNDpFeI4w qqSmvVdMkdWaljU4rziQuOuDG8CuF1+yKV5WPjn02Blc8p5mat/RmjgoJRRkaRXVIGzd JQ9Z/oAAQFYPH2t0BmE/1xhlVFgYoLKs3udIyNyCG4k6kTjKT3LpzcFqQmReWu1IsICr MoaxcqI5NJjPAMVsVrjTnBDHeFMpOXqMk/JKcdOC5/vrof3I+h2R9V4KDpe4yFk76u8J t8TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="BkfFOy/C"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y63-20020a638a42000000b0051b930b2b4esi2858876pgd.620.2023.05.03.02.29.29; Wed, 03 May 2023 02:29:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="BkfFOy/C"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229463AbjECJMy (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Wed, 3 May 2023 05:12:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbjECJMu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 3 May 2023 05:12:50 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 829B059EB; Wed, 3 May 2023 02:12:29 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3439CKGK129044; Wed, 3 May 2023 04:12:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683105140; bh=3YA2PMZcSKiIdt6cUAIQp//I/c7gz0wH0GeQMzN9cPc=; h=From:To:CC:Subject:Date; b=BkfFOy/CqekJXqD9miVSERLWu4bEP7wTAxim2d/lSf1EJg1qTjGMhuywQ177BodIZ bnJiSCpmIfsd6zKLDkAivgULwwVlgyhR+Znb53/jb4EEwEvVjNG5eHVGw8JCVsNvGM r/BeEgM4+zfVNlFXo/5ObsrxeqUEXaOSBDlQmbWg= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3439CK7i036422 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 3 May 2023 04:12:20 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 3 May 2023 04:12:20 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE110.ent.ti.com (157.170.170.21) 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; Wed, 3 May 2023 04:12:20 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3439CI2j066026; Wed, 3 May 2023 04:12:19 -0500 From: Vaishnav Achath <vaishnav.a@ti.com> To: <nm@ti.com>, <kristo@kernel.org>, <vigneshr@ti.com>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org> CC: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <u-kumar1@ti.com>, <vaishnav.a@ti.com> Subject: [PATCH 0/4] arm64: dts: ti: Describe flash partitions for J7 platforms Date: Wed, 3 May 2023 14:42:14 +0530 Message-ID: <20230503091218.25899-1-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764864747856114025?= X-GMAIL-MSGID: =?utf-8?q?1764864747856114025?= |
Series |
arm64: dts: ti: Describe flash partitions for J7 platforms
|
|
Message
Vaishnav Achath
May 3, 2023, 9:12 a.m. UTC
This series adds flash partition description through DT, currently the flash partitions for J7 platforms is described through the mtdparts commandline parameter passed from bootloader, this requires maintenance of the partition information in a mtdparts string which is error prone. Once the flash partitions are described through DT, the support for mtdparts can be removed for these platforms from u-boot also. Vaishnav Achath (4): arm64: dts: ti: k3-j721e-som: Describe OSPI flash partition info arm64: dts: ti: k3-j721e-som: Describe QSPI flash partition info arm64: dts: ti: k3-j721e-sk: Describe OSPI flash partition info arm64: dts: ti: k3-j7200-som: Describe OSPI and Hyperflash partition info arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 72 +++++++++++++++++++ .../dts/ti/k3-j721e-common-proc-board.dts | 46 ++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 46 ++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 46 ++++++++++++ 4 files changed, 210 insertions(+)
Comments
On 14:42-20230503, Vaishnav Achath wrote: > This series adds flash partition description through DT, currently > the flash partitions for J7 platforms is described through the mtdparts > commandline parameter passed from bootloader, this requires maintenance > of the partition information in a mtdparts string which is error prone. > > Once the flash partitions are described through DT, the support for > mtdparts can be removed for these platforms from u-boot also. > > Vaishnav Achath (4): > arm64: dts: ti: k3-j721e-som: Describe OSPI flash partition info > arm64: dts: ti: k3-j721e-som: Describe QSPI flash partition info > arm64: dts: ti: k3-j721e-sk: Describe OSPI flash partition info > arm64: dts: ti: k3-j7200-som: Describe OSPI and Hyperflash partition > info > > arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 72 +++++++++++++++++++ > .../dts/ti/k3-j721e-common-proc-board.dts | 46 ++++++++++++ > arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 46 ++++++++++++ > arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 46 ++++++++++++ > 4 files changed, 210 insertions(+) Please address the feedback in [1] prior to adding the partitions? and could you ensure it is done for all the impacted k3 SoCs? [1] https://lore.kernel.org/all/f5861b8b-637a-e127-2945-8994a472015a@ti.com/
Hi Nishanth, On 03/05/23 17:21, Nishanth Menon wrote: > On 14:42-20230503, Vaishnav Achath wrote: >> This series adds flash partition description through DT, currently >> the flash partitions for J7 platforms is described through the mtdparts >> commandline parameter passed from bootloader, this requires maintenance >> of the partition information in a mtdparts string which is error prone. >> >> Once the flash partitions are described through DT, the support for >> mtdparts can be removed for these platforms from u-boot also. >> >> Vaishnav Achath (4): >> arm64: dts: ti: k3-j721e-som: Describe OSPI flash partition info >> arm64: dts: ti: k3-j721e-som: Describe QSPI flash partition info >> arm64: dts: ti: k3-j721e-sk: Describe OSPI flash partition info >> arm64: dts: ti: k3-j7200-som: Describe OSPI and Hyperflash partition >> info >> >> arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 72 +++++++++++++++++++ >> .../dts/ti/k3-j721e-common-proc-board.dts | 46 ++++++++++++ >> arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 46 ++++++++++++ >> arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 46 ++++++++++++ >> 4 files changed, 210 insertions(+) > > Please address the feedback in [1] prior to adding the partitions? and > could you ensure it is done for all the impacted k3 SoCs? > I will do both of these in corresponding next revisions. Thanks and Regards, Vaishnav > > [1] https://lore.kernel.org/all/f5861b8b-637a-e127-2945-8994a472015a@ti.com/ >