Message ID | 20240130-pme_msg-v1-5-d52b0add5c7c@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-45545-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1592187dyb; Tue, 30 Jan 2024 16:47:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmbCw3hV1UM3HHUdyFn49znfe9wElNpl9cOX/KRKl58nTc/3CGEwWHmGuGoqbxKLFXfXJw X-Received: by 2002:a17:906:4807:b0:a2e:556:f114 with SMTP id w7-20020a170906480700b00a2e0556f114mr32296ejq.25.1706662074822; Tue, 30 Jan 2024 16:47:54 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXnYeD6yd6AtLfRqpbBl0zJeXTf12PapCt7MUHgMhfnjhnVHdJkkoYKTjNzrTUXRkcpG9OpbQkmafEEbWbpIOvk0Y17XQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h22-20020a170906111600b00a365ee1eab0si329525eja.753.2024.01.30.16.47.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 16:47:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45545-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=TGW79rl7; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-45545-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45545-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4B4E71F23C7F for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 00:47:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4915F63C7; Wed, 31 Jan 2024 00:46:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="TGW79rl7" Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2056.outbound.protection.outlook.com [40.107.20.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 959584C8B; Wed, 31 Jan 2024 00:46:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706661975; cv=fail; b=IUC1tnJXpjTO3WTSSsd2Ux6x4B8k+gKGS/OWL49LLQQPBHFQ8Qh4+6/jhozmxbXRsC1r0OS2x66gSs451mWYM+ccqHYsrvcDxxDFJhB1eG3cmKuVm8mNAXvotOLA9O+8m5riGv5hgPsSAYJ41aCu7LB2nVYhfP008qnSuy6ly3I= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706661975; c=relaxed/simple; bh=cfu6DwDb0l7oT09xNpxjpxzHoXAlkfWEhm2pP3eS+Z0=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=pkBh7QqI2Pq2hVYpYp0+E9pcV2adZx3wWQdwAZJdXEiAY+5ha9h2AorwUXPnoIcF8uSmI58y3scuiuDTyZ1Dr+SkgWwPOjlviM5ayAhQGPJAA5Whc3UNU4xKdoNQcVwFePv+KxgVL0zWESeTDrpNu0GZjUHcmhS33QGBXPxgx0M= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=TGW79rl7; arc=fail smtp.client-ip=40.107.20.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lfmq5ct05OgIBVlsXUJpPtptPTq78Nvf8UpDv9rsX3IjxybPp/pJjBdWAvB0/yYZ3sUFnoYHCNtMIjCgJXjcWFX1tHreyDNQ6wXplT7Uu+FpIarrVVDUEDjmxk/BGXvcHcZ+O6VCXvovEweOilOo+tpd4g+P+2zgz2gm55gODdG2v3PgSPrSINw1WS1iio1q7jZUdGkn2H3mCie8cj35facrwqZ0OfXhuMzxrrgcV09Zo9uh45sqs+XsiiSA5AOz9yE5eTeX6Oqb69hFggYsrCFYSNmu89DyySCeajZ/QiTd+U1+wlfWy7ISHHkIE+ILosXGFuWXwksK7UZjOV3+2w== 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=RKNQWNbqoT8m5ZP1u/XMj+BzC8WwW+892iG/+v4LN6c=; b=YefxaRL9aFWCbO8zlb2KrgiTfxu6kb65tdIK1KBeEVuS3QGMi5kJX2q0t6GkW8MQaGTJe2GWeS+kBQtsml4dnl1KEedG8/pJdOXhaDLFC0w5HhYJau86NDkhmo1/rtM8duZpKGAa6CN8ak4la31wJaf4HOiq4jOa8h0VurhSHkkf2TVB4AI4GsVesx3M7vZdGTf+gAKClrtcTz6vU21QoF++WOvL9026xBAWg7RGocDwuBNAasq5LV6LR7askJ3dV7p7yjnCfXI06NAoJWu0pINcSbUHNjFWADWpSKY3Q+XH+8wedzKrM/QC7jhpjnIGDVGVRGI9+8POXa95OPm4eQ== 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=RKNQWNbqoT8m5ZP1u/XMj+BzC8WwW+892iG/+v4LN6c=; b=TGW79rl7xIUW7G4pxk8lBN8f/0Xxr3caZwNBPlptEzWDJI0055+XXzl3CgN04kevPLgQjYPi/5spy7Jm7N2Iry05UirdrQOFrILd1FgDdenKQ+3/KYOn2H2itEyC+mupF15aTlb3rxLapNpBeoPPR6+D5EeZG26DJ53qnaqm5y8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI1PR04MB6877.eurprd04.prod.outlook.com (2603:10a6:803:131::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Wed, 31 Jan 2024 00:46:12 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c%3]) with mapi id 15.20.7228.029; Wed, 31 Jan 2024 00:46:12 +0000 From: Frank Li <Frank.Li@nxp.com> Date: Tue, 30 Jan 2024 19:45:30 -0500 Subject: [PATCH 5/6] dt-bindings: PCI: dwc: Add 'msg" register region Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240130-pme_msg-v1-5-d52b0add5c7c@nxp.com> References: <20240130-pme_msg-v1-0-d52b0add5c7c@nxp.com> In-Reply-To: <20240130-pme_msg-v1-0-d52b0add5c7c@nxp.com> To: Bjorn Helgaas <bhelgaas@google.com>, Jingoo Han <jingoohan1@gmail.com>, Gustavo Pimentel <gustavo.pimentel@synopsys.com>, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, imx@lists.linux.dev Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Frank Li <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-2d940 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706661950; l=1214; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=cfu6DwDb0l7oT09xNpxjpxzHoXAlkfWEhm2pP3eS+Z0=; b=eSiFbo1e8v1w0/khlc/jIGteYlx1FXSj+QNnu5Dg6nmkEz8JBuXjM6Q1MfwqsGJOuVE+2BjeS 7J03CQ/nRwsCsrg92n14XENpAoKNuTg/P0u+wzCzWckX2pGv3Qq/Vdd X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0225.namprd03.prod.outlook.com (2603:10b6:a03:39f::20) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI1PR04MB6877:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f9a4b83-914d-40cd-852c-08dc21f605d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zz0Wk0GLFJ+JFP+bAVAxz8oB4OUMGQGNXymInE+Lq7oCiSl9Tm9Ms9Uo9C+fi1ENE4wshnZa0YXrlmqwZGR798buNpwd+m/EJFhz9a3pXWp+YYu2ZqMQ9A5AIlGbln479fQZxuI6VxtaENR79pemC0rDRv7QcEyY9AzxNf1RXy0fjW9P84wRSmRsbzFclysA6SjCzk0wESTD8P74zLdZiSuM1y+yBiljpWPFqRD+v9PBYajuuHN55DHp0fVxJTex4vzmtK4iZOYR8sf3g85SBKvP7VL+WXn7v+zWbDMFT5PEubJh02y0K1N26IDl3LGP+BmOvd1oC6BYqXjWe3t51nl7D2NNWpwTASRR9C1Pf6JIIb96e0WH/OW9e7VsPvcvCjrQchxPyE2LlmqvgljP/xZxovyhgbnun7VLQ3RYunZ9Rs5yRJocOwKd27JzCmO7Cg0gxHvG2uUCHcDksXx65SJUxBCiuFnsqKoskzIG5uVs6pPi1jndukOBBlH0HyKUlxyeZ6gdnz4VWUrPLHXlfdwXHJfOZfT9MrU1X4SIUKvRBcozNpvKVr0E3RMyNJ3ZVGMUR5c+mkthbNSn+/Y+8rYKyGCX7xsyoN201rGAD0m3TF4hZj9vJSstoO8PGOz/tanMaJg1cPwhV+k3sPUY6g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(366004)(346002)(39860400002)(376002)(136003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(41300700001)(921011)(26005)(36756003)(316002)(66476007)(38350700005)(6512007)(52116002)(478600001)(83380400001)(2616005)(6666004)(6486002)(6506007)(38100700002)(86362001)(5660300002)(7416002)(2906002)(66556008)(66946007)(8676002)(8936002)(4326008)(110136005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+Gfp/yw695K/+1WJpkEQhVyak2S/?= =?utf-8?q?i8jge+og1QEobPjnwJKPkOxMo9WR6U3TucQbQxUF0aLpUIhxYucaR4LQBgyx+sqwo?= =?utf-8?q?uiAc9LmSgYzy0SY8Kv8f36/ddJ5IJbKZvGPfoEOuO4d3o3D16Fe3hZcAN57XrcbBL?= =?utf-8?q?oL+bku0MhLZvTV8wZUoDS6asl9pJh61zqhasj2U320ULm9WIzC3ha6CqBp462Niq5?= =?utf-8?q?8bQfev7p52EviEILJNn8iBOZwCXFrcVeL49FHVvWyx+hC6Dp6Bio0occOGLc3fol4?= =?utf-8?q?Ra0DaCZ6WbtOFqI/yae9FZ2Ao3FHrSyjnygtP6eixFFi35tC8j3DNlKuEBvefthb5?= =?utf-8?q?ZcqaCgiKqzN//nZymVo1N6hOefCk7X+SD4gbkM0IHAEWQB+xtlvi8P9XFFGOqPR3L?= =?utf-8?q?ExwWwKyOTMWUNrcYtN2XvMcNqG5pOjAEDYX1ARMILoYLr17ufWezbh2SGBF8+IPYJ?= =?utf-8?q?TIPL9J2aOr6haXLuxEnCEWeg42sj7UKoXZqzXzKHp6+wjIk/vTpguxhr0oYzMwp0W?= =?utf-8?q?j4aEmWlfbvUZGCiYBtrXc5aMpcAOfWCC3qgSWKMeO4Qyyf4czjADqqMJ2HXaBaQz8?= =?utf-8?q?iigHLxk/kA6t8dWikS44z0/w2s+HrDh3SyqfqMOB87p4Xr2dmxgbZ/aRZWoA/Ycyu?= =?utf-8?q?Mh2aFzqLB2S5FFMMKWHScBvUGL/SzVESzb7puKc3/EfTONlYksmsiX7LIYw+CREFE?= =?utf-8?q?0wbvalkfD1Y4fpCetydyqtWP8MH5QYFzMwAr/1FR6a8A8ge08KQr8a/cyGcj/i/5K?= =?utf-8?q?GBobwWxoeVrCYjMQwMd7a03rgVZB59bUTGvbrV8Y52Buzs7sET4Sh8ngW3gY3T9uO?= =?utf-8?q?aLCG3uimFLk5c7WJEcD6KzkS2lC8vsjok+rHkRbTN2ZqdL5M6kCKnXqFQPaLLd74T?= =?utf-8?q?A5kCK8hbuXnbSfkPebFQQAVIqLL3huLbm5DqVjWkYn+H9VWxhESZz6rNNUD2bKRDO?= =?utf-8?q?Hv+Wann1RMmAQO7Y78+SOazmls6OmkRERKMJ9kudv17rpynkWyp5vfwm+rPzqSw1I?= =?utf-8?q?4mdGIMQFsC9Pg7/8ITlBXIphCrX6iLawkeuBtzKtRGj367gdip729BLzYLHG1PADs?= =?utf-8?q?rOzP+SCOs+b97A5SJFPNPLNtw6LJsvq0odtab4HNWmiXCZ9SiLRb0tXE6opYFry9g?= =?utf-8?q?vD7ryyrntycFFKneDxJRfR07OIX7TvZ06TsyCZHRKQekzEAwzKY7A3qpnTq7Zo4av?= =?utf-8?q?ECGteLKnhDacJu0bU4e/C2imYjGL9KOc/ThGX3g2b7TZjLpXtLTpTYfFRLlFPMPun?= =?utf-8?q?ky52iJxKyXZElNrj8OGRvmU0VLKe91GlVZ30uPqc8MwBVfepZqN+L+IqyndkSNVHP?= =?utf-8?q?DDUqTHTqTY0uCqIk9q6T5J8YdGdiSf56TVOxGKN4j56+7L9n57ZUN+RqJdu2Crows?= =?utf-8?q?QcYbbdi+ejghbqiCISF5PNQ0lmtMJsPsXsFGnaQafVt0xT3+/Lij+Uc217NRvnjVA?= =?utf-8?q?rtm49XuRD6un902ayOaajvCnxZALU/UTMUe/XgRDxByMmFVC0ijgV8iyC7MRTGvpb?= =?utf-8?q?NYYgsPCsmc0O?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f9a4b83-914d-40cd-852c-08dc21f605d8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 00:46:12.5033 (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: oEfnUyMOCUKn1XWdgsLRM4m2DF3tQtFoeQClWF6787w6Ez/uArHcM69/11nl58G6smbVvDxM5uvlWSf64Ohhzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6877 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789564891625464725 X-GMAIL-MSGID: 1789564891625464725 |
Series |
PCI: dwc: Add common pme_turn_off message by using outbound iATU
|
|
Commit Message
Frank Li
Jan. 31, 2024, 12:45 a.m. UTC
Add a outbound iATU-capable memory-region which will be use to send PCI
message (such as pme-turn-off) to peripheral. So all platforms can use
common method to send out pme-turn-off message by using one outbound iATU.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 4 ++++
1 file changed, 4 insertions(+)
Comments
Super nit: use matching quotes in subject. On Tue, Jan 30, 2024 at 07:45:30PM -0500, Frank Li wrote: > Add a outbound iATU-capable memory-region which will be use to send PCI > message (such as pme-turn-off) to peripheral. So all platforms can use > common method to send out pme-turn-off message by using one outbound iATU. s/Add a outbound/Add an outbound/ s/will be use/will be used/ (also below) s/PCI/PCIe/ (also below) s/pme-turn-off/PME_Turn_Off/ to make it more searchable in spec (also below) > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml > index 022055edbf9e6..e27d81b6a131c 100644 > --- a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml > @@ -101,6 +101,10 @@ properties: > Outbound iATU-capable memory-region which will be used to access > the peripheral PCIe devices configuration space. > const: config > + - description: > + Outbound iATU-capable memory-region which will be use to send > + PCI message (such as pme-turn-off) to peripheral. > + const: msg > - description: > Vendor-specific CSR names. Consider using the generic names above > for new bindings. > > -- > 2.34.1 >
diff --git a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml index 022055edbf9e6..e27d81b6a131c 100644 --- a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml @@ -101,6 +101,10 @@ properties: Outbound iATU-capable memory-region which will be used to access the peripheral PCIe devices configuration space. const: config + - description: + Outbound iATU-capable memory-region which will be use to send + PCI message (such as pme-turn-off) to peripheral. + const: msg - description: Vendor-specific CSR names. Consider using the generic names above for new bindings.