Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3909274ybi; Mon, 3 Jun 2019 02:20:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGGItLiPL5f3NxhIR1+CRAdQJ2BlOhQ7dY2BZxXroSD1Q53aIIpsXugLHUKHZKgPKWkaiI X-Received: by 2002:a63:18e:: with SMTP id 136mr26803579pgb.277.1559553621095; Mon, 03 Jun 2019 02:20:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559553621; cv=none; d=google.com; s=arc-20160816; b=iUsQAkkKsLU7GUEN5uybYys5ca8YGvK0+65+RsotzzwvQUJYyzmCIcm0ywEG7Eq9P5 c1hxlK4UiViT9/VIsIVx9UkZiQP8vTSnDm2NdpQS/CnG02t2PxrMEFlQ02ti1ZU6DVSV kdiiBKbKgoaIRPYzeV+hp/wNg4AHhwmf6sLmLAjXlSUgUk6oOdC+K4UoQXGo5MfA7t3Y PIhnnhjNVc0B1oY/ltIQVR0oy5ei07+vHlqLAEzCGAppigx7LziLdaT/93ABVVcRtDu1 HElCDJOn6p9U0A3ORaA8f6zlclL76oLM/aTrmLCgJBtynnm4QZMZOuS9QfOdi7Za54te Wzcw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nQvczT9rgRgEoiOd9jOJm49nuBwwy90Cz49p7tEEfqk=; b=DYluNUmrEYpvV+daNruZLsrXf6JU6z+SFGmA2lkGOfyHBJzD8fOFgZlwhBuSpyyEDz i+mjnkDihO+tx2dGr8V9PRGiR5146ByU3Yc6GXUItyyKMezTWsl4XvLy9wcwIj5pF6YL GNzcxzBHX7Rxm+oiz3Mnb9S11DISM280i87nR+PaanFSeklI1keqrIVmdZqHjBuniGH8 W8j5ijIz8LSqEVhFVcnxQBXQ6pVVHM0Oxv1w/1kkXovtSqoeStRw6a1NG3TtZRTdUA5o hOhQuZjOd7bU/bK/+8ZSWMl/ynu27zmngrha4rcThSgoptfs8CRVYarkC28IxDk1hqMR UzKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=iz3NBvtv; 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 n9si19063505pff.14.2019.06.03.02.20.05; Mon, 03 Jun 2019 02:20:21 -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=iz3NBvtv; 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 S1728139AbfFCJK2 (ORCPT + 99 others); Mon, 3 Jun 2019 05:10:28 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37088 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728071AbfFCJKW (ORCPT ); Mon, 3 Jun 2019 05:10:22 -0400 Received: by mail-wm1-f68.google.com with SMTP id 22so1948367wmg.2 for ; Mon, 03 Jun 2019 02:10:21 -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:date:message-id:mime-version :content-transfer-encoding; bh=nQvczT9rgRgEoiOd9jOJm49nuBwwy90Cz49p7tEEfqk=; b=iz3NBvtvi6AeY1DsmYRuQyHSYP3gCHFihFbV9pM4ae0V95Lbk4fl4UbaaV6F5aqenS ba9PLk99CAS7dhepZLUIybSceHSPz7WW0POoDTjqg4beEA4ge0z60kqIWsrNlVLO4W22 gNKdvwAH+r7KuWWA6rWHAgHBPx/7UytDtmg4b+DCyIw1PEgzOdmHU0EAGIClTc/pwVHF rbXMw9dudAx/+mjfV0dQTs9YIFdQoFw5D4bUZSrHpBIMC2AsOVGcXyaTb5x+bvL9pdkR uA9BqN8/mbV+bS47/2pcjD0qtuBL8A0wb2VEpSMbqZiv3eMqyoPA8tIVquoFLBBMTwA6 xuow== 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:date:message-id:mime-version :content-transfer-encoding; bh=nQvczT9rgRgEoiOd9jOJm49nuBwwy90Cz49p7tEEfqk=; b=Ka0oJBjsbAV7ZLmY5ufThhZdlOUtEgO7QDNXKD+zcKvMBpVt8TKQPWP5Ikz8D00nps enJt/pjHfI9HKBfc0glZ1HkI6LWH1UCinZYEJb7SkPnACKviLuFKuIIvasDiicIA75FL gS0CRSOlYJXkVyfNOW9Afaaral/V8y3X94KtTpA6I3DLp7uw/vjDQG8qqX7w5ec+S2ED kGi1GiuZOu+YwkAkIKCrf4gdHIgobc5Ol0BPl+pFm0wpw6aJlzjRxpkM1ofHKw/058+w L7NhcwcZQs0FlnFHf/tNQge4RlsbjOrszg0C2V4wOPAD+G43GxF0TdtZyWRGvZO/mHmu rdsQ== X-Gm-Message-State: APjAAAXTlD2c/ksTjufDQRwYDgpBwwVGynHrtQ13ZYnjvvE1mLXfTWWm KRdtDMFG1o2YX94+vzFQ7o2qmQ== X-Received: by 2002:a1c:9602:: with SMTP id y2mr14245367wmd.115.1559553020661; Mon, 03 Jun 2019 02:10:20 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id e15sm10676809wme.0.2019.06.03.02.10.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Jun 2019 02:10:20 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/3] arm64: Add initial support for Odroid-N2 Date: Mon, 3 Jun 2019 11:10:05 +0200 Message-Id: <20190603091008.2382-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset 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. Dependencies : - Patch 1, 2 : YAML rewrite of amlogic.txt bindings at [7] - Patch 3 : None since clock + g12b bindings has been acked Changes since v4 at [9]: - Fix regulators for USB Host Changes since v3 at [8]: - Dropped arm,armv8 - Dropped eee disable, not needed in further tests - Add comments about where are connected the regulators pins - Moved the phy0 regulator to the usb vbus regulator Changes since v2 at [5]: - sent the clk patches in standalone at [6] - rewrote the bindings on top of the YAML rewrite at [7] - Added MMC, SDCard and Network support to Odroid-N2 Changes since v1 at [3]: - Renamed the g12b cpu clocks like g12a counterparts - Rebased clock patches on top of Guillaume's Temperature sensor Clock patches at [4] - Added AO-CEC-B support to N2 DTS Changes since RFC at [1]: - Added bindings review tags - Moved the fclk_div3 CRITICAL flags to the gate - Removed invalid CRITICAL flags on the cpu clocks [1] https://lkml.kernel.org/r/20190327103308.25058-1-narmstrong@baylibre.com [2] https://lkml.kernel.org/r/20190325145914.32391-1-narmstrong@baylibre.com [3] https://lkml.kernel.org/r/20190404150518.30337-1-narmstrong@baylibre.com [4] https://lkml.kernel.org/r/20190412100221.26740-1-glaroque@baylibre.com [5] https://lkml.kernel.org/r/20190423091503.10847-1-narmstrong@baylibre.com [6] https://lkml.kernel.org/r/20190521150130.31684-1-narmstrong@baylibre.com [7] https://lkml.kernel.org/r/20190517152723.28518-2-robh@kernel.org [8] https://lkml.kernel.org/r/20190521151952.2779-1-narmstrong@baylibre.com [9] https://lkml.kernel.org/r/20190527140206.30392-1-narmstrong@baylibre.com Neil Armstrong (3): dt-bindings: arm: amlogic: add G12B bindings dt-bindings: arm: amlogic: add Odroid-N2 binding arm64: dts: meson: Add minimal support for Odroid-N2 .../devicetree/bindings/arm/amlogic.yaml | 6 + 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 +++++ 4 files changed, 378 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 -- 2.21.0