Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp478562rdb; Thu, 30 Nov 2023 09:32:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2xyTwGt9oy8Coo2hLGpAnYvZANwETge1I0zBfyJ+4BfcF0/zDDc8mFTDM3lbc27cbI2ET X-Received: by 2002:a17:90a:34ca:b0:283:2044:158 with SMTP id m10-20020a17090a34ca00b0028320440158mr22955588pjf.0.1701365555487; Thu, 30 Nov 2023 09:32:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701365555; cv=none; d=google.com; s=arc-20160816; b=KP5nQvfyWtzPJkLzQuhSvJh8raXUY0cdRNVFgFbYkMCYBEnYdb+ceS0XyAF0kaP7l+ Bp1Xe4UIJxhJHA4gBo7ekGpZU/hHelXTWxyI1Y7adH6RAjXG96l8eVAcgPiRXtmVhYkY /JXDMXpKfvA7qCVkXA4/pW1rqbwsMl+g6053xmqkpN3ue1CuK1kqr+9Pv+A+Egc0Odup 7lw+ZeLHgV91XN59ak2NlwzkTRqyhRiiAdHF7Ec6dJfTM4M+33pRPsO1jIRDvHJ8d/ei HaDfzenKohvnBa2GBoPIp5y1dOYMZQjMUskj/w9hW1UBNEwAp9QkKNNbfvyERtfLZV/R cvGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lnbH5LoifIWe902IbLGlTgvIT7KivIXj8KgyE2ybjuU=; fh=y1dMSD0Neu2bgUSJbGiGEu6RmRFa7SSvCg03WIomhJE=; b=oCjMxZB9x3rkWkP1xakvWr6GVytktj+bdjUsejPtDqjnBQ+9gcC8RL9zudOwQce4Kv s7qXSfSsTHwHg6R0cnvZioGWhx/Hy2rL3/ENnubRZewdfmffKupgUNODn2jp88/z8u1D OBOsxdKCiMQ1xBpBMyQbTZ5/xJZB6RUcE7eNeXOC3Wvjp/Z9nV0+v3lGIWBmnA+KK098 MYqnU+Ht3XdktWhacT9exaZcriJyoesbTQSHoqb/G5IE97tU3++dRR1XExDn4XI92e+K vxAjMCoTiwSqqop8o1KBSzRwynGxB0m8lrWblMwQeq1PGUFN6MCA67sQXgBpQSKjeuxh gNkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u3qz1RuO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id mq12-20020a17090b380c00b00285cc4f0e09si1898486pjb.185.2023.11.30.09.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 09:32:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u3qz1RuO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3B817802791B; Thu, 30 Nov 2023 09:32:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346575AbjK3Rb5 (ORCPT + 99 others); Thu, 30 Nov 2023 12:31:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346524AbjK3Rbx (ORCPT ); Thu, 30 Nov 2023 12:31:53 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF83FE0 for ; Thu, 30 Nov 2023 09:31:59 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B982C433C8; Thu, 30 Nov 2023 17:31:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701365519; bh=wxg56W6HTHMTFYDW4lY4u8CY4BkNOVOP9bjh79kHVmE=; h=From:To:Cc:Subject:Date:From; b=u3qz1RuObFfuunerRon1cBHkIkU7XP6vXJNp5DiAMMPQkvPEoWkUOPZVq+ytWyqs8 rh7hJHBIhJl33qrkpiM0Q7WWcXqao7Ry4bCOlPzT6CkSsubV+dC1TsLJfq8vjG/M6G 1lPmceDj3EQS4HbiaHHU//CySGBJzKKF5qyYfQhZuEuIh8Ud59jTYgzKSELFJs147a 26poZRPxdioOB5zkDpNDbkMay5YADZg7dhw89vYDNDT84MCO9f/ixv7XkCl24c9A5R 6z5wPJ8p7zc/fYtt+eesdYQGHBEUagEoqH0nb141XlkzdUJShW5Rk9IWHNxUoGj+l0 cucAy8DQJB6Hg== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r8kts-0003KX-1h; Thu, 30 Nov 2023 18:32:32 +0100 From: Johan Hovold To: Alexandre Belloni , Alessandro Zummo Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] dt-bindings: rtc: qcom-pm8xxx: fix inconsistent example Date: Thu, 30 Nov 2023 18:32:23 +0100 Message-ID: <20231130173223.12794-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 09:32:29 -0800 (PST) The PM8921 is an SSBI PMIC but in the binding example it is described as being part of an SPMI PMIC while using an SSBI address. Make the example consistent by using the sibling PM8941 SPMI PMIC instead. Fixes: 8138c5f0318c ("dt-bindings: rtc: qcom-pm8xxx-rtc: Add qcom pm8xxx rtc bindings") Signed-off-by: Johan Hovold --- .../bindings/rtc/qcom-pm8xxx-rtc.yaml | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml index 774c34c3f8f6..cdc56dfbfac3 100644 --- a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml @@ -67,27 +67,27 @@ additionalProperties: false examples: - | + #include #include - spmi_bus: spmi@c440000 { - reg = <0x0c440000 0x1100>; - #address-cells = <2>; - #size-cells = <0>; - pmicintc: pmic@0 { - reg = <0x0 SPMI_USID>; - compatible = "qcom,pm8921"; - interrupts = <104 8>; - #interrupt-cells = <2>; - interrupt-controller; - #address-cells = <1>; + + spmi { + #address-cells = <2>; #size-cells = <0>; - pm8921_rtc: rtc@11d { - compatible = "qcom,pm8921-rtc"; - reg = <0x11d>; - interrupts = <0x27 0>; - nvmem-cells = <&rtc_offset>; - nvmem-cell-names = "offset"; + pmic@0 { + compatible = "qcom,pm8941", "qcom,spmi-pmic"; + reg = <0x0 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + rtc@6000 { + compatible = "qcom,pm8941-rtc"; + reg = <0x6000>, <0x6100>; + reg-names = "rtc", "alarm"; + interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; + nvmem-cells = <&rtc_offset>; + nvmem-cell-names = "offset"; + }; }; - }; }; ... -- 2.41.0