Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1404896ybl; Tue, 13 Aug 2019 12:01:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGasYpwWiTZO5yBklShmPMKMPQII4FJ8/4TYAfizZAR4i28KHRn+jPbgBXIHbY5gTN0xer X-Received: by 2002:a62:e801:: with SMTP id c1mr8758703pfi.184.1565722907230; Tue, 13 Aug 2019 12:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565722907; cv=none; d=google.com; s=arc-20160816; b=rg7Ef3mInPPtWfExs1ZxU2N7cYhqxdrx2pvtqxJCneSX8WQ0fFTlYq4yVTkFD1zqYL 58drOPNfKFcrD9NwujG7szV3OfWppidBVZkCHpiesdmIzorKH9VBzZ4Ld1jK2njfp3/c 6mVc0k9WScVkXs/90RUfPYU/5Maw+Ez2fcX7JcZSjEcLlUM4lZ/vTlxgSU0EHB0EiL+0 TFZ2IOjhNefGtsG4oWLiufY+ilu+wipYlmo1MgBPs2ZgENojdkWzWBKJxV33x4Nv77bo pLf2I2OiuxYINiQSfAZddeA+q+VEbdtIr2r3yjDBpE61/Dmq7Caj4EsDLSzDtT9w+ps5 Itmg== 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 :dkim-signature; bh=S0LAFVLBNQXq0CeH2oVRWGFd66rcpydEf8kpIAS8gsI=; b=hK5mI2wkZ7zCBGn1eog8LCGFC7DUtTKhCBNDMQ+1GNIsgDHSsIz3MupIRsuQZo5xND sgYBZYmDce8tltK0KldnZ0gaU9WGhs7Z1Oog2bmc2mGXWa8D5vH52kskxx5pblVK++9W 2lqlXG6jnbAkOpK6l1W6bfm3AIRmiOSPEYJdtKVNVn+ygz9UEOtlKb+WrqK0Po9U6Ly8 IvmZL/QpxLilEwnNV/LelaDOQQipUeVzwKE339i7voCpmzBDBKJ22Li7Ezc2WBb2cwHm GlQ0Doiq/AUJKxrBevhkfBwAuRONWsedIz01Ax/GWQIKgN1DNo4vjr9TjWvDuxdOyXr3 x+9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gAL6XCnW; 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 j33si5731170pld.390.2019.08.13.12.01.31; Tue, 13 Aug 2019 12:01:47 -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=gAL6XCnW; 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 S1726363AbfHMSdV (ORCPT + 99 others); Tue, 13 Aug 2019 14:33:21 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:39062 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726116AbfHMSdU (ORCPT ); Tue, 13 Aug 2019 14:33:20 -0400 Received: by mail-pf1-f196.google.com with SMTP id f17so48087794pfn.6; Tue, 13 Aug 2019 11:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=S0LAFVLBNQXq0CeH2oVRWGFd66rcpydEf8kpIAS8gsI=; b=gAL6XCnWC5cPaEND00MxphBmP8GrhrUVCmuEq2m8iAWJy1JbET8rK9EE7YXwhNLGpf FM54iOmeXDZTbKpvO+SPoM35CBsJi0JKDBK7sGVSDx/AhQNU80iCUDrdntePz9980YSo HBDn3T9lebdqcge1mzbqupUtrdCaElVeIjW7gLr9ROUxTh9S9ulhZqmoXmd2XTGOSYrU OI+2E8RLJTAUkxTEMsuA9cLHMZ469126ijS6wBgEDghlnhcmmXnUTr696hlMCPBSpre6 swohnYlKfTYCyNwhiEvJGR1+ZWfHZZpRBeYuO81mdywvHYM2DAW3nTws4oqnNxqUuPUD cnQA== 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; bh=S0LAFVLBNQXq0CeH2oVRWGFd66rcpydEf8kpIAS8gsI=; b=IQm0S5fbQE9NpbE5HOQFiC1eqSs/zaNSXpfjXWW6yNuPhPzloYbt7pplf4jIskHEjL e72pG4HkoWwbPJJ1DteNRmh8r9YlBMA21irAsbWi5K5TPUNjhB+dW9b+QnV4nW2LdCW4 MJ2V5AKaBvryzZKN5FHXdkdyJ6Py1OFMgHrfKr2dpSa10dOMT/G9aSEZU0BToaM0mLHm iijgPoNcq80wDv/zVXmzpjqigcnOdCUDxyFhidDgI5Qv3X4zpIFLnO/05qMOCwm38Fdh 1PdeB6uAwTd/wXR1DLWBqA9lSbMrP7zgERAzHV6CgXpiGOM5BvGtWFnikFIDDqv2voAz VFlQ== X-Gm-Message-State: APjAAAXdtnslyQb4JvtjOhJaibcIq11ep2F7itOXqVHhZYxrQ56rSy45 oGxk29py+psbUbi6kVOR0M9z/++/Jrw= X-Received: by 2002:a17:90a:8d86:: with SMTP id d6mr3459182pjo.94.1565721199642; Tue, 13 Aug 2019 11:33:19 -0700 (PDT) Received: from localhost.localdomain ([219.91.191.55]) by smtp.gmail.com with ESMTPSA id g2sm176911142pfq.88.2019.08.13.11.33.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Aug 2019 11:33:18 -0700 (PDT) From: Raag Jadav To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Mark Rutland Cc: Liam Girdwood , Mark Brown , Raag Jadav Subject: [PATCH v2 0/2] act8865 regulator modes and suspend states Date: Wed, 14 Aug 2019 00:02:54 +0530 Message-Id: <1565721176-8955-1-git-send-email-raagjadav@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series implements operating mode and suspend state support for act8865. Changes since v1: - Added REGULATOR_MODE_FAST for DCDC regulators. - get_mode() hook now reads values from the hardware. - Removed op_mode[] from act8865 structure as it is no longer needed. - Fixed ldo register addresses in set_mode() hook. - Reverted act8865.h changes. Raag Jadav (2): regulator: act8865: operating mode and suspend state support dt-bindings: regulator: act8865 regulator modes and suspend states .../bindings/regulator/act8865-regulator.txt | 27 ++- drivers/regulator/act8865-regulator.c | 187 ++++++++++++++++++++- .../regulator/active-semi,8865-regulator.h | 28 +++ 3 files changed, 239 insertions(+), 3 deletions(-) create mode 100644 include/dt-bindings/regulator/active-semi,8865-regulator.h -- 2.7.4