Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11378257ybi; Thu, 25 Jul 2019 15:20:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqztlYu0dCeSUCZpvh+v6wYKT54cpvLA0aMQ3XGW1EJ0MIthcWnrQavACjqGpJc50FrxUGb4 X-Received: by 2002:a17:902:ba96:: with SMTP id k22mr95332552pls.44.1564093252911; Thu, 25 Jul 2019 15:20:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564093252; cv=none; d=google.com; s=arc-20160816; b=gxqKIzyurrSzRyDHTAYmzQns7SqMR/K+ILzDW7EnWz1Sz4eROSdoj1C653lj+Bh99V PCaENy/87wWTdpRk/pZJklRwSl4u5n9jhncmzrXKffAMBX9lfg443W+2z+qNsYRu7gxx ogLBirQJZeYYDl/DhP4QLPWVvJh1fTIlGmT9SBvzvC/wBq2dve0jA78RU0sz4GNAqaqW zO5FBkIWDgRpUBtTW2AvMpmceBQF9yhA41ZHjr8FGPtv4Bv8kPmn0TbuK3Z4KI3yYshY zbVw80uJ3SOp7Velb+V0XtdxNEpPMGhoaJVomA1ncEvEYaFtpC/iq6JPQkkjM7Ya1g/c C+pw== 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; bh=D1RCW0YMd9fCPSZPhHXjDgy72qXEqgM0Ulyp0BXcbFA=; b=qPTWZBYP5h111bbiYW8FFHLLc4yIdVnrm+pt3pGsKbj5f/22nSNa1XzzFn6dMWwPSa RgpNixGviHSUrhunmVP33yWmFoc/2pOMjdcMK8MHsDI0AbhfdP8PWDOiCPVZv0AMRdnH N7/qOrH0LGnt+6j64dmRVs00jOdtgB48uR1BhvbygCsQc9rvmttYM8fboxTuAA69qFpI hQea6Yrtyo7Y2BVBfznJ50h9od8ws+2dQQrwwrEZa9kVzYjuOdPlPVrSilv75O2DrHxA mNSIS/SCR/C+LbottHoLnZ0qgOkx39WhR+5RqlZtI22K6WV0McNiS5fAR5h4TjiG1qY0 /VxA== 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 j8si17394113plt.303.2019.07.25.15.20.37; Thu, 25 Jul 2019 15:20:52 -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; 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 S1727260AbfGYWTk (ORCPT + 99 others); Thu, 25 Jul 2019 18:19:40 -0400 Received: from gloria.sntech.de ([185.11.138.130]:40234 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727232AbfGYWTk (ORCPT ); Thu, 25 Jul 2019 18:19:40 -0400 Received: from d57e23da.static.ziggozakelijk.nl ([213.126.35.218] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqm5F-0002LK-D0; Fri, 26 Jul 2019 00:19:33 +0200 From: Heiko Stuebner To: Justin Swartz Cc: Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH] ARM: dts: add device tree for Mecer Xtreme Mini S6 Date: Fri, 26 Jul 2019 00:19:32 +0200 Message-ID: <1618985.EOrKlNyPW4@phil> In-Reply-To: <20190616204746.21001-1-justin.swartz@risingedge.co.za> References: <20190616204746.21001-1-justin.swartz@risingedge.co.za> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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 Hi Justin, Am Sonntag, 16. Juni 2019, 22:47:45 CEST schrieb Justin Swartz: > The Mecer Xtreme Mini S6 features a Rockchip RK3229 SoC, > 1GB DDR3 RAM, 8GB eMMC, MicroSD port, 10/100Mbps Ethernet, > Realtek 8723BS WLAN module, 2 x USB 2.0 ports, HDMI output, > and S/PDIF output. > > Signed-off-by: Justin Swartz > --- please add an entry to Documentation/devicetree/bindings/arm/rockchip.yaml for your board and if necessary also a vendor-prefix to Documentation/devicetree/bindings/vendor-prefixes.(yaml?) See below. > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/rk3229-xms6.dts | 286 ++++++++++++++++++++++++++++++++++++++ > 2 files changed, 287 insertions(+) > create mode 100644 arch/arm/boot/dts/rk3229-xms6.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index dab2914fa293..6fbd7c304f62 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -902,6 +902,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ > rk3188-radxarock.dtb \ > rk3228-evb.dtb \ > rk3229-evb.dtb \ > + rk3229-xms6.dtb \ > rk3288-evb-act8846.dtb \ > rk3288-evb-rk808.dtb \ > rk3288-fennec.dtb \ > diff --git a/arch/arm/boot/dts/rk3229-xms6.dts b/arch/arm/boot/dts/rk3229-xms6.dts > new file mode 100644 > index 000000000000..9b666fa66292 > --- /dev/null > +++ b/arch/arm/boot/dts/rk3229-xms6.dts > @@ -0,0 +1,286 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > + > +/dts-v1/; > + > +#include > +#include "rk3229.dtsi" > + > +/ { > + model = "Rockchip RK3229 (Mecer Xtreme Mini S6)"; > + compatible = "rockchip,rk3229-xms6", "rockchip,rk3229"; mode = "Mecer Xtreme Mini S6"; compatible = "mecer,xms6", "rockchip,rk3229"; (and as written above, add a vendor-prefix for mecer) ... > +&cpu0 { > + clock-frequency = <1464000000>; not sure I understand the reasoning here. There seems to be a regulator defined, so the cpu cores should have operating points defined to allow them to switch between different frequencies as needed. > + cpu-supply = <&vdd_arm>; > +}; > + > +&cpu1 { > + clock-frequency = <1464000000>; > + cpu-supply = <&vdd_arm>; > +}; > + > +&cpu2 { > + clock-frequency = <1464000000>; > + cpu-supply = <&vdd_arm>; > +}; > + > +&cpu3 { > + clock-frequency = <1464000000>; > + cpu-supply = <&vdd_arm>; > +}; > + > +&vop { please sort the &node-references alphabetically. Heiko