Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp67713lqb; Tue, 16 Apr 2024 09:01:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/Kz88hVZXBhIcLbGPnON6PzK/uw90a44xL+4JbvYiDc7f3qBwGuXt/tjxOusjE2r9w4hhrJZMUoRDIC7UMZ/M8O4qkmzELuPRuUUyng== X-Google-Smtp-Source: AGHT+IFZIzaKttSDscE8Pgikjc/5NixrBdWkkxS7vq+/kOqf8gLTsweiipIzblCv7KAEeFZox4v2 X-Received: by 2002:a50:8717:0:b0:56e:3078:74 with SMTP id i23-20020a508717000000b0056e30780074mr12212797edb.31.1713283297102; Tue, 16 Apr 2024 09:01:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713283297; cv=pass; d=google.com; s=arc-20160816; b=yMEbA/8U8tEVBYbVT/2ZM0zXDgxbYjPjphXw9JGD8q67HjlFo0oRH/KLtnKmFEkuIy TT7LmJEblR5YsdCC4HP6opuy1SFhtNqO/xZDdd2NReJKcxOstqiu7daM/6c7c8XctRM1 NARIiSy9DNIoyKmeHu5m6+MvwFC+b/J/oWlSBJCQFbaBsSRbfFWifMyOQO58ox9YrC8/ FrUev6DkGN8Buh1CConJzc8wKJVA2PjGgTvRuyJFymbjdq3dv3KUtxBXXI+O554NB0LJ 4Y/Ov7EPaDqhDC8tJXcN/48qL7dTAuzD2QjgGml+4Wcnc8JmQOPjDT0M90oOCsxRhiiL kTng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=7qh9PxU4hB2rhg7F6m0ON5sprlF2NLZLAaf9QKMnEl8=; fh=CeckCjE04CsXoRWvUTLZ05n1BIAyxi5RslsTlbrLec4=; b=SZE+e179eFPJz0sAG+uqHsMVe4HWuB5TEHOmArJyS4KQ8A9le23VtPtuJ579iQgbRF Zw6IRVzyUMQteTYaMKY7mVzg6TV9JkudGmtwksWNBRgyOknO5kuFkios6zaxXdU4HoXq zbXnmd/6QQY0X9l4eDdEe+FgoEXu919vksnISrsyQIauipAP/VWgf240bBrfliDxwEYi TYOEbdMDgOnVGHqYqigSPx1GomWezhiwJkrQ+41Ya6QemCeD1G0mmpQsNC40uP2bULqm B5rY5SxzSaRdfAWHS4RS1g8VsyG28SW/fFiwkbprnM98KcbLtn5ZuWu5IxNawxywvCXY jaUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=2mvFo1xG; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-147170-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147170-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w14-20020a50d78e000000b0056e5c018780si5985763edi.594.2024.04.16.09.01.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 09:01:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147170-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=2mvFo1xG; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-147170-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147170-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id A55301F245A5 for ; Tue, 16 Apr 2024 15:56:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1135C138484; Tue, 16 Apr 2024 15:53:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="2mvFo1xG" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0EB413790F for ; Tue, 16 Apr 2024 15:53:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713282811; cv=none; b=Y/MxoipWPgSZE4ME0eH+P5+ZuTNGzcqpXlAWUtjL8dPEHD0TpKiobKQ/13ZpPLDIT7uyTmpTsusilzlyS+oROc+/7qD6Yy0JWIYlwQ0qI6GM0iq541LcuSBF+hMJJeRp9KZHBEszAhLIYGJNMprMuGRFqOs0KIKqnGyaAC+5Lvs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713282811; c=relaxed/simple; bh=71/hK7M+iGlW9MxCcEOGM/GxmC2HFwhgUk+pNO21FM0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H0XcrXNkuFDYU6Awbvn8AjFRwCVn8KOzEWhjwAwDzLcHpQ1wqV7ACj9d9WOzIZW6k8GHgAtTnXBJMKGpJDIzDNEdzLGiAQPqmueak7SnaNerBA9rzbupdQoqqM9kV3BGUNGDp3jiTJKPL6/rf8iYQr0jCdgGRkTQjf8eSZdg/88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=2mvFo1xG; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-56fe7dc7f58so4229992a12.2 for ; Tue, 16 Apr 2024 08:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713282807; x=1713887607; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7qh9PxU4hB2rhg7F6m0ON5sprlF2NLZLAaf9QKMnEl8=; b=2mvFo1xGt3X4ynokpML6GsOJUClY78xQqS3uakcnXNj3lOwWmfIOlC9hSYGDgszQR1 65BfNU2oks0KKGXIhQBd5RHanjJErmOnBlz4qoMUZQzdoy3VkfBusT1cSBfsNZ2xgki4 JCGvODgTGuPIugGmP+tHZzC55mH3uzqA4DnxaV3Z6GlOrpXcU6pCM1cYc6Zqk1S7Q6Hy LljCO5As5w0x1PRFu0Vkg9ZFFyJHIS//mwTQnPUUT/LFP+zhTeFD68Kf4LiT+yIUcWjn V8ErCudG0OkvABG1hPjsTJ8jQUpDaMrQXi23jIpaltimk8qw7HPBLrdDnu1L2WZ5rxAF U7Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713282807; x=1713887607; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7qh9PxU4hB2rhg7F6m0ON5sprlF2NLZLAaf9QKMnEl8=; b=gcuEDciSehWge+UmB2iAY58CFRtFkGmt795+g+BAQhfY7P8BNhJQhD+VV4Umea3BHr 7B/I5knsJa+741r2z12vtqVXJhDp8HPOo/8qon81yNijnXXfxAuVpmznAwn45Shs1gV5 sCrzgMQACL47JPaQNCuovuVF0Pfu1oC+xVp5hyPyX1mQs7DAl2n07el8VivDNcyx0BCz YJiEXPFlWCRAG0ITosGYVEK9dXGUjJkrb9zedvI4UEPfcslmDOg6pB8yg+YwIjvREUF8 OFkH6Ny/uS64OL5hyvjbP1zdbt2NsIh87ZWcLksQhRqg5oVa+15aRUQ0BVnJUyeifbka Zkuw== X-Forwarded-Encrypted: i=1; AJvYcCXyuR5kpgnGpTC5N7lSaM2s0Dkino5ffDMGrPDLOJd87nefZQFeSO3coeLANv0EnIEYIoP5rtcvskP5r3F3+Ks0Hr3FdKmqPllE/OXc X-Gm-Message-State: AOJu0YzKGW56QcigUBRqUM6ByBK096r9WBxUx72Qzt8lfGEd0AfFM/4o lUAifzp8LovM0wb9KIP9q8Q94lyU4U3Uy2pe4P/YYHnU1cZVy8pRRMywo/MhhfM= X-Received: by 2002:a17:907:36ca:b0:a52:551e:7502 with SMTP id bj10-20020a17090736ca00b00a52551e7502mr8380201ejc.9.1713282807516; Tue, 16 Apr 2024 08:53:27 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id d12-20020a170906174c00b00a52567ca1b6sm4156691eje.94.2024.04.16.08.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 08:53:27 -0700 (PDT) From: amergnat@baylibre.com Date: Tue, 16 Apr 2024 17:53:07 +0200 Subject: [PATCH v2 06/18] dt-bindings: display: mediatek: dpi: add power-domains property 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: <20231023-display-support-v2-6-33ce8864b227@baylibre.com> References: <20231023-display-support-v2-0-33ce8864b227@baylibre.com> In-Reply-To: <20231023-display-support-v2-0-33ce8864b227@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Catalin Marinas , Will Deacon Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, linux-clk@vger.kernel.org, Alexandre Mergnat , Fabien Parent X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1609; i=amergnat@baylibre.com; h=from:subject:message-id; bh=P6NTpV6Hcl2nq4Xnripe5Czc4f+S/tebkAJSAKKZfY8=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmHp7q7A3lCxlMP0/HKhvtUiqGnm0iuZfwyvQOOBOs O6ocHteJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZh6e6gAKCRArRkmdfjHURUboEA CszLi6XJJcSVfKekD6IFu8zgjjPhyOHS6yOkiwK1inBDCiL3iYY9FBJJODWPA45yDccHp+kS4CM1GI NidF35oVE8KzVxPLph5vvUjfTxPpWKMuZwCMiXrOxD4YCqgtruDi6/6+ksSklxTXykiDoXer95bh/Y 8eMnvUYTqO56etpeuErbtPrUhT4J1A41d3l7pWDN40+/KUnp36d+I/RYO7BIdBHTTQrZ/eJ5Uew0/a A7MjRoAHfoL/OEmgEIdAmOsFJKqTR/ixYvBJc/dTN9XshT2UAozJ6LhB4kiJ4ztGMm3xmPyIWeXg8s quX+bzYiYIXQnJzLJPL4UG3Y8/TUKzTC3tVajNjQKMqB2464mzI+0hfvz3ENLxmn2/IjN/nTbnkAeG V2t4/XyTcFKp+pMx9GgBFYcReVm4R/jYTnSNeCbo+cYKyhWHBiWdsAKqisWBXrduxVPO3Kd5YKHdwQ Nan0eLZTWTPJ5EjqQvp1YEM9IiQ1nc06gGpDpZnUJPi+nBGb43mp7BXlRFovjqJi9eB3yqfnLTpucj k8/7+2ZXJYtCi5i8D8Uzq6FWSrUUsefx3izGPKRDfNNQUtHjFs+W+C6Nqk4aH7qJ4+GQTkC2z84xgM trLY+7vwAgVDrICwYMmqmo8xqFYYrarWAME8lE4m6l1YvqB+8T0sfoZEGCng== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 From: Fabien Parent DPI is part of the display / multimedia block in MediaTek SoCs, and always have a power-domain (at least in the upstream device-trees). Add the power-domains property to the binding documentation. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 803c00f26206..e126486e8eac 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -64,6 +64,9 @@ properties: Output port node. This port should be connected to the input port of an attached HDMI, LVDS or DisplayPort encoder chip. + power-domains: + maxItems: 1 + required: - compatible - reg @@ -78,11 +81,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>; -- 2.25.1