From patchwork Sun Dec 3 11:11:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10089203 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.web.codeaurora.org (Postfix) with ESMTP id 019156035E for ; Sun, 3 Dec 2017 11:19:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4361290DB for ; Sun, 3 Dec 2017 11:19:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5B71290E3; Sun, 3 Dec 2017 11:19:00 +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=-6.9 required=2.0 tests=BAYES_00,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 C53AD290DB for ; Sun, 3 Dec 2017 11:18:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751628AbdLCLSz (ORCPT ); Sun, 3 Dec 2017 06:18:55 -0500 Received: from guitar.tcltek.co.il ([192.115.133.116]:57331 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751156AbdLCLSx (ORCPT ); Sun, 3 Dec 2017 06:18:53 -0500 Received: from sapphire.lan (unknown [10.0.4.3]) by mx.tkos.co.il (Postfix) with ESMTPA id 2CFBD4402AF; Sun, 3 Dec 2017 13:18:50 +0200 (IST) From: Baruch Siach To: Zhang Rui , Eduardo Valentin Cc: devicetree@vger.kernel.org, Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King , Miquel Raynal , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Baruch Siach Subject: [PATCH v2 1/4] dt-bindings: thermal/armada: describe AP806 and CP110 Date: Sun, 3 Dec 2017 13:11:21 +0200 Message-Id: X-Mailer: git-send-email 2.15.0 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 Add compatible strings for AP806 and CP110 that are part of the Armada 8k/7k line of SoCs. Add a note on the difference in the size of the control area in different bindings. This is an existing difference between the Armada 375 binding and the rest. The new AP806 and CP110 bindings are similar to the existing Armada 375 in this regard. Signed-off-by: Baruch Siach Reviewed-by: Rob Herring --- v2: No change --- Documentation/devicetree/bindings/thermal/armada-thermal.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/armada-thermal.txt b/Documentation/devicetree/bindings/thermal/armada-thermal.txt index 24aacf8948c5..eec57f509166 100644 --- a/Documentation/devicetree/bindings/thermal/armada-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/armada-thermal.txt @@ -7,12 +7,19 @@ Required properties: marvell,armada375-thermal marvell,armada380-thermal marvell,armadaxp-thermal + marvell,armada-ap806-thermal + marvell,armada-cp110-thermal - reg: Device's register space. Two entries are expected, see the examples below. The first one is required for the sensor register; - the second one is required for the control register + the second one is required for the control area to be used for sensor initialization (a.k.a. calibration). + The size of the control area must be 4 for + marvell,armada370-thermal, marvell,armada380-thermal, and + marvell,armadaxp-thermal. The size must be 8 for + marvell,armada375-thermal, marvell,armada-ap806-thermal, and + marvell,armada-cp110-thermal. Example: