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 94110C63705 for ; Wed, 7 Dec 2022 20:04:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C877483600; Wed, 7 Dec 2022 21:04:11 +0100 (CET) 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="m9H/5Xx1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0664F83600; Wed, 7 Dec 2022 21:04:10 +0100 (CET) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 5468983A26 for ; Wed, 7 Dec 2022 21:04:00 +0100 (CET) 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-wr1-x42a.google.com with SMTP id f18so29697604wrj.5 for ; Wed, 07 Dec 2022 12:04:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=BcfCnNO6uLLnR2O/Imvwi68+LW+Bcvwu9/CE5G9viWw=; b=m9H/5Xx1HfCQDhNFylLd7ynwERb3/dud0dJDLtgKN1jBbsYiNimLvSF880ouuYh7pZ sA2Xx4x1vlo+KdXzR3PNs4inGXyiF/AL4Ff8PJvvl+/r50MhZnOYbNhH8wfB9lLsU6zp PAIX0Srb5f3hMmDy+/4jL1uZO3BJFMt11q/DA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BcfCnNO6uLLnR2O/Imvwi68+LW+Bcvwu9/CE5G9viWw=; b=eakN+oLPncGdzo085f/Pp9fburD6v+YdWfQJVAcobeYwiBb2YTgCXxRG0cYx2tLPGE kVxZ6EVkXGVZ/diTu8JaBXMxeLC365UY7yuSpRgLJEJes4RkNRy+96dp5EDfmQ5kBLOT 1SiqAnL7noF4UH9INgyidq4EmP24LcUIuNsvfTzB0av6HPUqtitv1yICf0e10E3YIT/F LR3AMuv2nVnNW0jE0N3wZjv8bD2Gso2CU8RZLaMFf0gc02SFxCcTVIMw5OoHJrTNqRZk nt60qcgW4wA2EdHYzowGMtTFPIMUNNtQJ2HnWD/5osYfl0O/Lu37E1RHNC0zrV4zNDrz elqw== X-Gm-Message-State: ANoB5pmLZdv0O6WxJ5BREcPP5v9OWiOOSTlzWFiSq+Kxi2ziNXmpiZIT 8/I5pnTTKZHpsTT4fxXCYv/yCA== X-Google-Smtp-Source: AA0mqf6ZAOUnCB2QdVc5bNROZxVKmSyxPA6r/luym89x4jSjCSX3ndSS9Xyu4XGd7Hi1XB5cl0kDqg== X-Received: by 2002:a5d:4943:0:b0:242:3ca3:b7bd with SMTP id r3-20020a5d4943000000b002423ca3b7bdmr16785447wrs.583.1670443439848; Wed, 07 Dec 2022 12:03:59 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-158f-15c0-8c6a-f9d3.res6.spectrum.com. [2603:6081:7b00:6400:158f:15c0:8c6a:f9d3]) by smtp.gmail.com with ESMTPSA id o30-20020a05600c511e00b003a3442f1229sm3197970wms.29.2022.12.07.12.03.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 12:03:59 -0800 (PST) Date: Wed, 7 Dec 2022 15:03:56 -0500 From: Tom Rini To: Fabio Estevam Cc: Detlev Casanova , Troy Kisky , u-boot@lists.denx.de, Stefano Babic , "NXP i . MX U-Boot Team" Subject: Re: [PATCH] dts: Re-add aliases for imx6qdl-sabrelite devices Message-ID: <20221207200356.GX3787616@bill-the-cat> References: <20221027152252.46552-1-detlev.casanova@collabora.com> <13125638.O9o76ZdvQC@falcon9> <20221111153556.GF7282@bill-the-cat> <5883089.lOV4Wx5bFT@falcon9> <20221202233638.GM3787616@bill-the-cat> <20221205153701.GR3787616@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+bu0lQFMi2h0qMZK" Content-Disposition: inline In-Reply-To: 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.6 at phobos.denx.de X-Virus-Status: Clean --+bu0lQFMi2h0qMZK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 05, 2022 at 02:33:48PM -0300, Fabio Estevam wrote: > On Mon, Dec 5, 2022 at 12:37 PM Tom Rini wrote: >=20 > > I'm not really happy with this approach. It's not that upstream doesn't > > have aliases now, it's that it has different aliases, right? That's why > > they won't accept these? >=20 > imx6q.dtsi does have the default mmc aliases: >=20 > mmc0 =3D &usdhc1; > mmc1 =3D &usdhc2; > mmc2 =3D &usdhc3; > mmc3 =3D &usdhc4; >=20 > Upstream does not want to change mmc alias because users may rely on > this mmc aliases. >=20 > Changing it now may cause the board not to boot anymore as the rootfs > cannot be found. >=20 > It is OK to change mmc alias for a newly introduced board, but please > keep in mind that > wandboard and sabrelite have been launched many many years ago. >=20 > So for upstream Linux the message was clear: don't change the mmc > alias for these boards. >=20 > Now let's talk about U-Boot. >=20 > Prior to d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with > linux") the mmc alias for sabrelite was present: >=20 > mmc0 =3D &usdhc3; > mmc1 =3D &usdhc4; >=20 > After this commit, the mmc alias is gone and causes the boot > regression as reported by Detlev. >=20 > We don't want to cause regressions in U-Boot as well, so that's why I > propose just adding the alias into u-boot.dtsi. >=20 > There are many boards that does the same. >=20 > > But this also highlights that we really need to get these kind of > > aliases and similar (a) re-synced with upstream ASAP and (b) do that at >=20 > imx6 dts files are already synced with Linux. >=20 > > the start. I don't know which group of "users are broken by this change" > > is bigger, the group that needs the aliases we have or the group that > > needs the other aliases, but the group that gets changes upstream first > > "wins" here is how the OSS world works. >=20 > I prefer to not break things for anyone, hence my proposal. >=20 > If you are still not happy with it, please feel free to submit a patch > with your proposal. I don't know what we can do about the existing boards, but we need to NOT do this moving forward. We need to use whatever the aliases are upstream already, or upstream the aliases we want to use. --=20 Tom --+bu0lQFMi2h0qMZK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmOQ8asACgkQFHw5/5Y0 tywgCAv/embiS6t1mCn8lzSj/YkmmXHM4Q68IUTRThd6VLNwOXSQ9xyrm0ogMTJH EEBIruF/u0weBV+DHe5zEiW+0tqzkT8ITIOUvmW0KyMGd2YluJKr88ze3g8OKn5B V53GIAPcL3V06Iht2pAQPb7pipEQQejGqmL+Dr0OG+51QA6SqA/gMKmbFBrbXNnk u7jqm6m458oHQQgvnSZrRWBEf2kSHVWZc4PAF+OWUUPHysNeyNgJ2efWpz8LdSHy K7uGnWsubJrpxqgDFuMpkGW31Xw3rusH5NydXjme4XEaF5yZtQtKuPey9kqYadm2 CFd9o1e3cjuu/4ZA4bOIVbOeR3nfH3JQxOVht7kK4EUR2R0FcS90LT80TUahYQyy Bge2J+GSbEtcpuAbEltkwBFKXlfeixWLPeXkyB8W4JatWL8KtIioi2R/jDINT+QY dOIbvgRkiq8565BKWfYXbFsrKWcbq7S5C0jzPBxecW7QG4GBMLni5jnDdYKboh2/ oxE4vo5C =EvYD -----END PGP SIGNATURE----- --+bu0lQFMi2h0qMZK--