From nobody Tue Dec 16 16:35:20 2025 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 7A6D6C4167B for ; Thu, 30 Nov 2023 17:29:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346118AbjK3R3u (ORCPT ); Thu, 30 Nov 2023 12:29:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230045AbjK3R3s (ORCPT ); Thu, 30 Nov 2023 12:29:48 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 298D9E0 for ; Thu, 30 Nov 2023 09:29:55 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0780C433C7; Thu, 30 Nov 2023 17:29:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701365394; bh=CGVx+2n0YKD8TyrFO2KT/eMDvxvOB0hmUQofIVVG7Ws=; h=From:To:Cc:Subject:Date:From; b=Rx7NvTbK1mO8HwfIB1WJ7b93AOTeGFBOCM4I4tnu5zwYEdxILp+hJn2hBtbamMJ7C i254P+xp9ooGvS/cG/8UA7HRgMqBxuWCaT59vwHwe+jbInaaXQTW7xdyoc9dLwszZO 5NaFW+gKn3Of96r2LDkMabQSPHk0v6fBfpFg2SV34ERiJej6dI/4YollrSrUySvEkb C2ipD1kTjxbxCS+KdZ7ogNV9ESemFwEdrnMxVaPLtcpPHQQH9O+30BJ68y2jr1IxK5 UtjbH5uGT5mSPUCy3c81DgxUiEgzgcJU35pmfl3wcxxEmY8Jf7Z5ESAJGjT1fkZ8OT kid9zSpQd8L8w== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r8krs-0003JO-0X; Thu, 30 Nov 2023 18:30:28 +0100 From: Johan Hovold To: Sebastian Reichel Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] dt-bindings: power: reset: qcom-pon: fix inconsistent example Date: Thu, 30 Nov 2023 18:30:17 +0100 Message-ID: <20231130173017.12723-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The current PON example is a bit of a mess after converting the binding document to yaml and in the process updating parts of the example to match the pmk8350 binding while leaving parts from the older pm8998 example in place. Clean up the example and make it consistent by adding some newline separators; dropping labels; removing stray spaces; fixing the PON node name; and fixing the unit address so that it matches the interrupt specifiers (which re-encodes the PON base address, 0x800 =3D> 0x8). Fixes: 76ba1900cb67 ("dt-bindings: power: reset: qcom-pon: Convert qcom PON= binding to yaml") Signed-off-by: Johan Hovold Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/power/reset/qcom,pon.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/= Documentation/devicetree/bindings/power/reset/qcom,pon.yaml index 5e460128b0d1..fc8105a7b9b2 100644 --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml @@ -111,21 +111,24 @@ examples: #include #include #include - spmi_bus: spmi@c440000 { + + spmi@c440000 { reg =3D <0x0c440000 0x1100>; #address-cells =3D <2>; #size-cells =3D <0>; - pmk8350: pmic@0 { + + pmic@0 { reg =3D <0x0 SPMI_USID>; #address-cells =3D <1>; #size-cells =3D <0>; - pmk8350_pon: pon_hlos@1300 { - reg =3D <0x1300>; + + pon@800 { compatible =3D "qcom,pm8998-pon"; + reg =3D <0x800>; =20 pwrkey { compatible =3D "qcom,pm8941-pwrkey"; - interrupts =3D < 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH >; + interrupts =3D <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; debounce =3D <15625>; bias-pull-up; linux,code =3D ; --=20 2.41.0