Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1390604

Re: [PATCH v4 2/4] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Brian Norris <briannorris@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/4] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs
Date Fri, 29 Apr 2016 00:30:02 +0200
Message-ID <rt2BA-3kM-9@gated-at.bofh.it> (permalink)
References <rssy7-5VB-19@gated-at.bofh.it> <rsWFP-6n2-1@gated-at.bofh.it> <rsYRk-83-5@gated-at.bofh.it> <rt0T8-1Qs-13@gated-at.bofh.it>
X-Original-To Heiko Stübner <heiko@sntech.de>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=teIliamBzT9KPGj3wQ8h4XwwxwfpIsi+Dae8qspp1Z8=; b=U6FzIji5B7WznBAK7pOdNPIbbfbbDwzZlEsCp/bXaLd75wx9gU8ft3PWfVHDO+37Wy +jL3D3RSkHsSoTEtKcaxWnJNR/9h15TmVF/QQtKYQZ1pPCFF//1O8J9Ao49ae82up059 w3tmhlbnb29XeR/sgWWW40sznH3Ck+VYDOeGQ=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=teIliamBzT9KPGj3wQ8h4XwwxwfpIsi+Dae8qspp1Z8=; b=lCErsAFOfJWlwutXcKxBZP4zuDPzYy9qVUj4JUzZ7x4U/6vzADdBHKkc3YKJ544yR7 X4cMTUMuu+AcxT1O5Xe5HDjwsn32wCz/mbAQsU+ERAearTV/XZq5jacqQD7ELC6aTw5m adPz+MA56EtykE/0yPvp5FVamZQG3vFC3aZRiJsHQdTv/+/3jF7UAqaNRJK2N2OeBxf5 gvTpFx7d3d/5M6aHktnEoMjRobCiThwwBL88rRH2Afuj9/y3mDYQW0Oe8BEHM1oTaeCG eGacpq082dDgdY91WDfo14nBso4vXQ514a4UhooMtJCH8blq19ODCG/kS/DZ65KjL9ei kfHA==
X-Gm-Message-State AOPr4FWUopqftlfYSudukfcTOaNZ2sBS9oudGh/9Mf4R326972dPfhYdble0LygOcubGF6ny
X-Received by 10.98.10.20 with SMTP id s20mr24564857pfi.109.1461882501927; Thu, 28 Apr 2016 15:28:21 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 50
Organization linux.* mail to news gateway
X-Original-Cc mark.rutland@arm.com, huangtao@rock-chips.com, davidriley@chromium.org, linux-kernel@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, dianders@chromium.org, smbarber@chromium.org, lintao@rock-chips.com, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org, galak@codeaurora.org, jwerner@chromium.org, Jianqun Xu <jay.xu@rock-chips.com>, linux-arm-kernel@lists.infradead.org
X-Original-Date Thu, 28 Apr 2016 15:28:19 -0700
X-Original-Message-ID <20160428222819.GA98045@google.com>
X-Original-References <1461743693-10671-1-git-send-email-jay.xu@rock-chips.com> <20160428160353.GA95284@google.com> <20160428182938.GA3079@google.com> <2138015.GmMsjTUH7U@diego>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1390604

Show key headers only | View raw


On Thu, Apr 28, 2016 at 10:33:07PM +0200, Heiko Stuebner wrote:
> Am Donnerstag, 28. April 2016, 11:29:38 schrieb Brian Norris:
> > On Thu, Apr 28, 2016 at 09:03:53AM -0700, Brian Norris wrote:
> > > On Wed, Apr 27, 2016 at 03:54:51PM +0800, Jianqun Xu wrote:
> > > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> > > > b/arch/arm64/boot/dts/rockchip/rk3399.dtsi new file mode 100644
> > > > index 0000000..5a8a915
> > > > --- /dev/null
> > > > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> > > > @@ -0,0 +1,1022 @@
> > > 
> > > [...]
> > > 
> > > > +	sdhci: sdhci@fe330000 {
> > > > +		compatible = "rockchip,rk3399-sdhci-5.1", "arasan,sdhci-5.1";
> > > 
> > > Not to rain on the parade too much, as this is already applied, but is
> > > the "rockchip,rk3399-sdhci-5.1" string documented anywhere? I don't see
> > > it.
> 
> I don't think it is. I'm still not sure how those dangling (aka spare bindings 
> for later use) should be handled.
> 
> Their use is suggested by dt maintainers, to be able to handle ip-block quirks 
> later on without needing to touch the devicetree, but in this case spamming 
> the arasan dt-binding document with numerous of those compatible values also 
> feels wrong.

Hmm, good point. I was mostly tipped off by checkpatch when applying
locally, and I also didn't have any context for whether there were any
known quirks for rk3399 vs. the "standard" core. Given your comments, I
suppose it's fair to use without documenting it (do I get burned at the
stake for saying that?).

> > According to the latest binding for "arasan,sdhci-5.1", the "phy" and
> > "phy-names" properties are required. Fortunately, this device stays
> > "disabled" for now in your EVB DTS. But just FYI.
> 
> Thanks for catching this. As the patch was still local to my repository, I've 
> amended the commit and dropped the whole emmc block for now.

No problem.

> The emmc phy-binding just moved under the GRF (in 4.6-rc5 I think), so I guess 
> we should handle that whole thing in the next version, as we're nearing (or 
> are [nearly] over the armsoc cutoff already).

Sounds good. I'm already tracking/testing that modification.

Brian

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4 2/4] ARM64: dts: rockchip: add core dtsi file for  RK3399 SoCs Brian Norris <briannorris@chromium.org> - 2016-04-28 18:10 +0200
  Re: [PATCH v4 2/4] ARM64: dts: rockchip: add core dtsi file for  RK3399 SoCs Brian Norris <briannorris@chromium.org> - 2016-04-28 20:30 +0200
    Re: [PATCH v4 2/4] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs Heiko Stübner <heiko@sntech.de> - 2016-04-28 22:40 +0200
      Re: [PATCH v4 2/4] ARM64: dts: rockchip: add core dtsi file for  RK3399 SoCs Brian Norris <briannorris@chromium.org> - 2016-04-29 00:30 +0200

csiph-web