From patchwork Fri Mar 14 09:35:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hou Zhiqiang X-Patchwork-Id: 3831871 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B9E649F383 for ; Fri, 14 Mar 2014 09:37:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E5D612034C for ; Fri, 14 Mar 2014 09:37:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 01F292034B for ; Fri, 14 Mar 2014 09:37:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755793AbaCNJhr (ORCPT ); Fri, 14 Mar 2014 05:37:47 -0400 Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11]:3706 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755608AbaCNJhq (ORCPT ); Fri, 14 Mar 2014 05:37:46 -0400 Received: from mail127-tx2-R.bigfish.com (10.9.14.234) by TX2EHSOBE010.bigfish.com (10.9.40.30) with Microsoft SMTP Server id 14.1.225.22; Fri, 14 Mar 2014 09:37:45 +0000 Received: from mail127-tx2 (localhost [127.0.0.1]) by mail127-tx2-R.bigfish.com (Postfix) with ESMTP id 2C93FE0323; Fri, 14 Mar 2014 09:37:45 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275bh1de097hz2dh2a8h839he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1fe8h1ff5h2218h2216h226dh22d0h24afh2327h2336h2438h2461h2487h24d7h2516h2545h255eh25cch25f6h2605h1155h) Received: from mail127-tx2 (localhost.localdomain [127.0.0.1]) by mail127-tx2 (MessageSwitch) id 1394789862452876_18689; Fri, 14 Mar 2014 09:37:42 +0000 (UTC) Received: from TX2EHSMHS008.bigfish.com (unknown [10.9.14.226]) by mail127-tx2.bigfish.com (Postfix) with ESMTP id 67B1DA00A2; Fri, 14 Mar 2014 09:37:42 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS008.bigfish.com (10.9.99.108) with Microsoft SMTP Server (TLS) id 14.16.227.3; Fri, 14 Mar 2014 09:37:39 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server (TLS) id 14.3.158.2; Fri, 14 Mar 2014 09:37:38 +0000 Received: from titan.am.freescale.net (b45104-01-010192208233.ap.freescale.net [10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s2E9bXqX011438; Fri, 14 Mar 2014 02:37:33 -0700 From: Hou Zhiqiang To: , CC: , , , , , , , , , Hou Zhiqiang Subject: [PATCH 1/2] powerpc/85xx: Add a property bus-num for espi controller Date: Fri, 14 Mar 2014 17:35:56 +0800 Message-ID: <1394789757-40732-1-git-send-email-B48286@freescale.com> X-Mailer: git-send-email 1.8.5 MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-FOPE-CONNECTOR: Id%0$Dn%FREESCALE.MAIL.ONMICROSOFT.COM$RO%1$TLS%0$FQDN%$TlsDn% Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, UNRESOLVED_TEMPLATE autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP To use "mtdparts=..." in cmdline, the spi_master bus_num must be static. This property is use to asign a static bus number for spi_master other than allocate dynamically. Signed-off-by: Hou Zhiqiang --- arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi | 1 + arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi b/arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi index 75854b2..cb4d488 100644 --- a/arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi +++ b/arch/powerpc/boot/dts/fsl/pq3-espi-0.dtsi @@ -38,4 +38,5 @@ spi@7000 { compatible = "fsl,mpc8536-espi"; reg = <0x7000 0x1000>; interrupts = <59 0x2 0 0>; + bus-num = <0>; }; diff --git a/arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi index 6db0697..54358f3 100644 --- a/arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi +++ b/arch/powerpc/boot/dts/fsl/qoriq-espi-0.dtsi @@ -38,4 +38,5 @@ spi@110000 { compatible = "fsl,mpc8536-espi"; reg = <0x110000 0x1000>; interrupts = <53 0x2 0 0>; + bus-num = <0>; };