Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3220923rwl; Mon, 27 Mar 2023 10:51:03 -0700 (PDT) X-Google-Smtp-Source: AKy350YcJz8qa+7tJ1tE1elCi82KYK6k4AALHpEW54u9w2NdRa0zTqXPNR57YjsbvBaSfUvaU5yB X-Received: by 2002:a17:902:d503:b0:19e:3922:b7d8 with SMTP id b3-20020a170902d50300b0019e3922b7d8mr14353801plg.12.1679939463315; Mon, 27 Mar 2023 10:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679939463; cv=none; d=google.com; s=arc-20160816; b=O2/SeCEwGk80l7qbEn0S4ZOXnbhV0V3AOzf09+F9xbASqG/evTvDSKb2zyMgpS0YcN Xo60hQkRsGTy4/fRivebOZr9pJ/3LRX4urokny8iMSBBIaF1XykB6SFSSDK0Y3bnm2+7 jUYP9Xy2C4gnjcpfV3M/doujDrCn8XHrmTV7DT4u5kEFSzSUq+ZAjAOoUy1ZTlNYm1gr UZ5N+Mxf9sbNOhvakvotiNjKFUVPuqhlSt5bM3/q7MAldFcQ7QQleQn4OjmDi6PY22Ub XE6pAaRtlXtVS/RtejOLUV6C4lLAA/HeIinKTZ0Uult1RqTzcGWV1RlljzVXkQGoXC03 AqHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=jA5siR+i5yxYAfGTYQNIUiY3IkfjjH6ESGeo/kVaU+Y=; b=OhaFBJv4RRnZJJYexIdgrOXpv9GUURCj0l8oa1Df/5Y7vy1AVsLjYGIcKbtds5doa1 H88oQTXA0IhDHCLrAQKK4D1pADOT8d0CWuTa9MDNYbFH5KJohr0Yi3O2l7OZrXXXy9u5 WUgAJA7sX93klZRXxIua+yu02+sBGIBDeMUqzoKmFnXOuk+7bmBfJZU8Q5mStv48Ziq4 yZTRtWHEYCOdCv7s7fHVVEB0y4UZr5Lb5hyl6SPWQDhcnUzV4YajMxtkziETvqawuED4 dTMizOvKaXtmoxb7AxI+N54hKtbeK3liDvmZo+W0iPYzchyt+45q/HNdNewBTE0Wil5V kdIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=oFt0Uzfs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020a170902ea0c00b001960fd737b6si7593461plg.330.2023.03.27.10.50.51; Mon, 27 Mar 2023 10:51:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=oFt0Uzfs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231913AbjC0Rt1 (ORCPT + 99 others); Mon, 27 Mar 2023 13:49:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230073AbjC0RtL (ORCPT ); Mon, 27 Mar 2023 13:49:11 -0400 Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49FE440E7; Mon, 27 Mar 2023 10:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1679939336; bh=PipWPWkBFS1GgoXZt9XVYf8bnGqWk6b5DvNg8L6icis=; h=Date:From:To:Cc:Subject:X-My-GPG-KeyId:References:From; b=oFt0UzfsxU3d6jLwx+2Zz5OB3qb6w3eIp31DHUKAgjTJRfQKpvpIXEsHuh1X3JNQ3 IH3jQRfELvITxHZHpaHL2+yHL3UOqsMKAqNKORvCcmzpaGN34IeAAHpvjKFA0pnvix RlRFbNITTZr0fKwMeVHgBE3KKB5ATx7gRwsdjBu4= Date: Mon, 27 Mar 2023 19:48:55 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Javier Martinez Canillas Cc: Heiko =?utf-8?Q?St=C3=BCbner?= , linux-kernel@vger.kernel.org, Robert Mader , Laurent Pinchart , Peter Robinson , Jacopo Mondi , Martijn Braam , Kamil =?utf-8?Q?Trzci=C5=84ski?= , Caleb Connolly , Jarrah Gosbell , Krzysztof Kozlowski , Rob Herring , Tom Fitzhenry , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH v2] arm64: dts: rk3399-pinephone-pro: Add internal display support Message-ID: <20230327174855.xpxrdfldqcxk463r@core> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Javier Martinez Canillas , Heiko =?utf-8?Q?St=C3=BCbner?= , linux-kernel@vger.kernel.org, Robert Mader , Laurent Pinchart , Peter Robinson , Jacopo Mondi , Martijn Braam , Kamil =?utf-8?Q?Trzci=C5=84ski?= , Caleb Connolly , Jarrah Gosbell , Krzysztof Kozlowski , Rob Herring , Tom Fitzhenry , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED References: <20230327074136.1459212-1-javierm@redhat.com> <20230327130147.wgxl2qayhzsi2xak@core> <87wn32rynm.fsf@minerva.mail-host-address-is-not-set> <1924921.PYKUYFuaPT@diego> <87mt3yrwzo.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87mt3yrwzo.fsf@minerva.mail-host-address-is-not-set> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 27, 2023 at 06:15:55PM +0200, Javier Martinez Canillas wrote: > Heiko Stübner writes: > > Hello Heiko, > > > Am Montag, 27. März 2023, 17:39:57 CEST schrieb Javier Martinez Canillas: > >> Ondřej Jirman writes: > >> > >> Hell Ondřej, > >> > >> > Hi Javier, > >> > > >> > I've tried the patch on top of linus/master and it works as expected. My > >> > DRM test app shows 16.669ms between frames. The display output is ok on > >> > developer batch pinephone pro, and is corrupted on production version. > >> > Display also doesn't come back after blanking. All as expected. > >> > > >> > Tested-by: Ondrej Jirman > >> > > >> > >> Thanks for testing. > >> > >> > A few more comments below. > >> > > >> > >> I'm OK with these comments but I did a git diff with your orange-pi-6.3 > >> branch just before posting and this was the latest that's in your tree. > >> > >> So feel free to either post a v3 addressing the things you are pointing > >> out or lets land this and we can post any further cleanups on top IMO. > > > > I would really like to _not_ apply essentially broken code, so really > > would prefer the v3-approach. > > > > It is broken though? This is what is in Ondrej downstream tree and I see > no issues on my Pinephone Pro. He mentioned some flicker when looking at > the signals with a scope and hooking a photoresistor. LED regulator is driven out of spec by a frequency that's 20x lower than recommended, if you want short version of what's broken about the DT patch. > But that's fair. I'll let Ondrej then post a v3 if he wants to address the > issues he pointed out, since is his patch after all. It's not my patch. Original author of the DT is Martijn or Kamil. I just carry their DT work in split-up patches in my tree, and I sometimes try to find solutions to bugs I find when using PPP. That's the story of these DT changes you're posting. Since you posted this DT patch for upstreaming, I wanted to help you by reviewed it more completely, so I opened the schematic and datasheets for the components that are described in this patch, and discovered these new issues I commented about. And I also tested it on top of linus/master. Just because something is in my tree doesn't mean it's mine, or that I reviewed it in detail and prepared it for upstreaming, or that I'm interested in upstreaming it. I'm just trying to help you with your upstreaming effort by testing and review since I got to know the hardware quite well over the last years and can check the schematics and datasheets quickly, and I like to think upstream code is held to higher standard. That's all. kind regards, o. > -- > Best regards, > > Javier Martinez Canillas > Core Platforms > Red Hat >