Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1229398pxu; Fri, 27 Nov 2020 02:52:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJze1f2YHIAVxpk1XQHe5vyMVufGMOA7M2z5iSo/rXAfKtmC/29DEWQs9NG6dhFeB2y61zcG X-Received: by 2002:a17:906:c04b:: with SMTP id bm11mr6849771ejb.394.1606474349205; Fri, 27 Nov 2020 02:52:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606474349; cv=none; d=google.com; s=arc-20160816; b=XUIMckdcEsCqnzAHcSCR1s5JjqflOXN8FKDZKwVVeOw9yT83mCNU0bxH8oUjRY/x+Y Cg/pYAAe+W0L7iPsQGtFWmvIWHXF6eMDYz5WxbGviLmwtFfFR6OQbJkkSbW2FOCJrqbo 6MEnLRjhKb15fwCAwx5yGkH56JS4F6cY1ZBJxiOuTWdo35wP4lUG76d3X7fcv2Z/CL8o j89ZcdMdhB3IXbzwgV73vUDo6DESnaqly8AKRih7kdU4OJJ8/rlQ65QJ7YaTEhaQsr+x vkqi35AN7kLCSakgYICN+XDzdJGISyHGim/vPoI8k04U2UJ7o3WqP57zkaGTwUqINYBo RgTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=bUwDHvfAfO4e6dHG91BIBFBpeiir9i8jHs5yAY871rU=; b=mW1sR/3OsFLEDGcmnyBrbsFSOxxbuLuEX2WlBpQ18MVZoNYFdEBlvtgEEtgX6rqyzH HmG7EUlxz40Jazif+KNzr3yZX4lvOFT6fjB5xzTZMWoNuwxnIDFmwysnO9S+ebnne999 wIKUF8SO3l7wdp9/e29Biu3m04KZP9n7U0/u/1Jxuphr77V5+waNH46fcrxx6C3Q/9EA iEBARHllPwTc7LYUlyO+xF6YXvuHPbDo+N4H5tnPmJ2IJvAvsdf3kLz7eKmwB0pwKci2 pDm0CK86uCjmbKj7uuoekWJDcx9+tQGt1bkvNHEs/ks0AZFX6P6bKXvqfHYgTpf4t6on GE6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p3si4652676ejd.639.2020.11.27.02.52.07; Fri, 27 Nov 2020 02:52:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729175AbgK0Ktq (ORCPT + 99 others); Fri, 27 Nov 2020 05:49:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726417AbgK0Ktl (ORCPT ); Fri, 27 Nov 2020 05:49:41 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 964A1C0613D4; Fri, 27 Nov 2020 02:49:40 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id B5DBE1F461A2 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , Jitao Shi , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/3] arm64: dts: mt8183: Add dsi node Date: Fri, 27 Nov 2020 11:49:28 +0100 Message-Id: <20201127104930.1981497-2-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201127104930.1981497-1-enric.balletbo@collabora.com> References: <20201127104930.1981497-1-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jitao Shi Add dsi and mipitx nodes to the MT8183. Signed-off-by: Jitao Shi Signed-off-by: Enric Balletbo i Serra --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 7839480df075..da7212e21fdf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -892,10 +892,27 @@ mmc1: mmc@11240000 { status = "disabled"; }; + mipi_tx0: mipi-dphy@11e50000 { + compatible = "mediatek,mt8183-mipi-tx"; + reg = <0 0x11e50000 0 0x1000>; + clocks = <&apmixedsys CLK_APMIXED_MIPID0_26M>; + clock-names = "ref_clk"; + #clock-cells = <0>; + #phy-cells = <0>; + clock-output-names = "mipi_tx0_pll"; + nvmem-cells = <&mipi_tx_calibration>; + nvmem-cell-names = "calibration-data"; + }; + efuse: efuse@11f10000 { compatible = "mediatek,mt8183-efuse", "mediatek,efuse"; reg = <0 0x11f10000 0 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + mipi_tx_calibration: calib@190 { + reg = <0x190 0xc>; + }; }; u3phy: usb-phy@11f40000 { @@ -937,6 +954,20 @@ mmsys: syscon@14000000 { #clock-cells = <1>; }; + dsi0: dsi@14014000 { + compatible = "mediatek,mt8183-dsi"; + reg = <0 0x14014000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT8183_POWER_DOMAIN_DISP>; + mediatek,syscon-dsi = <&mmsys 0x140>; + clocks = <&mmsys CLK_MM_DSI0_MM>, + <&mmsys CLK_MM_DSI0_IF>, + <&mipi_tx0>; + clock-names = "engine", "digital", "hs"; + phys = <&mipi_tx0>; + phy-names = "dphy"; + }; + smi_common: smi@14019000 { compatible = "mediatek,mt8183-smi-common", "syscon"; reg = <0 0x14019000 0 0x1000>; -- 2.29.2