From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755146AbdKBHLc (ORCPT ); Thu, 2 Nov 2017 03:11:32 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49926 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbdKBHLb (ORCPT ); Thu, 2 Nov 2017 03:11:31 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 09BB1607CA Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Thu, 2 Nov 2017 00:11:25 -0700 From: Stephen Boyd To: Icenowy Zheng Cc: linux-arm-kernel@lists.infradead.org, Maxime Ripard , Chen-Yu Tsai , linux-sunxi@googlegroups.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Add a regmap to Allwinner R40 CCU to export GMAC register Message-ID: <20171102071125.GL30645@codeaurora.org> References: <20171006063333.12345-1-icenowy@aosc.io> <20171009071809.jte47cd2mt4iv6y7@flea.lan> <14505033-D960-4287-92F2-554E2EDDFC59@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <14505033-D960-4287-92F2-554E2EDDFC59@aosc.io> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/09, Icenowy Zheng wrote: > > > 于 2017年10月9日 GMT+08:00 下午3:18:09, Maxime Ripard 写到: > >On Fri, Oct 06, 2017 at 06:33:31AM +0000, Icenowy Zheng wrote: > >> In the CCU of the Allwinner R40 SoC, there's a GMAC configuration > >register, > >> which is intended to be accessed by the dwmac-sun8i driver. On SoCs > >already > >> supported by the driver the register is placed in the syscon rather > >than > >> the CCU. > >> > >> As CCU is a critical part of the SoC, so write to it should be > >strictly > >> limited. A regmap with restricted write permission is created by the > >R40 > >> CCU driver, and can be get with dev_get_regmap. In order to tie the > >regmap > >> to the CCU device, the R40 CCU is now a platform driver, so a > >platform > >> device is created for it (and then tied with the regmap). > >> > >> The first patch does the conversion of the driver to a platform > >driver, > >> and the second patch adds the regmap. > > > >I'd like to see first what you want to do with it. > > Export the GMAC configuration register to dwmac-sun8i. > Is this series going to be reposted? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project