From patchwork Mon Nov 27 11:34:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengyang Chen X-Patchwork-Id: 17138 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3027275vqx; Mon, 27 Nov 2023 03:34:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRaq4V/gGPVEQqKm0K3NENfvVZrQilZUXwQsjsfiFAkwj+Xly5/zZO60YJ0YT71o0ERJZd X-Received: by 2002:a9d:4d83:0:b0:6d8:1bda:5bd7 with SMTP id u3-20020a9d4d83000000b006d81bda5bd7mr6056175otk.9.1701084896426; Mon, 27 Nov 2023 03:34:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701084896; cv=none; d=google.com; s=arc-20160816; b=M2fKc/IT72k0WUsk+O152mDepX1Bq41KDYJQNkoT39bcHacucbeJ0ul329XE2wEIWl PWGnLilOkUQQ1wRDwjiDqwc+fZJEGtrOQGlTLGqSbfMkkr6JSo15qiz8JjnREnV2gXrb JBgNGm8nzp1K/1gIzMPClDm20pZ7/ps1C8vVbwF7OFYqh7kxh0imBjUcQ8uA+/xTzMuH WtJ0v3BrkW5z1b80oBzxo9nNpyiQmU+/Sa8M2Epn3RGGTI27tIZ0k3l09HG5Gb75/K0r LW8cULiX+2mVpHvq2xXEpZVhk39wEJ05wwdSMKcC2zFXRJ0E3H7kkLbyWC6S7SORSj8g v44A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=xqG6jl3SrekmruarpF9jesY5y1Z9W1cBgDvJmSrnsu8=; fh=ScK8IUDjhF4026qCKVePR/2UjErSUmNHqWg07rO2+9c=; b=T8XZo/q4tSJdHJWyyE+sk3rh8DTjIkVE+9SGwFU/bGSKpfE3oTQ/7jnonpjOCXWpJW oEsnCPVmBxIKSffPr/jVdGyNj834bGJEGgTm7sTbOhiDgt1+D0KIF8Dbgs5IeMI4bRJB k8LkIZ663D23KLqpF7NNxYPV3rGH3YC5TJmN19ih/CgcBN5DI1R0X5R5cdkVXGhAqZWi HMp4KZc2o9PeiA0VTDN12SufbUWjklzHRT4r8RwEFgJX+OVUcUWNf834WcKWsa0N7z9y JyKs5ydMa0yX9NGuKnWK36EihSKVfnhDqCPsghJlbF7voAfxPqg6x+eAn/vG+Uhf/Rt0 xHCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y193-20020a638aca000000b005bdff99b465si9699899pgd.506.2023.11.27.03.34.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 03:34:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2DFE7805ECE1; Mon, 27 Nov 2023 03:34:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233245AbjK0Leo (ORCPT + 99 others); Mon, 27 Nov 2023 06:34:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233197AbjK0Len (ORCPT ); Mon, 27 Nov 2023 06:34:43 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B7C8B8; Mon, 27 Nov 2023 03:34:45 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 82FE724DC0A; Mon, 27 Nov 2023 19:34:38 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 27 Nov 2023 19:34:38 +0800 Received: from yang-virtual-machine.localdomain (113.72.144.198) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 27 Nov 2023 19:34:37 +0800 From: Shengyang Chen To: , CC: , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v1 0/2] Add StarFive JH7110 SoC DSI support Date: Mon, 27 Nov 2023 19:34:34 +0800 Message-ID: <20231127113436.57361-1-shengyang.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [113.72.144.198] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 27 Nov 2023 03:34:55 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783716796224109933 X-GMAIL-MSGID: 1783716796224109933 This series is the v1 series that attempts to support the CDNS DSI driver used to converts DPI to DSI. CDNS DSI is embedded in StarFive JH7110 SoC. The series has been tested on the VisionFive 2 board. Keith Zhao (2): dt-bindings: display: bridge: cdns: Add properties to support StarFive JH7110 SoC gpu: drm: bridge: cadence: Add a driver and platform ops for StarFive JH7110 SoC .../bindings/display/bridge/cdns,dsi.yaml | 38 +- MAINTAINERS | 8 + drivers/gpu/drm/bridge/cadence/Kconfig | 7 + drivers/gpu/drm/bridge/cadence/Makefile | 1 + .../gpu/drm/bridge/cadence/cdns-dsi-core.c | 28 +- .../gpu/drm/bridge/cadence/cdns-dsi-core.h | 19 + .../gpu/drm/bridge/cadence/cdns-dsi-jh7110.c | 386 ++++++++++++++++++ .../gpu/drm/bridge/cadence/cdns-dsi-jh7110.h | 186 +++++++++ 8 files changed, 670 insertions(+), 3 deletions(-) create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-jh7110.c create mode 100644 drivers/gpu/drm/bridge/cadence/cdns-dsi-jh7110.h