Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1708344pxb; Wed, 10 Feb 2021 15:02:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1NIkB4lINPV0O0ydCeZJPwT5RexeYchExI/58cqKq1mC4RaJJosu4ZmpKdiBkx6IZ+nFg X-Received: by 2002:a05:6402:215:: with SMTP id t21mr5460824edv.363.1612998134751; Wed, 10 Feb 2021 15:02:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612998134; cv=none; d=google.com; s=arc-20160816; b=SnnhuPMBpI9cDbQPYQe+A54YIWW7RWnzuJZBd6ly/2W5Q0aP4gCOpURctwWWXrB7LU YRbtB4r2NsTUwt0H6ZwYlmx4BpXjFn/9P0YpnpUAEXQ+pz2Ahb1Sxh8YN9a2pB3aZpG/ TTE15aV9Re2YILTF2EpSkIO5wZXRx1Pna4ODqRHOJxjXRXwQr4rCTRzsC03K6PYad/m+ a1CMfMxUCuZn//2T68m2uU2Aw2/ZhuYjvJNnxcI4F+NewYm2syTP2pbDapAkRtXThzcy 3WWaNd3afjfLYOj4eIAPEsU1em42pzlaIW797tH7GmZrqq8zmwlzifKZphKm1twY/Lb4 1xGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=w1YK7UNTu1HB40IxkkqVRuEb+aW6wO4/KWDnve1zAtI=; b=R1a3LXAO/H6FTUd8ULmvJwsRSFhQOdWly6HWE/pMqr2jW6y2H0zmaylRVDTYLRtgcF RScgxdinvj+MEb0ThPx6v97K+Kga6h/xq7KYuE0bE2l3VqmJLe7b1OBtG5/czvsGa8ym Tfd0ijQjdqMOMHzTGoRaVfVF94DamDOjA0nd4rlAswma/loQn5teM1SXMkWmiWNfx3Pv 5XIq5NHtG7GR9YsU8I5bXkaIIzjS6Wdjo4bNvd5Gpg1KiGq1p2puhRnNXNsuBuuVaOS/ NzclBGTwo6DmScTCKEVhXFXEo35TNQownIaxPqO31LvbqYAclo38RRgAnWQVQnhTEqgw b5cA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dq21si2208378ejc.102.2021.02.10.15.01.26; Wed, 10 Feb 2021 15:02:14 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233553AbhBJW4A (ORCPT + 99 others); Wed, 10 Feb 2021 17:56:00 -0500 Received: from mail-ot1-f50.google.com ([209.85.210.50]:46374 "EHLO mail-ot1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232565AbhBJWzv (ORCPT ); Wed, 10 Feb 2021 17:55:51 -0500 Received: by mail-ot1-f50.google.com with SMTP id r21so3425803otk.13; Wed, 10 Feb 2021 14:55:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=w1YK7UNTu1HB40IxkkqVRuEb+aW6wO4/KWDnve1zAtI=; b=j622xV6i335Ob57prvUAHcWBMznlhTmdlEWCUletyIAK2o0pNbYQMkHeTJ1xd5CEmn kTWS27BBxj6L6ynV2BG2RJHMY+35D4165aZQHvsSsBkE1hEch9kP3tohqz6szvnf+vt+ VZcz3B+uIpkpPGMq6wAiDwHoxjbUw+I4FhcTrvIINvw/TeJsQ5VkZTIcXFjzJZea7skx OcA3N6igWJRNnO4W1qZIqx7rbL9RYD3REdjOlbBmp1rSEl3GMt1T8y1AcTE+7pjgALVy W4id8+Xef7zG1lozkqZj13NbPcXAcTscTn8zr9GhfAqMJLBy7If1Ae1dQR9iZidrT5DL dyXg== X-Gm-Message-State: AOAM533KIh2PdUoB2D7ZCAwpXQDwz8TOq5Qv4kZVUxqy73YVINAy/tHI rTYEMgZQnunREJm+m8tb2A== X-Received: by 2002:a9d:12c1:: with SMTP id g59mr2602649otg.116.1612997708883; Wed, 10 Feb 2021 14:55:08 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id p67sm777226oih.21.2021.02.10.14.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Feb 2021 14:55:08 -0800 (PST) Received: (nullmailer pid 2967891 invoked by uid 1000); Wed, 10 Feb 2021 22:54:12 -0000 Date: Wed, 10 Feb 2021 16:54:12 -0600 From: Rob Herring To: Irui Wang Cc: Alexandre Courbot , Hans Verkuil , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Matthias Brugger , Fritz Koenig , Tzung-Bi Shih , Maoguang Meng , Longfei Wang , Yunfei Dong , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, srv_heupstream@mediatek.com, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 3/5] dt-bindings: media: mtk-vcodec: Add binding for MT8192 VENC Message-ID: <20210210225412.GA2966579@robh.at.kernel.org> References: <20210203083752.12586-1-irui.wang@mediatek.com> <20210203083752.12586-4-irui.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210203083752.12586-4-irui.wang@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 03, 2021 at 04:37:50PM +0800, Irui Wang wrote: > Updates binding document for mt8192 encoder driver. > > Signed-off-by: Irui Wang > --- > .../bindings/media/mediatek-vcodec.txt | 26 +++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/mediatek-vcodec.txt b/Documentation/devicetree/bindings/media/mediatek-vcodec.txt > index e4644f8caee9..c7fac557006f 100644 > --- a/Documentation/devicetree/bindings/media/mediatek-vcodec.txt > +++ b/Documentation/devicetree/bindings/media/mediatek-vcodec.txt > @@ -9,6 +9,7 @@ Required properties: > "mediatek,mt8173-vcodec-avc-enc" for mt8173 avc encoder. > "mediatek,mt8183-vcodec-enc" for MT8183 encoder. > "mediatek,mt8173-vcodec-dec" for MT8173 decoder. > + "mediatek,mt8192-vcodec-enc" for MT8192 encoder. > - reg : Physical base address of the video codec registers and length of > memory mapped region. > - interrupts : interrupt number to the cpu. > @@ -128,3 +129,28 @@ vcodec_enc_lt: vcodec@19002000 { > assigned-clocks = <&topckgen CLK_TOP_VENC_LT_SEL>; > assigned-clock-parents = <&topckgen CLK_TOP_VCODECPLL_370P5>; > }; > + > +vcodec_enc: vcodec@0x17020000 { Don't add an example just for a new compatible. > + compatible = "mediatek,mt8192-vcodec-enc"; > + reg = <0 0x17020000 0 0x2000>; > + iommus = <&iommu0 M4U_PORT_L7_VENC_RCPU>, > + <&iommu0 M4U_PORT_L7_VENC_REC>, > + <&iommu0 M4U_PORT_L7_VENC_BSDMA>, > + <&iommu0 M4U_PORT_L7_VENC_SV_COMV>, > + <&iommu0 M4U_PORT_L7_VENC_RD_COMV>, > + <&iommu0 M4U_PORT_L7_VENC_CUR_LUMA>, > + <&iommu0 M4U_PORT_L7_VENC_CUR_CHROMA>, > + <&iommu0 M4U_PORT_L7_VENC_REF_LUMA>, > + <&iommu0 M4U_PORT_L7_VENC_REF_CHROMA>, > + <&iommu0 M4U_PORT_L7_VENC_SUB_R_LUMA>, > + <&iommu0 M4U_PORT_L7_VENC_SUB_W_LUMA>; > + interrupts = ; > + dma-ranges = <0x1 0x0 0x0 0x40000000 0x0 0xfff00000>; > + mediatek,scp = <&scp>; > + power-domains = <&scpsys MT8192_POWER_DOMAIN_VENC>; > + clocks = <&vencsys CLK_VENC_SET1_VENC>; > + clock-names = "venc-set1"; > + assigned-clocks = <&topckgen CLK_TOP_VENC_SEL>; > + assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D4>; > +}; > + > -- > 2.25.1 >