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 7005BC001DF for ; Fri, 4 Aug 2023 08:15:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 97D8286233; Fri, 4 Aug 2023 10:15:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 32830866C2; Fri, 4 Aug 2023 10:15:41 +0200 (CEST) Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 40CE985E44 for ; Fri, 4 Aug 2023 10:15:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=dolcini.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=francesco@dolcini.it Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id F2DCF20696; Fri, 4 Aug 2023 10:15:37 +0200 (CEST) Date: Fri, 4 Aug 2023 10:15:33 +0200 From: Francesco Dolcini To: Marcel Ziswiler , "n-francis@ti.com" Cc: "francesco@dolcini.it" , "nm@ti.com" , "u-kumar1@ti.com" , "weijie.gao@mediatek.com" , "kever.yang@rock-chips.com" , "u-boot@lists.denx.de" , "n-jain1@ti.com" , "philippe.reynes@softathome.com" , "marex@denx.de" , "hai.pham.ud@renesas.com" , "m-chawdhry@ti.com" , "jonas@kwiboo.se" , "jm@ti.com" , "william.zhang@broadcom.com" , "sjg@chromium.org" , "neil.armstrong@linaro.org" , "xypron.glpk@gmx.de" , "bb@ti.com" , "pali@kernel.org" , "frieder.schrempf@kontron.de" Subject: Re: [PATCH v5 3/3] board: toradex: add verdin am62 support Message-ID: References: <20230803140016.52846-1-marcel@ziswiler.com> <20230803140016.52846-4-marcel@ziswiler.com> <803b397b-f32f-ea97-ad81-2f5b20f35e4b@ti.com> <3c563be0-ec4f-54d2-6797-438cc839f15e@ti.com> <8ddf133a1c3399e9c395da8175033e7f7ca44d7d.camel@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8ddf133a1c3399e9c395da8175033e7f7ca44d7d.camel@toradex.com> 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 On Fri, Aug 04, 2023 at 08:12:36AM +0000, Marcel Ziswiler wrote: > Hi Neha > > On Fri, 2023-08-04 at 13:35 +0530, Neha Malcom Francis wrote: > > Hi Francesco > > > > On 04/08/23 13:24, Francesco Dolcini wrote: > > > On Fri, Aug 04, 2023 at 12:04:59PM +0530, Neha Malcom Francis wrote: > > > > On 03/08/23 19:30, Marcel Ziswiler wrote: > > > > > +       combined-sysfw-cfg { > > > > > +               filename = "combined-sysfw-cfg.bin"; > > > > > +               ti-board-config { > > > > > +                       board-cfg { > > > > > +                               config = "board-cfg.yaml"; > > > > > +                               schema = "../../ti/common/schema.yaml"; > > > > > +                       }; > > > > > +                       sec-cfg { > > > > > +                               config = "sec-cfg.yaml"; > > > > > +                               schema = "../../ti/common/schema.yaml"; > > > > > +                       }; > > > > > +                       pm-cfg { > > > > > +                               config = "pm-cfg.yaml"; > > > > > +                               schema = "../../ti/common/schema.yaml"; > > > > > +                       }; > > > > > +                       rm-cfg { > > > > > +                               config = "rm-cfg.yaml"; > > > > > +                               schema = "../../ti/common/schema.yaml"; > > > > > +                       }; > > > > > +               }; > > > > > +       }; > > > > > +}; > > > > > + > > > > > > > > ^ If you are already including k3-binman.dtsi, why are you redefining these? > > > > > > We want/need out own `config`. Any other solution apart of this one? > > > > > > > Ah I see, how about using the cfg phandle to replace it with your own? See > > example in arch/arm/dts/k3-j7200-binman.dtsi > > Yes, I missed that. Let me do it that way and post a v6. Will it work? in k3-binman.dtsi the schema is referenced with such relative path: `schema = "../common/schema.yaml";` there. There is an assumption of this being used from board/ti/$boardname if I understand it correctly. Francesco