From patchwork Sat Jan 6 22:39:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13512835 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 266ADC46CD2 for ; Sat, 6 Jan 2024 22:40:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ib8dZr0ZGrgAamsqfYy2CEb2VeUcgILBetCrnwSAEDg=; b=2AyX9YWGO/oRyN dDPtazBebjfuyTiAjw/LjfaD/WCe3A/GSq8EjrAvFADqQhr/53emOLGAFTN23C+2qDV/mERhSdNUY Hb6FTZ1HjSxaXr93wPNvOICOuXUZHMBZYTp3Pku30GW5nRmP00xAg90egri21RUQYN62APngnu5Ow Fg2TFeFf+inFe96x4Ui0oyjSgjT+J4AkXX5ytOBQ7KPo9wl551sclvOno+Wv8nABQ+uKHtNrFgHXo icPT4FL8lICugeROWfaWW7JG4V5mHSbjcQv6KUTvxryZwEyRu0DOXf8G3yHRRYy/htDml/gJM/C9p OFm1JPN+z5bEYGJ+U3Og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMFKq-001yvD-2c; Sat, 06 Jan 2024 22:40:08 +0000 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rMFKn-001yub-0s for linux-arm-kernel@lists.infradead.org; Sat, 06 Jan 2024 22:40:06 +0000 Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-36071910050so4080095ab.1 for ; Sat, 06 Jan 2024 14:40:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704580804; x=1705185604; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=c8cx4G027Gz6iFuAIfhaAQlzyB7pPX4ipODK9kWLrHg=; b=DKHowjnAfFzu1omwxVQ8le8kdQOfKorZ6ySnT5KEnqZj+bJBkZb1WJxSgjmmf37MBx AcoxxWzb0LGj8pxS+3WyDxWpFj+Jh1rBzaU8+TwvOLd+6Hw522YOa+5CzWaTjm/PjlLd pSVuLwPyFSiwqkRM7y4W9g52TvhyJ21YhCEjJp8IF/KGKZus053kLSMrjbHjH2ukudji mnSHot16uWdMiOPRWYAlRaYheFGvmkyZdMTYumS45KnVBy6Lna03jcKGIKsqjwETWt8A d0i7i8tpHqG7Yv6OP7A2/wMknIfhBNqE4Dm+niz4OPp3zPGG/50DVGtx8CMfpRupl/9a 662A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704580804; x=1705185604; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c8cx4G027Gz6iFuAIfhaAQlzyB7pPX4ipODK9kWLrHg=; b=lvzLT3r2bQG/3KVhJoq4ijOYym5+nW7Vx2W621JcPmuGTrMtKUxe5FMoMwKG6Y+AaT r7qlmM1f6YwDRJl2TYoIuEMDVEIGUm1rdr2AOWHNA/6G8eOzB8uGxeDuQILXXZrjvfh1 TaZ4tJUDAeLmGytWphcqJ4OUsvM90aoPRkSssGoun9YbaqqdF6GQ+yGothoeaYMLDSID /ivTP6/T6iacvsz65dj50wVVn35KksnB0i0uiUvg7zPtstgfwPhetDyONf4j0UaJmW9Y Crcy++YjVlbQ/4YoYxLYIuvQX9fi6zUH4Sm6FaRfnXUyrcTbInKRx1mxWATCGtCD3ZQ8 9pkw== X-Gm-Message-State: AOJu0YwHZEIBlz0FQyjN+ra0+pNNyHkTQO46rl5NwENqnhu6hYbkz6TC 58W7cM9b8QVGuojiNEB7oWA= X-Google-Smtp-Source: AGHT+IF4ssqcTFHr3Jn08b3Gd7DuE+48XGfS+pjvMKa/I6ROTT1Ogk6JfMsJzI/AFBbKn9NBmODzPw== X-Received: by 2002:a05:6e02:16c7:b0:35f:f707:46ed with SMTP id 7-20020a056e0216c700b0035ff70746edmr2343459ilx.5.1704580804057; Sat, 06 Jan 2024 14:40:04 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:af2f:17f0:33a3:d6fe]) by smtp.gmail.com with ESMTPSA id l13-20020a056e021c0d00b0035ffe828182sm735346ilh.37.2024.01.06.14.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 14:40:03 -0800 (PST) From: Adam Ford To: linux-pm@vger.kernel.org Cc: Adam Ford , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Ulf Hansson , Lucas Stach , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: soc: imx: add fdcc clock to i.MX8MP hdmi blk ctrl Date: Sat, 6 Jan 2024 16:39:48 -0600 Message-ID: <20240106223951.387067-1-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240106_144005_310515_8F2899A9 X-CRM114-Status: UNSURE ( 8.84 ) X-CRM114-Notice: Please train this message. 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 Per guidance from the NXP downstream kernel, if the clock is disabled before HDMI/LCDIF probe, LCDIF will not get pixel clock from HDMI PHY and throw an error. Fix this by adding the fdcc clock to the hdmi_blk_ctrl. Signed-off-by: Adam Ford diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml index 1be4ce2a45e8..741b5d8da4bb 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml @@ -42,8 +42,8 @@ properties: - const: hdmi-tx-phy clocks: - minItems: 4 - maxItems: 4 + minItems: 5 + maxItems: 5 clock-names: items: @@ -51,6 +51,7 @@ properties: - const: axi - const: ref_266m - const: ref_24m + - const: fdcc interconnects: maxItems: 3 @@ -82,8 +83,9 @@ examples: clocks = <&clk IMX8MP_CLK_HDMI_APB>, <&clk IMX8MP_CLK_HDMI_ROOT>, <&clk IMX8MP_CLK_HDMI_REF_266M>, - <&clk IMX8MP_CLK_HDMI_24M>; - clock-names = "apb", "axi", "ref_266m", "ref_24m"; + <&clk IMX8MP_CLK_HDMI_24M>, + <&clk IMX8MP_CLK_HDMI_FDCC_TST>; + clock-names = "apb", "axi", "ref_266m", "ref_24m", "fdcc"; power-domains = <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmimix>, <&pgc_hdmi_phy>;