Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3848811ybi; Mon, 27 May 2019 07:05:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLhBHLn4d3XiatxY4gZK/tzGXmIeXygDJ0tgdXVNa2WVoh8d8WzQqTsur4/64s7Lczb7PN X-Received: by 2002:a63:f509:: with SMTP id w9mr24776090pgh.134.1558965920877; Mon, 27 May 2019 07:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558965920; cv=none; d=google.com; s=arc-20160816; b=0paizKcbZrNu/F7++fw/oeaZ/Z+2Bt0AlAznGs3Wf830Z43+QwbrYNwX44vDPdAZOR 4W3IO6Sq9RGLeNZdn86d9C18SQck/0mLobT00Z8HgIzO5tsQVXK7Ufx3lcPOMK/g3BVg SEXPqXw1seLBWMlnzlGU3nCnj9m7y6pknsKz6f9ThgYvUWgsOaWv7K9CdsC03zmCpWYj bvVjdKSr6QmkOWpyXJtb0HDvLV4dT+sSac83Y16JSg0uU6OuY2t1oTb9gbMQsi1M4y3/ 9/SEoB6Hb9Lp8qFef1q8zg6aAjkNXeFZIwIFTCyw6uL1P1bs3dJFyNavj7jhJOYTIwf0 kHXw== 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=/uTBfIzkKswT7Ff1/QE2n2AouJ/Ougb4/VDEgUdIRqs=; b=C+PDvpYjwWsA3IfmtJI8PY8IIcSVXHzWA9Wz4XEkPxn3K98gK02AdaRE30uPsHYZVP QdchLBlp4Somi1WsmIiHY/VS8yF6lOu5l9K4wJNvNa+1J6yuHWgoQulc2Hj+CL9sPHvt XFFHAhw7srZOkdHlwXqXA+4+LupQHRitsQgp87BSqjNeHdJ2SFhkMjgLsA9kGP/SI97S M078QASwv1kd3+RuAuVg1ZFro4sedsI7xjDMkWlg8Sb4TG2Lj4Wlga+h5WHVJBDmk3W6 iSZV2aeN417zQM691dq+Ek+KRiH2bhNjxtzTycT4XrzFRLpXreu1xkecSc60t7z/NV8c roCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=poVOrEX1; 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 21si17171035pgp.493.2019.05.27.07.05.02; Mon, 27 May 2019 07:05:20 -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=poVOrEX1; 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 S1726479AbfE0OCN (ORCPT + 99 others); Mon, 27 May 2019 10:02:13 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39569 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbfE0OCM (ORCPT ); Mon, 27 May 2019 10:02:12 -0400 Received: by mail-wm1-f65.google.com with SMTP id z23so11898095wma.4 for ; Mon, 27 May 2019 07:02:10 -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=/uTBfIzkKswT7Ff1/QE2n2AouJ/Ougb4/VDEgUdIRqs=; b=poVOrEX1TwfxN0/t4+KDONVIES7GtfU0ZA+8LNhgcYVWDVKeytEMClNThxyj0JUlSa 0dx0wCZKUtXOM76Deh5ALVPWOBovWox8e/5ggcpNpF9wbMdHg/OrOZyRS8Q3kIR2g5hS XJ5LJZ8oLCDV/A5f8z7AiD1TDA4nmYD7GexXPgB/byniXe3TyBtOJ/SFHXo71qBXJo/c C/Ix1NFkPeD4JEqNQcqAoJ8KL2m1/4hBV06KI6q+dt0azYDKwpt5/na1H11V/EE/5+gF lzAeWOJ/AtqWs1bGJUZ+oUsOJzz51VV357ESWnForolZ/GnT3WNxDI2srGDEKtM17TvJ os1A== 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=/uTBfIzkKswT7Ff1/QE2n2AouJ/Ougb4/VDEgUdIRqs=; b=B70ys/QyylzGhbRY3xNFDYE+kUlEaWUDxiSnzkoHeuPgnC2wWwvpElqqaIbwUDNzk0 CuRJWpanNcEO8oSIf9906adM5vTpuHZQJPB5qnt+moc2R+pGL22ThvnHziNeBCayZK9d E/Ll3CeZU027WiE9YtFNhQUkZSD2nyCawAAXDwjE5oHDcdAijKP4Nl8Cejd7htLKZHyo bgkIIisdKsuuT6CwiJcfkz/7LnFcVfTgcs3khAb13OW0GQMcXFrCiNAjYTP0StwaVk7+ 4RAg2SLLjmsu1X6/4F/1dOVQ6bX8DxQOQI4gDzlLowwkAeYyo2NLdVOTs4hVfL7O5phf jnvA== X-Gm-Message-State: APjAAAX4ABmjP9sPJNiEQkHcGfned1alAtPZwFmdRXCB17AZKqBbm5Dg 3voY0WbtMubz1/ClDL/PB+CKbg== X-Received: by 2002:a1c:65c3:: with SMTP id z186mr1504553wmb.116.1558965730045; Mon, 27 May 2019 07:02:10 -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 s17sm8231628wmj.15.2019.05.27.07.02.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 May 2019 07:02:09 -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 v4 0/3] arm64: Add initial support for Odroid-N2 Date: Mon, 27 May 2019 16:02:03 +0200 Message-Id: <20190527140206.30392-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 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 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 | 288 ++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 82 +++++ 4 files changed, 377 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