Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8851560ybi; Wed, 10 Jul 2019 00:24:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSv9AJju9Rv8f8D0NXGLbHT3mw7GHnNH1ZkkgY/EGznbcPpOZchMj3nB/Xub2EMRpj2qud X-Received: by 2002:a63:c14c:: with SMTP id p12mr35683856pgi.138.1562743466669; Wed, 10 Jul 2019 00:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562743466; cv=none; d=google.com; s=arc-20160816; b=iNLg75TElNSRqNKFSNH3MFGsnQZr/7TBBSvy1T/MfcapK6tGrJlTF7KEGoWXlIooVw c2oSAyrzSnsttz95XgpfCc+lJoZOzhI4dunaPDjHuOLZFliUQUZBkHfntMWUZJwmFG8e 97EKnaGg7HNlisN6Yldabfem2iUk50Tets7s0vcH13wZPBS8jrOXKUcjyGF44ZYXpilO q1BhzwOURuH/r474NwgI37F+NIQU9PT3W6B0GZ4V4DfzRZbXvECsD1sI3KT78u6zvqI8 UWmHKRjWISABBhYLqPHUfHktrIstmE9qY3aC1KDFTcuXbasdInFJnIv6sLFFV7xAGEP5 HEYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=TNhWmN6/QiO2aT/qVjLLK+VPEsMniX5sP/eihsxi4qo=; b=f/SW4UT9UAXS5uFCLTD+QRTLyH+XvcPX5Yf8PR3ULlEdLGHWR/i1zVXqTHyDd2lPZK GPeWyZKtagWoH+4qQxxudVRqN9TU7BDwLu5t4CRUJleJSoVJOtPYgAVrB9oupFlyg0BS 3qVZMfz+RofKnqUrPuAdgop7pGN6txhmlII6dXrZ/S95VLtdCCAOJ0r/qGICJiBqk4fD loQbX2bhFOFmGEjjLmLAI+0qN9bBRNoUFIyfjPtr7w/Gj8xljfGq9FrXbmiDPd6pTVg7 njxdNZRdfaRUEwTud9TCTa2ZnSYFyIbBLL0nHy/m3wmRQC9MSoodkwVGipeydCLwEU+Z O/2A== 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 185si1488231pgc.522.2019.07.10.00.24.11; Wed, 10 Jul 2019 00:24:26 -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 S1727089AbfGJHXA (ORCPT + 99 others); Wed, 10 Jul 2019 03:23:00 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:32939 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726043AbfGJHW7 (ORCPT ); Wed, 10 Jul 2019 03:22:59 -0400 Received: by mail-oi1-f195.google.com with SMTP id u15so871141oiv.0; Wed, 10 Jul 2019 00:22:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TNhWmN6/QiO2aT/qVjLLK+VPEsMniX5sP/eihsxi4qo=; b=KDRfwLbXw2c4i0y0YBU7VNcQ+M02+hHom8sjU0T42fcuF9wWBAUAyV/AaH+19rTWAA dCMWbLLbOm4QAnxptbIzu6sf6ClYNF6ofVrytQ3/07PcOX0yQ6+BKYVXaiHs27aQzweq kxo1kfntlxPDzLxflSJuwPwO36i2CNi9EjFiDq+kiIfrR5XnaZ2hoQQZ4pUIj+9OEmqr wlvSMuMq4o7GLnybkdLRr4B96yzEwpaSeKuAZLoU9DA/CW70t2SOQz3mpHh7ao5TFUcW apD5f/ZSU89lij5TYhoIbk6nSDxvapQ3SqbcPUEbaQWxr+i2Cr5wdNFPhw7IEcVvRVgA KXjg== X-Gm-Message-State: APjAAAUKI1zg5mlp6rob5Ym374YS1jcwxRsJu+mr8BEPoMO+sl2ZGsN4 eSgJLVCUZOm5v/YOiqDdwbGIHkiLCOFROq8p0HU= X-Received: by 2002:a05:6808:3c5:: with SMTP id o5mr2496751oie.102.1562743378632; Wed, 10 Jul 2019 00:22:58 -0700 (PDT) MIME-Version: 1.0 References: <1561023046-20886-1-git-send-email-masonccyang@mxic.com.tw> <1561023046-20886-3-git-send-email-masonccyang@mxic.com.tw> In-Reply-To: <1561023046-20886-3-git-send-email-masonccyang@mxic.com.tw> From: Geert Uytterhoeven Date: Wed, 10 Jul 2019 09:22:47 +0200 Message-ID: Subject: Re: [PATCH v14 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings To: Mason Yang Cc: Mark Brown , Marek Vasut , Linux Kernel Mailing List , linux-spi , Boris Brezillon , Linux-Renesas , Geert Uytterhoeven , Lee Jones , Sergei Shtylyov , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , juliensu@mxic.com.tw, Simon Horman , Miquel Raynal Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mason, On Thu, Jun 20, 2019 at 11:08 AM Mason Yang wrote: > Dcument the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Signed-off-by: Mason Yang Thanks for your patch! > index 0000000..e8edf99 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > @@ -0,0 +1,43 @@ > +Renesas R-Car Gen3 RPC-IF 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,r8a77980-rpc" (R-Car V3H) > + "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 the clock phandle/specifier pair for the module clock. > +- clock-names: should contain "rpc" > +- power-domain: should contain the power domain phandle/secifier pair. power-domains > +- resets: should contain the reset controller phandle/specifier pair. > +- #address-cells: should be 1 > +- #size-cells: should be 0 > + > +Example: > + > + rpc: spi@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 { The subnode is not documented above. > + compatible = "jedec,spi-nor"; > + reg = <0>; > + spi-max-frequency = <40000000>; > + spi-tx-bus-width = <1>; > + spi-rx-bus-width = <1>; > + }; > + }; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds