From nobody Sat Feb 7 07:31:36 2026 Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) (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 E09421AA786; Thu, 28 Nov 2024 14:08:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732802922; cv=none; b=kqIub2RLeAdA4HTrJy6olagVE54hXk8iAeVZg3p93277IK49Skh37yHu4e8/Rf5IJQ2uXEkXZna5DYoa4btjBWLfSy3AcarlS0WYoa3mF79hkpz7BglkgOD9sfquuhzWxm4IyzjGr/MvWRn95iSclEFUqZl4UtuXLI9Ufv+TyDc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732802922; c=relaxed/simple; bh=RXl8EqCZPi7360lIjPBNSmoOmPR60Q+j6pNqrqDb6NE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SgV8rN4gR7iC+uhOpbYI1ScXX/8F+e9Iy+ZqY68P6OXNs7IMbamvqkB+UdHVMeswufjAd7LbWr+hKqEy/TH03eGyxQ6MD2JJTcvncozpv/HPcDIkB5Qq6dQmANEwzcikYl12sGcF7PwNVnYYhBLj40cFJKhBW0UtwrNF0+i94wY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=Mma1VoFv; arc=none smtp.client-ip=198.47.23.234 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="Mma1VoFv" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 4ASE8Y2Y1171260 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Nov 2024 08:08:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1732802914; bh=DEqsPZvCDv6fZXTIc5Sjc+0RGxvXQb4IPrR1wEGEkGg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Mma1VoFvfoyiQ7mc3d7kDS/wHTAJMVOs698qQ5Pvk/rMDvaYLSWWJUWwsqHiQNPhZ g4hEYmUsL/O2oXjDQGkt0z7sn/4QdS2jvUHfVhqWB/XqDIATzMAo+7y9Cu8s3hcqOJ xeeADVIvOcGPVxXFW+yC88bV5jkxv2iF9jOINKoE= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4ASE8YhD013206 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Nov 2024 08:08:34 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Nov 2024 08:08:33 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Nov 2024 08:08:33 -0600 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [10.24.69.37]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4ASE8Qce019782; Thu, 28 Nov 2024 08:08:30 -0600 From: Neha Malcom Francis To: , , , , , CC: , , , , Subject: [PATCH 1/2] dt-bindings: misc: bist: Add BIST dt-binding for TI K3 devices Date: Thu, 28 Nov 2024 19:38:24 +0530 Message-ID: <20241128140825.263216-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128140825.263216-1-n-francis@ti.com> References: <20241128140825.263216-1-n-francis@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Document the binding for TI K3 BIST (Built-In Self Test) block. Signed-off-by: Neha Malcom Francis --- .../bindings/misc/ti,j784s4-bist.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/ti,j784s4-bist.y= aml diff --git a/Documentation/devicetree/bindings/misc/ti,j784s4-bist.yaml b/D= ocumentation/devicetree/bindings/misc/ti,j784s4-bist.yaml new file mode 100644 index 000000000000..bd1b42734b3d --- /dev/null +++ b/Documentation/devicetree/bindings/misc/ti,j784s4-bist.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2024 Texas Instruments Incorporated +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/ti,j784s4-bist.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments K3 BIST + +maintainers: + - Neha Malcom Francis + +description: + The BIST (Built-In Self Test) module is an IP block present in K3 devices + that support triggering of BIST tests, both PBIST (Memory BIST) and LBIST + (Logic BIST) on a core. Both tests are destructive in nature. At boot, B= IST + is executed by hardware for the MCU domain automatically as part of HW P= OST. + +properties: + compatible: + const: ti,j784s4-bist + + reg: + minItems: 2 + maxItems: 2 + + reg-names: + items: + - const: cfg + - const: ctrl_mmr + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + ti,bist-instance: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + the BIST instance in the SoC represented as an integer + +required: + - compatible + - reg + - reg-names + - ti,bist-instance + +additionalProperties: false + +examples: + - | + #include + bus { + #address-cells =3D <2>; + #size-cells =3D <2>; + bist@33c0000 { + compatible =3D "ti,j784s4-bist"; + reg =3D <0x00 0x033c0000 0x00 0x400>, + <0x00 0x0010c1a0 0x00 0x01c>; + reg-names =3D "cfg", "ctrl_mmr"; + clocks =3D <&k3_clks 237 7>; + power-domains =3D <&k3_pds 237 TI_SCI_PD_EXCLUSIVE>; + ti,bist-instance =3D <14>; + }; + }; --=20 2.34.1 From nobody Sat Feb 7 07:31:36 2026 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 D86D01AA1FF; Thu, 28 Nov 2024 14:08:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732802936; cv=none; b=Au+aNRw0iTuRD+RkROFa9yiOa3NqzQksHUFublptVFOWLZN4btAPFndXL+eHxw0vmihf2kO+z8XSA0zEE+Hd1H2BYOPFIUPCQDPkIPt1S8CmSwG2Dhea3mkI6kKy420YQhGU/85rlHdwObKsZbeypgIpIokfGXm7erYl+ArQcVI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732802936; c=relaxed/simple; bh=eBlbu2O121ymxgyp0PCuBwLmaNQDhG/zA/AgtwwetT0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WKr6smY6thmBfmppzxV4QWPRFdjty6aqdlDeuza5f7O0/gQBWZjD2UXf+DAKwNpArUFTq17AvC3zLsbtSBLmfB9W7cbcSVYhXXGC/CRgs1cRzw3Ht2FTh8rolrFQ6RPmtgQa3p623OsmNF5rWoBzrN5lKFJwPt7Xu0O1BGx2q+Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=HbtA2dhI; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="HbtA2dhI" Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4ASE8bFC113001; Thu, 28 Nov 2024 08:08:37 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1732802917; bh=jbd0uGgDzZOpstd465xtGy3xnW1Im7GM852bz7mrUmw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HbtA2dhIJgxO5N2vzq9b8vKYMCJvo/4eGlLNUbRKVzn/sSxobAiK/OgXRiOuvOJ+R s0RgZ6P1pV0zpfSRpPBVHz3EdyXgEcDKcMnpU/ooFxzO6qC2mktJ6XmMRERkXO0ZhY /bz28N0uJLP1WE/MULNaqBVxv80H+Xm26SpifhQI= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4ASE8b5U022141 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Nov 2024 08:08:37 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Nov 2024 08:08:36 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Nov 2024 08:08:36 -0600 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [10.24.69.37]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4ASE8Qcf019782; Thu, 28 Nov 2024 08:08:34 -0600 From: Neha Malcom Francis To: , , , , , CC: , , , , Subject: [PATCH 2/2] arm64: dts: ti: k3-j784s4-main: Add PBIST_14 node Date: Thu, 28 Nov 2024 19:38:25 +0530 Message-ID: <20241128140825.263216-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128140825.263216-1-n-francis@ti.com> References: <20241128140825.263216-1-n-francis@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Add DT node for PBIST_14 that is responsible for triggering the PBIST self-tests for the MAIN_R5_2_x cores. Signed-off-by: Neha Malcom Francis --- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/d= ts/ti/k3-j784s4-main.dtsi index 0160fe0da983..f96113d8db22 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -113,6 +113,17 @@ serdes2: serdes@5020000 { status =3D "disabled"; }; }; + + bist_main14: bist@33c0000 { + compatible =3D "ti,j784s4-bist"; + reg =3D <0x00 0x033c0000 0x00 0x400>, + <0x00 0x0010c1a0 0x00 0x01c>; + reg-names =3D "cfg", "ctrl_mmr"; + clocks =3D <&k3_clks 237 7>; + power-domains =3D <&k3_pds 237 TI_SCI_PD_EXCLUSIVE>; + bootph-pre-ram; + ti,bist-instance =3D <14>; + }; }; =20 &scm_conf { --=20 2.34.1