Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8742020rwb; Thu, 24 Nov 2022 03:49:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf48jtDj8MZfsE+47dfNLfPZsZxYC8c9Rk6yxwVPaPGM0QW0iKd/vOGzH5uxZXWv4UlEYKtG X-Received: by 2002:a17:902:d58d:b0:17f:72a4:30a1 with SMTP id k13-20020a170902d58d00b0017f72a430a1mr15807032plh.124.1669290549217; Thu, 24 Nov 2022 03:49:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669290549; cv=none; d=google.com; s=arc-20160816; b=r+AjHYwyuZt+R1r08LKSeyNK8avaJsFMPOC9dF9wSvvHAZKDLU1keA7R76jRUYGCka AR9yiig9BmHvOnxDEGxI0i81N8HhdWo9u+KkShFwxJPi8AtqyVc0fvAy1aadZkOeIH8b V3D2X4005zWBArBo4Souu2UoP4tgFeNl990vn6yXYuyZWZZWkVTYSi8+yUSan+DU6VX+ NEPXhwvpwM26+j3AERYAnuDYFxQmYxpEaJMv5uHPGS/zU6Nywr/kF0Bxlb68inPaaHqS f6IFVb3MOAVnCCrnyw1T5TLVj7QF/0H3DBg0rIJc2JAODBKlt7lUcSvczypGK/GVpkWU lRRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=kVKm3fxoQl9zKA+SaACoS6203m2m41ZcRZ3DLV/+E/Q=; b=iiGVqb34ufZbmBja4TfCWSBlxC7WXOYyPwKsX+VUAVP7L1UwCeio1kdnvZphyxqy0K Z0B6f75BaROmY+rwZlxYBWLLPivRkvUnoBSlAMMiIbrXVsG9Bj6/QSmQLVUYf/jlK6XU z2DDhPgnzFDQMc518jIYtiiu4aZPZSKnnr4sAnyGf+oN2euL36eGpEU5DdfQg1OCE+oH FV44pYPV8H1Sri2C3r2xWCGaAY0h00O8h1viGRDd/4F6t78K1fN0gB6xwNIdMoiQWKR1 W88ArczsHMN7I9W6agrEJIrovf+ddjxPCVpWyWQoIePwpspirrSnOdEPOjTj0lzRMZlK WRFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020aa78ec1000000b00541c0da3083si830834pfr.302.2022.11.24.03.48.57; Thu, 24 Nov 2022 03:49:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229946AbiKXLF7 (ORCPT + 86 others); Thu, 24 Nov 2022 06:05:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229630AbiKXLF4 (ORCPT ); Thu, 24 Nov 2022 06:05:56 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E3A45C0CC; Thu, 24 Nov 2022 03:05:56 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B7B3E620C5; Thu, 24 Nov 2022 11:05:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F74BC433D6; Thu, 24 Nov 2022 11:05:52 +0000 (UTC) Message-ID: Date: Thu, 24 Nov 2022 12:05:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v4 1/2] media: dt-bindings: mediatek: Rename child node names for decoder Content-Language: en-US To: =?UTF-8?B?QWxsZW4tS0ggQ2hlbmcgKOeoi+WGoOWLsyk=?= , "robh@kernel.org" , "krzysztof.kozlowski@linaro.org" Cc: "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "linux-media@vger.kernel.org" , "devicetree@vger.kernel.org" , "mchehab@kernel.org" , Project_Global_Chrome_Upstream_Group , "linux-arm-kernel@lists.infradead.org" , "matthias.bgg@gmail.com" References: <20220930112237.14411-1-allen-kh.cheng@mediatek.com> <20220930112237.14411-2-allen-kh.cheng@mediatek.com> <20220930220011.GA1107972-robh@kernel.org> <24361bea-ecfe-b6e1-e755-5151220767f2@linaro.org> <722194a3d413ca15069554ebab1f34dec25057eb.camel@mediatek.com> From: Hans Verkuil In-Reply-To: <722194a3d413ca15069554ebab1f34dec25057eb.camel@mediatek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, On 05/10/2022 13:58, Allen-KH Cheng (程冠勳) wrote: > Hi Krzysztof, > > On Wed, 2022-10-05 at 09:30 +0200, Krzysztof Kozlowski wrote: >> On 05/10/2022 09:21, Allen-KH Cheng (程冠勳) wrote: >>> Hi Rob, >>> >>> On Fri, 2022-09-30 at 17:00 -0500, Rob Herring wrote: >>>> On Fri, Sep 30, 2022 at 07:22:36PM +0800, Allen-KH Cheng wrote: >>>>> In order to make the names of the child nodes more generic, we >>>>> rename >>>>> "vcodec" to "video-codec" for decoder in patternProperties and >>>>> example. >>>> >>>> They are either generic or they aren't. Until something generic >>>> is >>>> defined, I don't think it's worth the churn to change. >>>> >>>> >>>>> Signed-off-by: Allen-KH Cheng >>>>> Reviewed-by: AngeloGioacchino Del Regno < >>>>> angelogioacchino.delregno@collabora.com> >>>>> --- >>>>> .../bindings/media/mediatek,vcodec-subdev-decoder.yaml | 8 >>>>> ++++---- >>>>> 1 file changed, 4 insertions(+), 4 deletions(-) >>>>> >>>>> diff --git >>>>> a/Documentation/devicetree/bindings/media/mediatek,vcodec- >>>>> subdev- >>>>> decoder.yaml >>>>> b/Documentation/devicetree/bindings/media/mediatek,vcodec- >>>>> subdev- >>>>> decoder.yaml >>>>> index c4f20acdc1f8..67fde48f991c 100644 >>>>> --- a/Documentation/devicetree/bindings/media/mediatek,vcodec- >>>>> subdev-decoder.yaml >>>>> +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec- >>>>> subdev-decoder.yaml >>>>> @@ -91,7 +91,7 @@ properties: >>>>> >>>>> # Required child node: >>>>> patternProperties: >>>>> - '^vcodec-lat@[0-9a-f]+$': >>>>> + '^video-codec-lat@[0-9a-f]+$': >>>> >>>> Just 'video-codec' doesn't work? >>>> >>> >>> Thanks for your reply. >>> >>> hmm, I think 'vidoe-codec' does wrok. >>> >>> There are two seperate hardwares for the MTK video codec. >>> codec-lat and codec-core. >>> >>> Is it ok to keep two child node names for various hardwares? >>> >> >> Aren't they still codecs? >> >> Best regards, >> Krzysztof > > Yes, They are both hardware deocders. Lat is responsible for the > bitstream and write the outcome to the lat buffer. Core will decode the > lat buffer and write the outcome to the output buffer. Each frame will > be decoded cyclically by these two hardware deocders. So is this patch OK to be merged? Or do you still want changes? Regards, Hans