Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1423056imu; Tue, 20 Nov 2018 17:57:08 -0800 (PST) X-Google-Smtp-Source: AJdET5eMRy8Q71JJLqdYzKcFsBoO6ho4mTfAG/lkNiOcHOLPb9xqSXjnrI02KP/DgEbe42jh0wtl X-Received: by 2002:a62:ae12:: with SMTP id q18mr4764341pff.126.1542765428503; Tue, 20 Nov 2018 17:57:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542765428; cv=none; d=google.com; s=arc-20160816; b=jR1DH3NG45+35Fg9Yaj32ZYv5ppF2XJT2Rsdl+COmZqUBZzO0kc1+pbmWPA7H0rmj4 n4HDLT8Biv7nCiU1/0VDGeFfN1rCEMi5tfmpOhGiaafwHQwl0vb3sI9eJlQq0+e7vaBg BroHqgYU2A95/b5Wu3+24rA8srFm5zgiCKYz4n4yEh/CForKkLAfNR+RpGptUMkZHEfL A4yTkeB/itUP4x40j+kDLxx/oMU5mPBAKniOTfA1G6Gjc6G2UH9SLlYpcTFyIyq6eW8A o2ugfUagYz6m6Zj0OlcpyvhGO4iTtDZC9k+BBNWDa0dtfMdrY9mD5E0hVF/8n5dC0qS3 /xjg== 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=Y2fmDKf5hxF75CTQp/zdiNY8rMfrwOSiIfz3uPF+M8Y=; b=sgr5g3zo8tmsdkEGmqSIvGjBER0ciuxjUgFVxXFoeIUlRihC+EoBdyVBwQVoGT1r8M N+YYOkaTQavsDuAs8wQq10n1/jf9OmtGJXJBeeg7gInw3SZwpOAkF8qIaX2V3KJE9x8e ZileqnUmQdC8N39+pYu49gGVVrtC2vYU4c3Pt98AN6N+yH6rRkxieb+iqbQ/wtADSt7r ah8/QJU1hje45X9a2BVlf6vCbmYoP1uEjWc2t66YEl6xer8LvpMOZLVMiw64lkmAW5x8 ryjMxb+3Kn7s40Yf282tISWCv0yAWOgumTL5V0/sylU2S9JrxyFGP6n9sP3NiVFTQAEO wRRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pSNOkRsI; 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 w12-v6si41481308pld.221.2018.11.20.17.56.53; Tue, 20 Nov 2018 17:57:08 -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=pSNOkRsI; 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 S1726206AbeKUMXY (ORCPT + 99 others); Wed, 21 Nov 2018 07:23:24 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33282 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725937AbeKUMXY (ORCPT ); Wed, 21 Nov 2018 07:23:24 -0500 Received: by mail-wr1-f68.google.com with SMTP id u9-v6so3971894wrr.0; Tue, 20 Nov 2018 17:51:11 -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=Y2fmDKf5hxF75CTQp/zdiNY8rMfrwOSiIfz3uPF+M8Y=; b=pSNOkRsIARK2oIdnnwfNHEss24IDT1XV4ErQF4LtHQ5QIyllClKThjIpEdmJo79mAX EvEhlEiWotZvVSHRDtHtNMLKsiopGTlH8WbmCs7zVMZrRBuV/xzgmJI5TX0zyz2mrYoU 7y9AgcRHdvqO1O39Td1MUwaCTGZwkNJ3kj0eRtC9vyIdKD3z/gGDLBWUrhzEo+Gk1J7E h5k+GDAhL8KI5Bw/qMrDql2cx4OuODju32OUjVaJezdvT6o0xqFkUN1ciG21nVfW90mZ yYc4clafkKcAC3YQUGmsTA8kmQJmdk+2Cc3djwp7WR6vLFZui7+keIKUuf0hUkVIzLes 5mTQ== 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=Y2fmDKf5hxF75CTQp/zdiNY8rMfrwOSiIfz3uPF+M8Y=; b=oiDy7lcLN88SQpR3xsD04coK8FxF6jGxDF7GH18hkAZfghmIWvHCH5qOsqRQlgjvuf zziUcwz+8w01BOQJ9lYj3IGbJ6tKph3VOBxG8Gc0CyNPxsLv4kFd5T6SRsyYbqrcPGja LHSPzT3/j7B6HrlMNs9WCRG01m9qQLBL/wac5fB/9tcPAmdyXaqhrw7rAcOV8II15KhF oJAm+VB2asZr2L85gEpaWodR/Lb9rCuov+Ho2+wZ7bLw1z5/s9QS6vuNJrX8O3NsLzhd k3jwsZSeA9glsfq4HzBoVlO/cVkTMMQpjvOA6iGtdmGDDnyrZaBIPmpPGREqFi8nwejK qh0A== X-Gm-Message-State: AA+aEWZ2c9/TYs2gvGgEzME2/bM0b0FEcnrTQR1ZFM4TuA2pMz8WhTTL wVYGQ2J3/mS1NVYBc0utZ5Q= X-Received: by 2002:adf:dd06:: with SMTP id a6mr4203383wrm.2.1542765070912; Tue, 20 Nov 2018 17:51:10 -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 c13sm3481784wrb.38.2018.11.20.17.51.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 17:51:09 -0800 (PST) Subject: Re: [PATCH 2/2] dt-binding: spi: Document Renesas R-Car RPC controller bindings To: masonccyang@mxic.com.tw Cc: boris.brezillon@bootlin.com, broonie@kernel.org, Geert Uytterhoeven , Simon Horman , juliensu@mxic.com.tw, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-spi@vger.kernel.org, tpiepho@impinj.com, zhengxunli@mxic.com.tw References: <1542621690-10229-1-git-send-email-masonccyang@mxic.com.tw> <1542621690-10229-3-git-send-email-masonccyang@mxic.com.tw> <629a5d6f-5c13-9b24-1c21-461d09f1aa8a@gmail.com> From: Marek Vasut Message-ID: <163dfc15-71b2-fdbe-f872-f6c6e4c3e14e@gmail.com> Date: Wed, 21 Nov 2018 02:51:08 +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: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/21/2018 01:53 AM, masonccyang@mxic.com.tw wrote: > Hi Marek, Hi, >> Marek Vasut >> 2018/11/20 下午 08:57 >> >> >> > 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..8286cc8 >> >> > --- /dev/null >> >> > +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt >> >> > @@ -0,0 +1,33 @@ >> >> > +Renesas R-Car D3 RPC controller Device Tree Bindings >> >> > +---------------------------------------------------- >> >> > + >> >> > +Required properties: >> >> > +- compatible: should be "renesas,rpc-r8a77995" >> >> > +- #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 SPI controller >> >> >> >> Do you also plan to support the RPC HF mode ? And if so, how would that >> >> look in the bindings ? I'd like to avoid having to redesign the > bindings >> >> later to handle both the SPI and HF modes. >> >> >> > >> > I patched this RPC SPI/Octa driver is for mx25uw51245g and you may also >> > refer to Boris's patch. [1][2][3] >> >> Does this mean the driver is specific to one particular kind of flash ? >> > > No, this driver supports all SPI flash, spi, qspi and octa flash. > > The target is Octa 8-8-8 DDR2 mode once spi-nor layer is merged.[1][2][3] The HyperFlash must also be supported, cfr my previous comment that I'd like to avoid redesigning the bindings again when the HF mode is added. -- Best regards, Marek Vasut