From patchwork Thu Apr 14 12:20:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylvain Lemieux X-Patchwork-Id: 8835821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6DC999F3D1 for ; Thu, 14 Apr 2016 12:37:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A7F02026C for ; Thu, 14 Apr 2016 12:37:02 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 3B75A20256 for ; Thu, 14 Apr 2016 12:37:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqgUp-0002XZ-Bv; Thu, 14 Apr 2016 12:35:43 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqgUm-0002Eb-Vj for linux-arm-kernel@bombadil.infradead.org; Thu, 14 Apr 2016 12:35:41 +0000 Received: from mail-ig0-x242.google.com ([2607:f8b0:4001:c05::242]) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1aqgGo-0004qu-V9 for linux-arm-kernel@lists.infradead.org; Thu, 14 Apr 2016 12:21:15 +0000 Received: by mail-ig0-x242.google.com with SMTP id fn8so10485369igb.2 for ; Thu, 14 Apr 2016 05:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rvrTcllU95CKwnV8MSdgMxrBucvbdtYXuEYeeQhlxZ8=; b=nm4P6fI5y9fCN1OqgZqQsUFrGz6vhfhAu4joKPcwv05gh9YdtEXLXmFEMu1C7nBYnx ELqKO5x6df8KWTHGbKge5/Ej9F0E+M/xtZ5lYHhHwVFYi5luv88/s6JIuH/qkWkEUaYy /r1TLFndnoRu8i9EUXkOVEaLPW2bfQ8685jXasUXb5us0U7LMdojOfTe2t3ZuJ6j/xC7 Z6iq/ruFHJOqwkNrxbDXpuUY7GuE1LU+YjojP0bwJr2FIeXSfjh4s4mhRRAH8j6p1wwE 0NDNIeKUn1VYCu4852DrbXGqCC9KYtYyrXWMAGlN67kCp5CwmG7I/Lz+EM3UIpQQggNc TeYg== 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:in-reply-to :references; bh=rvrTcllU95CKwnV8MSdgMxrBucvbdtYXuEYeeQhlxZ8=; b=LQYSvJO8VKR1BsnYg3lNKabR1EJyEb2Vr7s1weS4c5gKSZcjpM2G5EUVcCWNHfmZgS ourvsPPxHjDF/BLN+L+avjbF1DkL4Sp/NEbfWP/AFvRsvVyYJGSJXpQGK25KiKVud/fb A6EwK8X0PotFDECvQBUp2YVhupSYWLczVKLNDLaZPfYH4X7+p/n7CC+YY1MySCOE018g 9XqM2hRjFXA9th90fuvyvs1V/TCQFgKbEBvgjtOPsYe6m/+r8XYAGumC6I5NtVoGzsnX aCHONWSurReD2UExdJKmh/yfdjJ58k+zkC1DQdXWf77dlVcHiW6Ln8ZZ2GpUcbapF3qk pHjg== X-Gm-Message-State: AOPr4FWttGQA5d23WR8WERohCui/hIccmHHI5MKWT3nB5ZBU3XAmXNj9/WCwP3oIZnXSwA== X-Received: by 10.50.58.234 with SMTP id u10mr2808146igq.30.1460636451739; Thu, 14 Apr 2016 05:20:51 -0700 (PDT) Received: from CABRO3AP00510.americas.tsp.ad ([74.51.240.241]) by smtp.gmail.com with ESMTPSA id n1sm2972064iga.6.2016.04.14.05.20.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2016 05:20:50 -0700 (PDT) From: slemieux.tyco@gmail.com To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de Subject: [PATCH 2/3] arm: dts: lpc32xx: disabled ssp0/spi1 & ssp1/spi2 by default Date: Thu, 14 Apr 2016 08:20:36 -0400 Message-Id: <1460636437-21764-3-git-send-email-slemieux.tyco@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1460636437-21764-1-git-send-email-slemieux.tyco@gmail.com> References: <1460636437-21764-1-git-send-email-slemieux.tyco@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160414_132115_137856_5D658305 X-CRM114-Status: UNSURE ( 8.64 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) 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: stigge@antcom.de, vz@mleia.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY 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 From: Sylvain Lemieux The SSP0/SPI1 and SSP1/SPI2 shared pinout and should be disable by default. Board specific dts should enable them, as needed. Signed-off-by: Sylvain Lemieux --- arch/arm/boot/dts/lpc32xx.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi index 0b6a643..aa5cb43 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -162,12 +162,17 @@ compatible = "simple-bus"; ranges = <0x20000000 0x20000000 0x30000000>; + /* + * ssp0 and spi1 are shared pins; + * enable one in your board dts, as needed. + */ ssp0: ssp@20084000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x20084000 0x1000>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clk LPC32XX_CLK_SSP0>; clock-names = "apb_pclk"; + status = "disabled"; }; spi1: spi@20088000 { @@ -175,14 +180,20 @@ reg = <0x20088000 0x1000>; clocks = <&clk LPC32XX_CLK_SPI1>; clock-names = "apb_pclk"; + status = "disabled"; }; + /* + * ssp1 and spi2 are shared pins; + * enable one in your board dts, as needed. + */ ssp1: ssp@2008c000 { compatible = "arm,pl022", "arm,primecell"; reg = <0x2008c000 0x1000>; interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clk LPC32XX_CLK_SSP1>; clock-names = "apb_pclk"; + status = "disabled"; }; spi2: spi@20090000 { @@ -190,6 +201,7 @@ reg = <0x20090000 0x1000>; clocks = <&clk LPC32XX_CLK_SPI2>; clock-names = "apb_pclk"; + status = "disabled"; }; i2s0: i2s@20094000 {