Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1163075pxf; Fri, 9 Apr 2021 01:22:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBuPfn/yNzr8el9hvtUd4yxBbpSlI4mYmrpQnQhumD/Ch6fzNOMaBAM6WUAXaiJYmL/mwC X-Received: by 2002:a63:a19:: with SMTP id 25mr12036410pgk.177.1617956555776; Fri, 09 Apr 2021 01:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617956555; cv=none; d=google.com; s=arc-20160816; b=t8yYy3c88ayR3FlKQzosU2s88Lk5vyBC65eTXbDmSaQqQ0oUVJNuvZeC8UPJ0fVv+t kcTxMHq+Vn4m/s1MjpjwPalyiYCp4v1WRFDZNK0KrFfJ3Gs+nLbRIcViAZA0PuunpK4q pV7C+2OU/LF9BzhjhnuR08KSBLonXv5fvBK4JRE1uXhv/9F5RMBT1rzxjxgfur5ODHKZ CWQL3UQyKOCeGQG6u0l53NCx3gY5vuK8wmvbU5d8HY3OzJH9EYNtZmb7tzLaYdz7ICDq wNWF5DDBmX2BfFJHzwq5J0MFCFjCnPdfwtKBo3ghoelz6fsO75UZ2kBKrssWxKgN0CxK Zpcg== 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=Qc5w5VU/thJgvqcl79smn0JRieO1a2Spi8YQ7LCGOh0=; b=ECN3uQ4UaSf+ZC7EqvW23ec8pcSgyZ9pytCb3aIXopzsAuINgRLivXHoMPNEoRQmaT tbmhmGSEC8JTVSPoDimSwxJvhI4YaLd99eqMel7FVRNNXyj2o0GzjEtfRIVVU+APjprg px0g0B4ooAJPD9oIHXqCyfNvAO7jPR5P1xjvLXJweZ9RAmZ4m3wIwDs8smcgBcgZbOhd /g1Of7cDwIHI3nD0xZsbHRrmEWeH1+AO7tgF1lEEZgdb7Iwv03PasQ4nD3NYjroSKmK9 iPN/sKYYGNBDHRU4I4vLnNUzyC5yRVe0xjfx67LiRq91vZXdQA6Z7BlXN0ad3VCcHx/Q o7bg== 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 u24si2725918pfm.320.2021.04.09.01.22.23; Fri, 09 Apr 2021 01:22:35 -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 S232583AbhDIIUo (ORCPT + 99 others); Fri, 9 Apr 2021 04:20:44 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:39385 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231611AbhDIIUh (ORCPT ); Fri, 9 Apr 2021 04:20:37 -0400 X-UUID: d5b6e4a5aca54aa38118c75fc61802f2-20210409 X-UUID: d5b6e4a5aca54aa38118c75fc61802f2-20210409 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 930740884; Fri, 09 Apr 2021 16:20:21 +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; Fri, 9 Apr 2021 16:20:18 +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; Fri, 9 Apr 2021 16:20:18 +0800 From: Nina Wu To: Rob Herring , Matthias Brugger CC: Nina Wu , Zhen Lei , Neal Liu , , , , , , Subject: [PATCH v3 1/7] dt-bindings: devapc: Add 'vio-idx-num' field to support mt8192 Date: Fri, 9 Apr 2021 16:19:31 +0800 Message-ID: <1617956377-4075-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-TM-SNTS-SMTP: 73CB98C62DCD7260EB51A402196B55563D4216F2B513B41DCC7713FF2CF616D52000:8 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. Signed-off-by: Nina Wu --- Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml index 31e4d3c..909e524 100644 --- a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml +++ b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml @@ -20,11 +20,17 @@ 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 + maxItems: 1 + interrupts: description: A single interrupt specifier maxItems: 1 -- 2.6.4