Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp135259rwb; Thu, 12 Jan 2023 04:31:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXuJ9OYVQdDZqVNrV5sEuwWr3jQcsWydfa3eU/+J0Nv51jyMXQH6wrYIPS3RXIFwExy0RYZu X-Received: by 2002:a05:6402:2a04:b0:463:9193:404a with SMTP id ey4-20020a0564022a0400b004639193404amr73061487edb.21.1673526670847; Thu, 12 Jan 2023 04:31:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673526670; cv=none; d=google.com; s=arc-20160816; b=ou5Uu9q8c3qBzqBCM9cPha7uQLxZDCGjonQR2FPhgc0CvvUaTSOGGFMwoTIQ3oOjj/ nYJit5zRtuAIRwaEMid7VXKsqhtTazmkL09TJqTM0DvPraNhMUnPUoQzwOvXbfOGMeoZ ehk215kAqhWNZLTta8deSLVsQMrrUEkaoOJZTPwtW7qS6X5Hw4in3FaqraK51wcba5fD Xk9cicO4GdWEI257pd7q5fJZZIvXPkx+Trrm4NAn2giKu7gjdbW0z/ChVeTXz5dQS7uH +n2UkFlecwRPK+OBUF42DMIq8zTVkgAAdkwwQUKr1aEunMardbZIk/1BI/iM8APqlSSc OnfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Nc90MP0lO5NabKtarT67wAhel1LbFD1g72FNi8Kcmco=; b=DDowaTKzxaz3h3Cx6FIM6iwdeiraHUk52vX81pXw3YhBonKHi0JxKdL90cFSuxDkwn rShFa6P+ocNml+NVCkqaOBOq/uJSvbxujuOpAnAK4sCRiOlsiKp2cwbREccGDphDe7HR 5j1i6tXZWPvdx1NrjzxCL9HvX/62avRoguwNjuPIe6+HyDz9BIe89vcPXoA1YKipn8YK 7e/XSb4Rr0QwbfR7h6KiMS+za/RGI3G+BVdWA9A97xy690m6FZB/aKYImcZoIGpTmgA0 qCI4AXxsXILTADmE1yBT02v29ovWnlAADbHKBgIz+KvCPm9KCghDvmpiPFh4ECRs6k6M V94w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Yl4EI4pW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fi11-20020a056402550b00b00499c424f683si6763081edb.223.2023.01.12.04.30.58; Thu, 12 Jan 2023 04:31:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Yl4EI4pW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231379AbjALL5Z (ORCPT + 49 others); Thu, 12 Jan 2023 06:57:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232163AbjALL4r (ORCPT ); Thu, 12 Jan 2023 06:56:47 -0500 Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C60A45B497 for ; Thu, 12 Jan 2023 03:49:10 -0800 (PST) Received: by mail-ua1-x92b.google.com with SMTP id f5so1865345ual.12 for ; Thu, 12 Jan 2023 03:49:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Nc90MP0lO5NabKtarT67wAhel1LbFD1g72FNi8Kcmco=; b=Yl4EI4pWEgqt9ywJRpKAJkTPHZ/G6JZI899Id1waManNh6rr1948RRx9EqT9tgD5H5 0Fh1H+AMG/3VsmPENHCYilSRmFW9feZyBn9DyRxWOJekUc37VM1yMiKwAkJgmtkmC9vv SFwU4AGjhBQ/CuWHa32sVYMCkfQ6ktX28hCF4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Nc90MP0lO5NabKtarT67wAhel1LbFD1g72FNi8Kcmco=; b=MarLb+sjEiNa45i1fKue6fwPlcf4FBHDEWH01rrs4Bfth9HmhNHCd3XtasGXowQhu1 aQxITLpdKWCw0wm5F8AyV9nVt/mjPEnXtIymsXppyNiqglihixdgtNXvrdjZX8u/8BYD gmkK7+HcQkYjlWJi+ljiuYE8Vjf9VBhIQZMOm2Z6+F1FnhwhJI1mvXBUKqbCApreiW7j HG5LnCp7xUW20Ce1N8waHd45h6Mi/lhf7596vWH6RvV1qeXwwUnGNSbsXfscPGegTlRX adwz9V3hwXGEpuWbwyc3E7vX8xxclC3zQlkywYtAGh3SY4I0tgl8oUDIx15fNBq74ZyI scvA== X-Gm-Message-State: AFqh2korO7Os+KeBMng8J+C7DEyXC7muWiVPDMZhB6mlXl9d+/C9Xo4K ddxqpRSr7hdxs+G4NVvpQ+ORaJxbfcglQ+BHnsR5yw== X-Received: by 2002:ab0:738b:0:b0:469:f0ea:c1f7 with SMTP id l11-20020ab0738b000000b00469f0eac1f7mr7626458uap.0.1673524149333; Thu, 12 Jan 2023 03:49:09 -0800 (PST) MIME-Version: 1.0 References: <20230111123711.32020-1-allen-kh.cheng@mediatek.com> <20230111123711.32020-8-allen-kh.cheng@mediatek.com> In-Reply-To: <20230111123711.32020-8-allen-kh.cheng@mediatek.com> From: Chen-Yu Tsai Date: Thu, 12 Jan 2023 19:48:58 +0800 Message-ID: Subject: Re: [PATCH 7/9] arm64: dts: mediatek: mt8186: Add DPI node To: Allen-KH Cheng Cc: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Stephen Boyd , AngeloGioacchino Del Regno , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, linux-mediatek@lists.infradead.org, hsinyi@chromium.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 11, 2023 at 8:37 PM Allen-KH Cheng wrote: > > Add DPI node for MT8186 SoC. > > Signed-off-by: Allen-KH Cheng > --- > arch/arm64/boot/dts/mediatek/mt8186.dtsi | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi > index c52f9be1e750..eab30ab01572 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi > @@ -1230,6 +1230,23 @@ > power-domains = <&spm MT8186_POWER_DOMAIN_DIS>; > }; > > + dpi0: dpi@1400a000 { You could drop the trailing 0 in the label, since there is only one instance. Tested-by: Chen-Yu Tsai > + compatible = "mediatek,mt8186-dpi"; > + reg = <0 0x1400a000 0 0x1000>; > + clocks = <&topckgen CLK_TOP_DPI>, > + <&mmsys CLK_MM_DISP_DPI>, > + <&apmixedsys CLK_APMIXED_TVDPLL>; > + clock-names = "pixel", "engine", "pll"; > + assigned-clocks = <&topckgen CLK_TOP_DPI>; > + assigned-clock-parents = <&topckgen CLK_TOP_TVDPLL_D2>; > + interrupts = ; > + status = "disabled"; > + > + port { > + dpi_out: endpoint { }; > + }; > + }; > + > dsi0: dsi@14013000 { > compatible = "mediatek,mt8186-dsi"; > reg = <0 0x14013000 0 0x1000>; > -- > 2.18.0 >