Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3618768pxb; Mon, 21 Feb 2022 01:59:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGfYYIlYeG+CgGOXm2+vCObLC4x/Nb4rCDGPxfxeMiZUlBaW4G1hUCdzjT3vtVV7wB8WaR X-Received: by 2002:a17:90b:4d0e:b0:1b9:10f:7e49 with SMTP id mw14-20020a17090b4d0e00b001b9010f7e49mr25114254pjb.114.1645437598135; Mon, 21 Feb 2022 01:59:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645437598; cv=none; d=google.com; s=arc-20160816; b=LKKTYPZZgC6mZ+STwVH07An7/qN9jsbWNR+xTsAngM25a/cp+pP6FDP9Ja9pibLJRz 8OepotxH7RB5uFMLEx7H3qPeC8s5oHoqVJ/irl4Zcw/1NYqAKWE6/Y4Bq9zi3grSBohs qcdQSUtNihxKdB+RtOse+LTKuOb69vM+2ngABbqthw45sNFXJa9JnQpgmZsT2uJoZ0gR UrNRcm5ax8jeZ3a/UEZgk7I26KtiIvu7nukPfujcfgW7KQiwzFYGlUC/ajjAxNB/r+wZ KGd1lp/Az3Zg6x89KtzUqxTuRAbvczcbvjQRqsnuvta4mbKz/1SZRjFZfB/ltSsrg4xk 9LCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HEDVsJdoBlriKRiWsMiaPibDlLRBSHkQp8aBEXdrRPg=; b=mCdOu9eUAk98KR7Dn48S05CSTUGJmGUlESnsX1m+RzzHVj77BxXBcqSmRFB75pdHIM Q8mzWz2XRt3plWdT8Qc560fslLjVomNxqqcEk97kRw9GJaWt9YkOgB+i3OvFiYTawAPu x+MbooW0TSnq2hojm8erxEfe5I325Emw8JRmB/Cc5lkhXcByx13Ji9dO0tyClv53GSsn Cs4fE7SaegiSDjKpO/Ix30X/caRkzgSQoCNWDRi4dqHOlM43jFn7Pbpp3zUeUYOK/EcS hm7RVUX7IKolv1kSHCU6oOJ3l8JFbqBp2PkuQfChyOBZMhSNMU2EFprGFKarYfW/X8FE XGeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fqRe4zP7; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e19si16899943pgl.703.2022.02.21.01.59.44; Mon, 21 Feb 2022 01:59:58 -0800 (PST) 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=@chromium.org header.s=google header.b=fqRe4zP7; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236479AbiBRO51 (ORCPT + 99 others); Fri, 18 Feb 2022 09:57:27 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236410AbiBRO4s (ORCPT ); Fri, 18 Feb 2022 09:56:48 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C6502B2FF0 for ; Fri, 18 Feb 2022 06:56:18 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id cm8so6301822edb.3 for ; Fri, 18 Feb 2022 06:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HEDVsJdoBlriKRiWsMiaPibDlLRBSHkQp8aBEXdrRPg=; b=fqRe4zP7YJl0es1coqEkQ+IA42hkW52O3II+Mzuv6ExVlmG3hQ9BH55+U9/QlFyisp 0usnUkaPANy2IpTeSlyrZXG5nwU5PJx+kftwW3x7K85HTPrWGf5JoMKVsOXl8czZudNt kgmk68cPq+KhxefMKldnyo24+ONhbjWcEPftQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HEDVsJdoBlriKRiWsMiaPibDlLRBSHkQp8aBEXdrRPg=; b=NlR2YxHRPWoi3ULARZIQZzaOAM6/YEUXO1Glb4rFnNTnYq4Kq1/BjqvuR4QziDFEtU hJHkHnRkSHwLTxjESsqXjy7lefy1Zl18KhoIlkPueyeoMbuD3OEMp5+EJ7nNjC21nqpU elBy99rTulvThOr4qNcIs0xbTDrQnxeCs4a1ZX8hm+8vq3hVf5VVrD8fcA6DhAqo2pud HlimleIJICPMSS24Vbdz5JbkdrAfgLvRirA9Fp1o046VGWeV4jHtkGSfouA5922ALNT9 mfoTmitMdErJqc0/+Hc8ionXR1hF677DKqDcvnVv6P1KS+WJ2fAA7Ah6Nw1BI7bQxIwG Y2eA== X-Gm-Message-State: AOAM530tZ1qnHGU/QK284LF16jl1jmR5GMz38HEzh0gmrVs3ui1T7eoz k7tilGHmLwLtyHcN27/oqYxPpt4ECvZs3FJHEqU= X-Received: by 2002:a05:6402:518b:b0:412:80a3:fb6e with SMTP id q11-20020a056402518b00b0041280a3fb6emr8865190edd.84.1645196176254; Fri, 18 Feb 2022 06:56:16 -0800 (PST) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com. [209.85.221.47]) by smtp.gmail.com with ESMTPSA id z12sm5153604edb.77.2022.02.18.06.56.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Feb 2022 06:56:15 -0800 (PST) Received: by mail-wr1-f47.google.com with SMTP id f3so14887809wrh.7 for ; Fri, 18 Feb 2022 06:56:15 -0800 (PST) X-Received: by 2002:a5d:4c48:0:b0:1e4:aeab:c77e with SMTP id n8-20020a5d4c48000000b001e4aeabc77emr6335194wrt.342.1645196174604; Fri, 18 Feb 2022 06:56:14 -0800 (PST) MIME-Version: 1.0 References: <1644494255-6632-1-git-send-email-quic_sbillaka@quicinc.com> <1644494255-6632-3-git-send-email-quic_sbillaka@quicinc.com> In-Reply-To: From: Doug Anderson Date: Fri, 18 Feb 2022 06:56:01 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 2/5] arm64: dts: qcom: sc7280: Add support for eDP panel on CRD To: Bjorn Andersson Cc: Sankeerth Billakanti , dri-devel , linux-arm-msm , freedreno , LKML , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Andy Gross , Rob Herring , Rob Clark , Sean Paul , Stephen Boyd , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , quic_kalyant@quicinc.com, quic_abhinavk@quicinc.com, quic_khsieh@quicinc.com, quic_mkrishn@quicinc.com, quic_vproddut@quicinc.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi, On Thu, Feb 10, 2022 at 4:04 PM Bjorn Andersson wrote: > > > +&mdss_edp { > > + status = "okay"; > > + > > + vdda-1p2-supply = <&vreg_l6b_1p2>; > > + vdda-0p9-supply = <&vreg_l10c_0p8>; > > + /delete-property/ pinctrl-names; > > + /delete-property/ pinctrl-0; > > If the first device to enable &mdss_edp overwrites pinctrl-{names,0} in > &mdss_dp and removes the properties in &mdss_edp, I think that's a sign > that they should not be in the .dtsi in the first place. Actually, I just looked more carefully here. I think the "/delete-property" for edp_hpd here is just wrong. I'm pretty sure that the HPD signal is hooked up on CRD and we actually need it. If somehow deleting the property helps you then it's probably just hacking around a bug and relying on the panel to be always powered on, or something. I think this gets into some of the stuff in your final patch in this series. I found that, on my hardware, the panel doesn't come up at all with that final patch. When I go back to how things were working in an earlier version of your series, though, I can get things working a little better (though still not perfect). -Doug