Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1270096rda; Mon, 23 Oct 2023 07:41:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvprboYgWlqnRWqcn+WrcbnqTxy+fQs58XK2/YK8L2OeeV3L4gqBE/PiA+Fso6t/FgxxeD X-Received: by 2002:a17:902:dac5:b0:1c0:cbaf:6954 with SMTP id q5-20020a170902dac500b001c0cbaf6954mr13787843plx.25.1698072087667; Mon, 23 Oct 2023 07:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698072087; cv=none; d=google.com; s=arc-20160816; b=I8NA1tEQm3UzGRzCJvedl8H+cAhokUMOp/esD56YCyfwiBNOHh4F5cAmqflvPpRrLK 4j/8XwlyQYfRRNlR4mzVmAiuPi3mfpMQxiT9oYcwVxJ+YAT4UVO6660l22OpQaA4rkG/ Wlguh4WTI/KVG4cnaT0ZaJjHdJ2eD0B3kq+Wtmd1y+mtxQCHx8lFf2PxyGG/k6Yud5ZZ QAEYXFlZsYoDDfSMtJV+ggGN8Bk2EtSRBvnNh1PyL8aeh8yBbB4MjI6a3Yi1i7zhU05H 0OIw/Q23XA35Dn+eZsMr31EesLmuXoyy6bpN4KlBqELWYMd4KWE5ltxBGqhn6qe6fFUx AbtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=7qh9PxU4hB2rhg7F6m0ON5sprlF2NLZLAaf9QKMnEl8=; fh=7mujd1y9Yg+tisUxafGKZLIGlzUfDWh1y2rkTjxT0Aw=; b=nWQ2pPkRPZiBXpBtBreYYn9MVlsyk2tHE5GTWkNQ4vcyverfod0+capVxD1GDtJGAD QW43Hy07cququFzI5/zyx8pmftneMfTh7ICI7uPi2ckEojIvQXUWIjX7OI0c96aFe2Jf qKRKTGjFzYZGHQyJqbqC6vSCilfC1+gzfe9h7NDPmrFOhNlicKTLKi8fNLjwon70LceL HvgYHuO2y7kenSFarJcns7yV+2o8zhEynr29BT1nkl+yAE7aBgb4ZTdmYYm1FP8JqksX 6UoDOTTXnrhnO2wtzADQ40snBNTH9+BLhZwD9dwBZjw2lPxcakKJNGO4xESCVwNmkUuq 53AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="z/LFXUO1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id g9-20020a170902c38900b001c71eed110esi6516947plg.254.2023.10.23.07.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:41:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="z/LFXUO1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A41618062791; Mon, 23 Oct 2023 07:41:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233690AbjJWOlC (ORCPT + 99 others); Mon, 23 Oct 2023 10:41:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233657AbjJWOko (ORCPT ); Mon, 23 Oct 2023 10:40:44 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 088B810C8 for ; Mon, 23 Oct 2023 07:40:40 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-77063481352so357228785a.1 for ; Mon, 23 Oct 2023 07:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1698072039; x=1698676839; 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=z/LFXUO1j/nkkF2vKn69H8Z9zoMpqHVeasIXIjeQztHA/DHKtmWT3sXNSFeN8DFDmE K1yw8bTJ4NOs5hpYJ/DTbv/yNUXPuLG2YKH7UPKXwV2ELB1VL+NzLto/ev+XTLftvvCl vmRJL+f5Q06Kw4nfRdMBmVANX+ShOqH73uEMQDeWPeNyR+WWWyMME8nrkoD0dd8teD/3 xj8ryOS6/CilpqKrVn3jeJeZZvUeuxtCtKNGo8dZQ8xyZ5iTiviPm+nf8IH7QBmKjlaV hWEWALT3l+ZIEd3dAq4h03eyYZOdb1tT1StnD2jiF3YEc7MZP8a+cUkqo31vweNMH2Lj DnTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698072039; x=1698676839; 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=qtr4Abw9z/9tUVGVsvdwN9e8zTmEJlDzFPVbRQagwNUMU9mF5oioH9rRBw8r/iNEv0 KENrDapoodenv38Bu0mU6XCheGx+S+0A3xfCtAv6hHIqLwJO6r7vYF58iq1hFI7ax3WS SulKJowDlKSQN4az+EYUW5M6QHWIFnrz9Bt0cnx4Wv382jLh+FV2Ja+7OXIIIVc/oIPC tb4FVWL8YMj6TyRdoZCkgqmpas0z9c/+L2dZwAvBxL0fobFwVriKMyglHBkW4ByUuIBy IRWKm2m9cAENW0SaKYHvQ3aHM21VMXTd0DNNAW9HVjlknRsoy9k3o27M4mNmsxk7Ay42 aHZA== X-Gm-Message-State: AOJu0YyLOnKXilI4RNFRa9uZHkCnviuPldSH1gC8G+Vu+mLG4fj/7vOl qFmnu47Wm6bMH72v0xb4fuf4Cw== X-Received: by 2002:a05:620a:2590:b0:76c:a952:c70f with SMTP id x16-20020a05620a259000b0076ca952c70fmr12157510qko.35.1698072039552; Mon, 23 Oct 2023 07:40:39 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id f1-20020a05620a408100b007789a3499casm2725020qko.115.2023.10.23.07.40.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:40:39 -0700 (PDT) From: amergnat@baylibre.com Date: Mon, 23 Oct 2023 16:40:06 +0200 Subject: [PATCH 06/18] dt-bindings: display: mediatek: dpi: add power-domains property MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231023-display-support-v1-6-5c860ed5c33b@baylibre.com> References: <20231023-display-support-v1-0-5c860ed5c33b@baylibre.com> In-Reply-To: <20231023-display-support-v1-0-5c860ed5c33b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , Xinlei Lee , CK Hu , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , 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, 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+MdRFAcsmYgBlNoXPLAFxugtO1wZ1wc6FF7eR6Teq9Ksq5ScGKNOo wQqT5GaJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZTaFzwAKCRArRkmdfjHURU8PD/ 9nARfanwZ43dC7K38128J+6s4DtRyTG8Hj37dZv3E61VaZVngol48cTkmXw090pPu59i5eED3Je7Zj j23oVIMjIX68q/zeBxDw4f2iBdqzrQpcfbYsEJM/wyt9jzk9K0d41kVLw2EOuf/8CcnISQFn9v0vr4 Ba3mxWWRTn3rke0AR8IAfs/3OVQrzxbT1/9ZYihMIic0eoBoE0rHOxX1qgAux2bzUPRkTjecZF1NZE 1t8Y+rNbCXFXtynEILOxuQeYMSudfUWkLJ3DmObNMbbcMvXdcBKq9TWTRn3nu26GnrnyKMyc8lt32s +eybrWvI8JX0OlCT3qtGZKq6DjCs/2YiegaxQnAWVQqwQlmbvSy7i182JHCPHmsdYy48fpz5pyAfQN tX5f2ghH3h90rmfwd80LH3T5u69lBpIUgNl3xs56SqCZcESvviuxGUEdKZRcWKHHAQlLr1Qx58vfnY 4swHECrNRS8mQvQk00mISHgkWFE+FGp21hFuG126GPOpCSQetVNlq9Y+vLWL3hTuYAJTtcsOPFdm2I pfljEC21uDHrwGEdXicc8Nsm6w40nIkw6t71siqyx0vgQ8PchwCecgKZWz/2yuqO2XlOaICRDtbhU4 4Cn75XRdTzR6Ax/7Q/RCVx15kQa1IubAdplkKWdvRb+g07dHmShLPZJgHFTA== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 23 Oct 2023 07:41:21 -0700 (PDT) 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