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: 10083193 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 68C4460234 for ; Wed, 29 Nov 2017 18:48:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A03629ABE for ; Wed, 29 Nov 2017 18:48:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D01929B22; Wed, 29 Nov 2017 18:48:55 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E9D4A29ABE for ; Wed, 29 Nov 2017 18:48:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 255CE6E076; Wed, 29 Nov 2017 18:48:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id D31216E076 for ; Wed, 29 Nov 2017 18:48:51 +0000 (UTC) Received: by mail-pf0-x242.google.com with SMTP id m26so1946610pfj.11 for ; Wed, 29 Nov 2017 10:48:51 -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=I5UcDqY+K+9sxYEhwXuYqa7F92cWjus6zejhaT54P93/Fud6VjgLC2QGEnpEkAGNf2 CXXob+X7NHkgumqRwgn7lf5hbRQOLxxXE8mfnHDNbZnXrFsC3Vig9Ad5PhUA3MTu/FL1 d2xX8yl3amnaVlFH0N3VBVAKRa6ZK1l9UQ9npzUlijkEO4ZmNUGlFQRQ6YcV5ihaLsUe kaluiNOO1Fu8HqL37zyPr1wPmBUYoWDj89K5hP6Cw2M4/XMBWXKJqW6SYnw3SsPX6VqL rL7YoXtWQFrBSKoXmfpWEpqQrMOwEXQUOpCL2uT8xfndlSlLZjJ5RSWxyQ48/uzTLavK Dwzw== X-Gm-Message-State: AJaThX4cr4fgTYpYZ3V8vKqGPP3C2gpNOZ/za9n+qhN4eeNA+PCsu40l qq2DKroH/+8kwrUeE20eZqa+yQ== 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 Cc: mark.rutland@arm.com, David Airlie , dri-devel@lists.freedesktop.org, Philippe Cornu , Laurent Pinchart , zyw@rock-chips.com, Brian Norris , linux-rockchip@lists.infradead.org, Nickey Yang , mka@chromium.org, xbl@rock-chips.com, hoegsberg@gmail.com, robh+dt@kernel.org, Vincent Abriou , hl@rock-chips.com, Doug Anderson , linux-kernel@vger.kernel.org, Yannick Fertre X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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>;