From patchwork Tue May 30 09:05:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9754127 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 D907C602F0 for ; Tue, 30 May 2017 09:05:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCFD027F10 for ; Tue, 30 May 2017 09:05:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1858283C0; Tue, 30 May 2017 09:05:21 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 56AC727F10 for ; Tue, 30 May 2017 09:05:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751113AbdE3JFU (ORCPT ); Tue, 30 May 2017 05:05:20 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34352 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbdE3JFT (ORCPT ); Tue, 30 May 2017 05:05:19 -0400 Received: by mail-wm0-f68.google.com with SMTP id d127so23550150wmf.1; Tue, 30 May 2017 02:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ctXLnz1hG7GCQfEik+kZr+JQxP2HoiDyxW2Gr3mEnZg=; b=hUV3RgxawHABSSGCaISWxhQ9QBgvIgkdVfsw2QGbEbkRgB5wy1Lga17xvbxiDyQdKB UdCYE7pX2QUF258iqNuq/VUIiBIT/uvtxACW+FI+03IxeQKP+8TfjRksgER7QD2NNFWA uzJoytWtM6mhXb8hUnKowJsMz3aP+I+MGSwP+HM/2ZG9e7RgrnZ7Q08ZAqIS33TCYGG3 tCYzF4J5Xn2x3G8u8o3edXYG5tBNkbvhTzMeiKEeyItwRRf5fHmysI6R/6pt8mzjYDCz FEpvoerLBUf9vdHtk1JHu1FjUuaCVccEd0zPojDoRaC+757jciIH1V69+5P9DPTM0nBN JJwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=ctXLnz1hG7GCQfEik+kZr+JQxP2HoiDyxW2Gr3mEnZg=; b=f2/rO+tTEx3V8tytO3iQwdVXpA5aBlQ3cD3AD9p0LbuLrB8fTjItY1QCb6Hi9WvO31 iv30q4LD/uM7n3uMGsAuUDKIR2eOKGs0X9+BTe7TIsQ8WeNNUsanu6XCRkjhjO4bqXe3 Yxp47rqJDXfoC9K0uS/ryFckzWWHhY79bGBorQKw0XuN8uF/ei1WUxz21lzGAEWeyYk1 UGkk/qKsjX6rKkCBaO+cqpYDIAKK9fXHqDywYx3FeSXZt+9jV+H3jfsh524ojDl1BFov lUBMVJM/pLfKUM+9P5Z8A7Y0JhiwHKf5d9VUlAkkg0N09S6oWF8Pwihh+FT3hBzsjR4r xa9A== X-Gm-Message-State: AODbwcCKynjCTdog3sXbYyKUQNPMRW4SIY/ob/Svv5VuBbtv4R0kLepM 2UMqF/XhCnSXNQ== X-Received: by 10.223.178.85 with SMTP id y21mr13369634wra.58.1496135117854; Tue, 30 May 2017 02:05:17 -0700 (PDT) Received: from localhost.localdomain (host171-33-dynamic.248-95-r.retail.telecomitalia.it. [95.248.33.171]) by smtp.gmail.com with ESMTPSA id n49sm11181117wrn.30.2017.05.30.02.05.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 May 2017 02:05:17 -0700 (PDT) From: Carlo Caione To: jdelvare@suse.com, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux@endlessm.com, punit.agrawal@arm.com, sudeep.holla@arm.com, robh+dt@kernel.org, devicetree@vger.kernel.org Cc: Carlo Caione Subject: [PATCH v4 1/2] Documentation: bindings: add amlogic, meson-gxbb-scpi-sensors compatible Date: Tue, 30 May 2017 11:05:06 +0200 Message-Id: <20170530090507.16611-2-carlo@caione.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170530090507.16611-1-carlo@caione.org> References: <20170530090507.16611-1-carlo@caione.org> Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione Introduce a new Amlogic specific compatible to handle how Amlogic reports the sensor readings from SCPI using a different scale. Signed-off-by: Carlo Caione Acked-by: Guenter Roeck Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/arm,scpi.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/arm,scpi.txt b/Documentation/devicetree/bindings/arm/arm,scpi.txt index 4018319..40f50c1 100644 --- a/Documentation/devicetree/bindings/arm/arm,scpi.txt +++ b/Documentation/devicetree/bindings/arm/arm,scpi.txt @@ -76,7 +76,7 @@ Sensor bindings for the sensors based on SCPI Message Protocol SCPI provides an API to access the various sensors on the SoC. Required properties: -- compatible : should be "arm,scpi-sensors". +- compatible : should be "arm,scpi-sensors" or "amlogic,meson-gxbb-scpi-sensors" - #thermal-sensor-cells: should be set to 1. This property follows the thermal device tree bindings[2].