From patchwork Mon Apr 7 07:11:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 3944561 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 C1CE99F3FF for ; Mon, 7 Apr 2014 07:11:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 03C3A20340 for ; Mon, 7 Apr 2014 07:11:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1929120357 for ; Mon, 7 Apr 2014 07:11:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754843AbaDGHLx (ORCPT ); Mon, 7 Apr 2014 03:11:53 -0400 Received: from mail-pb0-f51.google.com ([209.85.160.51]:61985 "EHLO mail-pb0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754685AbaDGHLw (ORCPT ); Mon, 7 Apr 2014 03:11:52 -0400 Received: by mail-pb0-f51.google.com with SMTP id uo5so6298952pbc.38 for ; Mon, 07 Apr 2014 00:11:51 -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=I8qqpf5Vv6AMYGTDPLi10o2s/eNsSS3TwTWcqKd+MRg=; b=mlgSrgroOm9xAsnPVR/40Z8L3GRYpUsMAXLghPC9ArSTlNdGq1zpd0br7bfeB3VdWe rHcq7bsqI9Iydc0L491lKnekWXZgP97XSlMTlfvJFxJBV5BQ5lox5YkyF++YNioCXgCp TWNn/+o4mXHbGob/jjP7ZzePlHbhHO8Q8VB4rEiZnQMTyX9aUVYFwJeV9jGUWorOOFs8 AL+B7A1uIg6Xo5q+3i31S6D/Ia0WiJWIKBwfHo+oPMJf63ytcYLODUtkKTogZbKU50An 4d68pYGAJI9GH9ndF4YAhcl1AhSqiAXGuLO4lZ4mpKGDCxNYSXIS57LKaGcwJwF+BU6q Nkug== X-Gm-Message-State: ALoCoQmfQrS0Nqw/gvklKxHESXo0ykjo090f0vaWFDVMoCY4LsbmfrcSVuUtSScG3IJargRGcBzC X-Received: by 10.69.31.235 with SMTP id kp11mr29370082pbd.33.1396854711891; Mon, 07 Apr 2014 00:11:51 -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 sm5sm81566037pab.19.2014.04.07.00.11.49 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 07 Apr 2014 00:11:51 -0700 (PDT) Message-ID: <1396854706.27810.1.camel@phoenix> Subject: [PATCH] spi: efm32: Update binding document to 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 15:11:46 +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 Acked-by: Uwe Kleine-König --- Documentation/devicetree/bindings/spi/efm32-spi.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/efm32-spi.txt b/Documentation/devicetree/bindings/spi/efm32-spi.txt index 8f081c9..130cd17 100644 --- a/Documentation/devicetree/bindings/spi/efm32-spi.txt +++ b/Documentation/devicetree/bindings/spi/efm32-spi.txt @@ -8,7 +8,13 @@ Required properties: - interrupts: pair specifying rx and tx irq - clocks: phandle to the spi clock - cs-gpios: see spi-bus.txt -- efm32,location: Value to write to the ROUTE register's LOCATION bitfield to configure the pinmux for the device, see datasheet for values. + +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. + 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. Example: