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: 13802221 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 BFEE9EED60E for ; Thu, 12 Sep 2024 14:44:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A06C10EBB1; Thu, 12 Sep 2024 14:44:43 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="ckyzPn7B"; dkim-atps=neutral Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id A4C0F10EBB1 for ; Thu, 12 Sep 2024 14:44:41 +0000 (UTC) Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-278279a3a39so511250fac.0 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.freedesktop.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=ckyzPn7BHwdH2AxJzxPr+D2EEpH3m2P5SrPudqCsWzB4am+wpbnBn+qxmRjhLKGlUb pg/aRi7ekLWGIB9qrCJmOat6Rdrq5HfFRkx3dlz+nCi3nhtoenTU2bCzm/DO+uJwrzi9 Yqhe+0aEGxU8TNhoN56k7F2cTeGdovHTF0Amk= 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=wq1Wj14msC5QJuTHArjRpJfD3s0bHvqWAoOi6L0aG+K7hOmFMlvDJOfvYSz5geLypo ydAf1fJRjz8GQ+/YeX2vl88+04n/CxeNRwrnjrljJKMlIqpCcqw8CF2Hky7/NIYxWM6I zOtaQoZe1tot/0gPQUFKoDlc4/XWIWqYABGlaX4SUKCpOWFM1VUHD+MF6aYBFJNf7IUg Jo+J8ye7EIz3uBrLzNJlVHoRUEqowrs6NJZuuXMkuG1ayFbsWyswMmbxbMX8E+tk9Ho/ ll7+O2/vQyb2ddkU4SLI7tAfPeL/V9keDlv6RSBbCYJEct70FYOWAZ/FsCkWE0t5JQ/o /fqQ== X-Forwarded-Encrypted: i=1; AJvYcCXEcedpkgJlPXNrIbyPusqrmWmtvtt/Z8WuWlagNmhLhvdWwE7/1M4GQMpeWpOIjcpqfLgBlzQRKXQ=@lists.freedesktop.org X-Gm-Message-State: AOJu0YyOJfuJZoq20PW9FiLsLFT8R5SI8oHl4diNrK6iGt+5zbZ2AVws /m5TbtflfSlDtwkaCIi0mTJ5rSOkuWazSoEXQbCIrgeCiY02aqcss/xxrCaT7A== 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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>; From patchwork Thu Sep 12 14:43:59 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: 13802222 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 64F76EED60D for ; Thu, 12 Sep 2024 14:44:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E125110EBB3; Thu, 12 Sep 2024 14:44:45 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Hdd+iPNm"; dkim-atps=neutral Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by gabe.freedesktop.org (Postfix) with ESMTPS id 88EF210EBB2 for ; Thu, 12 Sep 2024 14:44:44 +0000 (UTC) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-718e11e4186so954966b3a.2 for ; Thu, 12 Sep 2024 07:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1726152284; x=1726757084; darn=lists.freedesktop.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=ENHzAa0J3LYULKcETMFEp8gDeg2pft3wUA50kLkpahc=; b=Hdd+iPNmDtnVmhPr7AYA1BdwmfEtVc7+GmVZ5IJlcmXJcrICXadbHQL1OV9djkYa+0 kL1ousBdQz9F6IVlNIOclSJCA3RevTJC0OVPeQYWLk0qqNhpoYrCgqGNM41DRNR4v4Rv vbvJ69Lxh7GRpc6ZBBQnUDgoJ4k9WSjiMVQtE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726152284; x=1726757084; 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=ENHzAa0J3LYULKcETMFEp8gDeg2pft3wUA50kLkpahc=; b=eADGQnKf2jDoYsAxANZKpoA/Aj7kAx++5P5jfRTjmOwvlqMZ9ldNx/3eaeIFCBezlh SWoU7Mj8OYrQoS6MrocsIdEzU0hE0r8KX91mYqKpKYhOtRVq+BXt1B1CZ1HZjn02Oyqn ZmqO41UwIs5ctKhvoqasD7BoIhVwUV/e3f9+fku+ErSuVR2D4wOKEELF49jphOWa9x7Y yKhsiZlyRuMNLCaTlUX43B0lVqfjggZiT/NsvLH2XwkeYngf6TodF1lmGYasGWvWot/b 49cmuhuuSRwk+poa5wMJ5fKf/+uaVFPIfjwgdgbIVQ8M+hZDqNSvJzASR/nc3wwrVhyg C3qA== X-Forwarded-Encrypted: i=1; AJvYcCXeJKpcrcyinSDXz19swnLxGXgGbhF/z7DoZyV/qykzp0m+qKvT2J84+dObINGVa9v7+1r77i6QfjY=@lists.freedesktop.org X-Gm-Message-State: AOJu0Yy28hSGXlx9FbS2Z8KJHo3ySzz/NtV/Zzs2QEnv2uw1WA3Tv+EK TvMAzKSXcQVnOVd9q7T++xlKZEyiVBHhqY64LPCKvyTnLv7sCVCoekynXI7U8A== X-Google-Smtp-Source: AGHT+IGmocmHhOdJqPoiASVWIbhrUvuzbyP0frIxr5SqJiWxgxpjRkvqPtBS2tOxjv28s+maVvPRJA== X-Received: by 2002:a05:6a00:1790:b0:706:a931:20da with SMTP id d2e1a72fcca58-719260654f6mr5526880b3a.3.1726152283924; Thu, 12 Sep 2024 07:44:43 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2024 07:44:43 -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, kernel test robot Subject: [PATCH 2/2] arm64: dts: mt8183: Add port node to dpi node Date: Thu, 12 Sep 2024 22:43:59 +0800 Message-ID: <20240912144430.3161717-3-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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add the port node to fix the binding schema check. Fixes: 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183") Signed-off-by: Pin-yen Lin Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202409110843.Hm5W9upr-lkp@intel.com/ --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 266441e999f2..0a6578aacf82 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1845,6 +1845,10 @@ dpi0: dpi@14015000 { <&mmsys CLK_MM_DPI_MM>, <&apmixedsys CLK_APMIXED_TVDPLL>; clock-names = "pixel", "engine", "pll"; + + port { + dpi_out: endpoint { }; + }; }; mutex: mutex@14016000 {