From patchwork Thu Feb 17 13:56:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 12750262 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8E12C433EF for ; Thu, 17 Feb 2022 14:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3Cf6y0F+GCwjL8kNjtXpgUWg+x7DAcUYp6xGkHu2WSo=; b=A0G+uuLqnXgkAe DupSZc6QrRuuNDbmZWAVFAyOuOIac98WTCWJ2HKXN0/l7l86xSNJaqQQjaC0n7LS6+4l54Wx7dR1X 4t4z1Hd5HvJCJIjAhcYzMSqam6jWlmYhAbXCn7C64SaIGmYfOSUvUBos/IizTSvWk1zw6DsPAZpds AgBt6n6i5t8U5cWl7IsCLQPEg9X2phE9zxEj73Y7BylDLBYW2yW6qp/IoCBYYwi3u1EoU3eOzoZ71 XxJett8oIKeItZ7nYlEZTeENv9WF9/2xSSoDIPgBjaT0hQ2078v6auoc/FeMOo+hUgTL6Emszb3Q/ EUy59W7peIVRHmB7MK3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKhiU-00AzYh-M2; Thu, 17 Feb 2022 14:25:10 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKhL6-00ApOf-RW for linux-arm-kernel@lists.infradead.org; Thu, 17 Feb 2022 14:00:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645106456; x=1676642456; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LPz0O/j6T/R5IOZ/0HdGMFHbVlsAXUy78/qaH+crieA=; b=c7VrMO8SN+3opdYpJ75i1yHcqSCae/fy331/F/qKwOoiTsWTPd6QX0X9 suR+QzxxGZk6Czm9PXGfFIEey6iWUHIPQFBrcoGejQHJe47q+8zzWod3Z 9ysH2dFM9K4TYLD7IKIjM4C1vAtBW+sDE2uvH4JOqYHQMm0d9P0mWAPta byF6QgJOjJGcAlB9OHoSjfcN6c44+Z6zianZk3IUAUg0yewMDRRAxNL4w fDe1RsQyLBcXt6CpxVbkwic+XbSpmXI4oDfzynBGuMcTAbICtbGO+EAZs igVgJL+H8UdrCBbR1CE3SYshDOqGff7a0JcsyJUkxh1cHvPd+6nPfzP+K w==; IronPort-SDR: TRRtxLkLtlDP3IVsRHBycrDjE1LpoybqYFtoZZrDp1FB7ZnRml3jC/9wEepgEjwPPmHLFsSlIh WRsgq6Sn4JRdAtLOoDpUhhB61ZzXG5PbcgJazDBQfMzMU30HTKN7w0dE0254KKH8dbSWaUWH/U sJ7pz3Pq4YdjQXVT2UE7azVWSAr8UgOH4CalSbyfMCuIzhEKFiBsXumeK1UlaHpD/hePDXMP6Q 42D/cezJHqcU2+SRavBLkIvOydMluFiNPyI3z0m5PNo00l6LQzsvFkU9JkUumz7Nv2PsiN8dAz uPgOBSvriUVaGeRIG69id1V2 X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="162632307" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Feb 2022 07:00:55 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 17 Feb 2022 07:00:55 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 17 Feb 2022 07:00:41 -0700 From: Eugen Hristev To: , , , CC: , , , , "Eugen Hristev" Subject: [PATCH v5 11/13] ARM: dts: at91: sama7g5: add nodes for video capture Date: Thu, 17 Feb 2022 15:56:43 +0200 Message-ID: <20220217135645.1427466-12-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220217135645.1427466-1-eugen.hristev@microchip.com> References: <20220217135645.1427466-1-eugen.hristev@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220217_060056_950099_A8DEBEE3 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add node for the XISC (eXtended Image Sensor Controller) and CSI2DC (csi2 demux controller). These nodes represent the top level of the video capture hardware pipeline and are directly connected in hardware. Signed-off-by: Eugen Hristev --- arch/arm/boot/dts/sama7g5.dtsi | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index eddcfbf4d223..de43f854ce47 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -266,6 +266,55 @@ sdmmc2: mmc@e120c000 { status = "disabled"; }; + csi2dc: csi2dc@e1404000 { + compatible = "microchip,sama7g5-csi2dc"; + reg = <0xe1404000 0x500>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 34>, <&xisc>; + clock-names = "pclk", "scck"; + assigned-clocks = <&xisc>; + assigned-clock-rates = <266000000>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + csi2dc_in: endpoint { + }; + }; + + port@1 { + reg = <1>; + csi2dc_out: endpoint { + bus-width = <14>; + hsync-active = <1>; + vsync-active = <1>; + remote-endpoint = <&xisc_in>; + }; + }; + }; + }; + + xisc: xisc@e1408000 { + compatible = "microchip,sama7g5-isc"; + reg = <0xe1408000 0x2000>; + interrupts = ; + clocks = <&pmc PMC_TYPE_PERIPHERAL 56>; + clock-names = "hclock"; + #clock-cells = <0>; + clock-output-names = "isc-mck"; + + port { + xisc_in: endpoint { + bus-type = <5>; /* Parallel */ + bus-width = <14>; + hsync-active = <1>; + vsync-active = <1>; + remote-endpoint = <&csi2dc_out>; + }; + }; + }; + pwm: pwm@e1604000 { compatible = "microchip,sama7g5-pwm", "atmel,sama5d2-pwm"; reg = <0xe1604000 0x4000>;