Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10938410ybi; Thu, 25 Jul 2019 07:20:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzctfS/jUMXbE96gSiMbvvtWTgkrb3AESknqenthQR9mE/zno3zzYy1+92L41YpwgumXsUq X-Received: by 2002:a65:65c5:: with SMTP id y5mr85736681pgv.342.1564064437688; Thu, 25 Jul 2019 07:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564064437; cv=none; d=google.com; s=arc-20160816; b=tfZwoQ94MphxbRoW7G4NP5pFDT043VNysdZDfkarP9D7cpguKu+Phebe8ErjVidv3a Te19DWbbl0LX9CtQdQ3I3HO8OTIjyCijxJHeG6ETR/v6ZS8LKCWX7POud/FUjGDPGllx BdCxmYghWtzFSFmkR8gYgGxqi4lPQoGvSQVAkIEr8kMIl5jA4hFU5kL7n+xZ0XpJIq1N KRCv1LyQrqhL1u2az13i4h4WQSeapd/Ipa+xpu7bYk6841UirSkZGSarJTW9KXhUV5U8 r//gYZ7UdAE6ik/FXxMqnc2zLqC0/TAxu3qAgMt3K2AcLZjsyXkyCqgY3hB1WbzfRWsL 3CiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=GSWWwwfAuGMOxLim/QOcmj6rdEsOcTxSFDAaPhk1/Yo=; b=poKmeVWvCiKumiQXWMmqY0nBrMIApRDiqq4xcQ7B6pa/uo2VI40bPmyWOtKe9pCBfB Z/XJmvmVu/Kp07siUyrqTzhYBUFyJpmCg9/jQojBIB+hO6ZktdvOUtO3KGJ89Rz6keZM YnLHaHpOIOelsp0J1sa5wlF3WWrCLXMzOv+e6MBLIgFWVyFhwcRJzuNDtBKAJfe12qWq NWqeEiOt95ZUc+b5g6v6Ma1rlel7akgfr2dZP0yX9U1JO008jFJihAPdwJdQ00JFs/2Y zjxeQuo3vHhZOSNyEuEM1xZJXKTdfRWmVyaHSz+Tr10E2mr7/O6WH/9AjJIxlqurmFoM 6m8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j192si19654606pge.393.2019.07.25.07.20.22; Thu, 25 Jul 2019 07:20:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389200AbfGYNhx (ORCPT + 99 others); Thu, 25 Jul 2019 09:37:53 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2488 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387959AbfGYNhx (ORCPT ); Thu, 25 Jul 2019 09:37:53 -0400 Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 5CB8B7FCA28AA3ECAB45; Thu, 25 Jul 2019 21:37:50 +0800 (CST) Received: from dggeme760-chm.china.huawei.com (10.3.19.106) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 25 Jul 2019 21:37:49 +0800 Received: from [127.0.0.1] (10.57.37.248) by dggeme760-chm.china.huawei.com (10.3.19.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Thu, 25 Jul 2019 21:37:49 +0800 Subject: Re: [PATCH net] net: hns: fix LED configuration for marvell phy To: Andrew Lunn CC: David Miller , , , , , , References: <1563775152-21369-1-git-send-email-liuyonglong@huawei.com> <20190722.181906.2225538844348045066.davem@davemloft.net> <72061222-411f-a58c-5873-ad873394cdb5@huawei.com> <20190725042829.GB14276@lunn.ch> <8017d9ff-2991-f94f-e611-4d1bac12e93b@huawei.com> <20190725130807.GB21952@lunn.ch> From: liuyonglong Message-ID: <908373a2-68cd-51c4-df11-499c49d80ae3@huawei.com> Date: Thu, 25 Jul 2019 21:37:48 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190725130807.GB21952@lunn.ch> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.57.37.248] X-ClientProxiedBy: dggeme704-chm.china.huawei.com (10.1.199.100) To dggeme760-chm.china.huawei.com (10.3.19.106) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/7/25 21:08, Andrew Lunn wrote: >> You are discussing about the DT configuration, is Matthias Kaehlcke's work >> also provide a generic way to configure PHY LEDS using ACPI? > > In general, you should be able to use the same properties in ACPI as > DT. If the device_property_read_X() API is used, it will try both ACPI > and OF to get the property. > > Andrew > > . > OK, thanks very much!