[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <51B6D49F.3030203@st.com>
Date: Tue, 11 Jun 2013 08:41:19 +0100
From: Srinivas KANDAGATLA <srinivas.kandagatla@...com>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-arm-kernel@...ts.infradead.org,
Linus Walleij <linus.walleij@...aro.org>,
"David S. Miller" <davem@...emloft.net>,
Russell King - ARM Linux <linux@....linux.org.uk>,
Samuel Ortiz <sameo@...ux.intel.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"devicetree-discuss@...ts.ozlabs.org"
<devicetree-discuss@...ts.ozlabs.org>,
Stephen Gallimore <stephen.gallimore@...com>,
Rob Herring <rob.herring@...xeda.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Stuart Menefy <stuart.menefy@...com>,
Mark Brown <broonie@...nel.org>,
John Stultz <john.stultz@...aro.org>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
Grant Likely <grant.likely@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Mauro Carvalho Chehab <mchehab@...hat.com>
Subject: Re: [PATCH v2 04/11] mfd:stixxxx-syscfg: Add ST System Configuration
support.
On 10/06/13 15:02, Arnd Bergmann wrote:
> There are multiple ways of doing that, e.g. you could export a function
> from syscon.c that you call to register the device node and then import
> the regmap from syscon into your high-level driver again.
>
Hi Arnd/Linus,
Thankyou for your comments,
I did try using the full sysconf names in compatible and make use of
syscon driver, with this change the nodes look much neater.
The nodes changes to:
syscfg_sbc:syscfg@...00000{
compatible = "st,stih416-sbc-syscfg", "syscon";
reg = <0xfe600000 0x1000>;
};
From:
syscfg_sbc:syscfg@...00000{
compatible = "st,stih416-syscfg";
reg = <0xfe600000 0x1000>;
syscfg-range = <0 999>;
syscfg-name = "SYSCFG_SBC";
};
Also I got rid of the drivers/mfd/stixxxx-syscfg.c driver all together
for this basic support patch series, I will add this once there are new
high level functions.
Additional compatible string will allow code to get to regmap via syscon
apis.
I will get rid of this driver in next version for this series.
Thanks,
srini
> Arnd
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists