From patchwork Wed Nov 29 18:47:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 10083199 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 3B3A660234 for ; Wed, 29 Nov 2017 18:50:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CCFF299BF for ; Wed, 29 Nov 2017 18:50:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21ACB29A9C; Wed, 29 Nov 2017 18:50:16 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AB37F299BF for ; Wed, 29 Nov 2017 18:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject: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=r9un4P8vTGj6aSPtFjC+/egcI8jgpYY50VRr5S9Jo/I=; b=qcF eXsnYEY1Ka9KAv2Ay3dkMN0rR4ERkvFXWPAsWUjyWTi1AfxipSp4DHtzpJhb6tdqgqqE7HbwTJxry 2D463rSPP3PBI/R5ezwbBZbKJPM2pY7so45H6SSUg+0Y/3xrTGwgkWz/qL+TE6hZIB0oz67BveNhc PTBPsTVxBZbbu5fYF14gTgcXLqgxgsdSKP7GwPZPPGQ0mu48TLHq8AYGUXZApH2TDvgH6yL0blfLn 2t/Q30h83AOQfatdlQXWXa08vawhnMBVPMw71540jugrp1rwcS1CxENZDAPMa89py+3POb+16DjcO KCmzJTbf744BA7rOsaBPy7OwaLgX2KQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eK7R0-0000eh-Lv; Wed, 29 Nov 2017 18:50:14 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eK7QN-0007hD-J3 for linux-rockchip@bombadil.infradead.org; Wed, 29 Nov 2017 18:49:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5TyNrWIa/n3OA0881/dQGMpmR4OJad6I9C1p1iFJKDQ=; b=qbQtpq1mAtG/dlS37X9Di/zt5 hCwK0hsNHkBKR+ZUpwhofQq0LLeWDstIigBRlPQtAz0wEgmnCpRFziF84cp3vPMVMEbSkLdvcA6H+ vnavTbs2scEBJzDIRX7kOVlLBq88hhX57Rf6qGRCC/PymI3QMANLX4QaSbkrm+qNxtkLT+3vIiDcL mnuYvYK0OuqvKF27F6IPAUNE4jfEjGHuWncoKb6J1RsiJ3szjwM8MGXKu8Yg0JSlqMRL5QRCxopJq Ue4nOXSgufCFTmaysdNWXTHj7ykzYz9hOPJmzBzc0LS0FeGbyv6ARZI2VRAO3O0MJ+O4CFkiM/yiF V8EC8hXhw==; Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eK7Q4-00025f-H7 for linux-rockchip@lists.infradead.org; Wed, 29 Nov 2017 18:49:17 +0000 Received: by mail-pf0-x244.google.com with SMTP id j124so1959471pfc.2 for ; Wed, 29 Nov 2017 10:48:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=5TyNrWIa/n3OA0881/dQGMpmR4OJad6I9C1p1iFJKDQ=; b=ha/EEbupDtitPXeunvfuvkVeBPpPaPvn5cApUCi0t1six3JZ2c+/C3Cp1yw1Ooz3MM fpYwFDEk6KR5kqQ37ShO0XYZWfxbks9b00IsBj/qCoFhr/LWRbuhbZNKewKEQUCeajuf UfBwydy0ZY4qcQaPYy44CmOPigLr9iRSggm6o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5TyNrWIa/n3OA0881/dQGMpmR4OJad6I9C1p1iFJKDQ=; b=asrPFfkSmXJoatrhS9U8gtTh4jXIfee6Spst8xHTnsh1pVuf3p5reTbASq0/ZrvlFp JJWGLjyacKHfsK9rk0MhOw/IK6SUMu4jngKKfLqDraz9aYZaOAkWmwsjBPIsKEwIi/8a r/eBKDSfa1zIFsVmneeYemtDtVxOjmt/dbQiqwLWhL3j6sYjLfOKytA1XxQvuoleixk8 L9I1j75psV8SREaMFXelxsfd9QnlQdvS4D8zs42b3hgrXT/ovYBXHa5iUiwqf+ShGzn9 wIyjIiu6xamhBHKY2eH+KrlBlZB08/nGg+G4WrlCB6tTH4C3N1sDWnMUTdVP8Xri6/aH bYCg== X-Gm-Message-State: AJaThX62+KDYhcXf7WuxiIWcEf1qQfte/F151wUy0E3Q1cF2as2+Q8AC THzcfcKJjEUHZ+w2/CNQrpiHKQ== X-Google-Smtp-Source: AGs4zMZMdBRhDDGkfdOJo7X4i5MbIPaSuasiOcZsIFf5OpLxb6pDXJydaEMD7I1fe5yCoydfEg9fEA== X-Received: by 10.99.51.205 with SMTP id z196mr3739122pgz.374.1511981331314; Wed, 29 Nov 2017 10:48:51 -0800 (PST) Received: from ban.mtv.corp.google.com ([172.22.113.17]) by smtp.gmail.com with ESMTPSA id q72sm4591487pfi.42.2017.11.29.10.48.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Nov 2017 10:48:50 -0800 (PST) From: Brian Norris To: heiko@sntech.de Subject: [PATCH v4] arm64: dts: rockchip: update mipi cells for RK3399 Date: Wed, 29 Nov 2017 10:47:55 -0800 Message-Id: <20171129184755.77187-1-briannorris@chromium.org> X-Mailer: git-send-email 2.15.0.531.g2ccb3012c9-goog X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, David Airlie , dri-devel@lists.freedesktop.org, Philippe Cornu , Andrzej Hajda , Laurent Pinchart , Benjamin Gaignard , zyw@rock-chips.com, Archit Taneja , Brian Norris , linux-rockchip@lists.infradead.org, Nickey Yang , mka@chromium.org, xbl@rock-chips.com, hoegsberg@gmail.com, robh+dt@kernel.org, Sean Paul , Vincent Abriou , hl@rock-chips.com, Doug Anderson , linux-kernel@vger.kernel.org, Yannick Fertre MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Nickey Yang We might include additional ports in derivative device trees, so the 'port' node should have an address, and the parent 'ports' node needs /#{addres,size}-cells. v4: * keep #{address,size}-cells in both 'ports' and 'port@0' nodes * separate from the rest of the series, since this is mostly independent of the driver refactoring Signed-off-by: Nickey Yang Signed-off-by: Brian Norris Reviewed-by: Douglas Anderson Reviewed-by: Laurent Pinchart --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index d340b58ab184..c6dae25a3f23 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1652,7 +1652,11 @@ status = "disabled"; ports { - mipi_in: port { + #address-cells = <1>; + #size-cells = <0>; + + mipi_in: port@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>;