Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2450669rdb; Fri, 8 Dec 2023 08:27:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVtx/eHFaUaGnJN+tVdc3/HGsX+Uj9U+5+RbE+nhYX+BLuWFcypE7N+mGpC28YfzZPxEin X-Received: by 2002:a05:6359:2b84:b0:170:a7e6:e068 with SMTP id qi4-20020a0563592b8400b00170a7e6e068mr127303rwb.61.1702052820656; Fri, 08 Dec 2023 08:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702052820; cv=none; d=google.com; s=arc-20160816; b=yDpZRGctfTwmXLt8lAucZeloZ3aL7uFMNkT/oiRBnnmVpNIm+TGU39IbrkdVG8/A/s D4XaiMXbTypmK8ioMSSVXSotl+z6YThoWnvMgErurK340+ky0AIxqL9IIzDNxaf9J+dP Or9KyhZrNkioxfU1nXvTP3k6z1WarGeilzaieofbIbrkpCGGrDWM4QB2YfhTi8yk2aNn pjsCA1zdQlCDDiC6wREYeG7tJqmc2z7wLkCX+LEE2SuRwt15NpvhU+9CIyl6gZotbpSO S8V8yZ4vJKnoMepYtS12qxfmvWSeGJIi6VN8v/+JQ5lVc/1FGmRLOGcV7jKFPQJlB1Sw dMow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=A/VqFq2kpZ2fabQjYwXi+B0CSEKYQacPtMIEvy+GWXc=; fh=9PzoQrP1gP+93qVajkj0m0l5zkPVWu8mwwIl/DT3mg0=; b=FTNR3/tCpCmqjrdK6fJiiLVYXhpecP1pJeUvAlWR7Yx2BWStN5TuENUs0m8AJwaRHb HCqRFnxwJD9PHYa/NDIfPYk7mSkZEjqJgLKt2ROgtfSNdIbJWB9uhL8gDVlsKXdMDhT3 KIJybz1pFAZENOFpWiCP/j2wxaFHol28RH/X2vqxHDEezTexmTIVGwL3f7QGY1So3fyR MkYJZJwCoi1UkX1n1rNvMJSX8DOQAioh0kLaY0PEIXhx2hn8IPqm/HcOS5DRgQQ/6S0L +NE14Je93k7bWcheFRUym/+nZrZiw2qQwcQKZm44Cl2E8+XS28IIWP8VkiyB2nBVSAuD QEpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id s35-20020a632163000000b005c66e60900csi1688292pgm.239.2023.12.08.08.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 08:27:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 1F6DE83AC5D2; Fri, 8 Dec 2023 08:26:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233647AbjLHQ0n (ORCPT + 99 others); Fri, 8 Dec 2023 11:26:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233485AbjLHQ0m (ORCPT ); Fri, 8 Dec 2023 11:26:42 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01679123; Fri, 8 Dec 2023 08:26:45 -0800 (PST) Received: from i53875b61.versanet.de ([83.135.91.97] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBdgT-0000Lb-Kw; Fri, 08 Dec 2023 17:26:37 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Andy Yan Cc: hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, sebastian.reichel@collabora.com, kever.yang@rock-chips.com, chris.obbard@collabora.com, Andy Yan Subject: Re: [PATCH v4 16/17] arm64: dts: rockchip: Add vop on rk3588 Date: Fri, 08 Dec 2023 17:26:36 +0100 Message-ID: <4730849.ejJDZkT8p0@diego> In-Reply-To: <20231207080247.652780-1-andyshrk@163.com> References: <20231207075906.651771-1-andyshrk@163.com> <20231207080247.652780-1-andyshrk@163.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 08 Dec 2023 08:26:58 -0800 (PST) Hi Andy, Am Donnerstag, 7. Dezember 2023, 09:02:47 CET schrieb Andy Yan: > From: Andy Yan > > Add vop dt node for rk3588. > > Signed-off-by: Andy Yan > --- > > (no changes since v1) > > arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 96 +++++++++++++++++++++++ > 1 file changed, 96 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > index 7064c0e9179f..a9810ca78dc4 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi > @@ -593,6 +608,87 @@ i2c0: i2c@fd880000 { > status = "disabled"; > }; > > + vop: vop@fdd90000 { > + compatible = "rockchip,rk3588-vop"; > + reg = <0x0 0xfdd90000 0x0 0x4200>, <0x0 0xfdd95000 0x0 0x1000>; > + reg-names = "vop", "gamma_lut"; > + interrupts = ; > + clocks = <&cru ACLK_VOP>, > + <&cru HCLK_VOP>, > + <&cru DCLK_VOP0>, > + <&cru DCLK_VOP1>, > + <&cru DCLK_VOP2>, > + <&cru DCLK_VOP3>, > + <&cru PCLK_VOP_ROOT>; > + clock-names = "aclk", > + "hclk", > + "dclk_vp0", > + "dclk_vp1", > + "dclk_vp2", > + "dclk_vp3", > + "pclk_vop"; > + resets = <&cru SRST_A_VOP>, > + <&cru SRST_H_VOP>, > + <&cru SRST_D_VOP0>, > + <&cru SRST_D_VOP1>, > + <&cru SRST_D_VOP2>, > + <&cru SRST_D_VOP3>; > + reset-names = "axi", > + "ahb", > + "dclk_vp0", > + "dclk_vp1", > + "dclk_vp2", > + "dclk_vp3"; resets and reset-names do not seem to be part of the binding, so should probably be added there. > + iommus = <&vop_mmu>; > + power-domains = <&power RK3588_PD_VOP>; > + rockchip,grf = <&sys_grf>; > + rockchip,vop-grf = <&vop_grf>; > + rockchip,vo1-grf = <&vo1_grf>; > + rockchip,pmu = <&pmu>; > + move this blank line _below_ the status=disabled please. > + status = "disabled"; > + vop_out: ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + vp0: port@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0>; > + }; > + > + vp1: port@1 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <1>; > + }; > + > + vp2: port@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <2>; > + }; > + > + vp3: port@3 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <3>; > + }; > + }; > + }; > + > + vop_mmu: iommu@fdd97e00 { > + compatible = "rockchip,rk3588-iommu", "rockchip,rk3568-iommu"; > + reg = <0x0 0xfdd97e00 0x0 0x100>, <0x0 0xfdd97f00 0x0 0x100>; > + interrupts = ; > + interrupt-names = "vop_mmu"; interrupt-names is not part of the mainline iommu binding, so should be dropped Thanks Heiko