Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2725531imb; Mon, 4 Mar 2019 12:28:18 -0800 (PST) X-Google-Smtp-Source: APXvYqwlFRAMahdwz6cl34MUsN9ZBJRyEUjK856ReWVfIgWttda+LF3kFh/Ic3LDTv9r2l0PV97c X-Received: by 2002:a62:a10c:: with SMTP id b12mr21589993pff.234.1551731297971; Mon, 04 Mar 2019 12:28:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551731297; cv=none; d=google.com; s=arc-20160816; b=KdWeVJfFYiJ6t3aC25AosUORWYJMIJe7Wt/1Fk3vgIIGV+bq+epQaafvixA8uD6YGN OlQbmoaMc/IugkYsQxFWTeHZ+fyw4OGnQ+oyOaP1bcXPEiecmjzjcGCBX1hMq5xqRXa3 r7+EgOMA57rY4ZWrngm8tGdo2cm18aVYFQ20EYDLMmvyL7hTXn5wpsn3co3kFarOn8tq wJUBC3vNZaBtSJtgRWMTrGC/Dft9e84M62iyEuJICzaMwKXcY/ign5U1J4pA0/t09/Cc 8GWmVY585haoXydQf+QWIu7c20ohafLu4TYafXLEDubr7+6dkAZf3RHQD/EharHeoGzx KOxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from; bh=hp0B5uF7re39WUjsxzV2bKYQD7N20Kn4GQ+ZR70IUrI=; b=J5rvr08R4UGa1Boa1gH3Mq3iURHbx+xGWCFTEP7J0s+DO8K9y36cEtOuZH9TjtP7vq P1cOMWP63iQSL52Cm1SF0pUdPtR1autjQrBYfdrrnOZbVaE0Dmor/yNwubq90a+3/Et/ XGTLcReOlGzR95s/6ig6lNY31TriCtXpaTshDJOHGebprzKGmfEKDiZsJdQRLGlj5oF7 2bH9E2aONSGoNi3CQnUkyn2O112Fd9s8vptCaPQ/d8/aWnHfYkNw6apNRGnWwI7pPTO7 Q0/QmQlOAZuflH2J2gBknsgIWMJswE868PSDbCxSfyzZKrLwW5edPK54n33snH6VHiFl 4BlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cn17si6753916plb.139.2019.03.04.12.28.03; Mon, 04 Mar 2019 12:28:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726626AbfCDU1O (ORCPT + 99 others); Mon, 4 Mar 2019 15:27:14 -0500 Received: from anholt.net ([50.246.234.109]:55800 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbfCDU1O (ORCPT ); Mon, 4 Mar 2019 15:27:14 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 475FE10A2DE9; Mon, 4 Mar 2019 12:27:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id A90-3hZxxNtb; Mon, 4 Mar 2019 12:27:12 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 1A67010A2A62; Mon, 4 Mar 2019 12:27:12 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id ACB862FE464E; Mon, 4 Mar 2019 12:27:11 -0800 (PST) From: Eric Anholt To: Helen Koike Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stefan.wahren@i2se.com, linus.walleij@linaro.org, lkundrak@v3.sk, bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, kernel@collabora.com Subject: Re: rpi-b-rev2 can't detect hdmi display due to wrong hpd gpio pull in dts In-Reply-To: <20190304185454.18043-1-helen.koike@collabora.com> References: <20190304185454.18043-1-helen.koike@collabora.com> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Mon, 04 Mar 2019 12:27:11 -0800 Message-ID: <8736o2tmg0.fsf@anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Helen Koike writes: > Hello, > > I have a rpi-b-rev2 (two holes, 512M) and when I was trying to test vc4 > driver, the HDMI wans't being detected. > > So I changed the hpd-gpios from ACTIVE_LOW to ACTIVE_HIGH and now it > works correctly. I can see that modeprint from libdrm detects correctly > when the display is plugged and when it is unpluggled. > > So I was wondering if this is just in my board or if there is an error > in the dts (which I think it's unlikely). > > In any case I am dropping this email here in case anyone else see this > problem, if you do, try appliying the patch below. We even have the GPIO labeled as "HDMI_HPD_P" above, and dt-blob.dts agrees. Reviewed-by: Eric Anholt Thanks! If Stefan doesn't pick this up shortly, I can. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlx9ih8ACgkQtdYpNtH8 nujmcQ/9FyjSFutNqSUwPu6FcG3JvOTwy5TN/k7iiobKCX+G8a3Hn8EHdu0gXLI2 oYQE3W166zJmGtjultlooZpxSe6ggPmpqNaaY+xQ3QkCZCBackFJIqLUy+7wNBzW Mm1RhyO039pDhWJ25NLcq8aC9atryhjzzOpNMfKTSaTDCU85iq3Krm/5QimiOsKK goTctyMjhjjkLA8DUFB0CjWsPq15OV2cTCb0kRDIiLfR1TZWKeAyATzHiqSofMc2 H5yUO6CsXLIgYGcwhhp+BnveCm2h9JFs6plwsEQ/fB3eHy/g/R+4B7oa415AwT50 Zqbv02fxBhZWsNhLzbLj684Ry45jHkJzlSQy0a1oxca9ZJowNAMhmAtQ2a0V2AcP X2TJHgIWv+rnmBD5BYpYOZxIVY0D+WPtjaqfZmnjz7okoqeuIzeoL2u5AENQ05Uy PPeVYGxTDUERPZbX81QNArt9P0dThKfNf568yi2q+TIpOy4yLgW9kTXwViWgt033 pGTtNtcO9uGKUZ8FZEblu0HxfLp6Cos0m3AmQho266y0UPgTK24ytSwAaQ5DzOUN OWOTqdz/cu9KbP1rwRwu9zewL862TNPyOsVXhgugEKQ8knBTNE267QmaEK3OuXzu rwO1edLLxfHQacNg2rc6qNPURt/emIybA67DLlZbIfp9POKxN5E= =T86b -----END PGP SIGNATURE----- --=-=-=--