Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2914997lqo; Tue, 21 May 2024 00:36:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0C5WFokWvT3wn9h3tAUIS0LMGUrDNAfcvZosDyFrqjswUksBhyusqpPww4uXzrds5NH8kcJkl7kdiLEzrQTTz7IYQux2BQ1tAoWTrFA== X-Google-Smtp-Source: AGHT+IHM62kg0rlFHku0Roc8Le5SczMMKMIy4Ps9Ef2lSSTYFgaNUbug5L5u0LXlF81q38G1bsgo X-Received: by 2002:a05:6359:4587:b0:183:9ea4:74a9 with SMTP id e5c5f4694b2df-193bb638a50mr2592086255d.15.1716276974810; Tue, 21 May 2024 00:36:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716276974; cv=pass; d=google.com; s=arc-20160816; b=yq6XVeJoBsKaeCToX5FzDL+dHkaeOG4XGQVvodXPrZSBFp7R/rmjreedtvTw3R2234 e9VzPTv9vGsAHMXPdbq733IB8IuUwd+7MdMTjwhC06KLkka2tkHvRfl+mM4oe8pc2yNx BMFtEJHfbY62LBwubcZPgyqX560Y31nZ0rz21y4Ewyj3UxfeKvLb1oqhReWN0aVAX5pE B0bYEiZ250OAsvPYEt873LaWRKTWOdErUw8R2Flvsh+mPcglNG8PCdQywOxtJrg1nvXQ V+UXYrFsJHAo9rmmnxKWHob4ZtUvBeCdoOBFfPj1TiRfoKWttgx8cZK5HCw9hJKNJJJh +Nxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=CMHax4Pr4b+O02m2JmYswFgOmYbDFbB51czH5x/68eo=; fh=JL/HC/E167nyZkE3OnFMyebQf7EGu/eDJskCr/H0Sf8=; b=rcdxhqI1CVogO6Q7ko/IP+ZYfpmHRoxQBxQ+9CEea32IlQpLsKkNy+wlVddkwmWOGS BW41cOM1KgPydPtCcB7tCFPivvJhQclAHfk5fTvEPHAz4i5/Zb5EjXUXseyj5J0/RJ9g jgMgjYjBenfhy19L/ld2f/s+ChM2xYSWsRD+FZxc7RDEQcuJ1zTrwq0yL9k1W5Q+tWpe tMgLWqnKhZshRjAHhPWmnY7pkEjT8yDPUti4CRyq5OxPl0zq6hEfNrHfZPVhsbBWPdS5 HRb0QJBxvzKuuak9DClerkBM2zFmyvVQPaU0SuMuG3SpPNB1R3l+OwrZclm3hOVk8IVT Gy9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m0Qza6X0; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-184573-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184573-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6341404f9besi5132392a12.876.2024.05.21.00.36.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 00:36:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184573-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m0Qza6X0; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-184573-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184573-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8FFB7B2261D for ; Tue, 21 May 2024 07:34:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 649185339E; Tue, 21 May 2024 07:34:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="m0Qza6X0" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 AD53452F81 for ; Tue, 21 May 2024 07:34:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716276862; cv=none; b=RLCPBWTvK+nOpIdf/KnmJp6sbOHiryZY+Qknur/EMJUXFx9TgAMZNJlbbO7j/NbSWh+cRqahEQ6IDz//YwIiEbERE1mk/PNDcHVOyagMUXmldL5cOso4l35Piy21BggWrDRmXvnr/EwahndfIMUGczP2EmUTB3MIIwZk60NzLoE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716276862; c=relaxed/simple; bh=pAeG2CFOT/D5a7A6CmyGcRVSTkdG0n7lyiPuFEIVNNA=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=IXrID8sd6QsUUGJbc/Wf73eC2j/dfMmH+5CKTCuSyuTPM49LkDwj+q0E00c/gMImmS05T9ugbu6HSlOFJ1aZcojF5zftjDHzb4kJrD1G+oBFfjMMicuMsZ1EgrFUjQoL02GZUoX6O1inB/8M6eOis0/XNhqR7AUqzKMVaaWv/yA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=m0Qza6X0; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a59b58fe083so573353866b.0 for ; Tue, 21 May 2024 00:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716276859; x=1716881659; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=CMHax4Pr4b+O02m2JmYswFgOmYbDFbB51czH5x/68eo=; b=m0Qza6X0/Z9Tsi0+r6aJUzUB6ARTF06+OrDOPZPlF8vt5heCc7Y4Oa4CNSNE4zQ4B8 zwO2o/N0NNuPVExd1MQx2Kk+HBHqi/yduuEYhD1uCamG+5o0hOz9vGBOSo0yH56ifsXo vcRigZ/eVmY4pKZXFcdMZgeV6JFg+zpekkX7nTrqlLBnFrdVDvwnjv/JW02Y5lJ/xr3t xF27AdIS0kBC86fvyYwV4chpxFI1xhbUzKRpYA98zqYpEmfnK01XWHqKdELQZzZg/8SB iFlyZr4bj34pDk++P5p2pwc/iZgC7EIQxRgNH47qvC/YucSy0kyn9BUf895xAfEvksMo o6FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716276859; x=1716881659; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=CMHax4Pr4b+O02m2JmYswFgOmYbDFbB51czH5x/68eo=; b=EZ5Q5Jwh9dxIKGi/tN/ytZI9AMlOOcbOpFgKmLL8z8bCtETgCu5Ng/s3jKHnQ7Dkc7 cAeXYfc8teyg+s8VByhF6uhr4N2Ui9kAWGpRgBJ4LPvnvKMyItAlWj9y0Dnu5Frjum1c YG73QcOzKTb+mbpXyJeIzXIOHzK0CSGSEMbpbSQ5PcKEo2EFTQ7dblA2m6cnZsVdsAr0 6t/rWVGm9UyrT9S6doyurEpOQLXE/IpuWEQIf/ljW1E5iurJOzKfiiTrM10HzE0Caa2v gAXH00w2J2VQXLGe/fwR61xf5uU+mDdRhf9t4HqNIYae/gaHJ1dOCXmKPKahyn0vvC0d PV/w== X-Forwarded-Encrypted: i=1; AJvYcCWPituAiyiG24+5A3YjxCoMaTtxXEtbbmtHzascBipb3/kyj5dpKqznGUB4pMfM+/ft8apbXQLdwlYppz+sgcN0WHiPQvlr/evAWN1g X-Gm-Message-State: AOJu0YxMVjCjYaKB9yKdq0/Z0fkIEp47f1AUh2BGcOq9jtb4AQv92RxX OWchuCZ78HPWOfi0ZmMY5Pxd41tr6JuE7L3sOuOdaFOy7doOqEx0y5rtN8odwLs= X-Received: by 2002:a17:906:fe45:b0:a5a:44a0:8e21 with SMTP id a640c23a62f3a-a5a44afd0demr2373368066b.69.1716276858688; Tue, 21 May 2024 00:34:18 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:adf9:e5d:4c15:f725? ([2a01:e0a:982:cbb0:adf9:e5d:4c15:f725]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a61b1df3ca5sm213052066b.176.2024.05.21.00.34.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 May 2024 00:34:18 -0700 (PDT) Message-ID: <330ad0c3-1f4b-4f74-ad64-de48813aaa18@linaro.org> Date: Tue, 21 May 2024 09:34:17 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v4 4/4] arm64: dts: meson: add dts links to secure-monitor for soc driver in a1, axg, gx, g12 To: Viacheslav Bocharov , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski References: <20240516112849.3803674-2-adeep@lexina.in> <20240516112849.3803674-8-adeep@lexina.in> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqB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lexina.in> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 16/05/2024 13:26, Viacheslav Bocharov wrote: > 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; > }; > I got those new dtbs check errors: + from schema $id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml# +/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j110-rev-2.dtb: ao-secure@140: 'secure-monitor' does not match any of the regexes: 'pinctrl-[0-9]+' and on other files. Please update the bindings, Thanks, Neil