From patchwork Mon Jul 31 10:59:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334390 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 3703BC001DC for ; Mon, 31 Jul 2023 11:01:04 +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:References:In-Reply-To: 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: List-Owner; bh=383FsHEkNeCO6tzj/piPaQ2gTfzPCVfva/z022ItsgY=; b=4VcjF0brJvMUKC nx8IX1PPKHzpLqYL5qfXBtX5ZaCSYC9j+QAvozqWe+B5r7l6pcgWqzPw8XbVXpyjLK0FUBZypDAIY MoBSFqUdJI7izJ6eVFsNDPfadNPlw2vyPpA9TSieir4FedT6s+YieAj0a4VUReSkn3En+gN9T9Fti sCgD9N61Cfo37secZQnaZL+xjeHbVf/CQbBP/MODpMNb44Acr90MZnwJDm9RnhFy2sxz1cSe2EV51 E3cgxcRM9k0WWbIlknGO4A8Xs4lFh/4Abod4+Z7eh+WzT0cOk71f3HcjiJK0JFhNG2BB/U+BxUlp7 W48gu+5iBVTPsJwNwV6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdg-00FE4r-2y; Mon, 31 Jul 2023 11:00:36 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdW-00FE0G-2Y for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:27 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1bbf3da0ea9so14304365ad.2 for ; Mon, 31 Jul 2023 04:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801225; x=1691406025; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aFu/JPo/heUh8tZtPktgVoKIudqTiKgcM8V0fJH/i9Y=; b=1v2MnK+H1CiH/nknYPjsMWMv5uS25LE7m4TpV/2Ws5S7GEdQYHGIsEqWpPchb7KRvX 10+4CDyk0wy/3YqCGKWbnd2Maf5RaO+3UP9FEpVl+R6zfu9dRAHKHo9yOtrijUsIgRYU 9okmTNhyQY7bAb2zFXxStJFtbOjlKOmVqY2ocqYrIZ2XIyrqrVLbyFi/1HWM3PmOTgXp ASP7TB5msegRAcV01tSNbfm150m14zycgybAWnX+TRTYCJ3ihXjFiafdbISgtom4gn7Z e0bVXb6xOBTSNO3A5BF4oWq/h4eW0w4EfMwnPeeI8ZhXUBIjgbZpkw4mgReAMtu5r0/O eegw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801225; x=1691406025; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aFu/JPo/heUh8tZtPktgVoKIudqTiKgcM8V0fJH/i9Y=; b=Q/9dfXJKhz9YLQliEfpWmd3hWhj+kHRAMhOarRWP43dmLQdK/jZfRkcL2pZku6LyzD 3DxgUIJR0l6ZuebAkck9nuBZb1jv8Kbm/WnsrnINs0dawk4mUyi0t6rIVZU8tTac5Qga WCLis1r0gqw9ZrEZx0uPPYLPj21CnLkxC4bsmMhDtvkQTLieMe7YedKm3v9Er+A6cBk5 NksRuadEoaRpCjmkPQZ6DvYDfrWWOVlSrJxcro86oNUXdA1UpM3QxhSaPkivim2Q0Nmo Nw1Pbi36AbdrtBD57hNhwDSgYZc7iqSWxvaVrzn1Kqv4rj8KY0OGAmWAIwzoNiEsR84z /rGQ== X-Gm-Message-State: ABy/qLZZgbx8tiAWKCVt8kAU4J68x42XhbodVSicXZrTijO9/yA9Jr/B g6RG2tK9rBU50YNuZWDjfooRaQ== X-Google-Smtp-Source: APBJJlENmczCMqYJUL3zBRJdO3rj0ca5qfst6RnY1rZPFxWTnpTOgab05okF6l0KlSJaqmu9Fuk+ew== X-Received: by 2002:a17:902:d4cb:b0:1b3:f5c7:4e75 with SMTP id o11-20020a170902d4cb00b001b3f5c74e75mr10119622plg.58.1690801224688; Mon, 31 Jul 2023 04:00:24 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:24 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , linux-pm@vger.kernel.org, Ulf Hansson Subject: [PATCH 01/14] genpd: rockchip: Add PD_VO entry for rv1126 Date: Mon, 31 Jul 2023 16:29:59 +0530 Message-Id: <20230731110012.2913742-2-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040026_861045_A05C2F1F X-CRM114-Status: GOOD ( 11.74 ) 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 PD_VO power-domain entry in RV1126 are connected to - BIU_VO - VOP - RGA - IEP - DSIHOST Add an entry for it. Signed-off-by: Jagan Teki Reviewed-by: Heiko Stuebner --- Cc: linux-pm@vger.kernel.org Cc: Ulf Hansson drivers/genpd/rockchip/pm-domains.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/genpd/rockchip/pm-domains.c b/drivers/genpd/rockchip/pm-domains.c index e3de49e671dc..d5d3ecb38283 100644 --- a/drivers/genpd/rockchip/pm-domains.c +++ b/drivers/genpd/rockchip/pm-domains.c @@ -976,6 +976,7 @@ static const struct rockchip_domain_info px30_pm_domains[] = { static const struct rockchip_domain_info rv1126_pm_domains[] = { [RV1126_PD_VEPU] = DOMAIN_RV1126("vepu", BIT(2), BIT(9), BIT(9), false), [RV1126_PD_VI] = DOMAIN_RV1126("vi", BIT(4), BIT(6), BIT(6), false), + [RV1126_PD_VO] = DOMAIN_RV1126("vo", BIT(5), BIT(7), BIT(7), false), [RV1126_PD_ISPP] = DOMAIN_RV1126("ispp", BIT(1), BIT(8), BIT(8), false), [RV1126_PD_VDPU] = DOMAIN_RV1126("vdpu", BIT(3), BIT(10), BIT(10), false), [RV1126_PD_NVM] = DOMAIN_RV1126("nvm", BIT(7), BIT(11), BIT(11), false), From patchwork Mon Jul 31 11:00:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334392 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 26A4FC001DF for ; Mon, 31 Jul 2023 11:01:20 +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:References:In-Reply-To: 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: List-Owner; bh=BLEW6JA8Y0Ap9qwKKp3D4Q/FTNHeTx8TM7N2efrjJjQ=; b=0rkbaIzDzwMzYt rDtmO8CxrtXvn1ABZJk/br6VwJBIkWJHpX0D4PzYjS1UCSI2HW3Z2Shsvs1EH05lREvY9P6PrHLQG ftiybs2N5pxq6TLgWn37A+giCuxx/9NS3QdeR43HS9y2ODtix7RzeQSbbJuhrUEsQ9MHKcfQouYTH oSpvg5BnFgs0Nv6aoZ11B2nBw4nt9DBu6soDxhwA7rUis78lxaE3iarTsAt/U8wFtg/5STUQl7LA8 6o7eV6MbeK4BEQelWF6Y54mwX58fBXXqnuqGj3SUCpMgl01+VLvG8s4v+UbH7KVs6NGgs8WDQ/mb8 wgtIAMBYaXGeIVY0oI+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQds-00FEKX-0z; Mon, 31 Jul 2023 11:00:48 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdb-00FE1y-1d for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:32 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1bbd2761f1bso36367065ad.2 for ; Mon, 31 Jul 2023 04:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801228; x=1691406028; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rP1HvhmILSDZxBxnehc/orNHE8euRpEXGakH0zc2A7k=; b=vu53Q9UAlOg6BDlJrkAy6fQOvq8rg045i4qiJrtblnnk3iOqoYyWZ7uOZjYd2EeZgx P5AyemhYD2+unRxsl+Z4PWruWaLgXb0jgcpcdFiHhsl1aQ9WP5MXMz9arwajyizMCs42 dR9X7rcvjJeaZ/g76zi9zAw6lllsNtaWFzaIJHWCswRIFZgxplvbsWOV9rO9HbX2UeCX HMBtbR8j84mTk3Il76l66YygZjIWaQOnW+76w2ntsSVkcySJlSeZ9EE939VatbsO74Yu JOngwf0ht//eV7beeWzxcxb4n207cpIwwT3l47asgL3cqlQnpTa1UavhhqNRPzW1eDAn DfQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801228; x=1691406028; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rP1HvhmILSDZxBxnehc/orNHE8euRpEXGakH0zc2A7k=; b=IgdV6YC8+iLFdLzgAcnAMaOhti9xJ6X7Yhi6rPOfD8otA/k2zB1H+BqzYfuBgJeWFB MjCRYev5cvkZ/GMfGgghRJai91nqb09yqU59FwFj/WNPd7s08ZX50MAehXP5mJ9LA6O0 Wh93LVouKs919augJX0cURi7oPBTB6ODLJEQL1aoA1tgohJHPpNq1ITheTDCGZUWBBrx k8dEjFfHiU1FqY+VtW03CnQC5dUcFv9KIBiZ9O+GxDDTGksbec5ZsYbErandKQbhHLEW O1xteOBB3lYxVztF5xQ7IzVrU8RQK5QZLDU5BvjjgX2sn4KkrS8bhz+avCJMbG+OERT3 g6qg== X-Gm-Message-State: ABy/qLZezFuBCAsdij0n5Px9TK20NZLjR1eaw5EGh7GHhwkwAPbiIKgL OS3uqOO1iTCw22yKSpAffukLLA== X-Google-Smtp-Source: APBJJlH8SyBbLB03Bth3Pd8z8lX9ED3lmZv12VgI5f3Sa1hnE8Ivym4zh3nPE9tU5JbnHWoZUfS4bQ== X-Received: by 2002:a17:902:dac4:b0:1b8:8dbd:e1a0 with SMTP id q4-20020a170902dac400b001b88dbde1a0mr10540287plx.13.1690801228399; Mon, 31 Jul 2023 04:00:28 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:27 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Subject: [PATCH 02/14] clk: rockchip: rv1126: Add PD_VO clock tree Date: Mon, 31 Jul 2023 16:30:00 +0530 Message-Id: <20230731110012.2913742-3-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040031_541517_D37D1849 X-CRM114-Status: GOOD ( 12.48 ) 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 PD_VO clock tree diagram in RV1126 is connected to - BIU_VO - VOP - RGA - IEP - DSIHOST Add entire PD_VO clock tree for rv1126. Signed-off-by: Jagan Teki --- Cc: linux-clk@vger.kernel.org Cc: Michael Turquette Cc: Stephen Boyd drivers/clk/rockchip/clk-rv1126.c | 59 +++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/drivers/clk/rockchip/clk-rv1126.c b/drivers/clk/rockchip/clk-rv1126.c index 5c6f1ce34a2f..fc19c5522490 100644 --- a/drivers/clk/rockchip/clk-rv1126.c +++ b/drivers/clk/rockchip/clk-rv1126.c @@ -175,6 +175,7 @@ PNAME(mux_i2s2_p) = { "mclk_i2s2_div", "mclk_i2s2_fracdiv", "i2s2_mclkin", "xi PNAME(mux_i2s2_out2io_p) = { "mclk_i2s2", "xin12m" }; PNAME(mux_gpll_cpll_xin24m_p) = { "gpll", "cpll", "xin24m" }; PNAME(mux_audpwm_p) = { "sclk_audpwm_div", "sclk_audpwm_fracdiv", "xin24m" }; +PNAME(mux_dclk_vop_p) = { "dclk_vop_div", "dclk_vop_fracdiv", "xin24m" }; PNAME(mux_usb480m_gpll_p) = { "usb480m", "gpll" }; PNAME(clk_gmac_src_m0_p) = { "clk_gmac_div", "clk_gmac_rgmii_m0" }; PNAME(clk_gmac_src_m1_p) = { "clk_gmac_div", "clk_gmac_rgmii_m1" }; @@ -259,6 +260,10 @@ static struct rockchip_clk_branch rv1126_audpwm_fracmux __initdata = MUX(SCLK_AUDPWM_MUX, "mclk_audpwm_mux", mux_audpwm_p, CLK_SET_RATE_PARENT, RV1126_CLKSEL_CON(36), 8, 2, MFLAGS); +static struct rockchip_clk_branch rv1126_dclk_vop_fracmux __initdata = + MUX(DCLK_VOP_MUX, "dclk_vop_mux", mux_dclk_vop_p, CLK_SET_RATE_PARENT, + RV1126_CLKSEL_CON(47), 10, 2, MFLAGS); + static struct rockchip_clk_branch rv1126_clk_pmu_branches[] __initdata = { /* * Clock-Architecture Diagram 2 @@ -714,6 +719,49 @@ static struct rockchip_clk_branch rv1126_clk_branches[] __initdata = { RV1126_CLKSEL_CON(72), 8, 1, MFLAGS, 0, 7, DFLAGS, RV1126_CLKGATE_CON(11), 1, GFLAGS), + /* + * Clock-Architecture Diagram 9 + */ + /* PD_VO */ + COMPOSITE(ACLK_PDVO, "aclk_pdvo", mux_gpll_cpll_p, 0, + RV1126_CLKSEL_CON(45), 7, 1, MFLAGS, 0, 5, DFLAGS, + RV1126_CLKGATE_CON(14), 0, GFLAGS), + COMPOSITE_NOMUX(HCLK_PDVO, "hclk_pdvo", "aclk_pdvo", 0, + RV1126_CLKSEL_CON(45), 8, 5, DFLAGS, + RV1126_CLKGATE_CON(14), 1, GFLAGS), + COMPOSITE_NOMUX(PCLK_PDVO, "pclk_pdvo", "aclk_pdvo", 0, + RV1126_CLKSEL_CON(46), 8, 5, DFLAGS, + RV1126_CLKGATE_CON(14), 2, GFLAGS), + GATE(ACLK_RGA, "aclk_rga", "aclk_pdvo", 0, + RV1126_CLKGATE_CON(14), 6, GFLAGS), + GATE(HCLK_RGA, "hclk_rga", "hclk_pdvo", 0, + RV1126_CLKGATE_CON(14), 7, GFLAGS), + COMPOSITE(CLK_RGA_CORE, "clk_rga_core", mux_gpll_cpll_p, 0, + RV1126_CLKSEL_CON(46), 7, 1, MFLAGS, 0, 5, DFLAGS, + RV1126_CLKGATE_CON(14), 8, GFLAGS), + GATE(ACLK_VOP, "aclk_vop", "aclk_pdvo", 0, + RV1126_CLKGATE_CON(14), 9, GFLAGS), + GATE(HCLK_VOP, "hclk_vop", "hclk_pdvo", 0, + RV1126_CLKGATE_CON(14), 10, GFLAGS), + COMPOSITE(DCLK_VOP_DIV, "dclk_vop_div", mux_gpll_cpll_p, 0, + RV1126_CLKSEL_CON(47), 8, 1, MFLAGS, 0, 8, DFLAGS, + RV1126_CLKGATE_CON(14), 11, GFLAGS), + COMPOSITE_FRACMUX(DCLK_VOP_FRACDIV, "dclk_vop_fracdiv", "dclk_vop_div", + CLK_SET_RATE_PARENT, RV1126_CLKSEL_CON(48), 0, + RV1126_CLKGATE_CON(14), 12, GFLAGS, + &rv1126_dclk_vop_fracmux), + GATE(DCLK_VOP, "dclk_vop", "dclk_vop_mux", 0, + RV1126_CLKGATE_CON(14), 13, GFLAGS), + GATE(PCLK_DSIHOST, "pclk_dsihost", "pclk_pdvo", 0, + RV1126_CLKGATE_CON(14), 14, GFLAGS), + GATE(ACLK_IEP, "aclk_iep", "aclk_pdvo", 0, + RV1126_CLKGATE_CON(12), 7, GFLAGS), + GATE(HCLK_IEP, "hclk_iep", "hclk_pdvo", 0, + RV1126_CLKGATE_CON(12), 8, GFLAGS), + COMPOSITE(CLK_IEP_CORE, "clk_iep_core", mux_gpll_cpll_p, 0, + RV1126_CLKSEL_CON(54), 7, 1, MFLAGS, 0, 5, DFLAGS, + RV1126_CLKGATE_CON(12), 9, GFLAGS), + /* * Clock-Architecture Diagram 12 */ @@ -905,6 +953,17 @@ static struct rockchip_clk_branch rv1126_clk_branches[] __initdata = { GATE(0, "pclk_pdaudio_niu", "hclk_pdaudio", CLK_IGNORE_UNUSED, RV1126_CLKGATE_CON(9), 3, GFLAGS), + /* + * Clock-Architecture Diagram 9 + */ + /* PD_VO */ + GATE(0, "aclk_pdvo_niu", "aclk_pdvo", CLK_IGNORE_UNUSED, + RV1126_CLKGATE_CON(14), 3, GFLAGS), + GATE(0, "hclk_pdvo_niu", "hclk_pdvo", CLK_IGNORE_UNUSED, + RV1126_CLKGATE_CON(14), 4, GFLAGS), + GATE(0, "pclk_pdvo_niu", "pclk_pdvo", CLK_IGNORE_UNUSED, + RV1126_CLKGATE_CON(14), 5, GFLAGS), + /* * Clock-Architecture Diagram 12 */ From patchwork Mon Jul 31 11:00:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334395 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 723FDC001E0 for ; Mon, 31 Jul 2023 11:01:25 +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:References:In-Reply-To: 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: List-Owner; bh=sz7Cm5kSagnzsK1v0lNa4qin+42jqGuDjsi+F/I6DQ4=; b=NRHdFgibIPakkv 4QLvfqvoIM+UgatMW5Aha+BPb02FcU1V5pHvy6YLrPcT11ehaHqPoLj+1pXIMPYZ6c8H8keSvRmGi ZVVYUOz4y6oejVUAr5NZ4UkOhAj3KuQzLCO0UsxJg5GAWF13UyVzgB88wpMt267R42gsJqhr4EjOg G+jwz8q7aMGq3nIhRX/HI6cQc8/yBmK0UmzqDCGcuDQcUdr2KS+kjGhfCI0KbRJbaS5QfyC91QgCM DrRuNPsk5Wn/je0RSlN4KygXcS6+kw6JRnjV5Io1lhFh0hucvn5AkHsyLZt5xpDAP27ZgimyJX46r yPAOhiE9uu1hWw0ntXNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdv-00FENI-0W; Mon, 31 Jul 2023 11:00:51 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdi-00FE3S-0j for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:39 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1bb9e6c2a90so34523235ad.1 for ; Mon, 31 Jul 2023 04:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801233; x=1691406033; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1jP0HLi5iSHOi8Z3s8AoTEtv1xUnfOh/1w4uA8oZ1C8=; b=2FgELMPX0iC03w8yv5a+jHnW+r6p/iK8CdEQAmkhGrzD3gBhPxC169nCe+ztk/F1PP nFvxDdvhJj6n2aqLEXqpK0dzEH83J/QLG9fvkzPlLPhDpBd4telbjN/jbBkGOpnIYb8a 3il0dYWJtbA9A1zTiTp4KSJeYHuiiQcYgHEh5Kg8HmkfWjFayBnUcs8MyLM0zFSkrIPX ArWnQ7sqJ55Am3XRLQ3U5uhqbu9B96mckKbM+DceMLRQcInXzYmnnl0RLw+7Huf6+hHQ PKz1GGcsuTJziSe7huWsSjAidbMa5HWBgXLgoPEQ+vyU323EmyWMMru+ZSHMVlzMNafz QYyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801233; x=1691406033; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1jP0HLi5iSHOi8Z3s8AoTEtv1xUnfOh/1w4uA8oZ1C8=; b=Vrv0qdY4gdT6zOrPbus/OIpqKG6hNOxyA6AgEGM2fq0czYLCn2eJmiDLMbPLDML5q6 Pjk7vQ8YHxmOisLXQz5DUryCeCSNMMywnKFufBR2D5XP+klhhpkoelMrJN5cgcFZ28Cm 0/QkTPn0vqz/doukKX+B5hmVE8WBgF6AUE76GNyChKmVuBWCyP74Qw8YNalEQ8XNNYTP 6K0+W9DTj3gGJseXuBVqNr2mfJxYaMyj+3oTDRh1XJrc8AcNTh1dHR8E6JruHANW9Pk+ Ky/5Tjj1Z50JV1Yd7fGlXSeM36BCc7sr7pbbiA8ULjM4S1w37d/Drw6ee6ZmyXkROYMW q43g== X-Gm-Message-State: ABy/qLZPGP5IP0RDkIJjWv49rWgRT4xuYRaJMAjtnHEdvkY4knv6Rt7T klSOUklfrXCKzjNKVsL40qOylA== X-Google-Smtp-Source: APBJJlF1fW/kkMkTA9HRVUtJsncJ2wrXby1awhzYBA08MEkd3zOioa9tGcY2NYeekLTXVVpQp1heaA== X-Received: by 2002:a17:902:820c:b0:1b8:4b87:20dc with SMTP id x12-20020a170902820c00b001b84b8720dcmr9063249pln.37.1690801232812; Mon, 31 Jul 2023 04:00:32 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:32 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 03/14] dt-bindings: phy: rockchip-inno-dsidphy: Document rv1126 Date: Mon, 31 Jul 2023 16:30:01 +0530 Message-Id: <20230731110012.2913742-4-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040038_300062_68DE571D X-CRM114-Status: GOOD ( 10.33 ) 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 Document a compatible string for the rv1126 dsi-dphy. Signed-off-by: Jagan Teki Acked-by: Heiko Stuebner Acked-by: Rob Herring --- Cc: linux-phy@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: Vinod Koul Cc: Kishon Vijay Abraham I Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley .../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml b/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml index 5c35e5ceec0b..46e64fa293d5 100644 --- a/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml +++ b/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml @@ -19,6 +19,7 @@ properties: - rockchip,rk3128-dsi-dphy - rockchip,rk3368-dsi-dphy - rockchip,rk3568-dsi-dphy + - rockchip,rv1126-dsi-dphy reg: maxItems: 1 From patchwork Mon Jul 31 11:00:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334391 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 90299C04FDF for ; Mon, 31 Jul 2023 11:01:17 +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:References:In-Reply-To: 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: List-Owner; bh=mbTJHxsMO17NKYeGGcA7w/lqka2fVYpceiljoVR8zCg=; b=aME0awLJxkzbbf boUXpXaYgfBJWxKYlNijiAPmlz6ETVWXKp6yRsBRJYiG4oK96ASEHJeTNVI2KFHa6j+Xo8joryElS 6NcAYK6rjuL1HpyPohRlPchjCs6KcFEY7IM6UGGEFJWyooKCPJ61CVZEV10nuBW/G0digMbqUov1F 8xdsjLrWqVeNj1PmcLp8Dv6JXQWuc8f7c/4H9KLRel/xAeGqAYqJZaVwEJvj3F1aJoaovG3eXWuCI UUFmpkd7ltgjD0iauyrj9hY/kFNKQsd+GLrk+4KHcaf06EHNosMyBOW1tPqFNaSri+2uASle649cN PGiNOOg8D/lgKwkt8Anw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdt-00FELO-1T; Mon, 31 Jul 2023 11:00:49 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdg-00FE4B-27 for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:39 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1bb2468257fso24630415ad.0 for ; Mon, 31 Jul 2023 04:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801236; x=1691406036; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I4uEnTNjW7DC6At6I+F7keaZ1pWy4tIkVTdNrvB8BNw=; b=zV5gw6C3xyA/WHxEsCIcVSPSLZWxTUzxsvhoThbjMeA1V4LD2UrrY9V8R5USR+s5Jc eVgo/HjWgSmCF7T0VNrh/FpRR6WHj3GmKAmgLw/yYwZRzw3Wwjl3FdvCkRAOUZ2Lkb+e dZYEKTD06y5JtYqlBaf8Y/OmWc7Pim3oLRkEUekPlt/WAU03odGpk3r+MtOsSkxPus6e G0biZD7M8pEDsmphD1c8eUFyF+bpepq0Pqjq5IVFB6QvYVi/dXncEgkdqTR8wAYv8XGV UdQqGiT+XRsl1GSXWQcX+vyRJHgeJL8Ghgr/cqGSIn2xa3u0HqbogvBZSELfGPZQDVZn hUkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801236; x=1691406036; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I4uEnTNjW7DC6At6I+F7keaZ1pWy4tIkVTdNrvB8BNw=; b=YolKgeC0uuI5xfSZNFEoAG/BJmObTproT06wzzH8VXm7s14i5wlMDcR6lpjB+pWGoq iPedj/rjIEyyrH0giHf6NJQRV/esQv7q56/Z071PRmRFkZtGY6GU/NSHySE7lqFXrrw1 hcXH4B15N2uXXshlWP8ZUs2iNXjL0FH4jeMJjNJGrPfUM/cbampqexO55N8PxizOzQ0l XczDjKUlec0cqCvHTxElCxjW0vLpExDaNIRj54YTyWsyEdCec0lysfpBdIv3dAZiuL1q p7Smx9ZsJqgTE6rF5zUGzlOUbJ1JCeQz13YT1alQgGvK3C6voffAPCoFc9+euA5SehQ0 c9Hw== X-Gm-Message-State: ABy/qLYcSrbsjPotnEU0GftamFGPG/cwAf5BceszZL7+HnH7Q0/cYpPg q4rUuMOBUHgCkNvT55r0Qk89+A== X-Google-Smtp-Source: APBJJlGh2CjJmtS8ElOHin6W05yAAXDLyJnsJQ7MGRvk40VznbrPl4qQ2XBb59SJp+Yy+eV2039zJQ== X-Received: by 2002:a17:902:e88f:b0:1b8:b433:7fa with SMTP id w15-20020a170902e88f00b001b8b43307famr9743171plg.13.1690801236080; Mon, 31 Jul 2023 04:00:36 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:35 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , linux-phy@lists.infradead.org, Vinod Koul , Kishon Vijay Abraham I Subject: [PATCH 04/14] phy: rockchip: inno-dsidphy: Add rv1126 support Date: Mon, 31 Jul 2023 16:30:02 +0530 Message-Id: <20230731110012.2913742-5-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040036_698680_FFB4844B X-CRM114-Status: GOOD ( 12.27 ) 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 Add support for Rockchip RV1126 DSI-DPHY. The existing 2.5GHz phy timing table added for RK3568 is working as it is for RV1126 as well. Signed-off-by: Jagan Teki Reviewed-by: Heiko Stuebner --- Cc: linux-phy@lists.infradead.org Cc: Vinod Koul Cc: Kishon Vijay Abraham I drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c b/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c index c879ec69bfd6..6405943a2676 100644 --- a/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c +++ b/drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c @@ -770,6 +770,9 @@ static const struct of_device_id inno_dsidphy_of_match[] = { }, { .compatible = "rockchip,rk3568-dsi-dphy", .data = &max_2_5ghz_video_phy_plat_data, + }, { + .compatible = "rockchip,rv1126-dsi-dphy", + .data = &max_2_5ghz_video_phy_plat_data, }, {} }; From patchwork Mon Jul 31 11:00:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334393 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 6095FC001DC for ; Mon, 31 Jul 2023 11:01:21 +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:References:In-Reply-To: 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: List-Owner; bh=gJ/9m93Dgsj75ZxVHnbFnoPw/pil1eGfl1SLRJb4+eg=; b=NZSab+dBGZYeUQ JTXTXyfMSdjc5gof1wj6cilYzV/y0YHhhz6hFBx1Y8EiNGva3BSOTp2nMo07wfed/hc+MA5TTE2EV TMhmU8m6UizIAPe7tzogwELVpQ0x65NnW9T/xwdBK/cplRar2PF9iKI/D+ajfYEPg1UCqJ7gRMnOm OS3J5juzcJ2JJISf3L2v6G6hb628np6D9cjJllFC/68E+IxgvmT8KDPC8BGUu/SDAN5kVj8TgbYdw idfBI8dHQ/q25mtCFMIo8iwFImvaD2vfdzyDVk/iUcAucaaEK7phHHLDNO3qaWSlk0kYS8Vjy+mM0 95maT3mSVWwN7PgJZPjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdv-00FEOG-2w; Mon, 31 Jul 2023 11:00:51 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdl-00FE9q-18 for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:42 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1b9cdef8619so26472775ad.0 for ; Mon, 31 Jul 2023 04:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801241; x=1691406041; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d/dEqRGg68M4eDYviYv5iZ5FREu+8Zk3M+fIpiipGM8=; b=wdpGiFO3eQkg3tLYWeeGQ2FKuFQeB+nMnArDI9HqCYtMCGU9n3Q8I2pJjMiTrUEI4T KMV9Xg5eDNKBD1MKfJ6oaudA2EngtHtfq4dtQ1xG0DGeawaOS+0MzeF7LDmUq17cTkPr LRoLpQfrpqjM3bVEnLx7e594gSuS9ucgg0ua0gmanggBnARSjZnONFWIBNZdRH7i67lb Ll+FYKnNhdfQsLRsdc9pay00UJ3OwfQmUFGMsm9HjCW8S43Q2jTPd8cI0kSEKUZ6p3yf BQsumaUkmGfVD21xbI+NLQe8J1BFI/d4kHSWm31UHRB/kMtq1spyJQ20ZdJyiDehSpYn DNLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801241; x=1691406041; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d/dEqRGg68M4eDYviYv5iZ5FREu+8Zk3M+fIpiipGM8=; b=eCMCn++VUJN2iXG90N6M8LEtDUIxRXZ9IGMercAxjvoTzVB5Hm6EVWzVkBFYNcC+tO yyjnkifJdebhPTAtOwqAVQ+7G+hqPxtRtj8WhxOq5+EjQphzktVidwm5c2DUpNJLnRKt nC3G4stpoVvUcIXhzEKk0zyYezmLKvHWLpZxNRPq9A4pvDHCnym0ty7CcDUKaGouC5YN fluOpRYJfeKxovmYNOQVmES/TIssHH8DsPYkKYqjjG6f7KeEIjnCDuuk3i872Z2vLl38 STj6JfV0zKIIQnU77qi1E1SfA0+sXTTgjtlPfTMLR9JTxjl8X+lQoRiQ6PzurzvTxHD8 ZNPg== X-Gm-Message-State: ABy/qLaMU/elI+t/9aV4QKVPNu0ZqiPROcfQtxUpimqsJgpck/E9AccO aoTBkLsgbXQVx7U9jNYuHt6kNw== X-Google-Smtp-Source: APBJJlGYFd3rzRij7zv9gQDyA93YIQqoTFA5YyhYeAATlxG2yeHK6/pJtE10HCfOFvjSXOZxiMytrA== X-Received: by 2002:a17:903:22c6:b0:1b8:41d4:89f with SMTP id y6-20020a17090322c600b001b841d4089fmr10528440plg.4.1690801240846; Mon, 31 Jul 2023 04:00:40 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:40 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sandy Huang , David Airlie , Daniel Vetter Subject: [PATCH 05/14] dt-bindings: display: rockchip-vop: Document rv1126 vop Date: Mon, 31 Jul 2023 16:30:03 +0530 Message-Id: <20230731110012.2913742-6-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040041_395197_258BA780 X-CRM114-Status: GOOD ( 11.13 ) 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 Document the VOP for Rockchip RV1126. Signed-off-by: Jagan Teki Acked-by: Conor Dooley --- Cc: dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley Cc: Sandy Huang Cc: David Airlie Cc: Daniel Vetter .../devicetree/bindings/display/rockchip/rockchip-vop.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml index df61cb5f5c54..b339b7e708c6 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml @@ -31,6 +31,7 @@ properties: - rockchip,rk3368-vop - rockchip,rk3399-vop-big - rockchip,rk3399-vop-lit + - rockchip,rv1126-vop reg: minItems: 1 From patchwork Mon Jul 31 11:00:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334394 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 4ECEDC001DC for ; Mon, 31 Jul 2023 11:01:24 +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:References:In-Reply-To: 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: List-Owner; bh=kzHg2qwmnMQnLfSMksbGp3N05DsAhu9zxDDeNnW/8rk=; b=MVpj+XXBOJOIvS iySEX55LIjABMWpCbVmfnUPwgPrDoEc1dserxB1KEC6NqXJEu9li8OPJOTb78LK5hte49Tg+gQmHk B6HTcbo67pVZEQxG1aqXD3glB8iksz1MX/zjV5soAugn8ebOnza/dwDttF3aAZ2V94FhfokVdtc1i Q46fI9mCvsj+Hf1INifsxjex2J8hJqI0siRv7BuHoYtzyL/kFu6XNtaEomxxBbuzx/+MVGarqc/kl gL+G7RyCDYw74fKwa+qA0P3zCVXoY0gdD8uWqBgFeMTbQ3e3enOKMjvC2WmRk5pJKkqQMVmA1LKyd sCl6CQVjMQKCDPpSe1MA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdx-00FEPZ-1d; Mon, 31 Jul 2023 11:00:53 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdo-00FEFx-2r for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:47 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1bbc7b2133fso26776385ad.1 for ; Mon, 31 Jul 2023 04:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801244; x=1691406044; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=f/44d4gE6s90tJ4HpPTJnrDZsNfnP3IoIMwE03rP6nw=; b=b3ZHVX6YzJck8pzSA3I7P/Qai2d3M5FOXfj79iwJ7tadVo4ydDSqTCo0K0gjSxzsUh uQGNtTUAJ6AE+WlA2eBXDeccaOqRfXp7lkEjcleh7VdGIbhLkRdf1z4JvPIfIVANPWej G5zlBrBcO5GEpvrforXkuyQTFSgTzdr+h5EI5ADaEf1vlTSVkL5XUkofBnwBghUeWRmb KAxR0lKu4XtLYOT8LFY7krOrgAZ2pBzRk1FRoovjmpKl0KVpwYjbCv7aEJ9dIqa9s0cZ vKHYriCg0yfM5ga2IuxAlMiX+b3B+oW7K9RdKQS3xhHDmTWzz3r/aRDXJkIxo2kgknNZ 8Z6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801244; x=1691406044; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f/44d4gE6s90tJ4HpPTJnrDZsNfnP3IoIMwE03rP6nw=; b=OMwc5BWdhy4djpJpQdEuD8RTI1Wlf9FXQU+3OgUeOGS34prHposjliZcX88TaFHUkq HydtGh3nmK4R/SFuyYynS/X6tXUd902kO/YWbOkkFhjW3UOE26BQLwQL0h5ml9yyd7jz NYE5yI1/cqSok4O+AU28nifrhHjgEwBynfuH9JdhFcikYSkqrEeCnkmjYKBXzu3kuUF5 owTuGfLheigevB+MSEDglKWHi7VY72ZRnliPEgt3MfN/AyA0A9piKws6iz4CVTxyMb0Z XdJCAqy++AA0Z5ZDJg/9I9GRDFRfovIvBd7sr1IZXAb9BsF12c8aP4FjI2F1B6ElQ85+ IdDg== X-Gm-Message-State: ABy/qLaB0PcstOTTjkvslELjhSywCnigxMZBboxf5ZGMtf3kC5zmEIjn 5SuDOWBAgFC9NPz6pleys2qpvw== X-Google-Smtp-Source: APBJJlEBCCUKqrbud2fZPNHB09BhUDJFQrxUOBlXTBBSux2ugg2ShoIkCVkM4cgzVJSWlIogtNilTw== X-Received: by 2002:a17:903:455:b0:1b5:5a5f:369b with SMTP id iw21-20020a170903045500b001b55a5f369bmr8118251plb.65.1690801244371; Mon, 31 Jul 2023 04:00:44 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:43 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , dri-devel@lists.freedesktop.org, Sandy Huang , David Airlie , Daniel Vetter Subject: [PATCH 06/14] drm/rockchip: vop: Add rv1126 vop_lite support Date: Mon, 31 Jul 2023 16:30:04 +0530 Message-Id: <20230731110012.2913742-7-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040044_943377_17F5A384 X-CRM114-Status: GOOD ( 12.90 ) 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 RV1126 VOP_LITE supports the video output processing ofMIPI DSI, RGB display interfaces with max output resolution of 1920x1080. Add support for rv1126 vop. Signed-off-by: Jagan Teki --- Cc: dri-devel@lists.freedesktop.org Cc: Sandy Huang Cc: David Airlie Cc: Daniel Vetter drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 55 +++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c index 7b2805006776..d053ef027552 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c @@ -1120,6 +1120,59 @@ static const struct vop_data rk3328_vop = { .max_output = { 4096, 2160 }, }; +static const struct vop_common rv1126_common = { + .standby = VOP_REG_SYNC(PX30_SYS_CTRL2, 0x1, 1), + .out_mode = VOP_REG(PX30_DSP_CTRL2, 0xf, 16), + .dsp_blank = VOP_REG(PX30_DSP_CTRL2, 0x1, 14), + .dither_down_en = VOP_REG(PX30_DSP_CTRL2, 0x1, 8), + .dither_down_sel = VOP_REG(PX30_DSP_CTRL2, 0x1, 7), + .dither_down_mode = VOP_REG(PX30_DSP_CTRL2, 0x1, 6), + .cfg_done = VOP_REG_SYNC(PX30_REG_CFG_DONE, 0x1, 0), + .dither_up = VOP_REG(PX30_DSP_CTRL2, 0x1, 2), + .dsp_lut_en = VOP_REG(PX30_DSP_CTRL2, 0x1, 5), + .gate_en = VOP_REG(PX30_DSP_CTRL2, 0x1, 0), +}; + +static const struct vop_modeset rv1126_modeset = { + .htotal_pw = VOP_REG(PX30_DSP_HTOTAL_HS_END, 0x0fff0fff, 0), + .hact_st_end = VOP_REG(PX30_DSP_HACT_ST_END, 0x0fff0fff, 0), + .vtotal_pw = VOP_REG(PX30_DSP_VTOTAL_VS_END, 0x0fff0fff, 0), + .vact_st_end = VOP_REG(PX30_DSP_VACT_ST_END, 0x0fff0fff, 0), +}; + +static const struct vop_output rv1126_output = { + .rgb_dclk_pol = VOP_REG(PX30_DSP_CTRL0, 0x1, 1), + .rgb_pin_pol = VOP_REG(PX30_DSP_CTRL0, 0x7, 2), + .rgb_en = VOP_REG(PX30_DSP_CTRL0, 0x1, 0), + .mipi_dclk_pol = VOP_REG(PX30_DSP_CTRL0, 0x1, 25), + .mipi_pin_pol = VOP_REG(PX30_DSP_CTRL0, 0x7, 26), + .mipi_en = VOP_REG(PX30_DSP_CTRL0, 0x1, 24), +}; + +static const struct vop_misc rv1126_misc = { + .global_regdone_en = VOP_REG(PX30_SYS_CTRL2, 0x1, 13), +}; + +static const struct vop_win_data rv1126_vop_win_data[] = { + { .base = 0x00, .phy = &px30_win0_data, + .type = DRM_PLANE_TYPE_OVERLAY }, + { .base = 0x00, .phy = &px30_win2_data, + .type = DRM_PLANE_TYPE_PRIMARY }, +}; + +static const struct vop_data rv1126_vop = { + .version = VOP_VERSION(2, 0xb), + .intr = &px30_intr, + .common = &rv1126_common, + .modeset = &rv1126_modeset, + .output = &rv1126_output, + .misc = &rv1126_misc, + .win = rv1126_vop_win_data, + .win_size = ARRAY_SIZE(rv1126_vop_win_data), + .max_output = { 1920, 1080 }, + .lut_size = 1024, +}; + static const struct of_device_id vop_driver_dt_match[] = { { .compatible = "rockchip,rk3036-vop", .data = &rk3036_vop }, @@ -1147,6 +1200,8 @@ static const struct of_device_id vop_driver_dt_match[] = { .data = &rk3228_vop }, { .compatible = "rockchip,rk3328-vop", .data = &rk3328_vop }, + { .compatible = "rockchip,rv1126-vop", + .data = &rv1126_vop }, {}, }; MODULE_DEVICE_TABLE(of, vop_driver_dt_match); From patchwork Mon Jul 31 11:00:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334396 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 82169C001DF for ; Mon, 31 Jul 2023 11:01:26 +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:References:In-Reply-To: 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: List-Owner; bh=4X+kpWDHHRLCP7aKRkUMEhRHOsYkSjEVdlOEYUKxj8M=; b=HvQ5hvu5I+giMw tktLKxeIa4p2r7PFdXtqcr1Z6Wwa5e0BcrWei6AzmlHH61ojbTkSJsEFWN7aiBbPACyJsSrrnpi/0 ookWePA2yVfJF+aAH3a3gWqF4Xh31RVh2k9a9aThQo4eQ/n+7GhrU+hRTPek/j8j3MmvuIEWZPoup zlMFaxvBrqxh8JcO54TmMv9nE0kqoySnWEWk5qcspWzHFyGCW4tW6Ipw7bJ+oPUr+Oyvozl9WyYMe 1fnawtqmf5HcNHHTnYdszOCm2Cq06WXGFOr4KMpiFTRrqglA5Me9MsH+vwOTdLk1aNL3GnwflGBnp e/0+a5XZoChfYxwEpUfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQe2-00FEUe-0p; Mon, 31 Jul 2023 11:00:58 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdv-00FELv-0c for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:52 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1bc0d39b52cso5290255ad.2 for ; Mon, 31 Jul 2023 04:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801249; x=1691406049; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=H0WMB/rKA9SZTAI1IQRgHdLwr9J9XpTfTTdRysuLNm8=; b=B5wiNiUNBpQ5/cm40/5mR4Euud/LcpM2S1MDoIhxXQh4qa0LaT3RnuFzQxcKYIZVtK OIYrOjJcN4e2IcQt/rEdX/G/Qac+0oT/hHO/kJHGblNusnkn0KMYmETjY13t9ygONCag iiL1zd6KVsTRyjR3NfxaHbbXPNoB8l30xTG/wfcYEXg9FvCL4jKVTl/K14hA7SXaCXEI pHPARmy76/91ptYMjZmOiB7aIoiRY6w+0AFbtQCD1+FL59+47pX9+JpD7p3We8E4rLO4 zqBW+mogigC1d1nu+LhrHDWribUeFW02vbxg41RqM3hWGkjZFiIAcGPdu55womGQX6KM qd3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801249; x=1691406049; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H0WMB/rKA9SZTAI1IQRgHdLwr9J9XpTfTTdRysuLNm8=; b=hYIW9tO6ZZw9KxqIwPUayomik8ppIedqpWv46tkgxqZiMunrVGgDx2mRUgbBBv8VTS kvmvvnN/75HBailtUV7YPTuSBaexCiQavcSzLWnFkRSU9PB/lsRbMtASJ/6557+/ohfv n2tlxCXOZZFmcjXQOKBxXIK0677BqSOA0Kilp/PMybT4XdNFDOHoYVImBzqKlnOlLF1y +Y0NqkdOLoOPGfN1zDamgKF9IY44wi7ELPpv1JbSmw2B0F3k0IO8YgD1bH+b4mjXEpub yAXg7IXxBuNoEWyl77PO21eUdeJhqeItc3GMt6rhMYt9sIewT0tVyxZqNEK+Qij66p1e qXYw== X-Gm-Message-State: ABy/qLYRSkW5h/qCYwUUo8zZrplQQQvFVbaCYa75mBYErptytRPqOZ7J chazUmR2MOsq1zMqGKT+gJgmJA== X-Google-Smtp-Source: APBJJlEL6GyYYARcEpmECY3j7mHuoZbCzpcyxxbV86ML15IxgqlhlJDvc/OuaitgyiGInsT10WH8eQ== X-Received: by 2002:a17:902:a40d:b0:1bb:20ee:e29e with SMTP id p13-20020a170902a40d00b001bb20eee29emr8855585plq.1.1690801249350; Mon, 31 Jul 2023 04:00:49 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:48 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sandy Huang , David Airlie , Daniel Vetter Subject: [PATCH 07/14] dt-bindings: display: rockchip-dw-mipi-dsi: Document rv1126 DSI Date: Mon, 31 Jul 2023 16:30:05 +0530 Message-Id: <20230731110012.2913742-8-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040051_273123_B49746DE X-CRM114-Status: GOOD ( 11.46 ) 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 Document the MIPI DSI for Rockchip RV1126. Signed-off-by: Jagan Teki Acked-by: Conor Dooley --- Cc: dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley Cc: Sandy Huang Cc: David Airlie Cc: Daniel Vetter .../bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml index 8e8a40879140..ccf79e738fa1 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml @@ -18,6 +18,7 @@ properties: - rockchip,rk3288-mipi-dsi - rockchip,rk3399-mipi-dsi - rockchip,rk3568-mipi-dsi + - rockchip,rv1126-mipi-dsi - const: snps,dw-mipi-dsi interrupts: @@ -77,6 +78,7 @@ allOf: enum: - rockchip,px30-mipi-dsi - rockchip,rk3568-mipi-dsi + - rockchip,rv1126-mipi-dsi then: properties: From patchwork Mon Jul 31 11:00:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334398 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 C8E43C001DC for ; Mon, 31 Jul 2023 11:01:41 +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:References:In-Reply-To: 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: List-Owner; bh=xQPmmmBpP7uNAGI9O8POrDA9gqMT4V4NzVxQ0+UU7f4=; b=Gf/OYKNI0eW28O EV+QkMV5aPBYILcwuxzoJcDVM7BIsMq/nFMFibxOFl3GnzYdq+PZIoKn8KYwCMy0eMV2KE8KQ01e7 ldaaDxv31Fo7vumqG+sMpwNXEwc3MOzKrJABRk/F9Wxuf+I5+b2E/yI3ek1jc+4Nw6sLhaEchkz2E VcUrCMc3lyrxBJ85To2mmrCpV9oqSZaqjXA1qwANwf9MueAD2LbV4Xn+mVtbjSoVVaCbpCmAeaSiM eR/3oF/84FVKV/aaB0PMD26fharyaa6QqHj58sewmCGiMWwd5AiQ6GtehwMLdEMk8vfRkV+oRqMf8 OQCz4HW+DLpWTkbMlXbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeF-00FEgZ-1T; Mon, 31 Jul 2023 11:01:11 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdy-00FEPd-2o for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:56 +0000 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-56401f1da3dso2364706a12.0 for ; Mon, 31 Jul 2023 04:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801253; x=1691406053; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BDpzgt3yf1dnhEnhafA21d4732XFCABNZPAtKuamjQM=; b=gR4DCj7EXtzZprnzrujUBpg/o6L59rnF3hNYEULV55G7XhnCZrfw49mDoyI/KOanyN SH7ro8/nPK1ZfvoA5jxxriXNoOa0xILmw+3uwpddG+9ef2iirdSN7ZPdLlxDX+NgMr4h QbmZDqOdom6dYdkb8rBCyUJOr2zXMokO92dqiTSrrmHR/OZcwDQyEPN5O+Vkr1CJ7PEX ndY4jGguGbbEXNLWBt+OATfh4rxk8OpY0NB1Df86ivsggUPCqnBsqwb6RHh/sDKqRxI2 QTdB+tA0OiGZf33HHpeikiXFX0hvquzm51CfUhEncngGh7p6RqQVe4IfC0xgqUBu91wl Pf+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801253; x=1691406053; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BDpzgt3yf1dnhEnhafA21d4732XFCABNZPAtKuamjQM=; b=Stx943x3bQP8EL6fwqBKFMk5Nw0IU/spYdKSeJ0fOatxvVw+RtcloA+ArFdZrljnPy KEOEZdO/4oNVONkpTZiqdArw58j9Z9/oI9X33udQgQC3uR23AdNQorSjotC5SXvOXAu/ a2475KXZ9iBkLcHfBGygKJhDxUK2GqmS5G1zparrKFxgVN3ikb5mdvIGsWIHh2EZg0BS NUvh78MFzbLKqJhZ7l/tbhAyXVwg4Gbw5QqaDERrJqUI+8WxWxgIxO7+v29PEBeOAAWq hw75NCy/MWQLB9p0iNdH0dYppCK0WlVqPF8yZYZ3YEG3zbUuuM2/mZXEpdAW1mkZ7BUD UhkQ== X-Gm-Message-State: ABy/qLY5FXhJK7GwV2cW3D5gqWW02y8X/ipvkUXCcwCFybomiYOkUQoq Mf/Bbr6WjA9jGygb3GU+C1iuxw== X-Google-Smtp-Source: APBJJlFg0DC2IUqYvRu71L/g9OybK4oJw+Kju3byUa8K22Vb3WOpYfUiLi+3ql8thLtiJM0WvylDUw== X-Received: by 2002:a17:90b:3b44:b0:262:d661:2963 with SMTP id ot4-20020a17090b3b4400b00262d6612963mr8657626pjb.39.1690801253045; Mon, 31 Jul 2023 04:00:53 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:52 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , dri-devel@lists.freedesktop.org, Sandy Huang , David Airlie , Daniel Vetter Subject: [PATCH 08/14] drm/rockchip: dsi: Add rv1126 MIPI DSI support Date: Mon, 31 Jul 2023 16:30:06 +0530 Message-Id: <20230731110012.2913742-9-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040054_911425_5D94935E X-CRM114-Status: GOOD ( 13.87 ) 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 RV1126 MIPI DSI supports V1.2 DPHY with 4 lanes and 1Gbps transfer rate for lane. Add support for it. Signed-off-by: Jagan Teki --- Cc: dri-devel@lists.freedesktop.org Cc: Sandy Huang Cc: David Airlie Cc: Daniel Vetter .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c index 0100162a73b2..8bafb2a2747f 100644 --- a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c @@ -198,6 +198,11 @@ #define RK3568_DSI1_TURNDISABLE BIT(2) #define RK3568_DSI1_FORCERXMODE BIT(0) +#define RV1126_GRF_DSIPHY_CON 0x10220 +#define RV1126_DSI_FORCETXSTOPMODE (0xf << 4) +#define RV1126_DSI_TURNDISABLE BIT(2) +#define RV1126_DSI_FORCERXMODE BIT(0) + #define HIWORD_UPDATE(val, mask) (val | (mask) << 16) enum { @@ -1651,6 +1656,18 @@ static const struct rockchip_dw_dsi_chip_data rk3568_chip_data[] = { { /* sentinel */ } }; +static const struct rockchip_dw_dsi_chip_data rv1126_chip_data[] = { + { + .reg = 0xffb30000, + .lanecfg1_grf_reg = RV1126_GRF_DSIPHY_CON, + .lanecfg1 = HIWORD_UPDATE(0, RV1126_DSI_TURNDISABLE | + RV1126_DSI_FORCERXMODE | + RV1126_DSI_FORCETXSTOPMODE), + .max_data_lanes = 4, + }, + { /* sentinel */ } +}; + static const struct of_device_id dw_mipi_dsi_rockchip_dt_ids[] = { { .compatible = "rockchip,px30-mipi-dsi", @@ -1664,6 +1681,9 @@ static const struct of_device_id dw_mipi_dsi_rockchip_dt_ids[] = { }, { .compatible = "rockchip,rk3568-mipi-dsi", .data = &rk3568_chip_data, + }, { + .compatible = "rockchip,rv1126-mipi-dsi", + .data = &rv1126_chip_data, }, { /* sentinel */ } }; From patchwork Mon Jul 31 11:00:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334397 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 71EDAC001DC for ; Mon, 31 Jul 2023 11:01:38 +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:References:In-Reply-To: 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: List-Owner; bh=0wgC3Iq3BmY4VkTkKoTuuTfo/U+KN7jEThFH8NF4Tyg=; b=F0jVe9DOL9OG9v RIuYvgw5j98k9FZ6aWtqR9YfTIBP+maMM0yewbDn9WqhkPjZtD996jKvTqSzGS5dBUhDHyry+wb7i S4A4ggDcqTqmwqhS1MqmoCFkOsOrfEJvpGs2dkZU/JXVTYw5Ls16n/cb/kBOMX28Zy5XoBg4iYpbe o73EFHdQ08peF1A6O0UPZGiYb5Yev+hvopGkcAm+MJGONAJwKo3ts1Q25jYC+bdip4CO2ZZaRY+QR KzY8oZSAJPLTdG5se65oldB3RAM3jqsxDoRI5JdazDGSHPCqYNDZbMHCsmgv09I3eC3sYvkMf67xy H/zxVSlKljqY83+GQ2Hw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeI-00FEjj-0g; Mon, 31 Jul 2023 11:01:14 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQe1-00FETY-0W for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:00:58 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1bbc2e1c6b2so26895265ad.3 for ; Mon, 31 Jul 2023 04:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801256; x=1691406056; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eWLb2QHv80Gf4hwq5O1c/PTUIS8nb/DSOgdSZjWSOkI=; b=szE/qciLc8Z98Doz/74pVkBcEuCdDBO9Vdeqiu6uxqO8/Tag4moUTJL1pnf/26mP2w 3VDZlNSmK1cIPh/X8UPWMicfXHWQQ/HqM6uqUsMHQMwbBMuU2sEmjOs1vjbWRcng8wx+ tunWvfHXl7PZsTkLEfI8lgRdtnm5kxCxMpMNzuNQzS6U6xAVcaFO2WGsH4rrFrPcpEHD dmwj9awzAicODG5WK2EJEmEGu+SDqLbsWd1UGUiMBSJZOSUs0ihxxJJsdEDxQECkhyw1 jD4zif/BsMut4BuZRKjxYDr4JFmdSZnSvZn8mYZ3hAwsDLxUCeDR8a5wjd5D/VJUVwJA LRfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801256; x=1691406056; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eWLb2QHv80Gf4hwq5O1c/PTUIS8nb/DSOgdSZjWSOkI=; b=SJsScLU9YmsXt1wh1rsKXsL63nn0oKWuVSgaE7hzY0NzblDFR++IXB31YDzGIXfh2L e7BxrFaflqg2isGj+wGNyXDbHzwmioiSrIT4Ax2Ee4+hEGDyvsO2KTIM5yg/6GBc/FUF u0UeFLQ/EXpszbJyXl3sFCOy6ZxUEdSy/Q0830uDxn1EbuqHdVaclXmi4+OwZIwSwXDL RQ2LutR/kPiIH3MVhBZ7xGaTtQVkO3R0kO5SIhvUHNfYK8DiOLJbvIVUOjxcrA+sCR/N +tF7IsY3/0g+iD1fi6LdunM9ML+qHUBjRUzhG5YPuGfwazzuHP9e/XJ+GvOhl+YZ/gm/ /IUA== X-Gm-Message-State: ABy/qLbuT5d8iWifY0pHyDwXRgRyM3VzGoCGdq1x++7i6GWSx+Ev/L4d 6M42BaTvSPi8qz955B/lMQr4gw== X-Google-Smtp-Source: APBJJlFzMR4Ag+omLupQiZPSx5mTCYomZZuF1agtSxo5hBpOA9cERdu3r1bU+bJt30kzbkiKl7yIEQ== X-Received: by 2002:a17:902:ec89:b0:1bb:6875:5a73 with SMTP id x9-20020a170902ec8900b001bb68755a73mr9190006plg.2.1690801256700; Mon, 31 Jul 2023 04:00:56 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:56 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 09/14] ARM: dts: rockchip: rv1126: Add PD_VO entry Date: Mon, 31 Jul 2023 16:30:07 +0530 Message-Id: <20230731110012.2913742-10-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040057_199656_92EC9E4A X-CRM114-Status: GOOD ( 12.01 ) 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 PD_VO power-domain tree diagram in RV1126 is connected to - BIU_VO - VOP - RGA - IEP - DSIHOST Add PD_VO power-domain entry in RV1126. Signed-off-by: Jagan Teki --- Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley arch/arm/boot/dts/rockchip/rv1126.dtsi | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index afa5a68f766f..4d74d3d998ab 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -125,6 +125,26 @@ qos_sdio: qos@fe86c000 { reg = <0xfe86c000 0x20>; }; + qos_iep: qos@fe8a0000 { + compatible = "rockchip,rv1126-qos", "syscon"; + reg = <0xfe8a0000 0x20>; + }; + + qos_rga_rd: qos@fe8a0080 { + compatible = "rockchip,rv1126-qos", "syscon"; + reg = <0xfe8a0080 0x20>; + }; + + qos_rga_wr: qos@fe8a0100 { + compatible = "rockchip,rv1126-qos", "syscon"; + reg = <0xfe8a0100 0x20>; + }; + + qos_vop: qos@fe8a0180 { + compatible = "rockchip,rv1126-qos", "syscon"; + reg = <0xfe8a0180 0x20>; + }; + gic: interrupt-controller@feff0000 { compatible = "arm,gic-400"; interrupt-controller; @@ -170,6 +190,25 @@ power-domain@RV1126_PD_SDIO { pm_qos = <&qos_sdio>; #power-domain-cells = <0>; }; + + power-domain@RV1126_PD_VO { + reg = ; + clocks = <&cru ACLK_RGA>, + <&cru HCLK_RGA>, + <&cru CLK_RGA_CORE>, + <&cru ACLK_VOP>, + <&cru HCLK_VOP>, + <&cru DCLK_VOP>, + <&cru PCLK_DSIHOST>, + <&cru ACLK_IEP>, + <&cru HCLK_IEP>, + <&cru CLK_IEP_CORE>; + pm_qos = <&qos_rga_rd>, + <&qos_rga_wr>, + <&qos_vop>, + <&qos_iep>; + #power-domain-cells = <0>; + }; }; }; From patchwork Mon Jul 31 11:00:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334400 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 935A8C001E0 for ; Mon, 31 Jul 2023 11:01:59 +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:References:In-Reply-To: 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: List-Owner; bh=TrnOlDPnCRYkjZ/x3g8K9y6F3qc12xBRrxxLGUCDI2g=; b=GuA9vQRA54OnJY 7VCXtoA6y9hkwGEZJzgGrWrMicPBG0OL30ur8ly7LQ+FfFjTFLUIQCz/ZUmk3ojsn/sKTVQYypTi5 yapGwM7Q9WMAUfBOJQ8fqY/ojUI7H1pencGZ4JwQxOUo8qOS/bwdH0ODFOcnpPVg4it5ogC5MCDvQ w1Q3in5H+Kc+ybIa1ENNTSOZU99s//jYmOr7g8VTvlUPFWfyWVpYuqgJIFyqUaOsXC6Wt0A4Z8nco wrBQQNk3643UMbrkHVNLpQyiWcywjX03//NhgIlg7N1PKhmxP/1ppL4NvWVNDoCavIygrb17paAjz FkIxfiZZc/02j8EdexVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeZ-00FF1G-2q; Mon, 31 Jul 2023 11:01:31 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQe5-00FEX8-1o for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:01:04 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1bc1c1c68e2so1611695ad.3 for ; Mon, 31 Jul 2023 04:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801260; x=1691406060; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=55TagAiRshVLsdjzm5dT6uG8EtYk9qbUxp2o3j3weag=; b=Bl3v+TDkr1tWyTR/X3u7OIWZY+hhZcfzuJMQJUAsDJ4k3VI0u9+hKhzUyskc5O/L0a UHShK07qZ5T4TooAg0YFWtucQeZP+x73pJycEz+zwtvgMrKXQkFcJaHIB7unBa7zk3mU H90/e++GoCZW2I6JHF1020O/DfcbaiiAjdxoe0WS8kvyBrxYPHMPGa+0ey4WmieNbxt6 8cHIkPxlBV5T9jaxWCsOjO9+2hWGi5IQztDadSenimHylGJ3ZyMFdPVwmyeXaKfnk3pI aLrlGi07RzqUBvCommCfmGaC3ZXgqWCT24MaGRgFvzMlIfm5Ch5y5ztSX4ubvCWKEPgJ oDuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801260; x=1691406060; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=55TagAiRshVLsdjzm5dT6uG8EtYk9qbUxp2o3j3weag=; b=arYhQe8ryCtvpRrfrcGqd2mYjEiKj9r4bkia0G4I7uOdAX39pJL4I6tcfuDw9nXytn ud9NeOMkD3tEQC7sfFUUUmK4HLFzYui2ZYxebWFUgAaZCQWuEtIeuwhlr0HJ9bv1FaLP CVjTPWkUIDRluzkMeRH3Tvmk69PmCAix9qLka5anoq0P8ESyt1/i5eB3IIEu4ZtKLsPa awR3D4aV/qVpxmEob7fNnZFTuoRdTO/mdLswhr4r0P8DntcAMJrKvc3ERxFtgXccA+L6 mTWbCg/7sHv0UbJVtEqUunp76GfiVGUp+z2Fl5UdE1/vJ+hqBI5n8onurjqAQEZWvbmq ua3w== X-Gm-Message-State: ABy/qLYxwdN72u5a1LxfXbJJ0iNJkEWJK6QNtE8rWjyqixZLil0AErP5 A4sEuEIbqSy9AHCIzhJaCFO6XA== X-Google-Smtp-Source: APBJJlFN6+PX/38XXVYidoiq5so/jfqcKsG0PA72uSFA4mF8rVS3tLoY360tQQFzPvZOXDtB3tTcHw== X-Received: by 2002:a17:903:32cf:b0:1b9:c68f:91a5 with SMTP id i15-20020a17090332cf00b001b9c68f91a5mr10388667plr.6.1690801260144; Mon, 31 Jul 2023 04:01:00 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:00:59 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 10/14] ARM: dts: rockchip: rv1126: Add VOP_LITE support Date: Mon, 31 Jul 2023 16:30:08 +0530 Message-Id: <20230731110012.2913742-11-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040103_522132_2954E1AE X-CRM114-Status: GOOD ( 12.36 ) 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 RV1126 VOP_LITE supports the video output processing ofMIPI DSI, RGB display interfaces with max output resolution of 1920x1080. Add support for vop in rv1126. Signed-off-by: Jagan Teki --- Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley arch/arm/boot/dts/rockchip/rv1126.dtsi | 42 ++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index 4d74d3d998ab..9ccd1bad6229 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -83,6 +83,11 @@ timer { clock-frequency = <24000000>; }; + display_subsystem { + compatible = "rockchip,display-subsystem"; + ports = <&vop_out>; + }; + xin24m: oscillator { compatible = "fixed-clock"; clock-frequency = <24000000>; @@ -393,6 +398,43 @@ timer0: timer@ff660000 { clock-names = "pclk", "timer"; }; + vop: vop@ffb00000 { + compatible = "rockchip,rv1126-vop"; + reg = <0xffb00000 0x200>, <0xffb00a00 0x400>; + interrupts = ; + clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>; + reset-names = "axi", "ahb", "dclk"; + resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>; + iommus = <&vop_mmu>; + power-domains = <&power RV1126_PD_VO>; + status = "disabled"; + + vop_out: port { + #address-cells = <1>; + #size-cells = <0>; + + vop_out_rgb: endpoint@0 { + reg = <0>; + }; + + vop_out_dsi: endpoint@1 { + reg = <1>; + }; + }; + }; + + vop_mmu: iommu@ffb00f00 { + compatible = "rockchip,iommu"; + reg = <0xffb00f00 0x100>; + interrupts = ; + clock-names = "aclk", "iface"; + clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>; + #iommu-cells = <0>; + power-domains = <&power RV1126_PD_VO>; + status = "disabled"; + }; + gmac: ethernet@ffc40000 { compatible = "rockchip,rv1126-gmac", "snps,dwmac-4.20a"; reg = <0xffc40000 0x4000>; From patchwork Mon Jul 31 11:00:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334399 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 B94FAC001DC for ; Mon, 31 Jul 2023 11:01:58 +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:References:In-Reply-To: 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: List-Owner; bh=gu05dLEWbsNJhlXwSJ780hUkvQL7DUbG5KnjyWdWjZg=; b=v8yYzr9hAjjQKe /QyfZ4iUdQteo96zzEcCM6hravzKYwQu1G+UmSw67tKdqvb7QNatZ7Y8Q5JGZxsG2+IOZepeTnvSf 87TrqEJhtUy72zYIJSxACy4e0nM8L4+5AIfb1hQlfIMrDj8leLh9JE9knujgZaR/ikALSGjQfeGXk wt871CSUPSqclJPPoyc6XM0Q3tUY7vExwS/8jkM8TEjFjEjNZ2WzTedt6VYseP/ZMK5mkzx/PmVa7 bcGSauU/RK9L4rERzVAAxrXjrDuKspFnIaR2ZwhpexwqoxDN6UMRaFpXZq5pp3Fec5sME0wR1PlIL PaCZeUT2smSjUbTVkSHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQea-00FF2A-28; Mon, 31 Jul 2023 11:01:32 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQe8-00FEal-2i for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:01:08 +0000 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-563f8e8a53dso2619714a12.3 for ; Mon, 31 Jul 2023 04:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801264; x=1691406064; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+OGteNt5NDQh8X1+wYBc1iO3wWROEIikeZHDF62+z3E=; b=M91+x+uFD6KCXts/C4HyXuwml1tkv4f0eK6i9HsfOuCkgFzneYqzBxOUkYLv/W0sgX vIgLTaCYsbR+m01OAr9DQTIeU85hqCw/hg6ZZWtDa3GTYVd82Y/Ulnb8YFERF0f1Pfhl lOLL7Kx/CIdgMIo1CtldjOKFn3aE7KytMh8XNgSL+x8N+Z8d1riR7vmTJfR/ygIwSj3N 62MthbbkYL9QAQujZSkT4gVTULBWt/5nZyooKXq8ZJaaP+uMI+Fp+wdhQdNx2cCe5uE8 aCUqRHALjCXJwjMCtoLnHbGI4r9bZdsaFTSG4SgPDLF+Kn9y/sdgmryQzcP/pYCOuM3s MMxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801264; x=1691406064; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+OGteNt5NDQh8X1+wYBc1iO3wWROEIikeZHDF62+z3E=; b=TuEGlX4GUsUiypBbNh3u6sOtPFrrIMrKuVggQAZF4RXrsrL/CJGWhAQp3L+FFS4s+P IIEtaRTGoB78W8HI5e7+g72D21+NR5aYoNrVg+UldSUSwsBw5YJc0zoprvslE7Mxt/8H ooH+mro9Bkw3+9EnJsFJM5EB9ViK1p5xB7g0DlS/xkFmCnVOqmL0nWPGBghfvWgZkmNj FdZ662pvbikX4ITIriH1+T+XMh8YaRNnjyAgykPu8GQ2UIjUufEpQEUIL0nufHsc6q/1 bJcvhas3r8brNJmtUjJmGvHr0ddR6SX7bavoDGOHj1jB8zO6pXk2+eNrahYM0QMQO0Xh 9RZA== X-Gm-Message-State: ABy/qLb63gCJNqabuyCN7ZrGNKrIPZp3AfeV12JdnGQSJgfL+0cDiSwY 1313Ieq6daRQZv1/vMB9Gn5dMQ== X-Google-Smtp-Source: APBJJlFs4UCRFy2aJkNr/zigzSG3poRWLEQANovbsuunR+0w0DxxDRSeTObukRAQ4atK1noRnsU2Xw== X-Received: by 2002:a17:90a:3e4e:b0:268:29cb:f93a with SMTP id t14-20020a17090a3e4e00b0026829cbf93amr9162517pjm.1.1690801264006; Mon, 31 Jul 2023 04:01:04 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id t14-20020a1709028c8e00b001b1a2c14a4asm8281096plo.38.2023.07.31.04.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:01:03 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 11/14] ARM: dts: rockchip: rv1126: Add MIPI DSI pipeline Date: Mon, 31 Jul 2023 16:30:09 +0530 Message-Id: <20230731110012.2913742-12-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040104_889295_6D894F8F X-CRM114-Status: GOOD ( 12.04 ) 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 MIPI DSI controller in RV1126 has integrated MIPI D-PHY V1.2 thatĀ supports up to 4 lanes with a 4Gbps transfer rate. Add MIPI DSI pipeline for Rockchip RV1126. Signed-off-by: Jagan Teki --- Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley arch/arm/boot/dts/rockchip/rv1126.dtsi | 49 ++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi index 9ccd1bad6229..512cc18762b6 100644 --- a/arch/arm/boot/dts/rockchip/rv1126.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi @@ -276,6 +276,20 @@ cru: clock-controller@ff490000 { #reset-cells = <1>; }; + dsi_dphy: mipi-dphy@ff4d0000 { + compatible = "rockchip,rv1126-dsi-dphy"; + reg = <0xff4d0000 0x500>; + assigned-clocks = <&pmucru CLK_MIPIDSIPHY_REF>; + assigned-clock-rates = <24000000>; + clock-names = "ref", "pclk"; + clocks = <&pmucru CLK_MIPIDSIPHY_REF>, <&cru PCLK_DSIPHY>; + #phy-cells = <0>; + power-domains = <&power RV1126_PD_VO>; + reset-names = "apb"; + resets = <&cru SRST_DSIPHY_P>; + status = "disabled"; + }; + dmac: dma-controller@ff4e0000 { compatible = "arm,pl330", "arm,primecell"; reg = <0xff4e0000 0x4000>; @@ -420,6 +434,7 @@ vop_out_rgb: endpoint@0 { vop_out_dsi: endpoint@1 { reg = <1>; + remote-endpoint = <&dsi_in_vop>; }; }; }; @@ -435,6 +450,40 @@ vop_mmu: iommu@ffb00f00 { status = "disabled"; }; + dsi: dsi@ffb30000 { + compatible = "rockchip,rv1126-mipi-dsi", "snps,dw-mipi-dsi"; + reg = <0xffb30000 0x500>; + interrupts = ; + clock-names = "pclk"; + clocks = <&cru PCLK_DSIHOST>; + phy-names = "dphy"; + phys = <&dsi_dphy>; + power-domains = <&power RV1126_PD_VO>; + reset-names = "apb"; + resets = <&cru SRST_DSIHOST_P>; + rockchip,grf = <&grf>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dsi_in_vop: endpoint { + remote-endpoint = <&vop_out_dsi>; + }; + }; + + port@1 { + reg = <1>; + }; + }; + }; + gmac: ethernet@ffc40000 { compatible = "rockchip,rv1126-gmac", "snps,dwmac-4.20a"; reg = <0xffc40000 0x4000>; From patchwork Mon Jul 31 11:00:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334401 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 EA4E5C001E0 for ; Mon, 31 Jul 2023 11:02:07 +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:References:In-Reply-To: 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: List-Owner; bh=qYhADK/8cLzGV2d0xQl8lxP8tweMwfj4u3AjPluGQ64=; b=qP9dgNBWd9S2t0 eA5YRjrl+kofOPEuD23hUmm8WpCInNF1oBk+b81/5zSVX7zBIEKJNbH2i5FmqE7n7CbZwBR7E1OF5 pfLWMoTLVP9MmeH7xMFbUZng7PB5094TiUPzFJrB2SzuX8hhi3CuJK2UyMvnK7Cw+fnEnAVWMQt7Z iGazqdG7FE1SEzX42d5tCkKPHY8pYMFp6Hrit98oGvcxTH+z4zQeQHs60dDPrdRuwEMS4BjVZuV75 3HWT6iwp0aajmG+SRs8/2AY8LAnKmNmext53eOUffIvkxYnCqYqS10l5cLcqpvFZ7RwxfACEmQtmI Eidbu4WvmOp4u/3xpEtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQek-00FFDY-2S; Mon, 31 Jul 2023 11:01:42 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeC-00FEeA-0G for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:01:16 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1bbf8cb694aso17437775ad.3 for ; Mon, 31 Jul 2023 04:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801267; x=1691406067; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I3HQqCjHhe62nCHb2ZUEredGg2Liro7QpcAO6XbGXQM=; b=Vbu3QlUxDZg8h79w1nMCHELds+BECqRM0VQBZ7eTInS4YI+1kEdByyYuXdZM7dSrGq 33waIJ5YruLhehpBsPuE2dFPtTQgmI84V4ZIEnKh5q4OACZMvdPcewQ1sxNRNe5kqa5E 6ry7bNVuLPciLCE61JAY48hpUnBcG7FAOkfsPunXIAcklRdcUDY1Uj7cIbaqnpG8iS2d UCT2Qwq+qQzO6v9Z/zNtLq6UjuehBSkg6MJUg+ngbrHuaNLM6+q4eQ5oWw7sGHp/IAlC qYbIjYyWoxOEzraNBj6PgFzu5SHV5++xfLF+6Jr9tRCAU+Dz2m7mhomhLlL9VX13DlEK p+Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801267; x=1691406067; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I3HQqCjHhe62nCHb2ZUEredGg2Liro7QpcAO6XbGXQM=; b=lUQHa5pgetjnZgdWjD3/PSEGgqFpVF8BDPufLVG0kJ4EPcs1zp1O4aO3l7mFAGt1NG G7kScL3fYmV/c7jy5AT5S3Ux65wdn4l2iX2aA4UJWVM1J0ctWaacRW7YZKJ3CPKztJKL r5jcIddwJA/bwe6mI1NgHUYB2DswG0dc6z5GaX99VkH2s/pTwu9dPZvkG8qxnZziskkY IduxRiyBYBxFuWws05ELdNj72DvWuach2RI1EqSXmwGNpgPvrzCMctIBfwP08TLHGy8f AOg+H1Ks+ZZNrnJZs9qoo3taZJFuCF4C4FTNblJ6cdvX2LBNkX24CdYFWCCv8S1QEqVQ jdyQ== X-Gm-Message-State: ABy/qLYVnH5qw8AewlDKUMT+loUbbuJ9PwSfjRMaN5sauJfofyTD43NK MR7JCQjTyBQt9HNPGIDKpqTt6Q== X-Google-Smtp-Source: APBJJlFq+2TfHav2VZ5GzORqXeGIqvCIntD0Yt+oFMlS+Mm1TXcW7gCdNp3DlH7fkuLzM7MZG0S/Zg== X-Received: by 2002:a17:902:ea09:b0:1b8:76ce:9d91 with SMTP id s9-20020a170902ea0900b001b876ce9d91mr11389549plg.1.1690801267368; Mon, 31 Jul 2023 04:01:07 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id t14-20020a1709028c8e00b001b1a2c14a4asm8281096plo.38.2023.07.31.04.01.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:01:06 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 12/14] ARM: dts: rockchip: rv1126: Add Edgeble Neu2 IO DSI overlay Date: Mon, 31 Jul 2023 16:30:10 +0530 Message-Id: <20230731110012.2913742-13-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040108_259795_0DDD70AD X-CRM114-Status: GOOD ( 15.89 ) 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 Add DSI pipeline for Edgeble Neu2 IO board via DT-overlay The DSI connector in Edgeble Neu2 IO board support different resolution panels and those compatible is added in another DT-overlay. Add Edgeble Neu2 IO DSI connector DT-overlay. Signed-off-by: Jagan Teki --- Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley arch/arm/boot/dts/rockchip/Makefile | 1 + .../rockchip/rv1126-edgeble-neu2-io-dsi.dtso | 112 ++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io-dsi.dtso diff --git a/arch/arm/boot/dts/rockchip/Makefile b/arch/arm/boot/dts/rockchip/Makefile index 0f46e18fe275..c8c8e1292650 100644 --- a/arch/arm/boot/dts/rockchip/Makefile +++ b/arch/arm/boot/dts/rockchip/Makefile @@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rv1108-elgin-r1.dtb \ rv1108-evb.dtb \ rv1126-edgeble-neu2-io.dtb \ + rv1126-edgeble-neu2-io-dsi.dtbo \ rk3036-evb.dtb \ rk3036-kylin.dtb \ rk3066a-bqcurie2.dtb \ diff --git a/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io-dsi.dtso b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io-dsi.dtso new file mode 100644 index 000000000000..88431e1e30f8 --- /dev/null +++ b/arch/arm/boot/dts/rockchip/rv1126-edgeble-neu2-io-dsi.dtso @@ -0,0 +1,112 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. + * + * DT-overlay for Edgeble Neu2 IO DSI Connector. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&{/} { + backlight: backlight { + compatible = "pwm-backlight"; + pwms = <&pwm2 0 25000 0>; + enable-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&backlight_en>; + }; + + vcc_lcd_mipi_2: vcc-lcd-mipi-2-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_lcd_mipi_2"; + enable-active-high; + gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc_lcd_mipi_2_en>; + regulator-boot-on; + vin-supply = <&v3v3_sys>; + }; + + vcc_1v8_2: vcc-1v8-2-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_1v8_2"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc5v0_sys>; + }; +}; + +&dsi_dphy { + status = "okay"; +}; + +&dsi { + clock-master; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + mipi_out_panel: endpoint { + remote-endpoint = <&mipi_in_panel>; + }; + }; + }; + + panel: panel@0 { + /* different resolution panels are used, compatibles are in DTO */ + reg = <0>; + vdd-supply = <&vcc_lcd_mipi_2>; + vccio-supply = <&vcc_1v8_2>; + reset-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&lcd_reset>; + backlight = <&backlight>; + + port { + mipi_in_panel: endpoint { + remote-endpoint = <&mipi_out_panel>; + }; + }; + }; +}; + +&pinctrl { + lcd { + backlight_en: backlight-en { + rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>; + }; + + lcd_reset: lcd-reset { + rockchip,pins = <3 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>; + }; + + vcc_lcd_mipi_2_en: vcc-lcd-mipi-2-en { + rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&pwm2 { + status = "okay"; +}; + +&vop { + status = "okay"; +}; + +&vop_mmu { + status = "okay"; +}; From patchwork Mon Jul 31 11:00:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334402 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 30B52C001DF for ; Mon, 31 Jul 2023 11:02:22 +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:References:In-Reply-To: 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: List-Owner; bh=8BwU1Teejrlr1cORbYG9yuW0TD0QGqtT89Hsbtm8LD8=; b=sAa9NSlEXSsEZV +n1Sydvsv9c6ud/nUMBzZpZaEBoslFoelwRwqjZN/KnI5eOchKrUfCAEr1s7Hpv0sAeO2f9cWiqJS MnThWf3vyVpmpYFN4DIXd89B9gb25lUI3Gvn4a3OLAkn+DALQsoyrarhLheSmORAyzQyzrOlsr6jD 1y3yez8oHHqEQTHn5nBogmqI2l+Nx8p9xDmc/v5x76QwaIz0t8eBLJoRBXWIwDwKuurycAPPOusEm mLbzVhT3BvmH2OyDRocMArPejhdNwNvPV0JMrQtLsfArfiWiocQVWXirI6R/qw01WNijYa5u7nbio bpxTAbalwCJNUO2AXqWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQew-00FFX0-0L; Mon, 31 Jul 2023 11:01:54 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeF-00FEhQ-1n for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:01:18 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1bc0d39b52cso5292935ad.2 for ; Mon, 31 Jul 2023 04:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801271; x=1691406071; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ox/FK2P0lsJq99wswpzCibIx03qccyvz1J3mu8W2wUQ=; b=qow5ffPvAWaxlqjzA8290F9X2gqLaAj3afo/Do/vlMgtdugifywh3qfdXdttNFfWF4 1YqMTv+WPm/elZMhjXoNiXxzpPYuBf61dnKQ+JWjzOdyjyHMLwSNAH4pxPTFFpMggI+k hsqbV+Q6QdOsy62Z4uZwSbZVIi2R3SwUmwrPRGVvVlBq0Jp36B8xvWThgoKtY0hOXwKI 1bw78OxPWJ4a4YkbeFEcXV6BLtPbrtuHSv7fnoihzvPCcJY2Jd8z/xi4G8yhRUN59brk GQCVwr3sTnrcKdemDh1wSjzIu15BDbuFmy5tYNTVV2avBCtnQgQ5IpHvdgObCtSZcaNa NyOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801271; x=1691406071; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ox/FK2P0lsJq99wswpzCibIx03qccyvz1J3mu8W2wUQ=; b=WqzeI09UKzE7Q2KfbcpIvExvtc8J4Q6Hzk6YV4QXM75wDXgoUDQtuFNzn22xkitLFx WWjrISoHRrK0FOZlYH6EZSPg8MzI7KUhN5XkcDa+e66PuNNmPPPlC0UAARlhbsjEJBaA IZVEpEhn6ldyKexit5bhoDz8ReujPj2+A5Pxq+9he3cJ68qDj3/+Jt1jhRN5Uyw7bmmd 3UiySE8jhCOLr0qaf0xa0RSzz375A2Io0iYge8F87b+GdRxjCb/OKGJgPqos8tRhZV/3 dtSzdY6RoetAjxDvPDLTULcAkI16HtjiDmjWOv7UHJXB6DB37cBNlzouaI/bqIt1gcRZ sWsw== X-Gm-Message-State: ABy/qLZn4Ptb1XHsvL/I/35jRZLeCyPCfolTaoaS2UFswir2ANBbilD+ toVbGM21Ebc3JmB5/AaJNou0Dw== X-Google-Smtp-Source: APBJJlExKEYw6Js1ULnYXnGZZffjGgT73Dy7xzDgYbAtztUSQpOD9OJlAbxyil1D7dH0K546tCZJVA== X-Received: by 2002:a17:903:41cf:b0:1b8:ae8c:7bfb with SMTP id u15-20020a17090341cf00b001b8ae8c7bfbmr9579444ple.17.1690801270832; Mon, 31 Jul 2023 04:01:10 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id t14-20020a1709028c8e00b001b1a2c14a4asm8281096plo.38.2023.07.31.04.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:01:10 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 13/14] ARM: dts: rockchip: Add Radxa Display 10HD overlay Date: Mon, 31 Jul 2023 16:30:11 +0530 Message-Id: <20230731110012.2913742-14-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040111_637919_E07CD6CD X-CRM114-Status: GOOD ( 15.18 ) 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 Add compatible string of Radxa Display 10HD via DT-overlay. Signed-off-by: Jagan Teki --- Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley arch/arm/boot/dts/rockchip/Makefile | 1 + arch/arm/boot/dts/rockchip/radxa-display-10hd.dtso | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 arch/arm/boot/dts/rockchip/radxa-display-10hd.dtso diff --git a/arch/arm/boot/dts/rockchip/Makefile b/arch/arm/boot/dts/rockchip/Makefile index c8c8e1292650..0a275549b213 100644 --- a/arch/arm/boot/dts/rockchip/Makefile +++ b/arch/arm/boot/dts/rockchip/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_ROCKCHIP) += \ + radxa-display-10hd.dtbo \ rv1108-elgin-r1.dtb \ rv1108-evb.dtb \ rv1126-edgeble-neu2-io.dtb \ diff --git a/arch/arm/boot/dts/rockchip/radxa-display-10hd.dtso b/arch/arm/boot/dts/rockchip/radxa-display-10hd.dtso new file mode 100644 index 000000000000..7393b9417647 --- /dev/null +++ b/arch/arm/boot/dts/rockchip/radxa-display-10hd.dtso @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Radxa Computer Co., Ltd. + * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. + * + * DT-overlay for Radxa Display 10HD compatible. + */ + +/dts-v1/; +/plugin/; + +&panel { + compatible = "radxa,display-10hd-ad001", "jadard,jd9365da-h3"; +}; From patchwork Mon Jul 31 11:00:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 13334403 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 79714C001DC for ; Mon, 31 Jul 2023 11:02:24 +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:References:In-Reply-To: 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: List-Owner; bh=aV+UHJ0FCINV570Io+O1C8E+9cIRCj7ssBYBMcedQHQ=; b=dMEb/uuoBJq6/2 GVoJdT5S4Ybi2DKMchXRyLXJAbKvCvJ3QLYndXqgaHCctkvn4l9bg9cABUg5VwnnGDETMLpXclUgy zooKcRHECBZ+Q6wLSjQeNOeOHqbW80NlIAtZNX+jepkc7g3C1KwDR7X9ED/2RPV0PS7m80mlZKyKU InENA9kU+Ukk7rqmaLLuqqOx4+4f7q3J8+ATHId8YNWHOX8ElV960mmkpod8XD21jAQ+Bz1xRkuwm Y3AfiuVqRSWeHAVx1jnk4Gl92kHopUJTtWxbAi/lTwvAbXWx9oAlzGNAoHb40K+5JZuN4Cp5mEkXm QRpuD14xAHDCxzZNeRqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQew-00FFXY-2s; Mon, 31 Jul 2023 11:01:54 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeJ-00FEkd-0R for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 11:01:20 +0000 Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-55af0a816e4so2434288a12.1 for ; Mon, 31 Jul 2023 04:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20221208.gappssmtp.com; s=20221208; t=1690801274; x=1691406074; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vSUkajj9vQk/niNIRcq2pUFOSu5eZnt2RDC8js+87Hk=; b=h3Wc5vKtf4P1y1TpzhsWEbSQpbJpkAde9Z0fIZZyyRr8xbzEUP44GgcI7meTeWAnid N7Be+cbmSEOd1rtvCiVfrAhLRgdQyWAKB4+2D+VRs1mC8k4ychTzv4tpeuvvKlylNOpg 55MP2bT3/qxY5kpZE7oaqoGb5dzaI8Ttoe7mWAmZaGiZUbXe/1OibX4TXIWD/a+Zrgu9 TBFP2JFaOaKunJzQUMP6BDpOLX/nCpZoetS7fPJe2k/9o63whWcuaNtyXnJQjqsM0y1t 5R7CI5YWGjtTN9LY3j7MS1ImPJIofPozuvTSlLnx4eQ23fzNrTFaOb1SURUhFkOeQ6+r LoqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801274; x=1691406074; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vSUkajj9vQk/niNIRcq2pUFOSu5eZnt2RDC8js+87Hk=; b=IBOfW27eDI4SMNa9ERtemZACCh5DO+ART3DYfbF9Xpv0FcMuAp2UJGUfgtaSVImQFp VuUdOb97QfvKpOIPsiqOLWpVAaaIakv3xQHtGvWDiR9l0c5TrVKGGRu3xlVfwhmExCzA LsiSdmJE8zClcWOIHVXN1jZtLxQ/1jvBtxPWnT9Xpsn/Nzpnh7bLMd70HlzGnS+tpx+m 2VJpmzY6djhlDZ4897S4qIe/k2+2+tppnLE9FsN/TIDSIpw3LWF2HrvzVvbYS5RIP9pD M9fuHwJPO9y8WDUYn6vk9WEKUjJqFLkGLDW2QMlIlP6YjUfBsQM7FsCH2As4WA0EleH4 XljQ== X-Gm-Message-State: ABy/qLaUJIAVWH740JhF6QqIAAGn8pYv8h9USCmTpDwNdXtgoMxNdhdi NP6AQKW4jUHUIzR5uz16hA/K+A== X-Google-Smtp-Source: APBJJlFv+Auhpp+ucD2nmECue5JQg/g2CIwB//tveGShOF7nv4DbI4vc+goUslqYFxUEf3hdE8vFsA== X-Received: by 2002:a17:90a:fd03:b0:25e:d013:c22c with SMTP id cv3-20020a17090afd0300b0025ed013c22cmr8567808pjb.47.1690801274239; Mon, 31 Jul 2023 04:01:14 -0700 (PDT) Received: from localhost.localdomain ([49.205.243.15]) by smtp.gmail.com with ESMTPSA id t14-20020a1709028c8e00b001b1a2c14a4asm8281096plo.38.2023.07.31.04.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 04:01:13 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Jagan Teki , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 14/14] ARM: dts: rockchip: Add Radxa Display 8HD overlay Date: Mon, 31 Jul 2023 16:30:12 +0530 Message-Id: <20230731110012.2913742-15-jagan@edgeble.ai> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230731110012.2913742-1-jagan@edgeble.ai> References: <20230731110012.2913742-1-jagan@edgeble.ai> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230731_040115_227442_DF4AEEED X-CRM114-Status: GOOD ( 14.97 ) 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 Add compatible string of Radxa Display 8HD via DT-overlay. Signed-off-by: Jagan Teki --- Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Conor Dooley arch/arm/boot/dts/rockchip/Makefile | 1 + arch/arm/boot/dts/rockchip/radxa-display-8hd.dtso | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 arch/arm/boot/dts/rockchip/radxa-display-8hd.dtso diff --git a/arch/arm/boot/dts/rockchip/Makefile b/arch/arm/boot/dts/rockchip/Makefile index 0a275549b213..053d24978f82 100644 --- a/arch/arm/boot/dts/rockchip/Makefile +++ b/arch/arm/boot/dts/rockchip/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_ROCKCHIP) += \ radxa-display-10hd.dtbo \ + radxa-display-8hd.dtbo \ rv1108-elgin-r1.dtb \ rv1108-evb.dtb \ rv1126-edgeble-neu2-io.dtb \ diff --git a/arch/arm/boot/dts/rockchip/radxa-display-8hd.dtso b/arch/arm/boot/dts/rockchip/radxa-display-8hd.dtso new file mode 100644 index 000000000000..d42499f8d6b2 --- /dev/null +++ b/arch/arm/boot/dts/rockchip/radxa-display-8hd.dtso @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Radxa Computer Co., Ltd. + * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. + * + * DT-overlay for Radxa Display 8HD compatible. + */ + +/dts-v1/; +/plugin/; + +&panel { + compatible = "radxa,display-8hd-ad002", "jadard,jd9365da-h3"; +};