From patchwork Mon Apr 12 07:53:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 12197071 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=-16.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,SPF_HELO_NONE,SPF_PASS,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 8316BC433ED for ; Mon, 12 Apr 2021 07:55:51 +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 1F33A610CB for ; Mon, 12 Apr 2021 07:55:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F33A610CB 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=IDtpAWAP67pcQF+Asl4II9E1QiD4E65eWPrA06XdCls=; b=oqKjh9FW/TkvhBaoZWxHGvd2HK q3775QD+xKhIBNsIqPkFjD1KjjBD47r2PLsdYEoGjEyE7pLUulKtP7AJAxpuNv2Uzqm/3wkcMqfjF FGbDsy5Yk3ZtWr9BPTf33FphIQAw7d64zldA+fqnjYv5Zc9ZhXd6NSJnKt0kByWsAKouzRKzMbcH+ V5c8v+99vX0lwCfOqXcD7+1Y9mfeFvf4pLaLyqXea28OQe5b1qj1hStsFTjDkuPlq3vhBNPRtSafw 360LwfJ5orDyJraIvrTgIcc+DUtc2xEf7hLDtgyjveKj3rfdliT45Vt5R4qcFI5HXRplP1018pNH4 4kzYNDlA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVrOX-0061sd-14; Mon, 12 Apr 2021 07:54:05 +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 1lVrOM-0061qK-N5 for linux-arm-kernel@desiato.infradead.org; Mon, 12 Apr 2021 07:53:55 +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=1ehL216ecZ3PHYhU1EkXz91ei+M5euHysi0MU1TPrfY=; b=rXEFXxWiRn3no+PCRxtlZMzpdN aWlcdLAuWDBClQEXQER1MvPEvaqE1BHqnAOI3G65UwAailk2eCPaHs0WkMYJm92O0AiD3FJ+QrcF/ +fK6P/4ucDRoEvysW/4JoctUhj351daI6VMxZe1TQXbennrjd7GyV9OxJOkzZi4V8mnUGjPRjDYGj KhbiTvMOYTMWp83b9ZAeNcb+W3MhGca4tXSyAs8zBK0GqLtTth/P2DXNnYsk2pn4EhGuIGlMNezyY yBtXTqXOlF8cBGtjNijNrv9+6KsX0iTWPW2FhinKpacl8GmQazp8mDOmhVd8cqwFPjARLBomVSq5h kne1TYkA==; Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVrOK-005wh7-4d for linux-arm-kernel@lists.infradead.org; Mon, 12 Apr 2021 07:53:53 +0000 Received: from deskari.lan (91-157-208-71.elisa-laajakaista.fi [91.157.208.71]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7E1DD3F0; Mon, 12 Apr 2021 09:53:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1618214017; bh=wvu/vFeREu8Tj1vbRsN405FMXmZTzQAX7dHgiNpMnUs=; h=From:To:Cc:Subject:Date:From; b=I5eXXF11VwNpKJsrDmBrZCkBvo+vYXxb7eLwIVnIsR+3TTM/Pwt7oLEh5pXAh0amf r7+6uILS9E+tvRH7+JEXfwmQ66c/GIbtfOoVtPA/OLZ8WBND3LswwUveORtEDUqKe4 EWjvA9P+XlG6BFdha/b5ERFbxHcCozBpIeFBn3tc= From: Tomi Valkeinen To: Nishanth Menon , Benoit Parrot , Laurent Pinchart , devicetree@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Tony Lindgren , Pratyush Yadav Cc: Tomi Valkeinen Subject: [PATCH 1/2] ARM: dts: dra76-evm: remove ov5640 Date: Mon, 12 Apr 2021 10:53:05 +0300 Message-Id: <20210412075306.102884-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-20210412_005352_374977_12A6F6AF X-CRM114-Status: UNSURE ( 9.40 ) 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 DRA76 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 Reviewed-by: Laurent Pinchart --- arch/arm/boot/dts/dra76-evm.dts | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index 9bd01ae40b1d..f3c900e1b953 100644 --- a/arch/arm/boot/dts/dra76-evm.dts +++ b/arch/arm/boot/dts/dra76-evm.dts @@ -158,12 +158,6 @@ aic_dvdd: fixedregulator-aic_dvdd { regulator-max-microvolt = <1800000>; }; - clk_ov5640_fixed: clock { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <24000000>; - }; - hdmi0: connector { compatible = "hdmi-connector"; label = "hdmi"; @@ -409,22 +403,6 @@ tlv320aic3106: tlv320aic3106@19 { &i2c5 { status = "okay"; clock-frequency = <400000>; - - 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>; - }; - }; - }; }; &cpu0 { @@ -574,11 +552,6 @@ can-transceiver { }; &csi2_0 { - csi2_phy0: endpoint { - remote-endpoint = <&csi2_cam0>; - clock-lanes = <0>; - data-lanes = <1 2>; - }; }; &ipu2 { From patchwork Mon Apr 12 07:53:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 12197073 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=-16.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,SPF_HELO_NONE,SPF_PASS,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 7DD96C433ED for ; Mon, 12 Apr 2021 07:56:27 +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 F01F26121F for ; Mon, 12 Apr 2021 07:56:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F01F26121F 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:References:In-Reply-To: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:List-Owner; bh=geFE9uOQLAyAQqJX/O6xEh4VFfI8e85qme9hB6Vs7ZU=; b=pO2LZfAFxH3QiGDmUgRdgPYxF mHvICPdO9pec6jnTZQR0wlq12GSyRsUpGdAPejS6JXJUdvdLZ/4TPFLHbmNWVn4xXB2xjtuznJqOh 9kuZBLIiHMZoqPd/Tn1i0CU/pqW+J2jhAVOkICBIScA06KYUjJtcnIchSN6O5fctqTGVOOpsszISI nm7/XLe7ziv/vJqnXqauRiI3o5zrhp4aFUCiwYDKJZXA1Yxrr8VAIyd3cXQc2Gy45AAf25KdJ1R6v cIWgjHCIGNgfL8E0pEeNFUEDZex/pSBI9T7xiOed/lbTyvUElpHJJEjz44MV3qhdRa51qbrlQzBJY JLVdbKB3Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVrOz-0061zT-3c; Mon, 12 Apr 2021 07:54:33 +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 1lVrOM-0061qL-Ps for linux-arm-kernel@desiato.infradead.org; Mon, 12 Apr 2021 07:53:55 +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:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=6H2DcC3UP5xXolIfDbk9zSEf2NtDjloNED2syFF1ER4=; b=qPs7Azdgkq2525agK8AV5ZSUap gP3EqYmRkCVY1xmxNARU/oE1nKAnbuwpbdgpAV0LtmDongrjhljYW3BVw+PpPlPswHjpEpd/+HN0s mqWnOnqPiReQFEYF35q1F6IZcswoTRH70eyB41UQeDRuQ5yMxlGUfrwA/ZVEhaIQCJSd+RczmexhX 73K9dCXtL6MHmidWgpN+y/ZHrXacOHX6JDhLxEzB10gkvRkZEIhH43oV8/g7ZmcGvNMGqTuH+Vze/ ei29+JBiulM1LMXAvrXZUwVYGLxReqISwiqI1hULiYGcapT68Otmi/KAHIm5zhG4Pnel8sUV280Q1 awOQGxnw==; Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVrOK-005whB-60 for linux-arm-kernel@lists.infradead.org; Mon, 12 Apr 2021 07:53:53 +0000 Received: from deskari.lan (91-157-208-71.elisa-laajakaista.fi [91.157.208.71]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B0E265A9; Mon, 12 Apr 2021 09:53:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1618214018; bh=pYDIvBcFCEmVMFHBSfoW6dUfoYmXSp6WbSv3GOmUWPI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qhFOezCepteIr3f7gb9EV/98J596saeRTzSSVlYTn8rdiHb+NaICa/iTSsecyFT2s SlRWUdJ+u0l4pFjgU8XtDuTzNe2UcL/cYBKdchD6lZWedrYm7t40nF2d4Gxy6xN97R HA25rZV+1wzSCKGDoe+/vJL1WtfEjprPqMgPHsN0= From: Tomi Valkeinen To: Nishanth Menon , Benoit Parrot , Laurent Pinchart , devicetree@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Tony Lindgren , Pratyush Yadav Cc: Tomi Valkeinen Subject: [PATCH 2/2] arm64: dts: ti: k3-am654-base-board: remove ov5640 Date: Mon, 12 Apr 2021 10:53:06 +0300 Message-Id: <20210412075306.102884-2-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210412075306.102884-1-tomi.valkeinen@ideasonboard.com> References: <20210412075306.102884-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210412_005352_409216_A504ADEC X-CRM114-Status: UNSURE ( 9.52 ) 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 --- .../arm64/boot/dts/ti/k3-am654-base-board.dts | 27 ------------------- 1 file changed, 27 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..76358b4944e1 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 { @@ -288,22 +282,6 @@ &main_i2c1 { 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 { @@ -497,11 +475,6 @@ flash@0{ }; &csi2_0 { - csi2_phy0: endpoint { - remote-endpoint = <&csi2_cam0>; - clock-lanes = <0>; - data-lanes = <1 2>; - }; }; &mcu_cpsw {