Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1398491ybb; Fri, 29 Mar 2019 03:51:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjzdJXDloBUpRyZ6QlvQ0V6AqomDJcB1QTu2Vuzs143tMH1vRYGLtWw2Se1tap2aMf+rsG X-Received: by 2002:a63:3190:: with SMTP id x138mr38054600pgx.273.1553856660014; Fri, 29 Mar 2019 03:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553856660; cv=none; d=google.com; s=arc-20160816; b=hq124nD1AKlF3p12botA+DA88OIUIAxGBVBq2EU2yjSua+VundGHWlR+oPpNcQT13X /XweGcLofkhFvIU2No3SlcksVBu0lH2v295OPWtmcUlKuDVlh1JKsrW71vizUagJ+KDk 2/LFEi7j/VUwsOF7r4Z/cNBIrBVhc8162u6iVZ4kQM0zzbY7y43FStT9qYoHHDYe39x4 8am06F1rSXpgOkklHs9gVBffqkE2vl8H2pQF7mMbj8jq1oYaFEFemg2tzmSCMoxBrVOR qUwi6E19anNqFe59jnY47aFwUN8vRZUDvu4l+7/yMX+PG2UMnQWMM/ZKznp/4qFXBYVl O3tg== 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=UyaLyfKCh/8+yGarYKysqxWvWj6HsjNnMDWd9jRPbjI=; b=UGw6uAg6n3OUnE8U9hBewmgOpEbVZqB883d/n8fRtyCljgYqSw4/4mSRe5wR2DQZX7 pRSJj9NcsCcypBLyTWYEPOGeOW0i26AaN5QBTvZC+JsNs0UwR3sBDNeuoUGmAaWXZvef pjCJBTEE3CVKSdnltWL3/inIiRvtWx/FPqCifZjoS9xEWHVKzmR0bsu4D81j4mFH19ZG 9RO6+yadmC5iCS4JYy7eQqmknNcC+Oz9243z3o2um6iC+UZXLhsVAi2Ddy4S+49tU6Z4 SXlvGaJzh+hWtrw9GynR62TGf8Shtlw82iasIqSV0nzn+MQRMBcZstPFKG6TrmLI9TOt CFQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=BERLBaWo; 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 i3si1568924pgq.282.2019.03.29.03.50.44; Fri, 29 Mar 2019 03:50:59 -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; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=BERLBaWo; 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 S1729093AbfC2KuD (ORCPT + 99 others); Fri, 29 Mar 2019 06:50:03 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:45632 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729090AbfC2KuC (ORCPT ); Fri, 29 Mar 2019 06:50:02 -0400 Received: by mail-lf1-f68.google.com with SMTP id 5so1106460lft.12 for ; Fri, 29 Mar 2019 03:50:01 -0700 (PDT) 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=UyaLyfKCh/8+yGarYKysqxWvWj6HsjNnMDWd9jRPbjI=; b=BERLBaWoBAWy09JXSHLG2LC0a6riP65CkchwpU3WY05jPESMgnf1afU9TSPdZpKvP8 WSMaCbWJNONb+BxohIBP2pg4OiNtdRyz13AYiElOZA9R1949ALL8jJZnah5tEf5qGinP tU8EM3Rmk0GgkqWsmfdgCNIdHYgHPWB2DgDNlQ02U7dMeNaU7nXmARZUu03sKsd/9Ua6 TfxV6Z0ooqb8l54b7n6A2Zx0KUwzbQh7A9U/1T2bw3rVWE7NhbU6xaC4kY4XY0cRQiVE 20eYhcCYaQ49qRMDCUr1CK+Z3JAvRUJ5ZPrf28D8xRPbsjLOKbSoSMzejLsBCmehAjRa q3lQ== 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=UyaLyfKCh/8+yGarYKysqxWvWj6HsjNnMDWd9jRPbjI=; b=TgKBXbDkxFkLpZxQtdWF/sBUsjSuUUj7hq8jbXfOIVADWYIljyJElNNMCy+r4Nhg8f f8OFuBAq7rjhNKm0PR4rf7DgyyXJ3vayuzlbfTpLGIl4Z3Fpw4rqps1XQSOr+ge8EjZI WVB2vEq4txGU/ql+qMHsknObmojQrVSaV3RrdRPN2koE6tU4tURTrmx+c5wWSdeE5jpN 6qQB9SRwyoXJVr4Jtg4AD2QCrliF/81VF+N810na452QZMiFjAzuJgC5XqYlQWi+/Mg7 bVUghudGoSpmRGWLg5y23IPPdgWcBVzOxhEryLHqArRKkHDqfWOe194MFhtD6CKudSkQ FAAg== X-Gm-Message-State: APjAAAWoG9Z4rsd68D7ubrGJjJ1b+Sd4U0s1Z6V4ZR2fM45N4sq1nYCo OEUZ9am8FK/zDNqfxed1/vob5w== X-Received: by 2002:a19:f81a:: with SMTP id a26mr13987566lff.34.1553856600582; Fri, 29 Mar 2019 03:50:00 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.84.183]) by smtp.gmail.com with ESMTPSA id r77sm293335ljb.29.2019.03.29.03.49.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Mar 2019 03:49:59 -0700 (PDT) Subject: Re: [PATCH v9 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF controller bindings To: Mason Yang , broonie@kernel.org, marek.vasut@gmail.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, bbrezillon@kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , devicetree@vger.kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, lee.jones@linaro.org Cc: juliensu@mxic.com.tw, Simon Horman , zhengxunli@mxic.com.tw References: <1553847606-18122-1-git-send-email-masonccyang@mxic.com.tw> <1553847606-18122-4-git-send-email-masonccyang@mxic.com.tw> From: Sergei Shtylyov Organization: Cogent Embedded Message-ID: <5e841334-7cd7-3b5f-77d2-bb39bf8ec8b7@cogentembedded.com> Date: Fri, 29 Mar 2019 13:49:58 +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: <1553847606-18122-4-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 Hello! On 03/29/2019 11:20 AM, Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC-IF MFD controller. > > Signed-off-by: Mason Yang > --- > .../devicetree/bindings/mfd/mfd-renesas-rpc.txt | 57 ++++++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt > > diff --git a/Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt b/Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt > new file mode 100644 > index 0000000..577986b > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/mfd-renesas-rpc.txt > @@ -0,0 +1,57 @@ > +Renesas R-Car Gen3 RPC-IF MFD controller Device Tree Bindings > +--------------------------------------------------------------------- Too many dashes. :-) > + > +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,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 1 entries for the module's clock > +- clock-names: should contain "rpc" What about the "power-domains" and "resets" props? > +- #address-cells: should be 1 > +- #size-cells: should be 0 Why? You don't have the "reg" props in the sub-devices... > + > +Required nodes: > + spi: > + Node for configuring the SPI controller driver. > + Required properties: > + compatible = "renesas,rcar-rpc-spi"; Sigh... you were supposed to only place the flash device sub-nodes under the "main" device node, we don't add the virtual devices to DT, there's no matching sub-device in the hardware. You don't have to describe these sub-devices in DT, you can register the simple platform devices. > + > + hf: > + Node for configuring the hyperflash controller driver. > + Required properties: > + compatible = "renesas,rcar-rpc-hf"; > + > +Example: > + > + rpc_mfd: rpc-mfd@ee200000 { Just "rpc: rpc-if@ee200000, please. [...] MBR, Sergei