Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1464871rwi; Wed, 19 Oct 2022 10:54:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Xg83GsrP81QQuBssChJezixvfIbI8m1ExbVqrFDoOP1xjocm4W2uyI3dXofCzDvQ1Pr3g X-Received: by 2002:a17:906:478e:b0:78e:4b5:a547 with SMTP id cw14-20020a170906478e00b0078e04b5a547mr7877953ejc.81.1666202087714; Wed, 19 Oct 2022 10:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666202087; cv=none; d=google.com; s=arc-20160816; b=VHzCxOsT3u+NLQTfVPtOxOPQV24cNRstmOlG6ZdNLSSJrYY4/p047kO9di8Fvg6mj0 i6b2gsCLaIzQmvN8c4C5dFnY0GF8uDsdVR5jSeWnJZOB9/9n0m8ACclpVbYBclY6npL9 hNxP56tc5M1nq6yrLUrBeoflxtSqMOB09MPuFWN11FgUCePcXnzn8PBmpRS9dFK7PEfS aLSt3130vQjAjfEriTueW1KIlvdVkIDzkdKIXzxp+MCp1bSVIiZ+zCztu4GSzq5IAvkm nhEjPzYYG6BYufo5L4LACMza45U9Ubi/n7QmGJgvzVVtFCkYSDlprvRb7lJBOPc+sOyH xLbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3hvx9pr5K+0guJn4DKXmTSuodCT3VlQZ4faEGDqq4No=; b=fxN5qwXaBf2Jh3C6Opt9aVnSkHnew26in95+bdvvpHG53snfF1L83galtqXj+y87j+ KDCkZC43pWJeX2m0bdSKr9XqAUT/E17cKEaMXNyde5ExIQhTWO8QPfim+WRvao0uzx9W iKeentTaVsra/Z1Ps1PQnOdww1aOgaLTnpVNDmzEgvPVIFh+fgeaLfa4JxbfsWrAhjpp +e6pRErpJr7/Il9/MTpLJgWNigGveeb7+7jAPHgJyg+dcTN23h4JkkNBvtRrcaD1KdNN Lit+fuf1fX2SPbn4xyKI74NnKy2FeqWhVDSkPaZUhDIOiWh5jkNGQE8qsVB/1PJ1qfKx 7VJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=v2YFb2MR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a170906500800b0078d3b940ec5si13000631ejj.373.2022.10.19.10.54.20; Wed, 19 Oct 2022 10:54:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=v2YFb2MR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbiJSR0r (ORCPT + 99 others); Wed, 19 Oct 2022 13:26:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbiJSR0o (ORCPT ); Wed, 19 Oct 2022 13:26:44 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E79F1D1A98; Wed, 19 Oct 2022 10:26:41 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29JHQXLG116399; Wed, 19 Oct 2022 12:26:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666200393; bh=3hvx9pr5K+0guJn4DKXmTSuodCT3VlQZ4faEGDqq4No=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=v2YFb2MRCK2ydlVtJg3M8fj+9tfFUlNJSrR81RTgl+kRfVt+1at2w9sIgjM29DnsB 50HZbFREPlqJ/t4hwfdylSqSedOpk0cA3eRzx4aLjASO4Ez24CNIGO2ApNcGyLXEHa UjTixXMg1pnkfrKjELk/Brh1IpO4hh+kTJBt05sM= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29JHQXM6047730 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Oct 2022 12:26:33 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Wed, 19 Oct 2022 12:26:33 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Wed, 19 Oct 2022 12:26:32 -0500 Received: from [10.250.33.68] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29JHQVvj123567; Wed, 19 Oct 2022 12:26:31 -0500 Message-ID: <90cbb65b-389e-95b5-26d8-39bc33f88df6@ti.com> Date: Wed, 19 Oct 2022 12:26:31 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v2 3/4] arm64: dts: ti: Add initial support for J784S4 SoC Content-Language: en-US To: Apurva Nandan , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Linus Walleij , , , , CC: Hari Nagalla References: <20221014082314.118361-1-a-nandan@ti.com> <20221014082314.118361-4-a-nandan@ti.com> From: Andrew Davis In-Reply-To: <20221014082314.118361-4-a-nandan@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/14/22 3:23 AM, Apurva Nandan wrote: > The J784S4 SoC belongs to the K3 Multicore SoC architecture > platform, providing advanced system integration in automotive, > ADAS and industrial applications requiring AI at the network edge. > This SoC extends the K3 Jacinto 7 family of SoCs with focus on > raising performance and integration while providing interfaces, > memory architecture and compute performance for multi-sensor, high > concurrency applications. > [...] > + > + hwspinlock: hwlock@30e00000 { > + compatible = "ti,am654-hwspinlock"; > + reg = <0x00 0x30e00000 0x00 0x1000>; > + #hwlock-cells = <1>; > + status = "disabled"; Why is this disabled? The node is complete and usable. I do not know if we settled on a set of rules for disabling nodes by default in the dtsi, I couldn't find one if we did, but how does this sound, If a node in a dtsi file is incomplete, or the described hardware unusable, without additional information provided by board-level additions, then the node may be disabled. Otherwise it must be left in the default enabled state. Without something like that, we will end up with the same problem we are trying to fix here, but in reverse, one will have to enable nodes in board files that would not otherwise need to refrenced. Worse that sounds like a configuration setting, not a hardware description, so it would not belong in the device tree. Same for main_ringacc, main_udmap, cpts, and mcu_navss below. > + }; > + [...] > + > +#include > +#include > +#include > +#include > + > +/ { > + Extra newline not needed. Andrew > + model = "Texas Instruments K3 J784S4 SoC";