Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp209732imm; Thu, 30 Aug 2018 12:03:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZX8g1QMlFNeMdYj9lx6fr53cwZeAditgPDN3Osq91JG/5dqjbaaGYcsMjwsPlSU8ThY9AH X-Received: by 2002:a63:2c0e:: with SMTP id s14-v6mr9191224pgs.199.1535655816916; Thu, 30 Aug 2018 12:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535655816; cv=none; d=google.com; s=arc-20160816; b=o1OXvOIXModLpN8xbzjuLGaaTtPnsHKdi9jnQuadL5Eni+oqMvrYyGN0EY0PtdpMuW G5ArWgne+jD87aL6GFYGXcoQ/BA5DhyjVy0BXWY0ls898DS+6bhTZqCI2ekRCEPAgxOs KDj9jc0rXM6mvC3NtYg8/rQwjik3J6uJACUgOsXa+pGowu8Rn8NHBgz+wK3TPLpY01Ox +si2a+f7oJoqnxl/gmeQre/ZX9c+bNp73Bs3HlGReZwxIggH9SoBlrSDM3wixFSgHD54 8d50n9jO9RDDO1sBZxPtWe+fiL+/1f0k+oPA5KXXGeRMZphwEyz31dQ5HyTYo0u1ppkS JDVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=fVq+dyrEA8MCEaUSG6+R2JFZagictW0kEMK0uBAAtGE=; b=nd4h6zcoVUYZDHp1Ch1ua/7xowau4LNOzi/JiDr4n6PV3+J583f9zN/k+b/CWezwGr VVzlN3DDsWcthYBcCjtGBpq98CeFmdi1TKMFOmu4jydzJ+ITuGCqevPBnisk3lxJio28 ES9Zw3xrI73VAHP7zYERCPaCs8dI8NsIyHOy7hepfFCB9yh/O1Wy5ivcWLEW3t6ZZ1Bt hg+Zj8Wbu7/H2lipsf8d5a4fuaRh1ASsDZEVKTJ63KDZLsswIohMXc2lecTrwHQZA2Zd z4kdSH8gHsxmASy6C3pEU5TopKumx0sgfmNlJ3v35jGdvLFUpanUuqzIhj+viOdwhTqW XJBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Is3j/ums"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z73-v6si7113912pgd.471.2018.08.30.12.03.22; Thu, 30 Aug 2018 12:03:36 -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=@gmail.com header.s=20161025 header.b="Is3j/ums"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728266AbeH3XFW (ORCPT + 99 others); Thu, 30 Aug 2018 19:05:22 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:50975 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728118AbeH3XFV (ORCPT ); Thu, 30 Aug 2018 19:05:21 -0400 Received: by mail-wm0-f68.google.com with SMTP id s12-v6so2999271wmc.0; Thu, 30 Aug 2018 12:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fVq+dyrEA8MCEaUSG6+R2JFZagictW0kEMK0uBAAtGE=; b=Is3j/umswbTely8NDeJXc6Ld/wz3HS6kpUDJMjL5/S6IgkLNI25iAb45sJojElciI8 1WdteNhHdUipNPzgpvijNRX40X+ooAhYRxfRKKxLFLyd8JwvqA1XZ2oNb7uZdVY+1xXI i4vX6TWqMbi1dGAh7xY8ttM+ZK+JzQ7VjFkbdpyki4PLUZHbBP4eChr6irZkg4kW+vFK 3HAl3LXdHxEYtfq7ToE17kDSdvkTtltuBxEmIJdCRvtJiEzLdZvCmxzkErDAI8byCW8t Kg7ChUAfILeMdZN/Axr8QgiP2EHi9IxrBvWK7YRl/n8DpB5WsLVQmHKGPp2/olT7n2he 2LOA== 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:in-reply-to :references; bh=fVq+dyrEA8MCEaUSG6+R2JFZagictW0kEMK0uBAAtGE=; b=AvbQzOBIT2Ez3hHBPAH0T2SapfJx6mqfCbTPmNcNs8XrrRPMmwsuNw4s1SwRsPS3Yp WWh6eZwxzIZ5wUbTOxEM6jFKO0lw5/QJhlXAbHDcEGZMcyY1N7ld8uYkFIEWr9W8kYVo eYdAfdiURR9nP7wyCmEtoGeDmriazZ2jIulRv98brrS9gl/L7UYKYK+s+/FVtBNfN2JT e7nVb7fFRRAbCmWpsCV+GrYIilM4o1qqlMBf8KkwLh+GMeKBIJNceqHa2oUAygcguinY eqUz/pze/9rjlgfDlqmcjEFCpxdBKmH8JnXwtv1MoF/9s9A33esGFuI35MAYTqrBN2QN 9fgw== X-Gm-Message-State: APzg51Cmk38fBuUKGHfqQOcDuDeYOf3S6HRl25gxegysmjovsjoeinW4 Bx0u8JGMfEs45RPBoVFDSDM= X-Received: by 2002:a1c:c7c3:: with SMTP id x186-v6mr2653722wmf.109.1535655704028; Thu, 30 Aug 2018 12:01:44 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id w17-v6sm2937095wmc.43.2018.08.30.12.01.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 12:01:43 -0700 (PDT) From: Corentin Labbe To: axboe@kernel.dk, hdegoede@redhat.com, kishon@ti.com, mark.rutland@arm.com, maxime.ripard@bootlin.com, robh+dt@kernel.org, wens@csie.org, clabbe.montjoie@gmail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v4 10/13] ARM: dts: sun8i: sun8i-r40-bananapi-m2-ultra: enable AHCI Date: Thu, 30 Aug 2018 21:01:17 +0200 Message-Id: <20180830190120.722-11-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180830190120.722-1-clabbe.montjoie@gmail.com> References: <20180830190120.722-1-clabbe.montjoie@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch enable the AHCI controller. Since this controller need two regulator, this patch add them. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts index a891a387e8f1..b991b635c07d 100644 --- a/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts +++ b/arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts @@ -105,6 +105,11 @@ }; }; +&ahci { + ahci-supply = <®_dldo4>; + status = "okay"; +}; + &de { status = "okay"; }; @@ -250,6 +255,22 @@ regulator-name = "vcc-wifi"; }; +®_dldo4 { + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-name = "vdd2v5-sata"; +}; + +®_eldo3 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-name = "vdd1v2-sata"; +}; + +&sata_phy { + phy-supply = <®_eldo3>; +}; + &tcon_tv0 { status = "okay"; }; -- 2.16.4