Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2654099rdb; Mon, 5 Feb 2024 13:15:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCFuXKpz0eOEgkZ5u8gmh9lV4mccRBnkaGrd9m7tsNnYsPYuc2H2YTWRewmiLFjUfe8+Yo X-Received: by 2002:a05:6808:2123:b0:3bf:bdb9:8d31 with SMTP id r35-20020a056808212300b003bfbdb98d31mr1230437oiw.7.1707167755137; Mon, 05 Feb 2024 13:15:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707167755; cv=pass; d=google.com; s=arc-20160816; b=zVqOLDLYTfsc7fkd65qoNj42sNxTGxI0cljwlZgLB+03V/478CUmzVf29TZSuSVsdB pvRu2a3PHDSKlVL9gdMHkiaQ8UzLi1pY+7O+s7xtSq3yWYnV1FYkRIGPxSCcS90eCeQh iCByx5EGcbr43g9h5lYIOZh3C9CnlSNGZNsoxB8hvkq32/htmm2HjAIQ7WYd8vrVfdZk 6jvYUjkZjJLVgSBrQ7xBjA5uTB3wMnI+lai3DrRio0CPGXYVhOgFVnbNIDCbsrM64kfx AyvOhTPgNIa1kslvitnRSwrDlEQ9oOLv+GFsDpxMrAbEcmN6DIkwssap921VmXWSybU5 g0BQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=38QCKZATxZ3Ak4/yk7wAqOTLAmJAWcqosUVuJfVLfUk=; fh=Fw3DOqAyUKmJkXOGaqmfFM3tjJAGKDhd2jjMrbhqMLc=; b=dhxpHZh4Ns1ot0xwpS2v6F+3/BzE3hL5zzYSWwdHHHhgO2jae09PBYIM97TzuiLuJ6 4q12wjjaA0yFKu9GZE2PwO2sNaac3Ow0dtpuR58ADUiIR+VfZ/qeMpRhFySsXk0p+fTv Lloft7PMtkG9XKc9ihrTgJMf+CbWaRF+VNZmHbbgn86yxzKJcKK0j4B/tQ1Sminshe9P xSIP+XmjhdwYizvyQ7R1jFxBHh71j0UGnp7A/jmgUz4Oq520H7oOrr1IDQXu8H3ogKLx IMfQoa6pSm5RUnI5YWoUcrQZYIFciV75Ve60xA2S6O/g40UC0aYGr/XbiD9U0FjNVZYS Wgmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qtKVLMrt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-53812-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53812-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVrJXMTfvI+qAj3vapM30Qr5ICs2pYAPrb/nUCyNfU62Sdsi+3QNF8hCIwWfKWWtiJ9TKryKjHQDrMvwNj9xYnuvUPA1AlxKQxfUllV+w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ay27-20020a05622a229b00b0042c31c39522si744240qtb.671.2024.02.05.13.15.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 13:15:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53812-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qtKVLMrt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-53812-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53812-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DEC731C250BC for ; Mon, 5 Feb 2024 21:15:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48DA256B6C; Mon, 5 Feb 2024 19:19:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qtKVLMrt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 652BB5577F; Mon, 5 Feb 2024 19:19:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707160759; cv=none; b=EUZlKqb3cMEre0JSsGWy0FQ6G6FbN0Z1kJh45Tej5f54yzziQ5CszOohAPDRTIXrU9WQSOaOAEFzTPrmO7UrceI+1y1/F3io/nBaagC2YhcSJjaoTsFPigPdOCprTh+dtWsLeJcGdeN3SKgMdjPeuZDFi/qJkNFCgoos513Ac9g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707160759; c=relaxed/simple; bh=IQgAhNiM9Q3k0p3uoVL7JBB79afL2zsOoVNpWvCcKl4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=It12AArVKiPGul/hgUEUFaesRwu1IyjhLuXNgE3UVV6Z5XXY6+rlsWO9LQpj/UcyGz6rghZnzAYWtkEn+USua0tFM+ml37lJRvq31i6mYiix0KijA25jMgaV/N7mEhNkDFu/VAvlbyp3bzIOlCZhdf82HNEyKKIap+Slc53irIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qtKVLMrt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68B54C433C7; Mon, 5 Feb 2024 19:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707160758; bh=IQgAhNiM9Q3k0p3uoVL7JBB79afL2zsOoVNpWvCcKl4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qtKVLMrtkrK2hMUJn94uioxTjvRe0KKC3dIcgh4mWv/uMQK3iM7kyMimKmR0kBweM 2VyhcNFlxjudSEn7ZKDga6Mtcj1PmYaCjnQFrlqWdldeavwXGpUYuoDcwR4yBaNjiy Vzadv3oNb0ObugFg5PT+JoDxRMND8EDRg7B5lwsMO46Hk6UHv2DjiL4MxyrpoRIn6q By68DuMz4rjTBxnWm8gPnpvcEAUo/aihoZ1X+SRyNWC2OPCZWE6k5XiZoULWw41D6Y ovLAm/Bievxa7cZT8ZStH2zGyjQkg3JLZMFlG62kCiyCS/cdypB2ZQ5vFFk3cqqcyR uze7Hi4MG6BQg== Date: Mon, 5 Feb 2024 19:19:15 +0000 From: Rob Herring To: Adam Ford Cc: Andrzej Hajda , David Airlie , NXP Linux Team , linux-kernel@vger.kernel.org, Maarten Lankhorst , frieder.schrempf@kontron.de, alexander.stein@ew.tq-group.com, Maxime Ripard , linux-arm-kernel@lists.infradead.org, Lucas Stach , Rob Herring , Conor Dooley , marex@denx.de, Robert Foss , Thomas Zimmermann , Sascha Hauer , Ulf Hansson , Laurent Pinchart , Jernej Skrabec , Liu Ying , Krzysztof Kozlowski , Fabio Estevam , devicetree@vger.kernel.org, Vinod Koul , Jonas Karlman , linux-phy@lists.infradead.org, dri-devel@lists.freedesktop.org, Neil Armstrong , Shawn Guo , Daniel Vetter , Philipp Zabel , Will Deacon , Catalin Marinas , Pengutronix Kernel Team , Kishon Vijay Abraham I , linux-pm@vger.kernel.org Subject: Re: [PATCH V8 03/12] dt-bindings: soc: imx: add missing clock and power-domains to imx8mp-hdmi-blk-ctrl Message-ID: <170716075503.138486.15196612878281167365.robh@kernel.org> References: <20240203165307.7806-1-aford173@gmail.com> <20240203165307.7806-4-aford173@gmail.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240203165307.7806-4-aford173@gmail.com> On Sat, 03 Feb 2024 10:52:43 -0600, Adam Ford wrote: > 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: > > [CRTC:39:crtc-2] vblank wait timed out > WARNING: CPU: 2 PID: 9 at drivers/gpu/drm/drm_atomic_helper.c: > 1634 drm_atomic_helper_wait_for_vblanks.part.0+0x23c/0x260 > > Fix this by adding the fdcc clock to the hdmi_blk_ctrl. This > should be safe, since neither this power domain nor the dependent > HDMI and LCDIF drivers been enabled or added to the SoC device > tree yet. > > According to Sandor Yu from NXP, "the FDCC clock is not for HDMITX > in desgin, but it is part of HDMI domain that needed by HDMITX. > So I think it is reasonable added it to the power domain driver." > > The driver also supports two power domains which are missing from the binding > that also fix an issue with resuming from suspend. > > Signed-off-by: Adam Ford > --- > V2: Update commit message to both show error and give a bit more > background. > Add missing power domains hdcp and hdrv as pointed out by Marek Vasut > --- > .../soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml | 22 ++++++++++++------- > 1 file changed, 14 insertions(+), 8 deletions(-) > Reviewed-by: Rob Herring