From patchwork Thu Aug 22 17:09:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abdellatif El Khlifi X-Patchwork-Id: 13773960 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7ACE6C3DA4A for ; Thu, 22 Aug 2024 17:12:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mK/Fk29tGDtm43YWVDkvWB+xJOjHIimIrhBF2v+Ro9M=; b=oBiEXiRV/T/MoufYMI2nNgwXQD hZ0KlWbQIxAnDokVs2l6ysTK8bbf5trQwRKIFaHwaeDuMKc9CWaKWe8/A0FUC5yLPw9FQgamf0l5r /3h27u0iNrwDGnFpsOsBpfAaeLmJ6waalB2SnpiIktHHBVqIukCH3nDM0OV4vpxYo17J9BdfxaE7q ZHh5vTzs/b0YJC/WvrUKpr/NBlfwQlV9xEZkANgxxAPvF4apdQg1AmQkjE9s7zCiwQp/ikbTsqIC+ WBdexbCEcYyJIhA2cvCexQzUDcuHCj/NhvqMTwGb2kmy9CZOWURlkZ/0PReLWHlrDd4uJmwIBqS7q NvjjPZlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shBMK-0000000DkQP-0ZZj; Thu, 22 Aug 2024 17:12:28 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shBK9-0000000Djsc-207m for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2024 17:10:15 +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 0EB53DA7; Thu, 22 Aug 2024 10:10:39 -0700 (PDT) Received: from e130802.cambridge.arm.com (e130802.arm.com [10.1.37.66]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1F43C3F86F; Thu, 22 Aug 2024 10:10:10 -0700 (PDT) From: Abdellatif El Khlifi To: mathieu.poirier@linaro.org Cc: Adam.Johnston@arm.com, Hugues.KambaMpiana@arm.com, Drew.Reed@arm.com, abdellatif.elkhlifi@arm.com, andersson@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, liviu.dudau@arm.com, lpieralisi@kernel.org, robh@kernel.org, sudeep.holla@arm.com, robin.murphy@arm.com Subject: [PATCH v2 2/5] dt-bindings: arm: sse710: Add Host Base System Control Date: Thu, 22 Aug 2024 18:09:48 +0100 Message-Id: <20240822170951.339492-3-abdellatif.elkhlifi@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240822170951.339492-1-abdellatif.elkhlifi@arm.com> References: <20240822170951.339492-1-abdellatif.elkhlifi@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240822_101013_655927_7BAD8FC4 X-CRM114-Status: GOOD ( 11.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add devicetree binding schema for the SSE-710 Host Base System Control SSE-710 is implemented by the Corstone-1000 IoT Reference Design Platform [1]. The Host Base System Control has registers to control the clocks, power, and reset for SSE-710 subsystem [2]. It resides within AONTOP power domain. The registers are mapped under the SSE-710 Host System memory map [3]. [1]: https://developer.arm.com/Processors/Corstone-1000 [2]: https://developer.arm.com/documentation/102342/latest/ [3]: https://developer.arm.com/documentation/102342/0000/Programmers-model/Register-descriptions/Host-Base-System-Control-register-summary Signed-off-by: Abdellatif El Khlifi --- .../arm/arm,sse710-host-base-sysctrl.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/arm,sse710-host-base-sysctrl.yaml diff --git a/Documentation/devicetree/bindings/arm/arm,sse710-host-base-sysctrl.yaml b/Documentation/devicetree/bindings/arm/arm,sse710-host-base-sysctrl.yaml new file mode 100644 index 000000000000..e344a73e329d --- /dev/null +++ b/Documentation/devicetree/bindings/arm/arm,sse710-host-base-sysctrl.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/arm,sse710-host-base-sysctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SSE-710 Host Base System Control + +maintainers: + - Abdellatif El Khlifi + - Hugues Kamba Mpiana + +description: |+ + The Host Base System Control has registers to control the clocks, power, and + reset for SSE-710 subsystem. It resides within AONTOP power domain. + The registers are mapped under the SSE-710 Host System memory map. + +properties: + compatible: + items: + - enum: + - arm,sse710-host-base-sysctrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^extsys[0-1]$": + description: + SSE-710 subsystem supports up to two External Systems. + $ref: /schemas/remoteproc/arm,sse710-extsys.yaml# + unevaluatedProperties: false + +additionalProperties: false + +required: + - compatible + - reg + +examples: + - | + syscon@1a010000 { + compatible = "arm,sse710-host-base-sysctrl", "simple-mfd", "syscon"; + reg = <0x1a010000 0x1000>; + + extsys0 { + compatible = "arm,sse710-extsys"; + firmware-name = "es_flashfw.elf"; + #extsys-id = <0>; + mbox-names = "txes0", "rxes0"; + mboxes = <&mhu0_hes0 0 1>, <&mhu0_es0h 0 1>; + memory-region = <&extsys0_vring0>, <&extsys0_vring1>; + }; + };