Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp266410pxf; Thu, 8 Apr 2021 02:37:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPO9ObE8vCXB4YF08c8Zgt2MzzPE5JU7XOsdVgZ7l3GwGs/ifwfJnuNVIZDBSlMPKrb2Pf X-Received: by 2002:aa7:c80b:: with SMTP id a11mr8164684edt.325.1617874641575; Thu, 08 Apr 2021 02:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617874641; cv=none; d=google.com; s=arc-20160816; b=dqMhqi6D/eOSGv5mMrFa5soImjJ8V96ta5x48IuJYHBlM6i/hBMJwE2lqLUOPDQdIM 7yEkB0rdmQO2JVZ3ulFIQT1/xxo931JSvJDwt9J47iJI+6bLdhIi1r8ggDXgt+pscZa4 nxnqd+ky7Rbq12OkRsLScGJSFQbXn1yyrcZRWxD8GBpfcd6XmwaJmD04+dzaq7fDBgmd Qr/XWx5aIRVS24SlijQBHmKm19H6DvbCd4CLYDka7LRKKEl9SyP5eTa3HmyK6XiGA/n3 IR4u1kqkGX3zktlrE+pVsOGOt/f12WRsEZpGJDn7IXMsUxgtLNjv/WRJhgB+s+sSzSel zeMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=2zqREWClp3M6cGt8gcgfvm+ORdb/7LbWg+gcIUpaHDM=; b=E678nRK8N/QCnOBIM67lv/yjD/OeYpP1X0UpIDDGFcxkeag5OfbcXnR7IFAlQHfaVQ 0S3BiRQ4H29f7kNtx4Pn29zsjysU5f/O+7ihSeCQvJrlNWG50b3DqQVI+8UJk2nYQXoC QGKHdNRk+YbCh9ICMhfyaChWcTLF7Tll6UEe7bdrGWrYGXHlZWiClVbGGXEhRAhnPHeN rgJTZ1ar/sWR3rl8kt/LNarSR0MPXi2lfCVMG0F1YcFQIeo8TfDJKnZSIDJ6W0qAvHyU dvKIjkuGbsVr5h3bUyZre4vXVf0y0oFJ3mWKYCxqqfoe8VejAD12OIMZk83C48KdOIWH dNPg== 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 be12si11680924edb.159.2021.04.08.02.36.58; Thu, 08 Apr 2021 02:37:21 -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 S231322AbhDHJfp (ORCPT + 99 others); Thu, 8 Apr 2021 05:35:45 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:50594 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231158AbhDHJfg (ORCPT ); Thu, 8 Apr 2021 05:35:36 -0400 X-UUID: 653a6f5615004de7a2060c17b62aa02f-20210408 X-UUID: 653a6f5615004de7a2060c17b62aa02f-20210408 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] 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 355310532; Thu, 08 Apr 2021 17:35:22 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 8 Apr 2021 17:35:20 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 8 Apr 2021 17:35:19 +0800 From: Chunfeng Yun To: Rob Herring , Mathias Nyman CC: Chunfeng Yun , Greg Kroah-Hartman , Matthias Brugger , "Rafael J. Wysocki" , Len Brown , Pavel Machek , , , , , , , Tony Lindgren , Tianping Fang , Eddie Hung , Ikjoon Jang , Nicolas Boichat Subject: [PATCH 3/6] dt-bindings: usb: mtk-xhci: add wakeup interrupt Date: Thu, 8 Apr 2021 17:35:11 +0800 Message-ID: <1617874514-12282-3-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1617874514-12282-1-git-send-email-chunfeng.yun@mediatek.com> References: <1617874514-12282-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 3096B407D65BE384D503761103EF3B00FBD4AE24FB6F11B1529F76C16CC3AC502000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add an interrupt which is EINT usually to support runtime PM, meanwhile add "interrupt-names" property, for backward compatibility, it's optional and used when wakeup interrupt exists Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml index 45bf4ea00c9e..4fe8a301d03f 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml @@ -46,7 +46,18 @@ properties: - const: ippc # optional, only needed for case 1. interrupts: - maxItems: 1 + description: + use "interrupts-extended" when the interrupts are connected to the + separate interrupt controllers + minItems: 1 + items: + - description: xHCI host controller interrupt + - description: optional, wakeup interrupt used to support runtime PM + + interrupt-names: + items: + - const: host + - const: wakeup power-domains: description: A phandle to USB power domain node to control USB's MTCMOS -- 2.18.0