Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2535273imu; Mon, 19 Nov 2018 02:03:42 -0800 (PST) X-Google-Smtp-Source: AJdET5ekpqLd7eDT4KzyHinoBBHIxD3TwIh+NZlfP+NV/i/8Z3rsit9orp5er8mromOA/lsshnIp X-Received: by 2002:aa7:868f:: with SMTP id d15mr12490140pfo.225.1542621821976; Mon, 19 Nov 2018 02:03:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542621821; cv=none; d=google.com; s=arc-20160816; b=TVSumh7v204ieq5Or3GTJFzxuxN6C9Vn7s96vGz+FeXuK6u9NiwUppc1yi8Lb2LDj7 olO4WiM1n0tD3DAYJ+ZAMb6bXAjobfgWrZMKD/92xHgoxQSeEr5TRUiYWdRlUA7V7BXw YaOrhYfTyb4EktdVF29Gp0AO4e4N0D32B5pn5nrRWmOccG3y0KmRrT+tiP+7kZRu/VBq 3bdaQhBewGPApDzBcqmJm2WH46FXxOn3HWApkc394tNckG7Q2k2orAOff3F/YB2femiS kPDnPtgNKp7V8B+hMlgszjRRJYeLumJb0QXlprKbASlTS1QXDRvo9ayVNX+r2e84yxGk tBOA== 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=78v9O1e0qkaKS3SeQW5i/9i541tns8fm0atBR23W/wE=; b=aoaiS6AubenEVvdKrDmMlo6aEq8eqWeeyb68zEyUnnWAh6VB/THsAQABRYS8a6hNQx SL27pWHBKlcdzudDd7kpgCYnuYzV2okPsFKn1zwLtU0gd1yDF+5WS3MTpgiPCzUJiIai CKZlbT05SHEqI9cALSj6lM38iwe3/j/GQ48fc+EcElik5EvEYzSVCKaFLdmsDCCP5+vN R2RJavJcXDQaG6YeazFcNQVJECU1/YWhKXXv1fgZCTakPlGea1y8PAJXzf07VXCdSBiG dOc4hv1kOGLfoMqNyfsAeGan9iPMIIJYXRUsW+5W911hPRhbOPW646ToULsfKWTifqU3 bZUA== 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 w17si33230662pgl.6.2018.11.19.02.03.26; Mon, 19 Nov 2018 02:03:41 -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; 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 S1727644AbeKSUZo (ORCPT + 99 others); Mon, 19 Nov 2018 15:25:44 -0500 Received: from twhmllg4.macronix.com ([122.147.135.202]:16036 "EHLO TWHMLLG4.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726287AbeKSUZn (ORCPT ); Mon, 19 Nov 2018 15:25:43 -0500 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG4.macronix.com with ESMTP id wAJA1VDO035565; Mon, 19 Nov 2018 18:01:33 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: broonie@kernel.org, tpiepho@impinj.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Simon Horman Cc: boris.brezillon@bootlin.com, juliensu@mxic.com.tw, Geert Uytterhoeven , zhengxunli@mxic.com.tw, Mason Yang Subject: [PATCH 2/2] dt-binding: spi: Document Renesas R-Car RPC controller bindings Date: Mon, 19 Nov 2018 18:01:30 +0800 Message-Id: <1542621690-10229-3-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1542621690-10229-1-git-send-email-masonccyang@mxic.com.tw> References: <1542621690-10229-1-git-send-email-masonccyang@mxic.com.tw> X-MAIL: TWHMLLG4.macronix.com wAJA1VDO035565 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the bindings used by the Renesas R-Car D3 RPC controller. Signed-off-by: Mason Yang --- .../devicetree/bindings/spi/spi-renesas-rpc.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt diff --git a/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt new file mode 100644 index 0000000..8286cc8 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt @@ -0,0 +1,33 @@ +Renesas R-Car D3 RPC controller Device Tree Bindings +---------------------------------------------------- + +Required properties: +- compatible: should be "renesas,rpc-r8a77995" +- #address-cells: should be 1 +- #size-cells: should be 0 +- reg: should contain 2 entries, one for the registers and one for the direct + mapping area +- reg-names: should contain "rpc_regs" and "dirmap" +- interrupts: interrupt line connected to the RPC SPI controller +- clock-names: should contain "clk_rpc" +- clocks: should contain 1 entries for the CPG Module 917 clocks + +Example: + + rpc: spi@ee200000 { + compatible = "renesas,rpc-r8a77995"; + reg = <0 0xee200000 0 0x8100>, <0 0x08000000 0 0x4000000>; + reg-names = "rpc_regs", "dirmap"; + clocks = <&cpg CPG_MOD 917>; + clock-names = "clk_rpc"; + #address-cells = <1>; + #size-cells = <0>; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <40000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <1>; + }; + }; -- 1.9.1