Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp49503ybk; Fri, 8 May 2020 13:44:30 -0700 (PDT) X-Google-Smtp-Source: APiQypLNyOd70AqJDZBDIUzJpcgZIMwrY2OkR8+t5zRQW7bdVMaRbmcjR9AfMYhrRHS4boUu4tvn X-Received: by 2002:a17:907:1119:: with SMTP id qu25mr3351002ejb.291.1588970670304; Fri, 08 May 2020 13:44:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588970670; cv=none; d=google.com; s=arc-20160816; b=H2fW13LY3KnIX7VBnj2mWbg5fm+GtwakRmHwI48tULL8O7pdf+e3sVWdhmTkB4lNqR BLyNTzgav13Sphvg5HsBjrf/DgqUa0mKUQEzzi8f/b40eVHKU2tWHySQ7pajrgGFdlFU Yke75tQ+7JUBu8HoCq+KplkNiOZhCulihTEFTXZTU+HoTLHWbmHFT06hi8ajCLiDrTet wVyiiw8uQ29+keC7c9T+ie9ONsl+V+ZeVUfm7e0YGNNnHlzswaTg7ezjQ0PkSxYnbJbx HusVA1Wz5KlfTJZv3E3/uIOpXWhHH/9AD3dN4zo3t7iZsp5FVbBfZs0loyse9Mh9t70q jDAg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=v/kJOzHQVNztoa88Zqa893txGdJr3NbK0Uy6cZ9N+p4=; b=mwO8+UXKE37/jwvWquhjvceRR1JluA6Fs/BwQqu1J5RAanYJjUcEJa2AuSLfzp9TSt UxEUf35LjtAVtnSMOxzz3Cf5OyVYER6Cb/Sl2v+sd1DtzxxFE1gd9QH/uQ0pBjtxFjPd zPeSoOe0wU/oXLhG0OVI7uY94hxAn7uFMi2gfPms43OFcmBBTU7NJlRXuEjci+WPHrGm TAelOgd5yJxNvIiDWAEiZR0g/Ra2I3t2GpxpsMijXyOru7qW0Om5j9VXfS5zcJJ/HAyi SFW7co0DKqjJ4mlQVB/PFzQakBPw6owvyhK61K608TTGKpdxX3JLc80BHHYjs08wW9Rd 31VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DpwtSGfU; 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 ga21si1594959ejb.350.2020.05.08.13.44.07; Fri, 08 May 2020 13:44:30 -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=DpwtSGfU; 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 S1727830AbgEHUmp (ORCPT + 99 others); Fri, 8 May 2020 16:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726906AbgEHUmo (ORCPT ); Fri, 8 May 2020 16:42:44 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25B7BC05BD09 for ; Fri, 8 May 2020 13:42:44 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t16so1242952plo.7 for ; Fri, 08 May 2020 13:42:44 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=v/kJOzHQVNztoa88Zqa893txGdJr3NbK0Uy6cZ9N+p4=; b=DpwtSGfUSL9CaKsXqVEz6+TLkdcWRpU57TbJQD2eIMJuVeMUFx37rOlwnIXKjG0zg1 +T9J0pJVRIGiPFPXLEG2zpm4A7vsYF252Wlid8+YjZBVRvYfbOs2dz7Qpb/m5iRtWtlK VvZG3TgTNpJq7gSlWQlFU0fi8IsfhcBGaKSY0ikVodZYDbeUbOJinlO3Y+N2eR4u2ISv +SlnwR1RvQ+7JDhuoTMdWxwG2DJuiimRfvT8+B8F2ZnkmQKYNDLRpSXcAAWBJ5R5EMd5 z/M2wfmFJT4uyoxKQwU6JiCkKwCF0XQPOUaRuzoK+hO9E2951WDCcYkuMAbpCZrpyWQW devQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=v/kJOzHQVNztoa88Zqa893txGdJr3NbK0Uy6cZ9N+p4=; b=nxEurZm0PVaCDd8Ls2r/5KyIDF7ozXst0lwztaJRb7hrDa0elnivHUuaAk7Z5JNqo0 2NbzyGbJL36A45KGmrdoA1p0TdeJSzHq3Yg/vnhTPmSmGowpWdZD80hs7gnKEhgsihed Okbhc9BI2XklN6gt6p+yGBBBpNalSMTPfT1LBcWh1fJaHGB3edZSOzgBwmlQnckl69p1 gHejaWj2Mt+Q3zd+JdZnaYAC7MLaVux3cH9YcEcSAjf9AZZXQtNPp66JQpoMOgkNrFPz /nTxhpzJPShhOJNp4PReD6/6Xu+NAQhyDlR2fu+3hUp0XaD3q1cVAEZmf+12v/RzyQu/ tBdQ== X-Gm-Message-State: AGi0PuaexFoHZcL417pL0E0M3FLLP4tKmIkhfysi3kjUTu5at9GA6yaw AeiaCN4M3ghu0dnIYSU8GS9q1w== X-Received: by 2002:a17:90b:8c8:: with SMTP id ds8mr7896979pjb.164.1588970563609; Fri, 08 May 2020 13:42:43 -0700 (PDT) Received: from nagraj.local ([49.206.21.239]) by smtp.gmail.com with ESMTPSA id h191sm2670720pfe.44.2020.05.08.13.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2020 13:42:43 -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 1/4] dt-bindings: regulator: Add labibb regulator Date: Sat, 9 May 2020 02:11:57 +0530 Message-Id: <20200508204200.13481-2-sumit.semwal@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200508204200.13481-1-sumit.semwal@linaro.org> References: <20200508204200.13481-1-sumit.semwal@linaro.org> 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 From: Nisha Kumari Adding the devicetree binding for labibb regulator. Signed-off-by: Nisha Kumari Signed-off-by: Sumit Semwal -- v2: updated for better compatible string and names. --- .../regulator/qcom-labibb-regulator.txt | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.txt diff --git a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.txt b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.txt new file mode 100644 index 000000000000..6e639d69f780 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.txt @@ -0,0 +1,47 @@ +Qualcomm's LAB(LCD AMOLED Boost)/IBB(Inverting Buck Boost) Regulator + +LAB can be used as a positive boost power supply and IBB can be used as a negative +boost power supply for display panels. Currently implemented for pmi8998. + +Main node required properties: + +- compatible: Must be: + "qcom,pmi8998-lab-ibb" +- #address-cells: Must be 1 +- #size-cells: Must be 0 + +LAB subnode required properties: + +- interrupts: Specify the interrupts as per the interrupt + encoding. +- interrupt-names: Interrupt names to match up 1-to-1 with + the interrupts specified in 'interrupts' + property. + +IBB subnode required properties: + +- interrupts: Specify the interrupts as per the interrupt + encoding. +- interrupt-names: Interrupt names to match up 1-to-1 with + the interrupts specified in 'interrupts' + property. + +Example: + pmi8998_lsid1: pmic@3 { + labibb { + compatible = "qcom,pmi8998-lab-ibb"; + #address-cells = <1>; + #size-cells = <0>; + + lab: lab { + interrupts = <0x3 0xde 0x0 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "lab-sc-err"; + }; + + ibb: ibb { + interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "ibb-sc-err"; + }; + + }; + }; -- 2.26.2