From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from flow-a8-smtp.messagingengine.com (flow-a8-smtp.messagingengine.com [103.168.172.143]) (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 94C28352019; Fri, 31 Jul 2026 04:35:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.143 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785472527; cv=none; b=pNHv69Wpsjp0B1iy2a/zFoxayTgdAmu4FeYGq9XJn/zOkRJT07eZbVCzUa+RoILLRSKkD1bqaJKrClhYZqB0VRMX8n7V1eoe72zpWQAqE+V8KAzmryWkGjxh3x5vLG25b7JcUCyj4lcUbe/41oTdkh5h35FERoBGnTpsvnJFCj8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785472527; c=relaxed/simple; bh=3ivv1mltqxjq4IGCvAiFS9StUQ0xJUEE22WqT/qpA/0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Jg3+gA+YJIzPGAzpi+RFx9eVIgohutzm9SDE45dZp6o4aWfptOjvIfuu3biZ/NpWbE3TzeTbA9q7VCghwlyyqWVr+QXCYgAVfkNLEgsgTP8LWSYIve9z+bKNwgi6Lkfyw3YoO710as7o4xj7l0JdBvIZAqRFg0f9IywXd9kfObs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gahingwoo.com; spf=pass smtp.mailfrom=gahingwoo.com; dkim=pass (2048-bit key) header.d=gahingwoo.com header.i=@gahingwoo.com header.b=Ov2Nw5/Z; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=M7wJ1/Fh; arc=none smtp.client-ip=103.168.172.143 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gahingwoo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gahingwoo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gahingwoo.com header.i=@gahingwoo.com header.b="Ov2Nw5/Z"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="M7wJ1/Fh" Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailflow.phl.internal (Postfix) with ESMTP id B8EA51380308; Fri, 31 Jul 2026 00:35:24 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Fri, 31 Jul 2026 00:35:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gahingwoo.com; h=cc:cc:content-transfer-encoding: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=1785472524; x= 1785476124; bh=Ou8Q2+MSVN0oE4OVVJlFXqxdMV+YjRi2MbtXNEWiRwQ=; b=O v2Nw5/ZOoSy1FFXTS/jDaGrlo8sv84qFG52z2bdplFOAHaDjxuCIRx6NQMiDX7ZM pLrb9mRn1mHd0GJselwrSvgOc6WDP0sSh59QV5WI0LNe1FHAUz9VhT1WZU1DOz3l wcmgwcx4cswFCIwwtyHaLWFMsgiqP5zXQeLrTJE/9xSFOYd1OHVDMSRyFZsGFtlQ b7z3Y1RPGrjuS9YDgOzLoWkISnSJfEp0VC9hKorgTNLz33GSp71jNenWihSP+sLQ mHy+hxIu/zM/2mz4rQSyC7OiFfqMz5d0w8ADgUrp80oj3Fy7kpcgSqzdEMfCkg7a S0DIkxs1C5ArJrU2LrrWQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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-sender :x-me-sender:x-sas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ndGJeMkqSfG41vpcEkE yyIRrDSSeboNO72b9Bx+Ovl9VHqP8SrEi4WgDQDxowIxGAkkB2R/YzPWrcBg X-ME-Proxy: Feedback-ID: i7a5e4b5f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 Jul 2026 00:35:19 -0400 (EDT) From: Jiaxing Hu To: tomeu@tomeuvizoso.net, heiko@sntech.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, ulfh@kernel.org, p.zabel@pengutronix.de, ogabbay@kernel.org Cc: chaoyi.chen@rock-chips.com, alchark@flipper.net, royalnet026@gmail.com, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jiaxing Hu Subject: [RFC PATCH v3 1/6] dt-bindings: npu: rockchip: add rockchip,rk3576-rknn-core Date: Fri, 31 Jul 2026 16:35:02 +1200 Message-ID: <20260731043507.1832277-2-gahing@gahingwoo.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260731043507.1832277-1-gahing@gahingwoo.com> References: <20260731043507.1832277-1-gahing@gahingwoo.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The RK3576 NPU has two cores of the same RKNN block the RK3588 binding already describes, but no NPU SRAM supply, so sram-supply is required for rockchip,rk3588-rknn-core only and rejected otherwise. Signed-off-by: Jiaxing Hu --- .../bindings/npu/rockchip,rk3588-rknn-core.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/npu/rockchip,rk3588-rknn-core.yaml b/Documentation/devicetree/bindings/npu/rockchip,rk3588-rknn-core.yaml index caca2a490..0a7baac24 100644 --- a/Documentation/devicetree/bindings/npu/rockchip,rk3588-rknn-core.yaml +++ b/Documentation/devicetree/bindings/npu/rockchip,rk3588-rknn-core.yaml @@ -21,6 +21,7 @@ properties: compatible: enum: + - rockchip,rk3576-rknn-core - rockchip,rk3588-rknn-core reg: @@ -75,7 +76,19 @@ required: - resets - reset-names - npu-supply - - sram-supply + +allOf: + - if: + properties: + compatible: + contains: + const: rockchip,rk3588-rknn-core + then: + required: + - sram-supply + else: + properties: + sram-supply: false additionalProperties: false -- 2.43.0