From mboxrd@z Thu Jan 1 00:00:00 1970 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 94436C7EE29 for ; Thu, 25 May 2023 10:27:08 +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:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yGMovVXHgLWUl9Iq9XrTtrNa1g4ApD53/avGw50lwow=; b=s2SRrDPH4f1Zpg 0ZlUqErFILlfTxguf3lIxGKCTqpSbhJSU5X50rGn5nXKTQrVHZc87EilZvY74nBH6BQkY15qMxhJR 7Z9/CsJuoyI4UzfqhpJ6jApD8jhH+uyUi+RcozUhS3Vo8hrgkHXziP3peWDMmB8jdN9SAHDN2xrJ7 QeLYTGEuLmIAS8nnuTo/LRCk1IimZnQ59AN/NUfWKxVpCwMjlilcSw48+N+GRKF4yyD+xY6gKQEO1 kjwwe0lqM/pjQz9XbQBrwn8S/Cr/eb1Bc8OKKS0IlOfgzJcqH094r2O6xYWJ1gcdYd00mcf0LvE1y ZMIXOpIHIQz/vvpYGB2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q28BA-00GGqU-0p; Thu, 25 May 2023 10:26:44 +0000 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q28B6-00GGoP-2S for linux-arm-kernel@lists.infradead.org; Thu, 25 May 2023 10:26:42 +0000 X-GND-Sasl: luca.ceresoli@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1685010392; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iu0POdjk++H35cXbE2Ee+74QXFJBhyTZ9PeOZkCq18o=; b=GXyF5OzUaELP8Bh8Ujww8pWQ7q3IZjy10QUyrWKawyjtr3MMCD98gyNFRyYORJZSEyhw6k 8jEty/5l04K82Ge1Jafn6I7+5bG/j92QWPF3y+/QQi3axpwxsbe9z/TQI71KMRNPwtCwrU 1G+8+oGyc0j0DEVcZkUZs4A+nKda5fCArtthsBvkIY7pUznzmY9QTREaBwFJw1Ph+Oasf/ OPXtozyzthJkvfSCVjndVhogqB6ngq1wo656OcSWJj05aCWBXayCPvLGZ5oDg+VRns78mo y8J/W0gfFg1vmiviek1gIgff8uTD1iE1j/ulBAwzW9j0//yhFtQgMu86jqjIxg== X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 0C0E31C0008; Thu, 25 May 2023 10:26:29 +0000 (UTC) Date: Thu, 25 May 2023 12:26:28 +0200 From: Luca Ceresoli To: Lucas Stach Cc: Shawn Guo , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , NXP Linux Team , Marek Vasut , Kieran Bingham , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patchwork-lst@pengutronix.de, kernel@pengutronix.de, Adam Ford Subject: Re: [PATCH 4/4] arm64: dts: imx8mp-evk: enable HDMI Message-ID: <20230525122628.13b0f28b@booty> In-Reply-To: <20230302163525.007503e4@booty> References: <20220826192932.3217260-1-l.stach@pengutronix.de> <20220826192932.3217260-4-l.stach@pengutronix.de> <20230302163525.007503e4@booty> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230525_032641_115972_859EB01B X-CRM114-Status: GOOD ( 22.00 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Lucas, On Thu, 2 Mar 2023 16:35:25 +0100 Luca Ceresoli wrote: > Hello Lucas, > > On Fri, 26 Aug 2022 21:29:32 +0200 > Lucas Stach wrote: > > > Enable the DT nodes for HDMI TX and PHY and add the pinctrl for the few > > involved pins that are configurable. > > > > Signed-off-by: Lucas Stach Any updates to these patches? I haven't found any v2 on the list. > I'm joining late to this party... Is this the latest version of this > series? I haven't found any more recent, but if it is not the case > would you point me to the most recent one please? > > > + pinctrl_hdmi: hdmigrp { > > + fsl,pins = < > > + MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x1c3 > > + MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x1c3 > > Is the low nibble (0x3) right?BIT(0) is reserved according too the > reference manual. > > Also, all the non-reserved bits in that nibble are bits 1 and 2, which > set the drive strength. For an I2C line it seems that the minimum drive > strength (0x0) should be enough for an I2C line: with any drive > strength setting the supported frequency is >= 65 MHz. > > > + MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x19 > > + MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x19 > > Here as well, bits 0 and 3 are reserved. About these pinctrls, I am using these settings on the MSC SM2-MB-EP1 board and they appear to be working just as those you are using (but I haven't tested CEC): MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x1c2 MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x1c2 MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x10 MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x10 Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel