Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2670048imb; Mon, 4 Mar 2019 10:57:43 -0800 (PST) X-Google-Smtp-Source: AHgI3IZpoaQPfqlSjGU/6b0MY6xFnsLsso4W9NPhmrB72uA3qWztArn90CRqQ+iE9xRzADf57gwl X-Received: by 2002:a62:7592:: with SMTP id q140mr21481073pfc.164.1551725863670; Mon, 04 Mar 2019 10:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551725863; cv=none; d=google.com; s=arc-20160816; b=Q6GkJ2OGkKr6CCq7fA7SfgVZM0eziaQZy4438cFsTd93tTEKzMyL/KOXE/Oc2RNItW 7qCFv+vPRzQGMwHQ9pOosGtfNOvRbyQ3+k0NtigtbO1GQTo6R1D0nQ7337yF56q7tafg yfTK6rxW2YSMZNIbfZ4Cqdxkz9j4xnt+rNQxCjjcrWWHJ2va0HSJhk5yPBt+zhy5x1Yv 8uC19nIREH0koFT9+FmA49SjFdTCEd4+xEJdOWuEg9eZP1Q8a7hI8mhMToLKXp6GPWu3 Pj/0USPRX8CxEmPsP0vVvqLiKoCdTm5CZSRVd77PPPXmqnBKqTbqj/3YijSuvMLTKlW2 O98A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=CfyiU2MxNSmMqSjOTYDdw1pbo7x89u7o2Ax/Pez/BUg=; b=PBl8POmxVBNiG0g3U5PUOWQBEKngE8XS299F8Tj62v7Cr20AHfG5/8PgRUt60WjTpZ pmSTjT96qWFuLkEvEwN2G97L/fppkBXsuLUvh31nPDQwEAgbKuvJxQcOoBI+lUbaba2j RRlBeMMCIo6bisF0+dYmX7l1hKaaIZ8jAqF/mLcdOs94chL102X4IqCMHhaNB79IaOtJ Y95+n0ff7btOMFt3LNz5MWDNUxWzzpIxEwOHkIogLlc38VxMBVF+3b/P111fiiGdFvFk gGyRUMtPSgwelKVBfF5Z+UiUrcvM0u0kDXGAGWqsZ1+PJYYBrmudfkceS50NTWufl07+ SsKA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si6462350pln.221.2019.03.04.10.57.29; Mon, 04 Mar 2019 10:57:43 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727097AbfCDSzT (ORCPT + 99 others); Mon, 4 Mar 2019 13:55:19 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:50210 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726181AbfCDSzT (ORCPT ); Mon, 4 Mar 2019 13:55:19 -0500 Received: from localhost.localdomain (unknown [IPv6:2804:431:9718:a1b1:9d17:4c45:79a4:9c61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id F303326C4B1; Mon, 4 Mar 2019 18:55:04 +0000 (GMT) From: Helen Koike To: eric@anholt.net 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: rpi-b-rev2 can't detect hdmi display due to wrong hpd gpio pull in dts Date: Mon, 4 Mar 2019 15:54:54 -0300 Message-Id: <20190304185454.18043-1-helen.koike@collabora.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Regards, Helen --- arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts b/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts index 5641d162dfdb..28e7513ce617 100644 --- a/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts +++ b/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts @@ -93,7 +93,7 @@ }; &hdmi { - hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; + hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; }; &pwm { -- 2.20.1