From nobody Sun Feb 8 21:57:43 2026 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3CEA22258E for ; Wed, 26 Feb 2025 16:54:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588866; cv=none; b=XtOCFehRMRO24CFsFu7zpc/z8e48p15ajXeFTIKr4LbN+XLpHLqCBLFUJbZm5LjgtabsWUJ+by8Hd5ANmyRHI1IKLmkj3bRQ2BA0Sa5BS2qz5/n5c1g6g8d3k6R8KsHTTQ8AffNz1iSDkXieHox6O4abQJ4ls55hUg0kFsU1ts4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588866; c=relaxed/simple; bh=C2Mob+k4J3IoAbjsCJdN2Pf4fKN/wfPJXERox26zYvs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JzVcIkdW3jkUyAZH1/ODAlR18si7+kvhGLsTVi8NbefpSSx98VsEJmmB81DRQVnb3U6iPUMmy+0So7VgBx4kQ59aSUVNVQIZY0tjTSdZnrGHoIwwWYNzDG6jt+upAUrVb3qNNR3wwVCgu3pBBKAFr/CPQuwFvZk12HzZZLEic/E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=B703/0uo; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="B703/0uo" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-439950a45daso195185e9.2 for ; Wed, 26 Feb 2025 08:54:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740588863; x=1741193663; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XuMNXFiz3GQQsxpeqmzCHgRVoLvWr6tPdor7ZIiVrdE=; b=B703/0uoW+BJN6uaPF6RWRc0PfZ0M/2Pkg2/uiks+44+dStni5mkPtwgx6hbmmyxsF 0OdBSCRxVu8k8bcgJ3pxaC7urA2a0KpY2JWI90ltdJo4FIY63s34jbYmmcd824kplEgU ZvD62HSk84WW7ocOMvYOURDVmPZtrtgraRzSj/rE2FfiWRHcadEssFrAb/3bhhRP7XqW vfhfHdF+/nwMftSFUZi6gXWYq7c2RVewpXj3Kz0qJ9ldzOn4ZYBFcuqNb6/VzfOUb0KT j9Zt8cCeqhJGWwuSuOOKLJ+2Xk1VLrPuLYu9+aPDonOJsoNMFOfvC/U7nChX1/LzXvMD b6EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740588863; x=1741193663; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XuMNXFiz3GQQsxpeqmzCHgRVoLvWr6tPdor7ZIiVrdE=; b=YW7QADMMzmbmeQgDt9ovt7xK2bcvadcLd55IcfdGtMbeHiWZSM/s/+IUy7b7T4SKxs 82uYhPT7BHbLLceKk9hKIkzlsbEgfEzt6J7WAUTyOWlQwazNLIXIwBSM8WgaPh6wuA4w 65mbPpi6m354Wt00lCRpJ44jWk5InRp9az0Aej56NFDz5y6SNrkTIdRJiRCcYyb3tBD1 dYFygQ8Xig81qnPFilJGJaX+06qKTGPPYRAzQouh98vHbIHtHfgsBHC7iu5wYFAGk2q8 4Gp/U+PRvosUdfwLnUNB9wv8LScUeW9Pcem70wZL1FsuIRwe6T5hSy9eyzfn1f7AyEux VQZA== X-Forwarded-Encrypted: i=1; AJvYcCVFP+5yug9VDTzFbrZCzG8MhCxbnqsnzod+Ce99Q6TeDWjlyb9fJU1Hzrlx4ba5/b9b57ITPdxNHjYTWI4=@vger.kernel.org X-Gm-Message-State: AOJu0YxV/+xrz17YdcKiRf9Y9lr6ZMQR1rsE3vdaCYK0d+s3C4LHIPLG PqH+Ok03fXHE6/sq2C2w2BXCWHHXz09uEa98IqisYaJqgqHWGika X-Gm-Gg: ASbGncsx/xaNc81Q/z95z8n+5I3NnFDJuNNZt9wbj3t+muDYJJoVCxfcXyHA9fCnY6s n2NePtpOYagJPjyuf5jAWxhGyF2opJ4BfZtM13afj9U5HHFFYP3zzAJHT/KsubQ7Ec9W6837fyR y3hvUYsrvSieRuZ5mBxTjAWf0vQRyMvf0UxUS/cCCZ2/bCmECwafDR9G2+cwfwVi7a+UhplsJuP yERET1pedfpeTEfs35hMZw0QUKnyG2Bj84Gqm8sh8LQOjwh+Z7Qm37JtXjdYPjdDekin3qBaKSF 8BQmQ+q/OSptSob3DAT0pMyoJn5ypUZLP/duSBfSXHkB4X/IegjtR5ZPLG2C5tUH X-Google-Smtp-Source: AGHT+IGzw1JxAgCRr2hkHehSx21ZaK94xm+T4qbqC1Q9fKPlmg9xMtjNJBFuBwKL4xp8lj7A86l4rQ== X-Received: by 2002:a05:600c:1ca7:b0:439:9898:f18c with SMTP id 5b1f17b1804b1-43ab0f72a40mr64043405e9.26.1740588862923; Wed, 26 Feb 2025 08:54:22 -0800 (PST) Received: from playground.localdomain ([188.25.208.27]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43aba587163sm27672515e9.36.2025.02.26.08.54.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 08:54:22 -0800 (PST) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Daniel Baluta , Shengjiu Wang , Frank Li Cc: Pengutronix Kernel Team , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/5] dt-bindings: bus: add documentation for the IMX AIPSTZ bridge Date: Wed, 26 Feb 2025 11:53:10 -0500 Message-Id: <20250226165314.34205-2-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250226165314.34205-1-laurentiumihalcea111@gmail.com> References: <20250226165314.34205-1-laurentiumihalcea111@gmail.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 Content-Type: text/plain; charset="utf-8" From: Laurentiu Mihalcea Add documentation for IMX AIPSTZ bridge. Co-developed-by: Daniel Baluta Signed-off-by: Daniel Baluta Signed-off-by: Laurentiu Mihalcea --- .../bindings/bus/fsl,imx8mp-aipstz.yaml | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz= .yaml diff --git a/Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml b= /Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml new file mode 100644 index 000000000000..dfcfe4a8ae74 --- /dev/null +++ b/Documentation/devicetree/bindings/bus/fsl,imx8mp-aipstz.yaml @@ -0,0 +1,86 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/fsl,imx8mp-aipstz.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Secure AHB to IP Slave bus (AIPSTZ) bridge + +description: + The secure AIPS bridge (AIPSTZ) acts as a bridge for AHB masters + issuing transactions to IP Slave peripherals. Additionally, this module + offers access control configurations meant to restrict which peripherals + a master can access. + +maintainers: + - Laurentiu Mihalcea + +properties: + compatible: + const: fsl,imx8mp-aipstz + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + + "#address-cells": + enum: [1, 2] + + "#size-cells": + enum: [1, 2] + + "#access-controller-cells": + const: 0 + + ranges: true + +# borrowed from simple-bus.yaml, no additional requirements for children +patternProperties: + "@(0|[1-9a-f][0-9a-f]*)$": + type: object + additionalProperties: true + properties: + reg: + items: + minItems: 2 + maxItems: 4 + minItems: 1 + maxItems: 1024 + ranges: + oneOf: + - items: + minItems: 3 + maxItems: 7 + minItems: 1 + maxItems: 1024 + - $ref: /schemas/types.yaml#/definitions/flag + anyOf: + - required: + - reg + - required: + - ranges + +required: + - compatible + - reg + - power-domains + - "#address-cells" + - "#size-cells" + - "#access-controller-cells" + - ranges + +additionalProperties: false + +examples: + - | + bus@30df0000 { + compatible =3D "fsl,imx8mp-aipstz"; + reg =3D <0x30df0000 0x10000>; + power-domains =3D <&pgc_audio>; + #address-cells =3D <1>; + #size-cells =3D <1>; + #access-controller-cells =3D <0>; + ranges; + }; --=20 2.34.1 From nobody Sun Feb 8 21:57:43 2026 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7EBB9223710 for ; Wed, 26 Feb 2025 16:54:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588868; cv=none; b=FMpg0m0mcuY+JJFlKczNOL0aWgvUjkMckeiCoGyd5IhinAo3I+2bN7r2v/j35AubyAc1xH4XxcIx/n8WP8RC1aAcmMeq64qP1WUPuWOeAlpzIr+KcIDhqshT1dJtiDVrp9pX7s/QLjWMO43P6ruBb6uDCfHnn67GWDj3V9Nj8Sg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588868; c=relaxed/simple; bh=pvVFF8LcYlrlCMpxO/aHUSZAY8oWsFTdA7hLOwF7t3k=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AIh/R8wFlil+AMN/nPwHIoQvHAyTUxq7cNiL8QOYIqjATkePurzuVHIIGkRXkFcNj7ChS1Ui5wBC+SXkbcnVgxfDSDHYBUt43YAs7vxPzdC1b0kgwVuiFsvXBah9f/IVQqjmwgG9zFLPfN0p9vuy/jpEBWWX2rALEMbs3F+Yr4M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UeAwsRp3; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UeAwsRp3" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-438a3216fc2so426255e9.1 for ; Wed, 26 Feb 2025 08:54:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740588865; x=1741193665; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YtGcm5ZWKNh3uJM/zqclGCkk9N3iqiYtET6+2Cl2Q+U=; b=UeAwsRp3jtdZKVkfFGWcPkRC0ThF9++mweBBVhTMsxtEciaxlCtx1AFNlDek6jGfvu 0kGsyqUBEY+ryDBpvORMIv8ps90Fb+o8x8pGg0pOVNsg9QsNsGcvp0bJgK0nHm05oC+q ivyKfUUHviJ9b+JHyl5OfYN1bPYJoGH+rDXWqYUoabxeZc9fD4HB4JkzSfd/uL6cJuTB TCL0Dg6ofF4D5falZI+SzsSQI3BfmrmLrQbrkmQHy9S+UH2f4BSYPqB+AapGIb1Z9Jdh 2DwwcZ3/tt8KogZZtOpZLuWhUcUiynP7T/AVB4LmHReY79LkDCsgunDXk76QMvdhV9Pa rTTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740588865; x=1741193665; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YtGcm5ZWKNh3uJM/zqclGCkk9N3iqiYtET6+2Cl2Q+U=; b=V7pxow74X22miImFzJaA5pc+WKwDq9P9VExZKuegZReDdbtm97N4xyO+VbAqTu2jcN S349XtBzr47M8FjVoxZnbZAK/ZQcq8rCUWHw//GpW2pjZdi76CLMHtJEIobMTJnvbvLs oWA74cOjMdUmaORaHEzMoTA3kctbxrDXoBQ562jPfteWo2EHnMg1ow7dLIwvI9gXJUjj HM93i+eBuBL0xVSJU6kLWZ1RHUchzXcp4nJHQVWKNjLcPk9SH9z4reE/5ZIsV0hhNERR MT7WTkzue6iHUR1EcAiRtjYHfkjPVUpRpTtEXV/T7c86MgQHQ7jJP6D0TYSLao44LcjR hujg== X-Forwarded-Encrypted: i=1; AJvYcCUwN3c1DDVv78WEKxiqJvBN7CjYKZdbw5WJoKsdonfpqh+MU+vxZmr5/Ea3BFlq28e6Kk9L/YpoKgueKKg=@vger.kernel.org X-Gm-Message-State: AOJu0YwcluDdCLOmF3SyOZ+KUpnZ27Gn+fTFfEFfPfEukMekgBsouQqI 34+IRgG6HG/8/pQSBZRAG59VwyIdnP3i5fABMrt+mq8H28ggNvNA X-Gm-Gg: ASbGncspF7Gi64befMAKWDnMvgZy5yMgY9fsIFMTTmf5XATapTiAzX6aFc1xbZeD8JK QPvAm2EtZfjhlqJ2Wm4dmqZrrBALqKEupj0VSWlZ89oN/6gPZwguSBFVH8wXSfHVcSBQTzyXVS3 zbF/NRdDH1Z1j13FWK2Blh5xd6EfRqJJOAl4eFJ3oJ1e7zjeP2CCBkxWna5up/4nbls5e09bEGt cDG2XzRPNc+ItPdnm5o1khp560NT9q9LPOuqGDfTB8horTeq4TGXTQELlEIGgkBXkClNsI/wd5z XwLBz4C3pYci0kxqpX72OQABMpB30eJnFLVGW5OtTCOO5MPuyG2UW8zSylFhMAhR X-Google-Smtp-Source: AGHT+IEr7k3hpbUucx2jKL4FfCjfgt288+HwWr+usBZ9kHZQ7fGw05QKWSeEYQ0zCCodSQZ6AYFIxA== X-Received: by 2002:a05:600c:458d:b0:439:99e6:2ab with SMTP id 5b1f17b1804b1-439aebcfd58mr175600195e9.28.1740588864704; Wed, 26 Feb 2025 08:54:24 -0800 (PST) Received: from playground.localdomain ([188.25.208.27]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43aba587163sm27672515e9.36.2025.02.26.08.54.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 08:54:24 -0800 (PST) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Daniel Baluta , Shengjiu Wang , Frank Li Cc: Pengutronix Kernel Team , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/5] dt-bindings: dsp: fsl,dsp: document 'access-controllers' property Date: Wed, 26 Feb 2025 11:53:11 -0500 Message-Id: <20250226165314.34205-3-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250226165314.34205-1-laurentiumihalcea111@gmail.com> References: <20250226165314.34205-1-laurentiumihalcea111@gmail.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 Content-Type: text/plain; charset="utf-8" From: Laurentiu Mihalcea Some DSP instances may have their access to certain peripherals conditioned by a bus access controller such as the one from the AIPSTZ bridge. Add the optional 'access-controllers' property, which may be used in such cases. Signed-off-by: Laurentiu Mihalcea Reviewed-by: Frank Li Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/dsp/fsl,dsp.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml b/Documenta= tion/devicetree/bindings/dsp/fsl,dsp.yaml index ab93ffd3d2e5..869df7fcece0 100644 --- a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml +++ b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml @@ -82,6 +82,9 @@ properties: description: Phandle to syscon block which provide access for processor enablement =20 + access-controllers: + maxItems: 1 + required: - compatible - reg --=20 2.34.1 From nobody Sun Feb 8 21:57:43 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67C7A2248A5 for ; Wed, 26 Feb 2025 16:54:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588870; cv=none; b=B8KVr3yTZqLk3AvVFwbbbL0pV2I2TgagLQOeJbUdHH1OJTrF7Q9S+1jI8HNROIzCz5gphf8spyH8dAZvevWw+r+hqlrOUh844TyFtpD0pqM1nUcLdhlRhIaNNISeyRB5ail3h/FBEzgtLV4Fjpg3wXUYHZec/E+XbfT7HPYw29E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588870; c=relaxed/simple; bh=1gZ0EI8sd7+vHVi6GHanqIKfaQMapA6GDDBTPlN15OE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=X5hy1OJ4q1BNDHQ/k2104knSa7gOi9u/iNWRJFUfwmXfaKhXo65SOE30wNcXZirHKUluW9hpkIAe4KTHT1nAQDIJ76n6qlSc+CQ3VefInBVQ7W8BchWIhDYStwAWYCMP2FaPzcMQSCBSxKwP/ZJn7jb6O3zk/YArUBygkMb8rvo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=X1L1CeQn; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X1L1CeQn" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-438a39e659cso225355e9.2 for ; Wed, 26 Feb 2025 08:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740588866; x=1741193666; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aozAnWpbhCam5E6+6zNz06mhlqboVoG1Yv6qg/1M0vU=; b=X1L1CeQnS5K3ab4Dc2dLnbmNmuG7zofdDzn2Nmk07T0vH2p+VsOC3gu/jlyGQf/UYd Zwxip0zhxCdVd3dyGqgzbBsVgnlQ2d4wAHGTcoPD+1OoVSY3C89JIPZdNy+utin8EnCP ADKmcYBwG4zH7g/Y5lBnpY5lD0dZlinwVKdiFqNKm7DAQmXGrHbxkUtfM7cHunvqpgeu DYHo9sa8IvBOIpFZu3ASKgEnBLLNXfb3ag7T3yNZJFMNlWkjuNXMnLSJN4Fm3QWWjPV9 f1E0cbxkJQz9kg6utfV1/gPzIeSSkC9uFlu/vGui2dVl0A+sHQP3q4sSKUBV5VNavsaY fYyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740588866; x=1741193666; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aozAnWpbhCam5E6+6zNz06mhlqboVoG1Yv6qg/1M0vU=; b=jCYgZSK3ua0WfH+Xxl3IMZkVK6wdJj+nb7mAs10WBxbZb7tn5mJy8ArZRlYAx+fKuq hVA83189IHZf3Y2ZjOOLIb96q04slZcldP5PoHu/DDXVxvlLZsa/nD4uiDt/5SAZL6QG 2RYDUuira4xWcXpyg8jfW9A8kbByEfnwBAuY7/rz8hHChXINvTwtIKg23cqYnH0zAIYs daNm56strKxPEwMgxcP0vVucRmGVDEt4AE20xEL7V83JdW3svf9xEc3Vk5QfX5b+yDDt A9zigc+ZnsyJIxdg6JWdA4KVj0IS/7ZSr3iq0V3RGX0lahHe7mw59th5whghjYIu9wne CNmA== X-Forwarded-Encrypted: i=1; AJvYcCWRHn1UhQdPNcgjBHsRnDnmuBU4XZv96+5r3Dz/0RezC3qYZwsB457I4ADsC0TzXOwDaLylBx/ctMlm//8=@vger.kernel.org X-Gm-Message-State: AOJu0Yzxcs+PnDE6K94xH0PyopDgpcR6rgDdwwHVCTeLtYGn4LQVva7I 8iRUahKNFmpLhNbm+pbB5DNPMdL/jzrYR7ILt5dT7TOYyFEf5Fb7 X-Gm-Gg: ASbGncsx1sx4xEcWzcRvF8+R+NUHH41TtYb/OhugqC4YO3pkTaqzHRJpm9cQq366Av3 G0NvFGDh8IDxfXAasjcOEq1dFyp9MO8NodTAJx7GZuNl/ZY+kDyjyUK6PTKxDpnUnFM4+bfQ8ao BWeD0uLjZqpgQ2DU0AmHM0fLh7JG9f4LMUnb/dCHWHd6+uVYwy4UawygjqvSuC1ypty7EzGebCl 8x/JMOnWAoI00ee31fa06YRUci8a4nlIvol70YM64CZfViHDw3G6I52JIL6s0vj/7QaEu4dkrfI u56g/lTq4VPQ3VvTV4MU4weXPGDsa2G8fFDtVUEb5TUBVgdGFBY+edCTA+Zw0K0G X-Google-Smtp-Source: AGHT+IFACgAUKq5wmfKVcHjK35/otoDg213tSOtDa+s2dpYjWDl8G1TUQEQB59e49vjyaP8FtEj8dQ== X-Received: by 2002:a05:600c:3548:b0:439:a138:1d with SMTP id 5b1f17b1804b1-439aebc2408mr158492005e9.22.1740588866434; Wed, 26 Feb 2025 08:54:26 -0800 (PST) Received: from playground.localdomain ([188.25.208.27]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43aba587163sm27672515e9.36.2025.02.26.08.54.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 08:54:26 -0800 (PST) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Daniel Baluta , Shengjiu Wang , Frank Li Cc: Pengutronix Kernel Team , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] bus: add driver for IMX AIPSTZ bridge Date: Wed, 26 Feb 2025 11:53:12 -0500 Message-Id: <20250226165314.34205-4-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250226165314.34205-1-laurentiumihalcea111@gmail.com> References: <20250226165314.34205-1-laurentiumihalcea111@gmail.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 Content-Type: text/plain; charset="utf-8" From: Laurentiu Mihalcea The secure AHB to IP Slave (AIPSTZ) bus bridge provides access control configurations meant to restrict access to certain peripherals. Some of the configurations include: 1) Marking masters as trusted for R/W. Based on this (and the configuration of the accessed peripheral), the bridge may choose to abort the R/W transactions issued by certain masters. 2) Allowing/disallowing write accesses to peripherals. Add driver for this IP. Since there's currently no framework for access controllers (and since there's currently no need for having flexibility w.r.t the configurations) all this driver does is it applies a relaxed, "default" configuration, in which all masters are trusted for R/W. Note that some instances of this IP (e.g: AIPSTZ5 on i.MX8MP) may be tied to a power domain and may lose their configuration when the domain is powered off. This is why the configuration has to be restored when the domain is powered on. Co-developed-by: Daniel Baluta Signed-off-by: Daniel Baluta Signed-off-by: Laurentiu Mihalcea --- drivers/bus/Kconfig | 6 +++ drivers/bus/Makefile | 1 + drivers/bus/imx-aipstz.c | 92 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 drivers/bus/imx-aipstz.c diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index ff669a8ccad9..fe7600283e70 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -87,6 +87,12 @@ config HISILICON_LPC Driver to enable I/O access to devices attached to the Low Pin Count bus on the HiSilicon Hip06/7 SoC. =20 +config IMX_AIPSTZ + tristate "Support for IMX Secure AHB to IP Slave bus (AIPSTZ) bridge" + depends on ARCH_MXC + help + Enable support for IMX AIPSTZ bridge. + config IMX_WEIM bool "Freescale EIM DRIVER" depends on ARCH_MXC || COMPILE_TEST diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile index cddd4984d6af..8e693fe8a03a 100644 --- a/drivers/bus/Makefile +++ b/drivers/bus/Makefile @@ -15,6 +15,7 @@ obj-$(CONFIG_FSL_MC_BUS) +=3D fsl-mc/ =20 obj-$(CONFIG_BT1_APB) +=3D bt1-apb.o obj-$(CONFIG_BT1_AXI) +=3D bt1-axi.o +obj-$(CONFIG_IMX_AIPSTZ) +=3D imx-aipstz.o obj-$(CONFIG_IMX_WEIM) +=3D imx-weim.o obj-$(CONFIG_INTEL_IXP4XX_EB) +=3D intel-ixp4xx-eb.o obj-$(CONFIG_MIPS_CDMM) +=3D mips_cdmm.o diff --git a/drivers/bus/imx-aipstz.c b/drivers/bus/imx-aipstz.c new file mode 100644 index 000000000000..c90580da17a1 --- /dev/null +++ b/drivers/bus/imx-aipstz.c @@ -0,0 +1,92 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2025 NXP + */ + +#include +#include +#include +#include +#include +#include + +#define IMX_AIPSTZ_MPR0 0x0 + +struct imx_aipstz_config { + u32 mpr0; +}; + +static void imx_aipstz_apply_default(void __iomem *base, + const struct imx_aipstz_config *default_cfg) +{ + writel(default_cfg->mpr0, base + IMX_AIPSTZ_MPR0); +} + +static int imx_aipstz_probe(struct platform_device *pdev) +{ + const struct imx_aipstz_config *default_cfg; + void __iomem *base; + + base =3D devm_platform_get_and_ioremap_resource(pdev, 0, NULL); + if (IS_ERR(base)) + return dev_err_probe(&pdev->dev, -ENOMEM, + "failed to get/ioremap memory\n"); + + default_cfg =3D of_device_get_match_data(&pdev->dev); + + imx_aipstz_apply_default(base, default_cfg); + + dev_set_drvdata(&pdev->dev, base); + + pm_runtime_set_active(&pdev->dev); + devm_pm_runtime_enable(&pdev->dev); + + return devm_of_platform_populate(&pdev->dev); +} + +static int imx_aipstz_runtime_resume(struct device *dev) +{ + const struct imx_aipstz_config *default_cfg; + void __iomem *base; + + base =3D dev_get_drvdata(dev); + default_cfg =3D of_device_get_match_data(dev); + + /* restore potentially lost configuration during domain power-off */ + imx_aipstz_apply_default(base, default_cfg); + + return 0; +} + +static const struct dev_pm_ops imx_aipstz_pm_ops =3D { + RUNTIME_PM_OPS(NULL, imx_aipstz_runtime_resume, NULL) + SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) +}; + +/* + * following configuration is equivalent to: + * masters 0-7 =3D> trusted for R/W + use AHB's HPROT[1] to det. privilege + */ +static const struct imx_aipstz_config imx8mp_aipstz_default_cfg =3D { + .mpr0 =3D 0x77777777, +}; + +static const struct of_device_id imx_aipstz_of_ids[] =3D { + { .compatible =3D "fsl,imx8mp-aipstz", .data =3D &imx8mp_aipstz_default_c= fg }, + { } +}; +MODULE_DEVICE_TABLE(of, imx_aipstz_of_ids); + +static struct platform_driver imx_aipstz_of_driver =3D { + .probe =3D imx_aipstz_probe, + .driver =3D { + .name =3D "imx-aipstz", + .of_match_table =3D imx_aipstz_of_ids, + .pm =3D pm_ptr(&imx_aipstz_pm_ops), + }, +}; +module_platform_driver(imx_aipstz_of_driver); + +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("IMX secure AHB to IP Slave bus (AIPSTZ) bridge driver"= ); +MODULE_AUTHOR("Laurentiu Mihalcea "); --=20 2.34.1 From nobody Sun Feb 8 21:57:43 2026 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8104224AF3 for ; Wed, 26 Feb 2025 16:54:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588871; cv=none; b=Jg9ALXkzuFYPVCQNHpMbTcDMf2R9evHej+WTJ2OtPtAM8G+PJM/ssPF7MCfcvi+8JkfvDRgNM2+0U2VQO3ZxeZLN5bSYEurQC4Ls2XKHck0ZTv9H7ELfEEsOi/QZDizLMXIraWXueVJaDeTdOmziLDkvD647VswmO5OZO8bU1lE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588871; c=relaxed/simple; bh=y6WLP7rMdro7X3S5FxjI3YJe3AluXm0ue73PBtIJwZE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aaf7lvBu+GSkllsiBrdb4XxaBzHawc0Wo92NHcGdU6PBVbzRobgV9FErJAVGll28TIIHPjfOb1hPuslg1TDc2n6/91CuqBSn4P4Af8tuTFRp94jtqCK6ho+VaGxjfe9irdZSh/hc4AYM7d61Sdy7DTQKt765/WKAY6YQ2euJGPo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=c9eEgqRX; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="c9eEgqRX" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-43948f77f1aso427405e9.0 for ; Wed, 26 Feb 2025 08:54:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740588868; x=1741193668; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6sq6QQJrbjxptSVsPKB15/DnBsw03jMlmrEEi8aA8tQ=; b=c9eEgqRXk/IYcf7pB6fS8f8F/H4S60DpzcXFfmrL2e6Dxehn1+zkXogmIIdtwlitbY b9JigAkPxlaXaYQXGLlNkb3IsM45pHD9+3zKEovR8uHT1cGvemtIV36iosJREmw86DcU EBNMZmUYDwEFu4+w/xsXwEFSwnuXV2WVmOCl9oDSWELhjg0aICUnM/UdWkbohX7VeX8+ MzBGJ9rIEcD8ILjWwrtlbKeHDc2RL5TYDkFBJcBhWH4S3833mUHDB0P0VmkFDUjbnJgj V4BuDHogqz0ZR8UJ3VVWXrt32NmGZI2nPQBZlwyXDLNgvtJj3HICwvXSZuz75hbcvofb 57hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740588868; x=1741193668; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6sq6QQJrbjxptSVsPKB15/DnBsw03jMlmrEEi8aA8tQ=; b=CfsaeUbcm5ZFVeG/gBecrolIdD3kW1lS46TEBT3kih31V0sta+KIPENiKOO0keXCor Hie8uTfOozmQXcOkVeBfN0y9hLFClcrSn19v7XCyFDdULR2V56SU3EDIWHd7GEvR/ASY lH2GUlrT+vD8XpY7rpO/C9rtDMrByS78arXp8YkSSF3rTooE/vvaO8Y0h1GTeDZMQE9c /Do67O2CKK7exuD6/QLKs1yac1tuUSHOkx1KlysYbRQ9Jv89atQV8KwxoLv14kv47pcM hLeW51kjn1tSt9Ekw7oMXyqkwTIOv6amEkaeQOii5Fqb0bRDd8Bf3U3T9EL9+hxTTf92 yWJw== X-Forwarded-Encrypted: i=1; AJvYcCV/+qilmwhs1e5k/s9Q9U41PkbTVPFPE2IKocmJlpoeCH6ysAh8MQhqiFP/tL87UgKms7L8KfDogym0rSE=@vger.kernel.org X-Gm-Message-State: AOJu0Yzlau39kq8fQu8aOsmhT9h7/cmmDYovbQbkic1uQKc/R4oxJTCH SqUrVETGCFXb3r/yhQCKm5FweiJTl0W2nd1xz+SpauILIP+pFfRD X-Gm-Gg: ASbGncup5eM6uCEJ/ul606JHouk/ugwhaQlO0zymPsGFU+RG9XVhVaZ6THY5tSxPKG+ 8nMJAwQG3Y/W13O98edxghJx3N0AcLgQmZQvGmV7xrD+yXOQTtgjgdnoKKv/56OiJQ2StRlRlYi XoRvWwgQX7EFjFBPIEpj2xYKIrezrEA5q/gFGFcCtsQWZHG1H2DH63+p+HH9+QtKieO7cMAEQl7 WrSDOlGMR1TXkMWlTki8ihY8jhxA+kEsjGxq219yQvGV0qwAfwla3dbe08mfEspQeHa/wZD6lUL hS1uTHc3ppcXk3aQ7LpwDIrfoq7xqmpdKF4LZbSYJd0vFoD8pIVXWxKPaYmK+EQo X-Google-Smtp-Source: AGHT+IEXXamHHiDSidMVxG5Ktdrqqy0wdXIkMLj75ieYD7dfdn0/9TUpigpU8mKWwmnghiqB5cWMCA== X-Received: by 2002:a05:600c:3b8e:b0:439:99ab:6178 with SMTP id 5b1f17b1804b1-43ab0f2883dmr71707325e9.6.1740588868020; Wed, 26 Feb 2025 08:54:28 -0800 (PST) Received: from playground.localdomain ([188.25.208.27]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43aba587163sm27672515e9.36.2025.02.26.08.54.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 08:54:27 -0800 (PST) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Daniel Baluta , Shengjiu Wang , Frank Li Cc: Pengutronix Kernel Team , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] arm64: dts: imx8mp: convert 'aips5' to 'aipstz5' Date: Wed, 26 Feb 2025 11:53:13 -0500 Message-Id: <20250226165314.34205-5-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250226165314.34205-1-laurentiumihalcea111@gmail.com> References: <20250226165314.34205-1-laurentiumihalcea111@gmail.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 Content-Type: text/plain; charset="utf-8" From: Laurentiu Mihalcea AIPS5 is actually AIPSTZ5 as it offers some security-related configurations. Since these configurations need to be applied before accessing any of the peripherals on the bus, it's better to make AIPSTZ5 be their parent instead of keeping AIPS5 and adding a child node for AIPSTZ5. Also, because of the security configurations, the address space of the bus has to be changed to that of the configuration registers. Finally, since AIPSTZ5 belongs to the AUDIOMIX power domain, add the missing 'power-domains' property. The domain needs to be powered on before attempting to configure the security-related registers. The DT node name is not changed to avoid potential issues with DTs in which this node is referenced. Co-developed-by: Daniel Baluta Signed-off-by: Daniel Baluta Signed-off-by: Laurentiu Mihalcea --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mp.dtsi index e0d3b8cba221..3097acb4bd21 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1399,11 +1399,13 @@ eqos: ethernet@30bf0000 { }; }; =20 - aips5: bus@30c00000 { - compatible =3D "fsl,aips-bus", "simple-bus"; - reg =3D <0x30c00000 0x400000>; + aips5: bus@30df0000 { + compatible =3D "fsl,imx8mp-aipstz"; + reg =3D <0x30df0000 0x10000>; + power-domains =3D <&pgc_audio>; #address-cells =3D <1>; #size-cells =3D <1>; + #access-controller-cells =3D <0>; ranges; =20 spba-bus@30c00000 { --=20 2.34.1 From nobody Sun Feb 8 21:57:43 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83D3C22256E for ; Wed, 26 Feb 2025 16:54:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588874; cv=none; b=lcQExTxPuLgEnFm+fOtWsKMUOh6oplZ3G9vZEiZ2NUrFzYJjGEQwLgs4HHh7hsgqPaRbRGes971Bidf7hS36G13z1S1l+iH10Y/cBhGv8n7OjnLBPCgYN6m4OlRtADScPeaAwT0eFIdy5d0mAdC2XtbNa4X46AhvTv4P3uBwXYE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740588874; c=relaxed/simple; bh=sFeqh9nKZoEYQ+a6IXzXR8geyg5sacchQjdojt4E2As=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eVysNaSLOnn9aG/X5v0zF/Ro2XkicQnvtNoLVnggR43TITm/98Ust/C8Lzb/XIjXb/s9bCM6V1TLjBOTM+A8/JZtuBFWtnGXWbjJdurH++lxNqv4tUsvCvlO5/zANrTN3vovfKLwzGRRyi5GnycZBX+dwPWCuvmFeonAjuyFsgM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Slq/rI3p; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Slq/rI3p" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-439a2780b44so293245e9.1 for ; Wed, 26 Feb 2025 08:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740588871; x=1741193671; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oZpy5GPgAtfFVvCtInpJGMk0J6F8LViPBE4i9el70qY=; b=Slq/rI3paciLpqsyLMIMYqrl/29P2NHSuKtfV7j+fEPtbtkkZ3TUe2zurBQHtyV3a+ RFwZ7jt4sS38IGtfICkV7itaAHAqNiLX9QbS/g+28wCj9o+4i8o+ZV6TuAQEvP2vXxvk xyVMiHp4yW93x5ku3StG67/4Si7ByxKP6gIP/12mZp9sDcLRh6LvUsRxCSZpHyYtKP4U 2s3gtztYVnCrMJ39WytDdDj0TPNaFxEHCTkgyOf/IqYzkGccLcMTkZI7+z6MdeThrgf1 U7NeGrrAmxZrEAuHPg16ml3PRsfe+DPRBRRFqwtN+UIwW52AXAlkvvBvhL1AVQkEPUVi 2dBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740588871; x=1741193671; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oZpy5GPgAtfFVvCtInpJGMk0J6F8LViPBE4i9el70qY=; b=pQzez4NR6E5LQ7lrUdDE/xa+yqrO3dOC+aQULyf/dnj++M3g1OuYdgqWZ5mxto+tfq 5kjRuEkWtmvHQnWrz9Bxh+t2JXutKF2MlDgH7JQxTvwo1qDSbl1rmeOWbVAQsfm1fNpm WGq1hVLe8ZjPYif1r7HVLlnKgv0K053ng697/47wq9g0QE+FzOsQYQRtTuVwHG0183/c mB7j8Zywm8fZPrh1PTkPBUQlT014D3mKfn2mOilhloToJY8uk8/ZwTcWWsElWS3HEG2j zcMGIjFhdybomh2lxzbTyiXt6KE7szq4apOj8Eqj/6HlpzqZ1/6xnpUASMh9LYPQtYYr zhOA== X-Forwarded-Encrypted: i=1; AJvYcCVVrponvPQlQ+GaoLaL2XF3VgHBpiNh1gN+5wXBBDx5f4oAJXgkOWtGYQjltLPruvXV7UoG0SVgrHqT1aI=@vger.kernel.org X-Gm-Message-State: AOJu0Yy5DLigIHIEt81MAZH3Y5FyVqkoVdRofSOaY8R2Zr0wEU2npSt9 7b89PuXgs7RAdv3a2SZHY9QU2jliDMfOBzyz5mcSYuH0qXJVpgGp X-Gm-Gg: ASbGncsnMbHs9xFrpZvxqqu/JeLQguLjZj5JdU2k+hELNObIO3XkTc+pSztylUvk5OJ IG4gcfT318X5Su5Ax9x91k8azRWBoFkKcR5POncuG+/kYEiMHkxH4evSpMLIXkVeWQ9eF6JbYBA SPK4azwLtjNPojhrVq+B9ndkjxMkwZV26QT7qTeY6c5IWWxw2/HF3moTRWhsCQllbwUvfWMWtad w4VCAyg+LbfK+/NDMneaJCbAdI82+UMTcUjVJ47bDNN+GWBm+HSSk/VdDxX+6ngCyiDBqi1NgG1 lkevmYPgBvDRUI37iFdLY8sJJZZX8XU9Hg46w61PfLp53f1U8jwu+Yh1oYZCxJiR X-Google-Smtp-Source: AGHT+IHImZk8rItKoGgyrvgUbtToZbbr8RHyX95hu/4NZrjTjx7+3Bt9rfSiRS3zYUPBD5ly6hBYtg== X-Received: by 2002:a05:600c:5123:b0:434:fa55:eb56 with SMTP id 5b1f17b1804b1-43ab8fd8ee4mr38322665e9.7.1740588870582; Wed, 26 Feb 2025 08:54:30 -0800 (PST) Received: from playground.localdomain ([188.25.208.27]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43aba587163sm27672515e9.36.2025.02.26.08.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 08:54:30 -0800 (PST) From: Laurentiu Mihalcea To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Daniel Baluta , Shengjiu Wang , Frank Li Cc: Pengutronix Kernel Team , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: imx8mp: make 'dsp' node depend on 'aips5' Date: Wed, 26 Feb 2025 11:53:14 -0500 Message-Id: <20250226165314.34205-6-laurentiumihalcea111@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250226165314.34205-1-laurentiumihalcea111@gmail.com> References: <20250226165314.34205-1-laurentiumihalcea111@gmail.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 Content-Type: text/plain; charset="utf-8" From: Laurentiu Mihalcea The DSP needs to access peripherals on AIPSTZ5 (to communicate with the AP using AUDIOMIX MU, for instance). To do so, the security-related registers of the bridge have to be configured before the DSP is started. Enforce a dependency on AIPSTZ5 by adding the 'access-controllers' property to the 'dsp' node. Signed-off-by: Laurentiu Mihalcea --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mp.dtsi index 3097acb4bd21..3550e44d00b5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -2423,6 +2423,7 @@ dsp: dsp@3b6e8000 { mboxes =3D <&mu2 2 0>, <&mu2 2 1>, <&mu2 3 0>, <&mu2 3 1>; memory-region =3D <&dsp_reserved>; + access-controllers =3D <&aips5>; status =3D "disabled"; }; }; --=20 2.34.1