Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2718979imb; Mon, 4 Mar 2019 12:16:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwbQ89FByRUP9h1eDZNywciAsCHIoARnFR7TT+HT24lgSp2FtBBrkkGiGHipdLAatrLKMXY X-Received: by 2002:a17:902:d203:: with SMTP id t3mr4555229ply.310.1551730610550; Mon, 04 Mar 2019 12:16:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551730610; cv=none; d=google.com; s=arc-20160816; b=yYpeIUkBmNLZDqgs1zgat+NXbnExlYZQUx/AeldQGcAO0QxEuDvtf6ivH/ntRgWMbc NTu1CQ6LTM2+yijmC8gSNSaOACZtQypArXJHX3bQQq1JfvNt81lrGJg6HVT2w8B4+ThP +zwWXtdrt+aah7w/zsfy5T616LBOel9SCSiSsfikThIVhkCKHfAexm2M/P0om+UF7BoW Yuzn1Wz+FHFJuEl53g5JJyGi+nm8Mt5JR1GN0jQ96vcSzK7YurgvA54BwmPk0UdIOJQc CNlT567o2R6AUH3xipp+J1GTxb7yofcJDZNWWtsLLUklMIi3pwGK2hbneegLFsTkomQP xlAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date; bh=X/mglRRmK7ysVycuIc2FG5J36F2AYF9wVt2AaUoRvlo=; b=MRE725/0cr3WQ9l9I2EjDYppI0LdLTFu+H3pxr4S5i+ZAnIGkHTZ11ngKDfPJvC0ed OR89BRUNg2WSGaAzjdD29kgLNfcqvsccF1wobGO00wiiObLBGfhnhq6RH6TciWTecbwq dP6luighALu6OUUXYCJQMfosJTednxaq1KhD0Byg2pesMb2jj/5RYT0pdBDHIvIytj9G niYFYms69BBH7kuuGGHmkKIWfzyMvCzBDRkONnodrNd2XWLZCljwPgiyZHLchl3VUu2+ vXaLEXlym5EQiUdfkD88oHS+toVUVtTF8G4kBULTTBLESaZRoHhRZn5FESWA73DMetBa pP+w== 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 e17si5761082pgo.44.2019.03.04.12.16.35; Mon, 04 Mar 2019 12:16:50 -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 S1726336AbfCDUPz convert rfc822-to-8bit (ORCPT + 99 others); Mon, 4 Mar 2019 15:15:55 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:50323 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbfCDUPz (ORCPT ); Mon, 4 Mar 2019 15:15:55 -0500 Received: from oxbaltgw00.schlund.de ([172.19.246.6]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MNL2Y-1gdLVN3wR0-00OqtK; Mon, 04 Mar 2019 21:15:43 +0100 Date: Mon, 4 Mar 2019 21:15:42 +0100 (CET) From: Stefan Wahren To: Helen Koike Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org, lkundrak@v3.sk, bcm-kernel-feedback-list@broadcom.com, eric@anholt.net, devicetree@vger.kernel.org, kernel@collabora.com Message-ID: <1194402400.301453.1551730542978@email.ionos.de> In-Reply-To: <20190304185454.18043-1-helen.koike@collabora.com> References: <20190304185454.18043-1-helen.koike@collabora.com> Subject: Re: rpi-b-rev2 can't detect hdmi display due to wrong hpd gpio pull in dts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev51 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K1:k6Z79svwn1bzZ0IVf0R3dDJM47BNM2dtu36ZA6Y8ByHsYRqFsYJ Au5IdaVSdjIB6/Z/Od82EPZRRs4g2ljJwz54hHtrrhgF2pe9qKTxLFYriKp8gKNMCDtviKC EGHH8/9YZ/2ELTnkfVJ26PKDqy42XB2tKOCTC/45HmNWNvl4hRkiZVQ2664OiFytpgOYrhH Wqxdcu6UA6xZHl8pqIyiQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uQEKZvb+8dY=:ISkC4kvpgd2OnuQwyW2kjv UxuGA54jtmgg0XBddsT3XlC8cKoEjpTQK6dR1/YR/7hWg7ODw5V3LOCfWhpg66AFbJljnmMdm LEXHL7YudPa1nfjeSYCqvXMJ60zx+GFUwGImfo4x7oGVNcAZScWGm7TFsVOpMVSo3T0QVw6dx nLAOP3kFrMrK/8ZDAquSL/RhC0n28uLBBMdXlgblX9DPX3nd7iMTzTRMse+zoqT3QpGhqlR/J IAzljY8Lh35gwA6cquZE3yWeU8mHS4j950Jkbwkh9Df7MdFAF1Amh+k8WtiaCKr/gltw2MRGn ROSyaaZFBp3wE+VEFkFnJZf0hz5nE8uaUp7dQhMclAkyEJloD+tDGOwfnBhogHyIzCJPGmtgj YEdho7rY4YKrzoBo5ouxzOK6u89PomhfnHsQe/PB061FAioVIBTf14l78cz1QJBrDTUShk9+g Y1DsaBwEwq7vHgxpdaZL6i7duhZJkB6qpUhbp6XtjOrJU9XERe/4SspFyo3UqKHulmILUBXkP qSogtDskgeqnQ5sWW+LGMhIPj/0/9lmexQDJwJZWYV3PLWN182e76i5M0gCMINCjQaKj1RgEC IjWw5M6+hCQ1RcDCozJZ5Z9l7mMcwfovGAFYPKs2MeETX12g9CmEBou87kJVALHhkBuolVFJF oNAj5cXVeucfTdxKuK1nm32Dga8yEJ53b9KKQAsqbtmvXJaj8QApYuaJL8ITulrMLLYDUmHHH JZmWAldr49ntLCIj+YVb2FaYvI/6JHbC29dgGHDmdt4nVylnoX7HXrPs3H4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Helen, > Helen Koike hat am 4. März 2019 um 19:54 geschrieben: > > > 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. thanks for your report and the patch. I verified your change against dt-blob.dts / downstream file and it's correct. I'm sorry but i cannot apply your patch because it doesn't have the proper format. Should i take care of this? Can i add your Signed-off-by including your mail address? Stefan > > 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 >