Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp568815ybh; Tue, 21 Jul 2020 02:26:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZcRElqu6GG9xdMcCEMl75XhWH/RIeR7gTncKLwMllHoWdnWO2F8K+X1PgTcIHUHF8arkm X-Received: by 2002:a17:906:dc12:: with SMTP id yy18mr23000776ejb.295.1595323586351; Tue, 21 Jul 2020 02:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595323586; cv=none; d=google.com; s=arc-20160816; b=UpcQQFrdCrdDvXouaByksUnyZMYjSlNLpjjIFAai9XZyIfo9TIs8Q2ZiF5xm1WKABh X18fLsOjdFo1v7DpnG8QvhrbXjPIuvzylrR9gKf4Eccn7RHKDPAfb4d+jLzs/VFDpoXP sEmOO2VbqoDmOWJSGTSbKvApoI/LngCvibWxdeBu8XMlHthPPK9Wsu/AzymgnB66TUZL xPiDVwvh6Lw6SH0vU+EtWgNUDVbtFdFY+opIuACvCe9bGObVR+ULrDjUPufGHSxK5ASQ 12sVIKBSNv6Zz9a57sT2XoYohjs2Tf0GQY9Ed/eM7edo++nsLp+Uc5YqUm2Ay9LucXE6 9PXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Ze6lJWvJHZbmrt8N27YOntoBu13Av/K4oTVWvmf42EM=; b=LIp9cB2UbbnRUPcH3PrsxkC1/2BhXU5Gi1giITc69DTc1PJeq13RGYELaqRbWpA+Ev lKyD4tJ21k3jo/Gloy2uW2l7sY8Di9dEydin8D2ujG28Geh3ZRMdgIUZxIWZvksPuqN8 Cvq40Tb+iU9YH0CXryTfcE1VzF7ZdOob/RT4SLngy2LIBRXYPguE85fnJwIXcgXC14MD elrH0bvpDHmfnwrZWHqNZDSVxM51TFgW+ANnWm69Wv8F3rcRM+04EY5m35+sR+Fne2IX rHQqcQPsRVnt+/JIWrj7qK02AF/qhxSlUJihrGz1zAkYf6+55jHItXDXgZxUe8EHbkse jTsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Sg0rQeFU; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o21si11583437ejg.550.2020.07.21.02.26.03; Tue, 21 Jul 2020 02:26:26 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Sg0rQeFU; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728934AbgGUJZM (ORCPT + 99 others); Tue, 21 Jul 2020 05:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgGUJZL (ORCPT ); Tue, 21 Jul 2020 05:25:11 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6609FC061794; Tue, 21 Jul 2020 02:25:11 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id x9so23289454ljc.5; Tue, 21 Jul 2020 02:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ze6lJWvJHZbmrt8N27YOntoBu13Av/K4oTVWvmf42EM=; b=Sg0rQeFUrG/1Joo1uXLswuZgL8HlliGcFZBnS7LPFBO0yiQa6vpYGNpyG1QVcQ4gjo eVUJva/qdPy31j6nav5crh4VtOaDJdkCm5Q8G/eT8G5Y3ehbfx7cGBi/jSJXZm5FMYjT XtiyGdwDLA+4nEc7zf+GLmrwEfRtIvSgMi+tktHNmpafTUy7PHes4Z73wLY4o2Oqw9X5 6UaogLOr9+pp0xHgZ/kUxwoDTR34U3PLocaYUDw7JVhaUXcjcmtQYpCpst/m+f23g3TE 7tuTllKB2WGle9AHQLNJaZmBA3KPtyPLUiszU0gyA28I79yFWXc6gs4Te4ybM8ZxxhH2 rULA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ze6lJWvJHZbmrt8N27YOntoBu13Av/K4oTVWvmf42EM=; b=bqEIb0EtCZ3I8di3vGXZtATBIBUA4MVAPfTtsazFpBXXyCvm6JILS3jMLsTrJyZPFD zcKu0DEDQTDiNna0rNRJvKgMA1wQWbSMho1E0dmNv9z6zMP5fGtEvUpy54K02JzwTcKU mNgWvB17iWy+6QBPY1u5bc03kO3TF+T2GkqxC1eBsA/ZoHevqE08LLy5ZBzWi3MuhRfA 2a5x4w2lJ96sb09IYa0Quzii0G9L3cgEaoMzEWUhMAaQGioMebqFW9zrZ9qWms1kkAXz ecQ5dYxBKVmz/EbAgbKg4LcPkHqqsoqKJS/kr0txUV5v+lld8akl6TIJPxC9uO+nAQLg 0GKA== X-Gm-Message-State: AOAM533rHaO8B7GUkRHK96sunq3kiStlKvX3JQgVOrW7nsSet8RDaKd5 Hry1bhhOpjX+0Sl3FkKSdS4mDee5LlraxI/BCwI= X-Received: by 2002:a2e:3602:: with SMTP id d2mr12878639lja.152.1595323509227; Tue, 21 Jul 2020 02:25:09 -0700 (PDT) MIME-Version: 1.0 References: <20200719141034.8403-1-christianshewitt@gmail.com> <20200719141034.8403-4-christianshewitt@gmail.com> <90da2697-9dcc-1d75-eded-bf4bdc4b594b@baylibre.com> In-Reply-To: From: Dongjin Kim Date: Tue, 21 Jul 2020 18:24:57 +0900 Message-ID: Subject: Re: [PATCH 3/3] arm64: dts: meson: add support for the ODROID-N2+ To: Neil Armstrong Cc: Christian Hewitt , Rob Herring , Mark Rutland , Kevin Hilman , "devicetree@vger.kernel.org" , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, "linux-kernel@vger.kernel.org" , Dongjin Kim 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 Can we use "Hardkernel ODROID-N2Plus" instead of "Hardkernel ODROID-N2+"? Thanks, Dongjin. On Tue, Jul 21, 2020 at 5:24 PM Neil Armstrong wrote: > > On 21/07/2020 10:10, Neil Armstrong wrote: > > On 19/07/2020 16:10, Christian Hewitt wrote: > >> HardKernel ODROID-N2+ uses an Amlogic S922X rev. C chip capable of higher > >> clock speeds than the original ODROID-N2. Hardkernel supports the big cpu > >> cluster at 2.4GHz and the little cpu cluster at 2.0GHz. Opp points and > >> regulator changess are from the HardKernel Linux kernel sources. > >> > >> Suggested-by: Dongjin Kim > >> Signed-off-by: Christian Hewitt > >> --- > >> arch/arm64/boot/dts/amlogic/Makefile | 1 + > >> .../dts/amlogic/meson-g12b-odroid-n2-plus.dts | 53 +++++++++++++++++++ > >> 2 files changed, 54 insertions(+) > >> create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts > >> > >> diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile > >> index 5cac4d1d487d..6dc508b80133 100644 > >> --- a/arch/arm64/boot/dts/amlogic/Makefile > >> +++ b/arch/arm64/boot/dts/amlogic/Makefile > >> @@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking-pro.dtb > >> dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb > >> dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb > >> dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb > >> +dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2-plus.dtb > >> dtb-$(CONFIG_ARCH_MESON) += meson-g12b-ugoos-am6.dtb > >> dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-kii-pro.dtb > >> dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb > >> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts > >> new file mode 100644 > >> index 000000000000..99e96be509f8 > >> --- /dev/null > >> +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts > >> @@ -0,0 +1,53 @@ > >> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > >> +/* > >> + * Copyright (c) 2019 BayLibre, SAS > >> + * Author: Neil Armstrong > >> + */ > >> + > >> +/dts-v1/; > >> + > >> +#include "meson-g12b-odroid-n2.dtsi" > >> + > >> +/ { > >> + compatible = "hardkernel,odroid-n2-plus", "amlogic,s922x", "amlogic,g12b"; > >> + model = "Hardkernel ODROID-N2+"; > >> + > >> + vddcpu_a: regulator-vddcpu-a { > >> + regulator-min-microvolt = <680000>; > >> + regulator-max-microvolt = <1040000>; > >> + > >> + pwms = <&pwm_ab 0 1500 0>; > >> + }; > >> + > >> + vddcpu_b: regulator-vddcpu-b { > >> + regulator-min-microvolt = <680000>; > >> + regulator-max-microvolt = <1040000>; > >> + > >> + pwms = <&pwm_AO_cd 1 1500 0>; > >> + }; > >> + > >> + cpu_opp_table_0: opp-table-0 { > >> + opp-1908000000 { > >> + opp-hz = /bits/ 64 <1908000000>; > >> + opp-microvolt = <1030000>; > >> + }; > >> + > >> + opp-2016000000 { > >> + opp-hz = /bits/ 64 <2016000000>; > >> + opp-microvolt = <1040000>; > >> + }; > >> + }; > >> + > >> + cpub_opp_table_1: opp-table-1 { > >> + opp-2304000000 { > >> + opp-hz = /bits/ 64 <2304000000>; > >> + opp-microvolt = <1030000>; > >> + }; > >> + > >> + opp-2400000000 { > >> + opp-hz = /bits/ 64 <2400000000>; > >> + opp-microvolt = <1040000>; > >> + }; > >> + }; > >> +}; > >> + > >> > > Reviewed-by: Neil Armstrong > > > > Wait no, it should be: > > / { > compatible = "hardkernel,odroid-n2-plus", "amlogic,s922x", "amlogic,g12b"; > model = "Hardkernel ODROID-N2+"; > }; > > &vddcpu_a { > regulator-min-microvolt = <680000>; > regulator-max-microvolt = <1040000>; > > pwms = <&pwm_ab 0 1500 0>; > }; > > &vddcpu_b { > regulator-min-microvolt = <680000>; > regulator-max-microvolt = <1040000>; > > pwms = <&pwm_AO_cd 1 1500 0>; > }; > > &cpu_opp_table_0 { > opp-1908000000 { > opp-hz = /bits/ 64 <1908000000>; > opp-microvolt = <1030000>; > }; > > opp-2016000000 { > opp-hz = /bits/ 64 <2016000000>; > opp-microvolt = <1040000>; > }; > }; > > &cpub_opp_table_1 { > opp-2304000000 { > opp-hz = /bits/ 64 <2304000000>; > opp-microvolt = <1030000>; > }; > > opp-2400000000 { > opp-hz = /bits/ 64 <2400000000>; > opp-microvolt = <1040000>; > }; > }; > > Neil > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel