Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp220697lqp; Mon, 10 Jun 2024 01:42:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWS9ZaenzaQ3UhAWxZtRjGtoRYzxFr/55MF/2DA2bRGvqBOD7gI0AebmoBVDaiD12dSGGSSgEjGYzdq03QCYwo5MdxO6eQxS+e94kg8vg== X-Google-Smtp-Source: AGHT+IHamNbGc6YFhocMkp2MBx8DXsnr9+M7G4SdqzhNbDAA/tdpSDpXnZ7yF7Pf6bwlYAM525m8 X-Received: by 2002:a05:6a21:33a8:b0:1b5:69cd:87e with SMTP id adf61e73a8af0-1b569cd0967mr5067854637.21.1718008969749; Mon, 10 Jun 2024 01:42:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718008969; cv=pass; d=google.com; s=arc-20160816; b=IcwnToTWbmGKh9RI33au0KrRpOBXcWkz8VwDT+RU+tUt+Un/y+FeGYvRZHNu0YOzsQ RhJXdFbWs+4kf6csXDsnCPsm334aUEGR3kK+r6aJ/YWhXyx4V3AoC0kMrSVUpoqoHAGE Svi4/RJVe6PGryFBIgmyEkMpGCZxSU9PtA5bXMH/KITEOgXk1+QXhY8A8BOkmuj3Ho3J MR9AthkNLYlgcjcPQ8d/cV2qHPsi+GF7vuJ+wxsgKdOxvmVCH6O/XxhTQGvlBQEVIFng U1myJZIpCMWEdlvwpxl4FaxEn3DERLaRMBtlYPNklFAAeLS4+DHlrPHoQNeipw0UXvgT qazw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=nrT9Mv5nhx7yJK+tAbs1JLdncnlFoxlReCq1D8Bae3E=; fh=2LsJFnhFT5vJmPEzaGndJnrIkzzCaKmazPybDl9lwC8=; b=SY1Zg6TBqsM/S1Yr/l3pT0qzoWKvLDY7l+x4C5FlUzOJDMTZNRYXKuAu0gw9fgqODw 1LvZgAYXwCWangwN/7dTy7WEnBYqB4p87Oek1Y/+i/9UhbLJH9ImEwZ6EIZVI4FOUXd+ dsqVGn7BiS5Rr7E2nJg3R6dqqXCwWdf/9FLqtZFwqsoeVH4VBAECMNYlWmS4F0JhVjEz fiqja4Swr/CaRIFcr9L4TRCTShskYYk0aGFr7+t5uPROJUQfSm6fxtbdsHo6Wx1tGyzm Xj1w8pS6rcnG+c6y39LpEdKyk5cLQbVEW0RTYzbEsFdDsF6oeHQVznUrNKpX/hbhYy51 IuCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lexina.in header.s=dkim header.b=cv1kCaah; arc=pass (i=1 spf=pass spfdomain=lexina.in dkim=pass dkdomain=lexina.in dmarc=pass fromdomain=lexina.in); spf=pass (google.com: domain of linux-kernel+bounces-207868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=lexina.in Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2f07bf9f6si2748841a91.144.2024.06.10.01.42.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 01:42:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lexina.in header.s=dkim header.b=cv1kCaah; arc=pass (i=1 spf=pass spfdomain=lexina.in dkim=pass dkdomain=lexina.in dmarc=pass fromdomain=lexina.in); spf=pass (google.com: domain of linux-kernel+bounces-207868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=lexina.in Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 02C872833B4 for ; Mon, 10 Jun 2024 08:42:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 557B06BFA5; Mon, 10 Jun 2024 08:41:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lexina.in header.i=@lexina.in header.b="cv1kCaah" Received: from mx.adeep.su (mx.adeep.su [185.250.0.168]) (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 0CAF27407D; Mon, 10 Jun 2024 08:41:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.250.0.168 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718008880; cv=none; b=A5fI4xPx1ZB9lWm548dGdBEvH7wx9+BmmNsBqEmo4hOChkeWXC1G9lgP5NA7C4++ZNXni0sXEcZwELD1S778WEeMbdYx3wSX0NWMpW9Ih53ZojfMOjqPrwBd2nHYD4KIEuZPTPM7gngzUjuNdOESyAJ4SONqclWQKWQy238kEBQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718008880; c=relaxed/simple; bh=UoNYO+YBUa4Y/s6xxZhqEt51ywLq6RcjISy3r1lKmeA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nm5gKypjtV/Zb+ywv0cKEJ6kmYgkXEVtzZ59y2U1egIXOlUljhuwnqH/lGIwwSkq/9ghqgN6hKZMySI8U5J/zZYYq6VNtlZVD5gHNSRw5oztpQCz0hlH+sO85lKTksN06zpZgpdhVFdAPeX7j6S6kSErsUKefbWrhCU45atr/gU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lexina.in; spf=pass smtp.mailfrom=lexina.in; dkim=pass (2048-bit key) header.d=lexina.in header.i=@lexina.in header.b=cv1kCaah; arc=none smtp.client-ip=185.250.0.168 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=lexina.in Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lexina.in Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7EB15FB01A; Mon, 10 Jun 2024 11:41:16 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1718008876; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=nrT9Mv5nhx7yJK+tAbs1JLdncnlFoxlReCq1D8Bae3E=; b=cv1kCaahpe6gnVkHI9SOjnmxfMQ+VoRDS/FioNBPlKBsr+PzPhaIqdBYFEoRfzY3+TOAPs oZ+g8h+mW4bp52FYP05/hNl0YnaFvHQtcyImt5VOw09mMGeMAFv5wZqLbQfZCnW0+Cfux4 rZKzVeDhyTKeVrUtiomABQ8plzUNInb4d9v+ZCD9AfvSpRyOzye8WtYYZ17nmwB4SOY2gy c4vaOYgdUF7S3ZsLIT5ZIJZz7LGaf+3+18C3RiuP4SRonO6nIiP3oO/ZVsletXFxYbgjla znWt5FANvF3JzJ3KopquW69vfFJ4MGpUb2mBXhNGO7pRORl8Sv9WMsEMMxlEYg== From: Viacheslav Bocharov To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: [PATCH v5 4/4] arm64: dts: meson: add dts links to secure-monitor for soc driver in a1, axg, gx, g12 Date: Mon, 10 Jun 2024 11:39:50 +0300 Message-ID: <20240610084032.3096614-5-adeep@lexina.in> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240610084032.3096614-1-adeep@lexina.in> References: <20240610084032.3096614-1-adeep@lexina.in> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Add links to secure-monitor in soc driver section for A1, AXG, GX, G12 Amlogic family for use with meson-socinfo-sm driver. Signed-off-by: Viacheslav Bocharov --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 1 + arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index c03e207ea6c5..d47f056117fc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -407,6 +407,7 @@ hwrng: rng@5118 { sec_AO: ao-secure@5a20 { compatible = "amlogic,meson-gx-ao-secure", "syscon"; reg = <0x0 0x5a20 0x0 0x140>; + secure-monitor = <&sm>; amlogic,has-chip-id; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 6d12b760b90f..45791ec6694a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1689,6 +1689,7 @@ mux { sec_AO: ao-secure@140 { compatible = "amlogic,meson-gx-ao-secure", "syscon"; reg = <0x0 0x140 0x0 0x140>; + secure-monitor = <&sm>; amlogic,has-chip-id; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index b058ed78faf0..11422d0be22b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -2045,6 +2045,7 @@ cec_AO: cec@100 { sec_AO: ao-secure@140 { compatible = "amlogic,meson-gx-ao-secure", "syscon"; reg = <0x0 0x140 0x0 0x140>; + secure-monitor = <&sm>; amlogic,has-chip-id; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 2673f0dbafe7..656e08b3d872 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -471,6 +471,7 @@ cec_AO: cec@100 { sec_AO: ao-secure@140 { compatible = "amlogic,meson-gx-ao-secure", "syscon"; reg = <0x0 0x140 0x0 0x140>; + secure-monitor = <&sm>; amlogic,has-chip-id; }; -- 2.45.2