Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp813217rdb; Thu, 18 Jan 2024 22:32:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IH807BP3QX/zFPxruIumJrp4PfQzsH7UolvEbFEHma3/2tGIuUiHCJ5PL8e6+2ZHlrVEqQh X-Received: by 2002:a05:6a21:3189:b0:199:bc57:675c with SMTP id za9-20020a056a21318900b00199bc57675cmr2053946pzb.19.1705645971777; Thu, 18 Jan 2024 22:32:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705645971; cv=pass; d=google.com; s=arc-20160816; b=N1lXUpm+ZqQOC2EdGg0TrWmZ+KS2w8Mn+UG3H1wmA35GXR6lzXeHOcXIjKDTPDOE7o OkOxMezNHQeElTbSIfnUmx37XgPdH/4uoyYdiGXjIbZYDDlIa3kUWxNaCb//b2k4xvgq mYYf4+OnAsQh/hFFIDxaQK6JWEX/CZSCRRQyW8YWBRULoSawtPdbImH7pMRatUgV2W/5 Cz+y5U1DTWTTg/LAfmYZB5LjFbSRwzOtpVCCemPcAo/HNSYrJdy1SjDUcNzcatD2SIQX 8UxwXnNW9fFKuagEKSlWxNjuryWX7sRph1xfeIZoQ+QW2e30iMSFEZ4Y2pj+R2eE/jMn GCMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pmamzG/uxvoY/9JcXAepY44DJ/qDUJu48SqEyvjF57s=; fh=N0OmH4YnCMRzhGJvTEdBzfgPBU3gzuRYisz5KZqdW+E=; b=ZRKdA69Jg12oKArOqjEkVe1T4R03gvS7GKkk01SKbAPf4mo01GARXhjfq8CB7eeav/ v63FixDMzdC5zMQ5RNnSYljoXifls09u0ATjXJLKV8SN/VBKnbuRnVPdUfRoOX4/+Hlt TuM79uFVfuZR4r4K3emzw3/8oYji3o23h8+zcCkkCuiTRYFtccygQcMJF80luQ72auBA 9RH4Xj3geT5ypaBjy+ivOv379mByXAQUrZrk/ubJCPgykSrQuWaRCxgJWEaCqiBmf1ig RE0esUXCEVfk+IkIiyRJN2kQrBqCYRgK9zf2b4gq/KZF3n3rLIq2ZaM/ny6SSUNDE8b7 qocg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=HoK0iuu9; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-30819-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30819-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n9-20020a17090a9f0900b002902e3f4c9fsi1934578pjp.11.2024.01.18.22.32.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 22:32:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30819-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=HoK0iuu9; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-30819-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30819-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 679022842AF for ; Fri, 19 Jan 2024 06:32:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 272C08F7A; Fri, 19 Jan 2024 06:32:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="HoK0iuu9" Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (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 AAEDE1870; Fri, 19 Jan 2024 06:32:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.61.82.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705645959; cv=none; b=azkaYIudT8n3fdiupQTZCfkdWmA00+5CUM941giJSsPD3ZGbGnxLDXLf81QJQjNrGUqHvmcPJ3suOgSd/VxqFxQsnQH3MBGy7E9vz9/+5sNuMSI0W3ezJiW5+cgjNNgjq2VaZQAfeWDjTaQwIUvFWVxNUZQC0Sinq/s6Te1+rhY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705645959; c=relaxed/simple; bh=kP7ap7MRVWjrkyIA30DRa5TiRQtlS9b9V8sqPc2YCww=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZqNvQzwi1lcO1jGFFv2G+XRzhU6iwyXqD6sUlfBXcxnjJIHfFrbDcwpvqJxK15IxUctfVzIvhs1xfzpAE4R1RRc0oR5yvI/rAszQGts6yzrw95jr40mGWaa82mpkJJkYHHBiiLlkPs0tKCTCCnKlnWmkWhHjA8dpL5ULqxHSqz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=HoK0iuu9; arc=none smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 832eeabeb69411eea2298b7352fd921d-20240119 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=pmamzG/uxvoY/9JcXAepY44DJ/qDUJu48SqEyvjF57s=; b=HoK0iuu9JkLpxOOxEC+Nvkqw1ABk9i4OjnUc7q5bXEHBnaWY+U82GEZXJ88CXNEt4k3dEKdXrF1WLIQCc8rXQbuqb79TaPiJMDVoLkvOBxSYVdI194ofNq47A1bobB8NWE42sAEAqHMYqFAh+L6ZanbiKqkkCxaHnDVhNk2lZ3E=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.36,REQID:7c1c0a08-ffe7-4362-9eff-1a9e85467865,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:6e16cf4,CLOUDID:86ca0583-8d4f-477b-89d2-1e3bdbef96d1,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1, SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 832eeabeb69411eea2298b7352fd921d-20240119 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1389842723; Fri, 19 Jan 2024 14:32:26 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 19 Jan 2024 14:32:25 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 19 Jan 2024 14:32:25 +0800 From: Jason-JH.Lin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Chun-Kuang Hu CC: , , , , , , , Jason-ch Chen , Johnson Wang , "Jason-JH . Lin" , Singo Chang , Nancy Lin , Shawn Sung , Subject: [PATCH v3 2/3] dt-bindings: media: mediatek: mdp: Change mediatek,gce-events to reference Date: Fri, 19 Jan 2024 14:32:23 +0800 Message-ID: <20240119063224.29671-3-jason-jh.lin@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20240119063224.29671-1-jason-jh.lin@mediatek.com> References: <20240119063224.29671-1-jason-jh.lin@mediatek.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 X-MTK: N Change mediatek,gce-events property to reference mediatek,gce-props.yaml instead of defining itself. Signed-off-by: Jason-JH.Lin --- .../bindings/media/mediatek,mdp3-rdma.yaml | 11 +++-------- .../devicetree/bindings/media/mediatek,mdp3-rsz.yaml | 12 ++++-------- .../bindings/media/mediatek,mdp3-wrot.yaml | 12 ++++-------- 3 files changed, 11 insertions(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml index 59db8306485b..4a286d46c8ee 100644 --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml @@ -44,13 +44,6 @@ properties: 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/-gce.h. - mediatek,gce-events: - description: - The event id which is mapping to the specific hardware event signal - to gce. The event id is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/uint32-array - mediatek,scp: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -96,6 +89,8 @@ required: - '#dma-cells' allOf: + - $ref: /schemas/mailbox/mediatek,gce-props.yaml + - if: properties: compatible: @@ -142,7 +137,7 @@ allOf: clocks: maxItems: 1 -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rsz.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rsz.yaml index f5676bec4326..4774fdde1a1b 100644 --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-rsz.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-rsz.yaml @@ -38,13 +38,6 @@ properties: 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/-gce.h. - mediatek,gce-events: - description: - The event id which is mapping to the specific hardware event signal - to gce. The event id is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/uint32-array - clocks: minItems: 1 @@ -55,7 +48,10 @@ required: - mediatek,gce-events - clocks -additionalProperties: false +allOf: + - $ref: /schemas/mailbox/mediatek,gce-props.yaml + +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-wrot.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-wrot.yaml index 53a679338402..a31f3f5aea96 100644 --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-wrot.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-wrot.yaml @@ -38,13 +38,6 @@ properties: 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/-gce.h. - mediatek,gce-events: - description: - The event id which is mapping to the specific hardware event signal - to gce. The event id is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/uint32-array - power-domains: maxItems: 1 @@ -67,7 +60,10 @@ required: - iommus - '#dma-cells' -additionalProperties: false +allOf: + - $ref: /schemas/mailbox/mediatek,gce-props.yaml + +unevaluatedProperties: false examples: - | -- 2.18.0