From patchwork Tue Oct 1 11:27:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13817885 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 20803CE7D0D for ; Tue, 1 Oct 2024 11:36:31 +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=23R0TZIA0axsqA2eYwuXEJ8B9IwUUAXH2P+ON9b6WwU=; b=hzjXlNTESxhisCrAnfJYHe5sd3 eY2Dkjb2dRH6TckpTj9qpY4MqBjqJ2UY3rOeYbXvLYdsbt6FgkomhkV+Edsm81uRnKqnXPq3yzqhV /OP6kv0yqTTi0IaP8CM29mLakDfJRi4tn91LKTfcZYFEtrNUpzUr2jsAiNLTx0PCrIEjw3eXrzQ9S KGjPlD223CKpLftatyZ+kk7rqE26Y+mptxTRILEg+CNKTP8W2gITgcoBFjsQ9kcrk0auzUDZibu/Q OG/5aUrlx/Ft4SV15lVy3KdRWV1PW76f5f31hIELWhP3/viEbVsG8aHqPkik6q3J02SzXjKqj5heY Gi60OMzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svbAx-00000002Xf6-1jSm; Tue, 01 Oct 2024 11:36:19 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svb68-00000002WGW-1uxs for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 11:31:21 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-7179069d029so3890855b3a.2 for ; Tue, 01 Oct 2024 04:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727782280; x=1728387080; 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=23R0TZIA0axsqA2eYwuXEJ8B9IwUUAXH2P+ON9b6WwU=; b=giZg4nvxjE11ZvdCmn+zWvtdyLxBeAJ9ZJ2lr+2GwVHTADaUrSpX164UUn43N/HP8g K4Kqk0AhFZU1d6ZlzubdzZckyQCrHQwckp1pIIK/yLsHWAxZt2cLleDMuyb8Kn6iE9Ll WZ48UxShw+S9ip/IZBcxeFOCLxUYqaVQ8KZRk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727782280; x=1728387080; 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=23R0TZIA0axsqA2eYwuXEJ8B9IwUUAXH2P+ON9b6WwU=; b=aLRczWUdHYJentjEMzp1d5o/o0PQQtCoW/EBom/sNfw58pfRFhX4REpwyV8Mu6UXA4 JILInWvAe2MOguCykQNH2w4US/uh7dEfPnnrywM/gKEMKtYzPMPiAyiRWmkRCc3mJR6o gzAnzYamaKbjXhdQ6tj/Fbfai1IOGt9FSrFCQr84CX/PrhFzdPdQp1r8//fDqlT7t8Tt vU2eTaGLvY/ThUFyYcwp2Z7tfFctPfWIbHjTNmqZOJq2BetuCdKfaMr+UWKNcp6o3TQ8 yUv878J7FJTtElI+4O8oB3YePmknI4Uowu5rRowdgulf5eMkfI2bDEac/nyhJNLREl9D fCng== X-Forwarded-Encrypted: i=1; AJvYcCUGg4rROMSmJU0e2lHqXG2a9XSdjJ737oNP95yOmPKArPOEUE9XXNGk8vRtAKE2xGRdXAghzTFcF8hkDazE9e0S@lists.infradead.org X-Gm-Message-State: AOJu0YzMto1DVPVw5yPhEXe/cEt0tXaVmFIkzkb6Y2KE4otfonqHZruL W/mzdz+NuJELJSEXMuR9rfAx64LqHlFN/HrnvdeMeX6HGUQfgX1LiAxR5h9u7Q== X-Google-Smtp-Source: AGHT+IF0uBLqB/6IIB8dOP9zNZ4TWM/ZpZfM3H+BJ9RdIgLyjCLjfViOtBRFUY/B925GuvlwYj39cg== X-Received: by 2002:a05:6a00:194f:b0:70d:1dcf:e2b4 with SMTP id d2e1a72fcca58-71b25f00bf2mr23616838b3a.1.1727782279856; Tue, 01 Oct 2024 04:31:19 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:e044:f156:126b:d5c6]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71b264b63d9sm7810646b3a.52.2024.10.01.04.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 04:31:18 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno Cc: Fei Shao , "Rob Herring (Arm)" , 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 v2 1/8] dt-bindings: power: mediatek: Add another nested power-domain layer Date: Tue, 1 Oct 2024 19:27:19 +0800 Message-ID: <20241001113052.3124869-2-fshao@chromium.org> X-Mailer: git-send-email 2.46.1.824.gd892dcdcdd-goog In-Reply-To: <20241001113052.3124869-1-fshao@chromium.org> References: <20241001113052.3124869-1-fshao@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_043120_563074_C271DAFA X-CRM114-Status: GOOD ( 11.60 ) 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 --- (no changes since v1) .../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