Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp49500ybk; Fri, 8 May 2020 13:44:29 -0700 (PDT) X-Google-Smtp-Source: APiQypIiZ9Y7M64tTCwx83/2HRTYdXvNihBrXVEVzwGiDmVbVuURUBJvo0q8I1ih8plmFlkhjsod X-Received: by 2002:a17:906:8611:: with SMTP id o17mr3501524ejx.221.1588970669767; Fri, 08 May 2020 13:44:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588970669; cv=none; d=google.com; s=arc-20160816; b=0YjlxW/XKQN1KHYdRTns2isx4bFr291oKYqxdq+v1qDJDuXBEwFliGsvgHZG92hILY XfY5233LLbjAALgJilbvx8yocm9y22Mn9FHNwTagGgEnd45zwbQOIg3LOCCiWmkskYAh NzeNSDB2reJ8f6vJcGOYJ0uOJ2GifE0e8q0W5hWMMVvLxv+CMYpUurV8B0uzBHXQq59A 2VK8v/LttHxW9zwmjfip6mclStI1WO9JEnN73fMW9ng1NrjZ3yIZRmIF84TMJbIwOMyV KfrYcg3Xbbzpfnz0N7ADRbyWEmmX7psLH+FmYkek/qjp7xL0lICeKE14/zlbo59NHdaP ae4w== 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; bh=IBjZaeV/yVk7fuwGQGUHTk1sOmmkUmvCZN2IjQ15Yy4=; b=yRbmphZ6qfmYVVW0JfNUj4BOE/Nq/Ld4tli4vOUnkPF9E4erC+k2ic/ZYXE4ve3p0y frUBofNqDltzBSzE7tc9sU6FEL/XSQqSwN740Tv9Udh76chTZlKV2Pzj08XinwT+Rsot v/5rqXclcU1jaYPauFqwTRd6rFvID/UENA85xKQziqA1er0X+aMzWWArF88ZdbJcqpei umJJ4C0Ys5p84myXLfGttqPG37RA6MpTHckU12+De4ytGsFIbt9485cyfmmEs3jf5H7n 67zJA6HFfTcJbfGpuWJEwdnwNnF2GDKkvBztq/XTHlxHuw2m5jWhumjoJLYietLA4YOy J0/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PsFyNRZM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si1631516ede.211.2020.05.08.13.44.05; Fri, 08 May 2020 13:44:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PsFyNRZM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727110AbgEHUmj (ORCPT + 99 others); Fri, 8 May 2020 16:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726906AbgEHUmi (ORCPT ); Fri, 8 May 2020 16:42:38 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7641C05BD09 for ; Fri, 8 May 2020 13:42:38 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id s18so1374053pgl.12 for ; Fri, 08 May 2020 13:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IBjZaeV/yVk7fuwGQGUHTk1sOmmkUmvCZN2IjQ15Yy4=; b=PsFyNRZMuKZdfpfsrd0aae4b6JbHEwSmclMr3HcLeNlhOtWQbRlb6IiJp/k2lFA+UR X4XMUnzptg8P5o5vgMebZ3+Nlpn1dKNHezr2ZHi9AcDe8QGes9d0yOkec/PHIeSDyNSR 0ybB+26ijXpU45trQLQUdK5MLoS1/53E7dpawNdk8cepX/vKfrD6KdWLzmEiuWjUnTO/ QkPngZnESCHPqKy/QLkcvNSMCKWmHpRtrOw2Vzw25KKr4da8gF+48LVvqB+ARkgVJb4R H5e/wXuUQhSHxqtbqIB0ZVE28bVBaeI6CBdMPKs2iD0w0NMta4k+tz+Ly3U/zkNDCQ4d bgJw== 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=IBjZaeV/yVk7fuwGQGUHTk1sOmmkUmvCZN2IjQ15Yy4=; b=Ab+SLdAdSGuKgIbCt6uQigN/Pk2dtPcuty0U8B8VWH9pVRLxUG8WyT4t6Iw3VMO8JH DK10pkORpT6hwOJFH4VZDbipi7FBzqXNqQX5DZxhOgWzk9PHctswt9pfThUJ5kQoQFbx tXthzAneRYXVW5aW1b41N4xJyFOQkE0+yBstXazk1apEVXAroaeuHTRVp57L3cOl/e1W 03thkVdbn2vcusJj3phdlz0NNLqYBb3gdf8lLApwefefkHtrqSK1deTR1lM/JsZJIQZY u7BaZtXXXaM4zIhBwkRVZAbAHih7vEfgqsvkITizq/OtbVFhtulrUZN+GFmV/7iSRee6 Bk3A== X-Gm-Message-State: AGi0PubLYtTy6wrTNkkvniqns35OKnQPl9iHCZftjEQXWPuY+BVBQWHf n6F4EkXDOBDK7QkEk3yrWyTMOQ== X-Received: by 2002:a63:7801:: with SMTP id t1mr3415934pgc.192.1588970557422; Fri, 08 May 2020 13:42:37 -0700 (PDT) Received: from nagraj.local ([49.206.21.239]) by smtp.gmail.com with ESMTPSA id h191sm2670720pfe.44.2020.05.08.13.42.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2020 13:42:36 -0700 (PDT) From: Sumit Semwal To: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org Cc: nishakumari@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kgunda@codeaurora.org, rnayak@codeaurora.org, Sumit Semwal Subject: [v2 0/4] Qualcomm labibb regulator driver Date: Sat, 9 May 2020 02:11:56 +0530 Message-Id: <20200508204200.13481-1-sumit.semwal@linaro.org> X-Mailer: git-send-email 2.26.2 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 This series adds a driver for LAB/IBB regulators found on some Qualcomm SoCs. These regulators provide positive and/or negative boost power supplies for LCD/LED display panels connected to the SoC. This series adds the support for pmi8998 PMIC found in SDM845 family of SoCs. Changes from v1: - Incorporated review comments from v1 - Changed from virtual-regulator based handling to individual regulator based handling. - Reworked the core to merge most of enable/disable functions, combine the regulator_ops into one and allow for future variations. - is_enabled() is now _really_ is_enabled() - Simplified the SC interrupt handling - use regmap_read_poll_timeout, REGULATOR_EVENT_OVER_CURRENT handling and notification to clients. Nisha Kumari (4): dt-bindings: regulator: Add labibb regulator arm64: dts: qcom: pmi8998: Add nodes for LAB and IBB regulators regulator: qcom: Add labibb driver regulator: qcom: labibb: Add SC interrupt handling .../regulator/qcom-labibb-regulator.txt | 47 +++ arch/arm64/boot/dts/qcom/pmi8998.dtsi | 16 + drivers/regulator/Kconfig | 10 + drivers/regulator/Makefile | 1 + drivers/regulator/qcom-labibb-regulator.c | 385 ++++++++++++++++++ 5 files changed, 459 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.txt create mode 100644 drivers/regulator/qcom-labibb-regulator.c -- 2.26.2