Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2506515lqb; Tue, 28 May 2024 01:49:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWKJ0gs8aKlqpGN//IuUJ4wT/EYk9nCqP3peEHSN/PTUD5TnnTpWLTHPC3pNLe6xzsyP18LGgjfFvt0x0e5xfzM5L2l2EskPv64FadTw== X-Google-Smtp-Source: AGHT+IHBfOx1uhOUf2MRM0cbrrQAaX6NX+Wqv/+P4ZcKaK5iDghP0ZTj35viZk8da/TUQSlURjf+ X-Received: by 2002:a05:6a20:1593:b0:1af:df82:9999 with SMTP id adf61e73a8af0-1b212d45f60mr14364304637.31.1716886176648; Tue, 28 May 2024 01:49:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716886176; cv=pass; d=google.com; s=arc-20160816; b=0rPPGYjvb+qw2zU3strL7uaf3i/f92emBppo+c/59bDb6qiY5YhEVqutBMFrfQgHmo fbSUIKGQX9Z0gpAC6/nf7CkGUB3PnX+5Vn5mrQK5e5zZbcpcJv6ZaxV+KMQOBs0YM7as DABDhamna+JE98nvTNq4zYoCAClA1jVlFwdBeF/0l89Ag2Zk+ByeMYdvDi9P5jEr/k/z YO+s/VHrgXJJ7Sgzq1aRmfPCdjjGAMfHvQmZC2Ly80Wmew8GAT7R788H0SPbHFRBb6Xi lXvvn6/r7YRxtenGkjak2uEI82HQXo9EdQTl77w018i4m7T9GSUqEj4aRq/02T62mKto JUmw== 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=uoPTkSstfWYikQCW+JvBw9OJ4aACkIS7xPQ45I1/spU=; fh=Xc6rOUCo2hAB9Awc5QeEwQjpfeX3phxmdx5X1BF+Rvg=; b=I/oYbKQ4Q5dUofwGKX+jJgboBhP14ZkuOVjXbMd6Yej62pjVwGITrGG2QOdYpSLrIl iNUsYEmcx2kcEW8SiRdSAr0zLqSHbtAK4Fa0DqZtefHz2dHrAaKGYlneB0F3iF+7vnGK GA4SFHUSmyBi5YksyI9IKhtkmqbD8oYnwDKVubqSNjFZGq9s6j+9Ifl2bg2jPxkHZC2D emUvUZqj9yeiFG+lq+yKe4BUh8CQQUSgfj4Q0OFsL98V3bsYTQ2DM0m1ZxVjjY8N4DXW JdwUyrIvn2twMGmsxVYn2ni/Epb+V0/no6eCZ3Ajz5HoltE3mdTa7nG6eA1D6RkC4pqJ NXmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KlLyq18D; 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-191959-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191959-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 d2e1a72fcca58-6f8fcfd8e2csi7701779b3a.155.2024.05.28.01.49.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 01:49:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191959-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=KlLyq18D; 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-191959-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191959-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 69802B22E54 for ; Tue, 28 May 2024 08:47:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D621A13C906; Tue, 28 May 2024 08:46:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KlLyq18D" Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 54F9917579 for ; Tue, 28 May 2024 08:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716886011; cv=none; b=JSS1Q54fp+MzxEVyHMLLC51Hjly6me61bGc9JzQ463jDsGpA/oVaheOePpXk29UkRWt7RlUDaY0vz9R2qNHGeu4Y50vmcY+GQe0OqULsCHnSP8IH9qkoPb2swQNLHpW8YoziFnjcHTNwy3sf+TPmEC8zGYNbtxP1EueE1Oh6n/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716886011; c=relaxed/simple; bh=n9JXDO9d89lLOoX/3AcBwiNztvp10tx+ANINuhLeIvA=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=g8g9H1urlS3rrDhTYYwKWrBw/vU6x97xxW22EUOic95uBrrzOJkZc85qNpCUJogZJAsK6X/+StxMtkg6ZygfN0PBBeYLlxTKQYEgT5YuAMezvrZBx9aNeE1qyLvz0gSaVEthl5gH1IMguGmiFOgR4cgYwhc/WbmEeDFk7ZjCZCA= 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=KlLyq18D; arc=none smtp.client-ip=209.85.221.53 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-wr1-f53.google.com with SMTP id ffacd0b85a97d-35b6467754cso169142f8f.3 for ; Tue, 28 May 2024 01:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716886008; x=1717490808; 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=uoPTkSstfWYikQCW+JvBw9OJ4aACkIS7xPQ45I1/spU=; b=KlLyq18DPloVMghbfiA8n0g8MyCj9+FtcCu+h9+v+leaAPN9jBoqnGlETChQtVGHHE PgLdkEYg4amSdcnZ5jP5tbkJgK8FW/xjVAUMGzz8kwZvcxMYkTYT0LEs2ThXwC1ZIa8g K+0EJBQh8ITZBrpOgj7Z5ge3MmjPK+9DpHbGmH3yblqr2dzj1pjDbxi82kfctppdtrye 3hcqVzU5Fr4r/L84HG96E6Qly1GXqDU8JdmMnR3UK7H4JSi7M2GNM2RXSUMdHNVsW79e ptEE1RXdDSTvCl7DfbbfZrFAtY0DuPxPC+tXNcAwlfHPIFDOW6y30qFc12fgb69Gjfoz 3/mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716886008; x=1717490808; 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=uoPTkSstfWYikQCW+JvBw9OJ4aACkIS7xPQ45I1/spU=; b=TRCyESzDhBslprTCJ86bnpzVz2Ue4bolFUkhlS4FRfvMc5Xq/XSPdaqsq8powwz6qH D6CjJ63IBBcNuQslxnilTodm6e05SSOul2aTHlCJ5w8lA/UmYVqAjTVC4G2nR3LqdXYj TMNUyYGQbomSYHTJ1cMLDtSPDooRCKl3a8+KuZABt7Muy8HvCvxg9AXcxQmOwE+hSZ8z bgrduoOQe9btphJbUH3yaFMOqNfpJS1DbD6B3aUGrEOlUSZuq1sfYkSM6nbtnB7MidWv SSLThMgMOmt472KjiC/cmrppBd3lzGOI/fPexWsAQx8N6Jziq3WbSRZwsBN7ft7EPbqg x92A== X-Forwarded-Encrypted: i=1; AJvYcCW8BBF9X9n1Tkru+QpMobDGXvWQd/syVVeg0fdaQOi0yqDy9DG97VHYvYMp0wUmQy3jsK1HT294YAMjvl2zWF7aDrl8FxPNAC3dXcId X-Gm-Message-State: AOJu0YzLFP0+y3JZRm2ruVPONt6ox++r7Q6kt+yVR0gO1r8SIgODM+n/ LuxMKJw+hBfhnnbD3RXcArRI6RF/jEhsHygLKina2Y2uNxm94q3ZbxSO7dQF8E4= X-Received: by 2002:adf:f909:0:b0:352:e4d5:5e12 with SMTP id ffacd0b85a97d-35526c2b7c6mr7551225f8f.20.1716886007402; Tue, 28 May 2024 01:46:47 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:8f19:f965:3f93:6385? ([2a01:e0a:982:cbb0:8f19:f965:3f93:6385]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35607bcdf26sm10980087f8f.99.2024.05.28.01.46.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 May 2024 01:46:47 -0700 (PDT) Message-ID: Date: Tue, 28 May 2024 10:46:46 +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 3/3] arm64: dts: amlogic: a4: add power domain controller node To: xianwei.zhao@amlogic.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Jianxin Pan , Ulf Hansson Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20240528-a4_secpowerdomain-v1-0-2a9d7df9b128@amlogic.com> <20240528-a4_secpowerdomain-v1-3-2a9d7df9b128@amlogic.com> 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/iuyhMIANiD94qDtUTJRfE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: Linaro In-Reply-To: <20240528-a4_secpowerdomain-v1-3-2a9d7df9b128@amlogic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 28/05/2024 10:39, Xianwei Zhao via B4 Relay wrote: > From: Xianwei Zhao > > Add power domain controller node for Amlogic A4 SoC > > Signed-off-by: Xianwei Zhao > --- > arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi | 4 ++++ > arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi | 5 +++++ > 2 files changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi > index b6106ad4a072..eebde77ae5b4 100644 > --- a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi > +++ b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi > @@ -27,6 +27,10 @@ xtal: xtal-clk { > #clock-cells = <0>; > }; > > + sm: secure-monitor { > + compatible = "amlogic,meson-gxbb-sm"; > + }; > + > soc { > compatible = "simple-bus"; > #address-cells = <2>; > diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi > index 73ca1d7eed81..917c05219b9c 100644 > --- a/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi > +++ b/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi > @@ -37,4 +37,9 @@ cpu3: cpu@3 { > enable-method = "psci"; > }; > }; > + > + pwrc: power-controller { > + compatible = "amlogic,a4-pwrc"; > + #power-domain-cells = <1>; > + }; pwrc is supposed to be a child of secure-monitor. Neil > }; >