From patchwork Mon Jan 10 15:27:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1836 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4C8DD3F39B for ; Mon, 10 Jan 2022 16:27:45 +0100 (CET) Received: by mail-pj1-f69.google.com with SMTP id x14-20020a17090a8a8e00b001b3b14c53afsf137492pjn.6 for ; Mon, 10 Jan 2022 07:27:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641828457; cv=pass; d=google.com; s=arc-20160816; b=vJ1gbL1i0+LFPqyxivVCYl4LVrGkmtKNwgJWsTZKNof6f2iOa9bO4lfMYifZpgXSzK uFqorUSrhn5l8m8BWj3I3UaoWPJMueyFMpbgeLgiOrb9G/Pqgs4cUDEfh34Pjbamgr7i fn0coPihINfQFUck3ZNtwKNmBM4cW0oxkQEGudRBF/3Ida0z4vajBCh4/HdFyf+9tflg kTTxlNQoEOP0cTiybZbJw4NpZ8x6cCphLVBsHATLTqA58epMoVc+6EzPR9MUFYBBQvTb HOxyKvoKak+aEyj1eSU12Okh6qKeIsAiMyt/MGBLWvioQ2j5f7Dx7k8G2t0cTO3z4K5l Tg4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SpGYFhEth238eE1uo/trm2AbG/NBZqqWbr/XwvlQ4+0=; b=k5nM6EIrdJw3AzOX+RxIJzMfQky9Nrltc1c0679xVKXK1xnkYJ5fg2G0h1tU8xwM9Q w6khoMpvPC2TE7BfUWGQNNMPDpxN4OvIPzIxlfCPVz1D6Vf4wv0djcqcK7afzObFcLMe 9e1ZzwizMdfKlrSoCfsslrqpOJ7hi0PTYFGNzPlY//UoNtzYSQoCUxcBf3jNLfTcZ1OV Jy/cpQsLV3wKu/NA43dwh/+duzwkb0GIoP9tQhSe13ndepkCbd+sY6wfdahChQksFfgs tvNK/zTRXNnIEqvEyu+ThZ+rWQo4A284p3MVLlq57OS2g7vu6/1JesHOExP4LF40ORdU NunQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NRgOtCK6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=SpGYFhEth238eE1uo/trm2AbG/NBZqqWbr/XwvlQ4+0=; b=Icaaao924FM8YteAtTFWdOcsn8bkPZSXjFYZ+MvE8Sbhu1jBArxmaBHMPUMNY2ZTyt QrHz+A4AJiubzQxMzyD8TDwr/SvQfJhlVGaWYsb0VOJITdxdN9R6YN0bscTmXiz1JYJT k1Tyf7KmQ7O/uvzbGD28xnZmFu5iPCLPRbkRQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=SpGYFhEth238eE1uo/trm2AbG/NBZqqWbr/XwvlQ4+0=; b=6qjf1c+N3oRLkCYubgzAJnWkb4wNf158b5OlYp2nSEVeuKSKM4HO9woejSNh714WBS oHzwElMlAEo3/CFVceZZUqwLtdKvljb/8mmFLbp50rLXlgYfmYETyy5/TQzfQNxTyGIS 4UYdcenkT6+b80qU1fBE7vpZh3E5tgR0mb6GaM02tELBeA77Oh+SUaDOhwe2sVn9XR3g Ii1simlpEX3fcvzbwwL+z5YBQ6YNxaiu8Kg9qy5F8XwxC+4cdvevz4oHnxc8sN3yiBw4 L1PqG3BqNLlxe6/oGssruRZcxUSK5IncmRFoYxNnIgyjoabny1+uPbu2Q/53QC/FuS86 OTNw== X-Gm-Message-State: AOAM530wweCIhGD/v9SLJdAtGDsu6VKLNvdw3u2WHNj8HHaXCErEWuKV l/d/Ly1HNQ3SJ2NRX/ITI08RtG8E X-Google-Smtp-Source: ABdhPJzlOsKT+zlX4igBJ3R7FXdzhTUTok07s0z1kTMnKAPBI+4zzbkiQ8Vne8aBihCdqHUG2CvcIQ== X-Received: by 2002:a17:902:e749:b0:148:f083:3905 with SMTP id p9-20020a170902e74900b00148f0833905mr164052plf.136.1641828454771; Mon, 10 Jan 2022 07:27:34 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:903:2346:: with SMTP id c6ls681869plh.8.gmail; Mon, 10 Jan 2022 07:27:34 -0800 (PST) X-Received: by 2002:a17:903:1208:b0:149:b747:acca with SMTP id l8-20020a170903120800b00149b747accamr161220plh.138.1641828454083; Mon, 10 Jan 2022 07:27:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641828454; cv=none; d=google.com; s=arc-20160816; b=li6dJ+pl6wx57/nLzSGWS+nCrd+fIOowuB3UAKbEEX05cnkemI+YJUHBGnS4B/EYoq SEcpjxCpcA1lIBAFohqriIVp8X49CUDhCfQZg1vne0Ah4MSjwwAR9tmEa/oNh4u1b8eO MseihfoSIgo2fdI+XK3swAcSsrM3oIbuWKTszSUCuNBz5E5NjrcpZM413R3L111Zl7P4 KtpzqHDZ3CtphwSnJ8Os7HDgxgJo/6u+LBJ+a7cMHS7MWSNplC2N1RjjWWc1yTLpZUl/ 3KUaizqwrx9BcxUbRnno86p9LcsjWACIg0ZAaP3jRtBjsaXMgEcUwf1HIAziXfZIFRov QbwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ilyruNHVzTxTe7086aSJ2h9UOBiRtTM3eY0ivIZkoYs=; b=kD6uH8k/N7wwkamI7Fd27zBQON1t8LtpCbd6rpxZZ04o0ROrue+ctWZYnSNapM2t1F qhd3JvPsx0OhBg1w5XSR6giltJuSZSB9rJMQbA27ovdEne89DakTg4nho9MpRuZ8UyxO g3mKF+90ntBQggQpbZo7muC3XDWphxDI2gFJAtImycazGA6q4B4Wqzkvg5aJXOeGhl70 1zE8mVTaDQFFgNIGe47UugV+gB+7x0xMqkJcc8DLAahoFRGW9Zsnv2A0ECOjjvduMOu1 q5oBk3vwPqJvMw1B7uNlHYNO7MTWVbkAahpMk1nM6+dDDj6wHXIgtp+nI/hadkkS1WhA zY6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NRgOtCK6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id k1sor2473238pgc.78.2022.01.10.07.27.31 for (Google Transport Security); Mon, 10 Jan 2022 07:27:31 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:10c:: with SMTP id 12mr215928pgb.67.1641828450764; Mon, 10 Jan 2022 07:27:30 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:98b9:3ff7:5eda:a7cc]) by smtp.gmail.com with ESMTPSA id s207sm6087638pgs.74.2022.01.10.07.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 07:27:30 -0800 (PST) From: Jagan Teki To: Rob Herring , Krzysztof Kozlowski , Marek Szyprowski , Andrzej Hajda Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 1/2] arm64: dts: exynos: Link DSI panel at port@1 for TM2 board Date: Mon, 10 Jan 2022 20:57:13 +0530 Message-Id: <20220110152714.58220-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NRgOtCK6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , TM2 board DSI pipeline has input from MIC and output to s6e3ha2 panel. The existing pipeline has child nodes of ports, panel and MIC is remote-endpoint reference of port@0 of ports.  Adding panel as another child node to DSI is unconventional as pipeline has ports child. However it can be true if MIC is added inside port node like this. dsi { compatible = "samsung,exynos5433-mipi-dsi"; #address-cells = <1>; #size-cells = <0>; port { dsi_to_mic: endpoint { remote-endpoint = <&mic_to_dsi>; }; }; panel@0 { compatible = "samsung,s6e3hf2"; reg = <0>; vdd3-supply = <&ldo27_reg>; vci-supply = <&ldo28_reg>; reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; }; }; The above pipeline is proper but it requires the DSI input MIC pipeline to update. This patch is trying to add panel at port@1 so-that the entire pipeline before to panel output is untouched. Reported-by: Marek Szyprowski Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index aca01709fd29..e13210c8d7e0 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -53,6 +53,16 @@ &cmu_disp { }; &dsi { + ports { + port@1 { + reg = <1>; + + dsi_out_panel: endpoint { + remote-endpoint = <&dsi_in_panel>; + }; + }; + }; + panel@0 { compatible = "samsung,s6e3ha2"; reg = <0>; @@ -60,6 +70,12 @@ panel@0 { vci-supply = <&ldo28_reg>; reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; + + port { + dsi_in_panel: endpoint { + remote-endpoint = <&dsi_out_panel>; + }; + }; }; }; From patchwork Mon Jan 10 15:27:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1835 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0A27E3F39B for ; Mon, 10 Jan 2022 16:27:43 +0100 (CET) Received: by mail-pj1-f72.google.com with SMTP id n8-20020a17090a73c800b001b341acb723sf11885616pjk.9 for ; Mon, 10 Jan 2022 07:27:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641828460; cv=pass; d=google.com; s=arc-20160816; b=dmD+/glcgT56qtNxO3eqrOD+FqkPcWTUbO9AKx58cj80UKtjL9AkoZWBfgMEbAjDpF yfnNRnZPEWpk2/5LCEy25HUHN9ZoNh7WxJg/1kYqNeikTnE4aUogAeR/mWeqmEfDcJfC tjuDRFI1N+4hwtYeQ7kb2OXNBdA7IUdQBw4u9L/L7Yeg4Kk4HV1OJfnSEgWHagXFFj67 Oi/1F28LG98ApbXqLPaINCGgJbTHmgQInf2p4dJDyViZ7KtkHoZIa/3UhejvaajgqCPD sPKp6Do3pvFkPrMR1kLtaw5spfh8z+6M0bGolEu9f5QsstwMuZ9PwFvcydBgm3IjvaF0 dD3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+5K8Hm287FTFiRRPUzBUManIQauh3RBOwnOpo4jRWPw=; b=tgaaTalNX7QAWmX07mDGxNx5hF6o3mCR5rcRt8Fh8pA7dOvcma7ByA4sQbBfj0JDCU rK99UiS9lODV5p7PqW7aW8mn2HFT2ZQXXHMfSVV+hgsjli0GhMvXpoQwDEuT8Or+UR5M 5Yz02EiJ3FvaU9IYFToDBxjTro3MrOyMB8nFvtDFPFUmFt5xj/+9GoRweP9OVhNQFCAJ twYYoaFoQ0554aEjj6zvAK7lrGK6TDTr/sXhQxc3QXmYmLDntmlq80Sf/glzoPzBjxOx kKFFwby/1ZRpqtJXrVbc1M/px1uffGFXrnsMPqGoshg0SoaLeufhcaGPfaJVSHzYf2oq PKcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=adAwyqYK; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=+5K8Hm287FTFiRRPUzBUManIQauh3RBOwnOpo4jRWPw=; b=Sfj531HJOEV/08XdcoWAfHIXJAHX5WBJgHwZgwyFVRwlFYRvvitk3BIviVWW1iQo2f ia2fOY8V1zBK8+c5pbeX0IG8C1v7cm0KgypEcETCIJje3YxdCgfS7akeDJHt9jFlVpCM NVEiDw9xYfEplDY0szfN9gwTkpvqPF4xRbds0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=+5K8Hm287FTFiRRPUzBUManIQauh3RBOwnOpo4jRWPw=; b=tdqCIRECUNwgeud3JL6xT/xwHU1P386iTTzJYLDtWxSucyuVFvERBsMd2hlfJViiSD FUOWYA9zM7je/AN5lMHeBdUweo9zLryhHipdTYBNSrZ3jyZUbW/nXX065z0pFAE/nGrA Q6e/1vuBwLcFPPbTuJY91CnIqOUCC8Cd2iSPlhWDOTjFGASITZRoeIBlW+U6i1n8eEFU MToavUiUCsVmOO2pK4lsf03w+ybMr0gbcLmCqKKAQ+jYF4pEU0J2YwX163XuxDDnutzh sNJtPRx39jtcAp68Y4LAYOCg8pKRQq/6KN6EM9/boKtzw1lM32/Gf/5Qzap251FV8PPg cqyA== X-Gm-Message-State: AOAM530IN8eXoZ6t3Lq7uu9meB64HPW+KdaCfG/hGmdqk3gINy7HUvqr hLPAQ6aBhOSCrY5apLcRHcQ2IizY X-Google-Smtp-Source: ABdhPJwTwV4sSfWf2daAJOsOMXElzvd3q41A0OpT2hOI+OIAT133et/sRgPMf6cebC4zJ/2hFpvtUg== X-Received: by 2002:a17:90a:4214:: with SMTP id o20mr231741pjg.80.1641828456811; Mon, 10 Jan 2022 07:27:36 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:1f8d:: with SMTP id x13ls11068807pja.1.canary-gmail; Mon, 10 Jan 2022 07:27:36 -0800 (PST) X-Received: by 2002:a17:902:8d91:b0:14a:486a:ac7 with SMTP id v17-20020a1709028d9100b0014a486a0ac7mr133648plo.101.1641828456167; Mon, 10 Jan 2022 07:27:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641828456; cv=none; d=google.com; s=arc-20160816; b=AYkOzDNmHIkLCIXP8cikWLhkBuKjRn/lI5eZaPmZwi7vZ5J+g3XBOY+nBieJOMPOTa 3IPDbpJpeBLuUDHwF+/5nMrCcTXKqJa61JnW1BdeO+HJE5AF/Sx6zI00PkfCa+k8P1KY dYE4WwKe82UFXHhWOrBSVTbO3w0xr3CgYc+TG3Thd8KswQ4C1cCAUnA9oaNNV4qDyJko ZHKEyWZq1mWHum68TbUUm+zrfvf8BpBcD7WJgMYrG3xBPO0lx27aPXX4K4gzQceNskeQ r8VDBqu7Xd07wMuESTokMfLPx7vl36WA0e+Wsk6cBiHN6yIKTrJkgPnnoVoKcTV+4i/5 +o+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=GWnNxTMfFecLV6thOlvHXz2pzzBbjvSm6gRGLnOvDek=; b=TrmSSbRMpm5jUdDgGzKitXsqlz5ZE3dSad/qXp81qLrGrAeeZDG+1oD9xUiqAsqFOO mzZco2b9SD5lHkeaoQPOhoMqbLeNROWbyVC8RepidBjYbPPE39AzQQvrBlgz7lkOVpWr zT3xj8ALcVF/DJWa3lEs37AGxniG1qdzb61Mx5Mvn3Hp+r5ETqNWXR0ieESG+QKcM/sb aGTXoVKj0HZnxGo+2K+9dbhOWPgMSLSe25bsdzAN0J9gHNh8UqJK9EbX1g7RyABEqyLN oTMuujiKBFXV25sDd9/A1SWRfvlhYbJuUqF4JKwRi7wC2drKzv4UeZYE4dD4Enavi6xP vtxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=adAwyqYK; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id v11sor881648plz.84.2022.01.10.07.27.34 for (Google Transport Security); Mon, 10 Jan 2022 07:27:34 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:d484:b0:149:95f1:fcd8 with SMTP id c4-20020a170902d48400b0014995f1fcd8mr56861404plg.41.1641828454447; Mon, 10 Jan 2022 07:27:34 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:98b9:3ff7:5eda:a7cc]) by smtp.gmail.com with ESMTPSA id s207sm6087638pgs.74.2022.01.10.07.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 07:27:34 -0800 (PST) From: Jagan Teki To: Rob Herring , Krzysztof Kozlowski , Marek Szyprowski , Andrzej Hajda Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 2/2] arm64: dts: exynos: Link DSI panel at port@1 for TM2E board Date: Mon, 10 Jan 2022 20:57:14 +0530 Message-Id: <20220110152714.58220-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220110152714.58220-1-jagan@amarulasolutions.com> References: <20220110152714.58220-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=adAwyqYK; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , TM2E board DSI pipeline has input from MIC and output to s6e3ha2 panel. The existing pipeline has child nodes of ports, panel and MIC is remote-endpoint reference of port@0 of ports.  Adding panel as another child node to DSI is unconventional as pipeline has ports child. However it can be true if MIC is added inside port node like this. dsi { compatible = "samsung,exynos5433-mipi-dsi"; #address-cells = <1>; #size-cells = <0>; port { dsi_to_mic: endpoint { remote-endpoint = <&mic_to_dsi>; }; }; panel@0 { compatible = "samsung,s6e3hf2"; reg = <0>; vdd3-supply = <&ldo27_reg>; vci-supply = <&ldo28_reg>; reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; }; }; The above pipeline is proper but it requires the DSI input MIC pipeline to update. This patch is trying to add panel at port@1 so-that the entire pipeline before to panel output is untouched. Reported-by: Marek Szyprowski Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts index 22d26460f3dd..09418fe30353 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts @@ -51,6 +51,16 @@ &cmu_disp { }; &dsi { + ports { + port@1 { + reg = <1>; + + dsi_out_panel: endpoint { + remote-endpoint = <&dsi_in_panel>; + }; + }; + }; + panel@0 { compatible = "samsung,s6e3hf2"; reg = <0>; @@ -58,6 +68,12 @@ panel@0 { vci-supply = <&ldo28_reg>; reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; + + port { + dsi_in_panel: endpoint { + remote-endpoint = <&dsi_out_panel>; + }; + }; }; };