Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1299801pxp; Thu, 10 Mar 2022 02:48:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFi1CHXjwZ6eoAK4Yj7nbXiSCsAEfFXzmRrbYBCBrqG6PV+InFO9B71sgzwrkLOTKDiuk2 X-Received: by 2002:a05:6402:1d50:b0:416:3b53:6f5 with SMTP id dz16-20020a0564021d5000b004163b5306f5mr3720323edb.269.1646909301727; Thu, 10 Mar 2022 02:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646909301; cv=none; d=google.com; s=arc-20160816; b=Gpnv2qCG+t0zIy5MeTrqSGjatbPMf4S8kEMRoDYh2H+Ju0uiecXK8yMyKAIKg9i64J JkeTQ6JM6nFh/Jkb9SuvtXpWRwSyVWgfc1CkWpDfDLa0Fb4v0iD/wogZWu+e8ZuAzfbi uk/+Q3SIYb67aFh9ZBa7vrlG5XLMVXa6SJ7gcYWnI9LGCr6/0dt+Bozx/aeECpkvtP17 eZ3fDnk1DhhZ37ELpF5NYTO+EncZdSOaRhIcRsBN/YoaEpuFxyiapwGOPKZUqBxI1ShX VyF97oTTX71sODODuMNBziZXxH38JxUc7CxYPe3cGYRRKeT3YIumOIPXb8V0j6RVe5lC 8U2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bbHZ/ZR0mkICc0/ZKjupg1AD28KHHqlIgKrWgGSZkPs=; b=Qjl0bxnjCWDmCIEW8SC3wCHTmvOX5gVHWflNWCK/SVZA0EDT7RRgAvDc2b+64KeU9Y W65EsGH+wFoT8afBz9h3V1Xr8Ob4QtZsr/CTYzgad98c2HlyzndG+ETYUF0Z2iRAjejj uXob+UWzygcdajfWUuqA1zBk1G6Xm7jj2SRKGrMmjhtF6DnH3W2HEltBZj8svQuDIh0G mEYIbDfAv+lLnml9eqz4LIM3FAX98c7XkMCmMtAjFb8nQ592nDbLAjddUHQniL78mV0z oIA/TJMeND5FwQ8bJZ5AP0323RUoDxl6tQYVKzSsOM9nvCauS4BFOnCRoj6AMIYIH+HL SRoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=xYI3LK8O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 16-20020a508e10000000b00410b29c614esi3172681edw.365.2022.03.10.02.47.58; Thu, 10 Mar 2022 02:48:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=xYI3LK8O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241146AbiCJJyo (ORCPT + 99 others); Thu, 10 Mar 2022 04:54:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241032AbiCJJyR (ORCPT ); Thu, 10 Mar 2022 04:54:17 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6978FA76E9; Thu, 10 Mar 2022 01:53:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646905986; x=1678441986; 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=xYI3LK8OqTSjq4sZdc+/b8ADPWNXZe+2xYCwHMb9ExQFbM1KrnYDef25 PxIUbOLqz1giKUxD+bxC5LerFrgNYAjMrbFCmwrDfQ8pkBeK0WUfmAC9e Z+rzmJpqmDJpC5onEi7XKFTTDpQZmOR531Aq1b+3+6DW8v0AoHTK7zqkr fjpqwQ6+NZm9ktJP0Syugw40waBo9MVee5I3wavEo8ZEF/MvsXy8CA9oE 65F4UouxIDexLVOPSSo+M9mTAKr7FqC3L/FCbA+rXGxK1wkbyOqnsk5qo XwU4OcTVVsIOpEdqfl9hYTWVS8gdDG1fIThne1SJLadXFfR6ohDEp1t9J w==; X-IronPort-AV: E=Sophos;i="5.90,170,1643698800"; d="scan'208";a="156406287" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 10 Mar 2022 02:53:03 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 10 Mar 2022 02:53:02 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 10 Mar 2022 02:53:00 -0700 From: Eugen Hristev To: , CC: , , , , , , Eugen Hristev Subject: [PATCH v9 11/13] ARM: dts: at91: sama7g5: add nodes for video capture Date: Thu, 10 Mar 2022 11:52:00 +0200 Message-ID: <20220310095202.2701399-12-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220310095202.2701399-1-eugen.hristev@microchip.com> References: <20220310095202.2701399-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; -- 2.25.1