From patchwork Thu Dec 1 12:15:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?WXVuZmVpIERvbmcgKOiRo+S6kemjnik=?= X-Patchwork-Id: 28346 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp232199wrr; Thu, 1 Dec 2022 04:30:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf48Kxi3gW42xeuxsTIid5upFQ7zZj0WRPubvb2BSaYhJUu3fMLcwylDSo49uE6r9SKvX0dQ X-Received: by 2002:a63:5d58:0:b0:476:ffc7:f7b with SMTP id o24-20020a635d58000000b00476ffc70f7bmr41201438pgm.271.1669897814486; Thu, 01 Dec 2022 04:30:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669897814; cv=none; d=google.com; s=arc-20160816; b=Yzbv9gCkyeGIPXYvI8i3YhZ5hlg0YrHALkgMoPoaP6u/oPgliLhasn4J6iHxcG1gAn q3m0kYKdgTnhamHir93X6fMv1mKpm4KtdLTq9oP1llQEW9ezo16QqFcK76gn5VV84NJE IYdn92PxzPfMD+9MFSlaam/1fvwtCoxkRppfgYx5zw1zHP3lPrqW/MnR8fU/gwvjQK6p 3TksLx56JsfhAH1IQVGNLWeSlUUVk3uMyD5hBofxApNpmn0yiqqG95PEGzd9H++VnkVe bS48tsWR+h0dqNn3tAuveyT0PzeBetk0qRUfxtAIJDCGouy90Dr7d+S5TS8EWZjLXQv/ eouQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zwCnPW0NbYvNEoaTQBbhYwyaePWVmhmcxuF1yC02UB0=; b=fLjOnAqjW9E1QGsU8DLr3mPAuFJReLo5vSwA0EDsv8muney/VXBCxnPtc5nzEnncCL xmpiipKvqufY2v95lQ6gCbT6Zbj1Wz5P2ZsPRpZq6bM0SGb5IKp5CdYp81GJfpIJ417m BguJRDtD4CW2zPyWBQf0hf8OGowKqFBQZz8+/Xy9cAba5Q5nZQX91JUSsTpRChGnecD1 EK4fxDCi3XZpILB3CV2s629XTdpNLyRotqGhBaXaqPO9nN/EykyIkzCgFbHE4rVrZ3Ye kKWoVXbARtXeTPzHqCjMcfK+KUFEWbS2lhdreNadONXScFZUSqm+3VNswzPf8ZUrN0Qo Ivow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=IbIBAuYc; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 140-20020a621692000000b0056ae8f6df38si4222119pfw.180.2022.12.01.04.30.00; Thu, 01 Dec 2022 04:30:14 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=IbIBAuYc; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231339AbiLAMPn (ORCPT + 99 others); Thu, 1 Dec 2022 07:15:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbiLAMPk (ORCPT ); Thu, 1 Dec 2022 07:15:40 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EB94A3234; Thu, 1 Dec 2022 04:15:33 -0800 (PST) X-UUID: 0561e8f6b4514d44a45d504d8f1b01a9-20221201 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=zwCnPW0NbYvNEoaTQBbhYwyaePWVmhmcxuF1yC02UB0=; b=IbIBAuYc9TMXt0jzHOuWkAtpaNd9kchUYcOAxNmspN7IYCN77khC0puJuuz6aI9JCoLFoHJ/9sJKQhmBWUAZetyGe2H/b8Tj+0bibO9a3vDHtgcaktImcfxgjyAs7+c1+mIiG7YoYT7V7LOguCivWAjQIJ7VVAoOFnE/bwhRCbc=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.14,REQID:339b82df-2751-4142-8483-ebb76f9a5dba,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:dcaaed0,CLOUDID:1785df1e-5e1d-4ab5-ab8e-3e04efc02b30,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 0561e8f6b4514d44a45d504d8f1b01a9-20221201 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 811997823; Thu, 01 Dec 2022 20:15:28 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 1 Dec 2022 20:15:27 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 1 Dec 2022 20:15:26 +0800 From: Yunfei Dong To: Yunfei Dong , Rob Herring , Chen-Yu Tsai , Hans Verkuil , AngeloGioacchino Del Regno , Benjamin Gaignard , Tiffany Lin CC: Mauro Carvalho Chehab , Matthias Brugger , Hsin-Yi Wang , Daniel Vetter , Steve Cho , , , , , , Subject: [PATCH v3,1/3] media: dt-bindings: media: mediatek: vcodec: Fix clock num not correctly Date: Thu, 1 Dec 2022 20:15:22 +0800 Message-ID: <20221201121525.30777-1-yunfei.dong@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751014770433151202?= X-GMAIL-MSGID: =?utf-8?q?1751014770433151202?= From: Yunfei Dong mt8195 and mt8192 have different clock numbers, can't write 'clocks' and 'clock-names' with const value. Signed-off-by: Yunfei Dong --- Reference series: [1]: v5 of this series is presend by Allen-KH Cheng. message-id: 20221128143832.25584-4-allen-kh.cheng@mediatek.com --- .../bindings/media/mediatek,vcodec-subdev-decoder.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml index 7c5b4a91c59b..09781ef02193 100644 --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml @@ -110,15 +110,12 @@ patternProperties: Refer to bindings/iommu/mediatek,iommu.yaml. clocks: + minItems: 1 maxItems: 5 clock-names: - items: - - const: sel - - const: soc-vdec - - const: soc-lat - - const: vdec - - const: top + minItems: 1 + maxItems: 5 assigned-clocks: maxItems: 1