Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2855413imu; Fri, 18 Jan 2019 00:05:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN4G/2QQsp1AwhAvuROerwIbmXDnX9GEL7xeUJwKNMsob7aFkgKTZrXpol3B5/OqL0maNOqA X-Received: by 2002:a17:902:680f:: with SMTP id h15mr18033500plk.40.1547798747515; Fri, 18 Jan 2019 00:05:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547798747; cv=none; d=google.com; s=arc-20160816; b=lTv2FfQd8PGfGVGvpOXM3s1E0/jCllFLpwRXg2/KyBCQyvesx8YLxeuWOnC8Col9aY zVux4EKintqT/R2jdddy4Kr/1sivI7PY5oujCDht+FSCiKlBPHgMl9BlmeQazPRe7BeA AgD8rIZp5b7roYqQSJYEVJCMyDD545YIhx2LRHKwRbbyyHueCw9cVPY0zLhBG1r1mvgn RETImEgGp0DtA9EobHvt6Qnafxg+GHwMvUvqEJqpdE2WnvGOS4Ivskt6Dtf0FNUfqJh2 bnTkxSndt3+O/aRsWJTyzqmDvsu5dBbCLcTYgxkNXvAZFRhbF/O1HqlfAIbpDrUVUcxF 090Q== 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=ccUkt6LqB58uFT+Lx+JRMzBjE5OeTm+9Ao7mTHrVgFk=; b=nEC1y1OBaPGki6ggrdUMgHahKgfRvhj+NLHoCzO3pnuFVNEF/DKzGdRG95wOgPGPuj 863WHU9UMvCrpxIaWlXJprimd+IAg2maKghr0MyEwMCA92CAeLs6yx/LMB0bdJu6nq8R x5yf/gF+5ZkPbRqMjxoGI4oD/Cj21BobHi7cNBZXhKmFFmaLwAYRzwcwa+cgL9G6zfrg iE6CYAYZB47LeReDMhXy9+X+sZJjRda0cdmdwwSOrjc3wvHwIE3NqcO7lL4SU0HrCrcZ wbE7EYura8BbjtquPJ574ky95qEUPFVARv5BisAIpmUvQnm8H0rzyV9Z+QlDSZF2fdtP w3OA== 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 o19si237466pfi.261.2019.01.18.00.05.31; Fri, 18 Jan 2019 00:05:47 -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 S1727340AbfARIEC (ORCPT + 99 others); Fri, 18 Jan 2019 03:04:02 -0500 Received: from mail-vk1-f194.google.com ([209.85.221.194]:33313 "EHLO mail-vk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727148AbfARIEC (ORCPT ); Fri, 18 Jan 2019 03:04:02 -0500 Received: by mail-vk1-f194.google.com with SMTP id d201so2896419vka.0; Fri, 18 Jan 2019 00:04:01 -0800 (PST) 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=ccUkt6LqB58uFT+Lx+JRMzBjE5OeTm+9Ao7mTHrVgFk=; b=c6aaHbtkKrzDppComCQCChyNVOYM6fZAVtJOPwY+b2GUaay6cG1WELSVuuIuLaDQS1 RR5IijFMk9DoaU6rRbaMEY2xFtL9A0NxLW9u8+9GX5xowbokyiJ0/BoQkmuAN3F1BYX2 rYQq2jcs77qdpQ3bZ8HBy3pW+7ulbxs28aZpjr1iXXEqnmYDAl/90+Lomq6UGLodXqob N3Ljo2l9z2KUAbNIEl9muun361EbEgF43jtmPwvKhrSu0ZovH6NaQ8pNq4cPbiPIWjPM pNy+smz2gcPU8Q0L3Gq5flubSQOcuMhptfb9K4Qto6eJGKDnbE2mzj39/0v5UNJE2vbg 9cWg== X-Gm-Message-State: AJcUukfx6SmRuN0L6iRXAiFPwN/Aa8C5ZTFjOf67B4yV79VLHfP9NhIM cDKKP+uol8KHXO5yorDfG7ySramRLudQs+VSFHM= X-Received: by 2002:a1f:a414:: with SMTP id n20mr6991022vke.83.1547798640676; Fri, 18 Jan 2019 00:04:00 -0800 (PST) MIME-Version: 1.0 References: <1547790855-22120-1-git-send-email-masonccyang@mxic.com.tw> <1547790855-22120-3-git-send-email-masonccyang@mxic.com.tw> In-Reply-To: <1547790855-22120-3-git-send-email-masonccyang@mxic.com.tw> From: Geert Uytterhoeven Date: Fri, 18 Jan 2019 09:03:49 +0100 Message-ID: Subject: Re: [PATCH v6 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 , Sergei Shtylyov , juliensu@mxic.com.tw, Simon Horman , zhengxunli@mxic.com.tw 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 Fri, Jan 18, 2019 at 6:55 AM Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Signed-off-by: Mason Yang Thanks for the update! > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > @@ -0,0 +1,37 @@ > +Renesas R-Car Gen3 RPC-IF controller Device Tree Bindings > +---------------------------------------------------------- > + > +Required properties: > +- compatible: should be compatible: should be an SoC-specific compatible value, followed by "renesas,rcar-gen3-rpc" as a fallback. Examples of the latter are: - "renesas,r8a7795-rpc" (R-Car H3). This makes it future-proof, in case the RPC on a specific SoC version needs to be handled specially. We already know that is the case for R-Car V3M. > +- #address-cells: should be 1 > +- #size-cells: should be 0 > +- 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" > +- clock-names: should contain "rpc" > +- clocks: should contain 1 entries for the module's clock > + > +Example: > + > + rpc: rpc@ee200000 { > + compatible = "renesas,rcar-gen3-rpc"; compatible = "renesas,r8a7795-rpc," renesas,rcar-gen3-rpc"; > + reg = <0 0xee200000 0 0x7fff>, <0 0x08000000 0 0x4000000>, > + <0 0xee208000 0 0x100>; > + reg-names = "regs", "dirmap", "; > + clocks = <&cpg CPG_MOD 917>; > + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; > + resets = <&cpg 917>; > + clock-names = "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>; > + }; > + }; 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