From patchwork Thu Dec 8 00:57:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Longerbeam X-Patchwork-Id: 9465505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 65930607D6 for ; Thu, 8 Dec 2016 01:00:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3136928575 for ; Thu, 8 Dec 2016 01:00:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14BB828565; Thu, 8 Dec 2016 01:00:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD78B28575 for ; Thu, 8 Dec 2016 01:00:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933773AbcLHA7v (ORCPT ); Wed, 7 Dec 2016 19:59:51 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:36462 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753263AbcLHA7r (ORCPT ); Wed, 7 Dec 2016 19:59:47 -0500 Received: by mail-pg0-f67.google.com with SMTP id x23so25023765pgx.3; Wed, 07 Dec 2016 16:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=91RHKiECttwRm7CMv9zfqvjiT0IMu25kypq0sGH9cJA=; b=klba289cp8CfYKc0v2NG5guTvQ80hpD7ZfZkaznhxX5+Qg8+GGMj3ivJ9zDum/lffz gLcTmgH/Miop5sKVsFdEP5ac+uQGGbfmhQ4GSBimX9djWg81Ewzm5zhiVd7xzPYJMYjs wQWTkVnCc8cRHYxWPXZeLTrrHcBN8rQpF77jZzkHUfR8A3KOGs7OZboakapE8a8zqUCR FNX2QtyiSrN93DrJM3ymLtYN0ZM80ZkdZXDdBtq+MDtKPBrp0X9aarb8Q5IR/waaQcA5 W09HDTiVO8K7GVAVslDSrIdilyb1OSB53RR93Hh8szWJ9bkaBzoeeauVjeTCr7ZJE4JG T17w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=91RHKiECttwRm7CMv9zfqvjiT0IMu25kypq0sGH9cJA=; b=V37XOaq4JUIyEzB+LcYst/e6keb3YjtIWw9X611hDqwYdouqjZknpW9xn6k7pIvfmR HMgiup5Zxy6Xhy7jaA7OWXFNYO5WgQcF9AUx2vVQ5iLYSLq0RUOTGHO8mQGaG1Si4WXk Ecjfwo98n1UcjacoOXifWHc7jVtGT7i9jV7VcPCUdSkGTJE/oTsYjKcbZMY1D9TDiTUQ QS6C8PV+lL+BTqxg6/GjbzOKOgVdS1gjVTE5y1ynUVxIL4P5IqevqPlPF2tCmV2dDYvv Uq5IqN4aHjgjAjB7MQpGnRA7NjBPl5+foITCoLFJSm0NiEbMoVcYtWFlp2kec7v4o0a/ /T5w== X-Gm-Message-State: AKaTC02d3jjZGlJEIFYR5kJWAKrkwaQMa+wpfGfxmcjRrYvMuQN4xKV3auHelQzWPoPWwQ== X-Received: by 10.84.215.148 with SMTP id l20mr152384730pli.120.1481158767284; Wed, 07 Dec 2016 16:59:27 -0800 (PST) Received: from majic.sklembedded.com (c-73-241-2-21.hsd1.ca.comcast.net. [73.241.2.21]) by smtp.googlemail.com with ESMTPSA id n25sm45265872pfi.33.2016.12.07.16.59.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Dec 2016 16:59:26 -0800 (PST) From: Steve Longerbeam X-Google-Original-From: Steve Longerbeam To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, tomi.valkeinen@ti.com, p.zabel@pengutronix.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Steve Longerbeam Subject: [PATCH 02/12] ARM: dts: imx6qdl: rename ipu client nodes Date: Wed, 7 Dec 2016 16:57:43 -0800 Message-Id: <1481158673-15937-3-git-send-email-steve_longerbeam@mentor.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481158673-15937-1-git-send-email-steve_longerbeam@mentor.com> References: <1481158673-15937-1-git-send-email-steve_longerbeam@mentor.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP To allow for IPU client devices that are composed of more than one port for input and output (SMFC and IC), change the nodes from being a single port node to nodes that can contain multiple ports. Rename the nodes to use the following format: "ipu_". The IPUv3 driver will then need to lookup the client nodes by name rather than by port id. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6q.dtsi | 12 ++++++------ arch/arm/boot/dts/imx6qdl.dtsi | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index e9a5d0b..2b261ba 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -141,18 +141,18 @@ clock-names = "bus", "di0", "di1"; resets = <&src 4>; - ipu2_csi0: port@0 { + ipu2_csi0: ipu2_csi@0 { reg = <0>; }; - ipu2_csi1: port@1 { + ipu2_csi1: ipu2_csi@1 { reg = <1>; }; - ipu2_di0: port@2 { + ipu2_di0: ipu2_di@0 { #address-cells = <1>; #size-cells = <0>; - reg = <2>; + reg = <0>; ipu2_di0_disp0: disp0-endpoint { }; @@ -174,10 +174,10 @@ }; }; - ipu2_di1: port@3 { + ipu2_di1: ipu2_di@1 { #address-cells = <1>; #size-cells = <0>; - reg = <3>; + reg = <1>; ipu2_di1_hdmi: hdmi-endpoint { remote-endpoint = <&hdmi_mux_3>; diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e01e5d5..2465187 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -1226,18 +1226,18 @@ clock-names = "bus", "di0", "di1"; resets = <&src 2>; - ipu1_csi0: port@0 { + ipu1_csi0: ipu1_csi@0 { reg = <0>; }; - ipu1_csi1: port@1 { + ipu1_csi1: ipu1_csi@1 { reg = <1>; }; - ipu1_di0: port@2 { + ipu1_di0: ipu1_di@0 { #address-cells = <1>; #size-cells = <0>; - reg = <2>; + reg = <0>; ipu1_di0_disp0: disp0-endpoint { }; @@ -1259,10 +1259,10 @@ }; }; - ipu1_di1: port@3 { + ipu1_di1: ipu1_di@1 { #address-cells = <1>; #size-cells = <0>; - reg = <3>; + reg = <1>; ipu1_di1_disp1: disp1-endpoint { };