From patchwork Mon Oct 24 05:17:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 13016668 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74086FA373D for ; Mon, 24 Oct 2022 05:38:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbiJXFiD (ORCPT ); Mon, 24 Oct 2022 01:38:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbiJXFiC (ORCPT ); Mon, 24 Oct 2022 01:38:02 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2085.outbound.protection.outlook.com [40.107.103.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD8837C18D; Sun, 23 Oct 2022 22:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ikUfuL2PAjfCGyBO2zsQNCn6fExpscpFbVXczUIIrXn5NB3d/XQhLutHoiCcd7dpunSzjhejZJmTgfZk18QM/IzqHeN3M7FG21umBUjOLUvM7S1hOuaV17HtBiIoVcOF828OhN0KO1KmwkgeVdo1v/cCh1C8r4l110jbJwwK1aANMNkDajmtXJrEL1hSMKMj+hBrq5eh/qErekP5YCiNFhPpFkGlm5hoDrkvkNqfLK19HrMgcflsBW1veFYMwp8EJ2vOPJi+RhC7DtxBG98Ynw0DCmkXzN10EI+6dXAtjb090qmr0Vw7TgZMZz60H6vSxrumCt9lfqy44RxgMqWGWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9fPBcDDAZLmmt5F/4O508m7jXJoOUs2y2gqctvwXznU=; b=cibf85EMveQBaRpTRIH2vCiqoUhSGG4MFNQurOou6jqSu1D/Mh8DovOE8U7taHj5AoypabDEXAG6M0fVQAZIfX7/jrlBfHEKQL21BzFh4Hv3RZCuHqSKYYJfbaEYvSXg7D8ZUrCXoEURBqLBH0gE3a3QBaVHjFVdeCfAkSFF7OXnDv5vnleQM5QTjp9/GAQYY1thV8cI2Lm6DTb9Uc5CI/gKqXo9YsE5JBO9MbZ9oOa5x/SjqqlXtXHzUu6X8UbJJfLgLq91zGNAZxJsAoYK3atsuIk/WUDb/UuthOE9I9qnySYF0yhcJZJ8Fjijqce9IvGcXRQKdfiX+hjZ71b48g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9fPBcDDAZLmmt5F/4O508m7jXJoOUs2y2gqctvwXznU=; b=LFI6zdDDHKBp1KjR5xwNhkuRKabUArEMb8nMBnBEcrjxKoC67mX55eAxaRJSZnm4Xud3m+iPlswkXR2tAVZ8hUxlZ30yX2y01SGJ+qfMSXeJsDg6MLJUYyJb93VChc/NevSdWSktmplZztAbX0mCfEl6MQd2M+3nb7j6yuePlm0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) by AM9PR04MB8570.eurprd04.prod.outlook.com (2603:10a6:20b:435::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Mon, 24 Oct 2022 05:37:58 +0000 Received: from PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::cc4:c5c2:db97:1313]) by PA4PR04MB9640.eurprd04.prod.outlook.com ([fe80::cc4:c5c2:db97:1313%7]) with mapi id 15.20.5746.026; Mon, 24 Oct 2022 05:37:58 +0000 From: Li Jun To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: balbi@kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com Subject: [PATCH 1/2] dt-bindings: usb: usb-nop-xceiv: add wakeup-source property Date: Mon, 24 Oct 2022 13:17:27 +0800 Message-Id: <1666588648-1047-1-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR03CA0119.apcprd03.prod.outlook.com (2603:1096:4:91::23) To PA4PR04MB9640.eurprd04.prod.outlook.com (2603:10a6:102:261::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR04MB9640:EE_|AM9PR04MB8570:EE_ X-MS-Office365-Filtering-Correlation-Id: c9d569f5-2258-41d8-f509-08dab581e82e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NvtGL+h8/miG06gQWIhj047dvWCMLCGgGeLxOrxEENEbrt+eb+/q5ErTxq559LG7SQ19IzCJdXL3fSs4fsge3gaJNPq9NxljRpxk18RPLApaTBv5WsFZDusv8ViIO+4oWqYtq9WP+vArtQ2SP76xR43XRXb9e9zEU9bUxw5fAWqZ+tqdNzCzGOGbS2FFjpQbADfsnMZAgQgM5toJOrrTK4rndra+JMcClKB+ogL/+cGJY/Aj/TWUv/PR0lYW3KggZOLb1zJM1f3e7HXz5hPR4A6P1JzjW1huMNwG6P8oWR0uTE5aI1zwAyVEI4bmCniWaDj10hx6r4R89saFWuRBEWCdVjkXLPXZL9gVSKzFrd0oFsyOhW9+bA+3yuoL+biCJDWUzNKMWQMCq6rcUfhXmgK8I9w4lZ3HgrPgaBWYyDehPeX9l/4ohvF++CaWO3Cqxw76o+whAHFDmtFybyr3HlAYoZTW8f/0zOm1LVZ1/xP8MKm5EYxxzvBrWHw3KVvb26DKsjHn2WcIFlRj4x8GHmgjaRqANYWCSzRWq2NBi9la4KuMeN4sVt99nAKsMlVZRqZb6e+YCEI+bmX9S0f8IwGYrDvRLLrwOumXOES1ttaF6hxa6EpPkJyp1sgvZNCpG5Efeo4k3mtndSk+ZRtzWjxrGkBNf0DYszJCoJiMcR2bpH/qu5IfCJF0lKSvtCtlKcziyxT6tTI4lNgTVKxIsIec2c5FYp2FbMNP/Ily455Ies3dj7Oo0FepdXKsrURpz8Gu2hSvhL1z8GLJCAEz8A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR04MB9640.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(346002)(396003)(136003)(39860400002)(366004)(451199015)(66476007)(66946007)(66556008)(6506007)(6666004)(4326008)(8676002)(8936002)(36756003)(41300700001)(26005)(52116002)(5660300002)(6512007)(316002)(86362001)(38350700002)(38100700002)(4744005)(186003)(2616005)(2906002)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NkdOzDb6y39EyuvYqwKEbE1X3MGV0nQesdehvVVAb56r/hLxVycKGIQh2llRmTzg8X9hHjVS82+FHYvRgoIjJjQih+VCWOecevFXkuTCikGZyOPDKPrUIaE3tE5VrW3SnqSibbvwNOLBt/qG62P6+gGvsoWG/HyneP6P2kw/A1ogznvpoUVu1u5IayrurQMT1lG9sQUwu2KYuicsN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UHzWR+7TnUL3OCBeMmn7rDs55ounMz0TOMcE7BMgGMvByRdM4zR33MreCIU6Pf7kDo//Q0tPyQTYY3ksLYXG5q5VzXSWISyfRCyEbg+8YlfHgv6ne0UDciobSMiQoACllJHBX9WYVSGng9jSMCtNb5rqvdwCSspmBUz/LNTvpoPx/jNHifS9zsDSU92toWOO0gAJQu0CZcsUNnIvOzL2JCubXuqNsXcKR5VU21P8KKvw+/yW5QmJzA6r7Ux3SD7KHBkupz6JnT6WuWeUaOmvVgSaOnjeRbi2fbo0HMyTaaqB6r3PN58XUWEp5U X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9d569f5-2258-41d8-f509-08dab581e82e X-MS-Exchange-CrossTenant-AuthSource: PA4PR04MB9640.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2022 05:37:58.0284 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ulc3pkpZNdmGn2+8FDgIoAue27/f9dzZvvN+OA/4XTUELXN9xqRPrmAJsFgA4Yy4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8570 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org usb phy may be part of wakeup source, so add wakeup source property to keep its resource(e.g power domain) active to make usb remote wakeup work. Signed-off-by: Li Jun --- Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml index 2824c17285ee..7b71e32d1df0 100644 --- a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml +++ b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.yaml @@ -39,6 +39,11 @@ properties: the VBus line. $ref: /schemas/types.yaml#/definitions/phandle + wakeup-source: + $ref: /schemas/types.yaml#/definitions/flag + description: + Specify if it's USB remote wakeup capable. + required: - compatible - '#phy-cells'