Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp505616lqp; Tue, 11 Jun 2024 10:28:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUYPY0UjMPNIYW2HWDhZ9WrcII9tut/znmggoSyuSlKKZQGYmDaAOzRg4/QwGpPS/RQouBoeEpIUpW4+c9dWg6aZ4DnNQv7yvBLKVm/hg== X-Google-Smtp-Source: AGHT+IGbuKDL+6iiiFdfhXoNZiSYrwOLAaplKm5zB/EFRpp21Fo6YpawvpVFdr+t+1oN/7xRLRhk X-Received: by 2002:a50:d657:0:b0:57c:6bd6:d8e5 with SMTP id 4fb4d7f45d1cf-57c6bd6de01mr6416739a12.8.1718126931976; Tue, 11 Jun 2024 10:28:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718126931; cv=pass; d=google.com; s=arc-20160816; b=Blg5zea2HgV0SnAcnNtY2NJPuD0MlsHhdkXbdMSI16OU2V63/gBucPRR1cbzLSpvdO GwfQUD1SQjxl8HFXKQjr8OQzuoC0745dqJSDtkNzkadvBTI5vAyvhDrpjW6eF9u4UVuv f1Jv9Zy4C7PEE4Q43keLEXbiJs3oQ4QGPFYDybKjKWo/hN0WFvgWWS6+4Z4J9YN8TDkI TNYieJWCASwlT7Ry4WoNhnMT4zv4iRwUkSC9Kjeygr3YOKLh2H0eDNtgGEctPEygFhbu x+I3VZVpibV42Z3BnpyrtUiBVB9qs1CzxGtELJ74IqXao8neXgQEX3taeS+aGfujoeiS P+XA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=fYlnAMaGpMZdcAI0DxNgCp2Itu5PUGkUZKd7aoqVraU=; fh=ooIPNUZLf6FAK7KE7IDGu/os3Cst/MDmXRjD8C9RvJo=; b=nnd1RncOijJUEPMhNhpBYD2x2HUtSxKFsB4HNMAZ1HQUvzRRhQ/fM+aDW+WhbIMDmB 99mWk79E7No5dHAr7u2azZ+ttv1hGHb18WvjVAR7x7bdhMx6Lfu4HKyx0Hih6BI8Jwpb D/uL6wF79mHHMP908ebtDhKwSQ8425hdm3xttM4rNPNrhQIN9n7wfzQO4QZ35CZrm8oK q8gzybH4sjoBltKfi5yv7Y83i78x89Rq7qKlkUFzTQ8tmypSKEIdjhCsudxZlEUGbeNt /DGIvjnIuiAj5yM3NjVeK9Ft86LjqG8Q0CJguKdH7N0uC3KV6sNY2QzDcQyTH4DG0T1j H3UQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rDkpK9Nn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210320-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210320-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c75a2059dsi2952957a12.581.2024.06.11.10.28.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 10:28:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210320-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rDkpK9Nn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210320-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210320-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1E59C1F27516 for ; Tue, 11 Jun 2024 17:18:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CE7C48CCD; Tue, 11 Jun 2024 17:18:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rDkpK9Nn" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B54BA11720; Tue, 11 Jun 2024 17:18:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718126320; cv=none; b=hWvrAkY7Cn+Zm3yZIxQQpel/Txb/LBlKGoVOzWgoO9p9Mep1Am+7vUtdDrcZJ4XYMOiKmtKe3fmDcdaKQmHP7TVxLXeAGgTL1Dc9966ziMPX5lYq96Xh2fHGs7fPT44tqPxAOFBqbIhmSTgygodglLuEdgOsg922b62cugiyygA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718126320; c=relaxed/simple; bh=qvAX7WRUwbPnmNhkzzwzMZtOfqEdP2x3+Qxn6fabTL8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Q5VQipXkILg3+58Bq/42jYXxbhCQpmuG2DVuTSvW/FU1KFS+PnccUqa4P+HZiMN7Z12NUeyy1xuTnskiFgsE0P53Rx/EL7aXh9PNMIFpiC9kv+wGyWxwsPvGNxMmAvCRWeiOPeQb8gdXrDGz4SuhYz43+sY7o3I8wUlZUeVuDN8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rDkpK9Nn; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3507DC2BD10; Tue, 11 Jun 2024 17:18:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718126320; bh=qvAX7WRUwbPnmNhkzzwzMZtOfqEdP2x3+Qxn6fabTL8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=rDkpK9Nn43GWS2Lla9XQIlhY8C3lqaC+YjsRqKRExEfcz5Uz8qpH9KGgXSxg1aKie Qgqjf0Cc0AttJ2MZhEhpsFmwsTTE+tccvoDHh7o49MfM2n2har3u+rAbexTdJnZQXS EqQSxsY8TagfPRmE/f9u4vOR3ZRsNIdlpOsjZV/6/+L4DwR+ITDaXK8lVNEyjYBykM nR0+pSqvyh2BdNPqtbh/nPUa6DICjYRu/NngUb151g4/e14VRlHS9bUU7ZUCexz0a/ YcfNvQIIAXgyemG6Mb0fLeK5WJXc/78MBe1X7NtyjID8pTDArSyc1YOFjmpXfzK1B6 v7Ulwe+NrDqJw== Message-ID: Date: Tue, 11 Jun 2024 20:18:34 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/7] arm64: dts: ti: am62p: Rename am62p-{}.dtsi to am62p-j722s-common-{}.dtsi To: Vignesh Raghavendra , Siddharth Vadapalli Cc: nm@ti.com, afd@ti.com, kristo@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, u-kumar1@ti.com, danishanwar@ti.com, srk@ti.com References: <20240604085252.3686037-1-s-vadapalli@ti.com> <20240604085252.3686037-2-s-vadapalli@ti.com> <92af5f36-0c21-4b6e-adde-fcf21b540291@kernel.org> <902f024a-b0a1-4a0a-94e2-7cec064a91c6@ti.com> <6959494a-98ba-4ccf-973c-14d079b76f27@kernel.org> <975c90b1-6657-40c6-a336-7f1f58acf531@ti.com> <9e7d3f9b-c762-40cd-9d0d-2f071aa3c371@ti.com> Content-Language: en-US From: Roger Quadros In-Reply-To: <9e7d3f9b-c762-40cd-9d0d-2f071aa3c371@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/06/2024 12:10, Vignesh Raghavendra wrote: > > > On 11/06/24 14:24, Siddharth Vadapalli wrote: >> On Mon, Jun 10, 2024 at 10:31:07PM +0300, Roger Quadros wrote: >> >> [...] >> >>>> Based on your suggestion, you seem to propose the following hierarchy: >>>> k3-am62p-{main,mcu,thermal,wakeup}.dtsi = AM62P specific data >>>> k3-am62p.dtsi = k3-am62p-j722s-common-main.dtsi + >>>> k3-am62p-j722s-common-mcu.dtsi + >>>> k3-am62p-j722s-common-wakeup.dtsi + >>>> k3-am62p-j722s-common-thermal.dtsi + >>>> k3-am62p-{main,mcu,thermal,wakeup}.dtsi + >>>> >>>> k3-am62p5.dtsi = k3-am62p.dtsi + >>>> k3-j722s-{main,mcu,thermal,wakeup}.dtsi = J722S specific data >>>> k3-j722s.dtsi = k3-am62p-j722s-common-main.dtsi + >>>> k3-am62p-j722s-common-mcu.dtsi + >>>> k3-am62p-j722s-common-wakeup.dtsi + >>>> k3-am62p-j722s-common-thermal.dtsi + >>>> k3-j722s-{main,mcu,thermal,wakeup}.dtsi + >>>> >>> >>> What is the equivalent of k3-am62p5.dtsi here? >>> That should contain k3-j722s.dtsi + CPU and OPP stuff. >>> >>> I suppose it should be named specific to the SoC variant part number? >> >> AM62P (https://www.ti.com/product/AM62P) has two variants: >> 1. 2 Arm Cortex-A53 => AM62P3 >> 2. 4 Arm Cortex-A53 => AM62P5 >> Both variants will share the common k3-am62p.dtsi >> >> J722S (https://www.ti.com/product/TDA4VEN-Q1) has only one variant: >> 4 Arm Cortex-A53 => J722S >> Which is currently identical to AM62P5 w.r.t. the number of A53s. >> >> So there isn't an equivalent of AM62P5/k3-am62p5.dtsi for J722S. >> k3-j722s.dtsi is a combination of k3-am62p.dtsi and k3-am62p5.dtsi. >> > > > Historically AM6xx devices have had CPUs in separte file as there are OPNs with different number of CPU cores Hence, how about > k3-am62p5.dtsi => k3-am62p.dtsi + k3-am62p-j722s-common-{main,mcu,wakeup}.dtsi + k3-am62p-main.dtsi (USB2 and other deltas specific to AM62P) > > and since J722s has no variants with less than 4 cores (and along the lines of rest of J7xx devices): > > k3-j722s.dtsi => k3-am62p-j722s-common-{main,mcu,wakeup}.dtsi + k3-j722s-main.dtsi (USB3, C7x and other deltas specific to J722s; > > Seems OK to me. -- cheers, -roger