From patchwork Tue Nov 24 12:24:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 1405513 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=2q/VVRjl; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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 4CgNWJ20mFz9sVH for ; Tue, 24 Nov 2020 23:24:44 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From: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=ZnQGuHUEC5iB+l53qT+/6KNHAufgx1lM4aK8rYv6U5A=; b=2q/VVRjlejVUzxwS390BoF4Dif eSSMJN9Gr+DM+PlrQwccaldrGQE3hcV5q+XjJR1sjDCVE8EaM7TjifXApt4JeM4SLdh167wmJ/w5d PGV8n5yXG7GmKAXMHm6wKDieBK+ZI82WcNTf22K9WOGa0BubxA5LGh7RPuij76FInikEx3Uktd7NJ FriyKLS4lzJoF+AIeyv3bAW0Kivh5MW+WeqW6KssfzOM/qNyTCHeWriD4YptKnFZOHidcS8yCWGrr xjgPdANH+C5u720QLLfkNmgGsf4BHOtbWYRlG/Lx99I1jVjW42F9XfO/Gam1gp87aC5pVLw7kIq2q JuVcFPxA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khXMu-0001it-66; Tue, 24 Nov 2020 12:24:24 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khXMr-0001iN-GY for linux-arm-kernel@lists.infradead.org; Tue, 24 Nov 2020 12:24:22 +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 7A94E101E; Tue, 24 Nov 2020 04:24:19 -0800 (PST) Received: from usa.arm.com (unknown [10.57.54.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 09B663F70D; Tue, 24 Nov 2020 04:24:17 -0800 (PST) From: Sudeep Holla To: SoC Team , ARM SoC Team , ALKML Subject: [GIT PULL] firmware: arm_scmi: Updates for v5.11 Date: Tue, 24 Nov 2020 12:24:12 +0000 Message-Id: <20201124122412.22386-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201124_072421_605817_E041EC79 X-CRM114-Status: GOOD ( 11.61 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [217.140.110.172 listed in list.dnswl.org] 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 , Kevin Hilman , Arnd Bergmann , Sudeep Holla MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi ARM SoC Team, Please pull ! The tag is based on v5.10-rc2 to avoid conflicts with the fixes that got merged in -rc2. Note the hwmon is acked by Guenter to take the changes together. Also note that the SCMI regulator driver itself is getting queued by Mark Brown separately and hence I have sent him pull request with 'scmi-voltage-5.11' tag which I have also merged here. Regards, Sudeep -->8 The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891: Linux 5.10-rc2 (2020-11-01 14:43:51 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-updates-5.11 for you to fetch changes up to f83eb664cdb45169338b9633f22eaafc23764f05: Merge tag 'scmi-voltage-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into for-next/scmi (2020-11-23 16:37:27 +0000) ---------------------------------------------------------------- ARM SCMI updates for v5.11 Two main additions this time: 1. Support for SCMI v3.0 sensor extensions 2. Support for voltage domain management protocol added newly to SCMI v3.0 ---------------------------------------------------------------- Cristian Marussi (10): firmware: arm_scmi: Rework scmi_sensors_protocol_init firmware: arm_scmi: Add SCMI v3.0 sensors descriptors extensions dt-bindings: arm: Add support for SCMI Regulators firmware: arm_scmi: Add voltage domain management protocol support firmware: arm_scmi: Add support to enumerated SCMI voltage domain device hwmon: (scmi) Update hwmon internal scale data type firmware: arm_scmi: Add SCMI v3.0 sensors timestamped reads firmware: arm_scmi: Add SCMI v3.0 sensor configuration support firmware: arm_scmi: Add SCMI v3.0 sensor notifications firmware: arm_scmi: Remove residual _le structs naming Qinglang Miao (1): firmware: arm_scmi: Fix missing destroy_workqueue() Sudeep Holla (2): firmware: arm_scmi: Add full list of sensor type enumeration Merge tag 'scmi-voltage-5.11' of git://git.kernel.org/.../sudeep.holla/linux into for-next/scmi Documentation/devicetree/bindings/arm/arm,scmi.txt | 43 ++ drivers/firmware/arm_scmi/Makefile | 2 +- drivers/firmware/arm_scmi/common.h | 1 + drivers/firmware/arm_scmi/driver.c | 3 + drivers/firmware/arm_scmi/notify.c | 10 +- drivers/firmware/arm_scmi/sensors.c | 720 +++++++++++++++++++-- drivers/firmware/arm_scmi/voltage.c | 380 +++++++++++ drivers/hwmon/scmi-hwmon.c | 2 +- include/linux/scmi_protocol.h | 352 +++++++++- 9 files changed, 1450 insertions(+), 63 deletions(-) create mode 100644 drivers/firmware/arm_scmi/voltage.c