Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1374144ybv; Thu, 6 Feb 2020 03:02:26 -0800 (PST) X-Google-Smtp-Source: APXvYqx1FloNFp8LPNv4IXfLlJ+HE1QRHUaf7sfXG2Q919JB0vKjTqVvjDJSz2qyphHcRjvLPmut X-Received: by 2002:a9d:66c1:: with SMTP id t1mr27206510otm.73.1580986946504; Thu, 06 Feb 2020 03:02:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580986946; cv=none; d=google.com; s=arc-20160816; b=XQaBCk2kdQ+gj4N58Vh8fg813RwYRWOMNxZ/mR5lf6rVaSlzRR+AjOeOXjeITS9YDn Cx1IQWvbvv4EVSKDpmij2BSNelVJofM8NwZcVFK167mxy1oMgLIjMRIgW1F25vQahuUP R5a3dUpsyXsvGgZKT3rUNuqyse95urD1ET58cGjN1YqgIAV4WfVtDh8CqG8MNI0f5/Sj MQ+mYLeaNQ6oDZ7yPp2w6nuNR8MB00KKZL4zXT20FywRQNAaleG75ADWCpC8T9u8CWGh ZQhH7jwgXZBts087ytUgleQpeX25wOEmQK9OBoTRnFHZaaiKfMqn4Byi883/pUqovE+A h19Q== 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=SiniMnh/RN6JalocAKlnItv6rVv3J8q3lmdsPVBexzY=; b=p5A01zLd50i74jFvmgse0XP1wJpnaK9QDgqyYrjdbcF5uNdEZBZkP1Z8Gug7RJlAyE KYCnSgkNGKSc8ML0+/7UkXWdX+BD92gd4KOehTR1sZ5e1pXvAZ8vX676ReueF9MeGXTM al6rpBQkWlr/IrLjTNaj2KDeRcTKMsnayL9sU+JuWoCDRy6LNl/0FH78hzzPJ77Xyuzl DGOfvGsEmx7FpMqVIMc+js9FBYSAX77+v07S2ZV2IolPb+86HyrplHZywBmYecHKs5hD O6dF29Z5lt3L7t4fNnwLtEyZKoQkk7vrzaEwX3zkuf92Ky5m5H28b1+yjetVVxUcanbw y5qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hTjfFX4w; 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 a3si2187561oib.168.2020.02.06.03.02.13; Thu, 06 Feb 2020 03:02:26 -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=hTjfFX4w; 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 S1728068AbgBFIpp (ORCPT + 99 others); Thu, 6 Feb 2020 03:45:45 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:36626 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726673AbgBFIpp (ORCPT ); Thu, 6 Feb 2020 03:45:45 -0500 Received: by mail-pl1-f196.google.com with SMTP id a6so2069865plm.3; Thu, 06 Feb 2020 00:45:45 -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=SiniMnh/RN6JalocAKlnItv6rVv3J8q3lmdsPVBexzY=; b=hTjfFX4wJc781CINonn04AQZ1w/lSUFluU+ZgGw25i8Y3p0AkDMd+9KclIGdLgmVJe UQuh/AIHacNBSG1PZ7zDoe59M1Q1/U//h/zgLmCEyX/NNPAa1VjfPKy/4lCwfMuPDxRr CC/SXSl8ngzJyle30kJS7bMIKB3MxgzGlw3WB/gzO+ZuLNZSo02s3cc0khE3/syM0JQl DhNretY+cix2Mt3zUbL3kGptMYFqxES/JL0II8p2710RvoInFNWf8SEmCdwucFdic1l8 JQn9q9NLG8pfDo68spKNAX3DfYxYt5CT47CYnynuhxz5Ev9Xg2zO79pj8QkIYk3j7D7W 9EXw== 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=SiniMnh/RN6JalocAKlnItv6rVv3J8q3lmdsPVBexzY=; b=NEkWQTyG4jTKMkUJg5MZNjHB0pyJ0Y9aGBxLsc4HvlKAppN0VtVUXW5wfkjO2dkMVR MMHvMJyQpsdFVqqImhZbBWtg3ddVnyxMWWh2yHK4g/qSxtAdO3Hr6DYW7THAZVAjygzU bmsyXy0ijSoPBUKJ0ZRhejqxer+cxKtjXOpRC62vBo0wrjl7rWEqFTVIHnPoNu+MiPYh zCvLONVUj7qhLhifu54QSPwwLS5P8OSaEDlW1G1HJd9CWjeCnWJq7ETioXPtvA2KhaTV OgJFtWC2ewmd6rbP9YDCuVu+9FewwfbCHLejxRTJJB25e9WlUkZAX74GnCH/do2DpaWo f7lw== X-Gm-Message-State: APjAAAUNXP+NMj/2lfpUEQU8sBIiNKno5EzihUcQAQEDZm1+KnVpusNS KPIW0isFH9P0spv7AvDX4FQL5/BOPqfoxg== X-Received: by 2002:a17:902:aa04:: with SMTP id be4mr2701711plb.41.1580978744512; Thu, 06 Feb 2020 00:45:44 -0800 (PST) Received: from localhost.localdomain ([240e:379:947:2855::fa3]) by smtp.gmail.com with ESMTPSA id 6sm2638370pgh.0.2020.02.06.00.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 00:45:43 -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 resend 2/2] dt-binding: spi: add bindings for spi-ar934x Date: Thu, 6 Feb 2020 16:44:43 +0800 Message-Id: <20200206084443.209719-3-gch981213@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200206084443.209719-1-gch981213@gmail.com> References: <20200206084443.209719-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 --- .../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..8f0c520a571c --- /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 = <&pll ATH79_CLK_AHB>; + #address-cells = <1>; + #size-cells = <0>; + }; -- 2.24.1