Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6935447rdb; Fri, 15 Dec 2023 12:20:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmdyxhYGVINIOWcXKXG9gGsXD742lnIpJ/sMwZrgxYklbZ7UjkgWgquKm5wFguJ7vImkSq X-Received: by 2002:a17:903:18e:b0:1d0:6ffd:9e35 with SMTP id z14-20020a170903018e00b001d06ffd9e35mr14455190plg.135.1702671602621; Fri, 15 Dec 2023 12:20:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702671602; cv=none; d=google.com; s=arc-20160816; b=tO4Ktlfw8TXSJuumKlVaPdSgjLdL9C3ure97YMKBGeVZkAb1POhs+nDrU9HRqaSiKO gpE73lQl3IRNelhtiH8G9+pH2tk1JaJUExL+1gXMvNx0Nx0bYeMqTIPsGZboEM5z+/jO /IbFSOD92t0IUsyJlHcg1EX250TpZkkGpFZUlxmpYh/ifxHi1qpSVJQwisFfsX+qg2uS y9eRxPubhzSyN3CEMrUMN2qf9vMmRPvHZ9eUGphwzE4FvouhsjqbhpZAhdPyCpuKo5Ng 6kFm0BcOudbaa5wRDOHB0JdMTpRJgmD9/jeSKnuMo5w6wyzG3M41INQfjL4haSVVWvyh LxKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rAzHvZVWa/JEzf8spmnhi72BooWwCm3cMmPhXYXtoQc=; fh=9KqxCbZK0pL+EWjSMuUn565eZ5XGzt/2dl2Tw9Ym9x0=; b=oDRmYHoM6TB2KM1XxdRcETQVupW9OBQbWDj8q8YNUsfQBmr9Bl/aXon1/HdHDgK5t5 l8j/yvdojDDSyjMgMKVUY26jkuyZOrZxTEb++tYB4o38e+d6tRe/e2UeopeBQIhTI8SO bCusuGRpgA+LPv2sjV3XNTPhSa9SwKqTPbWQKx+LvS+ys/hO5spehZ3TIhI4YpyRugo7 UNxpnLAa3bVicl3aE6ScI3JZDsQObhv0rxtWLEIvUSSZyW6VRepaGqfmMB66KVZz2qYV iCkQ3IiUVYZS1kW7DfndlM991tI1cBr3cZnowGTJyHOS9kjCQx8KUpogbh/hV1jOWpG6 FElw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oZWFH3Ld; spf=pass (google.com: domain of linux-kernel+bounces-1610-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k12-20020a170902ba8c00b001d0b6caddbbsi6611525pls.545.2023.12.15.12.20.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 12:20:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1610-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oZWFH3Ld; spf=pass (google.com: domain of linux-kernel+bounces-1610-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E1FD82892B4 for ; Fri, 15 Dec 2023 20:09:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1F786E2B8; Fri, 15 Dec 2023 20:03:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oZWFH3Ld" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D5E5E45C1B; Fri, 15 Dec 2023 20:03:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C139CC433C8; Fri, 15 Dec 2023 20:03:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702670584; bh=D3En7LevwtePTuCguIJqTHsJafw8n5zSzdRFnT9CLAo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oZWFH3LdzjpEwxz/BmgfBuoD4xQVv9+zSf04O7H952be0zt6Gn82JcEbbl7u4R94o Z0i0jcQ7/7hUIfrckfBjYGcDSmVB0c0fIr6qOqRqqdD3oKNz7pSdZYC1fsRDsE9ZbH 6jUkCwk11YIvJfLy4PWk6KwjQgccmrL6Pqk9BNc6XM640oMgVyOu8jIEN9mqKBziwH SqaTf/ERlhkEiEuQneDAw3/230kfcky/Vv82xSziwhRbJSom+2qPo53ncrJVhKQJDR jzhc4AaR38XgbNApAnnkIaV1UPhgvBmZ1BRDgvq9BwA6fMG/v9ArjeRj6l8hquM329 WI7Xddpo8THkA== Received: (nullmailer pid 303466 invoked by uid 1000); Fri, 15 Dec 2023 20:03:01 -0000 Date: Fri, 15 Dec 2023 14:03:01 -0600 From: Rob Herring To: Eugen Hristev Cc: andrew-ct.chen@mediatek.com, tiffany.lin@mediatek.com, angelogioacchino.delregno@collabora.com, matthias.bgg@gmail.com, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/7] dt-bindings: media: mtk-vcodec-encoder: fix non-vp8 clock name Message-ID: <170267057932.303365.14773226712594255838.robh@kernel.org> References: <20231215104551.233679-1-eugen.hristev@collabora.com> <20231215104551.233679-3-eugen.hristev@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231215104551.233679-3-eugen.hristev@collabora.com> On Fri, 15 Dec 2023 12:45:47 +0200, Eugen Hristev wrote: > Looking at the binding it makes sense that the `-vp8` compatible has > the `venc_lt_sel` while the other bindings have the `venc_sel` as name for > the clock. > This was also mentioned in the txt version of the binding before the > conversion: > ` > clock-names: avc encoder must contain "venc_sel", vp8 encoder must > contain "venc_lt_sel", decoder must contain "vcodecpll", "univpll_d2", > ` > > So it is easier to check for compatible that includes vp8, since that's > just one, to have the requirement for the clock name property as > `venc_lt_sel`, rather than for all the others, some of which are missing, > thus for them, the requirement is wrongly `venc_lt_sel`. > > Reordered the if/then/else to match `-vp8` and have all the rest of > the compatibles using the other clock name (`venc_sel`). > > Signed-off-by: Eugen Hristev > --- > Changes in v2: > - new patch. > .../bindings/media/mediatek,vcodec-encoder.yaml | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-) > Reviewed-by: Rob Herring