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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3312BC433F5 for ; Mon, 11 Oct 2021 19:04:23 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 63C6760F23 for ; Mon, 11 Oct 2021 19:04:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 63C6760F23 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xs4all.nl Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DC5BA8331E; Mon, 11 Oct 2021 21:04:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xs4all.nl 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 896CE82BC0; Mon, 11 Oct 2021 21:00:23 +0200 (CEST) Received: from sibelius.xs4all.nl (sibelius.xs4all.nl [83.163.83.176]) (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 C3DE883299 for ; Mon, 11 Oct 2021 21:00:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xs4all.nl Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=mark.kettenis@xs4all.nl Received: from localhost (bloch.sibelius.xs4all.nl [local]) by bloch.sibelius.xs4all.nl (OpenSMTPD) with ESMTPA id 3f3ce0a5; Mon, 11 Oct 2021 21:00:11 +0200 (CEST) Date: Mon, 11 Oct 2021 21:00:11 +0200 (CEST) From: Mark Kettenis To: Rob Herring Cc: kettenis@openbsd.org, u-boot@lists.denx.de, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, sjg@chromium.org, andre.przywara@arm.com, jagan@amarulasolutions.com, festevam@gmail.com, kever.yang@rock-chips.com, priyanka.jain@nxp.com, pbrobinson@gmail.com, tharvey@gateworks.com, kostap@marvell.com, hs@denx.de, lokeshvutla@ti.com, dariobin@libero.it, bmeng.cn@gmail.com, narmstrong@baylibre.com, nandor.han@vaisala.com, sean.anderson@seco.com, xypron.glpk@gmx.de, claudiu.manoil@nxp.com, jjhiblot@ti.com, michael@walle.cc, patrick.delaunay@foss.st.com, joe.hershberger@ni.com, takahiro.akashi@linaro.org, frederic.danis@collabora.com, wasim.khan@nxp.com, mr.nuke.me@gmail.com, p.yadav@ti.com, jaeckel-floss@eyet-services.de, mbrugger@suse.com, nsaenz@kernel.org, ashe@kivikakk.ee, oliver.graute@kococonnector.com, anup.patel@wdc.com, stephan@gerhold.net, padmarao.begari@microchip.com, kishon@ti.com, tianrui-wei@outlook.com, hayashi.kunihiko@socionext.com, philippe.reynes@softathome.com, ye.li@nxp.com, sr@denx.de, weijie.gao@mediatek.com, michal.simek@xilinx.com, vabhav.sharma@nxp.com, andriy.shevchenko@linux.intel.com In-Reply-To: (message from Rob Herring on Mon, 11 Oct 2021 13:36:29 -0500) Subject: Re: [PATCH v2 6/7] arm: dts: apple: Add preliminary device trees References: <20211003183050.67925-1-kettenis@openbsd.org> <20211003183050.67925-7-kettenis@openbsd.org> Message-ID: X-Mailman-Approved-At: Mon, 11 Oct 2021 21:04:05 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean > From: Rob Herring > Date: Mon, 11 Oct 2021 13:36:29 -0500 Hi Rob, > On Sun, Oct 3, 2021 at 1:35 PM Mark Kettenis wrote: > > > > Add preliminary device trees for the Apple M1 mini (2020) and > > Apple M1 Macbook Pro 13" (2020). Device tree bindings for > > the Apple M1 SoC are still being formalized and these device > > trees will be synchronized with the Linux kernel as needed. > > So not synchronized currently? If it is sync'ed, you should specify > which version you got. Not synched at the moment. It is based on what was in 5.13 or 5.14, but with lots of stuff added so specifying a version would be misleading. It should be mostly aligned with the bindings that are making their way into 5.15 or 5.16 though. Hopefully now that the power domains are getting addressed we'll have something that can be synchronized soon. I was explicitly encouraged to start upstreaming the U-Boot code even though not all the DT bindings had been sorted out. > > These device trees are provided as a reference only as U-Boot > > uses the device tree passed by the m1n1 bootloader. > > If reference only, why do they need to be checked in here? We're > trying to get to fewer copies both of dtbs at runtime and dts files in > source trees. The U-Boot maintainers insist there is a DT for each supported system in the U-Boot tree. > I mainly bring it up here because this is a platform with multiple OS > targets, following the model that DT comes from the firmware, and > should be free of schema validation warnings. In other words, it's a > good candidate to define best practices. You're preaching to the choir ;). Must admit that it is somewhat convenient for me to have a somewhat complete DT for these devices at the moment. But in the long run I think it will just confuse people. That said, I plan to be aggressive in keeping the U-Boot tree synchronized with Linux. Cheers, Mark