Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1555511imm; Thu, 12 Jul 2018 04:05:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfRKQSq9TMcHhIxM+Wul6Fd9EAk6HSR9SwK/BsvSYAhWwbpBq9HH54lh/+6448UIj4R2DuB X-Received: by 2002:a63:161a:: with SMTP id w26-v6mr1702435pgl.257.1531393514361; Thu, 12 Jul 2018 04:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531393514; cv=none; d=google.com; s=arc-20160816; b=Tw4qVaqOsXDEaqEYNm3Bc916jc37XqczpHcHU5aG3yGH9UBrTELT2u7A/sU9M5w2A5 rZ+/J03QyRULWabzp86BfWGAZ9L8QHKunLTTiCNFYYo1X57ZXbf84mikyWlOVUbBl4pW tOjwkr/h79TBI4FaLmvmKpv7tRMPlE2EHLha0tamOQhMvvRIyIKDJeZI6mAOHWaaDeml tVE9bXOAlhxNxqIxs0keVRIp31E7kFcUKV/Yuf9mgd2zGjk+PlfjkgyZnGOlnoUZniXq sZzsDKIjYz8DcHkjZYSbFstcZN2xw2/GIAu2sJNUwdq7HuCB21evXxv/tppWJZ3TLh3i L/vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=L4YccEgftkCkdsGI5Tz8hr7Y20Q3vKuh51+Otc7dMR4=; b=UVvgk9o0JKGQIJa+deYOgDWMeyGiRsYL1p8jD5aYaYZv3JNofvu9Pv9Sau3yWtaHtI 6HtcSyi99WEUflsA1dKGuA60JMTpQbNvHW+3HdJfg6TL75H5Me6DPEnsX79O4W2lDGeK h1cZjT0wSL5D2mQx0dbrNDAfKRfy7as+E5eqTZZmGXKmFLq8abp+oIbVsDyKy1xBn/dk 8MIvMC+2bqFsF7EMPtr+ZtWlclr9vATlrKTGzg8jYIueALBqTz1V3s/Ufd1nPFiv9Bk4 JN3lDNHTKOgvGwG3BcFjrW/3XGcaQpY1aHnWqbu19koHMn58eOtV3eG28wk7yzhPW1Dw 2XPQ== 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 b13-v6si2186582pgb.356.2018.07.12.04.04.50; Thu, 12 Jul 2018 04:05: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 S1732373AbeGLLLx (ORCPT + 99 others); Thu, 12 Jul 2018 07:11:53 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:35527 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732350AbeGLLLx (ORCPT ); Thu, 12 Jul 2018 07:11:53 -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-00068Y-Rt; 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-00014Z-1K; 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 0/2] Re-Enable support to disable switch regulators Date: Thu, 12 Jul 2018 13:02:38 +0200 Message-Id: <20180712110240.3006-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.18.0 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 Hi, Anson had added the support to disable the switched regulators, but there were regressions [1] with old dtb's, so the commit was reverted [2]. At all, the support to disable the switch regulators seems to me to be a good feature. But we have to add a special dt-property to avoid regressions with older kernels. The property allows the user to decide if the switch regulators should be disabled in real or if it is a 'simulated' disabling. By 'simulated' I mean that the regulator-fw think it is disabled but the switch keeps on in real. Since the revert patch is on Marks regulator repo, my patches are based on his repo too. Used Kernel: Repo: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git Branch: regulator/for-4.19 Regards, Marco [1] https://patchwork.kernel.org/patch/10490381/ [2] https://patchwork.kernel.org/patch/10500333/ Marco Felsch (2): dt-bindings: pfuze100: add optional pfuze-disable-sw binding regulator: pfuze100: add support to en-/disable switch regulators .../bindings/regulator/pfuze100.txt | 8 ++++++ drivers/regulator/pfuze100-regulator.c | 26 +++++++++++++++++++ 2 files changed, 34 insertions(+) -- 2.18.0