Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1532546rwb; Wed, 5 Oct 2022 00:37:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM786aG/+4ebIJAox6fDPJexRMrRVOv6pC7Yed4Lce/q7nKFHuAJO525g5iGUAuTTyH8277z X-Received: by 2002:a17:907:72c6:b0:78c:b48c:5136 with SMTP id du6-20020a17090772c600b0078cb48c5136mr8500401ejc.359.1664955431294; Wed, 05 Oct 2022 00:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664955431; cv=none; d=google.com; s=arc-20160816; b=tPI7C16zTwtBoa9ZLiS0XSrWIRJYfWYQq+xpCnGRp4gdkgzJRZbujro87XvBTamW+r KpILCfL/Cs8fUn6RarnRVQKfWVnoqNC3L28JnYudTs5/WQZJIkBgnTBbRmj/ARx+oxXy 7wJRNOVeHgeacE6g3O4vCmnA0VWgN+f+2DN11Pbm1wUY/d75iFA3cxJTk5ZUwWIJF0fj VNxq+ZwT92qwWRiEc3EaqN6KGCgc295HJejyrEEvBF1Dw2h9Zq8+uNkVsfdFwDRI0aH7 buPFKNWSXm100RFkfSFznQnuXjR/qzEJD2cFlLlunvfSo+0e1GgcpV/kuYdfqeaJ7dew l1SA== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=c2rUBM3uigd0IYhg9S421AlGdWRTSjf8To3ZZq+NWCQ=; b=l8jvnYbFcTt4JgOFlMeV37p18An6DJP6sM6x6M9487/YeAOOyMdGXMzlPq2LbU+Ag1 R4qeNVgOh91bxIWAsYhgCnWcGjiYp83lfJUaIoAK/0nkY5ft5oCIpuJq6KAeZ3Wy40ky QufjxmCjdtfUh3l52Eermpd2lgHxEicGRx1ONlFbXqS60ihNOjuGAEIeqSLZRCW25gUb MPxIBklTX78xTu7QI9jTuR0gwKYF5iPWYmzVYc6MZUzJDuvM7ae6JO9wncVU8lZ4i99l 55I0tTJYfBeKfyXDSYdW9ur1U0z0Mc6hCu2VqOBR3aZOjUDqtUkqsztJSVcC9PTIG3Vy RiEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m3wGZF+g; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd40-20020a17090796a800b00731468ef97esi14143173ejc.31.2022.10.05.00.36.46; Wed, 05 Oct 2022 00:37:11 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=m3wGZF+g; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229849AbiJEHbK (ORCPT + 99 others); Wed, 5 Oct 2022 03:31:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiJEHbG (ORCPT ); Wed, 5 Oct 2022 03:31:06 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD76F36850 for ; Wed, 5 Oct 2022 00:31:01 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id d6so10225927lfs.10 for ; Wed, 05 Oct 2022 00:31:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=c2rUBM3uigd0IYhg9S421AlGdWRTSjf8To3ZZq+NWCQ=; b=m3wGZF+gX3zyncGuUd3Pzez9su5RuKirLdKGDSC83FXdLWGxFhbTebNDgZoTiHRozC nCtm1enhOOfA/sgRd19TGym256+uyw1Mu8JdCBudQqisiSAPAUMsB4QfrQRPV0eitYKi C3TosYmyw8e7VrktJT7HnkzWtHl5jV66DP/iFvzyFkv5H0dkuqxzjEnzzDN4aU2m5Mej jq4wPWkojK0xTR4mNhZewc6A1zdO/LUVGfRE3/6SyWD9kmFuabF73b5+IyescPFUmkOU oqZes+b03aDaNgkHpkvlWAwpG2UBF7HGNtrM1a+ln/HFdETiW2CUIZi0DxIpg+VIWE+q fimw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=c2rUBM3uigd0IYhg9S421AlGdWRTSjf8To3ZZq+NWCQ=; b=0+PTlP0CaGasHUQJQv8DMpBZ3PsNcil11Qt6gGg+QtMP6xI02tiuOtS13BFW+qZGOf EK1q8aa3q+BDAId7oaz2eYcVDAb7gdMbWVhiY1K22zgBQZCVB7mfBVUhH0SbtDH1OTU7 ooJp+uHeeXeBwcQ80ErvF0y60P+CU9q9jK12kIhVqrVmP9tWICvQelpS9MgMgiAHjLcm lxx8EMu35uBrfAZtDWn4lnFC7PT0AK4DhKIxbA7DqCygNt6cwRrzR19A7m/ro4ERRp7X /S6Sw2Hku+hAT2a4FTH2dLK46ZeDVo+lqZUxQs6BbYCx6W33QoYrGurSIL2G8VrzDjHT gfgQ== X-Gm-Message-State: ACrzQf1zyYnKiS3h03oPs6qioNAGufxUhJDzY36KBQUfT36IKumKKtkN WQGJ2NIz9l7hwr3qxA76IiTFaFDCOI3PzQ== X-Received: by 2002:a05:6512:66:b0:4a2:3c36:8c3d with SMTP id i6-20020a056512006600b004a23c368c3dmr4470782lfo.687.1664955060082; Wed, 05 Oct 2022 00:31:00 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id t21-20020a2e8e75000000b0026dfdcbccd4sm68034ljk.17.2022.10.05.00.30.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Oct 2022 00:30:59 -0700 (PDT) Message-ID: <24361bea-ecfe-b6e1-e755-5151220767f2@linaro.org> Date: Wed, 5 Oct 2022 09:30:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v4 1/2] media: dt-bindings: mediatek: Rename child node names for decoder To: =?UTF-8?B?QWxsZW4tS0ggQ2hlbmcgKOeoi+WGoOWLsyk=?= , "robh@kernel.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> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 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