Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3466469pxy; Mon, 26 Apr 2021 02:24:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcZXv/RcJaMg2cNJaRhBqkGjxS63TglnoxrC1OeBYSoIyTeaN/sUJoBG9GO3KBYtxGsHhu X-Received: by 2002:a17:906:51d5:: with SMTP id v21mr17840761ejk.252.1619429092354; Mon, 26 Apr 2021 02:24:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619429092; cv=none; d=google.com; s=arc-20160816; b=u5PQptEclOwwl5XM1ubo3cJnPozspm09fjEEVp+ctrmCQM2kDtjGBvUSbxNGhP/rcl UHbJvhQwGRNIium1ybuPztanEbP6fZ2eKwJ3/aq4yhJHBS+ctBDDHyaPTXLbBiAvQWl5 l1tuFElP101q9KAePvJ/LlHGY884nSnSFZLJFA7L9vLfFyIJE9oQH47LKb3GUoEN0oKD PnSscKYWpGJIJRuef3/azSInsi4xVF2w09aX2oYlAuGxIyYeZispxPGDKXCd/N1658x6 a+HrWKcHNXyJycOSfd/QXtl87/yDlz070bxcEMn7x78AWCDjDD1GM3i0VIazJKib+DHm lAAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:cc; bh=dCl+8DIVTwtlJQlZvQ7o/9JxhUtT6UcxSErwqOHuosg=; b=Ha+alYXle3+sTXVWHKWmEJQkhij1B007X2+KiLv2AFpjuFrJEqE6qGMmNZM6207c8C gzycITZPJeuyi2sog9eWyx5ayqgFz6HGcD2/T99935MbKEuzccpuOWDHOiFAhy0OfRPD 60fXtRkCGCY24+JiBbenei3zHJ4DVhR2cOcYSZJgl2Ktbz6Q/arecIWjCcmAHGe9SR6e SWD4Q6f1ch3MZMo6nICXZvz3BXRqwKdoGnbPPxeR2lPRXr6x+iSpbom853A3Ige3d0rP +WSJCNa2RygQOrkkcl49GHqB+NK8lMcbX3jjV7xGmlxahh2Q5/q4HGLRHGz/CA2mQbmb YCfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q20si12837804edd.31.2021.04.26.02.24.28; Mon, 26 Apr 2021 02:24:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232506AbhDZJWi (ORCPT + 99 others); Mon, 26 Apr 2021 05:22:38 -0400 Received: from regular1.263xmail.com ([211.150.70.205]:59360 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232161AbhDZJWg (ORCPT ); Mon, 26 Apr 2021 05:22:36 -0400 Received: from localhost (unknown [192.168.167.235]) by regular1.263xmail.com (Postfix) with ESMTP id 6A2857D3; Mon, 26 Apr 2021 17:21:37 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-SKE-CHECKED: 1 X-ABS-CHECKED: 1 Received: from [172.16.12.151] (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P2752T140649347385088S1619428893484164_; Mon, 26 Apr 2021 17:21:35 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <0b6518d01a4b44141c73aba3d00c4597> X-RL-SENDER: cl@rock-chips.com X-SENDER: cl@rock-chips.com X-LOGIN-NAME: cl@rock-chips.com X-FST-TO: linux-watchdog@vger.kernel.org X-RCPT-COUNT: 30 X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 Cc: cl@rock-chips.com, heiko@sntech.de, robh+dt@kernel.org, jagan@amarulasolutions.com, wens@csie.org, uwe@kleine-koenig.org, mail@david-bauer.net, jbx6244@gmail.com, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, jensenhuang@friendlyarm.com, michael@amarulasolutions.com, cnsztl@gmail.com, devicetree@vger.kernel.org, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, linux-i2c@vger.kernel.org, jay.xu@rock-chips.com, shawn.lin@rock-chips.com, david.wu@rock-chips.com, zhangqing@rock-chips.com, huangtao@rock-chips.com, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org Subject: Re: [PATCH v2 6/7] arm64: dts: rockchip: add core dtsi for RK3568 SoC To: Marc Zyngier References: <20210425094216.25724-1-cl@rock-chips.com> <20210425094439.25895-1-cl@rock-chips.com> <87mttmslni.wl-maz@kernel.org> From: =?UTF-8?B?6ZmI5Lqu?= Message-ID: Date: Mon, 26 Apr 2021 17:21:33 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87mttmslni.wl-maz@kernel.org> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, ?? 2021/4/25 ????6:28, Marc Zyngier ะด??: > As I reviewed a previous version of this series, please have the > courtesy of cc'ing me on further revisions of this series. I am really sorry, i will add you to the cc list on further revisions. > > On Sun, 25 Apr 2021 10:44:39 +0100, > wrote: >> From: Liang Chen >> >> RK3568 is a high-performance and low power quad-core application processor >> designed for personal mobile internet device and AIoT equipments. This patch >> add basic core dtsi file for it. >> >> We use scmi_clk for cortex-a55 instead of standard ARMCLK, so that >> kernel/uboot/rtos can change cpu clk with the same code in ATF, and we will >> enalbe a special high-performacne PLL when high frequency is required. The >> smci_clk code is in ATF, and clkid for cpu is 0, as below: >> >> cpu0: cpu@0 { >> device_type = "cpu"; >> compatible = "arm,cortex-a55"; >> reg = <0x0 0x0>; >> clocks = <&scmi_clk 0>; >> }; >> >> Signed-off-by: Liang Chen >> --- >> .../boot/dts/rockchip/rk3568-pinctrl.dtsi | 3119 +++++++++++++++++ >> arch/arm64/boot/dts/rockchip/rk3568.dtsi | 812 +++++ >> 2 files changed, 3931 insertions(+) >> create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-pinctrl.dtsi >> create mode 100644 arch/arm64/boot/dts/rockchip/rk3568.dtsi > [...] > >> diff --git a/arch/arm64/boot/dts/rockchip/rk3568.dtsi b/arch/arm64/boot/dts/rockchip/rk3568.dtsi >> new file mode 100644 >> index 000000000000..66cb50218ca1 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi >> @@ -0,0 +1,812 @@ > [...] > >> + timer { >> + compatible = "arm,armv8-timer"; >> + interrupts = , >> + , >> + , >> + ; >> + arm,no-tick-in-suspend; > My questions on this property still stand [1]. Yes, rk3568 will lose the system counter in suspend mode, we must retrieve system time from RTC. rk3588 will fix this issue. > >> + }; >> + >> + xin24m: xin24m { >> + compatible = "fixed-clock"; >> + clock-frequency = <24000000>; >> + clock-output-names = "xin24m"; >> + #clock-cells = <0>; >> + }; >> + >> + xin32k: xin32k { >> + compatible = "fixed-clock"; >> + clock-frequency = <32768>; >> + clock-output-names = "xin32k"; >> + pinctrl-0 = <&clk32k_out0>; >> + pinctrl-names = "default"; >> + #clock-cells = <0>; >> + }; >> + >> + gic: interrupt-controller@fd400000 { >> + compatible = "arm,gic-v3"; >> + reg = <0x0 0xfd400000 0 0x10000>, /* GICD */ >> + <0x0 0xfd460000 0 0xc0000>; /* GICR */ >> + interrupts = ; >> + interrupt-controller; >> + #interrupt-cells = <3>; >> + #address-cells = <2>; >> + #size-cells = <2>; >> + ranges; > My request for a full description of the GICA region still stands [1]. Thanks, i will test MSIs with "mbi-alias", then add relative property in the next version. > > Thanks, > > M. > > [1] https://lore.kernel.org/r/87o8e2sm1u.wl-maz@kernel.org >