From patchwork Tue Jul 31 18:45:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10551183 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 C5D631708 for ; Tue, 31 Jul 2018 18:46:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4BAE2B244 for ; Tue, 31 Jul 2018 18:46:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A88592B2FE; Tue, 31 Jul 2018 18:46:49 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3EADC2B32A for ; Tue, 31 Jul 2018 18:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=un+mD+PaTNDsIb2sBDEZmCiNwbRDYFikH2FVQU3AcKY=; b=F3UC6LVEhpp1Zp j5tNd7gysryJLsAyF6ZCBkRy16+IURMXOLVof5vDy3q5PsKlX/EwMPLJYM4iU0uHOhVBJXjmt6QhX GSwZGTX+EqvxaUZjbNc4YlVV38IVk6+Ki1sVfqJP/bF0jaWgLGoa2lRmrseMfBAHnGyKXcmozSqBs oLNWFwnuNkW1aD6n+IkgbPAZPf7etrhUT2Fv7oFZssymnRV0Epw2LRbm84bcC17gQ5Fh05vNuMgwe luTHL93DCV4SGfinzPTT5c5q+LLk4Zk01gq0tr22zV4g/bQE1u+vuH573IUJOMjhYcQJsH+CLJkdy r3X5J4ZpmXz1Sdk8xq6Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkZfO-0003Xj-V8; Tue, 31 Jul 2018 18:46:43 +0000 Received: from mail-pf1-f193.google.com ([209.85.210.193]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkZfA-0003IJ-9H for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2018 18:46:29 +0000 Received: by mail-pf1-f193.google.com with SMTP id j26-v6so6524758pfi.10 for ; Tue, 31 Jul 2018 11:46:15 -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:mime-version :content-transfer-encoding; bh=pregnSMfkOaGBP4vqZw3v3Rj/ItF+UeK9Knvf5WfDP4=; b=COn0OLQlDazmwIkZLHWgIHWY+2Zeb9IGGTuzOV+tj0AsC4D6YHnknjz9vG+UI5cFO8 Fp109CFpiKVkGXgVl2OXT5+6zFPBIM4M/IV9w6Ej4ZxeYW1wx23WDy4wla2aIT/k0SUd gDc0S+vZra0KWwhMJ/Uqoolclk635HA5CCbRIUKFxe5BMGn8CduqukTCwfTUc5nCRO+o a7Pvc331hq5aze8Eh9H43YhtEK4Wos+Z5AmynjWQbOEx2zdxmNEFBV03TtxVt7Snlr1A WUqW+4ub2kzr6H92e9qvBgvHCoz/BgvpjDSG7g68BfVjLLRftRKSZGUnVtD+SPzJCIQb q5LA== X-Gm-Message-State: AOUpUlG7T83TitFD1a/Ff9MPEEvFTS2VYqLZTyUcznOxFiCBRqBlvKBF kS8nGmE+G1sjMjzvwJu2qM8THw== X-Google-Smtp-Source: AAOMgpfds2lT/E/rBjuOnkKDZlGAt8EfyHQXPu0vTVnZmPbs69tz1vuDZNyN4GNLZWnQzb6aGW/ZVw== X-Received: by 2002:a63:41c6:: with SMTP id o189-v6mr21971048pga.323.1533062774698; Tue, 31 Jul 2018 11:46:14 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id b21-v6sm4981683pgw.79.2018.07.31.11.46.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 11:46:13 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Zhang Rui , Eduardo Valentin Subject: [PATCH v6 1/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg' Date: Tue, 31 Jul 2018 11:45:52 -0700 Message-Id: <20180731184556.169290-1-mka@chromium.org> X-Mailer: git-send-email 2.18.0.345.g5c9ce644c3-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180731_114628_328933_3DC9B156 X-CRM114-Status: GOOD ( 12.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, David Collins , linux-pm@vger.kernel.org, Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Matthias Kaehlcke , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 --- Changes in v6: - patch added to the series --- .../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>;