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: 530982 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05513C433FE for ; Mon, 10 Jan 2022 15:27:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232210AbiAJP1f (ORCPT ); Mon, 10 Jan 2022 10:27:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236150AbiAJP1f (ORCPT ); Mon, 10 Jan 2022 10:27:35 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E24A9C061756 for ; Mon, 10 Jan 2022 07:27:34 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id m13so13855507pji.3 for ; Mon, 10 Jan 2022 07:27:34 -0800 (PST) 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; bh=GWnNxTMfFecLV6thOlvHXz2pzzBbjvSm6gRGLnOvDek=; b=adAwyqYKiqQBR3iAnuPrl9HsqSWVMAyCNeCwcsMEiGf+khhIBKSq8bewnZ66ztUuoZ kg2LQ6xQp+84sx22whoT3dhvjvA/gYkacf+09iRso4uvkjQqKF5FT/uVGZQrT6e1PhTx Ifoi+F79/4dQ5J4UYwa4I5tLitw3iXtSWHOEQ= 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; bh=GWnNxTMfFecLV6thOlvHXz2pzzBbjvSm6gRGLnOvDek=; b=8DfuO/fuqPq3qjNIMetHnwmUKOBwu155IIcu6QfCUKIWL/cihbmSsmzvdyWg3aRB1f H5IEDj6vXq1Qnq0O8SAvXHZPM/7F+nUsoxbt7RJP/LjeHb2xKakwDbbqXQgbdgE2eFiP +alMYytAN9QylNuZvs8FWyEUMd+PyVRNvompYs679Ws/JELj9FAUgPD40SUW0WRSL3S8 hYFEQenJWPDgsIlZiW3Cg7DRnrmYxIAVj7wwuivzqExfS+2bcXRX/rSfC+3TcmAo7cs4 6u0j7qmexyLO41RyGQcPSRyAx9uXt2aPYb0V60hRkKTQ0wIa+T22n3AYnlYLM/5VupU5 rOoQ== X-Gm-Message-State: AOAM532b8hxdoOfgQJ2MKvRwVCxKBzXw2KAFzObjp/TMAT5KixVUNoXa sTvWb8u0/VUkxr/auMtOSgCvk99CbJP5Lg== X-Google-Smtp-Source: ABdhPJyGkqB1MMZcJH39JIEqJL53oJGtqzofu3A1NFxvUUWWVTks1ciDaeNRghX0Dvi5cWxbTfNBkw== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; + }; + }; }; };