Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5503533imm; Tue, 31 Jul 2018 12:03:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdfURsx4Vv8Dor2ZZ9mnwi+7nlEv7Jen6pgDVKQ9BfeolpY5nJMeH0vNy92bQcfYdfXKdEA X-Received: by 2002:a17:902:9b81:: with SMTP id y1-v6mr21528399plp.239.1533063787313; Tue, 31 Jul 2018 12:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533063787; cv=none; d=google.com; s=arc-20160816; b=E2zOWiem/4GxlfiYlpKAp/q3AESbhTNZOUpXIXx4afeY/sTIRTQ6etaW3C0Qyb1TnJ 0wf7LKRF2atl/GKNbqjtG/9Xt9mw4kcnL/kpvm4VWjBfAbYcz4b1/JSu+BfWbCWBPjYe mOUEc5Os/D3343vLirXA2pwYzJkvgSYd85CD+lUWxbmV0t9W7hkHk5mdlmNIudpuM0BQ EZlVe0HMwwwIcQNomAJVd/2+XAvibMLxNxPQ3mfRdss+/HhMkNmY7hzwpXGfdWtnDGM0 nExRfbE0J3+gcpEzBONN27aSmkso0eETYHGJFrl8KtMkbk6qGfQirFqHgYyVGFwhZpTy dlUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=pregnSMfkOaGBP4vqZw3v3Rj/ItF+UeK9Knvf5WfDP4=; b=H8wnUieSEeo458UiO7sZyrfag8wMltj7EwAlVFW3Fpjg5M0DN59h6HUpM70zfEf8cz Z5qp4Dil+ryJ2NzclX63+CVS5FFRKAw8UO1q9fW7Jk9d+uOik/tTN7mNJvUi9C+7b/Fn 2W2rSxDtHKoZC/neES7ZRc8GyLa5nMLDZgKlzKqs1ib5suAIPf+tknYDgcKm+fCfhfZ1 ITkP3+MjY9sJtQKTOFB1BEQST4wPWcsqm7sHCX51ZppWNorTaEHgm/lIVFPhtRzQG0MY YqTzm+SuLQ4KAMnMxsPNkECNvhoYfYaYXw2CiovZq8Rnx/r5f30VYg4bpmRDWZUW1RJ3 ax/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZY6tr+zY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u14-v6si12218239pgv.180.2018.07.31.12.02.48; Tue, 31 Jul 2018 12:03:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZY6tr+zY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732197AbeGaUlY (ORCPT + 99 others); Tue, 31 Jul 2018 16:41:24 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:37593 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732006AbeGaUlY (ORCPT ); Tue, 31 Jul 2018 16:41:24 -0400 Received: by mail-pg1-f194.google.com with SMTP id n7-v6so9540905pgq.4 for ; Tue, 31 Jul 2018 11:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pregnSMfkOaGBP4vqZw3v3Rj/ItF+UeK9Knvf5WfDP4=; b=ZY6tr+zYY40u8HIGlHlv7yUWn4nd25P9iTfaiSsJk0cobiYOamYX5s9xCpzYB6XMyv O9s+4uj0n05Wjf+zetTSTyamcEimvSziJ3UZiTjet5j2z3HW1KnBnVSjdef402dHCCqt LUngiV0pXnXmV5QF/u406B8pLXIM6P4IvQiLw= 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=ll9MVk+dqDIfUoqIhulk88YdMJwNCA1yPAl8+0iTHdMkjMO3lCuSq0/EW8e8iwsqK3 olPFC087Vi9wt/vzarZt4qreAJ+DE1vMSAhsBGZa26Q6wndq5fl9HH/kB1npX4yTH834 wIZtG+4GjhZ7+DBysEx1Iecujwm+RGDdtYd1p48ykXtZW998TG2sE1J2//PJs+eQmW+C f55j3JEUmu6++MC1YH+ofNR/HBhdgySaz/2dGkLNyb10qhPmAPYYjmKJy57JR/gs1j/x jDPc6dSRaRaz2J/GPsBPkjsdLDeREMoHzte8+T1GUclfPPfc5GQZovwMIYzq2RxiUlUx TB0w== X-Gm-Message-State: AOUpUlFsF5AUfin/bqLiP6FstQva9ZIRxT8Uy3aJuGGnHuoEhyBpd5T+ xgduJ9e+mj//2gpnSDT5i+N6BA== X-Received: by 2002:aa7:8591:: with SMTP id w17-v6mr23605077pfn.77.1533063583758; Tue, 31 Jul 2018 11:59:43 -0700 (PDT) Received: from mka.mtv.corp.google.com ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id e132-v6sm27797567pfc.49.2018.07.31.11.59.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 11:59:43 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Zhang Rui , Eduardo Valentin Cc: linux-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, David Collins , Douglas Anderson , Stephen Boyd , Matthias Kaehlcke Subject: [PATCH v6 1/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg' Date: Tue, 31 Jul 2018 11:59:13 -0700 Message-Id: <20180731185917.176074-1-mka@chromium.org> X-Mailer: git-send-email 2.18.0.345.g5c9ce644c3-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; -- 2.18.0.345.g5c9ce644c3-goog