From patchwork Thu Feb 1 13:07:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 195333 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp147444dyb; Thu, 1 Feb 2024 05:26:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOBLhexRC8pRrY44DYQ1rBlEOWP2mlidpuG5rc3N+wFzOv+wwJTxje/jCtPwvQ6CpFMghS X-Received: by 2002:a05:6830:39c8:b0:6e1:3b82:4a36 with SMTP id bt8-20020a05683039c800b006e13b824a36mr5143692otb.16.1706793970149; Thu, 01 Feb 2024 05:26:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706793970; cv=pass; d=google.com; s=arc-20160816; b=k3vN+8c483EZCQKntd28snzNzpabiTsWWiAgsxAz7bxaCZnGLSiIJYtUokOOn5zWH3 q2T0C0UqD8D6B6mijs6AOcpJW+VPgGlPPbSV74jYDwFofiEOcW/eitG4ta+8AK94jP0U //dlY+mPUfNZRCWQO0N+XhecDcnECEm8nvePOrdqakFNqQETuBbz5ZE7uIKiMt6wu2QM rrMkwuHyWhoM/yuKgg0Ksql6Z5ewCVPEYNoyZIY4CqmSWFGjmuBXJsdDWFj8R/P1PHHS XBtczqTDTeEYGEZeHXVRSHCgRBWEORo5NJOqzhK2GcoEWWwae0fgbiJeS6+KohEjbojm bxSA== 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=jokkh7mm/vApO8cJ2IgO8lvQ0Jxmj4g+5elU4Bg1bf0=; fh=b7blwa6+0B8DCRxHHbj+CJsJCWM7LIdPNmFFt2V7jQE=; b=tOt4DpIujqvcNmPaqEmFpnQffP7Dwy1GXWIpqC0WXZoI+o2HJEgdhELNpAzitZz2kB 7vSBj3EmomlpvIDgUb52nkXDjESb1LjjwYUkH1IPqZ5piH9YF5lL9sJowGN7NRmfdnde zWhza97xB6Pmeydi3tJDT8G/iKbt9BHWq232L33RLGmszAOgnmtc3MfEpToYFwRfITf6 t2+KEvoXaY/uAAqbqbxWTI2bhQJ/q5x/pVtIUrbO5lik66BSmY7gJs2Dv9He0vq+NedM /rvOk3a8nrXH5L3kEcHTcOJDa7eK41jcS10LHTIDBmzlAQCPp9ysGcZxYDW/ckBHr8B7 vbqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=r282Ms25; 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-48191-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48191-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCW2q1GkHZnXEcmE6qmbYeyh1XhHxWp/reR1pTgIGkAdZ7uuZibhF6nePLlB8HRWU15zrQHxtXgIuQ/WOY46QktliJflqQ== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id n21-20020a637215000000b005cf0309c21esi11839304pgc.269.2024.02.01.05.26.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 05:26:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48191-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=r282Ms25; 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-48191-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48191-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 57FF8B2A752 for ; Thu, 1 Feb 2024 13:07:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BEBEF5B699; Thu, 1 Feb 2024 13:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="r282Ms25" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 847234D9EC; Thu, 1 Feb 2024 13:07:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792839; cv=none; b=m+ZdsXFiQrxTuG4nT9V5WtZ3HYOhChNSC2YMadMPHEDMWS5RR4rjaQ00IJoRHcseAATLSFXZP68kvs6Y0blTxBXslq2X3HW5cz0NkIUOO6X1AsTIdGyXy82UqNjf6V9OGzE7lTqTIGAKUDoaYf5TXhtOzYouNLKP0Ewga64kXsA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792839; c=relaxed/simple; bh=1CMmX3jd2pLUCqu+EFJBJO2nN+pqTZAQeqrdSBzj0jg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=nPucYto3Gj4FXV48FJ6w0LZRE6n6nDsTrAwVDCArKfd/H9uw3xujlSN6mm4yOy+aewAUa0CW/6d/WLGe0Z7n37vyLuTj+g4JwU7FRqvMKEWKW9speWYFly07lGtTl8Y/8h9b729/siSJskgJYvxCok0YvbpumuV/J4o1cRdKw78= 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=r282Ms25; arc=none smtp.client-ip=198.47.19.142 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 fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411D7AnU111374; Thu, 1 Feb 2024 07:07:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706792830; bh=jokkh7mm/vApO8cJ2IgO8lvQ0Jxmj4g+5elU4Bg1bf0=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=r282Ms255/nIRnj88+3M/JfpW/Pv/lJ3UZjPropVIF/Uc//UlXNURvkgy7E8wH4A3 xsaRKrvSyp04oXH9VTA8+xoyHofqCdizaGv2emVCDtVY+yF75/WEszViaGr0sSZQTM VC6U/hagsRrhLB7wc2RQ0JL34rQyIaqlvQovafvQ= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411D7ALf121103 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 07:07:10 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) 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.23; Thu, 1 Feb 2024 07:07:09 -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; Thu, 1 Feb 2024 07:07:09 -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 411D78Sp012827; Thu, 1 Feb 2024 07:07:09 -0600 From: Jai Luthra Date: Thu, 1 Feb 2024 18:37:00 +0530 Subject: [PATCH 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: <20240201-am62p_csi-v1-1-c83bb9eaeb49@ti.com> References: <20240201-am62p_csi-v1-0-c83bb9eaeb49@ti.com> In-Reply-To: <20240201-am62p_csi-v1-0-c83bb9eaeb49@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=1288; i=j-luthra@ti.com; h=from:subject:message-id; bh=1CMmX3jd2pLUCqu+EFJBJO2nN+pqTZAQeqrdSBzj0jg=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlu5d31SanWbJPLAw6IkCBDYpbCnLupNV7p50ky npr9EsviW6JAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZbuXdwAKCRBD3pH5JJpx RWW3D/9brVgwvqumRvQwKdedaNFFpsPh1+tqTV2yhjv649jdQpJ0kOK8nN7BR2AVhFDdAwuZ7Ox HXASrP0FlJ5hmpPskOhdrs3ps82JerRhKy0r4t8uFaHsO4aOy1rB6s7rdI6QUJahxCkSSNX5Dii XQ0HiiQzcVmOwtDaDj1JS1SpGmLuLIr/sVEm/MLQzlZmOWEsWSMFXV3GqDt7CYtCqeyd6U/xw+2 xZyX4vu9fkQsGVP+LeakRTdgpJMLPsEvkiH3AB90UL32zhWPd4TzKFq1NlRuNg4xlsZBdZhxATX fhMoooWjwuctgyLwrR9g7VvperRffDlCOiMfYiwTFqd485Dhi/X0+3KN+4bwWbLFp/ueWkErRsp o2mSdNKSpNNUBW+w0afHmt70md8BweShcStAu5GEydfn7RVkPryIQkk3SbQi7IXVVRBfuL6Z0uQ 1YKBgVs/GqAI0ckp8qd9z8NcUIu5WBIM0rqoNj91a2rChPSe0ef5qlIewuYuv6phhM/YLWVNkwn DIzYPMW+lM4GGEXIp3LyB0KEVKuElGGa9Kf6I0GQ1d3yLQ26cfXa+4Wg3N+Qnj7ycycoglCIJSo zW2ey7ZIbyFlZiVdvnR8krRa8rpCZvnNe+9yLzUi/qz1rXmQPxGMYKnvXmeCAe7b33a4ljsZGwL YsIB3+/rTqcW7PQ== 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: 1789703194056543404 X-GMAIL-MSGID: 1789703194056543404 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") Signed-off-by: Jai Luthra Reviewed-by: Vaishnav Achath --- 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 84ffe7b9dcaf..4f22b5d9fb9f 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 Thu Feb 1 13:07:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 195316 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp135622dyb; Thu, 1 Feb 2024 05:08:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IERUgmXgs4N5wQ8hdrlzQ7eG/tdR9Sd2+pRStZBzZHYrUrhNhnxtjuH6USLJPwSl+1wyNyD X-Received: by 2002:a05:620a:400a:b0:784:5c6:94cb with SMTP id h10-20020a05620a400a00b0078405c694cbmr4131824qko.0.1706792882011; Thu, 01 Feb 2024 05:08:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706792881; cv=pass; d=google.com; s=arc-20160816; b=snEiQ7SrimFFCWI1jBUJuUOMuop0hi6PL5LjqbcTyeWsFEZAamxxB2r3mR5X9Ntz1K sFwXuoONvLv0MAKvRa7eVcxPwtfM7z3EwO41fNDLY00uFoKgbn+eqAVUfML6W06IE70X Q6mzt11jCkIxKynBfivkC0Fus4poIxTSc1y62wQRUao9K6uu3FJr6RJ34ryqhl8NICZT GZaEYY31Xdk2fFahniWlHyMEwAgnuz3qv5r7uDU4dRSZHcXOgQYbL9wWeh8AVYtRK+if pop+YAMiiThHQ58HUG1vXTSn65S4lfUJCypjVT5AIuig0t0Y4JuTXtz6WdLTKTuDxUP0 u5OA== 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=oQoiwHa2AlMZkLmNMt3eKpIEsv47bV+WnPV6WBux3Jk=; fh=BD4Y/ycSBQd6d6hSzGQw1Lg4Z1t0LWR/ZZ63xLf4vRY=; b=mE+OcGYUNQaVPmvuzwa0bZQ3TfSg8vU+NZ95hfN17LeTcQt8I1EbpQQMk55wPB72p5 LUEKLeWIOE/Whta8a+oZprJN/hadLS8NyuRhl2PaX0HlZgG9sy33hoevXCMdSGcHLlkf k2+XUj2gKGOFHsJSL8hfahcWHbJmmiir5DeyZN9FKsGufEfCeOzxMfrtPByWGgwCUJ/f KLKSjDE7EJMVLh14haMfu1j2Hn0iLn1HaNLO3Ye9R8AYnubb91BwT35jibPMIV9Ah/AB lw/U+5hG6j9YRsVXlqFn3zwS9pKOZrouwjfv47Z1W79jeXH/u7JxFuTB9/AUp7j7l/u3 evkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nhnkWPG8; 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-48192-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48192-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCXz84QAe4Q9krUGuhOpRFg4Y8xjh1IsZxlCTrLHCXAocwNExNAZYw5JFtJKz+DI0oRUrYP5SikcJuHhlS/L+WikVQIHbw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g9-20020a05620a218900b00783ff7daffcsi8429425qka.439.2024.02.01.05.08.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 05:08:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48192-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nhnkWPG8; 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-48192-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48192-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 CA5961C23402 for ; Thu, 1 Feb 2024 13:08:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3AC25CDD8; Thu, 1 Feb 2024 13:07:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="nhnkWPG8" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 846F64D9E9; Thu, 1 Feb 2024 13:07:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792839; cv=none; b=ETHRRlw9kbNdaBBVXz1VqVDX0zXkscpfLJYqnkSreePs4PpNl2H90rlvKSNyPyCt+298+mUjeDVBzViO2+uoyZukaLDVieqJVhSvlAhwHQujtsd6Y0n1cf6yE+a556S5LMuxB+zqngP3+Y/E4pQTz2Bdt27PWRWHI14sS+gIyH8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792839; c=relaxed/simple; bh=wga3no5yHB1i1ri478UBzBLBeyiLJJjEqq1Q06COIl8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=TFUFOJQUYYZxlP8JvLnucx7yg04673rdVUydIPmyypKSpAzTPML928P5Fq3u6hv1lmPgekW2P/jQxcBxjNyIo+3rwW8YehOtEmrDXBcBrw5ll+P2ntc2rAAbkpmiNUb+bUQFC7jxb0RN+DxHLjs0gjV3uMMJ+/FmaSw4QEEzzb8= 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=nhnkWPG8; arc=none smtp.client-ip=198.47.19.142 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 fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411D7B7T111379; Thu, 1 Feb 2024 07:07:11 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706792831; bh=oQoiwHa2AlMZkLmNMt3eKpIEsv47bV+WnPV6WBux3Jk=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=nhnkWPG8sezM44+vAKv2/Hhk0puVQ0NbbxGjjtNsdQTcgz+hl325jPSlNuGimjGy/ biKf0cKdMaHEmlx91lKIBlBM1jefXv5WNxZA41JgapiCIFZctgr9rzinBj0VY/mYQ8 Fx0bEiKDN4+C0+xCu6VQpbo8KPUDKgDZcVuFGp9A= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411D7BaK107452 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 07:07:11 -0600 Received: from DLEE114.ent.ti.com (157.170.170.25) 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; Thu, 1 Feb 2024 07:07:10 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE114.ent.ti.com (157.170.170.25) 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; Thu, 1 Feb 2024 07:07:10 -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 411D7A5L012842; Thu, 1 Feb 2024 07:07:10 -0600 From: Jai Luthra Date: Thu, 1 Feb 2024 18:37:01 +0530 Subject: [PATCH 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: <20240201-am62p_csi-v1-2-c83bb9eaeb49@ti.com> References: <20240201-am62p_csi-v1-0-c83bb9eaeb49@ti.com> In-Reply-To: <20240201-am62p_csi-v1-0-c83bb9eaeb49@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=1870; i=j-luthra@ti.com; h=from:subject:message-id; bh=wga3no5yHB1i1ri478UBzBLBeyiLJJjEqq1Q06COIl8=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlu5d3UzGZI6YxZ0RpP34ApAG9iZABT3QHe4loq xrLB5vXE6WJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZbuXdwAKCRBD3pH5JJpx RQmWD/4zC0k6WPHx8BWC0BSGOGXECIOmBvgFNWKRwwineHuFevumwYrcrajNZm9MXQNELnxmHIP Ee7p99LtuxyQ5BaWQG4U6Q+OtRy/8wPmqS6Oxe7gwCV+7UNbXltCBftFtlaDn9xLte/EcgVsn01 W+eIq7vD4xHdiywXkWv9YKYKPMMeDoL96S3wI0On1hQ2Aix3B6CJiHVipxnkMZTpeb9VMJGZdgo /6Y9p8KCSlwfgR9SRIsP21SJ1Ms5BAuUQWZaAW0J3VZNnwNwBczYnq8hHKQA0EpF7P8ncbE+p4k GpEiuYab2lTRCvBeXkivCaZGEUiuaRGZD+DuZK0LOflcuUy2tB/5ImdUefaMo+uHIrQvWVaSPFO j6Z880nxEqcAC6GoOr0wy9K8MLmq/gHH82yhdG1czC66k7S5MpAfkXXi7F2SJuK+mMzkkpAMJvJ ZAOXt2y+kxFHTGI0cXOMv3E1JPtF0RHTxsHCiF9uqXUsl8U6o6bpQNzh6Hw3AgJkBDs3AU+Bx9G V170r+4IrQSLNtnF3C3NfcJ/LdPxuY9xm4WE8+j8Qs0L9VQyzfksNwn4QP2uk5l1z95vLGPtSEU /61EvcbWtwvpi9iYmvTa3SuMEMJeRRwgWs1nMaXlqg3U3jiY2yEPLAtllfV7UoYO7HvQIepwEE4 sPro7hCuIGEXu4Q== 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: 1789702052782140155 X-GMAIL-MSGID: 1789702052782140155 On AM62P, CSI-RX uses a dedicated BCDMA instance (DMASS1) for transferring captured camera frames to DDR, so enable it. Signed-off-by: Jai Luthra Reviewed-by: Vaishnav Achath --- 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 4c51bae06b57..57ec4ef334e4 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 Thu Feb 1 13:07: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: 195318 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp135863dyb; Thu, 1 Feb 2024 05:08:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWdfYiEyIJxPLQ93tOrlTnr1PiAMIRC9xxBdbp/NR2/HsFsWWK9jaOhWQzV6omE4Y9UoAn X-Received: by 2002:a05:622a:24b:b0:42b:edbe:622c with SMTP id c11-20020a05622a024b00b0042bedbe622cmr4438984qtx.43.1706792902979; Thu, 01 Feb 2024 05:08:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706792902; cv=pass; d=google.com; s=arc-20160816; b=AFQ6RKFjOBLnSbHXMNxatvlNrAOs0JHx4gT+QXxmTj0vJ9G8kseJ9MVf2tgrP/hxXw 2Xw7k4zTtqqXSIDzJwVx/sYgA6xlutAKsYxAQ8evRTRzaRbxIR+UDDFPjZGhxdYqCvNc KduPou6AXoVPhQlKUCpEu6LPH08ePH1H5uy4xWfh1NjXsemMxszQ6izqUVcDUOjU9ZgB dfifQpMl0usl6EDGQ2OkyN/Fwfvw2i4Qg91UDckJH7JlBjEjarad6m9nM4ZTYhmP5LLZ 9X7XmoUU98Ba/XIFhR3wBUcJZSeHGgNOViOm5lKpm0fgL/XWRSGsvQ76fe4xttka9ODB 1hSg== 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=vbpfH3xzkJyVZB9YSWkN/xzm8Bq9Yd74LY2NszD7sNU=; fh=HAeLMgzmPm+K6W72b4wAo62w8Hmu14acfl9Ja6CTFWk=; b=ij8xDIBRwbmcIXAJfQUmWH1fPfLyOcjd7f13e5CMQAYAz6NbFNQGysWdPkDu/wiQut Ol/ATHLSAt+opHpkr4RoSxAuwK6eZSilBCN4WBmsqOZs9qxjIuXF4WHA7+4o0Na/vpLZ dHX7E00KptpC13/D1UQTS0QVyyPhUfkuKuebM8bBq3h/YOXixAZ5fEi8LkLlAnx0XKqa XjcDQp2xczRddWIj1Hu/jh1bTjncfhNEq+ayV/7f8dHgxxD6ADASL46M4h8oC8E4GivE 2pjwWd98gzcYVpj8AaQirQZgiomhKaqyF1JCwkIQLYqZEFSVKVNzAG3wHQ8IC0IeJJ+Q Kikg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xGbukezs; 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-48194-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48194-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCVEpR4mOwF4zfFtL7MH+8/ZBT+iNgT79hI3sAz/T8h6un5nI4H4DbtwewhbH3+DZXZuKkzajfX7FxnjNCZuBZ+CBs9KFg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t2-20020ac85882000000b0042a5c3de4cdsi14106083qta.384.2024.02.01.05.08.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 05:08:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48194-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xGbukezs; 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-48194-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48194-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 C17F21C20F3B for ; Thu, 1 Feb 2024 13:08:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CC1C5D46F; Thu, 1 Feb 2024 13:07:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="xGbukezs" 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 004145B67F; Thu, 1 Feb 2024 13:07:20 +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=1706792842; cv=none; b=SDV4wduDRq1b+y8CXq9tn15HluGUgKpEbWS3qm+GOBeMMyPLIlt0W43wJg6vEC6L6xxqXg+67Dl2MfU8CQhqzX4Z0yVchSkUfWDuv4TFA2/EkXvcX3ofkQyx71Cr+WqLEcXDCxDkt/4KnpPIICqHCUDqHgvAff2fGt9s/KvvC5c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792842; c=relaxed/simple; bh=5ghTK3wJlbTR8AXSwps2iXRCuqJEWnnANC2exXFGf0I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=LwCYXYgUSek7KRhpgDENvkfUJmTV/mxgPkmIygNPV8BcBg/Womnv/YANwGmVhZhki+7L9izW0h9dqDz88eTUDWG6kVHczMmJlfPjLVY+WUC02kqIrliUh2EiB5/8p89Zjb4uXhaiHyKEp3Nz7NklAVPb/NsK8p7Lej4ViKzQG3g= 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=xGbukezs; 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 lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411D7CRF104580; Thu, 1 Feb 2024 07:07:12 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706792832; bh=vbpfH3xzkJyVZB9YSWkN/xzm8Bq9Yd74LY2NszD7sNU=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=xGbukezs6P0MRWmru8PQGqhrAWEqG/Mgs4mucJgDSWO/VTIBPgYmJ30ZhwBVp1kKH xKepApviDJArEHcjUCx8l6STvjOe4N2QKdbBz/lErldm7A/sYvsSQFXgzsnZs6Cq1U fl7x6PlWI/zt8kSQb+YD8YXQIqYUKs00/GITiMOA= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411D7CVm031182 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 07:07:12 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Feb 2024 07:07:12 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE109.ent.ti.com (10.64.6.30) 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; Thu, 1 Feb 2024 07:07:12 -0600 Received: from localhost (jluthra.dhcp.ti.com [172.24.227.217]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411D7Bff083003; Thu, 1 Feb 2024 07:07:12 -0600 From: Jai Luthra Date: Thu, 1 Feb 2024 18:37:02 +0530 Subject: [PATCH 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: <20240201-am62p_csi-v1-3-c83bb9eaeb49@ti.com> References: <20240201-am62p_csi-v1-0-c83bb9eaeb49@ti.com> In-Reply-To: <20240201-am62p_csi-v1-0-c83bb9eaeb49@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=2254; i=j-luthra@ti.com; h=from:subject:message-id; bh=5ghTK3wJlbTR8AXSwps2iXRCuqJEWnnANC2exXFGf0I=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlu5d48mmOGzRlUpK7Pm3DwOBiwK5TL2cQ3YTM2 KoLLVrg/jyJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZbuXeAAKCRBD3pH5JJpx Rbx1D/0bnymt14c5io0bDOTDTr/4Dt78knbq3oA+vOMKclGclw3sn8rqFlVLAodPxJT0iycMnta 6a/EXx3mMVSASyfoA1dwg4f/c+YAg3V2MK3emuxzTF5BuOxwXsgeuw12GSVOwLTrvo7w0SDssCc 8lk6U4Ok2Fe4UOE45+LkzTVulLFteLhcjrWAAFuO9ULZA5c8C0rfdwsOldszA8dssSpmeQM/NaH lwI4XgLX/RVyh8Sjovlpfr7ehUP/Iz3cz2kR56AJTrYsm+zSs1msDyBfcUaax9QnGgvbtwn+OdG 4PYD0L38yei96bHwOb3QhDnrdJtNq4AyI3mfceRrwkK07kDjM2W2HG/oob9l2tCTH2vfnvYPtiN yx0FgH1gxvGdcTyhMUvwnPE4+4b7kQ3uWH76wZVTyeYnPB0S7kt4FKf5Y+fydnfiWRMw8QQ6Cxd FiRhrgZcStkkhL92jUMRtc+qwcn4qBRYOfuhX6GAaEHWpB5b/ies93+3YirQwjv7ZXMHt4ZOC5L powTOzGf1stABjJdcwg34uQ2TrrISgdAua+9PPt7hjQO8wa61R+U7odUqQtlE8ivuAnx26I8WH6 0tVEuSx3EqgkPfDnAUFJhN9gGfTjQcDe6oc0U0TkCUY+okbg2DJky5SaDUgRUCsmCH9Hbv5o6BV 7A4aHga31+erlaQ== 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: 1789702075058995434 X-GMAIL-MSGID: 1789702075058995434 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. Enable all of these IPs in the devicetree. Signed-off-by: Jai Luthra Reviewed-by: Vaishnav Achath --- 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 57ec4ef334e4..fdd835a04327 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -928,4 +928,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 Thu Feb 1 13:07: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: 195317 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp135788dyb; Thu, 1 Feb 2024 05:08:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFlRRpKeoFfE2ao7VEUas/XonRd+09PLc8ThK7DNjDf1YQKRe94ANczvbEeTuNbDiKPT7sa X-Received: by 2002:a05:622a:2c7:b0:42b:fe39:17da with SMTP id a7-20020a05622a02c700b0042bfe3917damr183975qtx.18.1706792897115; Thu, 01 Feb 2024 05:08:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706792897; cv=pass; d=google.com; s=arc-20160816; b=pHkr8KrWUbJYc8pfFukQ2VCGd5ifzjbhWbDMU6PRLwCzkJyaXQeilpcZs7rd4kKktp u6LEJYByERP9jxvACcqPRN1HsULx1bpR7ZNHEEaBLYu6GinYHwjNcZJUuzKxxkx5wqsF I2+zltEW1h2rFoCCx6jHNmyIpIpyCUWIh0yu1nmmPFM1DAdg7jLmWB+xSCvMPE2BV/m0 w1seL8MLf6mGfh72RAHBkwtnDDpbajutD8rXASkL/3d+EJPM0WKH8R+ERuYyKSZovion Ht4uxATj00usYZdzAgX/UIkKNHc1CinGbEvdspHO3lzjjTrPXPRPlaxeZDe5JkJgFG5z dFCg== 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=f78/TiYQWSs2UyVBQjw3PMCxAbjW9clzYimuvSBrtVc=; fh=zxuGEZXOdQ/E+MZ9oGv6vQhMwNDmgUeAL82ljjpRZSI=; b=atwDDlnXOiFkwtPgfq23w/jVrrbesLiGbNS40WgDMljl7yzsbRYzJT29vyHPySH5zk U5TWEpJ1ut+ksDVrUvh1Qzao9AaK0CaCVM3s5HeBHIF6/MsrZveBqVymFaLrWzryDMqz lUa5jqeEpdZ3UvaxH2yu2ZKvUYaJngAKbtqO9M41dJ9kJYS3wHKmmJwIGfT29fVxL0LC YAWk24ixTFwE3mt4XZVHTbc58lt26yRIlHBCwH6dafc0bn1VFBW2aIwRsflePXwrQRtS yiXT9lHcxseX5xJGYWUY3g7ksV4/X+SHS+Lcu3FaLWho8iC9eV92QQc11OcSfbby3dSe vfrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="C47/rN9o"; 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-48193-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48193-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCU03FBxxFMsUa8KwcKVF/i30LUdDlcrbMe7iTJfAuCpyC5IM22MB6v8Mhj/c/JiF8S7pTJLWPiBtSW1WbIA3eqWhATZzQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v10-20020a05622a014a00b0042bee91091esi2457548qtw.388.2024.02.01.05.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 05:08:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48193-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="C47/rN9o"; 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-48193-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48193-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 E0B171C23888 for ; Thu, 1 Feb 2024 13:08:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 891C65CDFF; Thu, 1 Feb 2024 13:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="C47/rN9o" 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 F285D5338F; Thu, 1 Feb 2024 13:07:19 +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=1706792841; cv=none; b=FBpVNIY9stKg6JYcJr+TGvxxvYp/OijZss/o7E+uVH1/fhVHCWL4Z4cFirt0cXEpzObxVovHK0IKDKAak3zfNJ87UsOgh1CKPGS606zoOhVB5RJOgerXPBK4CLUetmotuGbSGC53oRr2D+PIuOyQTzDqwSArntRAmfBdeWCQyfM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706792841; c=relaxed/simple; bh=UF/wTRkCBeSb8cxlWX4RH3B9zRm7N76jYm2OQQnwfow=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=nZbwbTjIWs1kkAxoGC1Qlmk/etvKjCjHEBUUqGM27S1zF4VVGxmdfnosJwUZ2zvAXh/sPztZkabLeEKJRCS8JEsyiLL7cesqsOVoV83z1fqv/YteCd72gjvdFxaEiSydcHZv/Oprf9R/VEN/D84zyf9um6J1drNmZ3kG2KUqlu0= 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=C47/rN9o; 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 411D7Ear033015; Thu, 1 Feb 2024 07:07:14 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706792834; bh=f78/TiYQWSs2UyVBQjw3PMCxAbjW9clzYimuvSBrtVc=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=C47/rN9of7gLyc9G8pcRV6hoirn0byFBai8sReDKk/qEuU32QYZT3qpyEOYW+mYsc Gp6uV7CgfIKDkbeVfPt+OcBa19JOBbkS+/Fg5N4MnuS7wu3GN8SFV+/QMcdnm+uJjw Y4ka2bNNeA6sBhPshjHwkVTI/k+rEulOLKpWzGDI= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411D7EUv107617 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 07:07:14 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Feb 2024 07:07:13 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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 via Frontend Transport; Thu, 1 Feb 2024 07:07:13 -0600 Received: from localhost (jluthra.dhcp.ti.com [172.24.227.217]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411D7D0q083023; Thu, 1 Feb 2024 07:07:13 -0600 From: Jai Luthra Date: Thu, 1 Feb 2024 18:37:03 +0530 Subject: [PATCH 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: <20240201-am62p_csi-v1-4-c83bb9eaeb49@ti.com> References: <20240201-am62p_csi-v1-0-c83bb9eaeb49@ti.com> In-Reply-To: <20240201-am62p_csi-v1-0-c83bb9eaeb49@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=1863; i=j-luthra@ti.com; h=from:subject:message-id; bh=UF/wTRkCBeSb8cxlWX4RH3B9zRm7N76jYm2OQQnwfow=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlu5d5ggj6eDGV+qFC0hHhlwijoK/lEq5yInmdf nqM9oV/Og2JAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZbuXeQAKCRBD3pH5JJpx RQjGD/9a7lnJKaJcAfYM1SgG6R2OjsMCdP/w/B9X28MNrQ6z+P6FQSI7AW7KkPuiCIO+BCQBMzi 3t0VLGBL4Hj6fuKvFYz+KMSqSoNE3Kp0Hd6B5MD7vtuMwrEs4yjU3EHBKUI2ckrDwMiV1sgLDlU pg2r9RVa8bVPn2ScJ1OwFrIa8Est3OB7iYfA8R5ZPiFhT/7JwN91Pb7DB/Dj6ufqoIemzqJ3nWs 35ltScewMvi7xuH4L5L5Y1YxVcIXh56vRGA1y9mIEHKszZDr8jsDIV79j5yoUV5AvvSsQEOfCrn eSs5JCG97YQ+UxrppqDnM5zeP0VjwO+NdKO4CQyv0gXWLzHaXfqV/5gK9T2xufB4ed9NYz2FEAV tIgI1Vb6E1fGOiX8preAB4Zv0o4l841m/xU7lolQTD46IqFOBWQfwmerU2Nl3VgxUIw9G1ckfYD tfYup1Iyci9sMR59hPrIUU6Hyn43ppyBUjA/YmnRO6RQs60IMfqVBCvAaP0zSsozsFBiNlwRPEJ 6VWU77z4mM50nWcu4SFGLb8eTZXFhiwdNkmfy/LK5oGCBfu1x91144j7VmdhIIOuEdGrhrFdLgZ gHdqEum1b5mN4wjOUdprHZrk1M9zhzrCZ+WUw4mDCUO1PsM836X5jRvaSepOmndZ2vuXFCpi2J4 1Hlf5rC+9mwdx+w== 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: 1789702068802228334 X-GMAIL-MSGID: 1789702068802228334 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. Signed-off-by: Jai Luthra Reviewed-by: Vaishnav Achath --- 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 52c1dc910308..80733ed747a2 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -101,6 +101,12 @@ k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \ k3-am62x-sk-csi2-ov5640.dtbo k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \ k3-am62x-sk-csi2-tevi-ov5640.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-tqma64xxl-mbax4xxl-sdcard-dtbs := \ k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \ @@ -118,6 +124,9 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \ k3-am62-lp-sk-hdmi-audio.dtb \ k3-am62a7-sk-csi2-imx219.dtb \ k3-am62a7-sk-csi2-ov5640.dtb \ + k3-am62p5-sk-csi2-imx219.dtb \ + k3-am62p5-sk-csi2-ov5640.dtb \ + k3-am62p5-sk-csi2-tevi-ov5640.dtb \ k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \ k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \ k3-j721e-evm-pcie0-ep.dtb \ @@ -128,6 +137,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-tqma64xxl-mbax4xxl += -@ DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@ DTC_FLAGS_k3-j721e-common-proc-board += -@