Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1491233yba; Thu, 25 Apr 2019 00:12:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwo7pj9iHGW3J/OwwkI8eIW33Ffa0nsLoEsI2fmqP67Sftfbd1j3ZxA2r4MHJ/xvm2t3uJX X-Received: by 2002:a17:902:9687:: with SMTP id n7mr3258427plp.105.1556176378864; Thu, 25 Apr 2019 00:12:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556176378; cv=none; d=google.com; s=arc-20160816; b=oYyo9/bUvnIBn4X1cRMfOcfa91Mgci4FeR2hitUErVvlxsDukGo2eZFMN+cthbw/Qi Q5WnWduvrbqOpVFOiy7UmzoRxGmizQhEuAIB6eQH3/sspV9+p69Vo57YKMHBn2qsGoAW BNxrg5Ioxlx6noIIdSZo4c3gS+yTbRHiGvHYj/yEev46c/RTu/EMI8LRiqi+4esIYiqE CEHpnGqX58ZQT/GSsugMU/jb6IR1N+183ldzrCQyBL6xteSLH+Zlxn0IOWHmTpfaUEhI CI4kngAoqQTTUUNT4ngOlP/m8xDA4UnoVhkCel2v3P327QvVKkEH9TvHjl0Qjr9Bg/aE pTAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=04EpxJXw4mXPYtYB891cYmt+jQome5FdL9anudXX+Wk=; b=BL4LHbpcHpqsR8D5u20KnS9CmqXssSkLopleEPU81BdpWjZmlmR+zeIkY3WGdlJmrl fBV01vjskY4T/iCLhhTcflM3U4dJj8OmWb5undafncw1W9OfA6VWTDFazukbAuZ/CJQU CIfgWowVoIdN0m54NfJ4h3utjX5epKzlDN7q8jcDlBZuzYCPAH/Kvv1dkclQfcuOc4YU spwS6OkfpUZGOELmLhewTm4H9drwxPLwhDewzNQEyk7nRnisgdB28V0Bgy5skq6zZe9h j3os0ZRPJRGmMK0pf+ARQD5BHm8ZKwAoN/7l4lrB9Cwf7V+KUOANrnQtOQDiSFKdg+kR kYNw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si9234659pgv.51.2019.04.25.00.12.43; Thu, 25 Apr 2019 00:12:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730959AbfDXVX6 (ORCPT + 99 others); Wed, 24 Apr 2019 17:23:58 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:44100 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730662AbfDXVX6 (ORCPT ); Wed, 24 Apr 2019 17:23:58 -0400 Received: by mail-oi1-f193.google.com with SMTP id l7so5948977oil.11; Wed, 24 Apr 2019 14:23:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=04EpxJXw4mXPYtYB891cYmt+jQome5FdL9anudXX+Wk=; b=RATiYGg1ZPpI6BieYEyLxqlHjbfnY5Ypo2nKLQ1TkLUlfwpVkwWGlXAh1IH+Zia08G i2o2+IS930JWyQsUwBfWrV3meFNwYBJJ/0yOSfUxjGAYknUNrb6anJJF7q6fZz4n+QIX EC3UE/gH9KjF9zBQJxKPyrxJYCbLbXvOSck0V3JlhT2404CBvNEpldT5oo27pECjEUXN Xz19jazaNEQvQ2aQ6iryOWxPXOrVy8TM1+hu8Pyg13pD5F8SpZPRckcA0bQR0TaexdCt SV2i/0d5z3az8fxz64tp8ATmW/rAsMXj0iUjusO1YlZg95a+PZohkneS8elOMHxIp8J3 y3/A== X-Gm-Message-State: APjAAAVSsvimgdLxXQ1il2PvS0669s5lw5ugxux1dIJ55RoREV3NCZDJ QOpUO6QRfhUZh8kvePaY6g== X-Received: by 2002:aca:3556:: with SMTP id c83mr897704oia.89.1556141037435; Wed, 24 Apr 2019 14:23:57 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id k73sm9950382otk.14.2019.04.24.14.23.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2019 14:23:56 -0700 (PDT) Date: Wed, 24 Apr 2019 16:23:56 -0500 From: Rob Herring To: Mason Yang Cc: 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, mark.rutland@arm.com, devicetree@vger.kernel.org, juliensu@mxic.com.tw, Simon Horman , zhengxunli@mxic.com.tw Subject: Re: [PATCH v12 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF MFD bindings Message-ID: <20190424212356.GA27103@bogus> References: <1556092536-17095-1-git-send-email-masonccyang@mxic.com.tw> <1556092536-17095-4-git-send-email-masonccyang@mxic.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1556092536-17095-4-git-send-email-masonccyang@mxic.com.tw> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 03:55:36PM +0800, Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC-IF MFD. > > Signed-off-by: Mason Yang > --- > .../devicetree/bindings/mfd/mfd-renesas-rpc.txt | 40 ++++++++++++++++++++++ > 1 file changed, 40 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..668b822 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt > @@ -0,0 +1,40 @@ > +Renesas R-Car Gen3 RPC-IF MFD Device Tree Bindings > +-------------------------------------------------- Looks like a SPI flash controller from the example. What makes it an MFD? > + > +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 three register areas: > + first for the base address of RPC-IF registers, > + second for the direct mapping read mode and > + third for the write buffer area. > +- reg-names: should contain "regs", "dirmap" and "wbuf" > +- 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>, > + <0 0xee208000 0 0x100>; > + reg-names = "regs", "dirmap", "wbuf"; > + 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 >