From patchwork Tue May 24 07:39:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12859775 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 0DA20C433EF for ; Tue, 24 May 2022 07:40:57 +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=pB66fJKnX/BoQzRMvIu60f/vdJxwZhMFjiGZp4M3n7I=; b=Ps1bAHW9bLL/yN PR+/QyKIhSppzj9WSUEovcCHRmF/LmxVilv2Rx/8sd3T4ZAa4NoKgYQRv2DZCdz+tRDxdtJMsWsON zxIq3SLPZ4vpSJxmc5jRzAGPOXCOUtToD21OE2oGyQLAiduPpUAb8ZIkM2r2TYOM7x1vNd4zx1jhA 70xfBwUq3l8VhbJs3EiTgiuEEV2BpSMyhspKP3Qei2oc1zikdGrI/n3Fe3SWMl7zthsAtr9DDSkij 7h6mcHPQ/sYeB/zu0hO4vArH02ccdNhRRUu7XdqkkLkXTuqaTKREHm9IR6M7T0h+CRD+0pwH616m1 JMvKBjtjRrVWdl8/Z0eA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntP8u-0077Ur-Bi; Tue, 24 May 2022 07:39:48 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntP8r-0077TA-4k for linux-arm-kernel@lists.infradead.org; Tue, 24 May 2022 07:39:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1653377985; x=1684913985; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xcsX3yPCMaFoEC35/gMWh1v3N6edxMJPV6TnwNXBsGU=; b=chO3CrXAwXpkluewJEhVAOdPNfwj9NJS4/6EaiBPUbiiRrkZBKN0rQIH tAOlixLA4t1sswXf8r3LtJzU7MUuUeJENZIBKQEDygoG0IJ9Xz1/dhSZT hnObswaKj+OopD3CGloVJ/4+8g7euGDvMww0/x+H/AmkFaFwiaJrzQ881 +06r0w6wfMP+fcViXtWdmd0ImcyA7dthmIV46iYnpyb+IJS1JJdlzX0ik 5+UCk3/Ile9rFHsMeAKbw8MNMAJxS+w0JopiTbSm/Wk3g46YCV0XV8LDh I/JCBIAEfi2VPMDpgTXIcaxpl0ikgdUBw+M7drRNnqhC+w3msdHJmm1V7 g==; X-IronPort-AV: E=Sophos;i="5.91,248,1647298800"; d="scan'208";a="24052452" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 24 May 2022 09:39:41 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 24 May 2022 09:39:41 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 24 May 2022 09:39:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1653377981; x=1684913981; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xcsX3yPCMaFoEC35/gMWh1v3N6edxMJPV6TnwNXBsGU=; b=EwbhLmUp07m4kWNxyxHCd3+ODHHpdb7mAbaij7Bv9yuwIJoxsBeoZTOr FPqrKgWjvpLNsfRh+sTF/th2yB7pgWAUfxz3AyO/a8cKojoimTlujfw/F 7N2/5DEDmGNRgh9Cx9BYfxOAvHksfwP0N95/c+Gm0JYiyHO7Mnv5JYsTK nbAbDVKxTvQcOlDoUs6EVNXE7XWYDRnQj7lzAoofpS9mbd+QY8i5d4Va/ gcSIXT9Hz7QQUcpVPaO+J2RZWSlnN3sJEO42T3qaeXQs+k7dtyAswF1sQ b4NC5E23vemqbV6nUrXGprCsjds3VzrrePJnqfXEBs055TMAn+2TwKxGO A==; X-IronPort-AV: E=Sophos;i="5.91,248,1647298800"; d="scan'208";a="24052451" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 24 May 2022 09:39:41 +0200 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 19A8E280070; Tue, 24 May 2022 09:39:41 +0200 (CEST) From: Alexander Stein To: Shawn Guo , Sascha Hauer , Fabio Estevam , Lucas Stach , Adam Ford , Paul Elder Cc: Alexander Stein , linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] soc: imx: imx8m-blk-ctrl: fix display clock for LCDIF2 power domain Date: Tue, 24 May 2022 09:39:34 +0200 Message-Id: <20220524073934.319134-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220524_003945_618437_BF79D03F X-CRM114-Status: GOOD ( 14.82 ) 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 LCDIF2 has its own display clock, use this one. Fixes: 07614fed00e9 ("soc: imx: imx8m-blk-ctrl: Add i.MX8MP media blk-ctrl") Signed-off-by: Alexander Stein Reviewed-by: Paul Elder Tested-by: Martyn Welch --- I noticed this while trying to get LVDS (on LCDIF2) working. Apparently it is not strictly required, but better to have this right. drivers/soc/imx/imx8m-blk-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/imx/imx8m-blk-ctrl.c b/drivers/soc/imx/imx8m-blk-ctrl.c index 7f49385ed2f8..7ebc28709e94 100644 --- a/drivers/soc/imx/imx8m-blk-ctrl.c +++ b/drivers/soc/imx/imx8m-blk-ctrl.c @@ -667,7 +667,7 @@ static const struct imx8m_blk_ctrl_domain_data imx8mp_media_blk_ctl_domain_data[ }, [IMX8MP_MEDIABLK_PD_LCDIF_2] = { .name = "mediablk-lcdif-2", - .clk_names = (const char *[]){ "disp1", "apb", "axi", }, + .clk_names = (const char *[]){ "disp2", "apb", "axi", }, .num_clks = 3, .gpc_name = "lcdif2", .rst_mask = BIT(11) | BIT(12) | BIT(24),