Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4062130pxj; Mon, 24 May 2021 22:57:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGkmZKiYMv6r9NQsFRz0thxjpZDIlNph+JP7rPb6V/OvsNNMi8ykBk9nRtJ9tott2WwGdd X-Received: by 2002:a17:906:349b:: with SMTP id g27mr26305694ejb.218.1621922229089; Mon, 24 May 2021 22:57:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621922229; cv=none; d=google.com; s=arc-20160816; b=Lm86YmVZ3tMy+36QZLWJqUYriGNWIaLzAjk0wFcXOKmdPo1ysdGgBWOw0YJIgpG1JM eHI9Lmr+z1VYvmvBm50pDfCPitnasRrhQIQZX2p+kGmuNWZ190ptWWALe94zzr+Rx/1A 8D2CNDQ4aPhCkq55f/wu9YYkjgx50rBA8wh3R73/SxyTq2H9C9vWwc6iG+8WZ/S1XFfX 8wbdJ0FiFfgl7HzVI1bC6Um5QrEpXQtahVrAje47kQWRGhK2MjJnalJrdUlvG3jCVaKk IQ+Z3kx6TznpqLhIPxpSBqPR8psFJrZ8eovfPX3y1X+YpkCTuUieOgfWoE+U55O/9rx1 644Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=mZ4Hrqp8zA62OqPkfln5zJEAbfpOxh2idZdPO2U4U6Q=; b=U6aJR32ND4xoL6gpReyd+wp8+S121Xex6Df2ogiwcMGXQi50nKDPcZvf0zF4hjLNFd Fh8gW2cq2WJnDPsHIBs6DK0OuDnYZbZi803egPVarSc40PRiFYy+KxfTAJfDboJnRbm9 glWPZsbMSR6FWNJ/o7vA/OpK3VP7RzXzLw204Bw+6x82ZU1ENW0daNAsrkAjRIOqpZiI bEa1DpbwN3VRgxYa62LNwtOHa+brRhYuWdm8w1zsGH4UIz4T5PijEO8v5qt9yEn8G7UX vVeAWO5rYWpaazDM0T3DzvwN2R/F52hgx774oWFoDW+2a8ZY7ky5jh7F2eekwZetxK6w 2LAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si14729978ejs.425.2021.05.24.22.56.46; Mon, 24 May 2021 22:57:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230522AbhEYFy5 (ORCPT + 99 others); Tue, 25 May 2021 01:54:57 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:55346 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230218AbhEYFy5 (ORCPT ); Tue, 25 May 2021 01:54:57 -0400 X-UUID: df01a852024a41bb85a78c05ad220b1b-20210525 X-UUID: df01a852024a41bb85a78c05ad220b1b-20210525 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 92647660; Tue, 25 May 2021 13:53:23 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 May 2021 13:53:14 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 25 May 2021 13:53:14 +0800 From: Nina Wu To: Rob Herring , Matthias Brugger CC: Zhen Lei , Nina Wu , , , , , , , Subject: [PATCH v4 1/7] dt-bindings: devapc: Add 'vio-idx-num' field to support mt8192 Date: Tue, 25 May 2021 13:53:00 +0800 Message-ID: <1621921986-20578-1-git-send-email-nina-cm.wu@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nina Wu For new ICs, there are multiple devapc HWs for different subsys. We add a field 'vio-idx-num' in DT to indicate the number of devices controlled by each devapc. To be backward compatible with old ICs which have only one devapc HW, this field is not required. The 'vio-idx-num' info will be set in compatible data instead. Reviewed-by: Rob Herring Signed-off-by: Nina Wu --- Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml index 31e4d3c..69abd03 100644 --- a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml +++ b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml @@ -20,11 +20,16 @@ properties: compatible: enum: - mediatek,mt6779-devapc + - mediatek,mt8192-devapc reg: description: The base address of devapc register bank maxItems: 1 + mediatek,vio-idx-num: + description: The number of the devices controlled by devapc + $ref: /schemas/types.yaml#/definitions/uint32 + interrupts: description: A single interrupt specifier maxItems: 1 -- 2.6.4