Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp251419ybv; Thu, 6 Feb 2020 22:17:45 -0800 (PST) X-Google-Smtp-Source: APXvYqz1zbT/3tXXucq60cQx/19LqIhr44ZyjwFVyHEUKQvJAPE3WvHpEmvsI3WN9Nm55y6dle/S X-Received: by 2002:a05:6830:1d4c:: with SMTP id p12mr1568509oth.198.1581056265429; Thu, 06 Feb 2020 22:17:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581056265; cv=none; d=google.com; s=arc-20160816; b=AxqpEjJCdURyFX3TTQ8UjigtRe9MbJvwbgSsFfh17wL9dBgsInGWreDmI2M2tsXQZ3 te9H5NbsoDVXnvXck27QMO1w2FZGP64M8MEVU21bpzvL6IPiFOwy89QJB5fqb7J8HYXf Ko8dJcYxYEDjJd5Z2d0mcrDPRiCw1TctKmXdCIa/iwDerJ9oFxuWe36A7UuNIIAkxhQi TBUVn3kc4LfbwfoOwAZFAm1ZL39q5NY5NBgLerNAwT0xJ+b/ChKKttH3tbmbJJ0dYU1P nT6la8pLACCLTuOZSTnawlnSR8EvLqNi0IQ3KTvc+5FPe0clugxahPuvIwl/RsbBIDcc zXqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LLDRXPEmr92tJ/zW0EJ5LnXwFmsRZHZ9agSKK3TRvMc=; b=WZ7OvwBajq2mDJPeSoZUL3xDknf4ETiB9SJ/yr7ySLvU2UvZ4O/KDsKj/xa2ekOhLt k2qq+a5YSR+NouuEfxRUVkZzb7kl/y6Oe5u9ddLMvha/2o5WDrNqkFMHbaq0ZWXISE+4 H7C2hDy1RDWLx8+N4DbOkETnDrD1qf5pte5VCmWohcaJ6cniBdY80BJ/xTJJyh11C63T 3XuykDirj3UfxONarYZqtT9AEGgZHhUdzzhdm35rwgie11Eo8m0sNeEWNMY+emZ7E1wB ZNez2dngf0vtN5Cd4nYeXcVfM2odTSq+msPveP6Y8iYkFZqbCL1HjpAZZvBroVkc6c0S I4xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kI+DrXub; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l26si1145779oti.152.2020.02.06.22.17.33; Thu, 06 Feb 2020 22:17:45 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kI+DrXub; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727031AbgBGGQN (ORCPT + 99 others); Fri, 7 Feb 2020 01:16:13 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42586 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbgBGGQM (ORCPT ); Fri, 7 Feb 2020 01:16:12 -0500 Received: by mail-pl1-f193.google.com with SMTP id e8so562717plt.9; Thu, 06 Feb 2020 22:16:12 -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 :mime-version:content-transfer-encoding; bh=LLDRXPEmr92tJ/zW0EJ5LnXwFmsRZHZ9agSKK3TRvMc=; b=kI+DrXub+Bc0HwoHIQ/uBOvcuKrRA4Jte58ps5rM6l0GEkIoMVuiEtEnp+CyoWLngP n4TPr3qIyOzs5/zPH4o12NuMH0zQPmCYN5hNUuucVJl22IgI3vPHKzqhyiENFGuWq4fH PZ/PjB6KIZc0awYqwR0nS6Jb/H+5WVSj0WHD5ZRzdYMBdkHkCuUevuXB6uhSB+4f9IVL rDxpLNvNz7GJY+6ZOMe1p5M2oxaK5hGeKq/4V9phQkjt0dzRW5Z6D3xa/lKfDCCfT1jR 1aZE1JQiYsn2DMZraNN379M0eLcWesDNR1gDjNsx4ZjBjT+LbpJrJn+fUcsPySmpXZ9v 7dwA== 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:mime-version:content-transfer-encoding; bh=LLDRXPEmr92tJ/zW0EJ5LnXwFmsRZHZ9agSKK3TRvMc=; b=ceW++m0rMwsCP+STPizJuvMbmQxA/Lx/4PnxVLGarI1A9f6gJw5IzsFmrQudYM3mKg cTUSPMhP9Ba3et53d51lc9QWzOgxvi8f9BBtXPhLq+V/oux4RTOzokmgybLpWbJTeW1m tFbc1GnhyGqAnjlFcBVHdDY34EaAeUDYobR3fwRF9ZQbNaZpq8dlnMpY0APjNkDF0AZq upGOUPr5oxK6mO7IBw0vrWJE18Wfgn7gFCXzs/XhUJhWWUVYJ6lN3evVeTsOvOjrnFwe zcvF3qw3ymKY1gCw3rpuicVxgtrXhBQZLOLd4SKziT5iiG3FtG7NB5yfilClJpOHlED/ ckLg== X-Gm-Message-State: APjAAAXTaon7HJ+9s9nxw8fn5GEzcP7JXDXBSuGbwWO7Nx3jHedXrZxn JerT4Pgm2B5Rg26MkcE7TMsdE+obF8dQDg== X-Received: by 2002:a17:902:9b93:: with SMTP id y19mr8090102plp.89.1581056171645; Thu, 06 Feb 2020 22:16:11 -0800 (PST) Received: from localhost.localdomain ([2001:19f0:7001:2668:5400:1ff:fe62:2bbd]) by smtp.gmail.com with ESMTPSA id gc1sm1127414pjb.20.2020.02.06.22.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 22:16:11 -0800 (PST) From: Chuanhong Guo To: linux-spi@vger.kernel.org Cc: Mark Brown , linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Chuanhong Guo Subject: [PATCH v3 2/2] dt-binding: spi: add bindings for spi-ar934x Date: Fri, 7 Feb 2020 14:14:06 +0800 Message-Id: <20200207061406.1735079-3-gch981213@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200207061406.1735079-1-gch981213@gmail.com> References: <20200207061406.1735079-1-gch981213@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add binding documentation for SPI controller in Qualcomm Atheros AR934x/QCA95xx SoCs. Signed-off-by: Chuanhong Guo --- Change since v2: replace clock binding in example with a bogus spi_clock to fix dt binding check error. Change since v1: none .../bindings/spi/qca,ar934x-spi.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml diff --git a/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml b/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml new file mode 100644 index 000000000000..d90c81d4127d --- /dev/null +++ b/Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/qca,ar934x-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Atheros AR934x/QCA95xx SoC SPI controller + +maintainers: + - Chuanhong Guo + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: qca,ar934x-spi + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - '#address-cells' + - '#size-cells' + +examples: + - | + spi: spi@1f000000 { + compatible = "qca,ar934x-spi"; + reg = <0x1f000000 0x1c>; + clocks = <&spi_clock>; + #address-cells = <1>; + #size-cells = <0>; + }; -- 2.24.1