Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1454103pxb; Fri, 22 Oct 2021 00:58:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNmha/0bt4g8CgGUjPblG6eRaCVKL4lJobemL4zmYmN4724svXINFwWM6FF4p+Rzi1f3kV X-Received: by 2002:aa7:c041:: with SMTP id k1mr9074719edo.330.1634889480347; Fri, 22 Oct 2021 00:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634889480; cv=none; d=google.com; s=arc-20160816; b=0gFZ3QhtF7fWazBghWWVDkfPgD4+SRFcdKqYki/6FM8fatTecky1Vo6eFiISQrWLHh waiZxFaGWz5LUDcbg3mD5ylr76vAZrk22Lxn2pom0mtnNGC3/tFr9XWZtku+s02DBuO1 3IE+5HWNCTiQYcref/hqvhQYO4wLAmnqu1UwE4doD1kHocKbK4mLoTK5HGImoTjcej4K DdwU5PZPg8hVKUbvVu4Yvdwa753h6G7rW3vQdWVR5+R8qNqeYp6Vr28tGleoBaND4QIT Urq/0PVnfxkMCNtPHtwBJwBzGdlntWsP+Mv6fiKFw2GVC1POTdCZcimDa7sW5VCdrSob Ojvw== 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 :ironport-sdr:dkim-signature; bh=sWVSpt9XpMcYvEC1zW4ybYYdlyuIQ0bYf3Il1zPOtas=; b=XYvCc/6tcLi/hfY7SqCxWMboOERE3M6bWjh4gOF5XC9i+3+Bv7APc2hOebIQyut2hD BOYTR4SPog1TOmcVPH10w8NwTfBufiZjsU201FP/ULH0WGDZwjOkp2Q8WbtZ1iarTb5b Yladj6bMZu0k8WfT99V5eT6VprQtB9ffW+k3A1ma19FAcULE50l8N6n/krnhFr9JVCjt xcYAB3nS1jEoAgNFovRzUI3jFtF8Sm+9qWHtCb30zefu9Hx5Gb78bU9dtEaYSGx1AGFF iPE+KZOYfyXFCYnwWN5b9TMsbcbjrZrU6PcFGI1l7+D4V/vaTWZzDV2VwRwG0oSGGv4L CVmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=OkIEw3lK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg41si14880197ejc.709.2021.10.22.00.57.37; Fri, 22 Oct 2021 00:58:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=OkIEw3lK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232660AbhJVH5Q (ORCPT + 99 others); Fri, 22 Oct 2021 03:57:16 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:17446 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232586AbhJVH44 (ORCPT ); Fri, 22 Oct 2021 03:56:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634889280; x=1666425280; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mGXSulOcLd/+pEdw+DTE5v6o3xipo1H1wT+9aSReL8M=; b=OkIEw3lKSEKvDtXtKHYQdpF7MHRZto+L1nWWB2+gjRD9gBxzaeYxBIPc TmoUkP7D8J4tfIcLJtV0HWofXm3loFm+06h9f5cjYg41sbe4mud4gnXPh uI8AVGXiTNUdNp2HP0cShY/27ewgh+CFuCB/Wdgsni5p6FcCUTDn7pk1k K1e1Cx2q4AJ0KUN2hk2Ii+o+4S1YcC0EAp5Xt00Ds6GUslGjYvDaVMtR7 cmY7QYVi2EE9u4eSK22xKsw3uNSgic6ZV1vkjDH4WyshPGX4Y8g5Tu2yI 2oU3mrRvFR6vyHxba630lkmrVxmcY3aBd/k2+FgwsVIYbjFlvPkWXZ30/ A==; IronPort-SDR: Nz/rmn6Caqi6ikJ75pwzOgC07QYIe7d2MhtiXUsQ2z3co3d1tRDalwK8z/qE9HVTkgvhbtDYdh C3PwljrQp71yh0Z29fI7y715kZ8n7Aqm/j7B+rId3LaO+PDiWtpwTxB/4BFJe15s0UXWksaFkV 7pb+avWIhhLHFZ1tUDWSFmo4TsTDunh7JyTjQf/nh4omih9r9tCyfxFIhf7lHNesd41jmx/e2n TCD9Yk98kiwT8Q0ggXKM7oSLtgcgUFTmZEgsju8x4dRj5fVsZkuogcAQ8ZwAb8+HjR9IS9aQDa sd8PXoSZAI/C/OkOCbI538nV X-IronPort-AV: E=Sophos;i="5.87,172,1631602800"; d="scan'208";a="136538127" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Oct 2021 00:54:39 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 22 Oct 2021 00:54:38 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 22 Oct 2021 00:54:35 -0700 From: Eugen Hristev To: , , , CC: , , , , , Eugen Hristev Subject: [PATCH 15/21] ARM: dts: at91: sama7g5: add nodes for video capture Date: Fri, 22 Oct 2021 10:52:41 +0300 Message-ID: <20211022075247.518880-16-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211022075247.518880-1-eugen.hristev@microchip.com> References: <20211022075247.518880-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 6c58c151c6d9..a8dda38ff18b 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -203,6 +203,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 = <12>; + 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 = <12>; + 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