Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp23088pxf; Tue, 6 Apr 2021 13:51:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznM2zXAjLP5S9mFnvtQhCT4xYiCicu5C5BfWVuVJSbj5kmj089zchkfB4WCQk7/nPiCyZ0 X-Received: by 2002:a17:906:813:: with SMTP id e19mr9790274ejd.359.1617742267182; Tue, 06 Apr 2021 13:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617742267; cv=none; d=google.com; s=arc-20160816; b=Rtov0vLRtj8Ihtj2XMtf/+e4QorS6BPrWoYbUJaPNBqT4PdODS6RpdndS4UxbPb6tq LpzMA2hGPWkLG8jxgp7VioukSxr0EPaTr9fC5Af+fs4FhXQVED0IORy2bwfbCGs/XM9S +2SbbBHMx9Cfv6Bb/rHpFoySeppucNEGevbxAHo8xh6u//xmogfSA7cIWbnTV9WZnmC3 aEu+i2ZhC0S8oUSR1R1tId4OSC9jNUgpPFr4VpJWFbl7l6sIMHzmYqcL6XQImbweHbSa F9iPCWlTScRkqsJ/NeElLCZj5DoYuUMWjYCZCQ95KKN+qk99mWb2OYIzItzDhIAcul0q pnfg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=H+nH21JCvam+dYUjtR0Eymm99HB3jx355hDeinSGyzQ=; b=hEjrQrrc1Tt2TXaoreMfkMBcI9fTpyrFLmo01I7nG4LXq0ciFB467asJ2+teWXORuI L8TDJHTt30ZDhCCVz7yGyAFWchEO29OtkU8P4iVFK2ftPj0q12DjcJEPzoAkt+2eaupF 55b65x/UDBPWs9Q9B2rpxcAS0CIkN4ELgUbQReNG6/Cs9wp/tGq3JCVVIXdtd0X1wNIh yhlaAHikrCbB7xOmX4iH4ypUMzPA2uJqnLFYZLFPK86EQsJABuHBkA+4Cn/K91bdUKZM tcp4OjgfLv609d5E9B5h3K3akFZ0SlfZ8MAHwudNQrXk+oK4LHnquEMeF0VgxOIAXJjI QFvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dfACU2xi; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mq22si4606127ejc.628.2021.04.06.13.50.44; Tue, 06 Apr 2021 13:51:07 -0700 (PDT) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dfACU2xi; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238567AbhDFLgm (ORCPT + 99 others); Tue, 6 Apr 2021 07:36:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232868AbhDFLgm (ORCPT ); Tue, 6 Apr 2021 07:36:42 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D754C061756 for ; Tue, 6 Apr 2021 04:36:34 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id f6so7763697wrv.12 for ; Tue, 06 Apr 2021 04:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H+nH21JCvam+dYUjtR0Eymm99HB3jx355hDeinSGyzQ=; b=dfACU2xivv5z+PLTgQvy1TvdJbRUFa6y2RdAyY8l3qghCSlCCf9TrOMUJaX2QbqufE UP3Y41nF6bQ23r+Cq2oW0ZRvRrapW8H3tsQ0cMetakyEbdmucJvOouQt2MwdxYVzJPSr YAvemBGnWNC9u2IjB73TVWYfwstldzZNfePTi6mFVy+JW4o2MmtjakxnMVNBe3q6x2VJ gmH7s56rbHIZYwfK72Nl11sRp3AF8VPkb3rEUIdb+Cx1h/jiaLcWSWy6NHDwuptNLP8X 46C+7Kxf6HEtrUGWdQthU6XPYoAbG4YJoC0T7eJPx3jjB7oxvPu+bmAfT6PVzKkLlYrt Uyag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H+nH21JCvam+dYUjtR0Eymm99HB3jx355hDeinSGyzQ=; b=JTH8aJBPtQ4pDvH2sibC4NbFjZeuUep+H3JEYPOhVCY/P2h3FPOEVtVniWVHn434D/ IclbXCPERP+Y1Qx62addm52yOWQE+ylNmOxBmd85DCqdRfAhC64R49lkZBzwem0PngZ3 ha6Y/Ig7JA2nGSu8kpKbCKUQiZMRCg+FBR/Z4+HKZRNXTsQprEqOnnwez5T4xaP8UZ0K uzszSeoxHpE7fjstn0EDQOuZIIOK6PXz1Z0GRohR+R+iM7LBAyYkcFeQcSIYnzlV/UK5 h+tWwhtm+K+PnSFK/imiD+bj+ONTRh6e9488iE1Y0FHSq3djWEamMIx5J01aPeftC++y gx2g== X-Gm-Message-State: AOAM532qGXK/Mm+SiwqxX5XM1GKRMm1C6xWFSpO8FS8Mddz4A4oXEdfC a3Ambat+Ihbtt35hqQjxlYboKQ== X-Received: by 2002:a05:6000:18ab:: with SMTP id b11mr34067108wri.403.1617708993266; Tue, 06 Apr 2021 04:36:33 -0700 (PDT) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id k3sm11880735wrc.67.2021.04.06.04.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 04:36:32 -0700 (PDT) From: Fabien Parent To: Rob Herring , Matthias Brugger Cc: mkorpershoek@baylibre.com, Fabien Parent , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/3] arm64: dts: mediatek: mt8167: add larb nodes Date: Tue, 6 Apr 2021 13:36:28 +0200 Message-Id: <20210406113631.2675029-1-fparent@baylibre.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add larb nodes for MT8167: * larb0 is used for display (dsi and hdmi) * larb1 is used for camera (csi) * larb2 is used for the video hardware decoder Signed-off-by: Fabien Parent --- Note: This series is based on https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.12-next/dts64-2 V3: * Removed unicode character in commit summary V2: * Removed unneeded mediatek,larb-id property arch/arm64/boot/dts/mediatek/mt8167.dtsi | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi index 4b951f81db9e..bbddd4b22d3e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi @@ -140,5 +140,35 @@ smi_common: smi@14017000 { clock-names = "apb", "smi"; power-domains = <&spm MT8167_POWER_DOMAIN_MM>; }; + + larb0: larb@14016000 { + compatible = "mediatek,mt8167-smi-larb"; + reg = <0 0x14016000 0 0x1000>; + mediatek,smi = <&smi_common>; + clocks = <&mmsys CLK_MM_SMI_LARB0>, + <&mmsys CLK_MM_SMI_LARB0>; + clock-names = "apb", "smi"; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + }; + + larb1: larb@15001000 { + compatible = "mediatek,mt8167-smi-larb"; + reg = <0 0x15001000 0 0x1000>; + mediatek,smi = <&smi_common>; + clocks = <&imgsys CLK_IMG_LARB1_SMI>, + <&imgsys CLK_IMG_LARB1_SMI>; + clock-names = "apb", "smi"; + power-domains = <&spm MT8167_POWER_DOMAIN_ISP>; + }; + + larb2: larb@16010000 { + compatible = "mediatek,mt8167-smi-larb"; + reg = <0 0x16010000 0 0x1000>; + mediatek,smi = <&smi_common>; + clocks = <&vdecsys CLK_VDEC_CKEN>, + <&vdecsys CLK_VDEC_LARB1_CKEN>; + clock-names = "apb", "smi"; + power-domains = <&spm MT8167_POWER_DOMAIN_VDEC>; + }; }; }; -- 2.31.0