From patchwork Wed Oct 16 22:32:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pin-yen Lin X-Patchwork-Id: 13839041 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 3CC52D2F7D1 for ; Wed, 16 Oct 2024 22:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=J0Sh3029V3MK51x11tytW0IURI4Fv8hVCwwtjTn58GU=; b=Y4+Gn6q/qDZc4puIAdyVq74JHw 1FJGa0GxJEse1HGwwDYovvGLczte0fmLiGIt5m4a7PFGip+gkqj7q8nWWlveV7N47P54Rz+v2Gb9i O6upYk5kuPFmMwrPx3pHRbM2PUJSdcgYyNkBlbAB50FoGn9EDkwP0ge8pwmR4t//3FgC1OvLxbyzH YIkIEo3Tdbr2x4m7+7/7HvQFHNODJmJmADp7UFZ9LyFsCTORWNkSSN2FunyE+oUJNmHmdqfNH4QFz ujaGM1XpZFal95+65OGKWKiM6QQi0RWcoAPV782UzlZ1CHw/haykK77n0uvlJjzJ9sDseR4qdULqy xVjOo32Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1CbQ-0000000DABm-0FNy; Wed, 16 Oct 2024 22:34:48 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1CZz-0000000DA3h-3OkR for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2024 22:33:21 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-20c7edf2872so11597965ad.1 for ; Wed, 16 Oct 2024 15:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729117998; x=1729722798; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=J0Sh3029V3MK51x11tytW0IURI4Fv8hVCwwtjTn58GU=; b=OU7qCXQx2NKC+mGbTsrap5Ao2UlIM50d4N3yCfA9cUIjUHUxIhldVBKZX0fNVZO62g LLQ9Bt0FO2nSp6lyjDO02gTh1z5lUEAH3rOSWdkdlb5ZoRazgv3OXVBV+4XH1FudDv6g COPX4g/M6Hmv3dIvLb83QOIhaGIwDWdCc9IFs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729117998; x=1729722798; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=J0Sh3029V3MK51x11tytW0IURI4Fv8hVCwwtjTn58GU=; b=T0z7mxp2UlsS7NIu/uTZiGyTdPycqMJmCg5t33AoDivsw5ZqOroFWIUmIOwTsVkyQG OWeYk9o2G6TAEKDSXHOm2uxEpB9Ehq/q43MjLWbHKEdTAMJ8Te3l86HEOb7D04b6Z7Vd ZtVlS+P05SOOIBZsG3qGNiHigQLf5ePkQtEzmuzd4wKBpl1Y4kSCvGbayUV9qtkLEWM8 s8oWQdc5eKU170Dh2iXSeVlfel1M2U+7TLSfxUIj9eWmt7oYPAu9Vf65JxtTR7TZXHiB RjpvrjA3Lexxacv0drRFFn78sF0Z8LexpW2ldutfUQ+C5MA/Jh/tuKeUVX97/Jh3wu9u Z0Uw== X-Forwarded-Encrypted: i=1; AJvYcCVrCvhL8LbWDdl0BE//ESLA7dF1KjCsPD8ryx+4fvxE65+pgITaIa447niNLKXLPcWFAeGcJV2onMh6EvoiFDeD@lists.infradead.org X-Gm-Message-State: AOJu0Yw5b5sxoShAJVyl7Sxq3V0AH7OjW71fgqUP0ArXR0/kxXG99cTb i9tnTgC019qbI80u9h54d7yX0sWUuurrzikU6M/98y0OfIzhnNfwhRB6sWR10Q== X-Google-Smtp-Source: AGHT+IG0tsd413azSd2z2aQQ6JvNbIUWii6V7rLAFfiINNm/TURRGSMl6gwvfVgmDrvrJ5OSs6C+nw== X-Received: by 2002:a17:903:181:b0:20c:ceaf:e65f with SMTP id d9443c01a7336-20d4797b143mr15638175ad.25.1729117998315; Wed, 16 Oct 2024 15:33:18 -0700 (PDT) Received: from treapking.tpe.corp.google.com ([2401:fa00:1:10:aab3:ae1c:d5a8:7fba]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20d1805b040sm33441645ad.252.2024.10.16.15.33.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 15:33:18 -0700 (PDT) From: Pin-yen Lin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jitao Shi , Hsin-Yi Wang , linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Pin-yen Lin Subject: [PATCH] arm64: dts: mt8183: Add port node to mt8183.dtsi Date: Thu, 17 Oct 2024 06:32:52 +0800 Message-ID: <20241016223312.3430051-1-treapking@chromium.org> X-Mailer: git-send-email 2.47.0.rc1.288.g06298d1525-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_153319_880817_C39FA68C X-CRM114-Status: GOOD ( 12.08 ) 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 Add the port node to fix the binding schema check. Also update mt8183-kukui to reference the new port node. Fixes: 88ec840270e6 ("arm64: dts: mt8183: Add dsi node") Fixes: 27eaf34df364 ("arm64: dts: mt8183: config dsi node") Signed-off-by: Pin-yen Lin Reviewed-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 10 +++------- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 4 ++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index 07ae3c8e897b..b7b3d8fbf1e0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -280,14 +280,10 @@ panel_in: endpoint { }; }; }; +}; - ports { - port { - dsi_out: endpoint { - remote-endpoint = <&panel_in>; - }; - }; - }; +&dsi_out { + remote-endpoint = <&panel_in>; }; &dpi0 { diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 1afeeb1155f5..e4899cd6fef1 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1834,6 +1834,10 @@ dsi0: dsi@14014000 { resets = <&mmsys MT8183_MMSYS_SW0_RST_B_DISP_DSI0>; phys = <&mipi_tx0>; phy-names = "dphy"; + + port { + dsi_out: endpoint { }; + }; }; dpi0: dpi@14015000 {