From patchwork Mon Apr 7 06:42:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 3944471 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BD31ABFF02 for ; Mon, 7 Apr 2014 06:42:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DEEFD20340 for ; Mon, 7 Apr 2014 06:42:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E9867202DD for ; Mon, 7 Apr 2014 06:42:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751769AbaDGGm5 (ORCPT ); Mon, 7 Apr 2014 02:42:57 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:51240 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750922AbaDGGm5 (ORCPT ); Mon, 7 Apr 2014 02:42:57 -0400 Received: by mail-pa0-f48.google.com with SMTP id hz1so6302612pad.35 for ; Sun, 06 Apr 2014 23:42:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=y8gfakdGWIZWQv1FejSd6K7U6ryn2f4lU8V9Z5tVlBE=; b=Uc9cABLQta+fEuRD4X5pheSAw+tjFuNoX6kF2IHEy0Nk9uEwkbQOfnqgloJF2B4BmV cGMSSm69OrHeCCuh0mqpIm25ZWyJUfrxLLgjCJ1VGpKOWo2WY6HD+B+oMG0xTeueJQtE rF3TJ4r+E3CHgqPRwBqs4Ko3WwcURtOiWxK31a1D5Xm6sjRK1Z1l0WidlTOQjLfcc8nS urh8D+kc/LLLMDpfTFupYtIEmPKxuhw4+w/Z+7rff0LYy1vXA0Gj25Ji09+2Z5etrHI8 9vF1uW7zH0ouPAmYzobGefOGXpifNEIIR8DGwGh94pW4+Mas33ZJP0mvZvuUC6brGYa8 n7rA== X-Gm-Message-State: ALoCoQlklJNIkTkU+jDuE7+VAPBjnW0yYTGOviqya2HrVrRdAqRm2SqdtXDeScoZIpQxKFL6sy+b X-Received: by 10.66.141.144 with SMTP id ro16mr1249851pab.131.1396852976552; Sun, 06 Apr 2014 23:42:56 -0700 (PDT) Received: from [192.168.0.102] (218-164-138-125.dynamic.hinet.net. [218.164.138.125]) by mx.google.com with ESMTPSA id i10sm81109651pat.36.2014.04.06.23.42.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 06 Apr 2014 23:42:55 -0700 (PDT) Message-ID: <1396852971.26619.3.camel@phoenix> Subject: [PATCH v2] spi: efm32: Make "efm32,location" property optional From: Axel Lin To: Mark Brown Cc: Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , linux-spi@vger.kernel.org Date: Mon, 07 Apr 2014 14:42:51 +0800 X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 If "efm32,location" property is not provided, keeping what is already configured in the hardware, so its either the reset default 0 or whatever the bootloader did. Signed-off-by: Axel Lin --- Documentation/devicetree/bindings/spi/efm32-spi.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/efm32-spi.txt b/Documentation/devicetree/bindings/spi/efm32-spi.txt index 8f081c9..33e6040 100644 --- a/Documentation/devicetree/bindings/spi/efm32-spi.txt +++ b/Documentation/devicetree/bindings/spi/efm32-spi.txt @@ -8,6 +8,8 @@ Required properties: - interrupts: pair specifying rx and tx irq - clocks: phandle to the spi clock - cs-gpios: see spi-bus.txt + +Recommended properties : - efm32,location: Value to write to the ROUTE register's LOCATION bitfield to configure the pinmux for the device, see datasheet for values. Example: