Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2341172pxt; Sun, 8 Aug 2021 20:31:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyq9laI4Qw9wT3ZuRLECfTOpc8Cx2qTE3fAxhTgULecJ69jr0GcVlFJMqkFJLBpvqvnx7N8 X-Received: by 2002:a17:906:a382:: with SMTP id k2mr18949429ejz.454.1628479911581; Sun, 08 Aug 2021 20:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628479911; cv=none; d=google.com; s=arc-20160816; b=gEVtRANRswZ1TyPpX6aA+YK6kjc+RP0/Rzg3GYCFgM//L6N3HD02wLVMekWtZRzPDf E/hW8Va6zeB1YapdiZFU1LEDEhBtHY4f2LsECDiVcOFQtAHfG1gljF5NN/6DOkIl6rlh pn8t7Eq0WJHm7EURPFDIwyGUq+8pFDT/VEUguZHNKQYBAqG4yt6XmH0zCun2QtQ9DNCy k2fjhESo3b3SuKHiBFFgI1DaT/SBih/VY0PWmoRKbfZpbg3RxmcbmQeBdNr9sw8YMbE0 gNi0c6goLvn3CZqKpRU57nSZtFJuBqv70fP2nPhTAFmSxVpWSdXLfNzGi+HF8TstV4jI OZiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:message-id:date:subject:cc:from; bh=mZ4Hrqp8zA62OqPkfln5zJEAbfpOxh2idZdPO2U4U6Q=; b=ACVX4wi+BrmuNcjohPOuUJDhyl/fcrmkQOwMRc0qYeENalG2POtu/akVV2lV+/pZe5 wFDMUJKXCxtNAt09OSmdxKmFL/eD8Lgy5erVlDACVbk8VvZEvQpcXbfhua6ZnmWYQXCC ovVy6ZTxBzpBSnZaN8fUD3mZjGvZ8w+hkfPZqd77se+ELv2gNpUjz4x+jfHZN4h3nl/E 1dQYq809fOtPBnQxqx/66Zd/BX5jvnLCH4xT6iaM+kD4rsXv42Lbi9E9ly7dtFhah3YT 7MZBSKjWej8SQ8S4p8+eR5yImFAdByBZHcvCPcJb4ydRBVS66viGBIYsAnsay1uSlW4F LLSw== 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 jz19si17337487ejb.37.2021.08.08.20.31.28; Sun, 08 Aug 2021 20:31:51 -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 S232761AbhHIDI4 (ORCPT + 99 others); Sun, 8 Aug 2021 23:08:56 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:44644 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229942AbhHIDI4 (ORCPT ); Sun, 8 Aug 2021 23:08:56 -0400 X-UUID: 7126a5556f4842be8c50d7fd9d033896-20210809 X-UUID: 7126a5556f4842be8c50d7fd9d033896-20210809 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 222970522; Mon, 09 Aug 2021 11:08:33 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 9 Aug 2021 11:08:31 +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; Mon, 9 Aug 2021 11:08:31 +0800 From: Nina Wu CC: Rob Herring , Matthias Brugger , Nina Wu , Neal Liu , Zhen Lei , , , , , , , Subject: [v4 1/7] dt-bindings: devapc: Add 'vio-idx-num' field to support mt8192 Date: Mon, 9 Aug 2021 11:08:13 +0800 Message-ID: <1628478499-29460-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 To: unlisted-recipients:; (no To-header on input) 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