Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp595944ybc; Tue, 12 Nov 2019 06:27:20 -0800 (PST) X-Google-Smtp-Source: APXvYqy0571oKURaPVElLBfWEoDfT/U5Igepu2gfvy+/Tk5SVSwPhCt8BMcMfG4ypYGvkEeZIjB0 X-Received: by 2002:a17:906:3ec2:: with SMTP id d2mr28981413ejj.251.1573568840207; Tue, 12 Nov 2019 06:27:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573568840; cv=none; d=google.com; s=arc-20160816; b=mkzZxSISzIN/GGNg7o0c70MkJrPQGOaAZ8EdJy+Y/INITJ380CXZtymplbAY+roB+/ d34KzWx9XgWSfG8mZn2/fTzlFDXMeM0dKhEZewTwjbbhjwECmdKJvMvFksNhZC2qoXRh h836YSMEudWjslZV10pRnpddpAnYYs0gA0aAtgTzMdOUuIxZvYYgd2ruOVHKiSy4+0zR E1DOc5omthQQRCGshiXlBOCfb4o6hvv4yCg8WCmhqI0Ldg/t0pUILqYOIDTtO6SSCoyj kgH4X/3gjz9cSsXxwF1Ewo0ZkXMREVVockrFv1GEGixSV93bKTrMSuDC2ZvhmhTTPgQt ki8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=eJC9pkU6OOpCuYyC6VSXxendpXfUX3Fg0DEgqQA1b0M=; b=n/Azcvd1jIEnYhcfUKhfrcvzuC2ZSAQq58Br5cXREJ8udeCi3J+MceOd1SOkpzxIvv ALLa6gfeZG43M3TeLHvk4nC3hAyuf5P5F5Md4GNN7Jd/kMYRXmcXhAJB3R2OMp7Io01+ 9QX1XxtlWfk/yop5LAh29WZD1l8nSJWyxqTplei7Ss0vmWW4vu8rj4x+k0ewhhli3ukV NXOuzTgrWXN75aPo/eDYJZ7nj0ErHIM9hpgE+c6Tlk/exsdVb6ATKOUxMIkn+ewK1wa/ vn4UNr+Zy24SeInhs5YdLJnw57Elhyi9UMAmKCB/MQTOuzKrz0ABmZopdjz55bHR9eD7 G6Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="wQ4II01/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a25si42531ejr.185.2019.11.12.06.26.56; Tue, 12 Nov 2019 06:27:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="wQ4II01/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727753AbfKLOZa (ORCPT + 99 others); Tue, 12 Nov 2019 09:25:30 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:38684 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727646AbfKLOZI (ORCPT ); Tue, 12 Nov 2019 09:25:08 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xACEP2Iq098129; Tue, 12 Nov 2019 08:25:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573568702; bh=eJC9pkU6OOpCuYyC6VSXxendpXfUX3Fg0DEgqQA1b0M=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wQ4II01/NbsGlSeMz7K2F2mHLoqMoxNKkriUlVPGaqcogpOHfrxINnFQ7BXhUN7Qg TgbBNO+JJNQDExcN0Hh73pRl6+Wa5a+7y9GGpk/AwwL0yksjjChUBBu2SC/mhvpSKs A6a1R9MrhyOKI8jJWzD/cKRb9vbonR60otx4xXqo= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xACEP2Ek116118 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Nov 2019 08:25:02 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 12 Nov 2019 08:24:44 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Tue, 12 Nov 2019 08:24:44 -0600 Received: from uda0869644b.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id xACEOrBl036029; Tue, 12 Nov 2019 08:25:01 -0600 From: Benoit Parrot To: Tony Lindgren , Tero Kristo CC: , , , , , Benoit Parrot Subject: [Patch v3 06/10] arm: dts: dra72-evm-common: Add entries for the CSI2 cameras Date: Tue, 12 Nov 2019 08:27:49 -0600 Message-ID: <20191112142753.22976-7-bparrot@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191112142753.22976-1-bparrot@ti.com> References: <20191112142753.22976-1-bparrot@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device nodes for CSI2 camera board OV5640. Add the CAL port nodes with the necessary linkage to the ov5640 nodes. Signed-off-by: Benoit Parrot --- arch/arm/boot/dts/dra72-evm-common.dtsi | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi index 8641a3d7d8ad..608c7676c293 100644 --- a/arch/arm/boot/dts/dra72-evm-common.dtsi +++ b/arch/arm/boot/dts/dra72-evm-common.dtsi @@ -187,6 +187,12 @@ gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + clk_ov5640_fixed: clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; }; &dra7_pmx_core { @@ -269,6 +275,23 @@ line-name = "vin6_sel_s0"; }; }; + + ov5640@3c { + compatible = "ovti,ov5640"; + reg = <0x3c>; + + clocks = <&clk_ov5640_fixed>; + clock-names = "xclk"; + + port { + csi2_cam0: endpoint { + remote-endpoint = <&csi2_phy0>; + clock-lanes = <0>; + data-lanes = <1 2>; + }; + }; + }; + }; &uart1 { @@ -580,3 +603,15 @@ &pcie1_rc { status = "okay"; }; + +&cal { + status = "okay"; +}; + +&csi2_0 { + csi2_phy0: endpoint@0 { + remote-endpoint = <&csi2_cam0>; + clock-lanes = <0>; + data-lanes = <1 2>; + }; +}; -- 2.17.1