From patchwork Mon Apr 7 03:18:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 3944221 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 E8C09BFF02 for ; Mon, 7 Apr 2014 03:19:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27DB5200E5 for ; Mon, 7 Apr 2014 03:19:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B53620211 for ; Mon, 7 Apr 2014 03:19:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754636AbaDGDS6 (ORCPT ); Sun, 6 Apr 2014 23:18:58 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:35499 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754589AbaDGDS5 (ORCPT ); Sun, 6 Apr 2014 23:18:57 -0400 Received: by mail-pb0-f41.google.com with SMTP id jt11so6126181pbb.28 for ; Sun, 06 Apr 2014 20:18:57 -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=yGdDpiVK315nF0kL2zInBYHeN0+4HnCj2W70sxYhyV0=; b=Z1PtjfGVWywnl/mSz3esGDofYDwFQl9XREDxklyItW3P1FcwtLnW14Z/TMYJYjYgbz gbCo5HH+Fz6UfU73JfV7TIiaec+kDJDaxcohb8jdFYkkdzD8/ooS0eKWaEtBJXdw9r9U ejTdD4StX1LcX9ITf7+YuhkjMzgG5gse8GqgTI0kuJSs0LsjC0Xh8+WOWl451DDnmxpR UUAA/JDQvr/HYL9HMiuuchw219rSlMrvM+fvJPKWg7fzGiuOH+QmrjjSrKpf31syuyaS yirjx26/YdL34iqXFIjmjWJMdlZZLeZhkIqgkTIJ4EVHrNUcqjTscJ060hw23k09Nfg6 htJQ== X-Gm-Message-State: ALoCoQm9N86tRD25bGSoGgz9b91hf8jAPWtaYRXGRdJnC0nSVxtOuhai0ywdsIp0UOTlxHNbEnBp X-Received: by 10.66.192.73 with SMTP id he9mr28538828pac.88.1396840737214; Sun, 06 Apr 2014 20:18:57 -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 qw8sm33294599pbb.27.2014.04.06.20.18.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 06 Apr 2014 20:18:56 -0700 (PDT) Message-ID: <1396840732.7635.2.camel@phoenix> Subject: [PATCH RFC] 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 11:18:52 +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 The spi driver still works even if "efm32,location" property is not provided. Thus make "efm32,location" property optional. 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: