From nobody Tue Dec 16 23:40:37 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 726C0C4167B for ; Thu, 30 Nov 2023 17:37:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346510AbjK3Rh1 (ORCPT ); Thu, 30 Nov 2023 12:37:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231839AbjK3RhY (ORCPT ); Thu, 30 Nov 2023 12:37:24 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91F0B10DE for ; Thu, 30 Nov 2023 09:37:31 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34E20C433CA; Thu, 30 Nov 2023 17:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701365851; bh=5MZWbyU3vKXf6N5p9b/TD52/d407uLP9/uelkdwoyuU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VazD2NWxYudT7gv9XbCQ9/qQeRdf3Dj6cRCYDAiZ+IHRo9T/KNSiXD2yV3g7P6JpR eBtg8oEl3JpGLhjDyShjBilkxnv495557n6LsJDf+vY7X01Vd2OcpsdtFc/8Irb62e 7HuSK/3imYvMoaaMxj/0/52T0YWfpKz2ZkMJ0KcKwmZ3ewa0WLwIcwQbovF28/VrmT XSHScbxgpFroQ+ozlEWzOFcsYAh/l5wWvPBmsvY/SkQSjzLzyOCplGBDAGCgCm7RO4 g5jS+/rV+RfzjWCqk/fZ9ofxnLgTOO341a+ZRDTgxbmUMkMPm0m3/ZblGWeVOBOalW z7Mj4FSpobacg== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r8kzE-0003OA-38; Thu, 30 Nov 2023 18:38:05 +0100 From: Johan Hovold To: Stephen Boyd Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Johan Hovold Subject: [PATCH 2/2] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example Date: Thu, 30 Nov 2023 18:37:57 +0100 Message-ID: <20231130173757.13011-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231130173757.13011-1-johan+linaro@kernel.org> References: <20231130173757.13011-1-johan+linaro@kernel.org> 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" Clean up the binding example by dropping the unnecessary parent bus node, using a define for the second register value of the PMIC child and increasing indentation to four spaces. Signed-off-by: Johan Hovold Acked-by: Krzysztof Kozlowski --- .../spmi/hisilicon,hisi-spmi-controller.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-con= troller.yaml b/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-c= ontroller.yaml index eee7c8d4cf4a..3ccf35de3719 100644 --- a/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller= .yaml +++ b/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller= .yaml @@ -54,20 +54,17 @@ unevaluatedProperties: false =20 examples: - | - bus { - #address-cells =3D <2>; - #size-cells =3D <2>; + #include =20 - spmi: spmi@fff24000 { + spmi@fff24000 { compatible =3D "hisilicon,kirin970-spmi-controller"; + reg =3D <0xfff24000 0x1000>; #address-cells =3D <2>; #size-cells =3D <0>; - reg =3D <0x0 0xfff24000 0x0 0x1000>; hisilicon,spmi-channel =3D <2>; =20 pmic@0 { - reg =3D <0 0>; - /* pmic properties */ + reg =3D <0 SPMI_USID>; + /* pmic properties */ }; - }; }; --=20 2.41.0