From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752868AbbCWQjF (ORCPT ); Mon, 23 Mar 2015 12:39:05 -0400 Received: from down.free-electrons.com ([37.187.137.238]:57629 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752144AbbCWQjC (ORCPT ); Mon, 23 Mar 2015 12:39:02 -0400 Date: Mon, 23 Mar 2015 17:38:57 +0100 From: Alexandre Belloni To: Nicolas Ferre Cc: Lee Jones , Boris Brezillon , Jean-Christophe Plagniol-Villard , linux-kernel@vger.kernel.org, Tejun Heo , linux-ide@vger.kernel.org, linux-pcmcia@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 03/10] ata: at91: use syscon to configure the smc Message-ID: <20150323163857.GA20732@piout.net> References: <1426545886-19162-1-git-send-email-alexandre.belloni@free-electrons.com> <1426545886-19162-4-git-send-email-alexandre.belloni@free-electrons.com> <550FE6D7.6000107@atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <550FE6D7.6000107@atmel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/03/2015 at 11:11:35 +0100, Nicolas Ferre wrote : > Le 16/03/2015 23:44, Alexandre Belloni a écrit : > > Use syscon/regmap to configure the smc. This allows to avoid using > > at91sam9_smc.h and to compile the driver in a multiplatform configuration. > > > > The driver will still not probe until the proper DT bindings are added. > > Alexandre, just for the record, can you describe the DT node that will > match this? > Is it one that will be added to > Documentation/devicetree/bindings/mfd/atmel-smc.txt? > I believe it should be documented when the full binding will be defined. This binding will include a mandatory property: atmel,smc: phandle to the smc and will look like: atmel,smc = <&smc>; -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com