From patchwork Wed Nov 15 09:51:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 165247 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp2430461vqg; Wed, 15 Nov 2023 01:52:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGaO0FtWogMAaeSaeCmXUn5lfJTh7xf591aSRaR1auE7KVPxKNKiUID58LjE5tW9UvlMWYS X-Received: by 2002:a9d:62d3:0:b0:6bc:8930:a1d4 with SMTP id z19-20020a9d62d3000000b006bc8930a1d4mr4693345otk.15.1700041975308; Wed, 15 Nov 2023 01:52:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700041975; cv=none; d=google.com; s=arc-20160816; b=BydhXHc3uEF1Eb+UDaq/ieb3owVlR5pHnO24faWmD9vXbhMw74g/D/xLTW2temI3lh aimLeCvbKQvte20Lglxh6kRumWzN3xRv/n4FNazPVyN/wTPhIG1px4zxi16iOj4gyM7S OqfQHkLaaUUC19r4X+QZRy6UxTZqMWdcJRune8UYWB9KqkuZHARi7WV6ibQwnhF1F/V4 Skv1Yw4facVEv7GcFshnju+NE57t786kIMw1Oa8G8LcNlNAzgceK2UGE5cK10WGqWp4O 3shds5NAvWmj9xwt9YSRoDux40VVgyfVd1dxDQ0j030Zb/VtINYdMoAygzLl1MhE9Fvl aK2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=LLGGCOQ7unGDSmJmEvT2dCwuXArAIgSDeOPgzN9Q4Ec=; fh=/DmXmFEf5H4yMoXETWO4dsv/SeAJhpaj5Ol0ioZpBwo=; b=uwsSUbG/SjBmLxXLJ60NCz1kOPs2rwwi8isuu0bCp7Sy/odOOwxrmOa1VVFlSfQfpx EXCs/pitCo38oonYMd5aJ1qdbH/iveJB0F0oXMDU7rlqIUhdql/69jtDX94wmBVtWgsk 1nlsm9tCcGAqcZRmUCZ4wlyPHasfNi9PFUsjZE0K98Qt7ypP35Sv1bpSOeXphXT2AO0W LePRuby2OBFgg2TftgQuYt7DqY/8co+6zvLVUIpQonkOD7Uo2LWE77Y/7fNFh7xAq4na iTes5h/eYSfE2wkRpe1v9ELWinMHCt+SXnzGVyVgkx0VbUKZeaOnARvgvrI33sO+AEAO /IgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Af4LcLhL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id cm19-20020a056a020a1300b005b3bcd9d7f8si10554568pgb.808.2023.11.15.01.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 01:52:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Af4LcLhL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 31CF9802FB76; Wed, 15 Nov 2023 01:52:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234834AbjKOJwa (ORCPT + 28 others); Wed, 15 Nov 2023 04:52:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234675AbjKOJw1 (ORCPT ); Wed, 15 Nov 2023 04:52:27 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC6711C; Wed, 15 Nov 2023 01:52:24 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AF9q92b104991; Wed, 15 Nov 2023 03:52:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700041929; bh=LLGGCOQ7unGDSmJmEvT2dCwuXArAIgSDeOPgzN9Q4Ec=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=Af4LcLhLLJaAvc5OGBYF2ljSURLSPbirtXj15P5eoVxQDs7gUirl1XdLH1hfKsEK3 UkanFSUVM37mlyo7XRkI836Ou53UGScDTTVWEcnhJIcJcqYr4RNOkVoJJ+1FPk+1u0 pVEib10FGJYKktcXyEmNu3BkiPwVOgbR4/qniRYU= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AF9q9bs109154 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Nov 2023 03:52:09 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) 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; Wed, 15 Nov 2023 03:52:09 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 15 Nov 2023 03:52:09 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AF9q8gA009683; Wed, 15 Nov 2023 03:52:08 -0600 From: Jai Luthra Date: Wed, 15 Nov 2023 15:21:09 +0530 Subject: [PATCH 1/8] arm64: defconfig: Enable AM62 CSI2RX MIME-Version: 1.0 Message-ID: <20231115-csi_dts-v1-1-99fc535b2bde@ti.com> References: <20231115-csi_dts-v1-0-99fc535b2bde@ti.com> In-Reply-To: <20231115-csi_dts-v1-0-99fc535b2bde@ti.com> To: Catalin Marinas , Will Deacon , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Aradhya Bhatia , Devarsh Thakkar , Vaishnav Achath , Julien Massot , Martyn Welch , Jai Luthra X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1229; i=j-luthra@ti.com; h=from:subject:message-id; bh=8U3EQOnnnQs+YWq5bKXi7ppSCeJNZ30pVpHqlXgkXMA=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlVJS5ClHbIj0PBE9t2b/G0B5Dhzy9g7A5MYJcm tCTl4pBhJmJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZVSUuQAKCRBD3pH5JJpx RXC/D/45/M7qdoBGBRU7UODDT0uKAMafjqTYos26JFwLBx0via4aA1DvTFzE/r/Q5lgDnZY7CJH LFGDJv1AtRQAC4ZRCqT6Bx/nuFhj6w5hR/ac8Hi6YEPiX8IoGo0Lg+nkb81rN1yyV0VMa+5oA+M IaN5F9kPQohyeQk4yFWbmPB8DxMb7Y9EdNrV0GAQSty49XtMqNAZ7wMi1L3OjJl4mtUuKDh1m7f WjLarCc0DKjltP3dC7zRyf8vqEroh16+1K4dW2U4jqK2tsIwaBOqOLrhLaigxCuQ3e+q1JxMSyj g01XlNmI4O7GVXAooQugG7XYncnzaEmqIgL8vlQykvNYeoU6fTozPvYCSj/IWoCfexdS6JVYNzW 6ymcPCeZBMrz9QcQrsEKeSLDKi89w/jHE+Z5MN578PWI5FhCpyvN5OeZKkQO2aa/c5L+/mDWZe1 PDegbnR6EYYOftTRCjYBg8NN2/g/3znXAKa3oslrvXWcP+FDzrxp1C2yYHJC4JQQmxDfrW06B5e J/v99C24yEo1Bu6+jKu3jLMnPFJMNMJgUSTf5iiyV+6LyFH3tEmEdF+2dJn1ajlpIoZF41cb/q4 yZpW9Cwr/RgcO/RvRtkxDmrfaSYA/qXcDCBTAz2zvc4TC37MpXCYI1jdewMuJY5jJRAFzXHuQlK IhctqwmWIOyhRlg== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UPPERCASE_50_75 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 15 Nov 2023 01:52:47 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782623213958463742 X-GMAIL-MSGID: 1782623213958463742 AM62 and other K3 based SoCs use Cadence DPHY and CSI-RX bridge drivers, along with a DMA wrapper CSI IP for the camera pipeline. Signed-off-by: Jai Luthra --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b60aa1f89343..aa2df39d072e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -783,6 +783,7 @@ CONFIG_USB_VIDEO_CLASS=m CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_SDR_PLATFORM_DRIVERS=y CONFIG_V4L_MEM2MEM_DRIVERS=y +CONFIG_VIDEO_CADENCE_CSI2RX=m CONFIG_VIDEO_MEDIATEK_JPEG=m CONFIG_VIDEO_MEDIATEK_VCODEC=m CONFIG_VIDEO_IMX7_CSI=m @@ -804,6 +805,7 @@ CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC=m CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m CONFIG_VIDEO_SAMSUNG_S5P_MFC=m CONFIG_VIDEO_SUN6I_CSI=m +CONFIG_VIDEO_TI_J721E_CSI2RX=m CONFIG_VIDEO_HANTRO=m CONFIG_VIDEO_IMX219=m CONFIG_VIDEO_IMX412=m @@ -1421,6 +1423,7 @@ CONFIG_PHY_XGENE=y CONFIG_PHY_CAN_TRANSCEIVER=m CONFIG_PHY_SUN4I_USB=y CONFIG_PHY_CADENCE_TORRENT=m +CONFIG_PHY_CADENCE_DPHY_RX=m CONFIG_PHY_CADENCE_SIERRA=m CONFIG_PHY_MIXEL_MIPI_DPHY=m CONFIG_PHY_FSL_IMX8M_PCIE=y