Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4757893ooa; Tue, 14 Aug 2018 10:08:09 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyoRdo23P1XsXzLYmnq8n5FWNt939KsYFKCDMKYrzFvZM3/P3SD3c7GIZ3rhdgO8l8zWwdc X-Received: by 2002:a63:da04:: with SMTP id c4-v6mr21011152pgh.398.1534266489125; Tue, 14 Aug 2018 10:08:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534266489; cv=none; d=google.com; s=arc-20160816; b=Oo56uSudi4+n+FsYFi5D4rbk0P3pXIww6RHYiCFU5+LZAWCexh8Twd4nklPZmExWPr XTTPYxT33xrjua3nsXE0VjRSQukTPg5K9FLlxxThnaqo7sHjHKVE4glL2skM3W24S0lJ irI28SAg49OcGgl3l1sm0nuA0/475goRyBOTuvs1lyM+avlvYMn/eDutNq0bXkRVg/UU 7AfVoitegCqgxBRUGGFQoiw9E73Vx55AiBjZ+owvqKdtR1M0gOo9wEGOwI1esva/o5nG XnQz5IGOrS0I0SUVqVCSu5TYOWIWoT37aR/qQfp8Jnz73kHu0IAwBVQjdad+813TJ0E7 pdgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=lYNyxDGRcAM39zp8KUtMlIUKrI6lSh43IdRhuAwGMwI=; b=x8xdwv3zDGRnrDAGchvfbDt6pWtHbLIpxUM24r15EivZ/6fC9YAQmyBL1ip8pSaU4S rx0+JhVbAEnOv2Ht6XIzUXLns6nicHSaNPyKekTvppvSj2xYRGU89QznPv08sk6a9WfK 0JrKioNbs2SMfQHu6ruWCMtm+0xg2hJaxFx0B0ZRjVPcz725zGCL0LL8q7UZQ+VdbhWJ kf3x2mjlGABSNCxbqvbHEGVDjnZIRemzLqKHEskXCN3Ab3rFIn/tHCg4h3qKjhWwFpH4 utlxGJCoXACU45Q4gMAH0F9YBlzx6bInEZ6h252cve5vozWOQNQbTueVpTujAdlLHaf4 +ZIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZMOl1JoF; 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=REJECT sp=REJECT dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18-v6si21909582pfi.88.2018.08.14.10.07.54; Tue, 14 Aug 2018 10:08:09 -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=@chromium.org header.s=google header.b=ZMOl1JoF; 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=REJECT sp=REJECT dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387457AbeHNTyw (ORCPT + 99 others); Tue, 14 Aug 2018 15:54:52 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:41394 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733141AbeHNTyw (ORCPT ); Tue, 14 Aug 2018 15:54:52 -0400 Received: by mail-pf1-f196.google.com with SMTP id y10-v6so9515098pfn.8 for ; Tue, 14 Aug 2018 10:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lYNyxDGRcAM39zp8KUtMlIUKrI6lSh43IdRhuAwGMwI=; b=ZMOl1JoFVT0uxFk92u5K9js1WUCJRCIhSL5G4A4TXnbAKGZfRRXdVTsCDTS/yXp07k rUSOGWMYQTnXY+vH3QwKgP4h+Z+pc5f3CnoAb3Z3Frgf6shz88MKTNeVQ+vukl23UD9s B+AQtDUNXTmoDiROVR8xWb8VI+0WplLzZ/eYc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lYNyxDGRcAM39zp8KUtMlIUKrI6lSh43IdRhuAwGMwI=; b=iP5XKfvcGbcZZiWUuI31abM6xDmGvYFBh7OtW2e/OB+BWp2jy7rVs1LbLfsMnaiDNb bz7EcrMP5usNrk4cJpq/6z5Sx+yt1hStqZkHnDs/q5zLmlE657IENpHNKnkt/G/Syx2+ 0f1h/HHnIJXewRbzGvfiLP+7fN96Qnkht9zrk06Sz4sdW21kUAac2z3INI1anH+w0FkL AwlZRQ7UYjalrr59S/FWIi5ewMAg9uj5Ae8tFqxcJ4YwCPYeiZpg6HeeoxUCG5HDCJbZ hDne/tZbm+/oZTW9hvZune3GwUkFE7CzB8bAtMAG4NIoDMolv25T5ZV9if7ekVbtdpIq x00Q== X-Gm-Message-State: AOUpUlHgv4Qec3lGWQAZtjzYrBZVb+kyCRwEdxkZvR29VeAK3SxupEaY 7ZjF/PVe0cAl0Ue6B7DIpB9dPQ== X-Received: by 2002:a63:9f0a:: with SMTP id g10-v6mr21926716pge.324.1534266412536; Tue, 14 Aug 2018 10:06:52 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id d19-v6sm67940763pfe.42.2018.08.14.10.06.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Aug 2018 10:06:51 -0700 (PDT) From: Douglas Anderson To: broonie@kernel.org Cc: linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, collinsd@codeaurora.org, swboyd@chromium.org, Douglas Anderson , Liam Girdwood , linux-kernel@vger.kernel.org Subject: [PATCH 0/4] regulator: core: A few useful patches for regulators that need load set Date: Tue, 14 Aug 2018 10:06:13 -0700 Message-Id: <20180814170617.100087-1-dianders@chromium.org> X-Mailer: git-send-email 2.18.0.865.gffc8e1a3cd6-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches ought to be useful for those people who need to work with regulator drivers where regulator_set_load() is important. The first patch in this series actually implements real functionality. After that patch then devices whose drivers don't know to call regulator_set_load() are more likely to work. The rest of the patches just work on regulator_summary to try to make it so we can confirm that the first patch works. Douglas Anderson (4): regulator: core: If consumers don't call regulator_set_load() assume max regulator: core: Add the opmode to regulator_summary regulator: core: Add consumer-requested load in regulator_summary regulator: core: Add locking to debugfs regulator_summary drivers/regulator/core.c | 98 ++++++++++++++++++++++++------------ drivers/regulator/internal.h | 1 + 2 files changed, 66 insertions(+), 33 deletions(-) -- 2.18.0.865.gffc8e1a3cd6-goog