From patchwork Wed Feb 22 13:19:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Gorski X-Patchwork-Id: 731119 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3vSyff0pTbz9s1y for ; Thu, 23 Feb 2017 00:20:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jxwtzn4G"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932120AbdBVNUl (ORCPT ); Wed, 22 Feb 2017 08:20:41 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35039 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932519AbdBVNUk (ORCPT ); Wed, 22 Feb 2017 08:20:40 -0500 Received: by mail-wm0-f66.google.com with SMTP id u63so424147wmu.2; Wed, 22 Feb 2017 05:20:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v04yW+dCyop4TREW/OCuGCAiz8HS4jd+LLpi6gYn0Lg=; b=jxwtzn4GrCoEWKgjegIc8YG6PZ6Va4VH2O45MXttm781Sw0V9K0hAORJUxlC8SOg+M R5pJeo7YxZdCcBOPY9q1FVv9yLD+Z9bIide+MvbI/lyOavUKew29ljBTF8xQWy+hpPfH bvxNpLyvU1o42M5NhahvIqgBoQJMLCcDhDA28468e1GhdupnB45+aOn4QsFWxt9nf6ob uTuUTDLywa1o5dRYlbf/4Z3wvr8xoBgogFXGN4vu8KONcbBflbkTcQR8iFdtOpp0/aAE D34Qrx5tvM9Gs4880pkIOqp1bI1rzTyNbGZmpNKcW+xHTbQEYDBVJOG20pg86iCKJ+pG BZNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=v04yW+dCyop4TREW/OCuGCAiz8HS4jd+LLpi6gYn0Lg=; b=tHJQX1eib7zHSqtEHcHFok/SN+u+YsIV3BqwPzQ4fQPen/TjlPUUael1ziUEa5khjx vpVkNgyJed5hCCzqYNpf8i2OFNeVq66nfJAoHEZJbbpwrDgEvl8zyrDhZxo387eAgwl1 yjusOC+AbPpsfgBG1VcK26jyTKmrHpLh47x5hGhhxaMTqigLF2F3KJIzse5aiH23iXVx bbb6BKip19nWA5lTzNgaGfPrJnMk6I1VdwGBNDv0rTXSeat4xr0xPKxN3MYTdBgfgEcS Yj20+Z1t3dzSuVtB/mSbKpg+KILyc3WAfzFT/La2Has771+aJsQ+XrR77t2190C4How8 Eifw== X-Gm-Message-State: AMke39le4tWqjTxe4ARTrCfxeFG+NJUpm+n6afle4DgjwwRqsw2q29TlLHzb6niStc77VA== X-Received: by 10.28.70.2 with SMTP id t2mr2437865wma.34.1487769638789; Wed, 22 Feb 2017 05:20:38 -0800 (PST) Received: from localhost.localdomain ([2001:470:9e39::48e]) by smtp.gmail.com with ESMTPSA id e6sm1738937wrc.30.2017.02.22.05.20.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Feb 2017 05:20:38 -0800 (PST) From: Jonas Gorski To: linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Brown , Rob Herring , Mark Rutland , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com Subject: [PATCH 2/3] dt-bindings: spi: document bcm63xx HS SPI devicetree bindings Date: Wed, 22 Feb 2017 14:19:39 +0100 Message-Id: <20170222131940.31085-2-jonas.gorski@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170222131940.31085-1-jonas.gorski@gmail.com> References: <20170222131940.31085-1-jonas.gorski@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add documentation for the bindings of the high speed SPI controller found on newer bcm63xx SoCs. Signed-off-by: Jonas Gorski Acked-by: Rob Herring Reviewed-by: Florian Fainelli --- .../devicetree/bindings/spi/spi-bcm63xx-hsspi.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt diff --git a/Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt b/Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt new file mode 100644 index 000000000000..3b0a2220b896 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-bcm63xx-hsspi.txt @@ -0,0 +1,35 @@ +Binding for Broadcom BCM6328 SPI controller + +Required properties: +- compatible: must contain of "brcm,bcm6328-hsspi". +- reg: Base address and size of the controllers memory area. +- interrupts: Interrupt for the SPI block. +- clocks: phandle of the SPI clock. +- clock-names: must be "hsspi". +- #address-cells: <1>, as required by generic SPI binding. +- #size-cells: <0>, also as required by generic SPI binding. + +Optional properties: +- num-cs: some controllers have less than 8 cs signals. Defaults to 8 + if absent. +- clocks: a second handle for the PLL clock. +- clock-names: must be named "pll", if present. + +Child nodes as per the generic SPI binding. + +Example: + + spi@10001000 { + compatible = "brcm,bcm6328-hsspi"; + reg = <0x10001000 0x600>; + + interrupts = <29>; + + clocks = <&clkctl 9>, <&hsspi_pll>; + clock-names = "hsspi", "pll"; + + num-cs = <2>; + + #address-cells = <1>; + #size-cells = <0>; + };