From patchwork Thu Aug 30 19:01:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 145574 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp252277ljw; Thu, 30 Aug 2018 12:01:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY7rK2NFnDguVE7u1HZT+GiiOPs/aqYaqraqYBoBZmh+R/9dNcBDS/gK/CRh3cfr0mmml37 X-Received: by 2002:a17:902:900c:: with SMTP id a12-v6mr11533721plp.61.1535655709170; Thu, 30 Aug 2018 12:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535655709; cv=none; d=google.com; s=arc-20160816; b=pogA8Bx46zrtHObkjx1XQGY6ACuoHwg8QQTaSG3r2yuPJRcU7jx29QdV8t2Pf/9g24 ZklfgxF2YE8TOywQHoyhnY0+dMqQLsN1ZpWKalfj00bI5w8ivf2B+fSIR7qdARlR7Pl/ eLG5VZZYlYxOBvgvfcE+Vzt1GhKw7of1M+EM4hzFHVtzHy2Hy/u3S6ersVCxNi1Wm3G0 ugmKktCCSRik2riW7BI/Laia5xriphBBwiF+dmHWTSpWO7YvTA9LXSHz+8hRYmyjfiE9 yik5YRZLc4IAmQabrfCBX3a9dhmlcDECOyYxKh724sTxAaewcCmr69ArIZJEvnUpC7I+ 9THw== 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 k13-v6si7044854pgg.346.2018.08.30.12.01.48; Thu, 30 Aug 2018 12:01:49 -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 S1728281AbeH3XFW (ORCPT + 32 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(+) -- 2.16.4 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"; };