From patchwork Mon Jul 31 10:59:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334389 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C043FC00528 for ; Mon, 31 Jul 2023 11:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=d6R900J3fWgiuTswC/XagWDGFcBHIaS+XZGK3xOWJ+Y=; b=DwCo0v/yO0/qsk Q9cPkwxLC3ZstPfqhfJN4svbolVBXEcePqBVQPn5ZMeoONe9X416oyH6dqPUV5TjrRc+bRsWnstOO tPi8HFMkWs5l00ONxtbw2s55vbLj/froZqYqML3AVFg1skjqM5Doz3FBEP4iGqnSzAy1wp2CDpZcm EK8lcqsXPTtesMgZ8SGcG2O6MnXjMruLMRm8LtqkdjA7ZMMXY4pRibp0VoQ7DGCsghShQUDFAV2bu 9z8GzIuTEnfDx9M+cYL8EApLc13JO4xx5Xioz3uL02VfgzU4B5vRr8gVjridb6N7UT7T2OT9+ULMX nFXPLk2DB/ShR8c80cbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdW-00FE0l-0q; Mon, 31 Jul 2023 11:00:26 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdT-00FDyy-2k for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:25 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1b8b4749013so34498315ad.2 for ; Mon, 31 Jul 2023 04:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801222; x=1691406022; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mOcSvu1R55PqqqT6iqN9InS4YnF7+8QV33Yi9OEJyX8=; b=2I1VHA77Zd90CK10ZKkXWxFFkrLXCVA7S//pOpj+ZaoBX4yVbojiUDAtv5nwywlDyP cIZcN+i74bL/mjJ8Y3FJbqkC4RDS9tq67fx6v/z2Mmqw8m/Jrjvbst4PErFxkhaSaIij JKUY04N4yfEvcmqb8fgazxXqvr7mUIayvNS9fZgBubncHeH6mDm7ARIYV+dHsoLlqaAu e6SstdVF+C4EoZkGIwGH5k15otxqLvxD4l+ByhuJ7irloeTS2Fy599RkyerWZxJvrm4M Xpgf/CagLoDLkrXVt6weixzP149mdJz7+CW4kRSphQopHI1QtMwfkSkaU0Z2/N9apezj zPWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801222; x=1691406022; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mOcSvu1R55PqqqT6iqN9InS4YnF7+8QV33Yi9OEJyX8=; b=mDAAskMoiKxVUh7lE91G3UWh4kJmFt4tlzAecyQgIH7wQhJlTnLFL+aPftjD3fdh1K e2MYZ7I0BIa0BvlsFV/dqvIlBGdGxFcRsCmPzGr7p8KGZ90UL7jjU/oJb9ga5EKbIg7T 2AdpASB+Ma7n79TrAuc5MACoMrcl45YTiT6f7qWhbjrH5H0opIKUTOb5gn5KJu/nBe/B iLufNWo40k/tG9aV02u3JCipCOsKIEGqaez3Ce/cUAXz09vBIy6g7tAhHK29K7gsB00I 6gRQj/lOc6HZYqhwpVKswjdEY6QwoRR5umOZeh5aeoHTpZmyck3Z5flZVPgJnzufu/bU fjFA== X-Gm-Message-State: ABy/qLbWkfRHwjAkL8zvQF67BnqWgPf677a3ZqfwnCwblD3TLkGsvvYD uT6y2DGni1utdfKWmOxud50/AQ== X-Google-Smtp-Source: APBJJlF2E7hDaEA3RnIzNcJxowrJ2ofXWRl9VS08ZyfY5Zvbv1h3OphmVHw7koK/RWCbJc094wgyaQ== X-Received: by 2002:a17:902:bd4b:b0:1b8:8af0:416f with SMTP id b11-20020a170902bd4b00b001b88af0416fmr9090667plx.1.1690801221880; Mon, 31 Jul 2023 04:00:21 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id t14-20020a1709028c8e00b001b1a2c14a4asm8281096plo.38.2023.07.31.04.00.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:21 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki Subject: [PATCH 00/14] drm: rockchip: Add RV1126 Display (MIPI DSI) support Date: Mon, 31 Jul 2023 16:29:58 +0530 Message-Id: <20230731110012.2913742-1-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040023_893081_F6C4939F X-CRM114-Status: GOOD ( 11.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rockchip RV1126 has VOP_LITE Display engine which can route RGB and MIPI DSI display interfaces. This patchset adds MIPI-DSI pipeline support for RV1126. Any inputs? Jagan. Jagan Teki (14): genpd: rockchip: Add PD_VO entry for rv1126 clk: rockchip: rv1126: Add PD_VO clock tree dt-bindings: phy: rockchip-inno-dsidphy: Document rv1126 phy: rockchip: inno-dsidphy: Add rv1126 support dt-bindings: display: rockchip-vop: Document rv1126 vop drm/rockchip: vop: Add rv1126 vop_lite support dt-bindings: display: rockchip-dw-mipi-dsi: Document rv1126 DSI drm/rockchip: dsi: Add rv1126 MIPI DSI support ARM: dts: rockchip: rv1126: Add PD_VO entry ARM: dts: rockchip: rv1126: Add VOP_LITE support ARM: dts: rockchip: rv1126: Add MIPI DSI pipeline ARM: dts: rockchip: rv1126: Add Edgeble Neu2 IO DSI overlay ARM: dts: rockchip: Add Radxa Display 10HD overlay ARM: dts: rockchip: Add Radxa Display 8HD overlay .../rockchip/rockchip,dw-mipi-dsi.yaml | 2 + .../display/rockchip/rockchip-vop.yaml | 1 + .../bindings/phy/rockchip,px30-dsi-dphy.yaml | 1 + arch/arm/boot/dts/rockchip/Makefile | 3 + .../boot/dts/rockchip/radxa-display-10hd.dtso | 14 ++ .../boot/dts/rockchip/radxa-display-8hd.dtso | 14 ++ .../rockchip/rv1126-edgeble-neu2-io-dsi.dtso | 112 +++++++++++++++ arch/arm/boot/dts/rockchip/rv1126.dtsi | 130 ++++++++++++++++++ drivers/clk/rockchip/clk-rv1126.c | 59 ++++++++ drivers/genpd/rockchip/pm-domains.c | 1 + .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 20 +++ drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 55 ++++++++ .../phy/rockchip/phy-rockchip-inno-dsidphy.c | 3 + 13 files changed, 415 insertions(+) create mode 100644 arch/arm/boot/dts/rockchip/radxa-display-10hd.dtso create mode 100644 arch/arm/boot/dts/rockchip/radxa-display-8hd.dtso create mode 100644 arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io-dsi.dtso