Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp20490pxf; Tue, 6 Apr 2021 13:45:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2lUNWIfhuX03yiOgYVnrqIsH/zNghyhcB5Jpwah8MMn5mBqKZ5C+QmB9W0BPmUM8NLCd9 X-Received: by 2002:a5d:9659:: with SMTP id d25mr25836485ios.146.1617741923014; Tue, 06 Apr 2021 13:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617741923; cv=none; d=google.com; s=arc-20160816; b=IT9ZRcAF6QHRYC0Wfm9VcAZiYRpEE9EWnB4KdxfLccpOpMrDTm/XcKWSIjXaYqWNeJ 1uO1h3+M9RIHs/e3eboHuUrcuo6SdJnzlR9dRnONnwso0bn4b6kCGHmAmMoowm5Ku/9K 6KvJY/jIdRNAc4Ey8hahO0EppysMWJMuQ+Bsr5B/yOl7I3h/uZhh4WlBRIQ6n66MkmGy KXP68A/0SOHPGQr70xy3IQjyw9LzSGgZaOn/oxKGKgIawuX98OFqBpQLmwDwMSBuDbbF fSZchFUyPI1mytiwazqeRg3LWIbDRutHVIcrbTR1OnVqY/zUJYuoO8SfxqnrcqMDX59Q DB6g== 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=1qsh1PvwVqT8YTPIyWFqgM3PFqlHjXtan502PwOLung=; b=FchxlLNkoZ/oqGF2vPispX2DadGPQI37j/OIiI5ZOqQeZOwbcCavf4m9E0XfN2cMU8 tOaiJjTIHUPZbXjxZ4uV+K+i2bhg71+h4TxaCLD40WZgxKSQGOJ30cCDJyqAMa4kLacl evIc7/ibf9k1nBr9GYAP6AlzuKi2+7pD1A/7LwFKdPT3iRSZHPtMMsR6TE2R1wRAqjFd VoNOuQAXwUNHVBSNRAOBvYMM50OxacTSQKawWxycPqCG96/zTBKD8fd43y0HbCNNPxQk zx9E1bdDL31cJliVyyy/VBPskFquJHE4JPdmrjKcZj38OcR8xPQpBttyRHSUplQS4RNQ 8O5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=gSfEfvnl; 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 b24si18591414jaq.29.2021.04.06.13.44.47; Tue, 06 Apr 2021 13:45:23 -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=gSfEfvnl; 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 S233141AbhDFLc4 (ORCPT + 99 others); Tue, 6 Apr 2021 07:32:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231544AbhDFLcz (ORCPT ); Tue, 6 Apr 2021 07:32:55 -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 ED310C061756 for ; Tue, 6 Apr 2021 04:32:47 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id f12so7857063wro.0 for ; Tue, 06 Apr 2021 04:32:47 -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=1qsh1PvwVqT8YTPIyWFqgM3PFqlHjXtan502PwOLung=; b=gSfEfvnlc0O2ZY6hXjjXUZkBGi0Fw9CFyePVeDT1hU50JJ0+I8DEvCv4Q4BzD3G9mq WtZyCC6lCpaQyo094PNpjLfCzYlY+vgH5ZkBu0iU1H4QfnBsS0xmw2pVgbrnIpXMtoxg kZ+lEffPE25KG/RRHbubTpt6CgoDwAs3EiY2KzGF3xLSOOrX3BJqms6DA/CMNr3IHAs6 w6Hg3aydYpilrCXeRLHhcbMbAe/7UODaEPH0IT6BXynb4tQH3M3kH+Hmk22feEj1nBx4 2EVB2mBuBVo90+ydGzw9VIt80mXTmeDo3vCwhUCe0s3UBv8iPxtrJb9rwSSCrq9E/m4P Tp0Q== 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=1qsh1PvwVqT8YTPIyWFqgM3PFqlHjXtan502PwOLung=; b=Y/K73NcQHiYAi0l/3tOn2iA/gQ9vvbm9yKC2nBmf7IGNt6wDYqSqcc4ZfNkjHO7j+O egdL83ZXI1vqYpAz/8A6uBO2shWIm7juVuB4HxMEc8UbLkFzD72sc081w9Jnr+a90Hrj OxU7QX+kM32l+D0/knDeWqEXOej5Hf6s8OIKDG7iTFH1s0OBoNdVI8DkP2vdQszexgxL 6Rm2zwGi53AviHD1rWFgAkE6x8sQ1qcRpo7wIbRHqn5UVpu3u6w8m3jkvLcbywNMgPbC VQPeg1Jy/r8oauQ1uKeuPlKOdC8iFYOvqSzJKFJQqg0gB0e1Hn3j8d982k20Eu0wDYo8 RAfg== X-Gm-Message-State: AOAM530s6gAahFA+qkQAMOqsreXFMcGz08QEy9rKuGNKjnpk2DlSSt7K kXCHCuBH/7T8B6GuAFYP5UmuTw== X-Received: by 2002:a5d:5904:: with SMTP id v4mr34494614wrd.261.1617708766655; Tue, 06 Apr 2021 04:32:46 -0700 (PDT) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id j6sm2424229wmq.16.2021.04.06.04.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 04:32:46 -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 v2 1/3] =?UTF-8?q?=F0=9F=93=A4=20arm64:=20dts:=20mediatek:?= =?UTF-8?q?=20mt8167:=20add=20larb=20nodes?= Date: Tue, 6 Apr 2021 13:32:40 +0200 Message-Id: <20210406113243.2665847-1-fparent@baylibre.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 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