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>; + }; + }; }; };