Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp661833pxy; Thu, 22 Apr 2021 10:24:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuoBRCWUi2x+Ej2w2ab/l6jPcuSC7lVPn1SKqEKHfYdHI/cMD3AswyBAQNF41I5wqPLsXT X-Received: by 2002:a17:903:18e:b029:ec:7e58:fbe1 with SMTP id z14-20020a170903018eb02900ec7e58fbe1mr4389823plg.70.1619112270467; Thu, 22 Apr 2021 10:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619112270; cv=none; d=google.com; s=arc-20160816; b=hhg794DLymGGpRZQh4g8jW997VaeLC8ah67hgcSgZM/al+f1AdWzviEQ8WojEzdqBY 3hXhZGhwhjIwYnuNwlV6zV5PQt0XT0lK3xrSGJq+sxQ0/53tKa86nRDJtmatmBFO7y7M MUZinkaLJdAgbWiknAhYT44KTB20eI4N2KpxUR9jwu/3eJ8h6We4OSpq+poOYCmq5gib kAykyXJnGVCEDOQDB7weCf4JjOOxjNsSKha64u8AWNgmLH6+4jyobUZHL1ZYqjF0OZ+F 2XhuLh28DcFh+6cIi0OsE2gh3nsM1moOVorfRWNCOOA+w1uwbyPMTW7AVmrYh0jcWtrg Z17Q== 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 :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=nzfZ8gMsrY+NNX5qBYPTsLDvEQubcJETHTIuR8PH0xY=; b=TcricXhpXB1/N7vJSkMnQPycMrhKXdzQ6o3OZJlbrP3fPZW+qanW0eFjdqktK59Zk9 qD/FWzpJcQbQ2qXdUDczl5Iq3eJi7CcYetwtsysrljRzgiYZYmewYq+3rQdtM/w3uSHI aUKBJzK9cJOCYUsUwfYPWCt9h8fQwDWR7Psfv/YJOk1MIymTgjV9LZshFWPNJOplbuBA XZ4nTVneqJZMmm1sgmV4AA3S3HyYrd/XH0otF641M+aF14I/EDCeG7xu/8QgLkWy0oU6 fBaiBMFyILyJ8aSx3qdhjPDGUivR61rEzNgnq9sSgbxleduXT7rktIDetq7fd3txiuv3 /jPg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si3749797pgs.330.2021.04.22.10.24.16; Thu, 22 Apr 2021 10:24:30 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236686AbhDVRYE (ORCPT + 99 others); Thu, 22 Apr 2021 13:24:04 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:54176 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236287AbhDVRYD (ORCPT ); Thu, 22 Apr 2021 13:24:03 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 3EF8B1F4361F Message-ID: <7d1f197d868ae84a8bc475f1f48178d2737518c1.camel@collabora.com> Subject: Re: [PATCH v1 4/5] arm64: dts: rockchip: add core dtsi for RK3568 SoC From: Ezequiel Garcia To: Heiko =?ISO-8859-1?Q?St=FCbner?= , cl@rock-chips.com Cc: 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, kever.yang@rock-chips.com Date: Thu, 22 Apr 2021 14:23:15 -0300 In-Reply-To: <11131098.F0gNSz5aLb@diego> References: <20210421065921.23917-1-cl@rock-chips.com> <20210421065921.23917-5-cl@rock-chips.com> <11131098.F0gNSz5aLb@diego> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.2-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Liang, I'm very impressed Rockchip is pushing patches so early, thanks a lot! See below. On Wed, 2021-04-21 at 11:13 +0200, Heiko Stübner wrote: > Hi Liang, > > Am Mittwoch, 21. April 2021, 08:59:20 CEST schrieb cl@rock-chips.com: > > 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. > > > > Signed-off-by: Liang Chen > > this is a first round of basic stuff :-) . > > First of all, I really like the move of moving the pretty standardized > pinconfig entries to the rockchip-pinconf.dtsi . > > (1) But please move this into a separate patch to make that more visible > and maybe even convert _some_ or all arm64 Rockchip socs to use that > as well > > "arm64: dts: rockchip: add generic pinconfig settings used by most Rockchip socs > > The pinconfig settings for Rockchip SoCs are pretty similar on all socs, > so move them to a shared dtsi to be included, instead of redefining them > for each soc" > > (2) I also like the external rk3568-pinctrl approach with the dtsi getting > auto-generated. This will probably help us in keeping pinctrl settings > synchronous between mainline and the vendor kernel. > > (3) From my basic understanding the rk3568 is basically a rk3566 + more > peripherals, so ideally they would share the basic ones in a rk3566.dtsi > which the rk3568.dtsi then could include and extend with its additional > peripherals. > > With at least the pine64 boards being based on the rk3566, there probably > will be quite a mainline use of it as well. > > Or is there something that would prevent this? > I agree with having a rk3566.dtsi, and rk3568.dtsi on top, instead of the other way around. We have some RK3566 boards here, so we can surely test the RK3566.dtsi patches very quickly. Also, it's fine if you want to send v2 with just these minimal peripherals. However, I think you could include GMAC and TS-ADC: https://lore.kernel.org/linux-rockchip/31c2e531-96d0-a1c1-644c-28c60eb40cf4@gmail.com/T/#t https://lore.kernel.org/linux-rockchip/20210421203409.40717-1-ezequiel@collabora.com/T/#t These should work right out of the box! Thanks! Ezequiel