From patchwork Thu Jun 13 14:23:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 1115101 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="p0w97JTM"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45PmDq5kT0z9sNR for ; Fri, 14 Jun 2019 00:23:19 +1000 (AEST) 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:Subject:To:From :Date: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=U7/TZe4v26kmxTN2nxV2edEIrNt9GKu2Ct3s0KGEbJk=; b=p0w97JTMP1dSpT VjKU5P2ztb75pW9o26CuGQMwH+qdJkBwsktl6XgmJhsU4sMjCGFtW2E52zMYLgADLhXgwVGRXsFwp nG/mHhiBWqU09872RE4Tg1CtGntt6GxnF7ph6z0bkfMCg7I3h96OcxmGPCmVVg7657a4jZJiO7pvV TyPkRMd2rbXblUMjGfqFZ1ju4F1bYEC5oCj0GPOPHgO7Ywk4jQXFX0WoYs8GUpaX12yccd4ttiErg Z8EpOLSOHdEjvwOsdOQJoatK7CfVhYJlpWeLvEVs5HVFV6r3cfm/0paMHVOR07APrclWh0GIr9C5d ACYZshlRLqBifdRqus8w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hbQdE-0001yv-OX; Thu, 13 Jun 2019 14:23:12 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hbQdB-0001yc-Uo for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2019 14:23:11 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DFA14367; Thu, 13 Jun 2019 07:23:08 -0700 (PDT) Received: from e107155-lin (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 044963F718; Thu, 13 Jun 2019 07:23:07 -0700 (PDT) Date: Thu, 13 Jun 2019 15:23:05 +0100 From: Sudeep Holla To: ARM SoC Team , ALKML Subject: [GIT PULL] firmware: arm_scmi: updates for v5.3 Message-ID: <20190613142305.GC7283@e107155-lin> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190613_072310_030524_CCB91AB5 X-CRM114-Status: GOOD ( 11.01 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olof Johansson , Sudeep Holla , Arnd Bergmann , Kevin Hilman Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi ARM SoC Team, Please pull ! Note this contains associated/dependent hwmon driver changes that is Acked by Guenter Roeck Regards, Sudeep -->8 The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-5.3 for you to fetch changes up to ac778e62634eee0685b622605b063a49edf2f2d1: hwmon: scmi: Scale values to target desired HWMON units (2019-06-12 12:29:51 +0100) ---------------------------------------------------------------- ARM SCMI updates/fixes for v5.3 1. Correction to ARM document ID referred in SCMI protocol binding 2. Fix to correct bitfield definitions for SENSOR_DESC attributes which otherwise will calculate sensor values on wrong scale 3. Adds the missing rate_discrete flag setting so that discrete clocks are handled correctly. Without this fix it assumes continuous range which is incorrect 4. Adds support to read and scale the sensor values based on the factor read from the firmware ---------------------------------------------------------------- Florian Fainelli (2): firmware: arm_scmi: fetch and store sensor scale hwmon: scmi: Scale values to target desired HWMON units Peng Fan (1): firmware: arm_scmi: update rate_discrete in clock_describe_rates_get Sudeep Holla (1): firmware: arm_scmi: fix bitfield definitions for SENSOR_DESC attributes Volodymyr Babchuk (1): dt-bindings: arm: fix the document ID for SCMI protocol documentation Documentation/devicetree/bindings/arm/arm,scmi.txt | 2 +- drivers/firmware/arm_scmi/clock.c | 2 + drivers/firmware/arm_scmi/sensors.c | 10 ++++- drivers/hwmon/scmi-hwmon.c | 48 ++++++++++++++++++++++ include/linux/scmi_protocol.h | 1 + 5 files changed, 60 insertions(+), 3 deletions(-)