From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758579AbcEFMCV (ORCPT ); Fri, 6 May 2016 08:02:21 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:57638 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758204AbcEFMCT (ORCPT ); Fri, 6 May 2016 08:02:19 -0400 Date: Fri, 6 May 2016 13:02:06 +0100 From: Mark Brown To: Keerthy Cc: Keerthy , lgirdwood@gmail.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Message-ID: <20160506120206.GO6292@sirena.org.uk> References: <1462425040-18566-1-git-send-email-j-keerthy@ti.com> <1462425040-18566-4-git-send-email-j-keerthy@ti.com> <20160505153820.GF6292@sirena.org.uk> <572C20EC.7000706@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FJOUHINv8uyEJFmS" Content-Disposition: inline In-Reply-To: <572C20EC.7000706@ti.com> X-Cookie: Use in well-ventilated area. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 3/3] regulator: lp873x: Add support for lp873x PMIC regulators X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --FJOUHINv8uyEJFmS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 06, 2016 at 10:13:24AM +0530, Keerthy wrote: > I am using of_platform_populate function in the mfd driver to create > platform devices for the child nodes, in my case regulators. > of_platform_populate in turn calls on to of_platform_bus_create which > mandates compatible properties. It quietly skips device creation if there > are no compatible properties. You shouldn't be using that, you should just have a table of subdevices in the MFD. --FJOUHINv8uyEJFmS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXLIe8AAoJECTWi3JdVIfQnYgH/0zkEQttYknwp7FqjTE3Cj5+ omdo8zs00wgBBIFUxzAJWol9/8nW31Iq81LQyNYZkbnCpy07uh13+v7Hikpxum6G mqmCAbTdCTtq/MkKIwLmQ160PfRf0O4oSJoJVfeq+RXdvvyXiFs5/of76LJQj1hB 1kK5j4M3n4im34DNuUTThrvTZxJwP7hecIpH1nZxucS8Ivlorew40IuZYVHD/DHy lS6b8ndEP65hsNXqGWkJKYEx/AV8dPvJ1Ao21Vh1sS1F8HH7BSFFrHMtvdAH2Q9u PwhnHCvO5uxrsE6UutkGHKyRTzWBEApsgTIt6Es/qCpRzsMlzU8bdI51biN8fCM= =8Ta2 -----END PGP SIGNATURE----- --FJOUHINv8uyEJFmS--