Message ID | 20240301164227.339208-1-abdellatif.elkhlifi@arm.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-88746-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp10114dyc; Fri, 1 Mar 2024 08:58:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWpS8lgbaki/5QTOQK9VlG4uRgVK5eBWXmznUaYlkq4IwtHSASee7HlmaFU7MFLOmhP6Ee+o7ZJL42ikkHuuq8WxI2OHg== X-Google-Smtp-Source: AGHT+IHEDPKJ8QvxUWFXOamWC5EosLsY1igQ7MsOEH3z05R8jTLVne1PFYkHfdiS2FB4Wb1aW7z6 X-Received: by 2002:a05:6a00:1955:b0:6e5:5116:2cb5 with SMTP id s21-20020a056a00195500b006e551162cb5mr2715973pfk.15.1709312284781; Fri, 01 Mar 2024 08:58:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709312284; cv=pass; d=google.com; s=arc-20160816; b=t/hskaILlbhaEm4hHZOSmDzJOboYjbr6kSTBpNuM9o0AhJwJRAsVc57uXKsSP9DM52 SAQHGtLUHtGpISqVkDn29qWsDcIYp/EgEhxJ+WfepqRDuE4xzSBJClUVHDAROkC1w6wP miW9OcSpc9bmErmcWgNJLPdCaw55dcoKba4ruQklasdSvcrVMPYRYR91YmninxboS2mj fFM0n4w1xdO0NB0nGOQs6Z1YEQjJudBJLzjo5+xHj5azhAYlf0aLwFc/3BdyVl8qZgzf c5c8SYU/MPI48QcUn4wthIi0Oe+9pEkp4516uS11NhSTMTGkK5LJ0mndvUVhTgIMn+pi JRPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=USW8rlEvTK1AitLE7n4DWNTovWbUuU3v0wJJwRXn7Jg=; fh=UepcFyFhAT/Rlp/vfS7bhlutY72Ro0HVVE8G0CE5dqA=; b=UcTxMCAytFZd0bV1f8d2YGCfHVMX+Rflc4CafVzHZXAyHRqkFMdkSVLj39FvAverbz eSzKff8x2Le7e0tJ2bWVrCnHkCykrIEtmeV0I6sj31OKkaKG7FgSj25FCEDpcdoFG7ZW BwRBOTjKPXTgDln39Q8aV9+04bTKtu/4RvMyzbV0AhfCtd9j2/3WGmmuCwU9Qnj3MtQ8 kMbk8yVrW8tFmOeVzZD7c/AgfOq2bmI2TrYP3S+jXmrefaDZy1FEZEd57UB1In10k6Es ddbpe8zxtWk5BZ9jXCaGxpZFO9eBf6wPRzhjF8cwK+VXGwLHj01L0v4JCaWuIQJUS3/m BPgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-88746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88746-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k12-20020a633d0c000000b005dc42bb64aesi3926161pga.617.2024.03.01.08.58.04 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 08:58:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-88746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88746-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D392A2896EB for <ouuuleilei@gmail.com>; Fri, 1 Mar 2024 16:48:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C85D536B08; Fri, 1 Mar 2024 16:43:02 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 660DD5231; Fri, 1 Mar 2024 16:42:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709311381; cv=none; b=eMZgRc0UUzP1OTq6MRT3HjEK79Tcyz9KAHNOFae5xSG1yDNZ9M4gLJOtsq5M/xwX55ZqTd7yYO00KKYbML/3C0/MMa81+K4N7Dns/bMycMxcfbkfw+9MIJUTGmwjWEHzFgnhJmlvyoNzlGcuEVBx2a+oW5w6RSz272bJIjLimiA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709311381; c=relaxed/simple; bh=MSl2PxTtAMP4r+b1ezxUj0gj2cNUYpY54lAEfO3G6p4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=mhUoMa41HMFnG4WvVB4B9Zbci5ilRL5yjaE5alNCf0P1LYLlg8Je1CAXGhZizWLg30hPDYBisWwBnt6UKlxdGk+rAOzm1R/5gGfviz7xShum3dnOEGql1VqI30Pid15SCM6o9IqcCMKRWzoftecfVySpKP49OsB4ETFBfrI1B30= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 D8F8E1FB; Fri, 1 Mar 2024 08:43:36 -0800 (PST) Received: from e130802.arm.com (unknown [10.57.69.63]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C03383F73F; Fri, 1 Mar 2024 08:42:55 -0800 (PST) From: abdellatif.elkhlifi@arm.com To: Bjorn Andersson <andersson@kernel.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Rob Herring <robh+dt@kernel.org> Cc: Liviu Dudau <liviu.dudau@arm.com>, Sudeep Holla <sudeep.holla@arm.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Drew.Reed@arm.com, Adam.Johnston@arm.com, Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: [PATCH 0/3] remoteproc: introduce Arm remoteproc support Date: Fri, 1 Mar 2024 16:42:24 +0000 Message-Id: <20240301164227.339208-1-abdellatif.elkhlifi@arm.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792343838654322743 X-GMAIL-MSGID: 1792343838654322743 |
Series |
remoteproc: introduce Arm remoteproc support
|
|
Message
abdellatif.elkhlifi@arm.com
March 1, 2024, 4:42 p.m. UTC
From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Some Arm heterogeneous System-On-Chips feature remote processors that can
be controlled with a reset control register and a reset status register to
start or stop the processor.
This patchset adds support for these processors by providing the
following:
1) A remoteproc driver that retrieves the reset registers addresses from
the DT, register a new rproc device with the remoteproc subsystem and
provides the start and stop operations for switching on or off the remote
processor.
The start and stop operations are provided as a data config selected on DT node match.
Currently we are providing support for Corstone-1000 External System (Cortex-M3) [1]
as a remote processor. The driver can be extended to support other remote processors
by adding a data config and custom implementation of the start and stop operations.
2) DT bindings
3) Support control of multiple remote processors at the same time
[1]: https://developer.arm.com/documentation/102360/0000/Overview-of-Corstone-1000/Corstone-1000
Cheers,
Abdellatif
Abdellatif El Khlifi (3):
remoteproc: Add Arm remoteproc driver
arm64: dts: Add corstone1000 external system device node
dt-bindings: remoteproc: Add Arm remoteproc
.../bindings/remoteproc/arm,rproc.yaml | 69 +++
MAINTAINERS | 7 +
arch/arm64/boot/dts/arm/corstone1000.dtsi | 10 +-
drivers/remoteproc/Kconfig | 18 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/arm_rproc.c | 395 ++++++++++++++++++
6 files changed, 499 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/remoteproc/arm,rproc.yaml
create mode 100644 drivers/remoteproc/arm_rproc.c
base-commit: 8b46dc5cfa5ffea279aed0fc05dc4b1c39a51517