From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63117C433EF for ; Wed, 15 Jun 2022 22:15:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=6/5tS8pVLXUWqNkeigIr1hCkE03YeU/P3OHevLjHXd8=; b=FcpcD6wEH8wiFK sfZawR3vAo8FYyutHk8eyIMAVBugHRqY62Q7V77l23DNa4zGSCzKvj0fYpKaPWW9RpPBUyQd51b10 REI16GoKBKsRmV5LygQykYnL+FR/pcUN0GtXH5U5i1saCHpj6WREq6y/hBUDThOCbUIe8XBsuoZN3 uH/cROIoZHLgO3+BNYmxdDIYwzMKK0j4fRlZgh2z/rw7wV3HgG2aPvN7ZTXQN06S2lnWjzsU5TK7U TIYRirPFccyr8hekkgu5WP4VtlS44iF86nyDPGuvfmGIpWSg72aHa5ztoy5VIPojA1rdpN4NOh3QE 1MRufflznQml/gZE8cLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1bHv-00GcdN-0O; Wed, 15 Jun 2022 22:14:59 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1bHT-00GcR5-4J for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 22:14:32 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 913511354; Thu, 16 Jun 2022 00:14:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1655331269; bh=WUCF7s+BlwIqIfc9hYLLfbsvWKEkAwsfGc0cNn3ceHg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FL6DP2vw4qXA7p0OZFrSzijnQdCz3TkEkvQVxT/kj27iZfAsx3MmZxThRkZ2imLGD Fh0KfxIg91ZfqWl3n0Je4pQn00QvEhwZCmIR9yGpH4F40vwrXaX1mjaaF3adoI4Ou6 XooP52HJg18ne/ZE9np2IJB7FVsSXlqWXpw4vUOk= From: Laurent Pinchart To: devicetree@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , Sakari Ailus , Jacopo Mondi , Eugen Hristev , Hugues Fruchet , Maxime Coquelin , Alexandre Torgue , Lad Prabhakar , Fabio Estevam , Shawn Guo Subject: [PATCH v3 3/6] ARM: dts: freescale: Use new media bus type macros Date: Thu, 16 Jun 2022 01:14:07 +0300 Message-Id: <20220615221410.27459-4-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220615221410.27459-1-laurent.pinchart@ideasonboard.com> References: <20220615221410.27459-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_151431_356417_46C9480E X-CRM114-Status: GOOD ( 10.46 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Now that a header exists with macros for the media interface bus-type values, replace hardcoding numerical constants with the corresponding macros in the DT sources. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi index 1a18c41ce385..d98111f2100f 100644 --- a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi +++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi @@ -2,6 +2,8 @@ // // Copyright (C) 2015 Freescale Semiconductor, Inc. +#include + / { chosen { stdout-path = &uart1; @@ -170,7 +172,7 @@ &csi { port { parallel_from_ov5640: endpoint { remote-endpoint = <&ov5640_to_parallel>; - bus-type = <5>; /* Parallel bus */ + bus-type = ; }; }; }; -- Regards, Laurent Pinchart _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel