From patchwork Fri Feb 2 15:11:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 195891 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp497931dyc; Fri, 2 Feb 2024 07:18:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIjMaN02kml99Q8dAQk8tedTcPrJsnyyfU3FpZyKhJUfRg7kZyOto4c4NnznDl2FSsVjPc X-Received: by 2002:a17:90a:e654:b0:296:2d55:acbc with SMTP id ep20-20020a17090ae65400b002962d55acbcmr2231238pjb.39.1706887090834; Fri, 02 Feb 2024 07:18:10 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU0KoYfXlrvhC2U86//XOzf/j6wpHvLgQeJRfzsDYoOCVRx7xk30OyjjNH2hRZiTE38+7Aatkh0p1JAo22ZilqPqtpKnA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fy20-20020a17090b021400b002962f5d4bafsi89884pjb.39.2024.02.02.07.18.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 07:18:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49997-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=HqnhNUWb; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-49997-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49997-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5E3D52912A4 for ; Fri, 2 Feb 2024 15:13:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E66781468F2; Fri, 2 Feb 2024 15:12:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="HqnhNUWb" Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2078.outbound.protection.outlook.com [40.107.8.78]) (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 175A71474BD; Fri, 2 Feb 2024 15:12:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.78 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706886724; cv=fail; b=bHc/dlwS72DrFn4uonDMGwcVvC/hPniPVyQmLVmX89OSmAhhtK5871c2ztiqVc9FeRiKWsuCQlTkemKt/mDzF0erez1qm+Ch/5PIZ/sBKZoUQ6f3O/uLTCmBVEKN7UChVzNV5Zm1Ob1vAGr8AdqkKOj5UUT7vqIt0bnN9TjO9A8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706886724; c=relaxed/simple; bh=9vOBvFwLsQFfcUpqiTBHWGAwQEaDEiEalYuERlgzbJg=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=W1G52gWy+Ppd4RyfClguJlyQ3yRx/1uJlyGtpWYWQzocVoJNRVGOhR6e8pwA6Q7fL6BlIwAqI1wN9lTvlNsWKruLqmEtW5f/xGgvm39sg+DwFs5/KmjYmB+iWSlUNarNCTOciLglbtEY9DGKRDbCMjEvAS9xS4WnhacuSYIwHks= 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=HqnhNUWb; arc=fail smtp.client-ip=40.107.8.78 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=N4kof3YtA2iTEio1kQbUv4xpblrsEGpTabxISQLn9P1IIPJ6oDAcVQePkhvXUi04pQDLeq2RrXpiZRTt3AcNB7hKmiFJR3Ds7dIKqGg8AQeFjWGMh0JcRfFybznVZE7vHGHC53WIiejk/wSSUrYUgEaT++SXv+JANRAlpXvPrMQpZ+HxWhHw5wZj1xfaXqlu5a7uHhC2/Crlfybkx34+85c5l2e0YGgaKTnpPFOVpRHjszbHwDwnaNCZ+YPYK7W35RFLIOj1g/fDwriuTAGK3J+PlYJP8PWpTpbmf+79+Ej0cOYu+ARGAycf4kFzTlLD86qS0nsXg2f1kesj2VqyJA== 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=LkGPA7ShXT2dMqSftoaGZPxvURuUZhBj1jU23CJyNv0=; b=j7pQoJ1+EoaD01oZRKy7NcGbyspy7isevtE5ji4sWZA1AuFvf0Sn27m0319stlMmYvDAC7ytJvIMjSTw/SKxhrzLfXY7yiM1LaO18HQLiANM527kLxcNEy4bqnEKWHGU+vENn4aPJPVdcH5AmUorwCA9kuw9RvehksYQ9kq/JHSGOVuNsYX4zIqm6s6IDds6JBrVs6vjflzzw+GhvUO5ktkcnWtBUgwia7iB2QbbNgRtvX6AdLEObXD7yFr+tKjTq5OrfuVjn2AC1K0fxQPL8JcT0ce0CdTV4moWy7AfBNbmWAWHdon3mqo6etHO8Y/YzBkn8GaDmTTdOIDPdguyIQ== 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=LkGPA7ShXT2dMqSftoaGZPxvURuUZhBj1jU23CJyNv0=; b=HqnhNUWbRU4K8B03NES8qSTMpGi9p28567SVPYZf2hEZlUP352I2SZJB3KOo+NYe+jpyGyxffOZEXVHWOxQxZSQyl0XWGYsx3e5XVhscYivfpn7qHLHTBnLOz0NFlleMAdwCjArA0tQqteA/7CBCMiebRr5iG1aZ7anY6L+Dvrk= 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 PAXPR04MB8425.eurprd04.prod.outlook.com (2603:10a6:102:1c7::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.30; Fri, 2 Feb 2024 15:11:59 +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.7249.027; Fri, 2 Feb 2024 15:11:59 +0000 From: Frank Li Date: Fri, 02 Feb 2024 10:11:27 -0500 Subject: [PATCH v3 5/6] dt-bindings: PCI: dwc: Add 'msg' register region Message-Id: <20240202-pme_msg-v3-5-ff2af57a02ad@nxp.com> References: <20240202-pme_msg-v3-0-ff2af57a02ad@nxp.com> In-Reply-To: <20240202-pme_msg-v3-0-ff2af57a02ad@nxp.com> To: Bjorn Helgaas , Jingoo Han , Gustavo Pimentel , Manivannan Sadhasivam , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , imx@lists.linux.dev Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1706886696; l=1219; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=9vOBvFwLsQFfcUpqiTBHWGAwQEaDEiEalYuERlgzbJg=; b=gJWw4Vot3hs+HU+csuaNF+8iTFT5SdejAXpp7Nis8VQtP4S3ZU3DdXgPoF+Ky0jKSmmAtCeHW 0ozUKXLt37QCPV/LFSSVS7vEmiI2FNDWsrFaCyTBkvz//EGSCVvbvkK X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0138.namprd03.prod.outlook.com (2603:10b6:a03:33c::23) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8425:EE_ X-MS-Office365-Filtering-Correlation-Id: d9e8e0bb-041d-4332-764c-08dc24014d45 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ci18+xKaHUWDLFvHDmLPPimhx8yxrZ4FArSHANffsXLU945TlxdqLLj92FVj6f59ewWxr13WGnzk/msfQ8FUij9VDLmE+fFhXNursNNekF58VcyE2l1qwyMoYjvacL8to+geWtWoL3kF+jRMvEJVr6bRyTN8Ghd7elunkQkf63WTkEihxRlkKMuRMTE5k7kmGY2rYjDU75yHEQv19Jak/rsKX9q2MyqzFBJ2w3UscYtwI+e7nPIqV5aKMdoCMHPSdS0QqvyyR7yMBtThTN1Q35ovDH0bKaAtZ7sibrNEvIYVdyWwHjzmEckNvEZfZy+YySb+bH1qPXdNzT3soOvFuVJup5QmbTUR5l1NrVWeCAj6BcHNx7Srh1pxr35qP5J+PL80T9LLgKlr5HBTa+x9dLe1Zs23ShK1eyDhigirDPO+XzTbkHJLKfED/X7DZ1rWD/C/1kgDwfLO1/qFszl5Jt8pYMx/tiw6vcpy6oXWg0LVzHHMWe9doEoNkm00ga5qkc9iZ2DF4TubrCjHWaEPcDZ1QLOe1D4Vtn9iH9mMhn8cHhqV1g6hSjt/4fCdDbbmW+YJFxYocSFxhWNFwZTsPq0YwdCUcQpsjpHopDq9e/z6yNrzfXACJUbn6wnrU40ytOhIGlaUulXkh8Pz57a2Vw== 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)(39860400002)(376002)(136003)(346002)(366004)(396003)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(2906002)(478600001)(7416002)(5660300002)(83380400001)(921011)(38350700005)(4326008)(36756003)(66946007)(8936002)(8676002)(316002)(66476007)(86362001)(6506007)(6486002)(52116002)(6512007)(6666004)(41300700001)(26005)(2616005)(66556008)(38100700002)(110136005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?6xY8VXLcU5Au+tY08qwGlAHXySHR?= =?utf-8?q?DACL+h+BzewGvMeO4rzVIX1JdeDA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g+YwlIcDSmGmAl8enX4S4K8jao/ldo22Ced?= =?utf-8?q?J5gjDm1h0NVx7vzE2JMsntjQXjSj55HDcTWLym5AThYt+4z4tTh1BzTqUM7aQP6FL?= =?utf-8?q?fUvwoYHr2LybukH/jjgOXEW/QX0SmIBeMW8aQ6HQEECSAOt75jPNcCh10EakNmSSw?= =?utf-8?q?RbQbnJtV/1Knb3+J/+gD7Fpit4Pm7vqzhy9TFKvBqEIepc07/TGELb/h06ir8ZWmg?= =?utf-8?q?Zfvzo0h07qqKXgELeUvkIBCC8Yh0BzRVtCgpvDn9waO+yt0RHK6rnyERQipOoSPk8?= =?utf-8?q?Ix9HW6dQZu2mYHCDrWOczJ/9A3oV9GlTDz2imNnANJUXKryM6AKEluc2sVnnM7sao?= =?utf-8?q?kgLDo+NKADHsizIcUY5nM/rsmDKp0CDFhMbp47176mLs5RM/yj6fH8WYKNvIZOaWE?= =?utf-8?q?lmHcI9IWEWhURvDGyjJchPqlnkc/Ow1jdFUhSj1xFND6PETL7cMul2DEL26BmB2sZ?= =?utf-8?q?M1L5jLH3i0jpS/0wQcgwED8nSxY1ZTUBppGXJ9gF9bAkAPerkblp+CPxpMVGvOeEX?= =?utf-8?q?R14bHKyAUXt/MOvFIV58GoRVxb+lcJKzlH8nIz+UdBnd5bZETcXjYK+EGgT7ZZuXm?= =?utf-8?q?cxymiqQoofxf?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d9e8e0bb-041d-4332-764c-08dc24014d45 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 15:11:59.0943 (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: mLbXhVr52j73qLy/11sWq5qqWQWp9ArS3P71DSp3mC7xOeS6re6m+014YayfMPffKE3XReIYufvjozYbvkuC+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8425 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789800838284668956 X-GMAIL-MSGID: 1789800838284668956 Add an outbound iATU-capable memory-region which will be used to send PCIe 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 --- 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..25a5420a9ce1e 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 used to send + PCIe message (such as PME_Turn_Off) to peripheral. + const: msg - description: Vendor-specific CSR names. Consider using the generic names above for new bindings.