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 390B2C04A68 for ; Thu, 28 Jul 2022 08:52:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8E97584179; Thu, 28 Jul 2022 10:52:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1658998346; bh=n1xJzqxyzu/RXFmfqx6QCOlZ1h9rWF+I+tR0HRFRnc0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Z97OrxcKESybV0zz10PGFdMOSJzkHTggd3X21o7QlRLxZfJPpy0ze4WYeKA/b3tru Fb6QXE4H5tfUvbj5UG2xpA9/Gf33HC+AMw/r0vqjaEi4d0NqOQwNCvPomN9YF947JW LwmGXD/IQVe3jkONa39+/5RwIUtDmb1pBVcENIg+DOexzBWxA/V+aP2rBX04C2+yJk 9fnieUr5PIBn5RwQNfsEWHLD+VAWeeC89jaYgHvCtKUjjnWnOr5NqEoVCeVQ5DScJ3 EWGRKvNR2LawxJ10GwxE44dwpUYpIC6GAEfg2T4k8ntLCtTeCpAb4D9frDr/ZytzNZ n74lORD6XKvJw== Received: from [IPV6:2001:a61:619c:6d01:61f6:74c7:be17:69d7] (unknown [IPv6:2001:a61:619c:6d01:61f6:74c7:be17:69d7]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbabic@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 6074A83EA0; Thu, 28 Jul 2022 10:52:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1658998343; bh=n1xJzqxyzu/RXFmfqx6QCOlZ1h9rWF+I+tR0HRFRnc0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=LcfQwdu7MPH0q5kUix+DeDBJg/mzv47HBZPV2ID5a996+3i4DpsP6hL1AZ4ytklcs 6RUGyXAT5g1JdXiphc4HT3BnIcfsmt68OWSen+Ty8ruaMCXL9nj4cT4mRIBQ56i812 MqLmUwvE2ASWBc9cNYMHAHB2FRiTjSXLg4jm2nqlI8dnO9EjD2bRCUe6aV5GtMTZKW Xe9xmdsn1Z4sqPUf7bIl6P7A+0sCvMoLhV/X8ZFrzq9T3XxiydA44YvBvLtnLGPnNA 41vqFOqEKeiIekWqYtN6nhWJRFIoPOjJAIL3pHgyAxbiajemrfo0Qpo6ryJ0fBYOvs 4IsDJVKlMQDiA== Message-ID: Date: Thu, 28 Jul 2022 10:52:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Pull request: u-boot-imx u-boot-imx-20220726 Content-Language: de-DE To: Francesco Dolcini , Tom Rini , Fabio Estevam , Stefano Babic Cc: Baruch Siach , "U-Boot@lists.denx.de" , Marcel Ziswiler , Yazan Shhady , Josua Mayer References: <20220726181232.GM1146598@bill-the-cat> <20220728075350.GA6740@francesco-nb.int.toradex.com> From: Stefano Babic In-Reply-To: <20220728075350.GA6740@francesco-nb.int.toradex.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Hi Francesco, On 28.07.22 09:53, Francesco Dolcini wrote: > Hello Tom, and all > > On Thu, Jul 28, 2022 at 06:23:05AM +0000, Josua Mayer wrote: >> This approach does work in Linux, but the maintainers there have rejected >> it for producing unnecessary errors in the boot log. For U-Boot imo this >> approach would be acceptable. > > My current understanding is that U-Boot device tree are supposed to be > the same as the Linux one. They are somehow expected to get out-of-sync, > but it should be always possible to just take the Linux DTS and merge > those back in U-Boot. Right - else there should not be the effort to take the DTS in sync with Linux, as much as possible. > > This is what Marcel did, and it was really triggered by me sending a one > line patch to fix a specific DTS issue [1]. Unfortunately once you go > down the rabbit hole because of the way dts/dtsi include tree is > designed he had to update lot of boards and not just the Toradex one we > could test. > I understand the reason from Linux Maintainer. I had really preferred a way where all phys are disabled instead of "okay", and U-Boot can detect which is really available (maybe in board code) and fix the fdt for Linux. Is this possible ? The FEC should be on, and yes, there could be something in board code (what the DTS are assume to remove), but DTS can remain the same. > This is going into the opposite direction. What should we do? I see the same, we asked the maintainers to sync DTs with Linux and avoid U-Boot's versions. Regards, Stefano > > Francesco > > [1] https://lore.kernel.org/all/20210923115759.GD31748@bill-the-cat/ > -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =====================================================================