From patchwork Sun Mar 6 17:39:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12770759 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 C6EAEC433FE for ; Sun, 6 Mar 2022 17:40:45 +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: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=yL8j8ibDQNQRBELRz5TcEK+A4oX33NDIJridAvOTzsA=; b=qsfpcYPxl/q5VM ieiPmJ6mLTJFszN3ZxabYcebXM4qjMwR2b1bVikxxTCmUVfw5ekV8tGQu8Vi7efO1tiYgIDyMJd1A zrRJllSQmjy12LN7JYL8N4LyXC/6Nq4YDBRLZ6TT8ETcyjZGORipB8oQYoZizuuDj9Yr5IzzZ4iiB ZqUEcPMakDlymF9aMU0z3YpuYDyurrycXI1sqBHKisGpSnIcfH5UQNb7Ui57pqnvalUPGFOp0gN3Q EGI00EavJ5dV1nj4DCuktXHE+o0ysDJiqdT9+doyv4xmsaqgWOqRLNpgvmmkY7f8x8oVTxFW1p6kX ZSNvxUNAihM4en3rgDiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQuqt-00F4oB-GQ; Sun, 06 Mar 2022 17:39:27 +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 1nQuqo-00F4mY-TJ for linux-arm-kernel@lists.infradead.org; Sun, 06 Mar 2022 17:39:24 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 429C9482; Sun, 6 Mar 2022 18:39:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1646588361; bh=ywoVmQNqU9OcRFUjFQv8ux4/JC1YVycOwhZKUoi+QXY=; h=From:To:Cc:Subject:Date:From; b=S20ihGSyDvtZrPojmqTCirUA4Wt3g6Oo9v3J1+oqjVyht/DRyQQYonGg9RN+zUR70 EOQAgBAxTKYih0l/3lxryFmZjATdk+fjHXVWZvlCc7Au67NoSPrqOUwy36pasAeBhN RzXnxIR33vlNEXRDh2vfiqBdtpE2taN2TsOcdugI= 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 v2 0/3] dt-bindings: Add macros for video interface bus types Date: Sun, 6 Mar 2022 19:39:02 +0200 Message-Id: <20220306173905.22990-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220306_093923_119430_929E41D5 X-CRM114-Status: GOOD ( 13.86 ) 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 Hello, This small patch series is the result of me getting a bus-type numerical value wrong in a device tree file and spending too long debugging the issue. Hopefully there's nothing controversial here. Compared to v1, the PARALLEL bus type has been renamed to BT601, and patch 3/3 now converts existing DT sources. See individual patches for a detailed changelog. I can split patch 3/3 per architecture or per board if desired, but given that this is a mechanical change, and the patch is fairly small, I'd rather keep it as-is and merge it as part of the series. When writing 3/3 I noticed that the anx7625 bindings and the corresponding driver badly misuse the bus type (mapping CCP2 to mean MIPI DPI, and PARALLEL - now BT601 - to mean MIPI DSI). This misuse hasn't reached a released mainline kernel as it got merged in v5.17-rc1, so there may still be a chance to fix it. Let's discuss this in [1], I'll update this series and rebase it on v5.18-rc1 once released based on the outcome of the discussion. [1] https://lore.kernel.org/all/YiTruiCIkyxs3jTC@pendragon.ideasonboard.com/ Laurent Pinchart (3): dt-bindings: media: Add macros for video interface bus types dt-bindings: Use new video interface bus type macros in examples ARM: dts: Use new media bus type macros .../display/bridge/analogix,anx7625.yaml | 3 ++- .../devicetree/bindings/media/i2c/mipi-ccs.yaml | 3 ++- .../bindings/media/i2c/ovti,ov772x.yaml | 3 ++- .../bindings/media/marvell,mmp2-ccic.yaml | 3 ++- .../bindings/media/microchip,xisc.yaml | 3 ++- .../devicetree/bindings/media/st,stm32-dcmi.yaml | 4 +++- arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 4 +++- arch/arm/boot/dts/omap3-n900.dts | 5 +++-- arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts | 11 +++++++---- .../r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi | 4 +++- .../r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi | 4 +++- arch/arm/boot/dts/stm32429i-eval.dts | 3 ++- arch/arm/boot/dts/stm32mp157c-ev1.dts | 3 ++- include/dt-bindings/media/video-interfaces.h | 16 ++++++++++++++++ 14 files changed, 52 insertions(+), 17 deletions(-) create mode 100644 include/dt-bindings/media/video-interfaces.h