Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2086456ybb; Thu, 2 Apr 2020 12:50:47 -0700 (PDT) X-Google-Smtp-Source: APiQypIr+CjDaiyNbRsF7hoeoqaN7xolD+hhLMIFfZvnuJ9yuKk/z03wXcAebwVQsx26oV1iX88g X-Received: by 2002:aca:3c82:: with SMTP id j124mr564071oia.89.1585857047645; Thu, 02 Apr 2020 12:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585857047; cv=none; d=google.com; s=arc-20160816; b=GCgaPEiU9vcjMlOKYA+sKH5uLxKmrBNlRzyFSlBD2A8NvnmzI3lIqGPZkdqIu5g9y9 RZ3iTNeL6ko+DyOusLr0AoWsxWGSCUsvzBzELdwsQ5BdrXuFHwJFQCITX3ogpqh7cK7R NX3PGGNw9t7pq5KkDYTG5JovYeCUt0jDeiALo1aGsDLE8PpkS5nBDs6205EW19s/l1cP lIrlweAwYkXrU+r6gML9QBX822/jIciJHya+xHMBtBeyN9fr8QQIySgNijXFEwzJ/9BG mppJG22IkeOKqI/EhyS8/5z1aNeT02/WgFhGfuNPXeZvX5fRkyOL2A2KGeXxQ0wkCLmv wvHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ulpyMEXeL19mI3TDd6XDf86sYUaCFmpFOgO0vJqjT8Q=; b=ePOY7umbYluuUE6JYVFz0Zz9W4bpNf81gcTy1wbBz/PUyBGjGoNbi+hCyY9co/rgOU ygdM7Edti/POpPGoVwg2zB8qx+U2XGCTGFeOc8ATA94GmtEYLV6Y/QeqWcxleI2upPON cUF8p66u8YSLxoctlD0MylHHlqnnUhGoUsmDnxhLCsC5/uT1FkTbi/Wc7lM5W911Wpk/ /iJBbUAQI0t0gDMvTjOM906wS7OWFMO0o3PQtBLuoJPpJWQIeBjkHrtO2VuZ3R54rmF0 83YMURy7hDNTseczqHGuM1mqkxE1KLiHzlLIW6l1tsVSMtxVxOZIfG2Yo1P8pKc9z7fB 8r7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si2653429oib.152.2020.04.02.12.50.34; Thu, 02 Apr 2020 12:50:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388550AbgDBTqn (ORCPT + 99 others); Thu, 2 Apr 2020 15:46:43 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:46424 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728225AbgDBTqn (ORCPT ); Thu, 2 Apr 2020 15:46:43 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: koike) with ESMTPSA id 0F4DB28A9AD Subject: Re: [PATCH 4/4] arm64: dts: rockchip: add isp0 node for rk3399 To: Johan Jonker Cc: dafna.hirschfeld@collabora.com, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, ezequiel@collabora.com, heiko@sntech.de, hverkuil-cisco@xs4all.nl, karthik.poduval@gmail.com, kernel@collabora.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, mark.rutland@arm.com, robh+dt@kernel.org References: <20200402000234.226466-5-helen.koike@collabora.com> <1187d28a-6fb9-fd12-a422-8a4220a11e79@gmail.com> From: Helen Koike Message-ID: Date: Thu, 2 Apr 2020 16:46:28 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <1187d28a-6fb9-fd12-a422-8a4220a11e79@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/2/20 2:20 PM, Johan Jonker wrote: > Hi Helen, > >> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> index fc0295d2a65a1..815099a0cd0dd 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi >> @@ -1718,6 +1718,33 @@ vopb_mmu: iommu@ff903f00 { >> status = "disabled"; >> }; >> >> + isp0: isp0@ff910000 { >> + compatible = "rockchip,rk3399-cif-isp"; >> + reg = <0x0 0xff910000 0x0 0x4000>; >> + interrupts = ; >> + clocks = <&cru SCLK_ISP0>, >> + <&cru ACLK_ISP0>, <&cru ACLK_ISP0_WRAPPER>, >> + <&cru HCLK_ISP0>, <&cru HCLK_ISP0_WRAPPER>; >> + clock-names = "clk_isp", >> + "aclk_isp", "aclk_isp_wrap", >> + "hclk_isp", "hclk_isp_wrap"; > >> + power-domains = <&power RK3399_PD_ISP0>; >> + iommus = <&isp0_mmu>; >> + phys = <&mipi_dphy_rx0>; >> + phy-names = "dphy"; > > Maybe a little sort? But keep rest as it is. Also in example. > > iommus = <&isp0_mmu>; > phys = <&mipi_dphy_rx0>; > phy-names = "dphy"; > power-domains = <&power RK3399_PD_ISP0>; Are you proposing only to move power-domains after phy? And keep the rest? What is the main logic? Thanks Helen > >> + >> + ports { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + port@0 { > >> + #address-cells = <1>; >> + #size-cells = <0>; >> + reg = <0>; > > Move reg above #address-cells. Change that in example as well. > > reg = <0>; > #address-cells = <1>; > #size-cells = <0>; > >> + }; >> + }; >> + }; >> + >> isp0_mmu: iommu@ff914000 { >> compatible = "rockchip,iommu"; >> reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>; >> -- >> 2.26.0 >