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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64BF1C433FE for ; Wed, 24 Nov 2021 16:30:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348901AbhKXQdg (ORCPT ); Wed, 24 Nov 2021 11:33:36 -0500 Received: from mo4-p03-ob.smtp.rzone.de ([81.169.146.172]:20586 "EHLO mo4-p03-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230403AbhKXQde (ORCPT ); Wed, 24 Nov 2021 11:33:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1637771406; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=x/yheI97VKaHNQMVbMflabvGwLK6kwR6cdJb58J0b+M=; b=X5qgWtSV2Jv39KDkxgjm++dWI+CIo/cr+nLfLTFbLP74KBTp5lE6t/INRuv8CvNwoL HUpmqcyOPyH/UfMRrphBjTwYQsdoK5Ak0haFOIMqh2LfQyUO1J92va/zuFUgEdMIOtRz ZpRr/rUuR98OZX/DV/eHdahBtzI8R/dlmpulgwIxTf2umATJrYIWpbMVBZ2sOw4dcKAC TwbduGyrpLQ01vofifqm6/7Igbopmp+GorjDiBEptOCEGi5204TIk3nijGKYfEkfZb+l cnya5LbSRhx91IEfwEHyBoirO+oKW1V7UzRKBGRgokeNXbjOg6xSx6+wgyJXF1LNEiID fy3A== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7gpw91N5y2S3jsN+" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 47.34.10 DYNA|AUTH) with ESMTPSA id e05ed8xAOGU53om (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 24 Nov 2021 17:30:05 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH v8 6/8] MIPS: DTS: CI20: Add DT nodes for HDMI setup From: "H. Nikolaus Schaller" In-Reply-To: Date: Wed, 24 Nov 2021 17:30:05 +0100 Cc: Paul Cercueil , Rob Herring , Mark Rutland , Thomas Bogendoerfer , Geert Uytterhoeven , Kees Cook , "Eric W. Biederman" , Miquel Raynal , David Airlie , Daniel Vetter , Neil Armstrong , Robert Foss , Laurent Pinchart , Jernej Skrabec , Ezequiel Garcia , Harry Wentland , Sam Ravnborg , Maxime Ripard , Hans Verkuil , Liam Girdwood , Mark Brown , Paul Boddie , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:BROADCOM NVRAM DRIVER" , Linux Kernel Mailing List , letux-kernel@openphoenux.org, Jonas Karlman , DRI Development Content-Transfer-Encoding: quoted-printable Message-Id: References: <04F0ED7C-3D18-4CCF-8F10-E0A36B0E4F4B@goldelico.com> To: Geert Uytterhoeven X-Mailer: Apple Mail (2.3445.104.21) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, > Am 24.11.2021 um 17:21 schrieb Geert Uytterhoeven = : >=20 > Hi Nikolaus, >=20 > On Wed, Nov 24, 2021 at 5:19 PM H. Nikolaus Schaller = wrote: >>> Am 23.11.2021 um 21:10 schrieb Paul Cercueil : >>> Le mar., nov. 23 2021 at 19:13:59 +0100, H. Nikolaus Schaller = a =C3=A9crit : >>>> + assigned-clock-rates =3D <48000000>, <0>, <54000000>, <0>, = <27000000>; >>>> }; >>>> &tcu { >>>> @@ -509,6 +534,19 @@ pins_i2c4: i2c4 { >>>> bias-disable; >>>> }; >>>> + pins_hdmi_ddc: hdmi_ddc { >>>> + function =3D "hdmi-ddc"; >>>> + groups =3D "hdmi-ddc"; >>>> + bias-disable; >>>> + }; >>>> + >>>> + /* switch to PF25 as gpio driving DDC_SDA low */ >>>> + pins_hdmi_ddc_unwedge: hdmi_ddc { >>>> + function =3D "hdmi-ddc"; >>>> + groups =3D "hdmi-ddc"; >>>> + bias-disable; >>>> + }; >>>=20 >>> Your pins_hdmi_ddc and pins_hdmi_ddc_unwedge are the exact same? You = could just use the former and pass it to both pinctrl-0 and pinctrl-1. >>=20 >> This was forgotten to remove. We do not make use of the unwedge = feature because I could not find out how to use pinctrl to switch this = to gpio25 and drive it low. >=20 > Using gpio-hog? well, AFAIR it activates the gpio permanently and is a propery of the = gpio controller and not of pinmux. The driver assumes it can use pinmux state switching to drive the = DDC_SDA line low on demand. Since it is unlikely that we need it at all (and we have no test case = that it works) I think we simply can leave this driver feature unused unless we get a test case. BR and thanks, Nikolaus