From patchwork Thu Aug 30 19:01:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 145575 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp252285ljw; Thu, 30 Aug 2018 12:01:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaY/jrAQWxBkGaDtbyVmXfHDc/LqGOAq4l6lQnnRjD2TbErThRIIFuDTVomCNjid9kU1ddc X-Received: by 2002:a62:1fdd:: with SMTP id l90-v6mr11601013pfj.121.1535655709651; 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=piBv0sUhFj8srSMSzE1qP9jADsKYkgqP1MDXLa8zbzs4HV84Rxhm8gf5oQQRGP0Ait zFjH8yHKmTjZ558v5J0SIv2YMBDJCd8YoAAA00+EMfu2kvo0pGzqtyTpGKgN4fSM8O9N qspSYwjt/mv5CsY4JbLjDJJa6XkA3+jl7zTcLF+jT2keVoyLFBuyG5UXwJEzg2+rEy2M 8RDr8IGZlR77mZqupzRtjCx2exLiJkJRz9E3Q7NVxfg+nU4JNcKliKaHi058B/4cfDsW AFCuo7RfcNznFVd9AnPGjWib67QLTPmCoVLv7Xh740RbjV+kfRUI0hNUf9At/oTg8GGB tbBw== 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=lYF4vw+H13TqDhRHDPAO494ldTC/en088YlLmd8H0Lk=; b=XR8JJArm3XIcXlxcAA8KvdztS1noOiQvBrly4+4+CBSLu+NuOwo1Rc+3GktZy5TSej Ytnry8FeXDNmgSNkY0LOIL8Fo7QaB4ElROKla1WdxpXfBbDxIRT9NU+0VpbSNFTFMxxd w0iZswYZT48yies+gjrCknzsVAEdIYy52yYLG+eN9LVXoNXrFpP7/P1kEeiVGOErZnkT kzJa2FgMtXksBgacDj7tcNyaRRu8uQSck3tiZg/RkDBULwb/03EyGJDRbg4m5X2yrKyn q7ngu6CvQmb2YCQHXqj/ehlhMHp5+s/Mnk3qttKOx8UFpLU3ciru58aIxmC9mqgYfZHe jJ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qi9dUqFQ; 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.49; 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=qi9dUqFQ; 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 S1728328AbeH3XFX (ORCPT + 32 others); Thu, 30 Aug 2018 19:05:23 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:32860 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727177AbeH3XFW (ORCPT ); Thu, 30 Aug 2018 19:05:22 -0400 Received: by mail-wr1-f67.google.com with SMTP id v90-v6so9031855wrc.0; Thu, 30 Aug 2018 12:01:45 -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=lYF4vw+H13TqDhRHDPAO494ldTC/en088YlLmd8H0Lk=; b=qi9dUqFQ0tN5DJbV79V9Kio4t1mQfMyfMCviV1Nr9GRk51JH8S21uNzT+UoVRXvK7S EdG2YCFNWtMJ01um9n/4TztLeqdxY//dsKd+1m17PNIH1pRQLBW60hjQVRC/dnyHMf/I pzWhHymJLuimSDBzx4o7s/GHCXojDNuXzwgo2eI+7+RJsj+VnaRP8w/FiQwexS7AfXVM cTUXI8MWvmumb4CfwwmRVbDBQbwgtV6LihGBELT4NreQLhK1wwdIJueXwK2lef7zxe0J 0Tgccu6YnV6W1WGwiZzD0PGfL2Fuwji+zu6rhLxGF69tzdtyW9TQsRKDvrbTnalgIXkY K3Ug== 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=lYF4vw+H13TqDhRHDPAO494ldTC/en088YlLmd8H0Lk=; b=nmCa3sPP7cDIi2ttDmjq+fbWBgvFNjnS7oogt6ZEeS/HLcJihBmEwv4j/muwHDsq1d zky9Pq0lbi31E6bQJ+EydTjInTxTQe3WTeRIXKYa9v44eXzhHq6AyZwhej6xx4RAstS9 Jr9pzQ02oBeXMB2DuwfwPtnIvORSAOs3sRagB8k6i5klmE0gUbbArfhGV+uPXZ3+W5HR g12h5Swihw91wJAU/yvM/gqNf6zUZsAAVlUZ0PjjpoL0/C9/YxAGmjVqdlWuoXnYXo8b 6tDcW4LzuS1AnBXvRMfw2pnbHm2eX6upraHozP+tPbd1mgXb1ljsDiRMsB0rGAw4GLqa TP+Q== X-Gm-Message-State: APzg51DAWxic4ii5LBabNQOK4COQoR6pCfrKnsDk50Jb43EjbBPcG9r1 ddrgkdIEWjmsJUZq+X1hpB8= X-Received: by 2002:adf:9e06:: with SMTP id u6-v6mr8392154wre.51.1535655705436; Thu, 30 Aug 2018 12:01:45 -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.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 12:01:44 -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 11/13] ARM: dts: sun7i: a20: add sata-port/sata-phy nodes Date: Thu, 30 Aug 2018 21:01:18 +0200 Message-Id: <20180830190120.722-12-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 convert sun7i-a20 sata to the new binding which use a sata phy node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun7i-a20.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.16.4 diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 8f7e1e29841f..8ff28f7afa85 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -667,6 +667,19 @@ interrupts = ; clocks = <&ccu CLK_AHB_SATA>, <&ccu CLK_SATA>; status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + + sata_port: sata-port@0 { + reg = <0>; + phys = <&sata_phy>; + }; + }; + + sata_phy: sata-phy@1c180c0 { + compatible = "allwinner,sun4i-a10-sata-phy"; + reg = <0x1c180c0 0x200>; + #phy-cells = <0>; }; ehci1: usb@1c1c000 {