Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17778871ybl; Thu, 2 Jan 2020 11:53:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxWM92I7/AnUtoGvfNrIJUYCgq6csyEXjMAhb28FsYIh4mJSSWanz9ErpExEpNkwcqOLnbT X-Received: by 2002:a9d:7c8f:: with SMTP id q15mr81524385otn.140.1577994789069; Thu, 02 Jan 2020 11:53:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577994789; cv=none; d=google.com; s=arc-20160816; b=MyNO873w68ee/JohYh0N39a8szKQbaUgrert3lOeSIYgGgt7QAM8B3GErBUm2shM1X BSqJhxD1FONsctMUKSHpD6BztR0UUDk45AFg8JJWZ2OO+2YpYDir0ux7lJQdCF7rSlZ4 U68fBw8c4hoR4zzzFVoODgYSxWkopC/vsoV63kxATlblfmBNeFRLgJRRHipiGLuUp0t+ AmJtTWt5qPPxxt/prIPUuzAJF6yvhzAa68hlzqWoUQp3/XSda2x+/xho4dFKhP1duyXp m5NQD7HMXdvL9FV02GKtNuvysSFNCrZWPr/n+/+VhqQl+2MuDnMiS246nk0xyegrr09r SZWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=bk6V+fBN0SCjDdyCzO9YrRRKsbGhNw68R6xHiga6igc=; b=OulNr8sY+HC9rsiDVaXXRlmwpCkTQDrFY/LwVwY+a36fvDFnaDSyMVxIzoggDQ+Z7R g/Pxvc5hJmybvLR8OCSBct+8Qzfl4zeCYHPpM50ZVzc7WlifYBQj8K10zpMYsHxnw3Pe otHjURs7pcToAlyZD3OoZ2N9G9cTzETQKz5hFod8DNRNEXZ/fy8wYZOclyapvHDVC63y q/Tomp2G/jebCdhEuaS+fWMXH1lfIHekb7T/ODEXT/2S7IywxlxzRvgU6XpVPpAp/dc9 q+SYK6XMVKgBE6HKleaqqfTwTI7+NM3mZ190jGIIjep/3hmBi47Qs6fU3L0vfTIixWlg zz1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si27838121ota.266.2020.01.02.11.52.56; Thu, 02 Jan 2020 11:53:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728404AbgABTvN (ORCPT + 99 others); Thu, 2 Jan 2020 14:51:13 -0500 Received: from muru.com ([72.249.23.125]:49978 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728260AbgABTvN (ORCPT ); Thu, 2 Jan 2020 14:51:13 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 942208087; Thu, 2 Jan 2020 19:51:52 +0000 (UTC) Date: Thu, 2 Jan 2020 11:51:08 -0800 From: Tony Lindgren To: "H. Nikolaus Schaller" Cc: =?utf-8?B?QW5kcsOp?= Hentschel , Adam Ford , linux@arm.linux.org.uk, robh+dt@kernel.org, mark.rutland@arm.com, bcousson@baylibre.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: Add omap3-echo Message-ID: <20200102195108.GF16702@atomide.com> References: <20191224161005.28083-1-nerv@dawncrow.de> <20191224184503.GK35479@atomide.com> <60412339-53BF-4DC1-8AF6-4FB0E75D429C@goldelico.com> <53e6cbbd-1094-cba2-4942-981502a738d4@dawncrow.de> <20191230172948.GL35479@atomide.com> <55E6481C-2137-4086-ACDF-5F7D86E41A21@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55E6481C-2137-4086-ACDF-5F7D86E41A21@goldelico.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * H. Nikolaus Schaller [191231 08:16]: > > Am 30.12.2019 um 18:29 schrieb Tony Lindgren : > > And let's also add minimal dm3725.dtsi, am3715.dtsi and am3703.dtsi > > to make things simple. > > Well, is that "simple"? Well simple from "adding support for a new device in most case" point of view yes.. > We also have to add omap3503, omap3515, omap3520, omap3530.dtsi. > And probably am3351,2,4,6,7,8,9 variants with different capabilities > (PRU, SGX, CAN, ZCZ ports to name some). > > And to be correct, there should be a different "compatible". ..and yes the number of permutations quickly gets out of control :) The SoC specific compatibles should be there though. So everybody, please keep adding them as we encounter the missing ones. Note that we don't seem to have much any feature detection for the newer TI parts. At least am4 and dra7 already rely on of_machine_is_compatible() checks for omap_hwmod_43xx_data.c and omap_hwmod_7xx_data.c. > Rob asked me when reviewing the pvrsgx bindings if the img,5xx variants > can be autodetected to reduce bindings complexity. Yes also dynamic detection is needed, and we do have that working for many SoCs. The use in ti-sysc driver is still missing though, and newer SoCs never had feature detection added. > > The device tree is supposed to describe the > > hardware, and in most cases the SoC version is fixed and need no > > dynamic detection. > > There may be exactly the same board populated with either one since > they are drop-in pin compatible. So this may proliferate to the > board.dts files and u-boot can have to load different .dtb. Yeah. I'm afraid we're already depending for bootloader picking the right dtb for many cases, such as capes etc. Regards, Tony