Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp599391ybc; Tue, 12 Nov 2019 06:30:13 -0800 (PST) X-Google-Smtp-Source: APXvYqyjS6wO2OE3YrO5r/UhTh9DTH4GJvcoHx63oenVbIn4CCpRXUVZv1jTya8R2pH9AyZzZd++ X-Received: by 2002:a50:ed12:: with SMTP id j18mr34180692eds.172.1573569013830; Tue, 12 Nov 2019 06:30:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573569013; cv=none; d=google.com; s=arc-20160816; b=cvMOOzJmmQqG2OWwoJtsdzwycdTG6TAvj84NA9+EA+CM2wgYIZFivUeMEFdXA/k8ve AriOfXD8Q9GYOQG0WBg1v8+2qhKIHCHXXQ/9uv0iMUoMeECJKXI5SqgXzNwrS8AVIMvR FfYM/HmWJlwluls5wBVkLQAycwnf4G9fmHJEDMH32PNWpnH5sbW8yQ6h/KCThftO/HpE yoAwajgBlD8x7SKaHzwIdp/t5c2ExJB6xUXUeMrKjA6q/1k//rjKjxx+hPUUkxsVPX5F pD2769UmRwJehPalq8/u9jeLRliTVrIsVZyep9SMiylFNyXFMVFntvTCXMItjEdakI7n TzrQ== 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=X9B0cbHSFBh6z+++yuvEhMSytocbxnyPPOMKchxLqbc=; b=rwKlkWLupgpXluen5irWykqM5Pc+HGAwSR6WPooOU2gz1/TNk/pae0wjV06EIGgpe8 qYhohTUEX6TYsw/CNNGy+dPyEyafEVokzzaJrVyIj0DJQz1f+QCaPAHjSy3QAX+0z/ej +f+hOVT6WNBtSe6eNijDzGdqY6M6nFfLv2ecO8M/nHZOcmTEK84BhHYZq7R/bkj1gt83 0BTaVgbjTwRBG9n3E0M1LbtdBlCO4m0pDpw3BdjUUrCnu9g8j3aL4UWHg8YeKhn6MRb1 cXKDlKO0Gbo2YEbGPn2QjsTr20Urv2vTZqyqpzuZ3c5CN/o8AXN+pv9Fi254RenYOS5V O+Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Bh8jzIfR; 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 t30si13979287edt.330.2019.11.12.06.29.49; Tue, 12 Nov 2019 06:30:13 -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=Bh8jzIfR; 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 S1727531AbfKLO0i (ORCPT + 99 others); Tue, 12 Nov 2019 09:26:38 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:37160 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbfKLO0h (ORCPT ); Tue, 12 Nov 2019 09:26:37 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xACEQXhu013418; Tue, 12 Nov 2019 08:26:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573568793; bh=X9B0cbHSFBh6z+++yuvEhMSytocbxnyPPOMKchxLqbc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Bh8jzIfRPh0zVawLd6Lz41xrQ+aaqzb1ZzSqwxtCfpuDIsQZu4MjZiniPBbdGyFL3 adr8UKQu4g4/IfUiZwP1scdCqzLKzLSqm4eAq4/ULPcReLkykdOM7HWbTObvqb/lfB ZKwukGkhuhir4CPLwyBtSnjes3gLklbnKU1fP82o= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xACEQXuD014383 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Nov 2019 08:26:33 -0600 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE112.ent.ti.com (157.170.170.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:26:32 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE105.ent.ti.com (157.170.170.35) 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:26:15 -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 xACEQUtv040290; Tue, 12 Nov 2019 08:26:32 -0600 From: Benoit Parrot To: Tony Lindgren , Tero Kristo CC: , , , , , Benoit Parrot Subject: [Patch v2 2/3] ARM: dts: am437x-sk-evm: Add VPFE and OV2659 entries Date: Tue, 12 Nov 2019 08:29:28 -0600 Message-ID: <20191112142929.23058-3-bparrot@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191112142929.23058-1-bparrot@ti.com> References: <20191112142929.23058-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 VPFE device nodes entries. Add OmniVision OV2659 sensor device nodes and linkage. The sensor clock (xvclk) is sourced from clkout1. Add clock entries to properly select clkout1 and set its parent clock to sys_clkin_ck. Signed-off-by: Benoit Parrot --- arch/arm/boot/dts/am437x-sk-evm.dts | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts index 74eaa6a3b258..25222497f828 100644 --- a/arch/arm/boot/dts/am437x-sk-evm.dts +++ b/arch/arm/boot/dts/am437x-sk-evm.dts @@ -272,6 +272,12 @@ >; }; + clkout1_pin: pinmux_clkout1_pin { + pinctrl-single,pins = < + 0x270 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* XDMA_EVENT_INTR0/CLKOUT1 */ + >; + }; + cpsw_default: cpsw_default { pinctrl-single,pins = < /* Slave 1 */ @@ -593,6 +599,25 @@ pinctrl-0 = <&i2c1_pins>; clock-frequency = <400000>; + ov2659@30 { + compatible = "ovti,ov2659"; + reg = <0x30>; + pinctrl-names = "default"; + pinctrl-0 = <&clkout1_pin>; + + clocks = <&clkout1_mux_ck>; + clock-names = "xvclk"; + assigned-clocks = <&clkout1_mux_ck>; + assigned-clock-parents = <&clkout1_osc_div_ck>; + + port { + ov2659_1: endpoint { + remote-endpoint = <&vpfe0_ep>; + link-frequencies = /bits/ 64 <70000000>; + }; + }; + }; + edt-ft5306@38 { status = "okay"; compatible = "edt,edt-ft5306", "edt,edt-ft5x06"; @@ -877,7 +902,7 @@ /* Camera port */ port { vpfe0_ep: endpoint { - /* remote-endpoint = <&sensor>; add once we have it */ + remote-endpoint = <&ov2659_1>; ti,am437x-vpfe-interface = <0>; bus-width = <8>; hsync-active = <0>; -- 2.17.1