Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp988144pxb; Wed, 6 Apr 2022 06:07:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywKd0XzZ20lhB0ELQgeKOqJHFb5GuJYzY3U1/tnDHq3UFxVSnSRs6hPSj0tfhRpcwgxZMZ X-Received: by 2002:a62:fb0f:0:b0:4f2:6d3f:5ffb with SMTP id x15-20020a62fb0f000000b004f26d3f5ffbmr8649165pfm.55.1649250438836; Wed, 06 Apr 2022 06:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649250438; cv=none; d=google.com; s=arc-20160816; b=UfppaO/tLJwn+KyMMGdB/vBH62wPAbyRucJ70tfpDQbpkMWcVfbOsJK6enidwipmNN kGajQScf7S+eyQz8HnQGiYncGSfxNFFnRGPB+iorI8LFSHEIvwC6CWOUM4RS6KsTIs57 uMqnhUOH6il5VxXnr8uDHUiX4sV0h0+QZ2AVC5DZNcWxx0S/EEY4QmDOHW1PGarxquM2 pbB/t++Zghq7VWgaLA0yWkTh2CvVlNuPPDA9aOpqiOi4zLcTrdwpcCvbnOaMIBxSc/DJ 8AFDQQm/E2KNsIiPJRGQNmLNxnhzw11KqMJHjImV/8S5acg530ub8sbnQMFJCcFHQwxF 7pkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/SGY5EudjaGdSXrVzfUtedVft2d5wnuxaMlMNW2aRB0=; b=YNr5NbgOKTXWgcy6zCH8Y04kUuLVwh8wQIO3wMbxMs1hlP9LM1ZjLuWBMUvN24dM9F oLS79s8QNsniicTolUEc/tHhKRyRnmeTEhGNW8+DkWEIBErftOrLhw3WDl9elNTQsBIF 7AAxWBvs5waNW/hsilQ8H4oJoB3l9xYCWaJ8w9ZDJ2fEf7j4cNERsAKZ1b14aL326ebC 9tdvmlQHuPczPhD6r26MWojiRGxl9c7omdKNjTvqPHluMxSNwfZrVUg8Jyp3+SzAESTb S3nx4+96O39yr8IZha8BWZmavl40iHKvhUQ0xaYix68XUqhH37DkZWdIqDtuK+Q8bH6O EBSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="bDib/z5a"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a5-20020a170902ecc500b00156aa846117si8819435plh.622.2022.04.06.06.07.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:07:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="bDib/z5a"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A20F666E88F; Wed, 6 Apr 2022 03:29:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1452589AbiDEWcF (ORCPT + 99 others); Tue, 5 Apr 2022 18:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442147AbiDEPhC (ORCPT ); Tue, 5 Apr 2022 11:37:02 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 067CAECB23; Tue, 5 Apr 2022 06:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649166677; x=1680702677; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=/SGY5EudjaGdSXrVzfUtedVft2d5wnuxaMlMNW2aRB0=; b=bDib/z5acJoDX72Rq0ubmgNBrtCtrPuMLTklQhg7YnPgddIYXswV85Xq CWoEAISiZ/elzyyctQbrk4GPkwZV/EK3EMOacBkZ4oEH7HE+bgUr2Tiet 1b2jcOSDbyzGrayNYeIwn5gnIu4bwHcOrD3zhtGc6W3PRWaljzt2owj3M g=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 05 Apr 2022 06:51:15 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2022 06:51:15 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 5 Apr 2022 06:51:14 -0700 Received: from c-skakit-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 5 Apr 2022 06:51:10 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V9 1/6] dt-bindings: mfd: pm8008: Add reset-gpios Date: Tue, 5 Apr 2022 19:20:28 +0530 Message-ID: <1649166633-25872-2-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1649166633-25872-1-git-send-email-quic_c_skakit@quicinc.com> References: <1649166633-25872-1-git-send-email-quic_c_skakit@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add reset-gpios property for pm8008. Signed-off-by: Satya Priya --- Changes in V7: - Removed the intermediate regulators node and added ldos directly under mfd node. Changes in V8: - Change the compatible as per driver, remove interrupts from required properties, add reset-gpios and move regulators to separate binding. Changes in V9: - Undo the changes from V8 and only add reset-gpios. Leave interrupts as required properties and do not change compatible. Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml index ec3138c..3312784 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml @@ -44,6 +44,9 @@ properties: "#size-cells": const: 0 + reset-gpios: + maxItems: 1 + patternProperties: "^gpio@[0-9a-f]+$": type: object @@ -92,6 +95,7 @@ required: - "#address-cells" - "#size-cells" - "#interrupt-cells" + - reset-gpios additionalProperties: false @@ -99,6 +103,7 @@ examples: - | #include #include + #include qupv3_se13_i2c { #address-cells = <1>; #size-cells = <0>; @@ -113,6 +118,8 @@ examples: interrupt-parent = <&tlmm>; interrupts = <32 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&pm8350c_gpios 4 GPIO_ACTIVE_HIGH>; + pm8008_gpios: gpio@c000 { compatible = "qcom,pm8008-gpio", "qcom,spmi-gpio"; reg = <0xc000>; -- 2.7.4