Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6430652rdb; Tue, 2 Jan 2024 01:14:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRbHAsswm1M0vG4U31kVsvYmX6a7YNxgz5ScLNi6zZHWmm2UQ8VEITX1ySnLac5n1kJ9ix X-Received: by 2002:a17:902:650d:b0:1d3:ec6f:14d7 with SMTP id b13-20020a170902650d00b001d3ec6f14d7mr8181160plk.19.1704186853987; Tue, 02 Jan 2024 01:14:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704186853; cv=none; d=google.com; s=arc-20160816; b=pyuHAMwPmCI+a9cntjB/AsA229gmNvBQnMtl79wduHldX0+xrWpywP4rT9Ipb+Gqrs Y1J32eUDYEYieWQwM+5ol64wise5DuP8A2v6p4kxIIXT0t0eKk04GvQXw55vfo7w/LiC Y/Mru+/aBknTByp5VLCN5UaNVR4RFc1/iCmHVG+Ruq8My6O43shLJWzCVxt1qlrUpCKt w69d1nRFXncHtmom0Kf/HNjEU5ij+cuvNq3tXgnZJs1igpg2oxOQ+mb66jIOnEG+g7/e bUBuRyVYIlte1azCUsfvYhJfuIRi5OWd8eFYH/HCWO3O6F1fzery/+8TlkD2O+vOr7VU WKbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=B9ZyRut8Su9gPWiZE3Z2tBln9hlDccnRDwewdUbuoHI=; fh=W+i15pR9hlJGtA1ZpnutRieTXjZsSr6ZRi/5SuYmios=; b=utAYWiIgt+L61oS2k3qmKxGuWOrSzWHyh62Hb3c9psFifaWS2fOG8bTIi51fBOu5pD KjZn7rRIGxLTAhmzjwOvxSlqpKtC45/pB1+PlwWPOr9c4L9832tImjN7g3dIvEg8Alh2 oKx8J6RpmbN/DcOxB073lUzcYDMdH76B4NEmNREw/wPBqL+Cge1FjcvgzinM4xbKsUF8 zWf50rFw+57qSDBHjcQVWFZpeTxPjgu+uUM2Zm0NsYl6a3FGsglQUlrXQNaHtu8O2BqU 4CtNkL18P8rzguXPlgHV0TwaIAWeicb+088qIdT7VM5+fxH5EQVmBDhc+vkcbz15pclG WKoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=w6JNbAmk; spf=pass (google.com: domain of linux-kernel+bounces-14173-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14173-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id iw19-20020a170903045300b001d0050e2452si19918590plb.45.2024.01.02.01.14.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 01:14:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14173-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=w6JNbAmk; spf=pass (google.com: domain of linux-kernel+bounces-14173-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14173-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B1223B218CD for ; Tue, 2 Jan 2024 09:14:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B01A66AB6; Tue, 2 Jan 2024 09:13:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="w6JNbAmk" 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 97D8B63A6; Tue, 2 Jan 2024 09:13: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=1704186835; bh=ImQ+ymQfWqAxdMGCUQbM0o1Jmc0/6yS4KLapzuXqGhw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=w6JNbAmknwR8jiIFUkRky+Lu1jqEU9GHaf6rZZDjMwnjTQWvGC0mgGa5wqe3ajNKN +eeoKfWG6vs7mCfNnuQL/S+5d0e8uM97zK3HpW0RDN82K/AkmH8WWLpiihti97Vvmr Ykkeicc4j9uhqDc2dZkvJB+msv3wdKG/8GO3I6bon0YQKDeje6PITa2wJM4FUN6tSy etfL3pQg5kU1bgeksb/i21rJoTwT6mt79/+whW84YQIdGla3tYNhSHrBpGseK68eHZ w0gnCU0/4aZw6InmZMnCpXGiI1fe53cWBywPwWRQLpeYe1AP+RN7ZjIQdE1He8tJnF DhBoEwKRJSl5Q== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 0BA5437804B2; Tue, 2 Jan 2024 09:13:54 +0000 (UTC) Message-ID: <9c2c42f6-e10a-4ff1-89c7-8635b8f8b73e@collabora.com> Date: Tue, 2 Jan 2024 10:13:54 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/6] dt-bindings: media: mtk-vcodec-encoder: fix non-vp8 clock name Content-Language: en-US To: Eugen Hristev , tiffany.lin@mediatek.com, andrew-ct.chen@mediatek.com, matthias.bgg@gmail.com, linux-mediatek@lists.infradead.org Cc: 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, Rob Herring References: <20231228113245.174706-1-eugen.hristev@collabora.com> <20231228113245.174706-3-eugen.hristev@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20231228113245.174706-3-eugen.hristev@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 28/12/23 12:32, Eugen Hristev ha scritto: > 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 > Reviewed-by: Rob Herring Reviewed-by: AngeloGioacchino Del Regno