Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1554438imm; Thu, 12 Jul 2018 04:04:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe/qHC/v2IHH+0Sb+fT2LCzX3Cy/O+xJdGdJa/wQNSxD2SpHXfVK2giCoSYg5v4XsWfue7U X-Received: by 2002:a62:2b4c:: with SMTP id r73-v6mr1905250pfr.134.1531393455022; Thu, 12 Jul 2018 04:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531393454; cv=none; d=google.com; s=arc-20160816; b=op8KAiV9c/HI37sBgHIoLH8yOMTnw0RUH0Xf8GbcWWXwUX29WOX4CTGhtfxujx7ZPU jYN2SpHHX62h4BFVqyZOYns6ovZcNALL5+djdRJsT/fI6d5LaVZderGJ0VAU6bqy5Ogv 7rnshFv57OODjLA/2LbC0nS+JcfnuNTRLgygm2CsObLT7xaHfg45PLkaBE3XGczAaBBL MQn3BH9z7YRr6D27/j9VKdXp/082GmKrIHnfj56YaMiBt/sZj+ZcGL+uLrEj3hN6f+Xt YlMpwnyvF5IDygRUkF0r28YIEWN16Ma+8dNu5VCa8qyAmD50Bgd8JRNgOKuRqtLTG7mI xZUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=oR0Y2RGKO8YaCgt8hcMS6pCQPcDeNM0G4F2AmNUbaRg=; b=f30efS4kGqUCJiBI8JtI3h3/U7qPBNbIKphw2l/dhuzKGC+VOXFzUw/GbcSalZJVCq hQQ4pqNd+ZCF6xD4HFAsCe7xrKkN5dxVbd3eQZQ3ZqcOodDK4MPWTxa70gThZAkhRlJW 2KsmrWNtmzOKl3hQzsroeLUuXFbKftyAjwR++iJif9VtFb00yogydf4j8r/dkoerd8PV 9kzu0zQ5zGiRe9fS2V8g6luGLTKw/HJAROBMN58+CI4yVIBnfgxxMIK7dvoSvq8Lw65E 0BsKLDSJ7IQSUU4xojY7PqtrApJCCveMXKDGCkeMqeD7HbnWXq/MUfggEg6+2dYLLzOl U4Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d35-v6si21658634pla.116.2018.07.12.04.03.53; Thu, 12 Jul 2018 04:04:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732397AbeGLLLy (ORCPT + 99 others); Thu, 12 Jul 2018 07:11:54 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:38467 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732343AbeGLLLy (ORCPT ); Thu, 12 Jul 2018 07:11:54 -0400 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdZMy-00068Z-Rs; Thu, 12 Jul 2018 13:02:44 +0200 Received: from mfe by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1fdZMy-00014b-1m; Thu, 12 Jul 2018 13:02:44 +0200 From: Marco Felsch To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: fabio.estevam@nxp.com, Anson.Huang@nxp.com, kernel@pengutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: pfuze100: add optional pfuze-disable-sw binding Date: Thu, 12 Jul 2018 13:02:39 +0200 Message-Id: <20180712110240.3006-2-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180712110240.3006-1-m.felsch@pengutronix.de> References: <20180712110240.3006-1-m.felsch@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This binding is used to keep the backward compatibility with the current dtb's [1]. The binding informs the driver that the unused switch regulators can be disabled. If it is not specified, the driver doesn't disable the switch regulators. [1] https://patchwork.kernel.org/patch/10490381/ Signed-off-by: Marco Felsch --- Documentation/devicetree/bindings/regulator/pfuze100.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/pfuze100.txt b/Documentation/devicetree/bindings/regulator/pfuze100.txt index 672c939045ff..1f17ab7c7123 100644 --- a/Documentation/devicetree/bindings/regulator/pfuze100.txt +++ b/Documentation/devicetree/bindings/regulator/pfuze100.txt @@ -4,6 +4,14 @@ Required properties: - compatible: "fsl,pfuze100", "fsl,pfuze200", "fsl,pfuze3000", "fsl,pfuze3001" - reg: I2C slave address +Optional properties: +- pfuze-disable-sw: Disable all unused switch regulators to save power + consumption. Attention, some platforms are using the switch regulators as DDR + ref or supply voltage. Mark these regulators as "regulator-always-on" to skip + disabling these regulators. If not specified, the driver simualtes the + disabling. This means the state of the regulator is set to 'disabled' but the + driver don't disable the regulator. + Required child node: - regulators: This is the list of child nodes that specify the regulator initialization data for defined regulators. Please refer to below doc -- 2.18.0