From patchwork Tue Feb 1 17:46:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 12732096 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 D853AC433FE for ; Tue, 1 Feb 2022 17:47:36 +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: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:In-Reply-To:References: List-Owner; bh=tV1FOf7Whlah9YGNFtUEWigWeXSFKYxO7wCiVBUjJBA=; b=1LicX3mr6JY4te TWSCztjzn0nq4hjFnAELuMnnT50hfQ2miHQCsZ8EGDb0tpv6r6vXFqblHsaY0veg1CHJif5woc/5V 947JwwG2KGHgZDPlwvtD+cagJiPi/io/XnhiTj6BHXAqS1sjKr4UnLi6dLMcd5cR1ejQTASfh2+x2 Vn4MmRpVrnyz9m/EOHA9+9M0dW3tI9TfNpAVJCl0TpaOkqyxQvtUwGpaORIB1087MJXv0vTqiKPFh W6mLVPzrvP1fIAFiWBegfdSYN3I+7HQCbBwoLaDoGObqT7Z/KrPXsz91c8oRVWVA/KAOD2QEA3Lc2 g485b0IWD3XbZViyBtSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nExFZ-00DFUE-W1; Tue, 01 Feb 2022 17:47:30 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nExFN-00DFSc-Jb; Tue, 01 Feb 2022 17:47:19 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 2A7BB1F42600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1643737633; bh=OkkKZ3FYGEgZTul8yQpicqMp2cbfoH6C3I3tztPrqUE=; h=From:To:Cc:Subject:Date:From; b=hhxrF6mDNLVvBLQEG5CZ0rtWouQinB10zZriDIzvQiUtWwiwTDrhUYVvhq/XMMH4q BFSiI7qDHgjKNmMhMI+zZ1vQP5vpsDh4Qpwf5SEqlPKirc1S2SaEvuHmR1vOyW2t6A RoHYC3xbgJ03Ej7OVTweS9iVSs3eLk7SMjvEPJSAeNF5cNlqoaBKlWMm2ZLm3YRGH5 K3oe2skX2hmB5B/hOtEu9LI/M2DtfI6rozcqna3Qq0olGDw1nkYfXC6Q7qT6Rf37X0 6rrn3BAxCUle9me82u5XkhqKy9fi2ZUSsMEhUsCVG0ttDNCUNNllCnvdGHn+qngWek dkBkuo1rGOGzw== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Robert Foss , Matthias Brugger , Rob Herring , Xin Ji Cc: kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2] arm64: dts: mt8183: jacuzzi: Fix bus properties in anx's DSI endpoint Date: Tue, 1 Feb 2022 12:46:43 -0500 Message-Id: <20220201174643.843102-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220201_094717_821721_0219CBD9 X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org mt8183-kukui-jacuzzi has an anx7625 bridge connected to the output of its DSI host. However, after commit fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature"), a bus-type property started being required in the endpoint node by the driver to indicate whether it is DSI or DPI. Add the missing bus-type property and set it to 5 (V4L2_FWNODE_BUS_TYPE_PARALLEL) so that the driver has its input configured to DSI and the display pipeline can probe correctly. While at it, also set the data-lanes property that was also introduced in that same commit, so that we don't rely on the default value. Fixes: fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature") Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno --- v1: https://lore.kernel.org/all/20220120224204.773117-1-nfraprado@collabora.com Changes in v2: - (thanks Rob) Use proper format when refering to commit in commit message as pointed out by checkpatch arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi index 8f7bf33f607d..e8f133dc96b9 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi @@ -171,6 +171,8 @@ port@0 { anx7625_in: endpoint { remote-endpoint = <&dsi_out>; + bus-type = <5>; + data-lanes = <0 1 2 3>; }; };