From patchwork Wed Apr 5 14:24:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 7754 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp351433vqo; Wed, 5 Apr 2023 07:30:36 -0700 (PDT) X-Google-Smtp-Source: AKy350b5ZNDkHXg0JciKiMa+0+wpCV7OyVUytu9l19gjY7ETKieadDw6oXYw/yM9ZeSAModI5VYm X-Received: by 2002:a17:90b:3a8f:b0:23a:6be8:9446 with SMTP id om15-20020a17090b3a8f00b0023a6be89446mr6450013pjb.48.1680705036183; Wed, 05 Apr 2023 07:30:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680705036; cv=none; d=google.com; s=arc-20160816; b=whqFaESWasVuu3QXvSkydX/JOr5nCRA4scZvwofTIeQ9t4hJOKH6YxIUiOKS9Q+wjW /AS8RyC8TISYm48Y1tmfdfKl7Cg3gYE06bY2Ns574GGvuAC0UvtdGK6FrrbExU/s9lmg uQajiV62Kctj/p5ryEhg1MsQ4s8bmgB1HdTqrvqF2H+S5onEJtlad2fRCVaW3RNyEytD zK/iNsyudsVHR+aC4T5vGpDlLg8B23jaVt57+53DBwzEcVDa7AwWrtl/uGX72BFqTbJU PO3YWGNtD8VwZbTrnxcPLTK7i2o1uqfOaUqBF4CmLYyK7Yrs3sMc6vU8nA+z7w/V28v6 YhAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2GVvLPXBxCQGXMB3CvvaO2iHJZB4fTMWkS8HlWuLcC4=; b=LmIt2pZaI/NOko2yU/rJgppgF/Dv/3iEvt/QztPJK+3L3HzuneYPo5p4XENQYfm7X+ rwJpcvAlbtpb9Aog9Mn6N6yjvFpyASZExYQie7dXIiXBwz/aTpmf4LMIYKs1/i7Aa+Jq XIXtp78zKAabT6ZVnXdg1JOQIFdmzmG7ktlMMaTtXc8iLwXDA4ZORw+F4aVu8RTrbszU BzGvqejhEmHvqUICThnUDVwKLInc7YjC2Q/6OtE5FO2VQxl9JBA7dyMZ06HsSE31IxvR tcxNbR7M7lAJ06ewbNS/MSy7LS/xFmjTS5CSYMWFeoM0e1Mp357p9UWpKNifxCCcCxh0 rjAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WhtrtJLV; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a170902e84300b0019e698b3cefsi12163581plg.311.2023.04.05.07.30.23; Wed, 05 Apr 2023 07:30:36 -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=@ti.com header.s=ti-com-17Q1 header.b=WhtrtJLV; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238371AbjDEOZ2 (ORCPT + 99 others); Wed, 5 Apr 2023 10:25:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238113AbjDEOZX (ORCPT ); Wed, 5 Apr 2023 10:25:23 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 953E459EC; Wed, 5 Apr 2023 07:25:13 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 335EOg8U059430; Wed, 5 Apr 2023 09:24:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680704682; bh=2GVvLPXBxCQGXMB3CvvaO2iHJZB4fTMWkS8HlWuLcC4=; h=From:To:CC:Subject:Date; b=WhtrtJLVnPdfHhM3bDUboFsDseL1gnyUF77Z9z0K6c1WeXcCAQXfOavPka8YtSf6f EHMP1qcuIxOZnyfutO9RauCu4xzaLVar9CSYJP2BiMuOdjMnxD2NtW8VPzsFecA197 D3ERgm9Y65lyuKDHv2twAGNxYGdZpKCaq0nNjiLQ= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 335EOgr9026283 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 5 Apr 2023 09:24:42 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 5 Apr 2023 09:24:41 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 5 Apr 2023 09:24:42 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 335EOeDY068562; Wed, 5 Apr 2023 09:24:41 -0500 From: Jayesh Choudhary To: , , , CC: , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v2 0/2] "no-hpd" support in CDNS DP bridge driver Date: Wed, 5 Apr 2023 19:54:38 +0530 Message-ID: <20230405142440.191939-1-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762346963775325955?= X-GMAIL-MSGID: =?utf-8?q?1762346963775325955?= In J721s2 EVM, DP0 HPD is not connected to correct HPD pin on SOC which results in HPD detect as always connnected, so when display is not connected driver continuously retries to read EDID and DPCD registers. To handle such cases add support for no hpd configuration in cdns-mhdp driver. DT changes for display in j721s2 will be posted once we have no-hpd support and multilink DP support[1] merged. [1]: Changelog v1->v2: - edit the commit message for the bindings to clarify why we exactly need no-hpd indication for mhdp. v1 patch-link: Rahul T R (2): dt-bindings: drm/bridge: Add no-hpd property drm: bridge: cdns-mhdp8546: Add support for no-hpd .../display/bridge/cdns,mhdp8546.yaml | 6 +++ .../drm/bridge/cadence/cdns-mhdp8546-core.c | 37 ++++++++++++++++--- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 1 + 3 files changed, 39 insertions(+), 5 deletions(-)