Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp540476pxb; Fri, 15 Apr 2022 05:48:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHxTPA0/DyeTAz04hNPx7YepOjqLG3w6ANLUBSUzzzKybKvAguzawpn8gcpHe+uq7gPy7W X-Received: by 2002:a63:5fd0:0:b0:39f:cede:cfe9 with SMTP id t199-20020a635fd0000000b0039fcedecfe9mr6257511pgb.455.1650026881730; Fri, 15 Apr 2022 05:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650026881; cv=none; d=google.com; s=arc-20160816; b=rzeuxbhG5C2PGmJJBvB9NRiauJ3O6y5vm3LGLSdJuasPxmdFFP9t+7TXjmsnzl6sEc VgWbPrlHdOxr8HFnPDUVNGwYjJ97kOAnxoxyLiXRd0P7lz27lgbWnQi/xim4NQlsBi1p oxVf8vlJ8/puI0VCqJrhh3Xqz1JXtKbq/R5VK5RhdIVQcFmAqhC6bzESDlduKIsqRsIy r+mEYgOFcmnET1O+khB9GBxwD7wnkCWdXYS7+PCjaILVEBpH+YQvTEJLt3uIZSb5Oj8C 4O1zm4c/aY9spK8vs6xyBzbDoOoTFAECeBJGo5bIfYe+COmidgXDcISuBQzShdYNdT9I o69A== 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=Aq8HvzHRB/MIc27qf/VrkpAgx3k8PjsQkDRQBQeNTR4=; b=F5vDgycGZyXmmbPL9Jj6WjyW0iWSNuGX3ezmC8RA5YrDHeoua6fbwsV9l0VsgEgHUL yxKN4IdXUp0SgcMTn+60DtfHOdf20GkI4h+fk/WGBu8ehYsfXjTBRRqU9P5WjONpryLS VHTxEYt4ok8uWQzPo43+lUjskkHdqh/GpSOLiBzp4k5x9tjKtEgmzbrp53q4UiH87Y6j i7SGkElvAxCjYVWzSXhcY/EDtLoA4LCUGwdToqvFTb8ZMakvTWvuP8QCAFhbAKeSNlvV 8WieMZRDxBR/5YdGnUvS+lEO/d5ma/NFB3LnnTSTUeRbV0m0TM3VQCd43Oaq+9LPbL+b DXbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=AIl3Fjl5; 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 q20-20020a637514000000b003816043ef37si1528631pgc.300.2022.04.15.05.47.47; Fri, 15 Apr 2022 05:48:01 -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=AIl3Fjl5; 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 S243349AbiDNMd1 (ORCPT + 99 others); Thu, 14 Apr 2022 08:33:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243342AbiDNMdW (ORCPT ); Thu, 14 Apr 2022 08:33:22 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE39D275E3; Thu, 14 Apr 2022 05:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649939458; x=1681475458; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Aq8HvzHRB/MIc27qf/VrkpAgx3k8PjsQkDRQBQeNTR4=; b=AIl3Fjl5xSc3jv124aJpQ0kjchL+jn6Hf23jhZ8atckPP/qJT6+00rTa fxAPUCV9iADC5vs8gyCXmX3AeRvNIoTUFv3osk8i5DYgiJyKKt0piT3QR E/u+UCHaJq+YsQFD8S64degaP9TmBXJspkn2f1wtHlrLFR/ITGZ8xAWl0 o=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 14 Apr 2022 05:30:57 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2022 05:30:57 -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, 14 Apr 2022 05:30:57 -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, 14 Apr 2022 05:30:52 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V10 1/9] dt-bindings: mfd: pm8008: Add reset-gpios Date: Thu, 14 Apr 2022 18:00:10 +0530 Message-ID: <1649939418-19861-2-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1649939418-19861-1-git-send-email-quic_c_skakit@quicinc.com> References: <1649939418-19861-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 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..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