Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1500289img; Tue, 19 Mar 2019 08:56:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPNkvYHMH91MrbfqivcbKetW+lZGiK6g5LwKGpoGQgPsF3d+sAiOh1FbnnsL69bXyv81Xs X-Received: by 2002:a63:d542:: with SMTP id v2mr2782015pgi.52.1553010975229; Tue, 19 Mar 2019 08:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553010975; cv=none; d=google.com; s=arc-20160816; b=tIURS0MhsUQrfgqqcwCFIU9kg1Xm6Oge3L/7Yr7xAgwc8/TMiwOJFELTtqTka2wCNe 8V2X+lVuNTaVvReBAqXMW8g1BxPvey6u69RCOPKYW3/wo4FkmBx+wddQy00t/852xJxi SrGgoQ+4GS8fu3IxwsiopENQSzl9lpv/+kC4Wv+bMhVqOAJibgGyIeA7LrALFOa8Kvxo 8K4uRMoe41F1cBOn4RmWcnnR2jjzvcmLwzNlwTJRO0q8gXaUd9HDTid1KcLe9b8yziYe DVa4fJfp/02gtINNibcJ5VxZyMEZ0/Wb4Ars/PH83vM6Yj3rkzrK7tvDust5S9tJTdNl 16AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=MNohd2f5W8j7aTGkvuGBvJqxUUKrR55U/yYj02au4/4=; b=id5GYxOveOzOuirc6cvimA/g5lItZq+MfMulfVC084ZCJPiwCjPHCl2YvQ1HYzLH+k nC2+HIy3wDtpyBanDv5vOYkyTro4lGd3NU6TvU6aVzDqzRQ2X9qv7D+HpG9kma2+Ec4F kenJIF71gUH2BF0wUactlH++cPo39MMtrCikpU31utvdkkOTSARM6CeJcDhOXMg/yTt+ WCK0Zr9qLROcz190Z8BigDT8kVd+lWLbn84PnzfbXD6PEqWwMoEGXxs8Y9G/09T5+m8X zknHrdLDMrGbz3ejeZqjHeisBkmOrE6jJuMRQ+tFq+iNm0t411PO2eHsYnXGX7ATXHdr Yugg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24si8204695pfp.261.2019.03.19.08.55.58; Tue, 19 Mar 2019 08:56:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727764AbfCSPys (ORCPT + 99 others); Tue, 19 Mar 2019 11:54:48 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:62501 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726579AbfCSPyr (ORCPT ); Tue, 19 Mar 2019 11:54:47 -0400 X-IronPort-AV: E=Sophos;i="5.58,498,1544454000"; d="scan'208";a="10591164" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 20 Mar 2019 00:54:45 +0900 Received: from renesas-VirtualBox.ree.adwin.renesas.com (unknown [10.226.37.56]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 609BF400F044; Wed, 20 Mar 2019 00:54:43 +0900 (JST) From: Gareth Williams To: Mark Brown , Rob Herring , Mark Rutland Cc: Phil Edworthy , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gareth Williams Subject: [PATCH v2 1/3] dt-bindings: snps,dw-apb-ssi: Add mandatory clock bindings documentation Date: Tue, 19 Mar 2019 15:52:05 +0000 Message-Id: <1553010727-23157-2-git-send-email-gareth.williams.jx@renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553010727-23157-1-git-send-email-gareth.williams.jx@renesas.com> References: <1553010727-23157-1-git-send-email-gareth.williams.jx@renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Phil Edworthy The Synopsys SSI driver uses a mandatory clock that is not documented, so detail it in the device tree bindings. Also correct the spelling of "pins" in the "Optional Properties" section for the driver. Signed-off-by: Phil Edworthy Signed-off-by: Gareth Williams --- v2: - Seperated spelling correction and mandatory clock documentation from the optional interface clock documentation commit. --- Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt index 2864bc6..bcd8f96 100644 --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt @@ -8,9 +8,10 @@ Required properties: - interrupts : One interrupt, used by the controller. - #address-cells : <1>, as required by generic SPI binding. - #size-cells : <0>, also as required by generic SPI binding. +- clocks : phandle for the core clock used to generate the external SPI clock. Optional properties: -- cs-gpios : Specifies the gpio pis to be used for chipselects. +- cs-gpios : Specifies the gpio pins to be used for chipselects. - num-cs : The number of chipselects. If omitted, this will default to 4. - reg-io-width : The I/O register width (in bytes) implemented by this device. Supported values are 2 or 4 (the default). @@ -25,6 +26,7 @@ Example: interrupts = <0 154 4>; #address-cells = <1>; #size-cells = <0>; + clocks = <&spi_m_clk>; num-cs = <2>; cs-gpios = <&gpio0 13 0>, <&gpio0 14 0>; -- 2.7.4