From patchwork Tue Jul 24 23:51:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10543335 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 31F31112E for ; Tue, 24 Jul 2018 23:51:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F60529609 for ; Tue, 24 Jul 2018 23:51:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12CED2966F; Tue, 24 Jul 2018 23:51:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B322429609 for ; Tue, 24 Jul 2018 23:51:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388527AbeGYBAb (ORCPT ); Tue, 24 Jul 2018 21:00:31 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45992 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388420AbeGYBAb (ORCPT ); Tue, 24 Jul 2018 21:00:31 -0400 Received: by mail-pf1-f196.google.com with SMTP id i26-v6so1224488pfo.12 for ; Tue, 24 Jul 2018 16:51:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5GhO5K5kAs1DwsY5LZGmonhIBQTmf1fZLT4KuDJt3E4=; b=AXdIPftsF5MG6tBd+cHInBzGlUcKgqKQAsxOo4sBcEvFZph8opYMFbyVK/811QHf3c ooaSohXVqYUJ3Sfb/vLHhQYYvu+ipmvLOBdDjfAR3fUzlGgGbZQrW9mFHJL3t6TQvST5 QRPsIvq+9RwevmJNI0RJ2iWaMcPz0HhrvRF6VOtRqPEY+apkzjX7fqjvsok2reNSYfyD CQ8qnFw401jlC9J6X1npQqxwpImOPEq+xcx4/Y8H7W183gGvBKjR2Zg2GyUt5Um9RXwM TMhrsKgcD/XVAoXdYGAn6YG2Q6S46DR8y6sqE58lVRI5MR1jZjwVZO1aONyxs2VJ8l0+ C8YQ== X-Gm-Message-State: AOUpUlFCbOSZ4wy1MoCXRvOwNLcJBuXedcHmz9muY0wUJ44EUXcSJQE2 Uhhu1LLxdpHnpLKUFmQLgYXvVg== X-Google-Smtp-Source: AAOMgpfVoeyWd9Yw89rBCfbW+p9JAJccSWPlXTdnZNJHU4waZJtnWouqB6hOJ3tXW77Phjhmk6/86g== X-Received: by 2002:a63:5f50:: with SMTP id t77-v6mr17237149pgb.300.1532476297060; Tue, 24 Jul 2018 16:51:37 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id p5-v6sm16628549pfn.57.2018.07.24.16.51.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 16:51:36 -0700 (PDT) From: Matthias Kaehlcke To: Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke Subject: [PATCH] dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg' Date: Tue, 24 Jul 2018 16:51:30 -0700 Message-Id: <20180724235130.58592-1-mka@chromium.org> X-Mailer: git-send-email 2.18.0.233.g985f88cf7e-goog Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The documentation claims that the 'reg' property consists of two values, the SPMI address and the length of the controller's registers. However the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove the controller register length from the documentation of the field and the example. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- .../devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt b/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt index 290ec06fa33a..86fb41fe772f 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt @@ -6,8 +6,7 @@ interrupt signal and status register to identify high PMIC die temperature. Required properties: - compatible: Should contain "qcom,spmi-temp-alarm". -- reg: Specifies the SPMI address and length of the controller's - registers. +- reg: Specifies the SPMI address. - interrupts: PMIC temperature alarm interrupt. - #thermal-sensor-cells: Should be 0. See thermal.txt for a description. @@ -20,7 +19,7 @@ Example: pm8941_temp: thermal-alarm@2400 { compatible = "qcom,spmi-temp-alarm"; - reg = <0x2400 0x100>; + reg = <0x2400>; interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>; #thermal-sensor-cells = <0>;