From patchwork Fri Jul 26 13:59:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 169847 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp97674ilk; Fri, 26 Jul 2019 07:00:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9DUF0U13u2h2nRyj8FqX7cIMn3k4I/ZzSGZZfQxLhaYqi9C4S/+C1Zl3RyK7IgY+S1R5c X-Received: by 2002:a17:90a:2190:: with SMTP id q16mr95095492pjc.23.1564149611166; Fri, 26 Jul 2019 07:00:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564149611; cv=none; d=google.com; s=arc-20160816; b=wo/5OoC+pRUl7TK8XMPLZdezb/a1HBrqlo644Ng2OeVgTaQTlzW97bGWBAjmDKZ8zq h/S8eOVUn5Le0tO0oXWeRcCwUkVOwNQ4FASPGxBlA0+8AFlof3UCJ7Tkcc0y6W58QhmG zSOfw0RHg1P5lcfaakQpV7dAzG7aDW/kvgLB5ulYn3INW1RVWBcuj1VsUB5ay7syCOyD q5b1r7lskDqKh9uxkp21qz7aIrP6tVx7lj8luJahg+xVKO9dMaxRR7kUU+S6KDhBXNPR AZ3t1EO6i0XNFa2TgvyZyEDMIkVUzsuPIJ4CtaOg7noWbUz5nQBQVLkpYFQCONAPan5h lN0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=lBBBjgVV6zJQK0raejVMVfYL0zr5zUFwyNHqBA9zhHI=; b=nQ3Ai4jhvgTLF2WOnlAqv9oopMqr5QCgxklp65Vd6n8xpuTrQG3Kks6c5g/EBEVTLS HwCN0HTRokdC8P9aJlfVGTsl5vwzKkHtuTXCFjyZpqj0CMUsB2SQophTsI9s7/fODKc5 L6s/dZQ42TY27fssGx7R/9h+W+5/pnBvHnpcCxVd+tMWCGRBCZ1/suBg+SAwSYdl2uVQ 0hbXj7lUbv9hZcuVpexlel7WjpetZld+q+b61obe5rftWWBw4Lb+TR/Dpi3iydXesrFR reTtD3dOfWjbPn9MQi0790iXX5bg45UB6hOaPVlcgvSPdV9sSJVXKoGMmZG9fIYJFjwa KFFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ci23si43920583pjb.106.2019.07.26.07.00.10; Fri, 26 Jul 2019 07:00:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728260AbfGZOAI (ORCPT + 29 others); Fri, 26 Jul 2019 10:00:08 -0400 Received: from foss.arm.com ([217.140.110.172]:44942 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727100AbfGZOAG (ORCPT ); Fri, 26 Jul 2019 10:00:06 -0400 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 42007337; Fri, 26 Jul 2019 07:00:06 -0700 (PDT) Received: from usa.arm.com (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5AC803F694; Fri, 26 Jul 2019 07:00:04 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org Cc: Sudeep Holla , Peng Fan , linux-kernel@vger.kernel.org, Bo Zhang , Jim Quinlan , Volodymyr Babchuk , Gaku Inami , aidapala@qti.qualcomm.com, pajay@qti.qualcomm.com, Etienne Carriere , Souvik Chakravarty , wesleys@xilinx.com, Felix Burton , Saeed Nowshadi Subject: [PATCH 0/5] firmware: arm_scmi: add SCMI v2.0 fastchannels and reset protocol support Date: Fri, 26 Jul 2019 14:59:49 +0100 Message-Id: <20190726135954.11078-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SCMI v2.0[1] released recently adds support for: 1. Performance protocol fast channels 2. Reset Management Protocol among several other features. This series adds support for the above 2. The code is based on the cleanup[2] and Rx/async/delayed response series[3] and is available @[4] -- Regards, Sudeep [1] http://infocenter.arm.com/help/topic/com.arm.doc.den0056b/DEN0056B_System_Control_and_Management_Interface_v2_0.pdf [2] https://lore.kernel.org/lkml/20190726134531.8928-1-sudeep.holla@arm.com [3] https://lore.kernel.org/lkml/20190726135138.9858-1-sudeep.holla@arm.com/ [4] git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git scmi_updates Sudeep Holla (5): firmware: arm_scmi: Add discovery of SCMI v2.0 performance fastchannels firmware: arm_scmi: Make use SCMI v2.0 fastchannel for performance protocol dt-bindings: arm: Extend SCMI to support new reset protocol firmware: arm_scmi: Add RESET protocol in SCMI v2.0 reset: Add support for resets provided by SCMI .../devicetree/bindings/arm/arm,scmi.txt | 17 ++ MAINTAINERS | 1 + drivers/firmware/arm_scmi/Makefile | 2 +- drivers/firmware/arm_scmi/perf.c | 257 +++++++++++++++++- drivers/firmware/arm_scmi/reset.c | 231 ++++++++++++++++ drivers/reset/Kconfig | 10 + drivers/reset/Makefile | 1 + drivers/reset/reset-scmi.c | 133 +++++++++ include/linux/scmi_protocol.h | 26 ++ 9 files changed, 669 insertions(+), 9 deletions(-) create mode 100644 drivers/firmware/arm_scmi/reset.c create mode 100644 drivers/reset/reset-scmi.c -- 2.17.1