From patchwork Wed Nov 22 14:42:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10070523 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 97229601D5 for ; Wed, 22 Nov 2017 14:43:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8920929C6E for ; Wed, 22 Nov 2017 14:43:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D90229C0C; Wed, 22 Nov 2017 14:43:18 +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 5704C29C0C for ; Wed, 22 Nov 2017 14:43:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751644AbdKVOnO (ORCPT ); Wed, 22 Nov 2017 09:43:14 -0500 Received: from guitar.tcltek.co.il ([192.115.133.116]:56529 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596AbdKVOnL (ORCPT ); Wed, 22 Nov 2017 09:43:11 -0500 Received: from sapphire.lan (unknown [10.0.4.3]) by mx.tkos.co.il (Postfix) with ESMTPA id C1933440532; Wed, 22 Nov 2017 16:43:07 +0200 (IST) From: Baruch Siach To: Zhang Rui , Eduardo Valentin Cc: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Miquel Raynal , Baruch Siach Subject: [PATCH 1/3] dt-bindings: thermal/armada: describe AP806 and CP110 Date: Wed, 22 Nov 2017 16:42:03 +0200 Message-Id: <7102bb32704ac9f70ef3ae61682d50de8af61b57.1511361725.git.baruch@tkos.co.il> 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 --- Documentation/devicetree/bindings/thermal/armada-thermal.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/armada-thermal.txt b/Documentation/devicetree/bindings/thermal/armada-thermal.txt index 24aacf8948c5..5ec944d4138b 100644 --- a/Documentation/devicetree/bindings/thermal/armada-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/armada-thermal.txt @@ -7,12 +7,20 @@ 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: