Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5520705imm; Mon, 23 Jul 2018 00:50:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfHkCFCx9/ucsDED9tOfNrfDKrnPqUA2FZXVnT34F4/CLehRL8MCzWUPg3xwNXPdIy3UdkF X-Received: by 2002:a62:644d:: with SMTP id y74-v6mr8575070pfb.221.1532332200471; Mon, 23 Jul 2018 00:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532332200; cv=none; d=google.com; s=arc-20160816; b=q4iyhmOUw01BW1yGp0bP9ucv48hi75wOUFkdG57ITv70DVRqprWfATDY6YWIUHzorY 0cJW7hjWijAwapWjL/R1MwgBH7Xtw7kh/u2C5HZH4M6ZcyhcuwyCEnTlCCaLNwqmHu7C 72QJgmulqSxbsdXEhYRXa2ll4T33KTyBuUrx4hZ+bUZ9YDat7uB4zekhbcsj5gvlOi98 thnfL+d7zyB3gH59+FMCVwv9xULkBATRm5ZcoklU6lFStGZKSe9cbLdmMj8kvspvglEQ G9fzEuh4B1rMHhJXryZduFcwYUxvGnM6elC/W9dM1/TCHv4C5dhbUf8BrOolG0fC+3s2 C9Aw== 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=xfSO6NqVKInqB3PhunDtgmJwRk8E/T5xUUaytskRpEE=; b=jOqsQDpSSDYTLSPTtHTHAbpYe752SmueqYF1B6+4S3R+qIl8AkzidgntjdpdK1tCYo 9mQKjOMi/X4jEF206Gm+6SvOhWhnU70H2QOArX6z4mrLAhBA1sOHx/lyWCltRCzIiWwS K/TUHOiiowMBY5jXO91azMGZXEM5OQJmox7lxkVsO936yK9fjr+bL7u8KemdfaTf04/j KQ9BU2x59jJPRIjxfRqEY5bMWk8+pXnsVnAp89ec+2Py6n8IHl7gORjgJH6xGKDZcTgy iRHA0oaJUYSdBcTjXERCuOi18TrN94xnhyBxbxO3r/DGg188008OW2fnNf1180PfZwf4 0RwQ== 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 v4-v6si8474032pgc.450.2018.07.23.00.49.45; Mon, 23 Jul 2018 00:50:00 -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 S2388131AbeGWIsM (ORCPT + 99 others); Mon, 23 Jul 2018 04:48:12 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:60247 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387992AbeGWIrz (ORCPT ); Mon, 23 Jul 2018 04:47:55 -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 1fhVZT-0007um-Mf; Mon, 23 Jul 2018 09:47:55 +0200 Received: from mfe by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1fhVZS-0007la-IX; Mon, 23 Jul 2018 09:47:54 +0200 From: Marco Felsch To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org Cc: fabio.estevam@nxp.com, devicetree@vger.kernel.org, kernel@pengutronix.de, Anson.Huang@nxp.com, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] Re-Enable support to disable switch regulators Date: Mon, 23 Jul 2018 09:47:45 +0200 Message-Id: <20180723074747.9328-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 or not. Since the revert patch is on Marks regulator repo, my patches are based on his repo too. Each commit has a changelog, so I ommit it here. I tested it on a custom board. 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 disable switch-regulators binding regulator: pfuze100: add support to en-/disable switch regulators .../bindings/regulator/pfuze100.txt | 9 +++++ drivers/regulator/pfuze100-regulator.c | 36 +++++++++++++++++++ 2 files changed, 45 insertions(+) -- 2.18.0