Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3892427rdb; Thu, 28 Dec 2023 03:41:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IGohjLUubnAf+AKTpQGgx+WzLSyLxajH1GugK2Ws/p6s1a1AwfeDLl6BYmSuel8Sw+v0KAU X-Received: by 2002:aa7:dac5:0:b0:555:65c0:e72b with SMTP id x5-20020aa7dac5000000b0055565c0e72bmr1207458eds.62.1703763671742; Thu, 28 Dec 2023 03:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703763671; cv=none; d=google.com; s=arc-20160816; b=mTBX57ZG63g3SwkQF8xK5CCLkM9gspenjmn438Jkwc/WnEv9wUKsaH0sUrNEhwI8zN 9Rl8MVglLm9QZNPsac5nWqrSVePSpsUEXIDcGfLu5bIjRelU1X3MvNwBr2cYco9oM2oa El2hGTNmoDk5EsgJAUKEXYPSi7UFurXfnfo5K7hQ5PyWelo8lmKO/atMtZ5J/WZ4Ga3m vLsL8D1MGOz7xTbeicJNolPQRRwF8s3XA23iPZTarU5jr5KA871H3IJn/QWi2vZpkSK4 EhnDWThbQsXE8Oi/6d7NlcS2wZZeskctVM26N4Fb4Z4W8NE9fmJoSvPqNxjqAn5/hpcg Mirw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ac0KFGx6djY5Thm/v+rASdAvFaPpu6llRnEoG95HMwQ=; fh=IuvxWylKxQEL53X9SQ+46bOfa5jRsbefefc79eZRGUs=; b=Kz/9nDa4axGFg9E1raaF7jObMNb2Mhitljp24i3gycj89m1ieGnACUpHfVPu0WPWfM pi3AJVTMwUrJqwTshv+xqRc0epw8HdJExz1FKnRlW4SPBGWcLHcuLaZMoWWXw7FmdkOm FCRGzZrB26yfdZGZIaVYbgZY/VXY0XT25tknXFQRg7sNdPgqF9AKVDHGRHZPURNNu9tU FFONK4pUMJDnCRN2Xadf5OIUmD1inHAviz1hvJTeWwOoODW4pfIvtzi3Y+SiU/+5Yc9T eazj8nZnR7M/3a168G+we+4eDCnBbm1BIReoBgDwCLRes5q6WOmDQz+tkGoyN4PWSHcM 6GBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=E5P1ammQ; spf=pass (google.com: domain of linux-kernel+bounces-12609-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a13-20020a05640213cd00b005549e07cd5esi4546740edx.102.2023.12.28.03.41.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 03:41:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12609-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=E5P1ammQ; spf=pass (google.com: domain of linux-kernel+bounces-12609-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 98C371F246A4 for ; Thu, 28 Dec 2023 11:33:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBB436FDF; Thu, 28 Dec 2023 11:32:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="E5P1ammQ" X-Original-To: linux-kernel@vger.kernel.org Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B3B96FB6; Thu, 28 Dec 2023 11:32:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1703763175; bh=H+p65aUaK9evKJt3enmqsrg8ME3wuAMZvoXwXZVX8Bc=; h=From:To:Cc:Subject:Date:From; b=E5P1ammQWbyCeX9t0SiIGu5Ct5h2/6FJMJt03TnMKPdEYBY0bcht87BFCAli94FLc 3J64pKc3R2UmsMi7u0Hf9TQFslrZu4cwxl61yjzm1g94X1V4VP6AQM7vP0pz2X4PFX YcqkzM9dhtc7efd9pcEa3Ssj5z9zZG2Q92l4dCSufS0xT0OXBDv+10WfhbLgXS0Ieq cSi94H3dZnmqFfdROEDqmURM/4vpUhIworix0bTdsSTrWFg74CTruEHyrpQT67/Pl2 aZdryzm92Nq62AAncS7Rj6g+jC8rPUgIukpzp+BC3kl7JQbtiJ+04BdTOfLxVP7mDR GFIyVsQawwIng== Received: from eugen-station.. (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ehristev) by madrid.collaboradmins.com (Postfix) with ESMTPSA id B21123780436; Thu, 28 Dec 2023 11:32:54 +0000 (UTC) From: Eugen Hristev To: tiffany.lin@mediatek.com, andrew-ct.chen@mediatek.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux-mediatek@lists.infradead.org Cc: eugen.hristev@collabora.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, kernel@collabora.com Subject: [PATCH v3 0/6] video encoder on mt8186 Date: Thu, 28 Dec 2023 13:32:39 +0200 Message-Id: <20231228113245.174706-1-eugen.hristev@collabora.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hello, This series adds support for the video encoder on mt8186. Few patches fix the binding, there is a patch for the DT node, and one patch for the driver that fixes an imbalance. Changes in v3: - removed the patch to add dma-ranges, because this was intentionally removed (e.g. https://patchwork.kernel.org/project/linux-media/patch/20230303013842.23259-3-allen-kh.cheng@mediatek.com/ ) also removed dma-ranges and cells from the DT node Changes in v2: - change log in every patch Eugen Hristev (5): media: mediatek: vcodec: fix possible unbalanced PM counter dt-bindings: media: mtk-vcodec-encoder: fix non-vp8 clock name arm64: dts: mediatek: mt8192: fix vencoder clock name dt-bindings: media: mtk-vcodec-encoder: add compatible for mt8186 arm64: dts: mediatek: mt8186: fix VENC power domain clocks Kyrie Wu (1): arm64: dts: mediatek: mt8186: Add venc node .../media/mediatek,vcodec-encoder.yaml | 31 ++++++++++--------- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 23 +++++++++++++- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 +- .../vcodec/encoder/mtk_vcodec_enc_pm.c | 4 ++- .../vcodec/encoder/mtk_vcodec_enc_pm.h | 2 +- .../mediatek/vcodec/encoder/venc_drv_if.c | 5 ++- 6 files changed, 47 insertions(+), 20 deletions(-) -- 2.34.1