Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6928029ybi; Wed, 5 Jun 2019 08:29:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVxcNCihcp1xnrSeu5YeNTg/t4A2AJo3tHKhNqYJUWYOYQRnyuv02pzj9PLscfT3gx0NBZ X-Received: by 2002:a65:64d5:: with SMTP id t21mr5383556pgv.310.1559748547605; Wed, 05 Jun 2019 08:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559748547; cv=none; d=google.com; s=arc-20160816; b=x1p+CJ/lRVYDZrHQfyUJoSFKaxp63H7+4hr7JjZ2nYU+kh88qNhLyH1mOO3PZ1Z5ta XqO0e4KXJQWW+gtNDj2T0GAeM86V2j/+FiOIV6r9B/FhJUsj1pwkVOZdYO/qCc5eB1d/ aw1e2D5Mf8QKrhvD0EIo0rNt6SwLnepSTw+uY4HNBaK+mNisKm+NuQHi/w1NzLH749KA slz3GHGK3PNlEX6mBTUikdRJjF5t6FpOQSbKu3QNBJhoDyvoRLyJSbmJu8oKNcchPH7+ h8mDd1iIohg/uEWKlTDPXqeRvY3I9TEW+7+pYrSOFdyJdcuuAS6aeHiVlZIhcGO7VGzh x++Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=bL2F5Kk1z37B/CBGiBHXHDAe9BGsJSubIxd5oJ6N+xU=; b=e2dFRuxl47EUEkXIOmORrZyVOBuCVS4NWOJnoUSYkiA1NTfLHMy/eL8ysDTZP7KAWh 1MpodzhnXXAkUQIXOtyGJZJ1a9Pxo/Jkp+2JTamL8LcWngcDjcX5tSE09Z4MCUmG+Yv2 19N+qwxr0tUIZcH9Vx1u5VZx9wTuW7JT54SFI/UziWLBDb3ylxXjES36DpYkFUnkV9oG PfdE3Zh8Ft0csTOeZ4yIm2NrQrl/bC5oDh6zJCpBXcAzwp7QU+ZpZxSjbRTt1kqw9vD0 pX9qFpFLrr6Zb+DJlKlAquqH1XKoFvhbAowMoxfUxg/XP7Ah/mnpY6CnE4S2xpRfv3oe p5Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JnC5PSzF; 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 j12si11115192pgc.573.2019.06.05.08.28.48; Wed, 05 Jun 2019 08:29:07 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JnC5PSzF; 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 S1728269AbfFEP1a (ORCPT + 99 others); Wed, 5 Jun 2019 11:27:30 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:39950 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728032AbfFEP1a (ORCPT ); Wed, 5 Jun 2019 11:27:30 -0400 Received: by mail-pf1-f196.google.com with SMTP id u17so15036478pfn.7 for ; Wed, 05 Jun 2019 08:27:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=bL2F5Kk1z37B/CBGiBHXHDAe9BGsJSubIxd5oJ6N+xU=; b=JnC5PSzF0dpVQw69G+2XoZLocnP6x7N9rI2cPtusWE/fddvUWozGnzbtsHQ2aa8sEc 7+0hwpN5WyoALO0EsgvzKntrblkMdk0/sW12SHCR7LZ8K8nWV6dXF4D04VcDXdFkiaEs DeDPXmnOTqWiBMwAIc5QHaf1qxJWZKPOd4klLL55TrsDgbNPdpDgHZZNeykfn2x4qRM4 fFYSAEoqNusLd1hI7+7/sni8dz8hIFVhCU3trmdSIRGDT0w/lgpjvchYlnqu1xp+VC80 pSuouA8DqO+cclu+xPvSvbXH0tpMoihTHKnJPE6KzV0ls3lrGQjY7BBh6vCNP4V9Asce 9Myg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=bL2F5Kk1z37B/CBGiBHXHDAe9BGsJSubIxd5oJ6N+xU=; b=q/umv6ui9K1oKCVE/zmxYN2abgjk4honLrNq8gd5bovjj3OqWwiEr6kuF5I2qaRRJ4 ZaGM+H8/336dbVyL28txxfpJpZdpxw1GsTsBs50ymHeJlxGe2c6ehePXneLg8DJhSxc4 UhKZeHBc1Mn3NpezIVJhDc4UHc6dH5ZHd+0nyfxJR+BfLxmGFD3GhPjk2whgt97psUkc y7q7ogWrj1Dev3Y6Cie9ADlgsc95P6v9KkoTcsbG+OB6b4+nTMkNLBt1acqJBKyJJ2D1 Sfw7v4I4xYiG4J3+9jH6KggBG0xLLdH4iVyIg2dOmBq5KA1uawQHriNbQ+TzqMKVAoFJ NqKA== X-Gm-Message-State: APjAAAXHk8vBnJTlW0iiv5UgPgKbx4tl7Puoe8CT/EbXPFRvn63/7WXu S8vf1LW5OFn6uE6dsRFkPwWPsw== X-Received: by 2002:a65:484d:: with SMTP id i13mr5108450pgs.27.1559748448854; Wed, 05 Jun 2019 08:27:28 -0700 (PDT) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.googlemail.com with ESMTPSA id y10sm23446768pfm.68.2019.06.05.08.27.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jun 2019 08:27:27 -0700 (PDT) From: Kevin Hilman To: Neil Armstrong , Anand Moon Cc: Martin Blumenstingl , linux-amlogic@lists.infradead.org, Linux Kernel , linux-arm-kernel Subject: Re: [PATCH v5 3/3] arm64: dts: meson: Add minimal support for Odroid-N2 In-Reply-To: References: <20190603091008.2382-1-narmstrong@baylibre.com> <20190603091008.2382-4-narmstrong@baylibre.com> Date: Wed, 05 Jun 2019 08:27:27 -0700 Message-ID: <7hr288gihs.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Neil Armstrong writes: > On 03/06/2019 14:00, Anand Moon wrote: >> Hi Niel, >> >> On Mon, 3 Jun 2019 at 14:41, Neil Armstrong wrote: >>> >>> This patch adds basic support for : >>> - Amlogic G12B, which is very similar to G12A >>> - The HardKernel Odroid-N2 based on the S922X SoC >>> >>> The Amlogic G12B SoC is very similar with the G12A SoC, sharing >>> most of the features and architecture, but with these differences : >>> - The first CPU cluster only has 2xCortex-A53 instead of 4 >>> - G12B has a second cluster of 4xCortex-A73 >>> - Both cluster can achieve 2GHz instead of 1,8GHz for G12A >>> - CPU Clock architecture is difference, thus needing a different >>> compatible to handle this slight difference >>> - Supports a MIPI CSI input >>> - Embeds a Mali-G52 instead of a Mali-G31, but integration is the same >>> >>> Actual support is done in the same way as for the GXM support, including >>> the G12A dtsi and redefining the CPU clusters. >>> Unlike GXM, the first cluster is different, thus needing to remove >>> the last 2 cpu nodes of the first cluster. >>> >>> Signed-off-by: Neil Armstrong >>> Reviewed-by: Martin Blumenstingl >>> --- >>> arch/arm64/boot/dts/amlogic/Makefile | 1 + >>> .../boot/dts/amlogic/meson-g12b-odroid-n2.dts | 289 ++++++++++++++++++ >>> arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 82 +++++ >>> 3 files changed, 372 insertions(+) >>> create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts >>> create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b.dtsi >>> >>> diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile >>> index e129c03ced14..07b861fe5fa5 100644 >>> --- a/arch/arm64/boot/dts/amlogic/Makefile >>> +++ b/arch/arm64/boot/dts/amlogic/Makefile >>> @@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb >>> dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb >>> dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb >>> dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb >>> +dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb >>> dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb >>> dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb >>> dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb >>> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts >>> new file mode 100644 >>> index 000000000000..161d8f0ff4f3 >>> --- /dev/null >>> +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts >>> @@ -0,0 +1,289 @@ >>> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) >>> +/* >>> + * Copyright (c) 2019 BayLibre, SAS >>> + * Author: Neil Armstrong >>> + */ >>> + >>> +/dts-v1/; >>> + >>> +#include "meson-g12b.dtsi" >>> +#include >>> +#include >>> + >>> +/ { >>> + compatible = "hardkernel,odroid-n2", "amlogic,g12b"; >>> + model = "Hardkernel ODROID-N2"; >>> + >>> + aliases { >>> + serial0 = &uart_AO; >>> + ethernet0 = ðmac; >>> + }; >>> + > > [...] > >>> + >>> + main_12v: regulator-main_12v { >>> + compatible = "regulator-fixed"; >>> + regulator-name = "12V"; >>> + regulator-min-microvolt = <12000000>; >>> + regulator-max-microvolt = <12000000>; >>> + regulator-always-on; >>> + }; >>> + >>> + vcc_5v: regulator-vcc_5v { >>> + compatible = "regulator-fixed"; >>> + regulator-name = "5V"; >>> + regulator-min-microvolt = <5000000>; >>> + regulator-max-microvolt = <5000000>; >>> + regulator-always-on; >> >> As per odroid-n2_rev0.4_20190307 schematic its missing. >> vin-supply = <&main_12v>; >> >> With this please add my. >> Tested-by: Anand Moon > > Good catch, thanks Anand. > > @Kevin, should I resend ? No need, I've fixed it up locally, Thanks, Kevin