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: 9230979 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 EEB6760574 for ; Fri, 15 Jul 2016 01:26:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF8972830A for ; Fri, 15 Jul 2016 01:26:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3E642832B; Fri, 15 Jul 2016 01:26:51 +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 748C92830A for ; Fri, 15 Jul 2016 01:26:51 +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 1bNrsL-0002uH-3J; Fri, 15 Jul 2016 01:25:09 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bNrsH-0001jr-LU for linux-arm-kernel@lists.infradead.org; Fri, 15 Jul 2016 01:25:06 +0000 Received: by mail-pf0-x233.google.com with SMTP id t190so35361558pfb.3 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=FfLHiZRPHuiacDxBoCxWVuEP9h8uBEopZ3bbmnq1QRCsHRVfvORvMIkFZ5CxR2eMAE qKq4swyaB42GEWJd78VrIbCgTeEYAbUCjUyJjW2Ka8BoC4nYz2Ja+es6t79ILhAM6aLw zbN1p7I4Y+S3IsMiQ7uZWsm8i1BDhaVKu9bGlAXkQkCeBz/d+VLj+EtvsTz8tuKPG21V QJ/6be3zKnaXXfJv4TYogRtzKR9xHUrxF1bfzj4m14+3WNyL6LXIVjGwYHT39wm1rBFA f8EETSNdTLd3LL/JLare8/ThW3Qmt5hNApxxvlXfV/wrJLVYStcUs4OCr6RNUtER0ZEp TCWA== X-Gm-Message-State: ALyK8tKmZtCTbdNd5cK22+mFd3jVKwZXf7vhV6jisxa8tyvSGTABDjPpgnpK1NkSJBN7QfeO 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_817471_3B44B429 X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 {