Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp9087lql; Fri, 12 Apr 2024 01:44:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8CF+n5mrtcI2MSytdmh3yuwMk52mwptgVfajvtUXKd3/hLRNfBzXsKLtTJ0HPrC3DZK4Z5xzuu8XsQP1lK4XcnGxRndHnJs8+eFdi1w== X-Google-Smtp-Source: AGHT+IH6XZHdt65DP9ixUqHPWSchTzIXrmimp/jlyFAKwsC2fcH0LZM2cRY6aLNd0/bVZGtzuUpw X-Received: by 2002:ac8:598f:0:b0:435:bda5:483c with SMTP id e15-20020ac8598f000000b00435bda5483cmr2186107qte.62.1712911453742; Fri, 12 Apr 2024 01:44:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712911453; cv=pass; d=google.com; s=arc-20160816; b=qg0+6eTcvBPzgQYpZF8ZOqSncczfE+M3rM2N/WpSDOA5o9MPhELAFh7NsY3XvayfZR bl2aOCHI+j679PBty8gAosqADGDwPPLUqT6ITNA+0OhKe0WQQ1gx+lm7YVcnrh6uPOUF r5BWgK+xrG6sYb1F94GkPRwZfEPYUl8L7tcxfU9bvh+e+s4GWWLXDJrsrga6+Hytx9Sb u1gwSnJttimHNRqxrEBkRz4ulgzS4732ryZC/IQdnO4pCMb7hlu3Qtz5tyHlUptJDKMA BDSugcTWJhwffarDowfENZz80RxnZ4L3DbR6JIz5sIQAfIvnQ1Er0KjmEm8W5WzjNEvm 4S3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=yYHmWmOOeKMWBGSOQuD9CoT7+z66GXaSDpRN8eogHzg=; fh=cNYU/qU41/GXHPdceghW+AyGAAdCNH9RifMUMnSZVgs=; b=kxiyT/4I4A5QGSlg7VDO7QfG618sG7tIGVbQVjNR9CeAremL9oQmiEF49zrN458/PM BzI10C9SnVXDpwScsOM9lRKLtNV4J8JM8YJk7VemDejMDDLJb9kV3dVreH8lbjPI8sFO NvUx9pKxVadiO5ZjHrtWM2uyXWa/K+Hocj+gbb6WbRyXXH7o4fxB6FdOEvNHV+gnDq8B LW6qSRB70DQfXR/27rN3Qm948ERgcyMZXuh+tIi9aK2/Skm0qs/S6u7entIicSmHY6Xw s/N79zOBLyPnpCFj6VHpimfUlv6CpkHsnVtmzZyGgiB6C1nww2pyRlNtmby8R66SMjzd GeOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="eWl/lkBW"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-142257-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142257-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v20-20020a05622a145400b0043663ad3e05si2974080qtx.677.2024.04.12.01.44.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 01:44:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142257-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=@kernel.org header.s=k20201202 header.b="eWl/lkBW"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-142257-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142257-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 77DA61C22F44 for ; Fri, 12 Apr 2024 08:44:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 655CD54744; Fri, 12 Apr 2024 08:42:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eWl/lkBW" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 819AE53E1E; Fri, 12 Apr 2024 08:42:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712911354; cv=none; b=AzP1lGVCQxQPDlO79FAz4+jHlDQwfPZ8KLEM25ruJcCc9zVaPRlQiaLeB1p5Je/kyHg60NkYh8VHqb1x2VIzawmeR6uC7ojcpJc9OQz2HIrASQiAT6Ig/9wD+gb8NSTzdZIEOjufpm3Nqe9iQhAjuSgJiApUwMhK4+bnj2Nbw20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712911354; c=relaxed/simple; bh=A+G6ElGrbdxKFc19F1WFdjKXJ4NPRwN4ZSGf2BITplc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=en/sBPAts5iTGbVDk/mixJBCqyalVE8l32RLYalk8jiwqTRFCgoLMv1IFuyuBOGfh3oVYVSv7jgJlEJWrcr6d6si3wlbFMj9RQmMeDqm/mm/gFhv+AefV1JE4oYnIOGOcaEPqc0YqPLkk5dyL0Q8SzeiC5hLpnIibpQH5k+cU2M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eWl/lkBW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id F0D75C32786; Fri, 12 Apr 2024 08:42:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712911354; bh=A+G6ElGrbdxKFc19F1WFdjKXJ4NPRwN4ZSGf2BITplc=; h=From:Date:Subject:To:Cc:Reply-To:From; b=eWl/lkBW00ATexLk5CJ4hGJJhnDZK12QlOi9JNpuuLncH0QM6T/lRbazUc4x5HGjZ MDNqkrXt3e43Yz5moOpe3hzw8Nm253TQpJa2GuU5PPw89QQqLBJmBViaYg5O/KRQBe 5n+LVd540vk7a5zljRj0nPK3TYLDniAUUrLgPtFt/c+tC50UbJ4RMjDskneVv0d39W EVnUmzlLNVds26f6d6bKnxFQlpvXm8eB5LUW5DV683PxUv/FpC4Wk8xuTjl2X4oI+5 4VylVWq401sPKwAbdFhEkGmrIslN8oMANk1e2Fc239pIdftOKodGlAeikWgi380Lgw FE5D3N9dSTYvg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D47EFC4345F; Fri, 12 Apr 2024 08:42:33 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Fri, 12 Apr 2024 16:42:30 +0800 Subject: [PATCH v2] arm64: dts: meson: fix S4 power-controller node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240412-fix-secpwr-s4-v2-1-3802fd936d77@amlogic.com> X-B4-Tracking: v=1; b=H4sIAPXzGGYC/3WMQQ6CMBBFr0Jm7Zi2qSKuvIdh0ZQpTCKUdEzVk N7dyt7l+/nvbSCUmASuzQaJMgvHpYI5NOAnt4yEPFQGo4xVVl0w8BuF/PpKKBZd14XQndWgHEF 11kT1sPfufeWJ5RnTZ89n/Vv/lbJGjUo71xK1xp/Mzc2POLI/+jhDX0r5AkNlCI+sAAAA To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Xianwei Zhao X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1712911352; l=1368; i=xianwei.zhao@amlogic.com; s=20231208; h=from:subject:message-id; bh=oKEf8J5zEQ5VRP4drtkFgH9o2pd0Lw+wi/tMBGddobo=; b=g58n8V9t/QOY/0zH12yHIGuXoV1zedqzQpBb4TpKujUbaYz9w6Iv3V+0IJTaDWu4CybnE7KPy U0mZWlwsjwxBksQosAldqYNI8h4o8x1+ufJ+NDJhg+Mhz7pmacs70Z5 X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=o4fDH8ZXL6xQg5h17eNzRljf6pwZHWWjqcOSsj3dW24= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20231208 with auth_id=107 X-Original-From: Xianwei Zhao Reply-To: xianwei.zhao@amlogic.com From: Xianwei Zhao The power-controller module works well by adding its parent node secure-monitor. Fixes: 085f7a298a14 ("arm64: dts: add support for S4 power domain controller") Signed-off-by: Xianwei Zhao --- Changes in v2: - Add fixes tags in commit message. - Add firmware node to adapt documentation. - Link to v1: https://lore.kernel.org/r/20240408-fix-secpwr-s4-v1-1-01aa7ee72c52@amlogic.com --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index ce90b35686a2..10896f9df682 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -65,10 +65,15 @@ xtal: xtal-clk { #clock-cells = <0>; }; - pwrc: power-controller { - compatible = "amlogic,meson-s4-pwrc"; - #power-domain-cells = <1>; - status = "okay"; + firmware { + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + + pwrc: power-controller { + compatible = "amlogic,meson-s4-pwrc"; + #power-domain-cells = <1>; + }; + }; }; soc { --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240408-fix-secpwr-s4-a99ff960d0ae Best regards, -- Xianwei Zhao