From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,NICE_REPLY_A,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4601DC4363D for ; Fri, 2 Oct 2020 11:10:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8F1E206B8 for ; Fri, 2 Oct 2020 11:10:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wung8svB"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="AQH1Aku8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="AQH1Aku8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8F1E206B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iaWf1DIuCyD+ZfWgirpc20hD86OYKeguRVgA+UIlWYc=; b=Wung8svBVeIrJ/br9M97IEe4L LZMWuJ018uzi+2ntOR4XhHZf+BnXNP5By28bAwLR7ViFMdQLSfZ/h+wSrn+fpUkeQOOg2JDfx7OVL JobA6nh+AHFtihiHu/1Es/4gcWxM5dichLkDqDmmIvAAfr6qIjlg/p3jxvtelF2UkyHeVBHL5BD2v 03TV/JCzyyYm+KYlv+J4QDR5Z2K1xkKFjvBW2f0T7VzU7CYDMU2+6gdh2eOX9FZ7I8cwGhxuNSC2d QmN0fbZstl6XS16z4ELxtYwV/EperCaS9PqRkiTUm37C7pnhFVzO6mkkHXJpV1ByiYZNXnfRu9/q9 eK8LcU+nA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOIwA-0000fm-EM; Fri, 02 Oct 2020 11:09:18 +0000 Received: from mail-eopbgr00070.outbound.protection.outlook.com ([40.107.0.70] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOIw7-0000eD-B6 for linux-arm-kernel@lists.infradead.org; Fri, 02 Oct 2020 11:09:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NIMHDYM6SOKolg75MkAcYUdcmJgViRFjG6eYQ5dBi1U=; b=AQH1Aku8qm3BnysBPNSSw9XI896Wyp5uUHAuk1d4EIPvcUouHSji4+l79TarGO0Ai8CsU4mN6RqCX+5YnHocXAkXW8qJHFRbu16C8KDr/FeuMgbGNn4h344rPTChpKK7eOxdEu0EgBZopBdJKS3lrUN+Q+jiT0GtgO3B+MeroNg= Received: from AM6P191CA0026.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8b::39) by VE1PR08MB5630.eurprd08.prod.outlook.com (2603:10a6:800:1ae::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34; Fri, 2 Oct 2020 11:09:11 +0000 Received: from AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8b:cafe::81) by AM6P191CA0026.outlook.office365.com (2603:10a6:209:8b::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Fri, 2 Oct 2020 11:09:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.infradead.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.infradead.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT020.mail.protection.outlook.com (10.152.16.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Fri, 2 Oct 2020 11:09:11 +0000 Received: ("Tessian outbound 7fc8f57bdedc:v64"); Fri, 02 Oct 2020 11:09:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5e5214c1a5cafbd7 X-CR-MTA-TID: 64aa7808 Received: from 68e6c8c6f6bf.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 86674786-9E8D-4611-AA9B-98441FD1E2EB.1; Fri, 02 Oct 2020 11:08:33 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 68e6c8c6f6bf.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 02 Oct 2020 11:08:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bsvSpWwcemH8ACp5NqWLhlDJtKef2AJDBEeXTosHdYiBT4kk6bGruxOSvRnpQfN+7BQDAMBY1Frf38RVgZ7G+lDvm1Ff7h/S3qMKyDfzBgAhcZ86i5OMIUYJ3X+FCTnz4DRB2OqK6aH4fQygWs/mwLP40EN0wc2t2BTzaPsOxP/D4jZqxCpH+1E48PsrzApo9eHRuZthDgg8BULdGXs2/l007txtpanuHYN+WLFy3JEDRDVkB+r20ATqB3NgdYBCsBb+bwMCAlKZhM7uA1PUcqGYUySmliRFnHtn/wrhAycbePaLjdADnc9chGxFOWk5nNel7StKOGPyzRN2GVyBmQ== 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-SenderADCheck; bh=NIMHDYM6SOKolg75MkAcYUdcmJgViRFjG6eYQ5dBi1U=; b=DgBCGTyUfO2SlH4wFN/s0U9dHxh4SilQ4HuE8XTo/RxTgBaG0sfw0LMoZ4XUPPedbazXasQENYJc8JlQNxvFwrhSUi7QXm4WQlO989ydGmCxke7TYikMxdirVhuABioEM2LFNLt5y4bVJHDCk6QxzCWN4RrG+EwvdJ4/Ior+6ApMrqDmgB0FRe7PmRXziMUeCQvOuqaL6x6ImG/LihsMUDU6hg0DB/9XlGBCCih3u4bHPtHIA+7yHa1Q0o53F5wORmlLcb6GbAHq/2pGTJuL59+WdMvO24amocEhNCqxqTe3mYwSOYCqTrjYdFin+J3kdn56kxRxvKnmY/IagtSV+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NIMHDYM6SOKolg75MkAcYUdcmJgViRFjG6eYQ5dBi1U=; b=AQH1Aku8qm3BnysBPNSSw9XI896Wyp5uUHAuk1d4EIPvcUouHSji4+l79TarGO0Ai8CsU4mN6RqCX+5YnHocXAkXW8qJHFRbu16C8KDr/FeuMgbGNn4h344rPTChpKK7eOxdEu0EgBZopBdJKS3lrUN+Q+jiT0GtgO3B+MeroNg= Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Received: from DB8PR08MB4010.eurprd08.prod.outlook.com (2603:10a6:10:ab::15) by DB7PR08MB3722.eurprd08.prod.outlook.com (2603:10a6:10:33::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.37; Fri, 2 Oct 2020 11:08:32 +0000 Received: from DB8PR08MB4010.eurprd08.prod.outlook.com ([fe80::2d77:cba8:3fc8:3d4f]) by DB8PR08MB4010.eurprd08.prod.outlook.com ([fe80::2d77:cba8:3fc8:3d4f%3]) with mapi id 15.20.3412.029; Fri, 2 Oct 2020 11:08:32 +0000 Subject: Re: [net-next PATCH v1 1/7] Documentation: ACPI: DSD: Document MDIO PHY To: "Rafael J. Wysocki" , Calvin Johnson References: <20200930160430.7908-1-calvin.johnson@oss.nxp.com> <20200930160430.7908-2-calvin.johnson@oss.nxp.com> From: Grant Likely Message-ID: <39b9a51d-56f6-75f8-a88e-71a7e01b9f55@arm.com> Date: Fri, 2 Oct 2020 12:08:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 In-Reply-To: Content-Language: en-US X-ClientProxiedBy: LO2P123CA0084.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:138::17) To DB8PR08MB4010.eurprd08.prod.outlook.com (2603:10a6:10:ab::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.16.178] (188.30.19.167) by LO2P123CA0084.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:138::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.26 via Frontend Transport; Fri, 2 Oct 2020 11:08:28 +0000 X-Originating-IP: [188.30.19.167] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1163b4a5-0ddb-4d57-3e46-08d866c39718 X-MS-TrafficTypeDiagnostic: DB7PR08MB3722:|VE1PR08MB5630: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: PS9ZZearumiMCsa6DJF6WBLUiQl14FR5F5zGmHbZrIVsTQN6ZSNwDrcS+jXNtjaLSzFq6MFZqtt27Gtj4ucg7Ywot+F9eoRmpd1/4kBP+0kdTAqrxzk6F/adaT/3mnnQksY7vYc0ffb0sMMEGakinpqvDRGTte1wJ9JacsSaMVpHsHXb6xLaj8tS8gsQDTzYoPAHVkkeLYm6eW6Ja4D8cGMqnHy0FJ7p8dvESCSBnFdFyy3h3lDMknGXA62PT09Lkz29ghdO5NhKJjgYQmwVmo9+88d0YYKwzs7JsTsZCciaoOuvnsrT6PK+m7KeRWTham3CjecvEUIDImrD0UFJyqgb9zSGplFkYShn2WS1AWPObHJ+k3kGqqaykBMsjLrQ X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR08MB4010.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(376002)(136003)(346002)(39860400002)(26005)(66946007)(36756003)(53546011)(16576012)(83380400001)(7416002)(110136005)(31686004)(478600001)(66476007)(2906002)(66556008)(55236004)(54906003)(186003)(52116002)(6486002)(2616005)(4326008)(956004)(316002)(86362001)(31696002)(44832011)(8936002)(5660300002)(8676002)(16526019)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: KrULciEpFdr1qzV4jNv014+I3s/scxOLE0Da+fnxSmkBTFH9Xy+ss/PbgQO4200wQHtDDSk/zajnS7lC4WQwsiknvCKnCTHidPwxp12JUgNc4fmkMajrPnDBTndAiy+hJJyuwgYN9V06yMQ9mPkluVKnoConh9lvmu3FrbKlnXCvsVzTx393lM4eEL/x098ZDPeRGwzCb34fd/XzMy4Ed4fK0XIi/FlCHMEqkHBDrerFt5p5j0Tc9A6YzWNspdn56Akwn59Ei3fuduQExhdbKnzTXI3eGCcruxPxUj7l80eHXVISBNzFF2qvwPDWZJcLRXoUQKJYFkW3nQMnpDQprcSoK6H2m5kivktWWi+cM+qpKLEnEZFwKEm/8KAkGoDcq0ZG9ByiCY0Ao91YKRhtALN7kMeqLMLACOPEZUJajGAvmot3RxP5RWrb9UNeat0+wom7MXmuR3aHfSS/M5bdBoPonsJpOFktwhNo7EWwve0V/2Qntv1mbUFicMDHeyfruMXRSXwAoTUSB77sTm2nP+jOnrOtf1ttWCjpneHgTaZCRJmzkei+oGguAgijooFyzQpU5Ny8q1FJfhgk4y2DjYfz0aQKj5+qjPzdjXD4kWvNLWUIykLcenN+icvAQyBkgT7XkGjSDlwcxiFvhplQbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3722 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 34bf416b-aff7-4ce2-9a73-08d866c37f53 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cgeXu1aH93Gm/pJ1Mnl7ZchhF7vQfYMoVHiChN1zllK5MZ/2rysmQqmEEmYWmBYiUsgWtogkvYWuxx6rQn2u8eNKlGiAnnTGkZO+bZboSbE3sC5EFmG7OfGi4rtW6GZw3jMSzjiCa7kO20rmS+WnPLhOdd3SyVEsSJY6WZPBF4O2+fqU/OI1oevRPIjG7ULba42Q4T9Y+vot9ElCTadQ9AtQP7AvIzMcsppSEnYPgvZuqmtKj8ZkNZdbYdusdLLnOkwetnruLCuyzBNWagT0No5FYUaBa9uaclUtadAYcY0osEl/Oo4RvFah7BIMbt9kDxtnDPy5lGAQppKXqWEqcROvX7JFIgfc5NQwxiT8HphJyTQhv82C/AuQOJRfW2S563b2ahaFDfYCAtpVpF55OGfffXPT7as47bC0HppKwMQAtMh3toUpzG9VY1n/pkLa X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(136003)(346002)(39850400004)(376002)(396003)(46966005)(47076004)(82740400003)(70586007)(82310400003)(81166007)(8936002)(36756003)(83380400001)(70206006)(356005)(31686004)(186003)(8676002)(316002)(478600001)(5660300002)(26005)(86362001)(44832011)(16526019)(2906002)(53546011)(110136005)(2616005)(36906005)(4326008)(956004)(54906003)(336012)(31696002)(16576012)(55236004)(6486002)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2020 11:09:11.1995 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1163b4a5-0ddb-4d57-3e46-08d866c39718 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5630 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201002_070915_551146_3E1FAC25 X-CRM114-Status: GOOD ( 29.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , nd , Florian Fainelli , Madalin Bucur , netdev , "Rafael J. Wysocki" , Russell King - ARM Linux admin , Jeremy Linton , Linux Kernel Mailing List , Diana Madalina Craciun , ACPI Devel Maling List , Andy Shevchenko , Cristi Sovaiala , linux.cj@gmail.com, Ioana Ciornei , Heikki Krogerus , Laurentiu Tudor , Len Brown , Linux ARM , Florin Laurentiu Chiculita Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 30/09/2020 17:37, Rafael J. Wysocki wrote: > On Wed, Sep 30, 2020 at 6:05 PM Calvin Johnson > wrote: >> >> Introduce ACPI mechanism to get PHYs registered on a MDIO bus and >> provide them to be connected to MAC. >> >> Describe properties "phy-handle" and "phy-mode". >> >> Signed-off-by: Calvin Johnson >> --- >> >> Documentation/firmware-guide/acpi/dsd/phy.rst | 78 +++++++++++++++++++ >> 1 file changed, 78 insertions(+) >> create mode 100644 Documentation/firmware-guide/acpi/dsd/phy.rst >> >> diff --git a/Documentation/firmware-guide/acpi/dsd/phy.rst b/Documentation/firmware-guide/acpi/dsd/phy.rst >> new file mode 100644 >> index 000000000000..f10feb24ec1c >> --- /dev/null >> +++ b/Documentation/firmware-guide/acpi/dsd/phy.rst >> @@ -0,0 +1,78 @@ >> +.. SPDX-License-Identifier: GPL-2.0 >> + >> +========================= >> +MDIO bus and PHYs in ACPI >> +========================= >> + >> +The PHYs on an mdiobus are probed and registered using >> +fwnode_mdiobus_register_phy(). >> +Later, for connecting these PHYs to MAC, the PHYs registered on the >> +mdiobus have to be referenced. >> + >> +phy-handle >> +----------- >> +For each MAC node, a property "phy-handle" is used to reference the >> +PHY that is registered on an MDIO bus. > > It is not clear what "a property" means in this context. > > This should refer to the documents introducing the _DSD-based generic > device properties rules, including the GUID used below. > > You need to say whether or not the property is mandatory and if it > isn't mandatory, you need to say what the lack of it means. > >> + >> +phy-mode >> +-------- >> +Property "phy-mode" defines the type of PHY interface. > > This needs to be more detailed too, IMO. At the very least, please > list all of the possible values of it and document their meaning. If the goal is to align with DT, it would be appropriate to point to where those properties are defined for DT rather than to have a separate description here. I suggest something along the lines of: The "phy-mode" _DSD property is used to describe the connection to the PHY. The valid values for "phy-mode" are defined in Documentation/devicetree/bindings/ethernet-controller.yaml > >> + >> +An example of this is shown below:: >> + >> +DSDT entry for MACs where PHY nodes are referenced >> +-------------------------------------------------- >> + Scope(\_SB.MCE0.PR17) // 1G >> + { >> + Name (_DSD, Package () { >> + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), >> + Package () { >> + Package (2) {"phy-mode", "rgmii-id"}, >> + Package (2) {"phy-handle", Package (){\_SB.MDI0.PHY1}} > > What is "phy-handle"? > > You haven't introduced it above. Can you elaborate? "phy-handle" has a section to itself in this document. Agree that it needs to be defined more, but it does read to me as having been defined. > >> + } >> + }) >> + } >> + >> + Scope(\_SB.MCE0.PR18) // 1G >> + { >> + Name (_DSD, Package () { >> + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), >> + Package () { >> + Package (2) {"phy-mode", "rgmii-id"}, >> + Package (2) {"phy-handle", Package (){\_SB.MDI0.PHY2}} >> + } >> + }) >> + } >> + >> +DSDT entry for MDIO node >> +------------------------ >> +a) Silicon Component > > What is this device, exactly? > >> +-------------------- >> + Scope(_SB) >> + { >> + Device(MDI0) { >> + Name(_HID, "NXP0006") >> + Name(_CCA, 1) >> + Name(_UID, 0) >> + Name(_CRS, ResourceTemplate() { >> + Memory32Fixed(ReadWrite, MDI0_BASE, MDI_LEN) >> + Interrupt(ResourceConsumer, Level, ActiveHigh, Shared) >> + { >> + MDI0_IT >> + } >> + }) // end of _CRS for MDI0 >> + } // end of MDI0 >> + } >> + >> +b) Platform Component >> +--------------------- >> + Scope(\_SB.MDI0) >> + { >> + Device(PHY1) { >> + Name (_ADR, 0x1) >> + } // end of PHY1 >> + >> + Device(PHY2) { >> + Name (_ADR, 0x2) >> + } // end of PHY2 >> + } >> -- > > What is the connection between the last two pieces of ASL and the _DSD > definitions above? > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel