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: 12708919 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 5A818C433F5 for ; Mon, 10 Jan 2022 15:29:09 +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=ntx1Pxtk79e5ljDTVUZnhVB/HvlkyGF7Oglqy7PD9hM=; b=WEu0Rekj4oYaoQ 0aPi+mBqJs7UXRB0YQZnF0ZUV0TblJNTvuV64ZCEBp9aE9mrGPnljgzRXw8/Cxxr7PTHyPo+wGo/b gDMtDsyImo/Dk4woAd3DAoZwHaQI5B3S9PMr77KSm+9EV7gURxLPcIh/qFxw783y7H+JT+TwGGcMc YAYHkHklFZD0k+y+2q2Va8xuSxMQgpjZq93u0mPcBM3t/sC9q0DWW8PSUOBh0f4uyDsfR8PEIeAhP oNewGLckIUK1SP/gxeoT0MJU816LO3HZNeq3FggI+aFkSWfssnUAuWo9QZw/nxBakZv+3Gi0jilxv DyO5hvvFKaDhLTTG6kvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6waK-00C3kI-D5; Mon, 10 Jan 2022 15:27:48 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6wa7-00C3hD-I9 for linux-arm-kernel@lists.infradead.org; Mon, 10 Jan 2022 15:27:36 +0000 Received: by mail-pj1-x1033.google.com with SMTP id b1-20020a17090a990100b001b14bd47532so369400pjp.0 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=LtCVlYy1ej0CmoQi9ZIhj2EhQk1iMGg08g7FWUlekX0eZPg+AREvn1rcQci09ubtfC 3l6QGO1cTny2utQ+ld/NkMRFPDM2S2Kmfofykd0swrWKKZ0KzvITEGpwfSIl4e07Xs6T iumlaRT3Qu76L962KYPUIIqaPwAoktCfF+Fujphz5NZoUpkci3NpL19ZaV1AiYhd0x3V Q++CPojJS97vXdwsandND6jJfCJgN7HuBlrJ5WA0J7aB05rPsfggfCuyOJeru3Ns4rWY ZFKS+jyZRP5wGN4ElmGxYpDdsH84prwx6/w+xzoPZSXQGvMrk9ONv9GamvTZqTAGBiS8 GmMw== X-Gm-Message-State: AOAM533P1P26QL96mmnCiQpcGlEXR7rmDaSDJHA9b4d8sIqycuK+bw1x zvf2CsJTggTxgtJHs0apIxOSZQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220110_072735_623884_E421EB27 X-CRM114-Status: GOOD ( 13.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>; + }; + }; }; };