Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1122319rwl; Fri, 7 Apr 2023 10:13:11 -0700 (PDT) X-Google-Smtp-Source: AKy350a6qgHewyycW0fauaX/W2OwvFkHPknM/SCPWKWhRldw4SEd1trp0KL1FYdt7QR5a9JOH5zb X-Received: by 2002:a17:907:208f:b0:93a:219d:b167 with SMTP id pv15-20020a170907208f00b0093a219db167mr156832ejb.52.1680887590963; Fri, 07 Apr 2023 10:13:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680887590; cv=none; d=google.com; s=arc-20160816; b=UgF89JSLzEY4J1MX6hyoUUi/0VD99QoNBw374gdW6QjkclRCWfWkVxlJWagcmSnSey giYoq3w01eJ6QQUhjJIwjGCSY6hQPEkQbVNFe6RCWLankrAp8w13vpB3eSnFSNAQmmOP oChBxqFFDc8BWr6oAqtGYHmiHKo+Ik4REQSzHUrtlEn6eap0KQmKkmW5qZ3StuTctphM rCvxOChFlcfsyMy0vdAfW4GpkpsXvyJXuQJWxg+roSaQuexfB3LynubFxQi1xjm1V5CE IFD407Yk+a9/OX2YIxTKvtopASMBJqw3L1y3+ATPuOwM6b47phNLgZtRJ4ZbR4W+BczM ekzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=PknBLQO8vOON8ZMbgv3ZPHDYv/9jVJsUcCHNnbarICw=; b=NvLCSlumM5oiCNgp9tDYMWafkE8AeUzNSJ+NvqCJ+TMI4S+VXouKbUjTw2cgTcwFUV d2oU4XR9vaLqxv/XAbxOl8VLn/2AUGH/I2BmDMWqC9MfzJ0CLkk2DP85iVfUsWruSUNN Gcjo8ATt44mdnv3CqT5CVcNpw9fArBzdmnuCjbXD82JOhD0jTKYMCv0LLTyPjlEVtHup xV3CQjYqnEkHfUWXZ6kx46M7qEqHGtLxol3asUhULNQjlRxvqHm7hVh+kXD2DN78bTcw kdFFCj+d0njL6bDe9+Zv1O7IAXRPWrWqtDmQr8m9PtixP94XtcmACndCQUHVBJ/2NNnS o6Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mhZ41LYu; 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 j23-20020a170906475700b0092ce291dd12si3472258ejs.395.2023.04.07.10.12.44; Fri, 07 Apr 2023 10:13:10 -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=@chromium.org header.s=google header.b=mhZ41LYu; 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 S229908AbjDGRG4 (ORCPT + 99 others); Fri, 7 Apr 2023 13:06:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbjDGRGx (ORCPT ); Fri, 7 Apr 2023 13:06:53 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCA8BBB9A for ; Fri, 7 Apr 2023 10:06:50 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-54c0c86a436so105915627b3.6 for ; Fri, 07 Apr 2023 10:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1680887209; x=1683479209; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PknBLQO8vOON8ZMbgv3ZPHDYv/9jVJsUcCHNnbarICw=; b=mhZ41LYuSKatBbr8SfXNoj8r0a12y7d3dnPoFeiq0J/fssIcJ/Ib1G1VlCfnZu6gbI wNedNKIAXDp+0m19pKbwDXAUm3ieSMHqc1S4HzSyj71Q+dJErLS671pxskk8IAnf50q6 kfXvlHw9waP9AJdJwLf/9ABY3oydGh8DUH+iw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680887209; x=1683479209; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PknBLQO8vOON8ZMbgv3ZPHDYv/9jVJsUcCHNnbarICw=; b=A/AWD986In3QbYYdguRMu5hb3EUhFJoFG7FMVL71Ry1epfa/NzdKpcCPxOo+wMERWU PMN25ft9hyjOgR98JbfTxz+ztdcj3mK7cwA4pmDzWiZqsAoLe6c7gIBR/rIE/vpLNxFz KUQvB1kDk72Or11dYziD6dtBnCyOgRc1gSTjUWDJZ3T7Mwu/gMq6Z2PZlOjCsORPFHNL RkzOjuQ/85RABoFw23CJBtU7j4sLoGiq1Zdktkk1kP95MOc5zgQiTrNGBb7VbC01nKAc Ox6ymw2yKUgtQL86FgUC8N0m1KTcq6nOg7l3Pt139HeMyc/ZPvwoqq5OrrZjOqV2nTuJ Cn2Q== X-Gm-Message-State: AAQBX9cfqw/+hbyl90r7X7qrRCV0V7guRHvEa3embo6LyfxKJM2JjsmK LqVYDB++evLgGdzdMHWYBkzvzQeisoFguRezAuQ= X-Received: by 2002:a81:53d6:0:b0:543:6327:8d63 with SMTP id h205-20020a8153d6000000b0054363278d63mr2348595ywb.2.1680887209450; Fri, 07 Apr 2023 10:06:49 -0700 (PDT) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id x206-20020a0dd5d7000000b00545a08184d6sm1116636ywd.102.2023.04.07.10.06.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Apr 2023 10:06:45 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id h198so5832107ybg.12 for ; Fri, 07 Apr 2023 10:06:45 -0700 (PDT) X-Received: by 2002:a25:7416:0:b0:a67:c976:c910 with SMTP id p22-20020a257416000000b00a67c976c910mr1789187ybc.7.1680887204825; Fri, 07 Apr 2023 10:06:44 -0700 (PDT) MIME-Version: 1.0 References: <20230407151423.59993-1-nikita@trvn.ru> <20230407151423.59993-5-nikita@trvn.ru> <499bbd8cb7783b86108f3e6d9cc07a8a@trvn.ru> In-Reply-To: <499bbd8cb7783b86108f3e6d9cc07a8a@trvn.ru> From: Doug Anderson Date: Fri, 7 Apr 2023 10:06:33 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 4/4] arm64: dts: qcom: Add Acer Aspire 1 To: Nikita Travkin Cc: agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org, quic_srivasam@quicinc.com, judyhsiao@chromium.org, mka@chromium.org, cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Hi, On Fri, Apr 7, 2023 at 9:46=E2=80=AFAM Nikita Travkin wrot= e: > > > HPD might very well be hooked up on your board, but the current Linux > > ti-sn65dsi86 driver does not look at its own HPD line because it's > > actually slower than just pretending that HPD isn't there. On trogdor > > boards we ended up routing HPD to a GPIO. > > > > Oh, this makes so much sense then! The line is hooked up on > the board indeed and I remember being confused why trogdor boards > don't use it. > > I will try to add the suggestions (annotating the reason) > and verify that it works, would prefer the panel power to be > gated when possible. I hope this would also fix the initial > EDID reading issues I occasionally have and carry a hack for > as of now... > > Thank you a lot for this insight! > > Nikita > > > I guess your other option would be to implement HPD support in > > ti-sn65dsi86. That would probably be an overall slower boot for you, > > but is technically more correct. In the past people have posted up > > patches to get ti-sn65dsi86 working as a full DP port and they added > > HPD support for that, but none of those patch series ever go to the > > point of landing... Yeah, see the big comment in ti_sn65dsi86_enable_comms(). Actually, looking at how the code has evolved in the meantime, you could probably get away with: 1. Making sure you have an "hpd-absent-delay-ms" in the device tree for the panel. 2. Implement "wait_hpd_asserted" in ti-sn65dsi86 to simply be a msleep with the passed in delay. Then I think you don't need "no-hpd" anywhere which keeps the device tree pretty. -Doug