Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp765289imu; Fri, 7 Dec 2018 08:32:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/VoHnEeJzWPnIV0+vHGbSqxGuddE3wZ/HoXUpU9uYvHg5ytpdIcZZoTpZmPMF9OC7qK94zP X-Received: by 2002:a62:3888:: with SMTP id f130mr2861849pfa.132.1544200375349; Fri, 07 Dec 2018 08:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544200375; cv=none; d=google.com; s=arc-20160816; b=UqIZT7Ew/dFCe4op73iDxbXnci//ojYGpZpiBksp903q2LE+9aP0ieiCFPt9JVnTiK iQtvOssD3H2j/jqmziZZl0/11NwVrcfrMp3YQ7yPTvq36sCNObS+IfmDtlG754Eph6BS nyMUIoulBEbUHyzJkv4RgkTL/HwBorD7cpnqXPFaLM49adQkRsAF5SrdPVQg5qGkl/m6 ZbTknIuiGTZ7RrtZWd6Pz7B06ckN9cmiKo+A1Rnan7vaESDTF0yY8yFjkRm4D+AsNe1B xO9j8pfg5ck4TdxykWRMmuvD+VDk5a34XDivQSHbZ7AxOY/xEpn1YKOFRR5WNtbEHkNC WaMA== 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:from:references:cc:to:subject:dkim-signature; bh=teCa7RVUOAmvKrf5c7GaoQcfS9eegjTNzbq90mGFt78=; b=T9J6LdulNDse1fCLYtOYRCdycE+byhxKipCk0U/0ELR8BoHvVzgbEymJqBPbHpakR5 hys3/z7sDVdxjBPsk/JM++L0Lt+D77Z2hIN+bWQlUGXRa0WaD0BR0SlA8GGAv3ks9ntQ m5508YJy2EZuzqpdR8e1V5ggBJXwnUFtG+0efPtGddECwXrqcRz5/LFACRekM5vStuif Lx6HOWx8upzIj3ZCpGzv3bcEM92o3Ozod2K9UXlq7YdWMDneIN4eFkZhdlU/X4bclFn+ z1hHlX++Ho0GrnLBYCiMq35n4YwtSE+xHhE3S3Wx8qBO0chWCRTjLr5563WbOoGJI3BX bxCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="QURjiv/J"; 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 q7si3008962pgl.303.2018.12.07.08.32.37; Fri, 07 Dec 2018 08:32:55 -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="QURjiv/J"; 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 S1726104AbeLGQbT (ORCPT + 99 others); Fri, 7 Dec 2018 11:31:19 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:36672 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726018AbeLGQbT (ORCPT ); Fri, 7 Dec 2018 11:31:19 -0500 Received: by mail-wr1-f65.google.com with SMTP id u3so4393879wrs.3; Fri, 07 Dec 2018 08:31:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=teCa7RVUOAmvKrf5c7GaoQcfS9eegjTNzbq90mGFt78=; b=QURjiv/JGYL0XOneHDa7CqmgSBHb7SwULhz3iOSzj3AloTCqc0swf5TiNEkahIR5+O Qc5nmEfhO8IyfXsaEER0aReo1jouxbI4CM8g2r8/C3wJOaVhxG7Kd1+PQH+utdFqX80j GortzKj7WlHStGch9rh9ct864Zkr5TmPl4bA2+39b4Ycxo3h1SS2oZ+x0/AEDZBbZBop RNcEHyMetwjsr9scGOtOV2twDNVEtiXTm7HjYawFvjrp4LvlmcJk0B+Uq64JbCqtIz2V J+GJA8UsOIgIGrDt3FTJ+c/v8hz1WZet2XzYmYnoqM4Ww/FByLB/KN+1qxGDXjgbqaA/ NQYQ== 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:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=teCa7RVUOAmvKrf5c7GaoQcfS9eegjTNzbq90mGFt78=; b=S8D79MXR5uAq6lUhnLxT7gg/WQRNiTCNCMn5m5fmkr/xXq2mU8GyKK6LePnMawn7S4 2hVyTh6SPyJWe+zll4U3BPalFxOBNooYtJzVZG/B+eHeBJV6m5OfTCDlf3CBk8VLAOgd rihY5ThW/CWdXgBabZ72MEej5/3EOdrVnwdh36LO02Tx6ruu1t7QzDkEoFsjxWJKHBke QWva4r/hideMGcQlcj12YJTQXzby39s98iQH49O55HsugkzNXkQxYn5NOAArOz2i6oFj L2EV00kjgBQv1BFr6HiwC6sHavYEQJl0F6ytrNZCi7icsLWM3/FxgeJBBoXRVkhF/9W/ 64zA== X-Gm-Message-State: AA+aEWYNozAdPBFejIh3vjbbf/lHMx1fhnScY81UDRCEI+bsurPESDOy jVsQwHrKAJTce62m9aP0lZ3IhJrT X-Received: by 2002:adf:f984:: with SMTP id f4mr2413307wrr.234.1544200275999; Fri, 07 Dec 2018 08:31:15 -0800 (PST) Received: from [192.168.1.4] (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id p74sm5525772wmd.29.2018.12.07.08.31.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 08:31:15 -0800 (PST) Subject: Re: [PATCH v3 2/2] dt-binding: spi: Document Renesas R-Car Gen3 RPC controller bindings To: Sergei Shtylyov , Mason Yang , broonie@kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, boris.brezillon@bootlin.com, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven Cc: juliensu@mxic.com.tw, Simon Horman , zhengxunli@mxic.com.tw References: <1544181199-3373-1-git-send-email-masonccyang@mxic.com.tw> <1544181199-3373-3-git-send-email-masonccyang@mxic.com.tw> From: Marek Vasut Message-ID: <8564903b-b162-a451-296e-be3ec199e248@gmail.com> Date: Fri, 7 Dec 2018 17:31:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.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 12/07/2018 05:03 PM, Sergei Shtylyov wrote: > Hello! > > On 12/07/2018 02:13 PM, Mason Yang wrote: > >> Document the bindings used by the Renesas R-Car Gen3 RPC controller. >> >> Signed-off-by: Mason Yang >> --- >> .../devicetree/bindings/spi/spi-renesas-rpc.txt | 38 ++++++++++++++++++++++ >> 1 file changed, 38 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt >> >> diff --git a/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt >> new file mode 100644 >> index 0000000..a191f70 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt >> @@ -0,0 +1,38 @@ >> +Renesas R-Car Gen3 RPC controller Device Tree Bindings >> +------------------------------------------------------ >> + >> +Required properties: >> +- compatible: should be "renesas,r8a77995-rpc" >> +- #address-cells: should be 1 >> +- #size-cells: should be 0 >> +- reg: should contain 2 entries, one for the registers and one for the direct >> + mapping area >> +- reg-names: should contain "rpc_regs" and "dirmap" > > Please drop this "rpc_" thing, I think "regs" should be enough. > >> +- interrupts: interrupt line connected to the RPC controller >> +- clock-names: should contain "clk_rpc" > > Please drop this "clk_" thing. BTW, what's with the RPCD2 clock? > >> +- clocks: should contain 1 entries for the module's clock >> +- rpc-mode: should contain "rpc-spi-flash" for rpc spi mode or >> + "rpc-hyperflash" for rpc hyerflash mode. > > I think the prop should be called "renesas,rpc-mode" and the values should be > just "spi" and "hyperflash". Like I said before, you can determine the mode from the subnode attached to the controller, we don't need special prop for that. -- Best regards, Marek Vasut