Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp585190lqc; Fri, 8 Mar 2024 06:26:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVTTZYPvaVyxWpBk5pRWtq1dlpGg32xXPD1Lzr06Uu9QrM7s5YAzQZZfPqDzPhwbTX+reFdGejeYtzX3eVxBIpFjVmAKaw4/w9u2nFL0g== X-Google-Smtp-Source: AGHT+IFAz4lEIbwnyxmFhdUIJ9l60xXmLjxfyieQZWXBe14IxahKkP01C1nZ4xmVhepmSja/OCaq X-Received: by 2002:a50:aade:0:b0:565:1815:dfc5 with SMTP id r30-20020a50aade000000b005651815dfc5mr2107803edc.0.1709907963526; Fri, 08 Mar 2024 06:26:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709907963; cv=pass; d=google.com; s=arc-20160816; b=01RuPRBv6JBAzAuKnhs3tGt2lwnSRaGN+qb7n/DEwnOLgDFXwIa2u1LMQ0ohw+rp7d KcjBu1BrWmp6n2fa/8mszksNcjvl3ksJMSnMjsJUQfUYO8b2sWE7BHeIH7AuZXm6SSHN DecXdRI6ymO03hWNvQLAzyzPS4MTI2wZ/+U/d8lMc2xFws516Ag+YddElePMTzvQENAJ UHzTnQxogClfQDhqPT4FgEm47cucZVyhrZQ3O4vaRD8N/9UZWcfB5a/r0cH3hLSkA6L9 UEifhOo86wM85eusGjjxajRAbJq95n24co0WmWMXmDeZSqd4pcE3cZdoqijpWso/CGDL nFjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=Y1DrBVr9ll0MOkl8yWIPgzgfybSAjFQrOFk03lDmzN0=; fh=XvZYfIvUCwI9xss7Gq3bwX73by+YiteNlr3XKwZPdIY=; b=SyLRPOwhyy5KI1Yt6ik3yWmb7f2L1h4qrNI51pSboc8dRnRRkNP3vdIDuYDwCXAxJk scnQf2zBaaBkaWxJGyj/yaTeLFwN4WcfUY7ZvuXLMytG0tVcjmfAhKlCwXg4LfUo2DAO LnyMQlw30Sk/nfLDEK4rynjuyULfeuFmWwQGVNvq6lUu/9XIjB53scXnEAivyCmLiIjD aQwlQrQ5aNfP5vJjzHL3kyTdHW3gXIZB4Inbo3MaQcaHUn15N4A+ONzOu3Nu+SeocgPv qXX5CFcixjv0RhDJfWqV/cFsBkJR5B9UYtDqxHAsukwnP9dxuBNGQHKrxmNkFOu2AzNb dJ9w==; 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-97165-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97165-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b19-20020a056402351300b00566a3ab7129si8123144edd.4.2024.03.08.06.26.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 06:26:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97165-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-97165-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97165-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 430A41F22150 for ; Fri, 8 Mar 2024 14:26:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BB824644F; Fri, 8 Mar 2024 14:25:55 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A61888BEF; Fri, 8 Mar 2024 14:25:52 +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=1709907954; cv=none; b=auDddQ6QlPVVupYjJmbVxGXsWRE+ffDPSFhzG4QGeI6ggGI5WzX41DbfnFO5fKFi6x/7ffRgTxlfXvnIY90c//1yety/XZzF7NU+R8EX/MxMjJTVl7TFyXG2Zxi/hWYkj/bQb03ZwVCzOiEbdzMkk2rolBLqFrsQPEBr6c1/cBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709907954; c=relaxed/simple; bh=mAC+4ej7DrcSMbXBjoEZjocQGNkjds5CH7pc+Qy5KD0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=azt+aMUZdVJrC19SsSD9+A0GVA+DdcQMic/MPq++GaCT6aR5++l3AGD2Pd5Xy1omcLCjzqiPMS6Tx2OIWMk7kODyYeXlC/3y3t37mj4NbqPvh8UOikdpd88lFgsq0IsxDSk0sMervBzhY2wz5NKO87ieW9i2YI4eNtb1Bn9ph0k= 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 B8EDFC15; Fri, 8 Mar 2024 06:26:28 -0800 (PST) Received: from e130802.arm.com (unknown [10.57.14.181]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E68CD3F762; Fri, 8 Mar 2024 06:25:48 -0800 (PST) Date: Fri, 8 Mar 2024 14:25:45 +0000 From: Abdellatif El Khlifi To: Sudeep Holla Cc: Bjorn Andersson , Mathieu Poirier , Rob Herring , Liviu Dudau , Lorenzo Pieralisi , Krzysztof Kozlowski , Conor Dooley , Drew.Reed@arm.com, Adam.Johnston@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: Re: [PATCH 2/3] arm64: dts: Add corstone1000 external system device node Message-ID: <20240308142545.GA199646@e130802.arm.com> References: <20240301164227.339208-1-abdellatif.elkhlifi@arm.com> <20240301164227.339208-3-abdellatif.elkhlifi@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Sudeep, > > + extsys0: remoteproc@1a010310 { > > + compatible = "arm,corstone1000-extsys"; > > + reg = <0x1a010310 0x4>, > > + <0x1a010314 0X4>; > > > As per [1], this is just a few registers within the 64kB block. > Not sure if it should be represented as a whole on just couple > of registers like this for reset. > > [1] https://developer.arm.com/documentation/101418/0100/Programmers-model/Register-descriptions/Host-Base-System-Control-register-summary The Host Base System Control registers are not specific to the External System processors. They are various registers with different purposes. Only 4 registers matter for the remoteproc feature: - The External system 0 reset control and status registers: EXT_SYS0_RST_CTRL, EXT_SYS0_RST_ST - Same for the the External system 1: EXT_SYS1_RST_CTRL, EXT_SYS1_RST_ST So, mapping the whole Host Base System Control area doesn't make sense for the remoteproc feature and exposes registers that are not related to the External Systems to the driver. By the way, the latest document we are referring to is [1]. [1]: https://developer.arm.com/documentation/102342/0000/Programmers-model/Register-descriptions/Host-Base-System-Control-register-summary Cheers, Abdellatif