From patchwork Wed Apr 20 13:21:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylvain Lemieux X-Patchwork-Id: 8889921 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E6B3BBF29F for ; Wed, 20 Apr 2016 13:23:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D6AB201FA for ; Wed, 20 Apr 2016 13:23:36 +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 47E0C20149 for ; Wed, 20 Apr 2016 13:23:35 +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 1ass4r-00015N-SR; Wed, 20 Apr 2016 13:21:57 +0000 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ass4W-0000vQ-LN for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2016 13:21:37 +0000 Received: by mail-qk0-x244.google.com with SMTP id k126so2062242qke.2 for ; Wed, 20 Apr 2016 06:21:16 -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=JsGL4B+XwbnqI2fxh5/I1OSeCRPFHwOwgdgR9O/cVeQ=; b=QV6Qhi1yiyuJcIf1QUCOq+aKNf0ycEu9Uwl3kauHpGh7FHhYjpOM+KiOqsvdcELk2D neJOSanpBwavM4HMfo/OfDhBJiyw7pn/5OyR3KjZJju2rXFWQgAQIvWAKmhjn471OITU +q1Hm20f7orSTaBOsXticF+k1L3EdxCc/y7dauavFH/bsxE1eE4S7kvTp8eFsyLYZJgV CNHw2vJEO9Pc3d810InWEszhP14zbyuOPVEL2IBGtMZnRPkQvhMtVgDqQapWtZvYZuJK oSiMU96Ha1ux+/niasqXoAyzaulD11reYV8Q4Qjgwl9wO4U1JMdKyh+cwa3p22pKlsuj GIww== 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=JsGL4B+XwbnqI2fxh5/I1OSeCRPFHwOwgdgR9O/cVeQ=; b=k3NXutPJJZin2kDv+azaxTa+RN5XOeC9s/dATEBNb1MLrkUDKZ/9uTI6NI83ziXdI4 7Y+OHn6PbUhBc7Xf8ixLmSEH1WOgCLZ3oibLTU8PBbNei+0VJtJh/4RpNRLj/9mqtDCY voXcFyLqPusHeoIQlSauTYRp5ZDS0nFWb2SfC0rtTSu3KMaJgR6mtl3maoPD6oQ0oFq3 xbZHQTnHhXpShSWfC7/3lAAhD6RGmPMOuEpoylnYUEJAnYDe5rDvdpHv3jbXcsa1aBQY peNH3XpfTtH+nrai9z4Va4RI01acYcGBG3D//9OBKgQHI+OKhQPvQU2Zb+2qe5jhTVlt XLoQ== X-Gm-Message-State: AOPr4FUaoBYr3tO1xslzUn/gsp6Mf7utFtorWqb/Vt36dodoWkWkmcPeStKkuun4ZnauAw== X-Received: by 10.55.79.207 with SMTP id d198mr11102834qkb.49.1461158475374; Wed, 20 Apr 2016 06:21:15 -0700 (PDT) Received: from CABRO3AP00510.americas.tsp.ad ([74.51.240.241]) by smtp.gmail.com with ESMTPSA id r136sm7589850qke.46.2016.04.20.06.21.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2016 06:21:14 -0700 (PDT) From: Sylvain Lemieux To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, vz@mleia.com Subject: [PATCH v2 3/3] ARM: dts: lpc32xx: disabled ssp0/spi1 & ssp1/spi2 by default Date: Wed, 20 Apr 2016 09:21:00 -0400 Message-Id: <1461158460-2946-4-git-send-email-slemieux.tyco@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1461158460-2946-1-git-send-email-slemieux.tyco@gmail.com> References: <1461158460-2946-1-git-send-email-slemieux.tyco@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160420_062136_842525_DC239E9F X-CRM114-Status: GOOD ( 10.21 ) 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, devicetree@vger.kernel.org, robh+dt@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-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 1b2f351..73c4746 100644 --- a/arch/arm/boot/dts/lpc32xx.dtsi +++ b/arch/arm/boot/dts/lpc32xx.dtsi @@ -162,32 +162,44 @@ 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 { compatible = "nxp,lpc3220-spi"; reg = <0x20088000 0x1000>; clocks = <&clk LPC32XX_CLK_SPI1>; + 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 { compatible = "nxp,lpc3220-spi"; reg = <0x20090000 0x1000>; clocks = <&clk LPC32XX_CLK_SPI2>; + status = "disabled"; }; i2s0: i2s@20094000 {