From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753303AbcBHQXH (ORCPT ); Mon, 8 Feb 2016 11:23:07 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:40205 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbcBHQXF (ORCPT ); Mon, 8 Feb 2016 11:23:05 -0500 Date: Mon, 8 Feb 2016 16:22:44 +0000 From: Mark Brown To: Chen-Yu Tsai Cc: Lee Jones , Liam Girdwood , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Maxime Ripard , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi Message-ID: <20160208162244.GG7265@sirena.org.uk> References: <1454408864-24112-1-git-send-email-wens@csie.org> <1454408864-24112-8-git-send-email-wens@csie.org> <20160202121733.GO4455@sirena.org.uk> <20160208145347.GD7265@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zGQnqpIoxlsbsOfg" Content-Disposition: inline In-Reply-To: X-Cookie: All work and no pay makes a housewife. User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC 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 --zGQnqpIoxlsbsOfg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 08, 2016 at 10:56:05PM +0800, Chen-Yu Tsai wrote: > On Mon, Feb 8, 2016 at 10:53 PM, Mark Brown wrote: > > On Sat, Feb 06, 2016 at 08:42:24PM +0800, Chen-Yu Tsai wrote: > >> Mark, may I assume you are OK with this DTS include listing > >> the regulators, even if their sections are empty? > > If it has no content why have it? > I'd like the regulator core to disable any unused ones. The core > considers regulators that don't have nodes as not having constraints, > and won't touch them. > Any other ways to do this? Or am I going about this the wrong way? The whole point with constraints is that they describe what is safe on a given board. This includes powering off unused regulators - it should be something that the system integrator configures, not something that they get as default. --zGQnqpIoxlsbsOfg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWuMDUAAoJECTWi3JdVIfQlEAH/2N1gKpmxfvLH6zx7FxBrOfE MaFAyyuQmvSAyIE8RPkRm+/ci4c+CLU1pNjlViQ0gGA/7kNSHowqsKlRNmy+wQ0v yZQWqeeH6FZYb9EKO91ZzSjvZnC+0gcRssD1C1LqSdbkm82LrTfDflUPr/Nw1eLO fxHFs/Ltc0pmmWqdu+YGbSbzQF7lx7mxE9EYxmwFSdl5pm8v3C8Go9ZmG0KLK/Qe zO1GCLEZkttj4I2xU0rKwEFoQwdNCBqWGNRBd1gdCsloVW5u0PvuQzvQLdXzqCCf IR3VYZQHenZR1ggqWlS/LxuELYbp4qn1bfBQ5J5G1OiISfZcMvIS2JNzmxQui6M= =9ntP -----END PGP SIGNATURE----- --zGQnqpIoxlsbsOfg--