From patchwork Wed Sep 25 10:57:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13811889 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CBE41C369C7 for ; Wed, 25 Sep 2024 11:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QVeMj7wLnXufiIx19gdVV+26XJBDhZuDvTGjagZ/exM=; b=fJXMGCCMojmtmpuq0Z1fV6txtg FU2rtkoRvpSSD7PMt+H/OC6BLHfXxX4pDpoHO6NbVqGIgB90NzTR14fFgEPEMoa5wYwSDf0YyV+Ow VuNzb7S1f/gio26/H2XiWNxt69I2IayLV3OqagmBkBO7fY5G/jOPtac+HV3v+lk76zHViyYNX9WU5 ePR0314DYnSq+dmRDkXIxfyvF5WaCThAksosAjyELaHJ32hhc01ncBYr/28gkVIOUyVluOg4ZLT2x MWw57xTrkdk0Mhfw58Bgd+R8Bki9UdZMjktR7wcKQeNeI1eUagY79bfmdNbbYgt1xB7kWTiFBBo+h jvotYoVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stPoB-00000004ovG-2VN9; Wed, 25 Sep 2024 11:03:47 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stPlu-00000004oLF-02Ac for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 11:01:27 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-7198cb6bb02so4670843b3a.3 for ; Wed, 25 Sep 2024 04:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727262085; x=1727866885; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QVeMj7wLnXufiIx19gdVV+26XJBDhZuDvTGjagZ/exM=; b=TSRRbIYl0QKSYQJCWT4pyj/FtriiibYz2+UCxdM8rNfrjJsueijegHip9+wyeW+YPD mggcumzJP7mfAi+9xceC+1xQevAMi4mzkk+eHFkyAbcz6+HVawG2PPk0S7qlt5dSQUKk 3zak32G5t+R/FREb8Xgyu9TaWfezOPvG37prI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727262085; x=1727866885; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QVeMj7wLnXufiIx19gdVV+26XJBDhZuDvTGjagZ/exM=; b=UzCfnwC6lUBcYgMQzg9hhj5fb53xNuBgCQDhht9fKRVS9QU+s6RvV1g4uM5td/Sivs sDEvcNGm/lFhZ1JfLNO8Ll4Tq51tYkY4JQWbYAqR3nbyZWJRjxC9BCdX8ZGNq1zYwNNU hFs8xZH8Mjg6QaJEydwS8F83s8BDuQMA+KniocSEI4ktTBSldegoDC7vkmy71j0/iOjz EKt7fdS8sCjUZ4YISf9t9lC/j8iixiqWgJpGIWxe5tAMA8LvXHyka5n9MBjDoBMuja+l 7O+/h2fpdc0GU2zogsWyVHqd0nGJvgy2EcZNf16Yic2ZztR0NQxDpDM2feOCuFH2ws2v dlHQ== X-Forwarded-Encrypted: i=1; AJvYcCXfvbzBCvvEP+lt0StkqG85R/Y1lXub0Tl/kRS4GcoDHDysQ7Onl5ZoeH82HRkdw3nbxcZd8Zfewq8spqRujEBW@lists.infradead.org X-Gm-Message-State: AOJu0Yy6GwhK+/SJOUTv7oM1WIGndPnjAUDzmxkgmEVqaSN1X6UQhWk4 QxHkT2SdhJ3DJjLDd3XhM+UbeShfiMc3e59RtdXUMXxaLSPrZmVKqslzkXZl1w== X-Google-Smtp-Source: AGHT+IFvn40kXszElCdDiZEOckut6uDsZhbA1ymXKe+lan+5/nDemYiY5zux8PnoVFCzu4aMNSiAeQ== X-Received: by 2002:a05:6a00:b81:b0:706:3329:5533 with SMTP id d2e1a72fcca58-71b0afa2c26mr3124717b3a.24.1727262084788; Wed, 25 Sep 2024 04:01:24 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:2b86:78b6:8ebc:e17a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e6b7c73085sm2570298a12.59.2024.09.25.04.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 04:01:24 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno Cc: Fei Shao , "Rob Herring (Arm)" , Alexandre Mergnat , Conor Dooley , Fabien Parent , Krzysztof Kozlowski , MandyJH Liu , Matthias Brugger , Ulf Hansson , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/6] dt-bindings: power: mediatek: Add another nested power-domain layer Date: Wed, 25 Sep 2024 18:57:45 +0800 Message-ID: <20240925110044.3678055-2-fshao@chromium.org> X-Mailer: git-send-email 2.46.0.792.g87dc391469-goog In-Reply-To: <20240925110044.3678055-1-fshao@chromium.org> References: <20240925110044.3678055-1-fshao@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_040126_076149_7C2C83CE X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The MT8188 SoC has a more in-depth power-domain tree, and the CHECK_DTBS=y check could fail because the current MediaTek power dt-binding is insufficient to cover its CAM_SUBA and CAM_SUBB sub-domains. Add one more nested power-domain layer to pass the check. Acked-by: Rob Herring (Arm) Signed-off-by: Fei Shao --- .../devicetree/bindings/power/mediatek,power-controller.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml index 8985e2df8a56..a7df4041b745 100644 --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml @@ -54,6 +54,10 @@ patternProperties: patternProperties: "^power-domain@[0-9a-f]+$": $ref: "#/$defs/power-domain-node" + patternProperties: + "^power-domain@[0-9a-f]+$": + $ref: "#/$defs/power-domain-node" + unevaluatedProperties: false unevaluatedProperties: false unevaluatedProperties: false unevaluatedProperties: false