Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3865708pxf; Tue, 6 Apr 2021 02:08:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpH5S9nPlWyAh6MEfj0bsg6WjfB3owlFnH4W7e4ePv+l/nsb15BzjdOLgej1fdP3CS/mrv X-Received: by 2002:a05:6e02:20ee:: with SMTP id q14mr22244943ilv.223.1617700113089; Tue, 06 Apr 2021 02:08:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617700113; cv=none; d=google.com; s=arc-20160816; b=Q9p5MpSxmlUp8bXHT9T6JNMhe4GEyv3OmqCAJ/dNutieHIq3oUcKq2k+KFc5jmyaD2 4ccEhPdIScQ3hGP7D0noBz9aH20gsNLpb78CUisR7BjL+z2LbIV5bFtZO9GftZmjf4gx LJ3DQmiBG3dTaRUISqgniUbk3534ZoNQBVK98vVpSeK+r8hetNKajpAeKfCds0LrY9hP aT/EzHWHz3PI7UQabVf765OyKjaIKwKDsPfffLGfPrCUL9UA+x3L7RhX10fTUsvf2wmq IhYXBqun6lwfUrCXvEUYYarmlWf0TyCIf5qVeZGrI+heVyAuAo8dTMF4hevex/MwmIak TnnQ== 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 :dkim-signature; bh=HQjvCSuY3St5Kr8py6j3qL+C5LXPpboAqFQK0TU9PiQ=; b=cyCy3osJUqOAZAecUWJTabtG6iOWI0LnMEg9Yb/QvmbCKM3ZJ3p6Fq66YBXdnc0+2N VgtJvoF8r0riIAf375YM4c5OCpe9YzuwDtCCLz+cKiqytkHeeMa+91A7mVxExKro+axS nZnZnYRloDNnTsv2+ngwxOFgvPkatYmjrTP9e5veqULiShwh7gQQJJzYy2DdzcHRG641 UCEUbe0yGldrJSRHSJBYDPheW5atpd6pHPeD7DYQGz1HLp8Exv1TYitixQySTnH5t6qv PTO6xVdghcxovAmRl3xqubeiU+EPGk7W8HNSlHYZRmAb7PO40jvVJthVR1EVK9WKpSsg jFvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=R7cCRBNe; 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 g13si16721006iow.1.2021.04.06.02.08.20; Tue, 06 Apr 2021 02:08:33 -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=R7cCRBNe; 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 S240602AbhDEUIm (ORCPT + 99 others); Mon, 5 Apr 2021 16:08:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234800AbhDEUIh (ORCPT ); Mon, 5 Apr 2021 16:08:37 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CF83C061794 for ; Mon, 5 Apr 2021 13:08:29 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id f12so5914378wro.0 for ; Mon, 05 Apr 2021 13:08:29 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=HQjvCSuY3St5Kr8py6j3qL+C5LXPpboAqFQK0TU9PiQ=; b=R7cCRBNeaQvmb8IkPfmisOjsWT68xXtTAVsRDbMFzIPnHyCl7/8lSiczp8zLPlDeK0 CIeI89vK102N877hxMU+u4wUJijhVgQe3HttbpYWFJ/KLVAgZ0S9G+9tM1FrfgQ0kiFW Iwe22p0tPxNbDLqmhGb/wNakVN19eYos40x1w/0EddzaYE4dYsUh4579T02OyXYKtG0x 9pHuFwSCisK9v0DOrOgbu5yPnHcx/xVPYnKBDhiePi+K27OXDVfBI3UEcIp0T1e7GLRq T7PE82WeGcQBPraAtYLgAHZ/1IyjirvkhpKgkjtwg7CXGkxncS26b/oSNvjBSdFjv7ZD 2sPQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=HQjvCSuY3St5Kr8py6j3qL+C5LXPpboAqFQK0TU9PiQ=; b=X7nOTazd/EEz2BFPzK89fKTi9dAy8M99Rr1fQPERe/jvzxuiImhZTBEMxU0YL4exVh eR5VFwBD13r/cdpjrj11kEfWKHby6JGWppjL7ZWIaL/0UZ0aNHQAyxASZt6YU7/PgjIC kyLf0BjQGkvm3IA0E3cmKZMSM6AgJxYoD3KRH6jRH0/UbXHiEDpS+Mq5p9ZyJuCmi9jb PLVZ2it2vtvVFAIw1oW8YUpuJiYl2MipkiNQ7mXdruZmrhfXkgCdy07cLyY+Ve/4GlHM zo+rUJdly0naLm0eL5TCt8SfP42Cbo015SSSqwm7kkEhAcB2rtWI7m7da8RmFmahhaT0 lRpg== X-Gm-Message-State: AOAM533pQXYZjhfFk7op4Fe1RKVkDPv/HCOsoS7dLPdKDnepsP+nydwZ tJcUBowcylOEjL6TMTjRh6b+Uw== X-Received: by 2002:adf:ee0f:: with SMTP id y15mr6563507wrn.43.1617653307855; Mon, 05 Apr 2021 13:08:27 -0700 (PDT) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id v185sm609420wmb.25.2021.04.05.13.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 13:08:27 -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 3/5] arm64: dts: mediatek: mt8167: add larb nodes Date: Mon, 5 Apr 2021 22:08:19 +0200 Message-Id: <20210405200821.2203458-3-fparent@baylibre.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210405200821.2203458-1-fparent@baylibre.com> References: <20210405200821.2203458-1-fparent@baylibre.com> 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 --- arch/arm64/boot/dts/mediatek/mt8167.dtsi | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi index 4b951f81db9e..9b352031c5f6 100644 --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi @@ -140,5 +140,38 @@ 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>; + mediatek,larbid = <0>; + 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>; + mediatek,larbid = <1>; + 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>; + mediatek,larbid = <2>; + clocks = <&vdecsys CLK_VDEC_CKEN>, + <&vdecsys CLK_VDEC_LARB1_CKEN>; + clock-names = "apb", "smi"; + power-domains = <&spm MT8167_POWER_DOMAIN_VDEC>; + }; }; }; -- 2.31.0