From patchwork Fri Jul 15 01:24:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 9230977 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 988D360574 for ; Fri, 15 Jul 2016 01:25:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89D952830A for ; Fri, 15 Jul 2016 01:25:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E66A28327; Fri, 15 Jul 2016 01:25:18 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2674828326 for ; Fri, 15 Jul 2016 01:25:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNrsR-0002v4-VD; Fri, 15 Jul 2016 01:25:15 +0000 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNrsH-0001js-LS for linux-rockchip@lists.infradead.org; Fri, 15 Jul 2016 01:25:06 +0000 Received: by mail-pf0-x22a.google.com with SMTP id p64so1762636pfb.1 for ; Thu, 14 Jul 2016 18:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=AMxw/jjr2KThnXcTMpvHWzK1QI3hEhbZC9SJrV4TZKc=; b=SaYXXyvsfZMMqnt34UzTSGAMPDZGDrRslU6JIC7l9UqBTXsl2sD1mWQndZhL84NErz SL1O0e23UPhLUBPaW0DH51WoXVdlfgwcWB+BBY7KMWKGJkaUvwljL3efZ/gJQkPDhkUh l8wmT7ciO7VJACKq+01p7BmNy3LlBOHMANZ4E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AMxw/jjr2KThnXcTMpvHWzK1QI3hEhbZC9SJrV4TZKc=; b=OADvHHo1ucjgSJlIwPcJkzPXTn5BDb1xwTmqnhsJHqzQ6B8XTocVhLLSUHCzQhpOSf 73Le4T2MKXEfvSvfXXJbY4D00XRUlD9igFU4/EoZql53SgkFLtL4rHdppBnNNRGUH8CY JkFyyTy364w6658hAwCkBOw/B8FaSUVc03xfypHT517Ov9xEwSH+GfwS765xwb5NWYgO 2HYKV34Un7sELFtZJqMc9Z9TPRc9gjwG1gkUk1A0XzYrcKe/LLA3R7T7Ez7PXePvtjb7 +TB/eFKJl2P1RFYv7Wvw8/hhYl7r0Hf0TF5tRwM6DGWwjfjKrQY/zcazGR3Kfsw+geXl OuYw== X-Gm-Message-State: ALyK8tJ5aQFknSaCkaTxFkHyZ/X+ExmgBzkG9WwXtILXzVjARjm+GlNskMN3ELS83cpPnxm3 X-Received: by 10.98.112.196 with SMTP id l187mr17340659pfc.59.1468545884741; Thu, 14 Jul 2016 18:24:44 -0700 (PDT) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id by5sm7432080pad.36.2016.07.14.18.24.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Jul 2016 18:24:44 -0700 (PDT) From: Brian Norris To: Heiko Stuebner Subject: [PATCH] arm64: dts: rockchip: add spiX aliases for rk3399 Date: Thu, 14 Jul 2016 18:24:33 -0700 Message-Id: <1468545873-134339-1-git-send-email-briannorris@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160714_182505_820287_CD9AD6EB X-CRM114-Status: UNSURE ( 7.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Brian Norris , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Brian Norris , linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP It's nicer to see this: # ls -l /sys/bus/spi/devices/ total 0 lrwxrwxrwx 1 root root 0 Dec 31 1969 spi0.0 -> ../../../devices/platform/ff1c0000.spi/spi_master/spi0/spi0.0 lrwxrwxrwx 1 root root 0 Dec 31 1969 spi1.0 -> ../../../devices/platform/ff1d0000.spi/spi_master/spi1/spi1.0 lrwxrwxrwx 1 root root 0 Dec 31 1969 spi2.0 -> ../../../devices/platform/ff1e0000.spi/spi_master/spi2/spi2.0 lrwxrwxrwx 1 root root 0 Dec 31 1969 spi5.0 -> ../../../devices/platform/ff200000.spi/spi_master/spi5/spi5.0 than this: # ls -l /sys/bus/spi/devices/ total 0 lrwxrwxrwx 1 root root 0 Dec 31 1969 spi32763.0 -> ../../../devices/platform/ff200000.spi/spi_master/spi32763/spi32763.0 lrwxrwxrwx 1 root root 0 Dec 31 1969 spi32764.0 -> ../../../devices/platform/ff1e0000.spi/spi_master/spi32764/spi32764.0 lrwxrwxrwx 1 root root 0 Dec 31 1969 spi32765.0 -> ../../../devices/platform/ff1d0000.spi/spi_master/spi32765/spi32765.0 lrwxrwxrwx 1 root root 0 Dec 31 1969 spi32766.0 -> ../../../devices/platform/ff1c0000.spi/spi_master/spi32766/spi32766.0 With the latter, it's much clearer which bus devices are on. Signed-off-by: Brian Norris --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 4c84229789ef..b04abbfd4898 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -70,6 +70,12 @@ serial2 = &uart2; serial3 = &uart3; serial4 = &uart4; + spi0 = &spi0; + spi1 = &spi1; + spi2 = &spi2; + spi3 = &spi3; + spi4 = &spi4; + spi5 = &spi5; }; cpus {