Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1819308imm; Thu, 12 Jul 2018 08:19:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcu0vQNuyK3xT9LyIJ5H82YWzknEmEFRsnNZM8J07h+bKCJ2rQtYtWlf0JmjXUwVG7vu+RY X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr2547400plb.297.1531408746765; Thu, 12 Jul 2018 08:19:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531408746; cv=none; d=google.com; s=arc-20160816; b=Q8EvjrwiK5ieU2Yzqg2Y8SNAtknP+RGE/ai/JRC3f77AsjLgh5ARhAigFMBknrDxS2 W2okDGccnf9Af0Q6uGfDaCIZLXQ/Bxs7GrfbX9+eR1mfipvpW1zh8JWA3JbK16hVdIFi PC++z+as+uTdtFKfLcPAhkxPa3vHsLaZ22W+qF6IuvEbIgIT7UrBXQBzD5WDt6PLbudO 5vcTP8T5cT6uYn8kPioF7w10jI1KbGBFyRZu0ViCJQP9ysnqLlvKXKqd9uQXhCpRaW/j xlsLdzKY7JEqp2FHtvOMB3AzswjgX7VzE5eBKBccLAz2Xo0C3RY8MwuOX3jd0wT9KUrW 9DAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=x2re6sEyIFh6UFvzoVLgEZJ3iLjpdmrjE6slE9J8KiQ=; b=DEw9/xBI6y9uKIogN3OdCeQyVEh7m9rLVRq7wOfOlR4LAijGW00ZvFK5esIOhhUPpq z/Qzf8SgJQh/LKK67j/ikjPDfzOI9Ed4fgh+E37f/vRDnlJtXrdVZJW/0MCtOZ4Dn8Kd 6tpyJn6xkWzOjqF9eK5ihpILdDZlHa2gebtUZ5HaHCu8XWWtdDP3deFIw9mxlVOZzpxy VapLV979ML3I+jr8fP4KFEUdrRW+1S1QTAYKVm2AP3nfBNRSHFOpaYljAkEOagT4lAUc DaOmCSSvQZQdqScqImj0mzbz3j6obSAf/qJ8heJVV62epdgdN39RJ1G52UzfYpZOnw3e oiFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RMfd6JBA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9-v6si9961622plb.103.2018.07.12.08.18.51; Thu, 12 Jul 2018 08:19:06 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RMfd6JBA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732664AbeGLP2Q (ORCPT + 99 others); Thu, 12 Jul 2018 11:28:16 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:39476 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732557AbeGLP2P (ORCPT ); Thu, 12 Jul 2018 11:28:15 -0400 Received: by mail-oi0-f67.google.com with SMTP id d189-v6so56436631oib.6; Thu, 12 Jul 2018 08:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=x2re6sEyIFh6UFvzoVLgEZJ3iLjpdmrjE6slE9J8KiQ=; b=RMfd6JBAbfzCKsERjKBw0B1V6KxeGrAPZxxFismYBpFmVb6936lifzcJ1/wMXfjjPn j5c0aXi5bRjsjStytjeN10cNq/tLirmMZjkiygrdS7NMw2KFh/ufaqukBSPQ1jDoviD2 ELHF2NLK0awy6ROiz8Ry63Md20a1urv8QzkDqLb3JHqjHBabcypvfwdsWbSSnmqo5287 tHl/w5w+tzDV0vnbU0jCd4b5sdvESHdLtTwSA7QvW0z3014sWjt1TZsqixACrWnDTDy8 Z9hchablzU57b+GOImkXlrMGcKotDZmlRf7aWwtbXb94xBHt0sJsWeurRgXW+7gPd+2/ pKaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=x2re6sEyIFh6UFvzoVLgEZJ3iLjpdmrjE6slE9J8KiQ=; b=otQw4XZbfhCiYZ9pQ63leGdujrwnfXBnpsHp7aGyn/F/nVA4x4hMkOeaCU3vCdHmKP W7bMfnLU4p0uh64CO98SjclIPLg+1ikVUI1ZJcQwCmUeh6H/bATqZijgnktRaNIBXo/s J46zgEP93mweFKOU9vfnpW0HVQpETIlejfHAGjgoq4SXo3fue2/urrPUu+fg4I36TySu 7C4qlhf7keH15TZeFY24w9R6FN/3GDHmfj0uKGzsiVUoGU4RCOp5aG7x+VEyC2Eyu8zm c21rkJA80+JItSF+c3KDcD8VZjMFoq7iFZwFwl0Ov1jNAqLRUwkaxxgwvY+XXg0iexFk feog== X-Gm-Message-State: AOUpUlEKOUcA+9pnajkFqmHyBFEM4xTTMw9Iez5+LhUSml81PpFww5f8 csDNHnjYulPD3eg6P5XQjgQmq/VV6IIDP9FCDac= X-Received: by 2002:aca:b3c5:: with SMTP id c188-v6mr2987980oif.9.1531408695339; Thu, 12 Jul 2018 08:18:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:6285:0:0:0:0:0 with HTTP; Thu, 12 Jul 2018 08:18:14 -0700 (PDT) In-Reply-To: <20180712110240.3006-3-m.felsch@pengutronix.de> References: <20180712110240.3006-1-m.felsch@pengutronix.de> <20180712110240.3006-3-m.felsch@pengutronix.de> From: Fabio Estevam Date: Thu, 12 Jul 2018 12:18:14 -0300 Message-ID: Subject: Re: [PATCH 2/2] regulator: pfuze100: add support to en-/disable switch regulators To: Marco Felsch Cc: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Fabio Estevam , Yongcai Huang , Sascha Hauer , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marco, On Thu, Jul 12, 2018 at 8:02 AM, Marco Felsch wrote: > Add enable/disable support for switch regulators on pfuze100. > > Based on commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for > switch") which is reverted due to boot regressions by commit 464a5686e6c9 > ("regulator: Revert "regulator: pfuze100: add enable/disable for switch""). > Disabling the switch regulators will only be done if the user specifies > "pfuze-disable-sw" in its device tree to keep backward compatibility with > current dtb's [1]. Otherwise the regulators are marked as 'disabled', but > the driver keeps them on. So it's more like a simulated disable. > > [1] https://patchwork.kernel.org/patch/10490381/ > > Signed-off-by: Marco Felsch Reviewed-by: Fabio Estevam