Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2860374imu; Fri, 18 Jan 2019 00:11:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN6iMdRCB3XqEC01cDAcaR5RKN20IBIa+QMibF4kmQZfOZK/qi7Ep88fFyXwH8w7p/a8w+XU X-Received: by 2002:a62:3241:: with SMTP id y62mr18345167pfy.178.1547799084089; Fri, 18 Jan 2019 00:11:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547799084; cv=none; d=google.com; s=arc-20160816; b=jHKt/+ASymfvaChwo+t0IsjedZxC+/gUDyeqilQ0FIjsiS0SxX1SEM+rf+8tuuGaUx UUthA8UfvXsJ2Qys3wgJCR34CxScwB2YP7JmeRI4KpmceUKhVuPwT64AtzPhiIQWWFDn K+QgelxjBCqj826jI44EjmQEr4oWkleu0FB3JWkrrLFXIXjQa/uo2p+WwnL7LT4139HT xXnnErzs0XZYbApZS1TqbfeBxY2QlB2agPNMurS8QRY3npATJo0kuzhGD3m8fPot8xCP NPTbUVD3RtUHxnOj6NPz1t9S6trUfemfkJY07NkVrwbEX/Pm7GGKy0IEE7gs+75leZPS E8Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=+jg9/pF74H4/g+qe4E4Pd7knwQxYPNTbU/FbsRxX9kI=; b=ust12o/vNVGEJabCSITR4i64wbAIPHKrSmg/YMNJZ+rhF4AWIJGf1+LdL1YtpyeuJr T0TfM2pAE9ZGTM/mCiq7ma44rLR9HoPlcMcwUwemTACQh56VMTtsJUjBIySoz5PAjeYg Aklzpu8t+A+7TPk7twHSozHtvafieVjtDocXgWPZ7CCDuWS0spe74tWK0PlksQPj5JZW crcjrinJ5AKNnJr2WFj+TueoVLn36inO1On2Hm20ixdk4rZrSbKJ39B4JwPojrdR7u+L DeeM1o8v8NGBBJW+a2GkQ64qzHX1xh+0CcGgOIAVWov+fkfY0eEbuHlrWXueaM/Nna7L J/tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b3rPnwyk; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si1494884pgh.510.2019.01.18.00.11.08; Fri, 18 Jan 2019 00:11:24 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b3rPnwyk; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727371AbfARIIr (ORCPT + 99 others); Fri, 18 Jan 2019 03:08:47 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37636 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727167AbfARIIq (ORCPT ); Fri, 18 Jan 2019 03:08:46 -0500 Received: by mail-pf1-f195.google.com with SMTP id y126so6218835pfb.4; Fri, 18 Jan 2019 00:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+jg9/pF74H4/g+qe4E4Pd7knwQxYPNTbU/FbsRxX9kI=; b=b3rPnwyk1KfVJE2frvqOT9+cHwpFtrRVjbpUl7cJqwHD8eUX7DxqRHPpmLDfglOLyg I2K6K5+BJS/BIps5L8zn4+SgN3Kh98+E2tSb4JiSNuktyc/SXVdbtN156z77tEQaEele 5OnstU08Rys6H+NW9Mu4gNef03g2VZiFy3s7rYvSIWkcGYK19ppSVqgQooEpXd+tu2dP kwi6VBNERkFJGHcrV/K7K5FdU0gH/fV4k0jkLiLCkK+nmzjhvMRcytj6k7rGhIdJvxFi hjLcPfDa7vCwI6/R5rd5qvEQgul/2X4SMOvyDSTYklD+pEEOY44+FAMvoneW9rkXjDNC lKnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+jg9/pF74H4/g+qe4E4Pd7knwQxYPNTbU/FbsRxX9kI=; b=GBZwW7OEYZVBNEkkt5MtUa+skUop7kL5JKrq0It4Rv1bqWPrh4h8zeBKK86mJdKnLd +6oi5m4V8lhqv2nK4/RkMn61iqpc1LfunPlXKDqNE7fCxw1pSwxQnjJ//D8C713AEw+f R1mtA8DaqCJBAnyw/EYvSJVRgdt01aIYzFO/bFNuYE6aRv4H3IhEWggJ4RpI/kzu4wya edVxd02tv0d6FPiEDFLk3yz813bauBDjJsjJbnSjkVshUBOcwSEIOFDFld58PdXfMH4G dfExxZYFnD16LzZNmT6mSrgLmQmLxjCkaOxsvFUSNGPEwTsBItIr6Y5htvUGMEakz9rI XTcA== X-Gm-Message-State: AJcUukd1qA5/xc1E9dk7OExVS9ybBfu0zf51mk99Gi1M738lqX1Xkepl S5ksO8m1jOmrB9UZmZgP1Bk= X-Received: by 2002:a63:be4d:: with SMTP id g13mr16766929pgo.378.1547798925211; Fri, 18 Jan 2019 00:08:45 -0800 (PST) Received: from [192.168.42.184] ([103.44.164.150]) by smtp.gmail.com with ESMTPSA id c13sm7964643pfe.93.2019.01.18.00.08.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 00:08:44 -0800 (PST) Subject: Re: [PATCH v6 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings To: Geert Uytterhoeven , Mason Yang Cc: Mark Brown , Linux Kernel Mailing List , linux-spi , Boris Brezillon , Linux-Renesas , Geert Uytterhoeven , Sergei Shtylyov , juliensu@mxic.com.tw, Simon Horman , zhengxunli@mxic.com.tw References: <1547790855-22120-1-git-send-email-masonccyang@mxic.com.tw> <1547790855-22120-3-git-send-email-masonccyang@mxic.com.tw> From: Marek Vasut Openpgp: preference=signencrypt Message-ID: Date: Fri, 18 Jan 2019 09:08:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/18/19 9:03 AM, Geert Uytterhoeven wrote: > 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"; Without the extra comma after r8a7795-rpc, of course ;-) -- Best regards, Marek Vasut