From patchwork Thu Sep 12 14:43:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pin-yen Lin X-Patchwork-Id: 13802238 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 6E3F1EED60E for ; Thu, 12 Sep 2024 14:47:04 +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=pBobOyxG7h8nS1KWtk3g4MWOyKZOXk2z2jSGYhG4DTs=; b=4Jb9Skcbr2jJN3NDog/Hq+vatz h2lOerfP4dm0FBfWxkPmiVro1EyL9twB/ZZ/HKHQIb+6zVdgX1dF8GkwGo/fg97vrK8x8BsDn9EYD RNco5Z7R+qJQujtDIRb9Udz0IM7geM1VLfwb2a10fw5Y9Xb5f0cfCrwlcVbAAO1rIsN+iwv22JZhD SuO8Hwdsb43sY9HbLY2bFufDHeZL/trgOWBLeJOkXHeOAxd+scIpXyBi6T/9N6+K5UVQyTd+9See0 S3AQjN5PiWs41LzshboeaP0jHR/AvWADSmh1tfX6V3Pfi147UwQRLoTtXF1SatNRIXXh+MePJ6cfZ ynap8Vcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sol5x-0000000DPs8-0vaI; Thu, 12 Sep 2024 14:46:53 +0000 Received: from mail-oa1-x2f.google.com ([2001:4860:4864:20::2f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sol3q-0000000DPDZ-0Smq for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2024 14:44:44 +0000 Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-2689e7a941fso535298fac.3 for ; Thu, 12 Sep 2024 07:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1726152281; x=1726757081; 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=pBobOyxG7h8nS1KWtk3g4MWOyKZOXk2z2jSGYhG4DTs=; b=FqnjfYhKmDq6Gffz3bdlRRb1fBLyBeUo8P21rXH1Rm97tqFC1ylRcE7SOwR2BnXyFE gHpV3Cb17t3yD6bUGpkWfKMV7xd6xE6etLIYMSdd20HNGjtG1AxY0bZgxZzHSFELP8ld YlWfQNlD4DEJ4+cxnh11ewl9FPwgMG7/xucag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726152281; x=1726757081; 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=pBobOyxG7h8nS1KWtk3g4MWOyKZOXk2z2jSGYhG4DTs=; b=UcpU/mqELbYau495a4gtxlF8BeKjgHX2Qb6WC1nHOP9ECHrBg5pJaL9Rje+QlnnLke Z2f/zngrmL0DI3qyMkfxZd3CpBHFRMJhbKlES/ZPNffzhjKZv9MKUntBWFXRFSGxRAcF IU7gDipdBEs8w5MZsbD2OkepG6fc+cUtJHSjtqo1XO6kBo3Nfq5zTyXsAiFTMWTuf0nc bOQrEIwweycE7oWM4lTo7Hune07RRpJeqAz3vQ/C9Ttj7HXrCoIRG2e9+G84KtR8Tayq TKykvGFcVHntKbk4le6nPzl2iYUD2Jw/ma7h+d43/+yMfzGQPKaFznYhsHq3++3X6fhI xbRw== X-Forwarded-Encrypted: i=1; AJvYcCX57g1XHpVC0ppKo7cllfl85tMgl9czOs/aOqz21hcYipCELLC1hvFW47h2pKSGzsM1sQgsa/auKFI80PELIw7y@lists.infradead.org X-Gm-Message-State: AOJu0Yy/A3nWoEIeH94NtFJFxzN4EqcY8ipqEoqxTdG36HtWD4d0uJpy krsc3NIZKfEQSRQVKKHmILEmfiDRy+RQgt6ziVdnsrrEqjyG1/NsPaSjjDKJyg== X-Google-Smtp-Source: AGHT+IHO/WoJUXlOGm3jql0fNBGLuC2NTWOQUgJ/i3VELhySJR9ptX7aA3pjDFcXYgWO/HiMD6f3fw== X-Received: by 2002:a05:6871:2b27:b0:277:c21c:8619 with SMTP id 586e51a60fabf-27c3f0e0e6fmr1795567fac.8.1726152280812; Thu, 12 Sep 2024 07:44:40 -0700 (PDT) Received: from treapking.tpe.corp.google.com ([2401:fa00:1:10:8638:897f:b6cd:8c44]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db1fdee186sm1826269a12.85.2024.09.12.07.44.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2024 07:44:40 -0700 (PDT) From: Pin-yen Lin To: Chun-Kuang Hu , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , CK Hu Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Pin-yen Lin , Fabien Parent , Jitao shi , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: display: mediatek: dpi: Add power-domains to the bindings Date: Thu, 12 Sep 2024 22:43:58 +0800 Message-ID: <20240912144430.3161717-2-treapking@chromium.org> X-Mailer: git-send-email 2.46.0.662.g92d0881bb0-goog In-Reply-To: <20240912144430.3161717-1-treapking@chromium.org> References: <20240912144430.3161717-1-treapking@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_074442_181535_D997D3F3 X-CRM114-Status: GOOD ( 11.34 ) 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 power-domains property is used by most DT nodes using mediatek,dpi bindings. Add this to the bindings to fix the schema check error. Signed-off-by: Pin-yen Lin --- .../bindings/display/mediatek/mediatek,dpi.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 5ca7679d5427..7e0bb88f5856 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -42,6 +42,12 @@ properties: interrupts: maxItems: 1 + power-domains: + description: + A phandle and PM domain specifier as defined by bindings + of the power controller specified by phandle. See + Documentation/devicetree/bindings/power/power-domain.yaml for details. + clocks: items: - description: Pixel Clock @@ -82,11 +88,13 @@ examples: - | #include #include + #include dpi0: dpi@1401d000 { compatible = "mediatek,mt8173-dpi"; reg = <0x1401d000 0x1000>; interrupts = ; + power-domains = <&spm MT8173_POWER_DOMAIN_MM>; clocks = <&mmsys CLK_MM_DPI_PIXEL>, <&mmsys CLK_MM_DPI_ENGINE>, <&apmixedsys CLK_APMIXED_TVDPLL>;