Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1490678ybh; Fri, 13 Mar 2020 02:07:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt9u2/1DAMSG7M2XnWmb9xzYM3PXAADav48d0REhPlBycxGHK2nYSzYMJXxlYnJyXRVUU4z X-Received: by 2002:a05:6830:18e1:: with SMTP id d1mr8345339otf.8.1584090470034; Fri, 13 Mar 2020 02:07:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584090470; cv=none; d=google.com; s=arc-20160816; b=M68/WbAViz+xNeruL2BoMIP6516JjZieSiENzmvBdmX8D1fmD/mO/eUIq6AYDDtwY2 aUV8GMmjIGqMp/aUuYkXEf44hFKObdZvhfbyd2wvNBDNjFiNkgdodPtJlX6hRVAui0od Ab/XuNsqbM95BeaTVkuqXlmKfjPsClSdr2EjIAoeh7hZkKjDVtbWD+hv/iUV69g0tXVI y/b6lhj0s4J8FTuhWNsJAEvswTNjK0li6ll4fceoiIhMRNut8fjan/h3PjXfVYJKV7IJ uiMYGCifGCNySRsmxEyU8eK3YoOEeTmxBDtXkkq/xCKKPEKnJR8+Hu5c/xnjGDoZvULV MJtQ== 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=LlEyFNmy3pyjX2oMkuEavu1zZSuwiAYfnsK65mC/QUA=; b=D05U98+Zde7AFhjThFhr6Tog5ci/dSxpOIbwD5TYRYgUOdtLYfIa0cCp5UHmNQumfS 6kouX5HP7g46l6v+MhkZPo1Y2+RZqlEwr8WK/ZSsHBMikLei5MnTm5ksd8CywULMNY5j BmEvvJXwO0hGJvNInP3KXZiJYoG/zKUf8bgtvT+nSJtbzzKBZf9mTk2lFvUc/3kz3UmO W1srgJ5M4239ttV+aNy2HhcTUB98ZhJY9DDTWBd5kQD+t5lr6su2u+kJfyQF27sHpDt9 b1s2+NNaIquIO5J27GjGjp/aPbjZiYYOLSdxoouM335iq0jK1/dR0r6/1oEKAoh1TOjF iqnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="l/cF4iKb"; 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 f20si4070703otl.313.2020.03.13.02.07.36; Fri, 13 Mar 2020 02:07:50 -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="l/cF4iKb"; 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 S1726436AbgCMJHU (ORCPT + 99 others); Fri, 13 Mar 2020 05:07:20 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:33544 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726300AbgCMJHT (ORCPT ); Fri, 13 Mar 2020 05:07:19 -0400 Received: by mail-wm1-f65.google.com with SMTP id r7so7350921wmg.0 for ; Fri, 13 Mar 2020 02:07:17 -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=LlEyFNmy3pyjX2oMkuEavu1zZSuwiAYfnsK65mC/QUA=; b=l/cF4iKboaIDC+xHYs6TLSZsMvtHRD1IIKQ729YNj13fHpwpPNa0+wMID3dj4pqXmb 21tD0UyWk4i0ZyBi0VuvgEwhdCKrXCC70dQoP7Bz+C9m+WrNf+d99KhDTP2H3q3t1I3H PwSK9zud1xqzhCczxkFW+h4K9gnTXCTbXTSNvrC/JSU1PvOyDOe0ENzFof+AbAmj6wMW tdcOEXLr19NKh5IVqY0M+Yrd+eATVGFKj9JiVq5IDY0l6b4ABwc/CT9cW+pdYgOp5TGO iMnZqOOe5ICsfyFmk5dXppdBEBHEaKcYizsJRK+yIrDIj1OWMKoE+4Vhhy3HvsDUXoUK knsA== 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=LlEyFNmy3pyjX2oMkuEavu1zZSuwiAYfnsK65mC/QUA=; b=a5ipetun5nrhXe1WQ/2I8kuAgrvZf16NhkPxAY0WQXJlfyC69w4a+796TgD0vWAiB0 us16OfZ+257AmVj78noZsPmhHbTP2K/7WWXAtjoyHh7H+rEQfCt+apPHuaufFFM0WRPD BlqQjb/X8EjFPUOCpcCIGi1ts3FrGI4u+0C2Ojdmz63cNHdmH9bVHI5PMn4chUQBoFG7 0MqAT1XBqpBuxy4MGhem3nMB/m/DtdOLNk9SbEMI+06t7fFD4YUscBZYTz+HIeKmsnqn 6cnYjigATAM93GLqBE2BdiX5Z4jNCVm/h7rpeSZtO4CLGD2VFoPbEHOdDEhmmYhsN36m cJHA== X-Gm-Message-State: ANhLgQ3hMHmj7gwiHUySYhzsWBHkJjQu2rJXjxxVNsgaYmbmixhls6IB azCPWWWbBk0siqZ8BvPf0rNc4A== X-Received: by 2002:a1c:1f0c:: with SMTP id f12mr9713747wmf.179.1584090436600; Fri, 13 Mar 2020 02:07:16 -0700 (PDT) Received: from bender.baylibre.local ([2a01:e35:2ec0:82b0:5c5f:613e:f775:b6a2]) by smtp.gmail.com with ESMTPSA id i1sm61872399wrs.18.2020.03.13.02.07.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 02:07:16 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH 0/4] arm64: meson-g12: enable support for SPIFC Date: Fri, 13 Mar 2020 10:07:09 +0100 Message-Id: <20200313090713.15147-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.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 On the Amlogic G12A and compatible SoCs, the SPI NOR pins are shared with the eMMC data 4 to 7 pins, thus the DT needs some tweaking to allow setting on the data 0 to 3 pins for the eMMC controller to enable the eMMC in the same time as the SPIFC controller. Since this lowers the performance of the eMMC, the SPIFC is left disabled and intructions to enable the SPIFC controller as added like done for the Khadas VIM2 SPIFC support. This adds SPI NOR support for Khadas VIM3 boards (S922X, A311A and S905D3) and Odroid-N2 using the same scheme. Neil Armstrong (4): arm64: dts: meson-g12: split emmc pins to select 4 or 8 bus width arm64: dts: meson-g12: add the SPIFC nodes arm64: dts: khadas-vim3: add SPIFC controller node arm64: dts: meson-g12b-odroid-n2: add SPIFC controller node .../boot/dts/amlogic/meson-g12-common.dtsi | 60 +++++++++++++++---- .../boot/dts/amlogic/meson-g12a-sei510.dts | 2 +- .../boot/dts/amlogic/meson-g12a-u200.dts | 2 +- .../boot/dts/amlogic/meson-g12a-x96-max.dts | 2 +- .../boot/dts/amlogic/meson-g12b-odroid-n2.dts | 23 ++++++- .../boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 2 +- .../boot/dts/amlogic/meson-khadas-vim3.dtsi | 22 ++++++- .../boot/dts/amlogic/meson-sm1-sei610.dts | 2 +- 8 files changed, 98 insertions(+), 17 deletions(-) -- 2.22.0