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 A3E7AC433F5 for ; Fri, 29 Apr 2022 14:57:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0BFEA83B19; Fri, 29 Apr 2022 16:57:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="kmSePpr2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F25BE83A9F; Fri, 29 Apr 2022 16:57:17 +0200 (CEST) Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E8ED683B19 for ; Fri, 29 Apr 2022 16:57:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf34.google.com with SMTP id q13so5531946qvk.3 for ; Fri, 29 Apr 2022 07:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=FgHP5WdVZ/5V560HILb6yaXPxVvEZhNQAi51wkYjfE8=; b=kmSePpr2OrMMZxcVmktqKEl+LfLOilbqjyWb1zDtfTpRcfR5DfxdClGE22cPFQGnjO r3pewPIQnMz/DPZyX7OYuuqX8d6R79ZNvvhN78kUL1J90k6ci/sA3+slbwOfjSUeHzBA jc41qo5rjkkp//jALotLIiip+/zmSoOYJ/B94= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=FgHP5WdVZ/5V560HILb6yaXPxVvEZhNQAi51wkYjfE8=; b=zBupouhhOZmNdXZVtghW9+Zkd/YbT2/bRHC2+xkekkd6TUuqJ1Xevsm95PcUgNjMoP 0Ht5xEgvR+uy/XrF5Ne9uYsgCCFgFzfwom/ikaFJu1Z3Ko9OqAi9NkvCSc5fBaNPMskq zVq51v4ZMzQ+qjKpgsMuNpedKwetyA5WMglfS9t+hSW+8pya2M5JclbvoS96Zqh6T6V7 RbNTyEbpqZvx5sBJKa9K1TMUthW3oFjLC8ktZn2Amcm92VmKd5RspfoCXxjB6ZIFDfnj g5QxzPlNpTQ0UkIjemOoLK5PEZXKo4MpCNwA91Mr1zXzdfyzE29G03koWaajzJpikKEK vozw== X-Gm-Message-State: AOAM533xivZCleMMn7tc2C60Vnt0PHYUqx4kRd3ivG8RpwavRGzoc0nx HTds66rfl2Eo95BvSqLKaoyUbw== X-Google-Smtp-Source: ABdhPJxhZZSXgEcMEQhe59RbxEqQvOl1FAuNJEJcXvnBzv6PxzDS/09dIC67U3htCQm80AmWxWIdfQ== X-Received: by 2002:a05:6214:e4b:b0:456:5325:5b06 with SMTP id o11-20020a0562140e4b00b0045653255b06mr9207096qvc.77.1651244233708; Fri, 29 Apr 2022 07:57:13 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-4500-41c8-9db8-25be-eadf.res6.spectrum.com. [2603:6081:7b01:4500:41c8:9db8:25be:eadf]) by smtp.gmail.com with ESMTPSA id c18-20020ac87dd2000000b002f3950bb920sm919053qte.45.2022.04.29.07.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 07:57:12 -0700 (PDT) Date: Fri, 29 Apr 2022 10:57:10 -0400 From: Tom Rini To: Andre Przywara Cc: Samuel Holland , u-boot@lists.denx.de, Jagan Teki , Simon Glass Subject: Re: [PATCH 00/12] sunxi: Devicetree sync from Linux v5.18-rc1 Message-ID: <20220429145710.GU1182808@bill-the-cat> References: <20220427203132.47271-1-samuel@sholland.org> <20220429155159.07799199@donnerap.cambridge.arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cqG5pBpskktEuCrX" Content-Disposition: inline In-Reply-To: <20220429155159.07799199@donnerap.cambridge.arm.com> X-Clacks-Overhead: GNU Terry Pratchett 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.5 at phobos.denx.de X-Virus-Status: Clean --cqG5pBpskktEuCrX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 29, 2022 at 03:51:59PM +0100, Andre Przywara wrote: > On Wed, 27 Apr 2022 15:31:19 -0500 > Samuel Holland wrote: >=20 > Hi Samuel, Tom, >=20 > > This series brings all of our devicetrees up to date with Linux. > >=20 > > Older SoCs (before A83T) have not been synchronized in over 3 years. > > And I don't have any of this hardware to test. But there are not major > > changes to those devicetrees either. > >=20 > > The big motivation for including older SoCs in this update is converting > > the USB PHY driver to get its VBUS detection GPIO/regulator from the > > devicetree instead of from a pin name in Kconfig. Many older boards had > > those properties added or fixed since the last devicetree sync. This PHY > > driver change is necessary to complete the DM_GPIO migration. > >=20 > > A couple of breaking changes were made to several SoCs' devicetrees in > > Linux relating to the "r_intc" interrupt controller. New kernels support > > old devicetrees, but not the other way around. So to be most compatible > > and avoid regressions, those changes are skipped here. >=20 > Many thanks for considering this! I just skimmed over the A64 and H6 > patches, and this is indeed the only difference. >=20 > But while I love this pragmatic approach, and would be happy to take this, > this goes against our own rules, and more importantly against Tom's one's: > to take only direct DT file copies from the kernel tree. >=20 > Tom, can you give your opinion here? As Samuel mentioned above, the > current mainline DTs wouldn't boot on older kernels (the changes affect > critical devices), so this spoils stable distro and installer kernels, > when using $fdtcontroladdr, for instance when booting via UEFI. >=20 > As a side effect of always defining SYS_SOC to "sunxi", we cannot easily > use per-SoC DT overrides using sun50i-a64-u-boot.dtsi, for instance. >=20 > For context, those changed properties were in the mainline kernel tree at > some point, but have been amended since. So it's not some random change. So, this is I guess a bit annoying. But, we aren't at the point where the common use case is the downstream OS using the DTB we've loaded and are using, are we? I mean, we can't be, as ours are so far out of date, so this will only be an option when we use a recent DT ourself. So we should be able to sync in the changes and update our code, as they can't be using $fdtcontroladdr in this case, right? Or am I missing the use case that's in the wild atm? Thanks! --=20 Tom --cqG5pBpskktEuCrX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJr/MYACgkQFHw5/5Y0 tyx9pQv/YqZYNyPdClvy7itE/kbAvxAV1qzDdgoU7O6nIQwqeUqDYhfK0PsDb4tQ QdoOsp/cXq9ySXAH3tMjc5GRVl20R5T8gsevBLlbrGyEGpUsu7qpS2g0U11dFtQj nligvm8FPPDK5T4I0jHfN+LtT5iOsPk6OOgRWIls52tgKkLM1W1cC/WlnUoVyd6S U6mPBkgJl3bJeHY2xiz+zeQYrmENXF7FUd2DRWNuXsAKjvcO+vmxhKqMx2dcJ7XX U3CdNf41nmPEeDgNHa8187XglbW3Ix8V2gh5ep/5SVypWR+fqNaI7fvYfOZ0hm6d Gt4mtRpIQF2jjZF3bELM59u8IYwAR9fXprAaGCexCwKArI58Py2IpLNdkSQ80HvK o69HK5dzgjOhMihWOsvuXNzBxLv5recIOh9dmZv8Uw7IwlVT7T1OUuTcsXXts/Cq oKdL3CF4k4YVaGfPY2slt59tWtnkQNg8PlndIOEJYMApIuk/0dbjui+WFKMYW5Yw zPBptzrW =Jsn/ -----END PGP SIGNATURE----- --cqG5pBpskktEuCrX--