Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3393972ybi; Mon, 29 Jul 2019 05:55:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCNUQUS5goW40E0uAXOCo0eLs6jgFKraIwpz9w2h+XlaNZllpcxQMWeaZyItkJkIu/RJdK X-Received: by 2002:a17:90a:7d04:: with SMTP id g4mr112823667pjl.41.1564404917663; Mon, 29 Jul 2019 05:55:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564404917; cv=none; d=google.com; s=arc-20160816; b=ErYnHF+XhDLBeDgmZtJawo/FHQXMBzp7BjD9OBnFZ6pxOmjkQdqg+Od06n4Pfsy7n3 ExEeh/0LKuELNfavmxkVajq3RkcmM7Dx2B76R3vYi/upt9o/zTtIBHs55/U9xxojo+nj CaZ38I6/RTFYs6jFK17qbvZ+2rxKOfactB0a0YnuX2pkBj/tSrUXqDdjlkRBuMrZV37h t8Utr0do02zQ1wz3bQAR564q60Ce2895WVy/W56fgKo2c2CkZP5+iJK+dOqWOaWM7069 Z0oyzvMgaKD5MUiH1EC7RvzgsU8HPFYYIgwk2DXndvmEcuGLrs3C1zzZWB4ae+6UHHnw 778g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:message-id:mime-version:subject :cc:to:references:in-reply-to; bh=F/tgK5ntOxcmp/bhvpPlTtJ4rDclvarlwGI7FL4t9o8=; b=spYxX/BiuZqTULOpJFf18FsV/2i1J4fB3tyI94Gspt0KZrMRheU+pbeKyhl5N/xkso pyCIpwnLpu4CvuSLSdkX5773gDxm0vqUy9TNqO0aQJ+JBUAlsl2yv2MZ1BcH3xwWBnR4 ty7SYuOojcPeDAzHDpgV9xNU/WuQSRNejzcan/R1rPT4+J3Du0JDf1W/ILnCZvkT9kxI Bi3yGfoU1Z32IjxGHncWuySB+6zRaM5+Zj4u3y21u2kUhJ4xIW2bQJpc89hQfkMrkj2Z UExsjI016OxeMVck1zhkfcTd1zafU0H0AiTtDvQuc8et+P1foKroJpyGKAX/PBZIXlq+ WIvg== 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 o6si33035000pfb.230.2019.07.29.05.55.01; Mon, 29 Jul 2019 05:55:17 -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; 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 S1728011AbfG2JfF (ORCPT + 99 others); Mon, 29 Jul 2019 05:35:05 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:25098 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726496AbfG2JfF (ORCPT ); Mon, 29 Jul 2019 05:35:05 -0400 Received: from twhfmlp1.macronix.com (twhfm1p1.macronix.com [172.17.20.91]) by TWHMLLG3.macronix.com with ESMTP id x6T9YN3b083443; Mon, 29 Jul 2019 17:34:23 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) Received: from MXML06C.mxic.com.tw (mxml06c.mxic.com.tw [172.17.14.55]) by Forcepoint Email with ESMTP id 806C1D4D4A3E8D87A0E0; Mon, 29 Jul 2019 17:34:23 +0800 (CST) In-Reply-To: References: <1564108975-27423-1-git-send-email-masonccyang@mxic.com.tw> <1564108975-27423-3-git-send-email-masonccyang@mxic.com.tw> To: "Geert Uytterhoeven" Cc: "Mark Brown" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "Geert Uytterhoeven" , "Simon Horman" , juliensu@mxic.com.tw, "Lee Jones" , "Linux Kernel Mailing List" , "Linux-Renesas" , "linux-spi" , "Marek Vasut" , "Mark Rutland" , "Miquel Raynal" , "Rob Herring" , "Sergei Shtylyov" Subject: Re: [PATCH v15 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings MIME-Version: 1.0 X-KeepSent: FF9D8385:D8395BBD-48258446:0033FD62; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3FP4 SHF90 June 10, 2013 Message-ID: From: masonccyang@mxic.com.tw Date: Mon, 29 Jul 2019 17:34:22 +0800 X-MIMETrack: Serialize by Router on MXML06C/TAIWAN/MXIC(Release 9.0.1FP10 HF265|July 25, 2018) at 2019/07/29 PM 05:34:23, Serialize complete at 2019/07/29 PM 05:34:23 Content-Type: text/plain; charset="US-ASCII" X-MAIL: TWHMLLG3.macronix.com x6T9YN3b083443 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, > On Fri, Jul 26, 2019 at 4:19 AM Mason Yang wrote: > > Dcument the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Document Oops, sorry ! > > > > > Signed-off-by: Mason Yang > > Reviewed-by: Rob Herring > > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > > @@ -0,0 +1,46 @@ > > [...] > > > +- flash: should be represented by a subnode of the RPC-IF node, > > + which "compatible" property contains "jedec,spi-nor", it presents > > + SPI is used. > > Sorry, I failed to parse the last subsentence. Fix it to: - flash: should be represented by a subnode of the RPC-IF node, its "compatible" property contains "jedec,spi-nor" presents SPI is used. OK? > > > + > > +Example: > > + > > + rpc: spi@ee200000 { > > + compatible = "renesas,r8a77995-rpc", "renesas,rcar-gen3-rpc"; > > + reg = <0 0xee200000 0 0x200>, <0 0x08000000 0 0x4000000>, > > + <0 0xee208000 0 0x100>; > > + reg-names = "regs", "dirmap", "wbuf"; > > + clocks = <&cpg CPG_MOD 917>; > > + clock-names = "rpc"; > > + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; > > + resets = <&cpg 917>; > > + #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>; > > Shouldn't those <1> be <4>, as this is QSPI? okay, fix them to <4> thanks for your time & review. best regards, Mason CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. ===================================================================== ============================================================================ CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. =====================================================================