[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2741fba1-9aab-d044-15db-54d09e12d309@gmail.com>
Date: Fri, 29 Mar 2019 11:44:51 +0100
From: Marek Vasut <marek.vasut@...il.com>
To: Mason Yang <masonccyang@...c.com.tw>, broonie@...nel.org,
linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org,
bbrezillon@...nel.org, linux-renesas-soc@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>,
sergei.shtylyov@...entembedded.com, devicetree@...r.kernel.org,
mark.rutland@....com, robh+dt@...nel.org, lee.jones@...aro.org
Cc: juliensu@...c.com.tw, Simon Horman <horms@...ge.net.au>,
zhengxunli@...c.com.tw
Subject: Re: [PATCH v9 2/3] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller
driver
On 3/29/19 9:20 AM, Mason Yang wrote:
[...]
> +struct rpc_spi {
> + struct clk *clk_rpc;
> + void __iomem *base;
> + void __iomem *dirmap;
> + void __iomem *wbuf;
Shouldn't all this stuff somehow come from the MFD driver ?
> + struct regmap *regmap;
> + u32 cur_speed_hz;
> + u32 cmd;
> + u32 addr;
> + u32 dummy;
> + u32 smcr;
> + u32 smenr;
> + u32 xferlen;
> + u32 totalxferlen;
> + enum spi_mem_data_dir xfer_dir;
> + struct reset_control *rstc;
> +};
> +
[...]
--
Best regards,
Marek Vasut
Powered by blists - more mailing lists