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: 13334342 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 13F94C001DC for ; Mon, 31 Jul 2023 11:00:37 +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=c3uFAATxfymM6Xogh/7vI2SejxuUtRzjqov7n+6npNk=; b=sAAld/hd6rbxyJ 3TdyW4DJUhl4xcibOT6Hwr2xZnMeZJTh8OFOmbCNRLIzFLxc6JREwWPmHjpe/7e2hSAS588yxFA4j 3lHko825ONS9/uns16TEqIXA0daDnQnGgjU37c1pnU8VmSxtQ5Nv1YRoBfccNK6sJA3F16sKTIB5C 2N6G7FmdEqLcS0Tsiu9n2M9j3/fVUIYtu9ObM8fp4o4scliFkYOWYJyWwp0xSdN2H6ahEvnINjv1+ 2KsqSL95DnU8jrcx6HPKvw/WMFbQp1ctPSKpxpCIIDdM8ZsWq25Ru+B6VWHU833FeaW/LASYvuzo4 HdNOdkYlMq81tv/vl0mw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdZ-00FE20-0g; Mon, 31 Jul 2023 11:00:29 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdW-00FE0H-1g for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:27 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1bbc2e1c6b2so26890205ad.3 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=R9UuYBNRJPRWduLwMehfyp9y0Buy6xFTDQTgpPlJxViwVd0dnI1e8ofsayxlM+lVtH RoaGEX9Xt/9kHGBDcUdLJutgix7Ba/2dXTTIeUFj6U0Ih0SvBfzsqBb0qbV9hZnhaTtN Hr1sXZ4m7eU34yP1TjbzU2hq6F4iWTQBqpmpqJO9VnHtWE80eMFcHVle8H0/6ciy6lno e0myFWOimbr+J6EPlNOnJkoCtnQ7odpjsa4bK/aLjQ58sjYF5JIQTZEd6VUe+IzZC8m3 acQSIpc+t1aH5Q7Zf/GmGaXlxcrk4rkVGWZxNHvBtmupkq3ZCj4Eb48/FtSbTOLTTV1E ++jA== X-Gm-Message-State: ABy/qLZdV9H85SkDOmVS1JmXBZl56dyjA2DATWYUHoiNCMs684jM/94i 9ZGNhZ9Kj9xF/d7HS4lyp/njJg== 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_568119_43454B9F X-CRM114-Status: GOOD ( 10.64 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334343 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 EC1E5C001DC for ; Mon, 31 Jul 2023 11:00:42 +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=VIktUzXVhIyH1Lzd7qETEaqzcRALDgS0skaMT0R9y18=; b=c5hE5eiXkzenJX hasu+rx2HdZQasLVfHq0szW6sVCjMKCcgvt+LI1+ldBNTk1WxC1TNSLUwcjwbctDgZyTuhHDLKgtc Y/XxU8xKKvq4WyM0nIxNw54lv69PhBFao7GJPVWNZgbwJaW4lfbuwwan9IUQMTYyXUzdwOZVbJmEu 28FRz3m886z1Nj0+Dh0DK+tEeH72QFEBePvjtm6wW5VUcY5oQhUYQu160ptmJBDGX+pXfkbfw6ISn wMuM1WKtdPrEdD1yF/Q0IbT828fBOaZu47Iie9yO5w6A5U6M3N8O/k9fK//jPNqOONslModHWoZSv JGtMM6cCmjXSl7vq9ZBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdi-00FE6T-1s; Mon, 31 Jul 2023 11:00:38 +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 1qQQda-00FE1x-1m for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:32 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1bbf8cb694aso17431655ad.3 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=FhGdT7adNGfqeSX7HbKr3UFNSle5sgEZ/dzrQP0ss0z/Dep1zAhyjsmTMDEYLWNmc1 t69rj7SrAyYK23xkZ7j9a52Vexh9/vxpJpHB6rbREByVOixxz+a/3KbODb7sEWeazl7M bUzC50lhkyLyY/NG2uoOr5N2fQx40/E+HxVDnrbKSqPF21/pqauh1Bgbpe1y2Lvy0ct9 xSuqY3BirJPomOCFvBtF0/LL0fda7aH75eaBrvWk5/n9r3qex+OpbPxWahZQqQZUerJy Dn1Dpjo2074f3u0HrDiVuWjVQn5JiykICVRyWSxb5jS3N/WQIiTZUHdpkk7QaWv1y46R jUew== X-Gm-Message-State: ABy/qLY1VgI0LGEAnd2qEEZF+qD3kBDe8SApL9hKDTdRxboxRPtO6SU0 MfhcKX4MLqkkH28i7gJPb1pQ2w== 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_040030_591613_E7B6C7B6 X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334346 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 4AEC6C00528 for ; Mon, 31 Jul 2023 11:00: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=+GvCUgXQMqND4yfzSyakvLAMWhMbrCt2r42xps39m9g=; b=IGoEwcNTn2neu4 AkFtatcgupamR4X56LNn7oyV4xmzS7SxYAkXV/bzJghLSZlNnNJ5UHU9JE9UASL+anKWL7iXWxiOF kp9dXsFp7f8qZXP2jEG2u5nA4IWre0jFASK0dWFjfVhnyixAJN8clXrd3ygaJ1Hz/gjCFaTgIQ34F OZpuAYkimDkgeAQGy9s6892xYZlQoq5K16PTsI9V1P7KOFw3wYlDQMu//Xw2ZRfb8565/PkHDAcnl Ol8pXDlgHjz0bdl84PgTAXUzntEg0USKfAcduRXmL6RE8nmHKMyxi09YNFpLz/DXjqgjWW9WFUKpC JOPhq1Q17bWJEZCioDHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdu-00FEMi-1M; Mon, 31 Jul 2023 11:00:50 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdh-00FE3T-07 for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:39 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1bb9e6c2a90so34523245ad.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=Sk9Laoy4mNHRtCPsMzvzblqVGAWBK1Y5E2h12A3hf9pmJJEHrsRPDUa7QNu3mKgN9A LAHx0wO72qI21e/eb/A6aRUX+7VSJlsUKtLAMZnP5KCS01EmAFXi1NcRtBwvKZ68s+pF fpxPnPs+a1OVsGyBI7ld0UvjW1bYSvfjYOIZNGigSijTzfhYZhmcHDZEKqLG+Wh5ofZU mpSSN+5706VyW9bzVUq3nP/g6sKZFdi3hXkqj13N79gR8o4o7s6bg/HrbJ5EkXUpXY30 UqSwuzXqH4o0coorcA2oH68qYG96lmJxrYT+XLATjvtMPcv+CJskTaFFsogDDHSXJ04s Y1Zg== X-Gm-Message-State: ABy/qLa+bEh0pUJy+SaCvDmuqAyuJNeUSZr4BObOfNCnajO0LvBQ+RhA R/U0auokvTQkmY91VlOS4lcZ9Q== 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_040037_082080_A567DA4E X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334344 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 D4693C001DC for ; Mon, 31 Jul 2023 11:00:52 +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=qUj8uLgJzDtiRYZOBuFh8aCjPGrkmj00AcH8R5GDBDA=; b=IrsDJL6+HPJDmw Mbo1+BhbCJkb/nmPBfNlmg5HVXV1LxG4ZKScUi2g38/bdDjzhQJbFEUgw2MJ+dFuqcM0OQ66P3N2L z5RIFK3zQ/noCr+trYImvRaAvq5ZKHl5XgTmYpwji3xTAiLa+MTzCp4W+wsNWLrwB6tyz/HCAcpsx 1RYB0hl0Cvz9z8DW2rSbqDpmS57pIRRd0rrILIS7w97F34NjbBR4vNEf6A2yW9E82Su8kkV+S8hYr SnXNk/KJCVA4hk4uzPObLHwuWUUD9hHujUf8Vy/lMRvyS47gdmbM834hgBUx553g9cU1duvziKmb4 6eijBqTDI3bqwO6ZUBZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQds-00FEKw-2Z; 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 1qQQdg-00FE49-1z for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:37 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1bb8a89b975so24476065ad.1 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=MHxWWWZQzMFYQbPzvkABj61cPpjQBFz30CTmoS3/D7kMqV7N8FDevL9NqfXY6c7bgA mAbmMypMAUQm4hzxe4PZdfhFK8gNprBXMRQrdtONYvNxuXEDXdtmDUlQ+lEQbDI6WOH6 Lrp4dpapUzcbqo1XyXDiWvh0rBdw9znogDeL1yFzcbtLsWcHvm+NkJ8wsBS1XsvucK/u fCPlA0+85YSA3iDEb6pEwgdnv+zFAr6mrHPMBNcEwMmYZDy7Iw+7CxeR4rhKGXT6Rikb r5/7rLQQO3JCF2DjQQppb+a2dGz1mtJIYSqee3zXKF/XugaEBwX1YGSp5O1LNRO45mgy ht3w== X-Gm-Message-State: ABy/qLZS8GVc+5JAuIb+DrFLVfZ6DDVcyZzUPy2YI1oIm/1w+hdQGqnP 3d9QOPgv9FAk9ttc1WkHuV/H3w== 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_653984_62D667D9 X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334345 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 8D2DFC001DF for ; Mon, 31 Jul 2023 11:00:57 +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=hdHSf/3bUwup1gEDZY6GZKoLznIQiQtKPSDDBSyzk0Q=; b=jXtcYX07pJxY1Q o8pkk0C9EvoL8HEOe1TEfWIX2aVr7Ktcf8clhUVNxtVgZQUK08CNBZAueqas0K/1km9vl9QGI/cc0 Ads3dYOZr4iemxgX3cRu+dq4PKZyzr2l2uFITXiikXpeDha4mgDaTmBEUqpBMoe62btspDAQ/j9Hm TKWDENJmO2y85jAIV5B/sJ0SIqv9ViQwCQ7wyb/Ygxem0VIuWEVCEiGL3wIRbNNH1+RcnOPrniBXJ e4bd8F0pyRaAfO3uKdZyORfEZkNHPTdV4pazNeTV0iCVtE4eBA9WRXdLllRzbU4hK4YbA/Qsk2IrL OocVFA1YGd7m76y/3lqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdw-00FEP1-2B; Mon, 31 Jul 2023 11:00:52 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdl-00FE9r-18 for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:42 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1bc0d39b52cso5289315ad.2 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=QMda5vJnDjeowluZbbVvyodD33Bk5eM8e4hUWQdZKvJhN3zFfp13okT5Z22jBCvxs/ 95kWWnGklxz766QDtKobGrX2mFI+AaMm2RWW33WpkEkkzJUrUcKVgkAcTzHQby9RiQiK 6agBiHRVn01q2MnodDAwWzwkAnR7NZoALmK9k1ggXnr92T/4lx+zDxtxHOfYYnO18hYO 6u5BiEmHHHDpyk60ftX0CaCaZ9JRNG+gIJ6dB3Dw4DYoSmcUvfYsECibvGAqpc3z8H+K orv2qJkbhLMzFs8ZXPR3hxnHBt5CXSzM8HhAcksvaKGp+0VFP4jvHfWhTiw3ezF8rvfg wEHg== X-Gm-Message-State: ABy/qLaDDy00t04vEfb/RBpQP1vMAHl6GixWlCj2wcnp05pH5sdQ2MWp qMtzehbBlXvu3eaf/f0Fwi2U2A== 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_402405_539A9999 X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334348 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 8CA06C001DF for ; Mon, 31 Jul 2023 11:01: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=EYuPZBKb7Vnf3Z437ar72T223ZMmB5Oqb9XV7NWNuTU=; b=WFPpNIQd5Wq+sx YjUWTB7764fGwJykTaw7TuBSE7Ce1qGl7BRFVrq0tPU0Cqt1Z3laIHIHBvcQ0rskCZnzVQDnGmGHe T1fBY3QDygLGkAQaVTOp6ANNOCX8G8Sk6wZ8qNmFVtW5Mjpr0J5Uqs6VX+bDVU51UdbhqLvERCN0f jOt0o6+hsSEIIATqWQkWIEe9Fm2eInSNCGqwff+ATts1yK8pIIpU5i7kLzp734FUr+4ODnjLa/BWi vP3t+ibMwOED/CTs/nxjhlEbvxdjgs2MTV6bXC/4dC1BlUVgPKCfFGCWtuoJkVyUDfSb/jUJxDLi4 nJabJtgIuYfGGC2a4ssg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdy-00FEQI-0S; Mon, 31 Jul 2023 11:00:54 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdo-00FEFy-2y for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:47 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1bbf0f36ce4so15742135ad.0 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=W+Kx+jKoTYksZoDSZZxuHqx6kXr4GCZTr8UU9ASogLEYP5iDlN+NyIPaC6GWfvgkAR jwKnhSLSy+yR97+OqtSXQCyJY4uRKufzm5oldOZ8CqBS8EYtAx2Brg0Y42yEuXFWjTrz +q1FTlgWVKblwMQwG5dJGrybMjvHHLGzOfZY7+tCZtR5ze6iwy3O2lIUQVkpVeDKQ+BA HODrjfANt/w5BtDdh59oEy51CRBfgE3u3Nc19Rql9Ntexn+6zYQQK9IZqPBPusxzLlb8 KT/cnP5TJNmq+03gPKtmM++ZUA3l6WlUVrrvMVIJJtJIYACUjjqXXnANI2O2+5iIfW8K WZLg== X-Gm-Message-State: ABy/qLYAr9cVpcciRF69mS7mvuf5HCWda1oWB3V6O66rgRToIkbeedcq 3/UZgW+bkJG0aiqdrs/whtWNIQ== 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_967073_2FEEFE76 X-CRM114-Status: GOOD ( 11.80 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334347 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 06B8CC001DC for ; Mon, 31 Jul 2023 11:00: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=QAdlfTy0vdhEvOksb6jxfy9YFOhKILOJ0e5wq/AzlPU=; b=0nEfylnlr6i8e7 zPxFHEuoyeaDsNTDNQV7c2QSyjpfkaD6X015tkim7WnxCouEa5RIJcAIIsrZEE8SIQddH3fwr7xE1 wfQv7drW33qwmN0Y6x52aJW8Xm++pbP4Urd4ByTCcL/51mO3P1Jgk+8/QGsWw9nUvVsU6q+GXE6Bs YiY8VxEbEtVTyV4XQTKM31iopJe5AkCE0bIIp+828ZqjOxuGwzrIuOd8o9PA8FJY3pGO4bag3qXHI WNfKV3sxy9le8n0gg0XtwokqW10y27CrCVuf/xQOJZK6va2+kuCXDZFDu+088+FxKQxW4T4ihpQ1j DgF0RRcA9h5Na3YwjDOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdy-00FEQj-1v; Mon, 31 Jul 2023 11:00:54 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdt-00FELu-2R for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:51 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1b9cdef8619so26473845ad.0 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=JCyyUqNUse0DR6WhlB9id+nCx4Dn5x9/yedl2il14nARwU60klMa0bQROM7vFNtZTv tihld1xQMTwQ2fE0WCqKJSNve+tluYK/0lGeQ+8nposi1CunxYki8/TaCjPpGWSIr02P tDSZCMG15R+fNvjvOBGsicuz/S8AG08+jSrd1zVc8oy66tu0DE+UYxBw7wfmz+PJcJcL Nav6bMi5wQGRaf/vWk/CzaYwObrHEnZ88O3Ttj0kOntIcrBlHZzw3KD+7xQ6fsR2GHyr odOm/EPDAVI5jS5iGOyDi7+IGEcGBnqzCUAkdMNPZayemIijQIcdR0JdOHWZl+BxM0nt NnFA== X-Gm-Message-State: ABy/qLYvi/LEywrxaIXt9gAB0xYERA//Dja/Fa/tKRsR2CQQ12bT/fAt VA9umoQ7luGbcfvCvWPMmW3lNg== 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_040049_817329_D2279B5A X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334349 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 9AE08C41513 for ; Mon, 31 Jul 2023 11:01: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=kXZPF8oHCw6r+brKBgUpuQxeYNRvvbzVskuGassbrzg=; b=etAWRpLVlEgN3A eJ52D/NdLPvuu9dAyVGZNLCI6ghdpSjvuzVuq0NtoE+8Yz6mxNN8W3Lk3Gq4XxDVPNyL5rucS/Fq9 BVZ1MaiOAWSte1HTo9oq5y09LrN6lEgu0orhK10LOEJMreYGTBPdfFeCRpGaxf+A12QphghL17RGJ VzkWNRnaFemmjpooz4wyulwK433cAjX5Patuna34f54lOtAZkIyidxeaGZqpV/pJflemYrxysR5yi w0/YJi+K39lnKrh1lFlJ++3L5+qAtLA/6Ucr24glfSTijPDoP1GAb4443ZVm61fRYe3UgAjvLMRUq +LpWUazwMKhgQgMvGpUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQe5-00FEXn-03; Mon, 31 Jul 2023 11:01:01 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQdy-00FEPe-2n for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:56 +0000 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-26854159c05so2475046a91.2 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=LqU1HT2UzBE8/l5dCJM4QMaOykHLLjeGHnCWMkpuVtO9MaoXgK63qG5/B7nmLoo1kJ 8Ue6TTb73gYyAU5/6IV6PrSKgg3Qo0nRzTHixy48u5WBqJ8HvW+KAMH5MAEI7ahkwbiR DeeKZR0qOn3qMrPy8Slwp9fHJy2Pvgt3/8dIqN5uocLnuzn1bLkhZxD/olXQGn4f3Lml JQ0nc7Ci2pQDkezwkq+FZnjrbRuElqRSx9BGOcpqYTkzIUOe7xMZ5htvKDrWIpEKIvUP 4QGPN7Ej+oHaPODvvNEqa7K37Z9q6l/B2XfAp3CkmJdDuNjWDVGftRfGHQ4hMOrBNCvb jkyw== X-Gm-Message-State: ABy/qLbT7tOh2XTSFb95OTPv8ZD8ovKFK1HOK2STHSpycolwTkPSC8K6 uaLgzPlsbT8ePakWRVftTd8stw== 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_911426_CF1FE8F7 X-CRM114-Status: GOOD ( 12.77 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334350 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 45B80C001DF for ; Mon, 31 Jul 2023 11:01:23 +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=QLt9ymJRdEooj1nyW1l6WUWvGA+04mRgbMJ4CrdoYAA=; b=ia09o9XBD7+7Zz R8SUR3qrowa5wM037kBD0r+r3LZuYlViaZme0xa2dmUUOWTltiJSrsw+EYjaDyVM0pl028HRCKIC9 oPxeeqtWC9Yf120GKKixaL0L8dL2iD9ocmPv7W1EFeEtjOdiyBY8vfGM52PdvHFqZxZL+j9DsarCf nv2bcUJFa6jbtK8hddvvNYr7KkHPZdrjSfMKMGLZl4WESv6sIgFVz+gH6V5hHbc3KmGIrgYD/KVRp 5B2q3dBsJ782U8HMtEspkNTzSs8yBrDwRWHbKYqktVnrznKzVb0JH+GwLBBJfH4rCp2F84Uu+D4GP hxRl5o3pi/zhPVOxXBiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeK-00FEmW-1l; Mon, 31 Jul 2023 11:01:16 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQe2-00FETX-1Q for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:00:59 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1bbf3da0ea9so14309375ad.2 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=Ndm1mdiFc2RVXRABH0fGOojcesN2cECb3PsWIo/AcmW2wuAY+fOg9bWGkUEzt8ZJE1 Gh9wPq8WIIQCSgZp/WArYpvMgEs2TBfbQ9j1hgGyVHBdHlGOyRX1k3sF1pB5glKYcFrr ksBhhHjb32ezJ2BfG7kctTGrqAz9hKvALRml8FZrViTKeMKkOEgBchaW3ZbJQ5xllR0z hTnb1/Lp5maogMLH8PEzWQy6keMT1FW4Iw+Xdl1RyTyVeUwg/0netqfZqvdblpdXbOFq eye0MeEYBfRvd9n9f+XQfkPprfykd3unfk/IfRCukF4uJQzXOHD/xAU266yw1JmRStL+ UySQ== X-Gm-Message-State: ABy/qLYxOKGaVrCgScZ+7+8sbGBU7ezrc/uiHIL+S6K7UkaCwYY6lfUU VYvAwI1hbJSTbLzOnObtAlhXX7LHDcCSy7M+pLaIiQ== 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_040058_504951_E599308A X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334351 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 ABE40C001DC for ; Mon, 31 Jul 2023 11:01:28 +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=y908vRDdd17B2ZEbRqzF94RkMJrnQTzX+/PkEpSyM30=; b=dgOWI6mJttK6UP Ht3QQE4MTfDdbJMSNHI1D1W/I6yB/qqRwycSn9lkk1X3pyLCO6hUJ437LPhl1/jh+oUbnB/x3MlXF 8MSRb13paXBeu5yDf9uyepSMFr6HPBvIstbwCpis61RHSDZOpm8umvCEgm52ilj3ktqFGD3JvAsHv 7+RqnX1QteYpe3VlS/3pDaHBXdPA3B5sF1biAixPcClC50ycs+Zqhmy/VfvM98Dq9m4BumDkrumqw sHA8F4nS0b0osTaXrIacOecs/On81n/R06gvtZ7AyLQgPN4yhiq33/QZP4NfC2D3o5jq8xJGPZ/cp 70Fyy6XGfj+waAgJAS3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeM-00FEoH-2W; Mon, 31 Jul 2023 11:01:18 +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 1qQQe4-00FEX9-1u for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:01:01 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1b8ad356f03so25780725ad.1 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=Z/n9q+RetIW3RFe3On6hlKjDU+8Jzkk+5VX2CICaWMQuxU17VSJmlb7+oxFeKSDJ1k Z3LrDDL0551AelBclFfDv529Pida+0a0fkJjDVWX8rfPHh1wZNi6J6BHpFLumyHwkvqS FjtPL4BYYSXBU51UAnIUhH9EbZTe2COFfcbBBFrQkQOalyXFecmVYGQr0zcNNLw3da3v Bg65UQLSBeBspX9mKLJz2AtbMD6h5Nj185rZV6vgnO0tq4i3C5tRpdC/Bz3YyxjLU7rP HFcAg0IFRDet40qEBzGGB0bZ6XpUOoBQkrn5acpP1q79OxB73WUuBVk/8ffSvIVV4ZZR XivA== X-Gm-Message-State: ABy/qLZoRYeUcFpo1D9O5TEOO08UwdUqj9qmoBe6Y4xu628jv0aFOkD8 9FfYHW8bepsTgpU88rR1Dd9H+g== 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_040100_655671_08E2F48F X-CRM114-Status: GOOD ( 11.26 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334352 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 8BB80C001DC for ; Mon, 31 Jul 2023 11:01:45 +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=RIPyjdLbt1AyBNxBdkjTE7shUqTSGux6GtrhncWj+7g=; b=MBvq64WN5w+Me7 DLdBDa1MYuEVRRm6UbpqE0R25UmnpUMevN4vg4Yl2fbetPqmcTad11MyuVuzK0zXcVIeZzsApMbAW YUGPEwSF6gWpHhCees3vNQfb+Q9JahJWIRbSJKytM5965EZpgLm+3tMvqI4ombVH59WvroRwC6JWX Fd35shPmBN1zCOnSgyqG/qO8Zy8xF3/OTuGole3EZiA78oGi2AOezvW2avbcwfgyrmXTDTcrkO1ch HLf22aqV4Yulu1+QnbXt0xRoZ02mEGBFwiczlkREXVoQpr6SsSORtFw+7bcV5ERCntbPsb7DonpyM zn6o5eyF4HtvZ81qhabA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeb-00FF33-2N; Mon, 31 Jul 2023 11:01:33 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeA-00FEam-0s for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:01:10 +0000 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-267f870e6ffso2492443a91.0 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=RbOHmm2mwr75k+7Ws/IZWBrmpyzkWCjYBQy8ZEtJI7ckAajBick+eBuLpAzvEFupUt 1iJnekOqqJZxN7ZkWOIS17YB6wwfcHDePaEKt5jzwHySGnEX7/nXYZc4AmmZBCUULBNL SJXrQFThZv7YjsA45dxp3fYPoZSght2d9AHikawAjRJKugGOlVWHBwJk7g9qDbatRcgw N3PLAAJxahFDPhxq7KPl3xL54x9H6o0avTphSrAaeFiQBmkUr90qydnLpIzC73bR41Zs MglCUYy2WFAmkKHnp+354fv4sofsuoahry0gmifCZHAs2KKam9dgGtT6cgUnNvMneusg fG4A== X-Gm-Message-State: ABy/qLZY/+NvYk+JKTta+IRxtlJ7JhdORHIho64G9XOGN5ue0PmyBtfc TyCSJE/mGAsyK9dIPC0cDtmboA== 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_040106_332737_180D5184 X-CRM114-Status: GOOD ( 10.95 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334353 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 EF8CCC001DC for ; Mon, 31 Jul 2023 11:01:50 +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=ttTI+d7FLWLo7188KFF+R95U0o7jy5xLKzHf2bFERus=; b=yUbsAXBO8HH8BZ R7y/poywqbIFoO+TmVwYZqmwYf+KIi/nwoDKAJWi3Mug9u7cig29ajW65pCoYVm9Z3IxuYuVw2NvV SAmTdWDwMbHu0czDwBZNrpeBHrvAag3XVhevcXADfG3OMX0LIfHmMSsmxrmoCe0dX/G04o+VwDQpo NtvcnICBkVyQYHAqdn7brShlxvig02/T4fp6PB/VYERM09rkcrOwMMecIz4tgA4sR8v2e5eXIVJzP jbTcoJWdhraVY3HCZn/BkzIVp22MU4O3H4DOZb3EM/fURgk+7WtIPOzmlmV85qW69Jy69ItXk1kXg I0yEJyBcUPpYBjMIkDnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQen-00FFGN-1z; Mon, 31 Jul 2023 11:01:45 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeC-00FEeB-0P for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:01:16 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1bbc64f9a91so36611435ad.0 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=JZeofBWuE2Dd7vqyO3xoQQccJBZeESS99lR3nhQLx377sqtLOlVyMwKt+kLCOE/k3g DYOZiGkgyJQY38XuMinnhLW/3tyE1iHMZKWnU9hkxhNgC0eaItTsIqr2ZIVfyPKGc1ni zEC3qGQjGG22SdVOZJ5eDiiENYeiUkUUIbccr3gNgaK5PYvsosSUK+M98L97/Yw2EL4B 1vEQUVzO7qnGPx70wMIYPqeQ0kYqDpLwDE3y+u+oMd44rN2QEoFzzTdBS911EnXuJpU/ L/LfzoJjuqKtOUkMq/KJu2NdecWvRFHSxx4lq7QvGHdndoZdSgTufk+kgZqVIc4ysULR fFQg== X-Gm-Message-State: ABy/qLby3ALm/tJviUHS4APZ4QT2vyOVupDwH1YQ7bICcUb3TUatmNUw apwOxBSQnN9IFXMmYA83b4sUmFy/75hDA85q8Jt01w== 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_253343_F1CDC9C2 X-CRM114-Status: GOOD ( 14.80 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334354 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 B03ACC001DC for ; Mon, 31 Jul 2023 11:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=V9bDfXspJ/hTGVtrmgokoLHRj19xEooMrn9v7+LEoY8=; b=iiQU3SEq+vVzGZ 9ARLNFS5mnU6XmaXzI4L9LcajLunZxCmrD0NO6Id1f2rcZB3gCW1pHQL9/Xv10o+hC4PUJl602p2W tOwt96+Fyb94SyGIjMtUgjqg8aTcbk8y5Rl4rTGhTCVb6+IRvsnZL6gu8g5wXbdbPas+yIJsTchTy JaBsojIwnCqyVcfxF3FduabsvU2c1uczri2SbLxFAIUNROM37DtvBi2iN5HoX/cO6WjXBnKerAK1r +lw3bLwjgNOe8MibX4B2TP6hoyOZMk75CE1NzfTY1l1ijUh6lwOASqmsPSGiFH0r9cq1+HzO8rN8V Ff2x+tzcGns0O9z2WkEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeo-00FFHX-12; Mon, 31 Jul 2023 11:01:46 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeH-00FEhP-0p for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:01:18 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1bb84194bf3so26309855ad.3 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=Z5M/S3hIBGxWALh6AzhPz/oJc1CHtlxaG0puxtAVkewtsZuRMZ4RND8ocgTZnGJirW bshwVMuUnXCHzuaHrakCwWNWuS1KPsBC8/9IzJOf0EE+8pVVEiyxNl/6q2fyLpmZVtej YGSzu+0izk9BCc4XKzwgYgDKvSc8BXA8koJPDFQWcGo6/K0gDKCH7G8fisRK4aZ5U0kc IVDOb/gIh9EQ2FzE6WqVLHpIvaJHKErC+wS+ZAl/DcdS6OJM6Q22Z0mRTpJzBufA0fCu ZJ/+namB60b240y+JO/wTZ/+90dQvHbhY/61q7oPGm0DRCuASwHjt6zQ6jZ49mq4efjH lXbg== X-Gm-Message-State: ABy/qLaR2qqXKGSdpaZ+gQVhGEH9Q9Cl9BOOkkNnuoDBhodCSeA1aiwe eOm0DbIg49TbQHxbEZ26eU7BQw== 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_040113_328592_9417D353 X-CRM114-Status: GOOD ( 14.08 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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: 13334406 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 CB7A8C001E0 for ; Mon, 31 Jul 2023 11:02: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=qLmKuVGMkU32eHZzfcept16mVPdPz3K5Dlvxe3+I3V0=; b=apQ+CUY+SgGCA6 0VPEgap9fdvpypPWlZqO8pLas/O3yIVEHGrRAWo/TkcAkZnDsAfeevUz41c9yCw4cvZsdXlYzqkxk s2I2ESxAn+S3tnLqGLunMrG7EKN8XaE54VzY7E4blub0twKqlHjNhRi8BT4FUCC0GaN+AxAZZVYSF a9B69OyynwkzIWqk+VnnK4AEB2UaBjTNyegavZCix39dfa1Gj1MLv9QKIx0a10g9uUKO4qkHzfXg9 mCisgqcVJ2e0jX0evlv9mYEfvtEK+8RNn5/YuVjPbJlq/quVb9fx9PpJtPtnDRuXw5iUhhSX2J4mM BdisI6xjgUdpRHIMbr5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQQey-00FFZk-0q; Mon, 31 Jul 2023 11:01:56 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQQeJ-00FEke-2n for linux-rockchip@lists.infradead.org; Mon, 31 Jul 2023 11:01:22 +0000 Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-26814e27a9eso2384576a91.0 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=Amjih7GT7TPQaC5+0D6MizP+ERc9xXgm8mghxW4lutklkXxS8ikeQehJei/IacjS9y YMEcvzH+a02iH0DeTyYrsQolNrrNae+y5Y7Q6FlXtEpt1M3VRv3TEH176osC6L4ZN3nG 1njjkvo9v1fMIvoRPKtmgtScUA9uUfEUfGsaucCMp1iEE/qMwncuFFSbVaxxWaq/T8YY o8XvAmgGQyk55uLVZUiSvaIMzOWv0bEUhFk6M3SA/z8t3k/pHcxOFi9xwQhf5bGl8a4z YHdJ3YdI6laP47i4FhGOQ0DYI9BHBfVptN/kcg+CVMlJMWkUB0Ofac22EifmOBx4grkj 96iw== X-Gm-Message-State: ABy/qLZywR7ztr+sq0ViipwhvXxvlx+FzSWTL/qrbp5c2dOYvVrMryMY kwViuC4nR+Qog4oEaL2QttlnJw== 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_919667_6B174BFA X-CRM114-Status: GOOD ( 13.87 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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"; +};