Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1562673yba; Sat, 6 Apr 2019 16:16:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmhdinRsI1nVkeDzdg3jXDBv2ny6NrEvE/vhSFzxV/AAdTNQ2fy97WkkLDXvm+hlS47fVY X-Received: by 2002:a62:6842:: with SMTP id d63mr21654431pfc.9.1554592600057; Sat, 06 Apr 2019 16:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554592600; cv=none; d=google.com; s=arc-20160816; b=MS1jrcEYx+nv7uvoGXPtbIoza2Lwn1m6KM3msWSdN40U041yuoDx5w/c06gre+/Lcy ZOqNceQW8cnAex7TnlcWPfhvK5ksRQkODUr6pnGs1W2YX5LBQ9u4Eqgu0V7lmfANLon2 6kcFeMUUX1wKT8reF7iIkXXsxlfLmVsiRvOLd7PThsQpUdA2MGUubsS6QOfGUCDv5DNS wwOstc9sP7B8FSahme495DGVVJJZmH6GUbdeMvkZ6gFF1gL8v5mU2UKXliSF8dj3gTpQ mUVxYpbkHRhYLhk6+wBFkw/Gz52+3UMN7jJlhaD3A184F87hxJZYvlI076PZrfEW7sPT 3qMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=frF4c8dwjqAtQm7fNwHrFIJU5kbbeArN1OCV7ETeQ+A=; b=VdE6XXhWt8iLhc4+7xCsOeUYBj8NbzRvsmqFzgBOzpYfK22jFC4bLyEnEQzR8tg3lI 27ikxE/TNVDlJk2sAbWVGWAop8nxyHYDJ95OYXSSFQmrNNhfdJkFBWBYGXUCxCG9qrNa WPAPjnBcEKsBVILSvxLJXk0XAWXq54HKWwPmB7MUc1Ew1KPL/uqOnjM8u+hcinL2RWIr hwBBWOU5FWa4UKLovsYzuGplRVwbC3mBvZPo0iobRNAKq1KOW6Pq7xugsa8/3vSpdSqM hgegFDGfgDz6FYXCwq9ks5F0ur5tcmWg9HO7TXSnFvf901Wsy9V7qlvax3Jv0uGH2Iyd /9Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=N0n5AeeB; 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 h187si8830318pgc.287.2019.04.06.16.16.23; Sat, 06 Apr 2019 16:16:40 -0700 (PDT) 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; dkim=pass header.i=@sifive.com header.s=google header.b=N0n5AeeB; 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 S1726512AbfDFXOf (ORCPT + 99 others); Sat, 6 Apr 2019 19:14:35 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:35257 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbfDFXOf (ORCPT ); Sat, 6 Apr 2019 19:14:35 -0400 Received: by mail-pf1-f196.google.com with SMTP id t21so3034870pfh.2 for ; Sat, 06 Apr 2019 16:14:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=frF4c8dwjqAtQm7fNwHrFIJU5kbbeArN1OCV7ETeQ+A=; b=N0n5AeeBuyZPmfGfR4IqRd2JgNdFPd3TBiW8TqLcNt1h5vrST8rVGoeSgx9M4PGCYs IOFifl0SCGXtoCemErLvpr08zc8LBcB1esrj0gzX497N8tn/lXlT/TP4QmCCce+3xynH m7vaQ8maDu3Q3C+JsCzVNBW4zT7EMlStDEVqGp4ndd99Hg69Xl0hxC4qrwz2i/q+pSRN k5kmy8hv7orsO+SQ3RPTlLE5cV+Wd0Rht96GMP0xCq7S2ur10ZzX0K0/p3KRTb6Pnce6 yLCAPp9+UyIOBzrPjk186+0V2nYL5wwvjB20/3Ac1cjFL/WxSucF0Rld+2Cpec2pEOwB cKEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=frF4c8dwjqAtQm7fNwHrFIJU5kbbeArN1OCV7ETeQ+A=; b=Ul61AJVw3Uenc5z3A0tiLtJGRX4SwFO7UtXqb534rnjpRz6gEv/t7KZNAxNPgfNfeA xjDD50j2S4JfIJl1KCBeCBvDop148jF+nARhBOgauxWA10C1iReGdr4amNwSi+weswYq HBEumvtl1Y2XtP+rBnSquaMXz/ZjfVjVKL6zL6mZigZvVi6r4/bXA4USJMUzHcGavnO+ Lr6bU36qEjsxiKzhV+5duuE/LjDLmv1n7S93+fcWb+Exkb0gz8DXF6U5wlNmmu+ryE4s im6SjTRnu+hekkoJ4wn22qw1x8cyppkjznI4ce/uirpnHXO7ExDZVFmtHuvaHG7m3RVN Mgwg== X-Gm-Message-State: APjAAAXUiOrfyx7+DXwMBorrF+YuXAPZvUm9fwgRZvYccSeJ2Yr3Ef97 qoVHyW0BeUuFB/YBj/FtSMofhw== X-Received: by 2002:aa7:9ab7:: with SMTP id x23mr1272048pfi.27.1554592474693; Sat, 06 Apr 2019 16:14:34 -0700 (PDT) Received: from localhost ([52.119.120.223]) by smtp.gmail.com with ESMTPSA id f15sm18564141pgf.18.2019.04.06.16.14.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 06 Apr 2019 16:14:33 -0700 (PDT) Date: Sat, 6 Apr 2019 16:14:32 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Rob Herring cc: Paul Walmsley , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Mark Rutland , Palmer Dabbelt , Albert Ou , devicetree@vger.kernel.org, Paul Walmsley Subject: Re: [PATCH 7/7] riscv: dts: add initial board data for the SiFive HiFive Unleashed In-Reply-To: <20181220212618.GA27359@bogus> Message-ID: References: <20181215052154.24347-1-paul.walmsley@sifive.com> <20181215052154.24347-8-paul.walmsley@sifive.com> <20181220212618.GA27359@bogus> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Dec 2018, Rob Herring wrote: > On Fri, Dec 14, 2018 at 09:21:54PM -0800, Paul Walmsley wrote: > > Add initial board data for the SiFive HiFive Unleashed A00. > > > > Currently the data populated in this DT file describes the board > > DRAM configuration and the external clock sources that supply the > > PRCI. ... > > diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00-fu540.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00-fu540.dts > > new file mode 100644 > > index 000000000000..0c6afabe69e3 > > --- /dev/null > > +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00-fu540.dts > > @@ -0,0 +1,39 @@ > > +// SPDX-License-Identifier: Apache-2.0 > > +// SPDX-License-Identifier: GPL-2.0-or-later > > This should be a single line with: (Apache-2.0 OR GPL-2.0+) Done. > > + model = "SiFive HiFive Unleashed A00 (FU540-C000)" > > + compatible = "sifive,hifive-unleashed-a00-fu540", > > + "sifive,hifive-unleashed-fu540"; > > SoC compatible should be here too. Done. > > + soc { > > + hfclk: hfclk { > > + #clock-cells = <0>; > > + compatible = "fixed-clock"; > > + clock-frequency = <33333333>; > > + clock-output-names = "hfclk"; > > + }; > > + rtcclk: rtcclk { > > + #clock-cells = <0>; > > + compatible = "fixed-clock"; > > + clock-frequency = <1000000>; > > + clock-output-names = "rtcclk"; > > + }; > > Are these the clock inputs to the SoC or dummy clocks until you write a > proper clock driver? If the former, they should be at the top level. Done. Thanks for your comments; Will send an updated patch set. - Paul