Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753088Ab3IWUGw (ORCPT ); Mon, 23 Sep 2013 16:06:52 -0400 Received: from mail-ee0-f43.google.com ([74.125.83.43]:62888 "EHLO mail-ee0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752551Ab3IWUGv (ORCPT ); Mon, 23 Sep 2013 16:06:51 -0400 From: Pali =?utf-8?q?Roh=C3=A1r?= To: Sebastian Reichel Subject: Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger Date: Mon, 23 Sep 2013 22:06:46 +0200 User-Agent: KMail/1.13.7 (Linux/3.11.0-1+synaptics-generic; KDE/4.11.1; x86_64; ; ) Cc: Tony Lindgren , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, freemangordon@abv.bg, aaro.koskinen@iki.fi, pavel@ucw.cz References: <1378630239-10006-1-git-send-email-pali.rohar@gmail.com> <201309232116.19161@pali> <20130923200008.GA21808@earth.universe> In-Reply-To: <20130923200008.GA21808@earth.universe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8031306.oUTAP5VCoK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201309232206.47391@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2022 Lines: 61 --nextPart8031306.oUTAP5VCoK Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Monday 23 September 2013 22:00:09 Sebastian Reichel wrote: > On Mon, Sep 23, 2013 at 09:16:18PM +0200, Pali Roh=C3=A1r wrote: > > It is not as simple as it looks. This is reason why I > > submited this patch long time after I submited bq2415x > > driver. > >=20 > > Problem is that for rx51 is needed specific function which > > connect to two drivers (bq2415x and isp1704) plus it call > > specific rx51 board functions. > >=20 > > Something which cannot be in DT (unless DT support C/ASM > > code). >=20 > mh could isp1704 driver expose the data via the regulator > framework? No, isp1704 is power supply driver and export data via power=20 supply (sysfs) interface. It is not regulator but charger driver. > Then the bq2415x chip can just use the regulator > framework. This should make converting to DT easy (by giving > the bq2415x chip the isp1704 as regulator) and uses existing > standard interfaces. >=20 > > Patches for modem support are being prepared for upstreaming > > :-) so after that it is up to you to create "call" script > > as you want >=20 > I'm on it. RFC round will be sent out this week. It seems > hwmod data is already finished, since i didn't get feedback > for that patch :) >=20 > -- Sebastian =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart8031306.oUTAP5VCoK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlJAn1cACgkQi/DJPQPkQ1ImuQCdGMp7+nMW7HOEELTTgDbjm5+r o24AoLqN/0IupCKm9rKUdjkNgtyK31hu =bGPQ -----END PGP SIGNATURE----- --nextPart8031306.oUTAP5VCoK-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/