Received: by 10.223.176.46 with SMTP id f43csp731260wra; Wed, 24 Jan 2018 05:11:35 -0800 (PST) X-Google-Smtp-Source: AH8x226JYjFC6/SDpg/nbjLpTnCQeUoKbrija1fOtQF3LK4x3uJ2lG5S6lf0DsfiV2jJXXUKSOCP X-Received: by 10.99.126.89 with SMTP id o25mr4106682pgn.161.1516799495865; Wed, 24 Jan 2018 05:11:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516799495; cv=none; d=google.com; s=arc-20160816; b=Hw0uwr7dUu0h64DEDWOEknIYZRn6qx9RXmPIldHqFNUKTgAqiaADmfyCRArdD9cCBo GTdKB+MlecUdZ5k/FKQy2uebEvtGo/8uPSfa6BvMW3vnmT64pPZcZHdviidcDCb0Grq4 /oDG/VeIGemUuJDe5JqsipbwS+FK8H4rJjxovR4Ge6VIhwBk3SAUTjf8IuEZ9EfwCzj2 dkZU4pJj42ozUrWRtGxXWgV5ExmrBqV106vvSIyMio59qPPYUPTtL3gS88wCGCK8A7EH IZzrw6MXApPtLUmo5D7ySPCQ1Nj1SVr6QYN3aLeqC7iDKQlP/ffTJDVn1gSghb7lz60P 6iaQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ODcYGwSgkEpUFzusDguh/PmYk0W5iZX9SJc2Ykcq3eo=; b=W+Fo9td1Ihl9aX9DVpNGgQF2g5o1LOJ4fM0cMpR7+CpM/JJL6VrWzZWpHjdEdlmESV nD15QUDpyjFIzVXdYGJzJOLkmCumFiNKbTp36JkD1TkmhbWXf6sAscDZfLeKUkH7G/qE 9iTcxrbE7spCtEVK8ibfFSsvdAtJkneK9t0Mp3zwtSQO6uIMpaeEIMDNTBaoUEQ6LQdK 1tphQ9EPlagxfB3hnQis8g5BqlEc7/oWt964I36Wax02Gx5BcpE69+hWwABGPP0pS7BX +2QzidYkTTKDeX/6XwNOnGsddAa6GFPtiLonbuBg78WVRydLuoec609EDQ5EzkSpB9+5 zRoA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si2892235pfd.399.2018.01.24.05.11.21; Wed, 24 Jan 2018 05:11:35 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933669AbeAXNKz convert rfc822-to-8bit (ORCPT + 99 others); Wed, 24 Jan 2018 08:10:55 -0500 Received: from hermes.aosc.io ([199.195.250.187]:40858 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933305AbeAXNKx (ORCPT ); Wed, 24 Jan 2018 08:10:53 -0500 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 68AF255CB9; Wed, 24 Jan 2018 13:10:50 +0000 (UTC) From: Icenowy Zheng To: linux-arm-kernel@lists.infradead.org Cc: Maxime Ripard , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, Marc Zyngier , Linus Walleij , Daniel Lezcano , Russell King , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Chen-Yu Tsai , linux-clk@vger.kernel.org Subject: Re: [RFC PATCH 0/9] initial support for "suniv" Allwinner new ARM9 SoC Date: Wed, 24 Jan 2018 21:10:34 +0800 Message-ID: <14593819.uISRktVE4V@ice-x220i> In-Reply-To: <20180122121435.bpayxk4uzfqbhqse@flea.lan> References: <20180119231735.61504-1-icenowy@aosc.io> <20180122121435.bpayxk4uzfqbhqse@flea.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2018年1月22日星期一 CST 下午8:14:35,Maxime Ripard 写道: > On Sat, Jan 20, 2018 at 07:17:26AM +0800, Icenowy Zheng wrote: > > This is the RFC initial patchset for the "new" Allwinner SUNIV ARM9 SoC. > > > > The same die is packaged differently, come with different co-packaged > > DRAM or shipped with different SDK; and then made many model names: F23, > > F25, F1C100A, F1C100S, F1C200S, F1C500, F1C600, R6, etc. These SoCs all > > share a common feature set and are packaged similarly (eLQFP128 for SoCs > > without co-packaged DRAM, QFN88 for with DRAM). As their's no > > functionality hidden on the QFN88 models (except DRAM interface not > > exported), it's not clever to differentiate them. So I will use suniv as > > common name of all these SoCs. > > Where is that suniv prefix coming from? The BSP (Melis and Linux). (e.g. "libs/suniv" directory of the Melis SDK and "arch/arm/boot/dts/sunivw1p1.dtsi" in the Linux SDK) > > And you need to have a SoC in all your compatibles. This isn't about > being clever or not, this is just a matter of being able to accurately > read in a crystal ball. Or maybe it's just the same, in which case, > I'd really like to have a course :) Okay. I will choose to use f1c100s in my next patchset, as it's where it's developed. (Although I mainly refered F1C600 BSP and document) > > You should really answer two questions here: > - Are you able to predict whether you'll find an SoC part of that > family in the future that derives a bit and will need a compatible > of its own? > - Are you able to predict which quirks we'll need along the way to > support all the SoCs you've listed there? > > If you can't answer yes to both these questions, with a 100% > certainty, then you'll need a SoC name in the compatible. > > Which doesn't prevent you from sharing as much as possible the DT like > we did between the A10s and the A13 for example. So the suniv-f1c100s.dtsi will still be kept empty and all peripherals known should go through suniv.dtsi. > > Maxime