Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1902144yba; Mon, 15 Apr 2019 00:18:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCz9WW3Nl7UBG6uIiNu3IOGaHfv06YjK1OFGfXJwO07qw4mXljA5Qb4mmBf3xK1nG+RTIT X-Received: by 2002:a17:902:184:: with SMTP id b4mr53105320plb.26.1555312732123; Mon, 15 Apr 2019 00:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555312732; cv=none; d=google.com; s=arc-20160816; b=BvBjmZL/cJADFjwxkMeMrW3Yw3Tzcd32+bB2S3VaTHvPf0xy24c6Rk/pfSyPYAt5O4 Q7w1Xbz9FSh7U0ODJP33BV7AhL/ZRv3fCLizGEl9EprhK18vp/ZO6KlKLC/85VMUoLKh j4mBcsvyLp7Q8Q8/Ogf+yo25J1R0corIj4svndIGGBRxDJ2rhINRh8WH8HfADPAmOWPW u4HcKZEMPqzljscsQlvIVOkwJfCHQv0JdBSSZD8xdJY6gtBJjwty0q7Y3lcghxMJgqBB aTdGVkRfhSXgLOBqBWGEAbuVr8t2uRkJYWYVxVGUMGZpFA/bw2SUvNkjdcJgadjsLab3 8dEA== 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=/MFJFEs1mhN9kdi+XjP6FDN0ucQcFdPXWAYjcqzQMfE=; b=lJcvOk7H/3qkFKvaG9y4XELYejXIDuc4bKdsjhT/nIIDEq4pbHHam2sfegirsS7lKw w6ZLI8ZFQmiTk/Ybenr17fNpd47VMWspMNm6xbt2NZ2uKHBI5+f8rXtihwAp25TpLSTR 68tRt3IwPxQhhJCZxiENWUAb38xmD2E8nGjBD4ic3bNAn0/8OmRISDU9EiNGR2t8KOLm rJZwmJxQqv9dkWkD1WJ75vGaS9r3dr2B6EP6ZH8dUUX9XP/V1rF9izOPrgKlezf61hCi LT3YUoZHojMVIHJ9I8PriDqMeM8uIyESlRjASRT7RHobOXMubDN+z0Gz+TClLGkb55Ll Ey5Q== 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 o10si43087998pgg.314.2019.04.15.00.18.36; Mon, 15 Apr 2019 00:18:52 -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 S1726414AbfDOHR5 (ORCPT + 99 others); Mon, 15 Apr 2019 03:17:57 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:48705 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726332AbfDOHRy (ORCPT ); Mon, 15 Apr 2019 03:17:54 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG3.macronix.com with ESMTP id x3F7HBqw066124; Mon, 15 Apr 2019 15:17:14 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: broonie@kernel.org, marek.vasut@gmail.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, bbrezillon@kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , lee.jones@linaro.org, sergei.shtylyov@cogentembedded.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Cc: juliensu@mxic.com.tw, Simon Horman , Mason Yang Subject: [PATCH v10 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF controller bindings Date: Mon, 15 Apr 2019 15:37:14 +0800 Message-Id: <1555313834-15107-4-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1555313834-15107-1-git-send-email-masonccyang@mxic.com.tw> References: <1555313834-15107-1-git-send-email-masonccyang@mxic.com.tw> X-MAIL: TWHMLLG3.macronix.com x3F7HBqw066124 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 Gen3 RPC-IF MFD controller. Signed-off-by: Mason Yang --- .../devicetree/bindings/mfd/mfd-renesas-rpc.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt diff --git a/Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt b/Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt new file mode 100644 index 0000000..bfb3d29 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt @@ -0,0 +1,37 @@ +Renesas R-Car Gen3 RPC-IF MFD controller Device Tree Bindings +------------------------------------------------------------- + +Required properties: +- compatible: should be an SoC-specific compatible value, followed by + "renesas,rcar-gen3-rpc" as a fallback. + supported SoC-specific values are: + "renesas,r8a77995-rpc" (R-Car D3) +- reg: should contain 2 entries, one for the base address of rpc-if registers, + and one for the direct mapping area +- reg-names: should contain "regs", and "dirmap" +- clocks: should contain 1 entries for the module's clock +- clock-names: should contain "rpc" +- #address-cells: should be 1 +- #size-cells: should be 0 + +Example: + + rpc: rpc-if@ee200000 { + compatible = "renesas,r8a77995-rpc", "renesas,rcar-gen3-rpc"; + reg = <0 0xee200000 0 0x200>, <0 0x08000000 0 0x4000000>; + reg-names = "regs", "dirmap"; + clocks = <&cpg CPG_MOD 917>; + clock-names = "rpc"; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 917>; + #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