From patchwork Thu Jan 16 10:59:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 13941577 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 A02881DE3A6; Thu, 16 Jan 2025 10:59:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737025174; cv=none; b=palf8vbeR6CEd/eAQOxLhMUqcdNoB3jhL9lITGieQB3AblfCNRjP6PrgcwxpD2kfkGbjEKrk31AqPuS17RduURYaGUJTDs8OCZpOigByoTwZMZ8JV+OilSKkPs1NgYw0d0o8TNBMaAUrUyTKT1Y2L5aDwrkuTxFiwGKsidsPfJw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737025174; c=relaxed/simple; bh=nhCncoiXCpwTrWom015P2Iz8k0vhJYOTBJz561wU5gU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sGChiSXtyjk3WMCU1ypp74PqC60nf1nYoxBOsnOrIi1oHGfmczSriU07XOwZPeLJWPbzstME9MisbvkopRWyKH2QOX8+gGbRdFmKiSOr7kujIRkgXJEeo7ToyMxsPTzemAeLzgx7ao5xnKO9XslTtP1oYBQKatTgYsV8YPTyRnU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=UqbuSol/; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="UqbuSol/" Received: by mail.gandi.net (Postfix) with ESMTPSA id 68558FF808; Thu, 16 Jan 2025 10:59:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1737025170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+3kfIi6k50bb/Q7oC3+JoYFu33V5i5ofievAcInGlvw=; b=UqbuSol/V8Ym8k1L9JI8f4ncj3beS9GPgG4KJM1ZVfVE2r8CPmXgRskiuwmiqa0aUCs7nk XnemJThFpV4iK0iVZmCjbGymxilTph8YR6fWQyeXNymX3FkeLzDH47I01/0Sj3IHGgHhGw ODokarijITZgLpIWvaduyZhuM/3Khjl9WKfuQnfd9r1j3/hyq5FaFpIVuV/ChFH2v36e9z be2dILV5PvPehFPifrPIMmixvYnH4ehEjNvlW8ig2o4PJoW05osA7wIr9s5ENL1EsDQyGz ntZHIxORHlOxjn3bcIfI1VJlyg06+LmWB1fsWRu+bNWADrrIEMxQrnIfL5B3Tw== From: Gregory CLEMENT Date: Thu, 16 Jan 2025 11:59:20 +0100 Subject: [PATCH v2 2/5] dt-bindings: mips: mips-cm: Add a new compatible string for EyeQ6 Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250116-cluster-hci-broken-v2-2-fc52cfb7a19e@bootlin.com> References: <20250116-cluster-hci-broken-v2-0-fc52cfb7a19e@bootlin.com> In-Reply-To: <20250116-cluster-hci-broken-v2-0-fc52cfb7a19e@bootlin.com> To: Aleksandar Rikalo , Thomas Bogendoerfer , Jiaxun Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Vladimir Kondratiev , =?utf-8?q?Th?= =?utf-8?q?=C3=A9o_Lebrun?= , Tawfik Bayouk , Thomas Petazzoni , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gregory CLEMENT X-Mailer: b4 0.14.2 X-GND-Sasl: gregory.clement@bootlin.com The CM3.5 used on EyeQ6 reports that Hardware Cache Initialization is complete, but in reality it's not the case. It also incorrectly indicates that Hardware Cache Initialization is supported. This new compatible string allows warning about this broken feature that cannot be detected at runtime. Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/mips/mti,mips-cm.yaml | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mips/mti,mips-cm.yaml b/Documentation/devicetree/bindings/mips/mti,mips-cm.yaml index 9f500804737d23e19f50a9326168686c05d3a54e..4713673f0cfc7785bb183917ee382a815ebfe9e1 100644 --- a/Documentation/devicetree/bindings/mips/mti,mips-cm.yaml +++ b/Documentation/devicetree/bindings/mips/mti,mips-cm.yaml @@ -14,7 +14,12 @@ maintainers: properties: compatible: - const: mti,mips-cm + oneOf: + - const: mti,mips-cm + - const: mti,eyeq6-cm + description: + On EyeQ6 the HCI (Hardware Cache Initialization) information for + the L2 cache in multi-cluster configuration is broken. reg: description: @@ -25,14 +30,29 @@ properties: required: - compatible - - reg additionalProperties: false +if: + properties: + compatible: + contains: + const: mti,eyeq6-cm +then: + properties: + reg: false +else: + required: + - reg + examples: - | coherency-manager@1fbf8000 { compatible = "mti,mips-cm"; reg = <0x1bde8000 0x8000>; }; + + coherency-manager { + compatible = "mti,eyeq6-cm"; + }; ...