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: 10582719 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D69A613AC for ; Thu, 30 Aug 2018 19:12:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C62F52C449 for ; Thu, 30 Aug 2018 19:12:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9F2B2C453; Thu, 30 Aug 2018 19:12:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5364D2C449 for ; Thu, 30 Aug 2018 19:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=yRn/seDui7BKQNxK+R5W3UEBn3BScoDqrL5AglS90us=; b=fL314bbz7kvqKXBm4WdlGnhfkW X9JDwLHZBN+j9YSOWtCTMXvbTt+F7UXknbABWTmtQ5HDG9Lrge4KnFN4u1ifq6qfijl4NcNS97jgD D1d8BTw1RfYRsjH1bLeUsHSNr0+8KhYKqzasKXHPfBX5Vh2cMR4sLtalOBvMVg4asqmBD6q8x/gud zjKJP8uh/lWWiCtsMPG20zT0ELCurgcQDur4HBMaGDnISbzgRHrwsg9j1GPM6kw33wkJ6KcqdyL47 DjcXnyDjuWtMHR/yDZywGdrConnn98nvgi+YYKQbCJW+M8J9GSbAcIFKksvL8OvMxY+6vARe5hCKI VOarazdQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvSMo-0000L8-J8; Thu, 30 Aug 2018 19:12:30 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvSKj-0006OJ-Kl for linux-arm-kernel@bombadil.infradead.org; Thu, 30 Aug 2018 19:10:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lYF4vw+H13TqDhRHDPAO494ldTC/en088YlLmd8H0Lk=; b=o6PSeFVKvg9CmNEeyVP6avNw7 S9AVNxiLMasSE0zYR6bpirWr5wT4ROquCISG8zWbN3A4dLCfsdVE0gFIC9Zv6l+f5JFVBwm47J8b2 +p2ojUFRWOL3ayGpS1S1j3nNP4QAgVwxc6py/BnxtzAHwLVJEqcC84Z3/+y8TiWK6oxDCGg/tmq/g LQHg8FOF1MgOBE3WpUawrTQGrzH1tAFI9F/A35D8Td4cHDBnYs01nhbtpdvhD6vEm9uM/WwjDjn/a uWVPw6f7M8bWkpgPupg/pX+6zz4QekRQ6Yc/DSjSuALBbAlJkm/SjzF++VsCy73VmM/A20dxcl0RX rpjK+WIAg==; Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvSCU-0000KR-He for linux-arm-kernel@lists.infradead.org; Thu, 30 Aug 2018 19:01:52 +0000 Received: by mail-wr1-x443.google.com with SMTP id u12-v6so9003494wrr.4 for ; Thu, 30 Aug 2018 12:01:46 -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=sRJjrmJLIqFs7310J6Y4l7RPTfqZV0VduEzZMmVQtVhFi8oHmB3BTU8Scb1++rtkHm kTVBulwg4Eq1+zyTXJk0MTys3mcIDkOP1KC/+enzlgEB03bfnHx5pC51InVV+AigMvL/ Cyx4dK525anZli5uzyIkU/MTQJ2QZur/cgNdadkttk921rEkXmBi8nwTm3Rj37SOFFLY /DX6jAJwmfxHZGSj54nQAnycMQ2ECBgD5wYj1rlW6+Xo3/c32KpP0XLR7OiHBarrtydp eA4pr515oAm4VFbisM7WKzM3T2MMcli4aPL9jpyDZ/6QgRk2ZJA9j5UMM2LLklaBM01O ox6A== X-Gm-Message-State: APzg51CmWv0OTLRnqMc0hNsFeLTPuVmU6Rgb8o0r1FIjz2e3uQRGLb+E dSjr14bl3ERMNqSbMVky7P0= X-Google-Smtp-Source: ANB0VdZkBUeh5YNoWk6eGEk0v4LP31uLIqZhjPS/6SCQwo6hXW7TvNRnTwspikAs8Unuhl84TlTbwg== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180830_200150_577898_A559B7FC X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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 {