From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5CA0EC433F5 for ; Wed, 9 Feb 2022 21:38:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YJztzXnq0KtYJfnwBlNhai+9iXTUhCiz4uxO8hYmNXE=; b=YI2M2bz6s7buny evibtI4Vn9PXKxavaafCyKL1gp8/Qd3f3o1xbYx0CD0WKv6i/CHAOHpTnkuO0DHQv0lGTOFMMRZW6 PqQ2dEFgVbzvn+LhFx4PoxFkYkBHnk7Kt4/VXIkRIafjHDzWcPVesrSnMRoL2edzEvwNDxUeNKB6I y6rQABaslKo+E7foD0JXTZgjQsZ5b/MPEB5iIKA08K6GczLjAOJ4m87h+euxxGWhUPWX9VbhrEH2N NC58on74RC53LB+Ya+wLG3lnSA5aDVmbZtoNt50SBv8Gh2Ov9XXWHeSU2SEwDgShovRz7anERzLtx 1p4d21iRQzmocokdoHgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHuds-001h5f-Nu; Wed, 09 Feb 2022 21:36:48 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHudo-001h57-Io for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 21:36:46 +0000 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id CB4E83FFE6 for ; Wed, 9 Feb 2022 21:36:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644442602; bh=IdESQvvFnvm/soylLvwmGAV39LHEOL97ntex11R3FlI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Lq25mrwxLHV0mvNk+1+kDbHU8Q+EpJl2lxVwlqPm1cuiQaOblRfYcTdTlf/mKlVPX PxIY1BETZQfaUDSziWI8vk8oM9MPVhTEX5/yGCZeYUaxLst4yiiisW/fQZhp9D7FWX wosLj7lQ/34QkQEPCidF7OAEztCs3BdV2CBun6BEpg2APmMKP7rQVJEtGeKq26Qog2 386cqBbSBYlXHqbRYlJRpseXf0ObyAg3HNIjfGXErhUfmxeeLOemaChKlyopYbkat6 1cJQMCpEiaeOForx2IctqrWkWFIS3vue40LqLZAlmQDMTfyIYE437PF09mzXQZxwzI QzkjdH9yjD0bA== Received: by mail-ed1-f69.google.com with SMTP id f9-20020a056402354900b0040fb9c35a02so2107760edd.18 for ; Wed, 09 Feb 2022 13:36:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=IdESQvvFnvm/soylLvwmGAV39LHEOL97ntex11R3FlI=; b=gs5cZciZBMUxqqCkjClwkbzmH5qw0IMLEZnz3WR6g/3aZ6h5shccvhNzAtGN8kgozK lUq6fbgOjFja8DTqhB+4yFiWrAWZnEoVm5lCA5pCeZ7A021eG8I5a+ebveehY4Ys53n+ EBX9Z5hmv8lHlw62gEyX0nbi6j4PQg6z7QnRnbouAh/XDHjQosVtR2v2QBDI2kdUQsc3 FZVSUo0Fuyu/bzgxQJVCZwdcCG3Gtl7qopREteCGDrOhGzi5dXx21amoOXQBBU4VRYtb 7Jp5IMPnMyPtBA58pfj9xIuMVX53Ih+APDDjkT+pQj8xznMy55PE82SgC9bNTd2Y8+Yp qA9g== X-Gm-Message-State: AOAM532Fyihh2EcSIpVBZ1BoOIXVbFTDJwIMbDITjA66VWu6NIVU3w/w QM3BNxvsntWbVzJ2dI67XnLXMXEa1+y78OWpvsYncM68YFSuEHd1R/0ddJK+BjVsIbL1i635Bog SCIvY3qWn6bvCJkbwMq75iudoEKWoz635rWA+WSfWmR5t3xOhKrSb X-Received: by 2002:a17:906:649c:: with SMTP id e28mr3506610ejm.324.1644442602456; Wed, 09 Feb 2022 13:36:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/ApgfeERYvn1aa9I9Q2XTwtqIlGwm6mtetkbD7//TUYlnMJyk7AS3O2qnIooVSnQM+/uscw== X-Received: by 2002:a17:906:649c:: with SMTP id e28mr3506599ejm.324.1644442602256; Wed, 09 Feb 2022 13:36:42 -0800 (PST) Received: from [192.168.0.97] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id z6sm6384348ejd.35.2022.02.09.13.36.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Feb 2022 13:36:41 -0800 (PST) Message-ID: <167d6936-66a2-2953-702d-b269bc26fc7d@canonical.com> Date: Wed, 9 Feb 2022 22:36:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 4/5] arm64: dts: ti: Introduce base support for AM62x SoC Content-Language: en-US To: Vignesh Raghavendra , Nishanth Menon , Tero Kristo , Rob Herring , Santosh Shilimkar Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220208131827.1430086-1-vigneshr@ti.com> <20220208131827.1430086-5-vigneshr@ti.com> <3221dd42-7a14-7ac6-0b61-634a77a45753@canonical.com> From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_133644_808806_F7EB0328 X-CRM114-Status: GOOD ( 21.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 09/02/2022 20:04, Vignesh Raghavendra wrote: > Hi Krzysztof, > > On 08/02/22 10:35 pm, Krzysztof Kozlowski wrote: > [...] >> >> (...) >> >>> diff --git a/arch/arm64/boot/dts/ti/k3-am62.dtsi b/arch/arm64/boot/dts/ti/k3-am62.dtsi >>> new file mode 100644 >>> index 000000000000..f1a46be27c37 >>> --- /dev/null >>> +++ b/arch/arm64/boot/dts/ti/k3-am62.dtsi >>> @@ -0,0 +1,104 @@ >>> +// SPDX-License-Identifier: GPL-2.0 >>> +/* >>> + * Device Tree Source for AM62 SoC Family >>> + * >>> + * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/ >>> + */ >>> + >>> +#include >>> +#include >>> +#include >>> +#include >>> +#include >>> + >>> +/ { >>> + model = "Texas Instruments K3 AM625 SoC"; >>> + compatible = "ti,am625"; >> >> This is am625, but the file is am62. Why having the split? > > > Hierarchy is: > > am62.dtsi: > -> base SoC skeleton ie arch timers and interconnects which is common > across am62xx family of SoCs > -> includes am62-main.dtsi, am62-mcu.dtsi and am62-wakeup.dtsi > representing 3 domains and peripherals in each of these domain > -> describes all peripherals in the family (except CPU cluster) > > > am625.dtsi: > -> describes CPU cluster (Quad A53s). Since, am625 is a current superset > device with all peripherals, am625.dtsi includes am62.dtsi completing > SoC definition. > -> individual EVMs using this SoC will just need to include am625.dtsi > thus making things easier for Board and SOM Vendors. > > > In future: > am62{1-9}{1-9}.dtsi: > -> Includes am625.dtsi > -> Overrides top compatible: ti,am62{1-9}{1-9} > -> disables CPUs and peripherals not present (cutdowns of current SoC). > -> -> individual EVM dts files using this SoC will just need to include > am625.dtsi as starting point, thus making things easier for Board and > SOM Vendors. > > Top level compatible is set to "ti,am625.dtsi" which is first device in > family and superset. > > Hope this clears up? Will add this to commit msg > Hm, if I understand correctly: you might have later some future am6211.dtsi which includes am625.dtsi and in general is compatible with am625 but with disabled parts? It's as bit counter-intuitive - I expect compatible to be extended instead of overridden. But it looks also ok, if you build entire design around it. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel