From patchwork Tue Feb 20 06:18:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 203445 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp219113dyc; Mon, 19 Feb 2024 22:19:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVIEeuhsLaUlRTMNueEacd0YcTCN3eSO0FXxWtHRoddI8aCpyZR9aIo0KGRLP1pvIgivISvEjCwMbi4Glxs+vZA+ZKeUQ== X-Google-Smtp-Source: AGHT+IHSOQT5GxwIxDQw4ABuVy0P3uW4Xi1aiPz4Xwe2wDitsszW/OJijiapfOTlAG9430JYRhVH X-Received: by 2002:a05:622a:1653:b0:42d:a920:e046 with SMTP id y19-20020a05622a165300b0042da920e046mr18297650qtj.52.1708409940695; Mon, 19 Feb 2024 22:19:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708409940; cv=pass; d=google.com; s=arc-20160816; b=LxwOmCb7Yh0XhWSFzNRiMA9y/5Cvmr83O17d+CSG0ZHI8KIaF0U9Y7uXRFGEes/Alq cBTkrcZSf1QKTxRyHkWU4C4FM+JtPvqxkT+XEVEzHG5A/A/wgwamFpOZ2PEHdDBG8bah wQniJQezGAc0P3pC6JdfvAN4glyIdzUQg9FgdtryZcNl4dMotaABpRoya27FfFJd2d67 7YOCXMy9jprz2ZR9hLPWdVlT1pNzXa8DbSmdMcn6xb51AQE4l6Ow6R5b+Jam01+D0QPO o6ZcUiWjM9zEbp5H+QbvjfQZMYvXaNjIHGC912C8iH/9dhkLh91GdxTQSv+36Z1rnauN aijA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=wjIFXi26a8elJBZ1+oTQlZXDKgmfrz906nvtBMqRczE=; fh=sYleR/qLaQC9WN+ZrX+9gz+yQn3p8mKKUFc00u+VVJw=; b=sD4kmtlcfoGvzwFLTY4EWm8oeV5KItksc1StqHORfrCjm8wY37GOZFjLsRy01XZNmb 1fSdGdA6aU9u7GmNCZAPw8Jz1kQkhR+uZ31bydbEQXWh3jaXuoduGuKgUDF83R5FN7FQ Na5zJ79JI/bocUn2/n5UKM6mk5Va/WCU05kkmYQWRqjK4K4OiwCUQlfYBBIK0X0yZiu4 kK9TXdxaoEeVV04eyYDT3cIVKukjnuTuU4Skm1LRG8iiAYdfI+A2BUas1G9RGeNU1vUP b3c4t+EprNe+B455Fl3GaHE8qyzjyy7HrgOttAiCkUH26pUEHCI7iukAtvDTWi45yPqB wLow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=clRpCC4y; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-72399-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72399-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w26-20020ac8719a000000b0042c6b42b007si7561622qto.672.2024.02.19.22.19.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:19:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72399-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=clRpCC4y; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-72399-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72399-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 772F01C220FB for ; Tue, 20 Feb 2024 06:19:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E04858105; Tue, 20 Feb 2024 06:18:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="clRpCC4y" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 F390B5822E; Tue, 20 Feb 2024 06:18:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409907; cv=none; b=pt6wwr0+JC/4tFwgSwCDwnAjUgt5vhpIkUHe7dbaeG+VVNZgGIyIBywhJhlSDly8SOdnWWeQ9ci3xxsknvuXCyZITWwTxRH9C1Lyql/N5wBWrhrAEOryszzYJhy5NeS7mMH7mHhj9Bm38/tdLYS7T0C35+0ufhsUmzOXAJeK8kQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409907; c=relaxed/simple; bh=KAReUPQx9gvzzba47vWWOb5Oekj/PePm9BhH+eG3XlQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=lMVJkMqG12Typl95tzrFWGZEvy9sp370FG9u4Uspt+UCZ2wngkpyxE4WpTZdr4eL7yv940ZfF7VD2BDoYOqYjGv5C96UKWnlVNU+20qsrz8sfasCmzK25L6QsJgjGup6KMyA8CI5QO5cna+C0XZ9Ihoj7Lyb/mzl++ROQpIMN6M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=clRpCC4y; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41K6IDqO128521; Tue, 20 Feb 2024 00:18:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1708409893; bh=wjIFXi26a8elJBZ1+oTQlZXDKgmfrz906nvtBMqRczE=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=clRpCC4yj257w4WI6mVvTtY+Rl3jkmfXH4ITmjuZpn0a/FBr2GVjlH2gCOKxki7ot +wcsb9NhXmX0MzFFaIApndmgD49xa0VDdCIuwSREsj/tJh4bgNCUD8R6gLmDYwtBws geU+MTKzlpph2AlXv8XWBeqGiq9zRDpTFRS2Rvf8= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41K6ID7n048009 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Feb 2024 00:18:13 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 20 Feb 2024 00:18:13 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 20 Feb 2024 00:18:13 -0600 Received: from localhost (jluthra.dhcp.ti.com [172.24.227.217]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41K6ICk7120873; Tue, 20 Feb 2024 00:18:12 -0600 From: Jai Luthra Date: Tue, 20 Feb 2024 11:48:02 +0530 Subject: [PATCH v2 1/4] arm64: dts: ti: k3-am62p: Fix memory ranges for DMSS Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240220-am62p_csi-v2-1-3e71d9945571@ti.com> References: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com> In-Reply-To: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Davis , Bryan Brattlof , Dhruva Gole CC: , , , Vaishnav Achath , Devarsh Thakkar , Aradhya Bhatia , Jai Luthra X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1338; i=j-luthra@ti.com; h=from:subject:message-id; bh=KAReUPQx9gvzzba47vWWOb5Oekj/PePm9BhH+eG3XlQ=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBl1EQe/ATjXPVYP4orc1Clk5F32f+sFPV2jgia0 Tcj9gDbT5OJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZdREHgAKCRBD3pH5JJpx Rf64EADLqMiQyJqkDRSyqQnnu9j0mVc9kq1MLa7jJCtJqo5fMPjsb9Uh9E9iGj3niqaA1OMZGJQ HY82Ts4C39y+9qmW7ktWjs44NduqQEjpNgIl+8qOolFboOlmChh1H7ibHgdo7nCNfE52BSsuhT2 c2cbcLATqWp9rLmrgd6NxgD1n+F9GodVuzmHCXaYJMVDikiCcFCuu6ZkBABsmIDMUPj+/3cf5jU Ot3lAB8zJCeE6JE0gbkxqFHfweEJX52luMXCxWpvZSwPTs3Dy4/sUY01lKKjh32K2s9sruXGhNm gCNXKRUod/xmKa4AurGPwX+Mk+blfoVjP1uwNxgV1IhduHZ4gjvZVi+3DWevG+4/zjP2UmOkZvD 7WKRMID5pLSlVeIaNnQ0OsjG65cBVLtgeQiltoRStavUXtWOnDjXLyOFsqfKNPixfus4t2EcXE0 TI5YWXW5zcp/3JN7hlFkPPRkSLgGVPX57YZ+qfccJq7bFIrJfDIw5u136szYJUaC6PI9UuNdsoo oP24PAVcGr1+UhVF5hmauDNebOyDNQ0FBZHgpO0UU2P83+BoEbVtxuhgjrafsGPpJU18q8gYu6m ycOh5oN+kCa1CwA/z3fIDFM5zNuH5nazw4rcg6tzkyOk0w8w4KZEmVl23hGUKd7kOrz+RlI2Kl3 x8GD+UI5nDNhFiQ== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791397662133860082 X-GMAIL-MSGID: 1791397662133860082 The INTR module for DMASS1 (CSI specific DMASS) is outside the currently available ranges, as it starts at 0x4e400000. So fix the ranges property to enable programming the interrupts correctly. Fixes: 29075cc09f43 ("arm64: dts: ti: Introduce AM62P5 family of SoCs") Reviewed-by: Vaishnav Achath Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62p.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62p.dtsi b/arch/arm64/boot/dts/ti/k3-am62p.dtsi index d111e044bfdf..94babc412575 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p.dtsi @@ -71,7 +71,7 @@ cbass_main: bus@f0000 { <0x00 0x43600000 0x00 0x43600000 0x00 0x00010000>, /* SA3 sproxy data */ <0x00 0x44043000 0x00 0x44043000 0x00 0x00000fe0>, /* TI SCI DEBUG */ <0x00 0x44860000 0x00 0x44860000 0x00 0x00040000>, /* SA3 sproxy config */ - <0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>, /* DMSS */ + <0x00 0x48000000 0x00 0x48000000 0x00 0x06408000>, /* DMSS */ <0x00 0x60000000 0x00 0x60000000 0x00 0x08000000>, /* FSS0 DAT1 */ <0x00 0x70000000 0x00 0x70000000 0x00 0x00010000>, /* OCSRAM */ <0x01 0x00000000 0x01 0x00000000 0x00 0x00310000>, /* A53 PERIPHBASE */ From patchwork Tue Feb 20 06:18:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 203448 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp219290dyc; Mon, 19 Feb 2024 22:19:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXL4xwkYyH/HrGYCGaPhfi9YWc9B3KBvT9wEQ3Ey0hiGlWs2k1692QDbFQb8D1K4eDD9R292K75KASgwiS4Ohjilk4DJg== X-Google-Smtp-Source: AGHT+IGdqPuQ6kStGvQNgP1s0bQbkjBs+v0l054ypdovFb2UB5/kG0tIu/h72103PZasUTPsVdAt X-Received: by 2002:a05:620a:400b:b0:787:71b7:a5c3 with SMTP id h11-20020a05620a400b00b0078771b7a5c3mr3790343qko.46.1708409974012; Mon, 19 Feb 2024 22:19:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708409973; cv=pass; d=google.com; s=arc-20160816; b=wGRTKss9v9iaVuxx+y4/mzqYknEsMZu5+ua9M1WpLka3vKDxIAecc0EsDz2Kz2E0Tf EFD0J/dpU4EXpI7KnoY/YEyT3J264YKqPYxwA9GK9j8cmCKyf9a6L4I1OwTYppS71eV5 u9xH0rt6NB+TwGAvykg5RaiPA1fY+cERHFLeAxgRsuu9la9lqGwaEfOjaE8+VfbwOTbZ 8X26+KDJkmPIUooP6fa2mpJWDS5hKpY98JYVhuEg0Sl37tFrM73Y0VWTUJJqW8dPWmpZ r/lrkXCr/82cs3wHVPtrSKEc5bswwrVvcG0t6f6aRYuWba2ynX4+A2qKkP2Q/SK/7RLC mQCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=YnQFBxtIXwo70GOhJdHlRVrZdi2bqii6xgy4xhWN+O8=; fh=sYleR/qLaQC9WN+ZrX+9gz+yQn3p8mKKUFc00u+VVJw=; b=jNtpX1AR4O2JTxxDOsLOrpeOGdeNLbwSMKxZ6LxIA9yF2C6SjBvy1t0Acp1qlb0IT+ Dg3e54VX6O09UmI6ScKozpmoSBaSwkqA2knQR5hDq3EanwbKa4jStSKS9nv3kuEqKK8g PAeu1pQZKFgC4IakOgsdWwVBAaGrd+DHBrFNqhJ1hn8ZuAQQQWc71smi+zfNE26y6/TF Vm8Co9V01hcOhurVmQblXlwwtAkcF/EbA1VzJrVDsiz+7G/+0HGKULIk2cHwUjCzRQcT pHxm2n5uOMDaQyhD72WEAlT7EX2D4hjaXFH4+UzptrA/wewt/bQy09NoJV2Pg0UWLaGQ tH9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="do/N78wN"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-72402-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72402-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id po30-20020a05620a385e00b007876f78b53bsi2378038qkn.727.2024.02.19.22.19.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:19:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72402-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="do/N78wN"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-72402-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72402-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BC4B51C22076 for ; Tue, 20 Feb 2024 06:19:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8D685822D; Tue, 20 Feb 2024 06:18:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="do/N78wN" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 AFF5959B75; Tue, 20 Feb 2024 06:18:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409914; cv=none; b=AWK522mfcl9ASta3ineLXhTLaibvKUZXpszU/L9oHXbAnQJLOyVqPs2Keevwt8/F9V2FvL0lFrxiSmUHFSxlU31YMq6fnq1MDzSDfLr2wbTBAoogF8xu4tk/0XxitwxicsMmW1AKJPdBSN49mjlfTThnvPdVtKqVaKMBd8rkbbg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409914; c=relaxed/simple; bh=k34jv9ed9R/88I+IWEoJv6cf8XHNWFlO40gaCiKu+7U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=lMmNC5KZbVcDCHD/ye6OiXlspf+HwcYferaFFX9+6DNLqUm5YFfEBeQ3slb3pKsfJ54GNI5gOztip+AgpYtTOR1v64XBkbcHL4bWilAoSnewfy7M6AWVQrqnrF6G2k2T4H2SDAKI3OyAQD1IyV6CcyJ+AWQvQEcl3ylAoWNzE8E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=do/N78wN; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41K6IFJo009709; Tue, 20 Feb 2024 00:18:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1708409895; bh=YnQFBxtIXwo70GOhJdHlRVrZdi2bqii6xgy4xhWN+O8=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=do/N78wNL32z0bCJbhTzIkAsagYNjz+jsw5fwAPu6UtIi0UoPf82OhcMW4JNtpY/q Jp1COofg8Vt+fkHIAJTS5PGNjBaLHi57muRPINA+RprgN9EFwcqqBBbbILsnDpxD8S 9HKo7WCp8lTbw/OASq/hxSOmp0Y1D4/5H3/x8ziY= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41K6IFeq048034 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Feb 2024 00:18:15 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 20 Feb 2024 00:18:14 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 20 Feb 2024 00:18:14 -0600 Received: from localhost (jluthra.dhcp.ti.com [172.24.227.217]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41K6IDAQ120909; Tue, 20 Feb 2024 00:18:14 -0600 From: Jai Luthra Date: Tue, 20 Feb 2024 11:48:03 +0530 Subject: [PATCH v2 2/4] arm64: dts: ti: k3-am62p: Add DMASS1 for CSI Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240220-am62p_csi-v2-2-3e71d9945571@ti.com> References: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com> In-Reply-To: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Davis , Bryan Brattlof , Dhruva Gole CC: , , , Vaishnav Achath , Devarsh Thakkar , Aradhya Bhatia , Jai Luthra X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1920; i=j-luthra@ti.com; h=from:subject:message-id; bh=k34jv9ed9R/88I+IWEoJv6cf8XHNWFlO40gaCiKu+7U=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBl1EQfsTB4YxhZ4xsWTyiTc91RK/4HhdmqqqWqG 3TKkiJKt9OJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZdREHwAKCRBD3pH5JJpx RWNeD/9q6LcVq2eQQ9Hov38TNs99qtA/JJ0Ko/lXYdPvD9yTsN4wMobGY7LVRiy0AJzzZcLv+0i ep33QRmytuf+Z9Jw6l2mn32iBOCJHHp6FAFLR1viL5X0cpVrkrtlj9cnVU3kVFz2x5i1Fbs9Ezp GndQqaM6ZEes5fgxMbt8cgxf074o2ICS/wCYq9ocDjDj0DIcFpD66tzaixvvvvZFSzUxiNFg4UY oOPNwVlXXbgEEjWG/3vn0TNe549aIUQFE6ee7PirTorvIJoAX8530fJersIE/zWkfrpELyCdIoI EATtmA+m0263sZYNHjBf3hK3ztX8XQHdsOsdQIV+rkXOIdsqftpWqpMIFW7mLeFLaYI25v+9WVm gxRJFnboj9ikJe6IEYFm9NUW31rGCveGwUIvB8JF5VJgwp1Ax2Wj7M0fUE4/k0GpEMRBVueMAgH UQXLh92W9DkPkWxhZjbF10lv34G/APdIZ+9Q7n0Z/+qIAD5snagq/yRFQceLV0cC/CRQRLou91w MOJi4yC1y43nbmBeGdWC4CyKCthAKTOcfA761yNd4xlU+wxNA0p2tDS5/lnwnTwCxH5DHdxAhIB TQH/5BDqyX29G1O2O4gRAs1QPkq/yOefx5U5RWPJNJOMGFsure0cJHfz/aLwLQH/xtEAYClj69b PL2j0FzfP+vBP1g== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791397696882007259 X-GMAIL-MSGID: 1791397696882007259 On AM62P, CSI-RX uses a dedicated BCDMA instance (DMASS1) for transferring captured camera frames to DDR, so enable it. Reviewed-by: Vaishnav Achath Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi index e43530beb79f..fb328774879c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -158,6 +158,43 @@ main_pktdma: dma-controller@485c0000 { }; }; + dmss_csi: bus@4e000000 { + compatible = "simple-bus"; + ranges = <0x00 0x4e000000 0x00 0x4e000000 0x00 0x408000>; + #address-cells = <2>; + #size-cells = <2>; + dma-ranges; + ti,sci-dev-id = <198>; + + inta_main_dmss_csi: interrupt-controller@4e400000 { + compatible = "ti,sci-inta"; + reg = <0x00 0x4e400000 0x00 0x8000>; + #interrupt-cells = <0>; + interrupt-controller; + interrupt-parent = <&gic500>; + msi-controller; + power-domains = <&k3_pds 182 TI_SCI_PD_EXCLUSIVE>; + ti,sci = <&dmsc>; + ti,sci-dev-id = <200>; + ti,interrupt-ranges = <0 237 8>; + ti,unmapped-event-sources = <&main_bcdma_csi>; + }; + + main_bcdma_csi: dma-controller@4e230000 { + compatible = "ti,am62a-dmss-bcdma-csirx"; + reg = <0x00 0x4e230000 0x00 0x100>, + <0x00 0x4e180000 0x00 0x8000>, + <0x00 0x4e100000 0x00 0x10000>; + reg-names = "gcfg", "rchanrt", "ringrt"; + #dma-cells = <3>; + msi-parent = <&inta_main_dmss_csi>; + power-domains = <&k3_pds 182 TI_SCI_PD_EXCLUSIVE>; + ti,sci = <&dmsc>; + ti,sci-dev-id = <199>; + ti,sci-rm-range-rchan = <0x21>; + }; + }; + dmsc: system-controller@44043000 { compatible = "ti,k2g-sci"; ti,host-id = <12>; From patchwork Tue Feb 20 06:18:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 203446 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp219198dyc; Mon, 19 Feb 2024 22:19:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXce6nFAAbdkjdwvcTtm/o4JLhKEGlfExmpgbLGQhGkBzd3i4fPYjDcZ3Nb/Zf9hNHoYZwGCjnAQOzkQ1UFttuWjNy2Bw== X-Google-Smtp-Source: AGHT+IEf/6tpsn4StqKPXYXk9utPthtziqRn2ptCxEOfvpkieOjcOjTl4jH8DSNg1o4KPts5juId X-Received: by 2002:a0c:df04:0:b0:68f:2d61:e733 with SMTP id g4-20020a0cdf04000000b0068f2d61e733mr11201733qvl.64.1708409954554; Mon, 19 Feb 2024 22:19:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708409954; cv=pass; d=google.com; s=arc-20160816; b=HFxChQi+bk26lVUJExMFV35737+23vSHcKOJ25eYkZuPfAphULjeOJxIsC83sT4GfU n99iVrSHMqZsI2/p2OE5k9bwSaNy43bUFn++WEfc9BAzcQmIm9/04sLJaB8Q6Jxz910W tUxzDt9We3rDg12zMy8TgiJCMx7S76V9fupS0nCNMT9tcl726pwWHwQISlEEDeASSCKj MZZivN+xWKRv8i7lnf8OnP6gfPGpttZCKFC6Ip/6OWHWDUDlH+rqo9bJyZgwfWco/lrL sNbcV19Q+TPwSOoTAqLaUkD4lq7HV+XOFCcMyS4F10NCTduse/bkuJaCT+2wWKBE652s GuVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=zFnxQI7K8zbZ4WLsQct1k4LhVjlP+SEye5vpCjICWCo=; fh=sYleR/qLaQC9WN+ZrX+9gz+yQn3p8mKKUFc00u+VVJw=; b=FOZR32BGuC/ECfdTxOIWVCQI4FLHd5dH5A+hJEZP0NQ+h4LCEv1vICV3NPsPGJqYUm 2uLw4XrOhk0sbYzqcbrWnLYNCVRPkqMWvfEfP3ji6qz6/Q59aZzlBd97vVMsO3Qj66su arh6Gp6wC0IPMPrams1N3Ev4SDFdk0azuAOZVT3i2YbWlkJGBwO9CjNmAf0SHz9+o0s6 EfNikxbtXaxs5gr/4iNyiCVhn+zqGtzbhCtvqKwGXPDUecMhUnEY5PhOZQqxOUnyK979 xJ84BHtlG+PmSmA3m6j6aPGjclesMS6j3tit8aqYY3fK3X1WUhzeH0TXLwMn2JZoL8Zh BBvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YGuZLU47; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-72400-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72400-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r5-20020ad45765000000b0068f4b1bb583si6896115qvx.455.2024.02.19.22.19.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:19:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72400-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YGuZLU47; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-72400-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72400-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5551D1C220FB for ; Tue, 20 Feb 2024 06:19:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 936DD59B4B; Tue, 20 Feb 2024 06:18:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="YGuZLU47" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 51F0758AAA; Tue, 20 Feb 2024 06:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409908; cv=none; b=SJKDrpt+ozUKP5TWdMWJgxcZlFti/lerrEVuBdC/k3LjpnAhFndPrTjBs66c8GOw413RTf1TEfMCv1dbAJXsK591AsqKYXZGXNM5smHyOFF4L1ZT2gimnv9y0KyoYbgxipw9z5gZ4zekgN2tp6r40f3HSFqcmLhnTGISaXSesVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409908; c=relaxed/simple; bh=1otlUFNCIJX/oyo61dusJEUzo2/iZlp/BV1ClIrSGtU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=LvxVwQIAfIPI/X4PLeZSfi01LHiUs/baDoWIaDIAuxYNVYT8kZZ+PbrNCQnhRdGkPKKwFGuoOboLf8XY+y4nO28bqZFvhPcvztgU0GKX8flkxSVpfuEsIbPkjSDXsmvmCvXYJ644gYSSEsXf2FfSm1neMkIR98VYcDE7qdYaSHc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=YGuZLU47; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41K6IGpB128547; Tue, 20 Feb 2024 00:18:16 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1708409896; bh=zFnxQI7K8zbZ4WLsQct1k4LhVjlP+SEye5vpCjICWCo=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=YGuZLU474p128o7GNQ7t6JhU7X3bPkJC8mJbQIsjTJZpiIFjxFTJPKSv96eLhzprZ 94WFB09xZkAwKtSxb7R6gumNtW9anOs1lde+5jbeaefqrjO+SxCU7R/wou5EYg/loU tSv3HzBcgoADlMTpdTKfb/rcFXC4Et9tQUykuHxY= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41K6IGbY017855 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Feb 2024 00:18:16 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 20 Feb 2024 00:18:16 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 20 Feb 2024 00:18:15 -0600 Received: from localhost (jluthra.dhcp.ti.com [172.24.227.217]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41K6IFUc120947; Tue, 20 Feb 2024 00:18:15 -0600 From: Jai Luthra Date: Tue, 20 Feb 2024 11:48:04 +0530 Subject: [PATCH v2 3/4] arm64: dts: ti: k3-am62p: Add nodes for CSI-RX Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240220-am62p_csi-v2-3-3e71d9945571@ti.com> References: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com> In-Reply-To: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Davis , Bryan Brattlof , Dhruva Gole CC: , , , Vaishnav Achath , Devarsh Thakkar , Aradhya Bhatia , Jai Luthra X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=2382; i=j-luthra@ti.com; h=from:subject:message-id; bh=1otlUFNCIJX/oyo61dusJEUzo2/iZlp/BV1ClIrSGtU=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBl1EQgWM7k6jHq/OCXh2YEyP0xfe+tWoZGqoU1O qdRn3hZvCGJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZdREIAAKCRBD3pH5JJpx RTNPEAC4jt7KaRvu1Eco0kd+95uazDnj2iuaa1ywvPIaAaAsbfoejFtIqQwjA25xrUz2dv1NMZ7 oC3M+jZlqovOulLAPeYcSfkn1knhgPVjL+OVmMnzmyr1gGNklUpLbz34dzSIt/pNVclL9kV7sYS d5xblbxV7ZbySZmd7VCsu0DRw5JJim6wm8EhFxc4f+vcKt3OAMFHN68aKgDOEjB+yTJkvafn2Eb ouVPLJyzXPUb2Rtf6GxxoQMcJQEOZri3uIs+N7Un+JJdMY2NMGvHLg1gzDEJVTgEUx9zLrIKZji mYipcaKbsxI1ThqMprlzOGA5gA4YjPt6UT5zL7cyBLBD+rc6Pk8Skfl3aR6yVpfngiy7qr/B9ne dgQDjNTELndMgbDHgoEFb1/22q4aVoxPlIWlfi4uEYb4Mz8+anE0QaT2yROVE62VoVoPQg5bPfG AGK28FOpLbLBGD7tqBSopnCkO+xgnwhxeADDWHlpe6UgofBbPavgS4wuRuKRrrY114wGtMe4JkO l1h5A/rGwz2WxZJ8hwxBS8fg2AoqSdg3QQgOsCmC1Pxxtc5sd/ZMzVFuiTUeWVmMfu6MRoxozbE lzjCv80IjSleZwhpPlL7NfLbTbbF1h59mCX8g16rjMHnRdn3w+CsWMVziwV3i9VASahDlgsVQ34 rtjUpC3rlBpydqg== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791397676743640548 X-GMAIL-MSGID: 1791397676743640548 AM62P supports image capture via the MIPI CSI-2 protocol, it uses three IPs to achieve this: Cadence DPHY, Cadence CSI-RX, and TI's pixelgrabber wrapper on top. Add nodes for these IPs in the devicetree, and keep them disabled here, so these may be enabled by the sensor overlays. Reviewed-by: Vaishnav Achath Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 61 +++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi index fb328774879c..3f271e7710d8 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -966,4 +966,65 @@ mcasp2: audio-controller@2b20000 { power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>; status = "disabled"; }; + + ti_csi2rx0: ticsi2rx@30102000 { + compatible = "ti,j721e-csi2rx-shim"; + reg = <0x00 0x30102000 0x00 0x1000>; + ranges; + #address-cells = <2>; + #size-cells = <2>; + dmas = <&main_bcdma_csi 0 0x5000 0>; + dma-names = "rx0"; + power-domains = <&k3_pds 182 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + + cdns_csi2rx0: csi-bridge@30101000 { + compatible = "ti,j721e-csi2rx", "cdns,csi2rx"; + reg = <0x00 0x30101000 0x00 0x1000>; + clocks = <&k3_clks 182 0>, <&k3_clks 182 3>, <&k3_clks 182 0>, + <&k3_clks 182 0>, <&k3_clks 182 4>, <&k3_clks 182 4>; + clock-names = "sys_clk", "p_clk", "pixel_if0_clk", + "pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk"; + phys = <&dphy0>; + phy-names = "dphy"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + csi0_port0: port@0 { + reg = <0>; + status = "disabled"; + }; + + csi0_port1: port@1 { + reg = <1>; + status = "disabled"; + }; + + csi0_port2: port@2 { + reg = <2>; + status = "disabled"; + }; + + csi0_port3: port@3 { + reg = <3>; + status = "disabled"; + }; + + csi0_port4: port@4 { + reg = <4>; + status = "disabled"; + }; + }; + }; + }; + + dphy0: phy@30110000 { + compatible = "cdns,dphy-rx"; + reg = <0x00 0x30110000 0x00 0x1100>; + #phy-cells = <0>; + power-domains = <&k3_pds 185 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; }; From patchwork Tue Feb 20 06:18:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 203447 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp219228dyc; Mon, 19 Feb 2024 22:19:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUSRKR7Uzbf2i3fjXWQbkFtbUwrJItuq2E4Rs1liY5G2FmkDZA2BVoi3HPLIBMjYwbNboxzfM17oQTDtgXKwl2kArz5Mw== X-Google-Smtp-Source: AGHT+IE/4eXnDjiTvUGTMBE+TcxJqkMLcu/ZtPw7zlQpnzU1k+oUqqznqykluJZHuBVwSriHDfZq X-Received: by 2002:a17:907:9483:b0:a3e:a383:3581 with SMTP id dm3-20020a170907948300b00a3ea3833581mr5078923ejc.24.1708409961058; Mon, 19 Feb 2024 22:19:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708409961; cv=pass; d=google.com; s=arc-20160816; b=k/EVp0VFvTGzl6AoI47u/Otkyw/VBsWiENO6Hkv/xW2iTLsMuNFdI+dXRW80+ozd0f KjPb+3BFiCGbC3m/wG0w0tVMz+P6PPqpabgnSYg3AvD8QUBer1NQHfwF57eaw43hZ6CT dxEnQUtKq1DJAqpQtr/QZFx8LfeyQ3D+aAau4TFdrdTHiboBaccyxEq9EtkcUzW76lP7 TPLJw/PwVCewFFuiqxi1nNO9lqchmGoGr++DSInxRp8UWRq9AV2gnVc1UVWLs5Q8HVeN j4ihfTjtJuf50WdMY9rBcEUTr9bNW8GQUFSWwctmMgrJDB/RIK9K7AHflOD1JeR2J7TN mDEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=1Ww2tKra2g8SI/rOHyEKtVJHw2cqSJMM6b5DyVtND4U=; fh=sYleR/qLaQC9WN+ZrX+9gz+yQn3p8mKKUFc00u+VVJw=; b=d3mYHjXKHc9BSEyhdFoq7IkLHCl2b2IX6YbhhPqekHLewcdS3MoFzIvInLFNFi1eq8 d4zbMmJIxjn/3q/aTIAgzn7QSU22me6GEDvgir0kueL01M971PyCfPItznnC7L+hanba cI1BomN1Ddgs/0/7DmK0Z727mnHyzDYY+52mgqoZYgLPBOhTMtHxKeXIWabVyEZvDXJ7 l2Rv4rVR70Nx5d9WrhaPOFWa/YJUV7L/Fu8MlcL3tyeOo0j8iqjMBKXxKt6KklFiD6oE vszJXXtIlN4ouvEIi0npRwgvsrqffWSORW9OYKKzgwCZraTE9xnNTqc043j03x/QuuLD Lmmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FHmyR6iB; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-72401-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72401-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dg18-20020a0564021d1200b005640f83f635si3109577edb.325.2024.02.19.22.19.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 22:19:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72401-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FHmyR6iB; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-72401-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72401-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 A818A1F25302 for ; Tue, 20 Feb 2024 06:19:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 463CF59B6F; Tue, 20 Feb 2024 06:18:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="FHmyR6iB" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 15FFA58ACD; Tue, 20 Feb 2024 06:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409909; cv=none; b=oivAGQw1Fb+puAiTSmFFIlFJ1jdYIPlhISv7DWlw9A4vI4BvnIDkWe3MCXq/ZwXfTa/qrfihWSGsZNAa0zdvUDWlV8T6iVnUjXztswqeR1Kbu6oB6yVKBgSddjvojM3CBJjLZ3mK2wgOkhLsw2mACZgM4YGtela0sfmKk8tIJeA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708409909; c=relaxed/simple; bh=mOxmtY9st1BCh5hTsuJ9O39rltM8En2NwBJnC+c2x4g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=M6LD3jpGZkrgS29vPMmYFrqnJHjvLNmgrxJNV+CH4x6CUEy4usdNqPnuY9TwLSmXqtmVoVvuYldEWCBl6jucLVEX1ERlW091KHolrkghgHJkt2wORN2BGkjBhwrTKwIqSk/LAWxp00uzCAUlBx4DXh9JJTof13ZjDoGZGtSZ46U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=FHmyR6iB; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41K6IHZa128561; Tue, 20 Feb 2024 00:18:17 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1708409897; bh=1Ww2tKra2g8SI/rOHyEKtVJHw2cqSJMM6b5DyVtND4U=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=FHmyR6iBSX45l9QEjIRzpFp6FQb4CRqC8krWUuc7x/gC+j36rc2/qxB4FujLhGOAi EonVUsO/W6oAz/pBMCnH+OGoc0lHGiFMMhLNufHU8Kkpo/fdlqL3MJyxHQhQMv/VPp 9SSAnwoYl6w3Stt3HHE90ok3iNXcG9Gj0XsYWPxg= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41K6IHXg017884 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Feb 2024 00:18:17 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 20 Feb 2024 00:18:17 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 20 Feb 2024 00:18:17 -0600 Received: from localhost (jluthra.dhcp.ti.com [172.24.227.217]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41K6IGql120967; Tue, 20 Feb 2024 00:18:17 -0600 From: Jai Luthra Date: Tue, 20 Feb 2024 11:48:05 +0530 Subject: [PATCH v2 4/4] arm64: dts: ti: Enable overlays for SK-AM62P Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240220-am62p_csi-v2-4-3e71d9945571@ti.com> References: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com> In-Reply-To: <20240220-am62p_csi-v2-0-3e71d9945571@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Davis , Bryan Brattlof , Dhruva Gole CC: , , , Vaishnav Achath , Devarsh Thakkar , Aradhya Bhatia , Jai Luthra X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1928; i=j-luthra@ti.com; h=from:subject:message-id; bh=mOxmtY9st1BCh5hTsuJ9O39rltM8En2NwBJnC+c2x4g=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBl1EQhPPxTSTZCUdaFG3RfCLyvSt17Tz6qj9Q9m etSQMA5YWSJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZdREIQAKCRBD3pH5JJpx Rb7uEADFjRww152PNobZpfle3BZoqucli51S+f4tir2m0U+ybPgiZvGD2vtIUkMNMarJGUdJanQ 7rebIGOo6w20p8H/XnMo5j543RSjpLxDGl254/bL6BnEM0ySiGhXprRLyE/HxabsDgRhVaaModc 2czNW4QeLBgVD1/DPeDB/6A9LVClBLJl5ELE+wVF0AP5w3o/kWbxqWgY4YYCVglUNkdrCv06Zu9 T7RMGlwqiYFQFdwrlOa+gKs431z/aFbdqit6jC0/04gmfAxlaMZ2seG2QFmA05rskXeMZjCAkQ+ fLLvI+njY7O/A6atovwVMxELg3+iWdWqYPOMaIZvbptiZ+O0pcY0Qn9kkW7caJJ7YOvPWcUvxYN 6uXHOmJJS1/uXPtMbbWHLQEzHACPMNxak5Dz0EmDtBe7/MKxyPEctZMjiZ2XBR6ny1oqUH18g6K K5vltWjGeFiCv8wbZdopg7nbNfcwROlgvLUgmk0WbmX9H9VKAyiLxz+nAtVvl4aGS4z5753GyRY +rdW732qwFaMXapONFI66TUOd7p+DEfu7O/1mjoNNYwEyS+lj2eRgAuuEvRalQUkSmWs1fHEZtI lpcrMcV057YFRCxlyoxFX9TNG/fbNn0VzczOwjYCWdQEaKvPO8ymcA3ZFMfqu9b1o8O9Hk/cSrM VHM0w9bV4vLxfnA== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791397683489504227 X-GMAIL-MSGID: 1791397683489504227 Enable symbols so that overlays can be applied on the base DTB for SK-AM62P. Also compile-test known-to-work camera sensor overlays for OV5640 and IMX219. Reviewed-by: Vaishnav Achath Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index d601c52ab181..9843b7656725 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -116,6 +116,12 @@ k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \ k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \ k3-am62x-sk-csi2-tevi-ov5640.dtbo k3-am62a7-sk-hdmi-audio-dtbs := k3-am62a7-sk.dtb k3-am62x-sk-hdmi-audio.dtbo +k3-am62p5-sk-csi2-imx219-dtbs := k3-am62p5-sk.dtb \ + k3-am62x-sk-csi2-imx219.dtbo +k3-am62p5-sk-csi2-ov5640-dtbs := k3-am62p5-sk.dtb \ + k3-am62x-sk-csi2-ov5640.dtbo +k3-am62p5-sk-csi2-tevi-ov5640-dtbs := k3-am62p5-sk.dtb \ + k3-am62x-sk-csi2-tevi-ov5640.dtbo k3-am642-evm-icssg1-dualemac-dtbs := \ k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac.dtbo k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \ @@ -142,6 +148,9 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \ k3-am62a7-sk-csi2-imx219.dtb \ k3-am62a7-sk-csi2-ov5640.dtb \ k3-am62a7-sk-hdmi-audio.dtb \ + k3-am62p5-sk-csi2-imx219.dtb \ + k3-am62p5-sk-csi2-ov5640.dtb \ + k3-am62p5-sk-csi2-tevi-ov5640.dtb \ k3-am642-evm-icssg1-dualemac.dtb \ k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \ k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \ @@ -156,6 +165,7 @@ DTC_FLAGS_k3-am625-beagleplay += -@ DTC_FLAGS_k3-am625-sk += -@ DTC_FLAGS_k3-am62-lp-sk += -@ DTC_FLAGS_k3-am62a7-sk += -@ +DTC_FLAGS_k3-am62p5-sk += -@ DTC_FLAGS_k3-am642-evm += -@ DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@ DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@