From patchwork Fri Apr 12 12:52:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 202 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 12AD03F033 for ; Fri, 12 Apr 2019 14:53:01 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id z7sf6525220pgc.1 for ; Fri, 12 Apr 2019 05:53:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555073577; cv=pass; d=google.com; s=arc-20160816; b=0oxxa4G+newgS+nxiSQrKO8vFBy2ZdpT9oAIg4SDgvPE1jmEaRtxHZGr4o89awUJDT iHTypXohxwciAGvK01oBUP7i+wHpMwRu7D9eO3ve+57RJGEqIrI8j0zQcAKoi2jMQI7/ Xk+oOAcrBvXePSTJB+WEU++hAPbgzopyn75I84He8Qa9l7v0tcdqwh5z0XH4RWwLcAol j9fcb9h6TS160iLdSWw/hAC2QbuZ1K0O0xE9w1HXmq+gXGFxdhCVL1boWi83hvhI9lx1 ZrIBTEIo6sPp0w9s8Ed/mVtMhE44xkIN8wVwwRcVlTGsS5NnaxosiCmuWy8ZG1zFN5YQ NpfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=bXrOOviNUbyrSRmQiDUvEAJZOu4wdCNCrukr1ElJtCk=; b=jf+IB4gCRvGT/VU+Y1wSbQJEbHhdVu6ZwxZ3Hlm44WR8KzNThdplMypFsLSyRfokdA FMJrgwp2J9yRUAt9Mv7P6gIL6ByIrhdT2FO/qC8WxpHsk5FmkCD2Z3XF6V8EGPegPvkl FgyEt9HVer//yojB8d5/dxF+jdQ1JHmA9sJI9wPYTFRBrJNWP+uJGYtaXZ3WrBYAHhi2 Q4PhWBulprcEBB1w1sw6t7mJld2H1QPoWjUxsRrM566UYUGF20Jeu1zgUYf0HZVJadyF UEevqnbfSMHlU6xnq2mc44c0thsjzqROy4+601g9AQ/LjO7MASHMoNSSWWgiK5olI7P0 ar2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=balnlWcm; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=bXrOOviNUbyrSRmQiDUvEAJZOu4wdCNCrukr1ElJtCk=; b=T0qY6zN2gzmvQYbqf48PcN4ykLxUPOi1gZ7deQA+AHwFZWVNB1u1v7uuNspLaejhzO c7YwU4pPoLkNllbQ4SCFL5S32YTITZz7ctT1hyFGFe4xZTG+VqqPzT5H8hYjl4+wjpnW 47JgW6uruPRTfsA1VDBGgdhiw9srN58SMZ3ak= 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 :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=bXrOOviNUbyrSRmQiDUvEAJZOu4wdCNCrukr1ElJtCk=; b=Fl+ErrN67pusgNrBQB/4iRCbsPP6ZXUPK2JBNlwZV44JqXR8tDEIJp8RYKkV/Q8Z9U EvbNYGVOgNor8iXd8M4jPpOtNy1qpd1pZk2U/mbNI3Csqfa1+xwIC14WxhhqsZW0UoyG WeCOcxib20vjFydAoFG6Cj2HZtEtHL+tRQSvv5wEULRW7u2t2uZ5nNaxwPSpSByemuou 8A94hGye2OacGYglV3BnAltcNhQZ7dDL8bT8qc2JOqJ3NqubS8eRyFwZNbQN3j0tHbyg YnbMSvnNwdkUq4ahfA9V65HYH4i3+NSXX5ldtWE6W9krlGspGCRerHREqYidxll5fkH9 Cuow== X-Gm-Message-State: APjAAAU4hDt+Tud11vRZL/7L9gEStrjVCYtn0EEkrBtxwKIdRr1NQ7b5 Kwddrt0MCYN78pdvc6WdWj6uXmBD X-Google-Smtp-Source: APXvYqz6Y1OWGnOwt7to+3jW1nUHQPu7+17rbzT0Flq/tlYkgT6LBVqVl/M8LSFb/wZyqwdjObAstA== X-Received: by 2002:a62:5487:: with SMTP id i129mr1465076pfb.55.1555073576618; Fri, 12 Apr 2019 05:52:56 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8a82:: with SMTP id a2ls2650617pfc.13.gmail; Fri, 12 Apr 2019 05:52:56 -0700 (PDT) X-Received: by 2002:a63:7d0a:: with SMTP id y10mr47527292pgc.292.1555073576243; Fri, 12 Apr 2019 05:52:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555073576; cv=none; d=google.com; s=arc-20160816; b=gO10WIXFoKfgKpGUMY0MH32/YyPmBL34dV+yTTAPAuCtjisrHwA8ALk12r9M7i1tiu gHzYZTA9sNqCgDBff3TM875202SXhwy7rzl6ZdQEC1hO6TPjLWY87Z07k6ohtgaMIweP MLOLsCpBRlI2EzRt89vmYJqCHi+IQ8Fw+DA9QP21Iq8CluhQJggEgbB7hrXVbFaEiOYx G9zaZsUloMx7TYeCI7tfEbe6A2RR7myZR7unHl1vh3ldX5k7gZZVsFDYRpt1VeKFlu/1 idAEVHzv1vi4OfsMo56gS6eRHZK8dCSXb1XwnJ9uhF/IKivGB8CPVsbe9eg/kGlL1BGb xuag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=AO0oO9YMhVZNVGqy47ufgWyESyLzV+vzUwLwwLOlb1w=; b=aS3/saUL7FmeHv2gZ6TmBusTQshjR0NSkYTqKT0EPKoswp/S+WtqVwKkz/erff5ToN RYm3erPqHr7EGH8q7fUWxlWwDDy0sOJXH1oJDR3jidFQ5lV83Ftzte0K9U6OB0FjqX4p vJnIirzPsoxJoUFfOfYMqocRV3Ka1ca6gzE8FAWcCvtZ2lfpeDM2Lq88u+HtZL3O6jZF Ire11cdCtwYGrL0uZ7uz/nlHEXubakiOLpF+85YejuVGpYR7ujk4h5j1vhB8QrRjZSRg kusVuAdkBAbaQgrSW5j4TnI+nog3SD2wvy3Q5EgQyjmPvN8lR3raKfvpkPoACSRC97mK 3DLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=balnlWcm; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id s20sor32936173pgs.48.2019.04.12.05.52.54 for (Google Transport Security); Fri, 12 Apr 2019 05:52:54 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:2aca:: with SMTP id q193mr52837042pgq.269.1555073573636; Fri, 12 Apr 2019 05:52:53 -0700 (PDT) Received: from jagan-XPS-13-9350.domain.name ([103.81.77.13]) by smtp.gmail.com with ESMTPSA id g73sm72649819pfd.185.2019.04.12.05.52.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 05:52:53 -0700 (PDT) From: Jagan Teki To: Hans de Goede , Iain Paton , Olliver Schinagl , Marcus Cooper , Adam Sampson , FUKAUMI Naoki , Stefan Mavrodiev , Ian Campbell , Chen-Yu Tsai , Jelle de Jong , Aleksei Mamlin , =?utf-8?q?Pablo_Sebasti=C3=A1n_Greco?= , Peter Robinson Cc: Maxime Ripard , u-boot@lists.denx.de, linux-sunxi@googlegroups.com, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 0/7] sunxi: a20/r40: Migrate DM_MMC and DM_SCSI Date: Fri, 12 Apr 2019 18:22:29 +0530 Message-Id: <20190412125236.12748-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=balnlWcm; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This would Migrate DM_MMC, DM_SCSI for A20 and R40 platforms. Note: - a20-wits-pro-a20-dkt change would need to send Linux first - BPI-M2-Berry would break, but will import Linux dts once approved. Andre Przywara (1): sunxi: update SATA driver to always use DM_SCSI Jagan Teki (6): arm: allwinner: r40: Sync R40 dts(i) files from Linux 5.1-rc2 arm: allwinner: dts: a20: Sync A20 dts(i) files from Linux 5.1-rc2 board: sunxi: Add R40 sata compatible ARM: dts: a20-m5: Enable AHCI ARM: dts: a20-wits-pro-a20-dkt: Enable AHCI arm: sunxi: Enable DM_MMC and DM_SCSI arch/arm/Kconfig | 2 + arch/arm/dts/sun7i-a20-ainol-aw1.dts | 2 +- arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts | 46 +-- arch/arm/dts/sun7i-a20-bananapi.dts | 49 +-- arch/arm/dts/sun7i-a20-bananapro.dts | 65 +--- arch/arm/dts/sun7i-a20-cubieboard2.dts | 21 +- arch/arm/dts/sun7i-a20-cubietruck.dts | 83 ++-- arch/arm/dts/sun7i-a20-hummingbird.dts | 60 +-- arch/arm/dts/sun7i-a20-i12-tvbox.dts | 47 +-- arch/arm/dts/sun7i-a20-icnova-swac.dts | 10 +- arch/arm/dts/sun7i-a20-itead-ibox.dts | 10 +- arch/arm/dts/sun7i-a20-lamobo-r1.dts | 48 +-- arch/arm/dts/sun7i-a20-m3.dts | 21 +- arch/arm/dts/sun7i-a20-m5.dts | 8 +- arch/arm/dts/sun7i-a20-mk808c.dts | 26 +- .../arm/dts/sun7i-a20-olimex-som-evb-emmc.dts | 35 ++ arch/arm/dts/sun7i-a20-olimex-som-evb.dts | 68 +--- .../dts/sun7i-a20-olimex-som204-evb-emmc.dts | 2 - arch/arm/dts/sun7i-a20-olimex-som204-evb.dts | 36 +- arch/arm/dts/sun7i-a20-olinuxino-lime.dts | 22 +- .../dts/sun7i-a20-olinuxino-lime2-emmc.dts | 11 - arch/arm/dts/sun7i-a20-olinuxino-lime2.dts | 34 +- .../dts/sun7i-a20-olinuxino-micro-emmc.dts | 2 - arch/arm/dts/sun7i-a20-olinuxino-micro.dts | 54 +-- arch/arm/dts/sun7i-a20-orangepi-mini.dts | 52 +-- arch/arm/dts/sun7i-a20-orangepi.dts | 44 +-- arch/arm/dts/sun7i-a20-pcduino3-nano.dts | 31 +- arch/arm/dts/sun7i-a20-pcduino3.dts | 39 +- arch/arm/dts/sun7i-a20-primo73.dts | 4 +- arch/arm/dts/sun7i-a20-wexler-tab7200.dts | 39 +- arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts | 27 +- .../dts/sun7i-a20-yones-toptech-bd1078.dts | 2 +- arch/arm/dts/sun7i-a20.dtsi | 209 ++++++---- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 91 ++++- arch/arm/dts/sun8i-r40.dtsi | 364 +++++++++++++++++- arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts | 2 +- arch/arm/dts/sunxi-itead-core-common.dtsi | 6 +- arch/arm/mach-sunxi/Kconfig | 13 - board/sunxi/Makefile | 3 - drivers/ata/Kconfig | 8 + drivers/ata/Makefile | 1 + .../sunxi/ahci.c => drivers/ata/ahci_sunxi.c | 11 +- include/configs/sunxi-common.h | 6 - scripts/config_whitelist.txt | 1 - 44 files changed, 838 insertions(+), 877 deletions(-) create mode 100644 arch/arm/dts/sun7i-a20-olimex-som-evb-emmc.dts rename board/sunxi/ahci.c => drivers/ata/ahci_sunxi.c (94%) Tested-by: Pablo Sebastián Greco