From patchwork Tue May 7 09:01:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13656433 Received: from fout8-smtp.messagingengine.com (fout8-smtp.messagingengine.com [103.168.172.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C246B14E2C0; Tue, 7 May 2024 09:01:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.151 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715072520; cv=none; b=mEq5SylLTHbJGAop7Zn9XttR3jrmJH2UE+9ZvzoXAlWkFeDjN5JMCL46tFP+4z7zlbnnrBJc39W6SszHV6/7NdDbXDEGpVsy3uqq406YZNm/yXJMoitp0Rd4VUxDeYyO5r4AaT4+egnFPI0ZDpAV274vT/Pzy21+M9IqWdFNMs4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715072520; c=relaxed/simple; bh=BYd0z4w2P6361HK8XCnk63d1hg9xPM/ibgUD+fCXqh8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EuFpO4bRDKzr6QfPy+66vIjsnKKlG735X1Dj8nV1g9m//Fh42ubbLpoDk5s1nL3S6HQeUEEk+h/xR9jhHYhnXOIFohPfXmmmO0xoHZJwlZyAo9Te6nHJFMEuZAaH3GOjdIIOk74cba+sieV50hGdIvsitKN6I1MwAI8BBRBmdf8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=DgZ6p/M+; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=YWmuROvH; arc=none smtp.client-ip=103.168.172.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="DgZ6p/M+"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="YWmuROvH" Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id CC6B81380283; Tue, 7 May 2024 05:01:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 07 May 2024 05:01:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1715072517; x=1715158917; bh=CzmJQDh0gAqcg7KaggNSSVod9790TdM5EUlS+8Cc680=; b= DgZ6p/M+Q/ENmeI8CLR1Xgoc9/tgAB7WIk4YlezaigHXPQDiW3YcuOfkgMQbfn9X PNQKJv/nLHgrpLm2FaknfBQ0DBUgdxStUO3BnFVF/dpoEBiOiZtmzEXR1UHfBeDK AZzF0Lz8k2Vbkm4hf3Qu4r8A1diKzt3US1zQQuUohMrKQPdoeLCnFHdo6jNioIxC +r7aM7FSbmHn9DrRJZQpzbYn+ZfNXwcSSlbEQQxkX6rnkAAokkwV0K8JYTXrO8eu LOkAw2X7PbKoi6zOi62my/EdmwrJO3FHWYYcEwpkHxFwMfUTh4LckgfZSFmfjgDm 1EdsOaL9cbc3oO4zZ/zkrQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715072517; x= 1715158917; bh=CzmJQDh0gAqcg7KaggNSSVod9790TdM5EUlS+8Cc680=; b=Y WmuROvHhwLmPjrWxqDpaAfbYxeR390mq07Yvg9WjJ8kiy3XVPrrA2s2s9HaAZFfJ 8KJgX+7mJhgdWbn8auhHfrR2lLilsdHMwou8wlZ2QbFulLI8Y3NknpH2V5RRZ0kI 6stUJDUpdNSiiax6T98/tbD0NpUJ8KH74jENBrxDKo3ZYc6MBscKd8E88j+Bxu3T qJHsfNkBd5OaxxrSlilVXIVd9uvF4I0w3SBhQXgHV/0Fy/BH7gTE7Dpc13VCou9q hA1xs6/PC1O50fuauZyoO5o8wFjmvtVFkuS1ZCGVYh6gf+w60RgjIYjaoqjgzyuM 8FMYUp1OCVnFN3uWA8ztw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvkedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnheptdffudefteeijeeljedtvdekteduvedtkeetheefkeetkedu tdetkefhfeeuffdvnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdr higrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 May 2024 05:01:56 -0400 (EDT) From: Jiaxun Yang Date: Tue, 07 May 2024 10:01:52 +0100 Subject: [PATCH 4/5] dt-bindings: mips: Document mti,mips-cm Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240507-cm_probe-v1-4-11dbfd598f3c@flygoat.com> References: <20240507-cm_probe-v1-0-11dbfd598f3c@flygoat.com> In-Reply-To: <20240507-cm_probe-v1-0-11dbfd598f3c@flygoat.com> To: Paul Burton , Thomas Bogendoerfer , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1338; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=BYd0z4w2P6361HK8XCnk63d1hg9xPM/ibgUD+fCXqh8=; b=owGbwMvMwCHmXMhTe71c8zDjabUkhjTLt/9PvYjtyrwTlmXEtUWy6pZfacGiP7K5145m57GYf Zn1Xj2+o5SFQYyDQVZMkSVEQKlvQ+PFBdcfZP2BmcPKBDKEgYtTACayN5/hr7Ddn+sOSYfLs/Tn drwN3ZHhcePgxa98vm/aYoqlZi8s4mZk+Pn4+vGD8t532K4nnmS7xTTXtn127JNSo91L5M/yCYk +YAYA X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Add devicetree binding documentation for MIPS Coherence Manager. Signed-off-by: Jiaxun Yang --- .../devicetree/bindings/mips/mips-cm.yaml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/Documentation/devicetree/bindings/mips/mips-cm.yaml b/Documentation/devicetree/bindings/mips/mips-cm.yaml new file mode 100644 index 000000000000..b92b008d7758 --- /dev/null +++ b/Documentation/devicetree/bindings/mips/mips-cm.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/mips-cm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MIPS Coherence Manager + +description: | + Defines a location of the MIPS Coherence Manager registers. + +maintainers: + - Jiaxun Yang + +properties: + compatible: + const: mti,mips-cm + + reg: + description: | + Base address and size of an unoccupied memory region, which will be + used to map the MIPS CM registers block. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cm@1fbf8000 { + compatible = "mti,mips-cm"; + reg = <0x1bde8000 0x8000>; + }; +...