Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2578113iob; Fri, 6 May 2022 06:09:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwar/06Oy0whpP5qvYCLR2uQe0DZ509wNAhosBBlCta75m11jTnV7YBZddP5/Yw1vMvGyk7 X-Received: by 2002:a65:62c3:0:b0:3c6:12b1:1177 with SMTP id m3-20020a6562c3000000b003c612b11177mr2663728pgv.597.1651842578149; Fri, 06 May 2022 06:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651842578; cv=none; d=google.com; s=arc-20160816; b=wLYoZd/PTFqoxAGft5Hd+H+xXLLSRWKyqCp+9sAo+tT7FhaH80YTp8sATHsSnYB5/s lJgRsbdt1f8PD78XvifenkRi0jd+7C0Bqm4oRhO/HG8EuWNNu6lgcDBwDkkk5NCOVSnm cFe+PNoH3L0G5A2QrqIk5xnE8wbwGNVK9D6qsBZlz0dEVsoWzCaKzyvBW5LMOfjQBmQe inhBCGlF35eXJ199sEvNv8whpDn064H8oCVNBrWoc3Egsa83TjbEdU2XsRabC2jAIFuf g/iAbkHprFl70b0gRdQuykBxSYNJFMkwyt14oaxA4Io3YDprvShT8lm/wHGDH3BX0+w1 qD7Q== 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=Ho5Imuc8m6IiD10RASXOZ9iwEMy8rkRJx3H789gHlpw=; b=yB/GAV8g99aClKYhNaLGTxA17N8oztnZW6femempgj7Q+XI520FzI16OtscdybLwAi /7zUjJkyKjvN879XehVZOwbdOYQNKH/1qacnoh2jYmx4qrGKfcALeZ9ghqbEyg1gDd9X Rkp+Iu9ZiojQXG5ZWEf5wDLNrIBYGaRt7lap5bGTkG8z/PVCSTy1tFpYYJDRyx6fQ81X 0EuOgfF0ba0RO38v8Vrn7YZq2QdtzxslMohJ4jcaPc1h2ZRyfx2T7yJW+NXxuBSzaEzC ThWCfGpRJIHXNBYxwKZN2qyw8zEbia2dMNkg8sX/ux/VFLcIKyOr37ymVvUugdE5Q/HX 9UVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=WloES47N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y11-20020a170902cacb00b00158f04afd74si1855102pld.146.2022.05.06.06.09.10; Fri, 06 May 2022 06:09:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=WloES47N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353048AbiEEJac (ORCPT + 99 others); Thu, 5 May 2022 05:30:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352742AbiEEJaU (ORCPT ); Thu, 5 May 2022 05:30:20 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E49E344CC; Thu, 5 May 2022 02:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651742802; x=1683278802; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Ho5Imuc8m6IiD10RASXOZ9iwEMy8rkRJx3H789gHlpw=; b=WloES47NKtg/ghPCCG4OZaoJ84+IOooMNdU+m9sLGp4Qg4NJcyHmvTEs NrTUf8Ar6ju7z/sy3cvqesvoWWqt+tykdJz5J6OWIHdsoNwB1ccMz7vxZ E9Dt0KJs6HXfQ5m3duWeEufYPLbNj6w+/127m1FdiLd5LgCh+oWHgfF2e M=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 05 May 2022 02:26:41 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 02:26:40 -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; Thu, 5 May 2022 02:26:40 -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; Thu, 5 May 2022 02:26:36 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V11 1/9] dt-bindings: mfd: pm8008: Add reset-gpios Date: Thu, 5 May 2022 14:55:31 +0530 Message-ID: <1651742739-12338-2-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651742739-12338-1-git-send-email-quic_c_skakit@quicinc.com> References: <1651742739-12338-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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Reviewed-by: Stephen Boyd Reviewed-by: Rob Herring --- Changes in V11: - Change the GPIO_ACTIVE_HIGH flag to GPIO_ACTIVE_LOW. Changes in V10: - None. 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..a89649c 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_LOW>; + pm8008_gpios: gpio@c000 { compatible = "qcom,pm8008-gpio", "qcom,spmi-gpio"; reg = <0xc000>; -- 2.7.4