Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp210553lqk; Thu, 14 Mar 2024 00:11:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+BhZNZitgkEetTbcXVQ0Dp3d0ZB9p/DeVNRh6ArM3wVP1Vnne2/4Agistq28MJJKsgSJ5Iuj+XNqMd9a6UGEpvZbnHt263z9Etoa5hQ== X-Google-Smtp-Source: AGHT+IFpSQGZnpmEORq1rAILTTtpYF5KQd5FAsShPtBTzlDlXI9/O+44+hH2VhqIJoLtmgm00MA3 X-Received: by 2002:ad4:528d:0:b0:691:1f38:3ca9 with SMTP id v13-20020ad4528d000000b006911f383ca9mr995240qvr.36.1710400282917; Thu, 14 Mar 2024 00:11:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710400282; cv=pass; d=google.com; s=arc-20160816; b=xXKsjnMauQpGvDwBqlPLhrAozGacODNXhmY3ffrD2XHKC4zYdeL1BzkJu16xTlXyJl WP9TxitPTnU9IynMaIl0CJrk1HrDUKs7f37W4u2ac4EQPBbrzKV8GZcaJFFKT79Y+It8 FHSwvwi/isptqgeRdzOCf4UZbT/UU7wFLqa5WH8TDmslhay85x8PPBVRaLo7A4SHjYJd 6KRljFUuKkqUL6K9rlRL36HEfA4kmKBTkmkHa904oZMHlcvh14R2FoOClRaFutO/DIJS SIGYLAgUeAxAO2LeJzJOUjXIfOblYWgKbb24QGa2Av78ZEnJXxwcM9PVih6GauItJZ6/ zYpA== 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=+UBrzMeNJuIEWIdnDs+QZQBlvEK3sk7AsllHTSelVpQ=; fh=mhXHKnPRBPTLeaKiu7kiNYBE05qcNJ+/2XipVy1FTuI=; b=Yy+0Ie1kvvV9VCFHve+sc8buTifz2IXi9RekLrsxUlFpPhCNUIPvD42XBqgjtISq2C NCyxThR990g/Eo1qpnbdS1vpf91+mH5BMDKwpvp+br2u7cwDU0mWwzHFDAmBflhnky4r tlaHP4ZsXLiBXUS+qrIKcrclMV+qPQbuj/D/wWtFSAmGuUEa67LPVOZ0Pm79V/P4VKic PRnUte69Ax6X3K2Dp0iudQz5INUxTyBn+i3jShcvMbPJW1wmzOa+jQvVtU/PEweGfFKt SxGsVWi6Mklushmu32pF7qRq0CBw4unAVUkJLQccPgkM9VZF+LGONY8q/3B3LI8ireS7 5ybw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lexina.in header.s=dkim header.b=Rp2t59M0; 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-102917-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102917-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=lexina.in Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 15-20020a0562140d4f00b00690b5ba1bafsi37477qvr.178.2024.03.14.00.11.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 00:11:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102917-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@lexina.in header.s=dkim header.b=Rp2t59M0; 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-102917-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102917-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2A4521C211A8 for ; Thu, 14 Mar 2024 07:11:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88715111AD; Thu, 14 Mar 2024 07:11:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lexina.in header.i=@lexina.in header.b="Rp2t59M0" Received: from mx.msync.work (mx.msync.work [62.182.159.68]) (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 224ABFC0B for ; Thu, 14 Mar 2024 07:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.182.159.68 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710400259; cv=none; b=efK+YzHBmI7JVuCMg0BHBcwf5JKztR7bEHUhp6Xm7o9hEdF72Ds0MGFLRj6S/EHLW1NK3OMe43iNJ6kvg0TzSzw3PN3aelk4JygJhh7MxQpTqfUlzKAWmiebwmA/oAbcYTwdy4ErRWiq/Na9DCUqB2ZDhga+RHa4pCVbpp25dII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710400259; c=relaxed/simple; bh=M+mo9Y0CHfPVQLKoZETkdBfevQ2LMWQyIi/HAshdRT4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ocFWJ8BeVAUfdOIGENNP54qJ5HTSoudU5+w4Y/8AfcMOubmVu9JSohM5C8AiuDYC8KQK0OTgoKHCQT8cgaroJlHUIZ9+diogYTv/vOvlQjjPbLMGVPvQ3ULZeYLTrOmg3mDx/DgbX/YjtVMDaXZZU+dql+jGMliKtiITH7jKgrY= 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=Rp2t59M0; arc=none smtp.client-ip=62.182.159.68 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 C8EDC11E7C2; Thu, 14 Mar 2024 07:04:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1710399889; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=+UBrzMeNJuIEWIdnDs+QZQBlvEK3sk7AsllHTSelVpQ=; b=Rp2t59M0Qujo1GwlJ32wph7no0rX6TCkCwukSBJZWzL+ncrlZML490GAKp84KPEvAT4Kb3 pzNPoG8iNj/QQiIfoU/DPYfrx7mGkPQaGZwAlJIH41zJBIGE1NPwdaO0o2p5Ac2eDnPcvK tXv8OZubEydNYZhg6tI0w4psoSc+KZvxgmM6mDrpumuT1/zSatItfTP2mAiLSISAjg0v/T AEazh+AEBgaAK8tz59nb/aouIQUmy8Fbs5liIHVMEXtcYOhc8aTH+roakaAAh8joN4CSL3 mHok3shQyrT4RS1c9C5Jd+FUE/dUmkjB+sJOjliSSRKSZD8fNN2eNNdbUD/r+g== 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 Subject: [PATCH v3 4/4] arm64: dts: meson: add dts links to secure-monitor for soc driver in a1, axg, gx, g12 Date: Thu, 14 Mar 2024 09:59:54 +0300 Message-ID: <20240314070433.4151931-5-adeep@lexina.in> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240314070433.4151931-1-adeep@lexina.in> References: <20240314070433.4151931-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 9d5eab6595d0..a8c1c72543b7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -2026,6 +2026,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.43.2