From patchwork Mon Sep 3 10:02:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 145764 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2294849ljw; Mon, 3 Sep 2018 03:02:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbVT7UP7nAYxd/fntqF3L4zchxUyS31LUssFTz7VnbnR4qmYJsQ+O86jvvTO/kTrDPaf3dI X-Received: by 2002:a65:5245:: with SMTP id q5-v6mr25024467pgp.67.1535968943996; Mon, 03 Sep 2018 03:02:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535968943; cv=none; d=google.com; s=arc-20160816; b=oz/y5G+3NsRgD57PaPR3eToTvkGwx0Xgsyexdb2UMdyxPKCUD5n3U95BiV7BFtlONh hR4H+IJcQHdzNZo6QsKApHDKgQt+BbrNGm/7EX4swkIwUJkQJjUOGVd2uhtDoXSPZ90e 3IsgfU2vKG9SABmiRp4M4hkWJYRazPL5n+UtqqMEZ+TX9dGzLW97yrNSxjUTIqmrj/PM Q0frROL8aJ2FQZDiFmstjtzaX9Kz78j6nzuNC6hq6VIFaWmSihIXGzVzdGYXdKTeWkAz qoZM7+ycwS9Y0wCyf8/F5oaSjCi6e3HQusL334it36QwdpQ55FfYNdwgjBkMMPpfyg8D UAAg== 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=Yco3GuOwe1ADSho8sukxLRIOHQlCReJ4bgpdQLYejFc=; b=t+SGlsBqRBjKbHUIH0idCIGVaOYYw0ozh9T3dSJbP11w7xC8clOvF1xUBqIH9RylD5 tqpy8VztCDSbmNfDuEl8dVKqnRLEqTncZKWvKDg36/drfY/votWOk/AZQCzOy9kKIww5 9PGc3MSf4xwfyIG/YnKUiqGEDcLshs/+TCKzOtNP3NI2KEYznowSatZzSmt+CRNJPM5v wcFbVVspTb8LxtljNAZp67uNkklrMHnWOuOAxrVzXTYEe+5RWran4WMPa3/x/9F4nmkw fVZBEj30IR75xo8opJLYLoHFa4PLTAblzpx6kfvKmHXraRnPOBwNUW4s7bG5pRiQeVKa cRpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J1X5KvpQ; 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 f8-v6si19665538plm.117.2018.09.03.03.02.23; Mon, 03 Sep 2018 03:02:23 -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=J1X5KvpQ; 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 S1727872AbeICOVr (ORCPT + 32 others); Mon, 3 Sep 2018 10:21:47 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:41249 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727636AbeICOVp (ORCPT ); Mon, 3 Sep 2018 10:21:45 -0400 Received: by mail-wr1-f65.google.com with SMTP id z96-v6so6618wrb.8; Mon, 03 Sep 2018 03:02:19 -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=Yco3GuOwe1ADSho8sukxLRIOHQlCReJ4bgpdQLYejFc=; b=J1X5KvpQE8zgQgmc2/vQAmiKvPlYH1gGdMjr9Zuw9Y4Dos/aMtoSMHUNUhFqFXqeGd T3F8YIahgkY940DbwdulOsuINGsKtknyxXi1kvQpljEe4rM7fat35dAT+SWAt8J9vV3s 7KVWYEmTaWvqHrjvfPUcKYav5YtxbOqh7/w+qM3qI4U6VrnLNjJsgzr95uDgM2KQJ6k0 cnlooSaxrl5xHSkxW1DnZ73wVmzOjRbFWDo00o53FjBpoNaTQjix3YcAuGYbzqZZKtgn O7JBlpXiDHNSvGp+kmub0iow0Oi3DckfbwIeZxwSqJVqHMXDPObNVbpbl3azYMdcCA0h 4bpg== 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=Yco3GuOwe1ADSho8sukxLRIOHQlCReJ4bgpdQLYejFc=; b=lLDnnboDMgh1ilM5L8NV7vmfpHxsxpbG5jAk3NJdUs69/AN9IjwNlKxfqJrSf7oICr 7PQbkIvJyHAQDX0GVv/61vEVEAuqLaxAuVMLARKGwlrlOeXE6y+7khQTjdO/hxpcgP0m szdt/SPalMYExt2gK4CElCa9lfRI2vBSeE12ZImdzbCa7tsmnMU+TmnnQC0MGC0JBNU6 c/8BFxqswHXZ3YwxDl/vU/vRWMhgCaFCg3UXpF8aFkay1HOZ0bpvcp773JhZvQu1ecW4 RnRNM4gbqkOOvhZjWAo+kyUkhd05Jr/vwSiYKnU6h92AgPhvhnI9VL3VSRrV1UmDmQ4I df4g== X-Gm-Message-State: APzg51DEmcW0MEO7REU+Kw1sLClslTEQOy7UpTonoc6DuV88pHGBrMsF LEeHVz5KTgnPMAIRor2YkGE= X-Received: by 2002:adf:e084:: with SMTP id c4-v6mr17993852wri.199.1535968938709; Mon, 03 Sep 2018 03:02:18 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id k34-v6sm31773936wre.18.2018.09.03.03.02.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 03:02:17 -0700 (PDT) From: Corentin Labbe To: axboe@kernel.dk, hdegoede@redhat.com, mark.rutland@arm.com, maxime.ripard@bootlin.com, robh+dt@kernel.org, wens@csie.org 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, Corentin Labbe Subject: [PATCH v5 9/9] ARM: dts: sun8i: sun8i-r40-bananapi-m2-ultra: enable AHCI Date: Mon, 3 Sep 2018 12:02:01 +0200 Message-Id: <20180903100201.23131-10-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180903100201.23131-1-clabbe.montjoie@gmail.com> References: <20180903100201.23131-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 | 18 ++++++++++++++++++ 1 file changed, 18 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..438b7b44dab3 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,12 @@ }; }; +&ahci { + ahci-supply = <®_dldo4>; + phy-supply = <®_eldo3>; + status = "okay"; +}; + &de { status = "okay"; }; @@ -250,6 +256,18 @@ 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"; +}; + &tcon_tv0 { status = "okay"; };