Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4184581imw; Tue, 19 Jul 2022 01:13:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u6DaPY6RIYUZEonQ14Lkk7Czje0IRrGHlo+oPJR4sGvKWSfEpYxE55EepP9UC+WkVcLt7h X-Received: by 2002:a17:907:2d0e:b0:72b:4af7:7ccd with SMTP id gs14-20020a1709072d0e00b0072b4af77ccdmr28887399ejc.209.1658218425439; Tue, 19 Jul 2022 01:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658218425; cv=none; d=google.com; s=arc-20160816; b=V2eMYvZDMDlYHfHRKJamC9WqdXKGLtEe5AFvYJFL7dN47qXAf1TNbrb3FvbuPUtYjZ VtFPbJm8s9gyd++QsqN4q9p1/vQBca+PaEdZOTH350auVLUVfsM9dVEMZVoXCrTsPcS3 vLFZ1a4RpmSJzhTKiKRm8j+kt0zF+sOIeXlqyGTSX0orVwclWr83FHwBC81pHd/DSFvh VN4XdcZHQwJrgFSmlGo0e+I9HLiGiSYhOBzgEs5XYRZ30z6lT9CNVfOucLk5a+DW1aZG 3CONbsJks7y7lx55ekvZtSsGdehnq5qc8+sxUyji532Iw7EHUoLPefaxDlgQ9Bx+oAPN Nsww== 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=DuFyLCMUk/Qs07FIPBTpfWRXvD7dog3AOY97yovabG8=; b=CdRRFTB9Xc4v3uDDgl7ubdj0OdMfCN80r2at6tBcSJYHT/XLKBlcpeToRbPDDIqfuW 95ZzAeBX//oomN25YMZJOvnuLi5hGYGpQGMP73kuNHls77amszIv3ppcQdw/YF7s9Iyk 4pGHh+hVouiQBuNL8w/pJZZamx6DBONV733v4YgaGvNmsiGL4keFFn1kQOCN4jJPBKEP Npnrpls/7HeDnNHBGv2poyeiBbSiwudJIcOGcFXRX/cVNxudTGW8J/942OoUD77ZrxIL enekmg12+T+VWqU3d621aVeL+u01YB671teo4lPFMf6is8mIf2lAc2VK1YX8+J0oPF46 jN0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nVoUt9F1; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw24-20020a170906c79800b0072aa1072924si16890688ejb.184.2022.07.19.01.13.20; Tue, 19 Jul 2022 01:13:45 -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=nVoUt9F1; 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 S236707AbiGSIJR (ORCPT + 99 others); Tue, 19 Jul 2022 04:09:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231407AbiGSIJM (ORCPT ); Tue, 19 Jul 2022 04:09:12 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB61233E13; Tue, 19 Jul 2022 01:09:11 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 26J88kMU036283; Tue, 19 Jul 2022 03:08:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1658218126; bh=DuFyLCMUk/Qs07FIPBTpfWRXvD7dog3AOY97yovabG8=; h=From:To:CC:Subject:Date; b=nVoUt9F1Rv5ueGb0GgQz7YXD6764teima/q94fglPnoDx2O1m0FF4kcapDQBX5Whk GUVMqfaUL36ngnWuKg9kk3a6UyokBM8wNJ/fWd6EMTucCQs2CTyDtE44tSzSqs4r4k MX+C/Jg+IvI5cWq47dRek9XR7i/2KpWYpVMH5LBY= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 26J88kNY022568 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 19 Jul 2022 03:08:46 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 19 Jul 2022 03:08:46 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 19 Jul 2022 03:08:46 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 26J88jHg077284; Tue, 19 Jul 2022 03:08:46 -0500 From: Aradhya Bhatia To: Tomi Valkeinen , Jyri Sarha , Rob Herring , David Airlie , Daniel Vetter , Krzysztof Kozlowski CC: Darren Etheridge , Nishanth Menon , Vignesh Raghavendra , Rahul T R , Krunal Bhargav , Devarsh Thakkar , DRI Development List , Devicetree List , Linux Kernel List Subject: sFrom b69208b75f7ae8e223c81783afb04fecd2f5faf8 Mon Sep 17 00:00:00 2001 Date: Tue, 19 Jul 2022 13:38:37 +0530 Message-ID: <20220719080845.22122-1-a-bhatia1@ti.com> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 This patch series adds the required support for enabling OLDI display on boards having SoCs with am625 compatible Display SubSystem. The 2 OLDI TXes on am625-dss allow a 3 different types of panel connections with the board. 1. Single Link / Single Mode on OLDI TX 0 OR 1. 2. Single Link / Duplicate Mode on OLDI TX 0 and 1. 3. Dual Link / Single Mode on OLDI TX 0 and 1. The 3rd combination allows the DSS to be connected to LVDS panels of resolutions upto 2K. This patch series further adds support for boards, with HDMI bridges supporting only 24bit RGB color space, to be able to explicitly output 16bit RGB data when only 16 DPI output pins have been connected from SoC to bridge. Note: These patches require the new compatible "ti,am625-dss" and its support in tidss driver. Those patches have been previously posted and can be found on the following link: https://patchwork.kernel.org/project/dri-devel/list/?series=654214&archive=both Aradhya Bhatia (8): dt-bindings: display: ti,am65x-dss: Add port properties for DSS dt-bindings: display: ti,am65x-dss: Add IO CTRL property for AM625 OLDI drm/tidss: Add support for DSS port properties drm/tidss: Add support for Dual Link LVDS Bus Format drm/tidss: dt property to force 16bit VP output to a 24bit bridge drm/tidss: Add IO CTRL and Power support for OLDI TX in am625 drm/tidss: Fix clock request value for OLDI videoports drm/tidss: Enable Dual and Duplicate Modes for OLDI .../bindings/display/ti/ti,am65x-dss.yaml | 46 +++- drivers/gpu/drm/tidss/tidss_dispc.c | 220 +++++++++++++++--- drivers/gpu/drm/tidss/tidss_dispc.h | 8 + drivers/gpu/drm/tidss/tidss_dispc_regs.h | 6 + 4 files changed, 246 insertions(+), 34 deletions(-) -- 2.37.0