From patchwork Mon Mar 20 13:57:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13181302 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 057B4C6FD1D for ; Mon, 20 Mar 2023 13:56:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231200AbjCTN4n (ORCPT ); Mon, 20 Mar 2023 09:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231687AbjCTN4Z (ORCPT ); Mon, 20 Mar 2023 09:56:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F07DC6599; Mon, 20 Mar 2023 06:55:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B63DEB80E60; Mon, 20 Mar 2023 13:55:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70D80C4339C; Mon, 20 Mar 2023 13:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679320556; bh=Xmx9cDTJ2FJFqZIA9L7awuTit5u1PEZ+i+E1WB2uprU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UKMeh3bzCHGmkKUiGsETglxA/nv+zNPZLPsn8hruDWim7DTQNQXKretgvhRyrvTeR XOQ21hHi9NAp7wSVFZ7MXbnFUT1b0S0O80nhjENQ+DWOB49QC+s6Fx5CT8x28pUaDy M+1W0TK79yHHe1gjuH0dNdUQgAFLQlzuVEiV5wieT0dEYK3PrhXMhCGq+DcM5+hMNU 4KMQs1K4TybJjl1jE3M5/ICIJyHysTGl5gDLjx6uiTt5S6clOKRJyCQCwXTSRUsBXs Mzb/cetWklS1I8cQPga370ekXkNLq3XaLy8kvnV1/4ZBJs2hlbYnqFRJFilLVdOcuS EfxvwOSL/1lPg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1peG0j-0000WV-UC; Mon, 20 Mar 2023 14:57:17 +0100 From: Johan Hovold To: Bjorn Andersson , Lee Jones , Srinivas Kandagatla Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/3] dt-bindings: mfd: qcom,spmi-pmic: add nvram function Date: Mon, 20 Mar 2023 14:57:10 +0100 Message-Id: <20230320135710.1989-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230320135710.1989-1-johan+linaro@kernel.org> References: <20230320135710.1989-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add an 'nvram' pattern property and a reference to the corresponding SDAM DT schema. Signed-off-by: Johan Hovold Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index adf88245c409..05bf0d76bf5f 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -135,6 +135,10 @@ patternProperties: type: object $ref: /schemas/pinctrl/qcom,pmic-gpio.yaml# + "^nvram@[0-9a-f]+$": + type: object + $ref: /schemas/nvmem/qcom,spmi-sdam.yaml# + "pon@[0-9a-f]+$": type: object $ref: /schemas/power/reset/qcom,pon.yaml#