Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp476529rdb; Thu, 30 Nov 2023 09:30:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcUA+aEXG1BnfqmWE5Nyvqs0b3ne8wfl4RLPy/M+JmRjxSQjKYB3uKIgsrRfyxL8CGRmL2 X-Received: by 2002:a17:902:868d:b0:1cf:be44:bb9d with SMTP id g13-20020a170902868d00b001cfbe44bb9dmr13508728plo.30.1701365405205; Thu, 30 Nov 2023 09:30:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701365405; cv=none; d=google.com; s=arc-20160816; b=QfcAY9lcNJSIef4DYptbLqbJh0vHOGOcHiawiHMiGxf0j5tllr++oeSkIXJt5i+89+ MmsovkQM8pBsr1TSkX7OyPnBrhiAPB9X9Dw7C0Oxb6z80KwvQFlGyEE2d5D3oYo5hW44 PUwc5nKnd/hq3gedqnkGRzwraHvnAPlwUrim+EueRYBpswv0Mk9oBdaKnvP7pxD9LCPY kJkRWA7cq02RQbP1OL4QMaX7qYxYX1+sT+VwD9ZCGsW6rkqUsurI6La7F2rHcl1Mw3Xb narjPhSsfJ4Jy+yD89CMcgAVXn5mjiSKxSjAJ334ToN6PtxC4x/j1OQnTZyhQF4IT4Tu a9Jw== 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=UQOiKn0C4or93SDtg+V4/Aw1YuoMGirJj3ovgoa9oIM=; fh=0/so10P/8ao7ZkOW8VY1hq20vyXCp9GTpFcJpAfz8zA=; b=FnFozxAAQ2w4nqAWqErpOokzs5c1qQVXWMYWp7KNjXg2vNelck8JabHez4VJuWu+KU Sp32RxwKCSBcukZgquhhbje5jnLjfHuirVPz8ZJ4gWx9GiqFzSOwwSDapoYLLxKFMebp QGtttf+MTCKZf8ThkRWpGzxEAg6gR8iv508xUx7gWEisuLhEv37NGcWCqfPWgBW0K2m+ YSNZo2yPVet+CvjeoRvi8Dqy+U4D4Y1tiz8qRkAwbW1CPuGa54C/6wPJPjMWiyJdSJg7 zBgdEi5ezr2M0DthG79kq+GUL57kLPFFLv/L4zVz8lj/PmU91+Sbe4lUK2oGTmUJuRAF qbsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rx7NvTbK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id b2-20020a170902b60200b001d00ed1187fsi1598889pls.116.2023.11.30.09.30.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 09:30:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rx7NvTbK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 647A482A174E; Thu, 30 Nov 2023 09:30:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231839AbjK3R3t (ORCPT + 99 others); Thu, 30 Nov 2023 12:29:49 -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: 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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 30 Nov 2023 09:30:02 -0800 (PST) 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 => 0x8). Fixes: 76ba1900cb67 ("dt-bindings: power: reset: qcom-pon: Convert qcom PON binding to yaml") Signed-off-by: Johan Hovold --- .../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 = <0x0c440000 0x1100>; #address-cells = <2>; #size-cells = <0>; - pmk8350: pmic@0 { + + pmic@0 { reg = <0x0 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; - pmk8350_pon: pon_hlos@1300 { - reg = <0x1300>; + + pon@800 { compatible = "qcom,pm8998-pon"; + reg = <0x800>; pwrkey { compatible = "qcom,pm8941-pwrkey"; - interrupts = < 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH >; + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; debounce = <15625>; bias-pull-up; linux,code = ; -- 2.41.0