From patchwork Fri Apr 23 08:31:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 12219889 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 414F3C433B4 for ; Fri, 23 Apr 2021 08:34:03 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9644613F6 for ; Fri, 23 Apr 2021 08:34:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9644613F6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=qMyYNAM8UWGJxVfgLFqvqrkFR5f+Ow+WDLJinwiCd94=; b=lNZn3oKZbEBdUKCOTFDBQ/JxyP WNCxX4Qeoci9Z6icGn1UqMi+1nWaag4i+SyVRlf/3mpNuTEPYeqQZ+lDR6LOwuhzfpP9yHjdE+bUe Ukk4mGQMp11gaI55HTtl7O+ZYAZWdfT7ODYoOtCGBH+6C6B0Qc+ERTLuyTT8RMraU+71u0gQRSOyI Fj4TNKE25RSvUvXyZMxh4zVlky1P2WV03AXOxpXG7g8PUfekOuknvimfB9Ekl3JmRV6pXeIFswJfz jfktYsBrBf56oq1gzF0WAUUFR6VP/g1ozGa1MCws+OOXA1jPiM3m6NNu7NyQYXqpS1W0+T6jg5VF/ JN36JJ0A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZrEM-0013uf-Ap; Fri, 23 Apr 2021 08:32:07 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZrEG-0013ty-O1 for linux-arm-kernel@desiato.infradead.org; Fri, 23 Apr 2021 08:32:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=w8LeKDreYBRjAZuHUcD+EAoOQHZETDwqEmjbgdFqsBU=; b=vYY2Vxfh6zN+E7TPwXQwk47SMo 5pO+VFLczr+/ogwr8pc9uI3uY4sIPKc+Se2lGQoqdEWkBUybygaUZuF8H0+mdtyiiClpT+OUOFKsN mDtO2Q1loBlejzxaTtHLNpRBW2uGuxFhpnUUbuUVFH4KxvrbaocFB9CJDJF9G9iBZYnOssBpfIUA6 hGUie4MLKb9+I+kR/DDWEqVa7/ZzFgCxP8yLTmQc7Fshws4JyD4Plu9vyjbseY/iVvOvFqg5n85Cu bL+nsm8bipGRgiiWuxK2IeJGp2nzt81l0IkGeAprgFrF11fOqRqT9mNcVUcJSKPfEdfRbDuXqss5S 7WaiqXKg==; Received: from perceval.ideasonboard.com ([2001:4b98:dc2:55:216:3eff:fef7:d647]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZrED-00EG1Q-Tz for linux-arm-kernel@lists.infradead.org; Fri, 23 Apr 2021 08:31:59 +0000 Received: from deskari.lan (91-157-208-71.elisa-laajakaista.fi [91.157.208.71]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9D95F332; Fri, 23 Apr 2021 10:31:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1619166707; bh=8Jm2BhtNQItmGoRHnzkSu1IWqknOaz1Wv9EcOPOdXNI=; h=From:To:Cc:Subject:Date:From; b=JXw71hcjJXcIQCsBFb8G8ZHqz08I9/2hxz8iRtoJJHeAtQPFBiFXXMBDUbWdfvoPm /2vTujzs2LvyKjWkOX5IdvTmSyBR7WzpNNYVNsjGtfcX+G6/5vONRvjExkp/K2Xf7Q FSMrUqrZeAGjRt/77rCBMw+5KnukbAfC+WBmyuI8= From: Tomi Valkeinen To: Nishanth Menon , Tero Kristo , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Laurent Pinchart , Tomi Valkeinen Subject: [PATCH v2] arm64: dts: ti: k3-am654-base-board: remove ov5640 Date: Fri, 23 Apr 2021 11:31:20 +0300 Message-Id: <20210423083120.73476-1-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210423_013158_152087_E2685E31 X-CRM114-Status: UNSURE ( 8.47 ) 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 AM654 EVM boards are not shipped with OV5640 sensor module, it is a separate purchase. OV5640 module is also just one of the possible sensors or capture boards you can connect. However, for some reason, OV5640 has been added to the board dts file, making it cumbersome to use other sensors. Remove the OV5640 from the dts file so that it is easy to use other sensors via DT overlays. Signed-off-by: Tomi Valkeinen Acked-by: Pratyush Yadav --- Changes in v2: - drop empty csi2_0 node A DT overlay with OV5640 can be found from: https://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux-dt.git/commit/?h=multistream/work&id=ff7a6469a8c40e1fec14f0a186322ee114892117 .../arm64/boot/dts/ti/k3-am654-base-board.dts | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts index fe3043943906..7f27ba7e7256 100644 --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts @@ -85,12 +85,6 @@ sw6 { gpios = <&wkup_gpio0 27 GPIO_ACTIVE_LOW>; }; }; - - clk_ov5640_fixed: clock { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <24000000>; - }; }; &wkup_pmx0 { @@ -287,23 +281,6 @@ &main_i2c1 { pinctrl-names = "default"; pinctrl-0 = <&main_i2c1_pins_default>; clock-frequency = <400000>; - - ov5640: camera@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>; - }; - }; - }; - }; &main_i2c2 { @@ -496,14 +473,6 @@ flash@0{ }; }; -&csi2_0 { - csi2_phy0: endpoint { - remote-endpoint = <&csi2_cam0>; - clock-lanes = <0>; - data-lanes = <1 2>; - }; -}; - &mcu_cpsw { pinctrl-names = "default"; pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;