Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2120406imu; Wed, 12 Dec 2018 09:49:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/WRiZ8veEgR44GoQWf8BzqRaauBnTE0niYuu0mrD1oHjXOreB2J2/hYaQ+HkAo83f7LgESx X-Received: by 2002:a17:902:2006:: with SMTP id n6mr21032234pla.66.1544636966189; Wed, 12 Dec 2018 09:49:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544636966; cv=none; d=google.com; s=arc-20160816; b=gQPo4oXTpscDAGKv4a2xX5wNtZRF0wD0kVIIPeaf1V6uxB229qw18+bW0HHhRemdYb ko01k8nJOrMutTWDae0PImlTmx+bJDhR//FUBqs4Z/udS86hjFu6mhT9Ukghd9iik9e/ HLf5gsJE+tMvsX1MsFqLgceLHqxbfsobPqR6oq1PhOVNwR3aAw5thAsHqwudDqxywwCF pIRdGgbQ2SXd+wuaSuQTlmgvfm7aeK/lLq/hqbnC5xy+mMuYYMCTuD1DGB5rcXgZU4+G E1v8BHbnSEy4dOXc6dL/JeR4MGupi99xKIz6HjSzvR1M+wX9TUfSCrxkwTq13RpqsPIw H1Rw== 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:organization:from:references:cc:to:subject :dkim-signature; bh=T62NArK+cE6Vpw+OuBYIwmYSmizpgY+nNlXVJTamzBs=; b=hw6wqLd48H/XsUoDYHHVORm4uW3t92YErlLTCXyvwuKkEeRO/iRhyiHyqpSzUY7g+l He3LgxPu7PvsgSauxNvc77AwcZghISSTFK0EB44vI1qQklyOEfxNoazs7LJzX3QxNGiU cs04KaIBd83oa6TVv49vFExGHsYfVUtnj3y0eJUiNAFapR+BYn7K+N49EGxmT902jTt2 7zS1SH0tmEeLUXtI/h/HOEmSR+zTIwZ2Noe6evcTLgg2qKeMcjBI13eScONrKrEuJghg Jj/uSEf1yjJDoGGJqyc9MKNhZIqjBSNSOLsWvbL/kZ4+SvEQdgUyJo2pNhc4wT8qJ6+2 DK4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=aYYcbAmq; 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 q10si15225024pll.221.2018.12.12.09.48.51; Wed, 12 Dec 2018 09:49:26 -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=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=aYYcbAmq; 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 S1727912AbeLLRr7 (ORCPT + 99 others); Wed, 12 Dec 2018 12:47:59 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39322 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726922AbeLLRr6 (ORCPT ); Wed, 12 Dec 2018 12:47:58 -0500 Received: by mail-lf1-f67.google.com with SMTP id n18so14189517lfh.6 for ; Wed, 12 Dec 2018 09:47:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=T62NArK+cE6Vpw+OuBYIwmYSmizpgY+nNlXVJTamzBs=; b=aYYcbAmqSiOpWUjse6yog6IPOAdTDWmEVn+uR3h0oo0GYkPrOGLX0mXkqxr3uFhfM4 VP4QNOiwGmb7QdAd+LO05OJhp1MUSmqlHawnL0klJLGuYDkusot9wDx6Jdd3jFBP9EJ5 KsyEXs12akP6gPUhleEcAQxeAsEz4is2OrfJvWCf7uvaECNLgtfXKVjTzYYX9QlOf3LP Ie+CEWqh86l5346W4/PYyMuFE7x2ppRzipwB9VDbvlbEMzI1KMw+yR2qS2h/DHeFkXze 9SWRiax+J5oBax8h2Imwt0+Fvnwi6mne/A4xE4rVLehSPBvFkq1ySCzld9i7vONGLNIW KPdg== 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:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=T62NArK+cE6Vpw+OuBYIwmYSmizpgY+nNlXVJTamzBs=; b=KOlt4Uydyi01I1BppTuDQTiHYSsynK8zXpFuVmHw62stVYgYW73GJGg+LFwhwjX0Dp bVJwyJ09uPJ5kM1P6QGqLT4SbDH9qLMP5M1dvrnWlCOds2fsg5Ela19Aw43CcfiyjjOJ 7vqrJQ46w2F8ExuV3IYTA5X9xRuJ6sWxN04HS9plUPEZLt1S8NUVzer9qO76uTiu4VLS s5A5SZrQNCcn+qYjERPULvn0dTSjVtljC1kjM5xBE+y3aW2pvrCoscWWkPghv16n2exg uKDhSAxi603zS6cziiGCZWos/OH3kMjU3zWSkTuWZ3XGMg/SBeNy2b8OZ8qk/+UXgLjm IjNg== X-Gm-Message-State: AA+aEWaizwGzHQPILJJTcOu4xuCEDANHGqJbEedg7Nn73NcNcmmZnQ3D heEdqN8jaxln4u93Sh1cPTE4kA== X-Received: by 2002:a19:8d01:: with SMTP id p1mr11573167lfd.149.1544636876123; Wed, 12 Dec 2018 09:47:56 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.85.181]) by smtp.gmail.com with ESMTPSA id z15-v6sm3725538ljb.9.2018.12.12.09.47.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Dec 2018 09:47:55 -0800 (PST) Subject: Re: [PATCH v3 2/2] dt-binding: spi: Document Renesas R-Car Gen3 RPC controller bindings To: Mason Yang , broonie@kernel.org, marek.vasut@gmail.com, 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: Sergei Shtylyov Organization: Cogent Embedded Message-ID: Date: Wed, 12 Dec 2018 20:47:54 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1544181199-3373-3-git-send-email-masonccyang@mxic.com.tw> Content-Type: text/plain; charset=utf-8 Content-Language: en-MW 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 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" > +- interrupts: interrupt line connected to the RPC controller Required prop but it's missing in your example below... > +- clock-names: should contain "clk_rpc" > +- 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. > + > +Example: > + > + rpc: rpc@ee200000 { > + compatible = "renesas,r8a77995-rpc"; > + reg = <0 0xee200000 0 0x8100>, <0 0x08000000 0 0x4000000>; > + reg-names = "rpc_regs", "dirmap"; > + clocks = <&cpg CPG_MOD 917>; > + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; > + resets = <&cpg 917>; > + clock-names = "clk_rpc"; > + rpc-mode = "rpc-spi-flash"; > + #address-cells = <1>; > + #size-cells = <0>; [...] MBR, Sergei