Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10477835ybi; Thu, 25 Jul 2019 00:00:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfrTvfe2NQzhPKn0tgZfh+3q1tFD/3DCRTaMnaIWJazm14fKGIW7XgjN3mrWN+Vy5OJjr/ X-Received: by 2002:a17:902:6b44:: with SMTP id g4mr88942263plt.152.1564038048077; Thu, 25 Jul 2019 00:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564038048; cv=none; d=google.com; s=arc-20160816; b=hPCV06ZzrEaRYC3BILuF7KZxvgzYuU4N4Ax7v9RfIIKpXoVy6CJPrE1KqeGBydAFiT uzLaRiggpIF3edE2PBG4/w0vlIu4LtzZz8Xb1Y5D44LNjEv0MrnvROtcYZVQpNrRBVDj N2sWSm1JMMLS6klZm9FV6Ksum/0G3PQK/+yQBHKMcKWwfPV8ZXIjf+UIbqPw/l/nRDG7 eieMl6M6IzDO7Sq8zozPy8+TbN1My+xQvS10JuZFwQNSg+pqwmBs1c3OkJfRx6qXtqeH VOUUMLvvR25MsOojwxXgOFsGJUz3f3LewGyc+fNdYykqGkaDvIWUq8skAe5kHhMnBipf js1w== 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=8UfJ1ttmqGNmtyESzKj8Jgt19cAHcd/ikcVVUNVNk8M=; b=Ez8YSKKp3YSJ2nI9u3+KFabD6L4RGR07SpLDOG0PpQNk7Xovy5EvAisrhWyCmfLnRK RbV97NdeM0+EJ5JCGx4h+zoyE8xzJRuA2N+P8Hk3xy1wWy4CYWuKWieZl+lV90a01qBv pJPwU9ZlKDoWdGtZMxRFf6zd9gM7ixBNj+Z48suVd3seNv8vriP+OBerC0MDNdQ2/ZYm hUAWYvhJDVQYmfqDeg2HETu8BSaLbkOx47+6gqag/Kuc7R6SS1IFZXN/I6MyiW9mk00C 0dDI0vRdy8VPEaF2aUpoZQ48vSUiusH7LCg0Pz1QchedpQWI0Bc7qRTPnBoioBzwX9Ka NsNg== 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 g7si14009068plp.171.2019.07.25.00.00.33; Thu, 25 Jul 2019 00:00:48 -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 S1729283AbfGYG5o (ORCPT + 99 others); Thu, 25 Jul 2019 02:57:44 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:2052 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725808AbfGYG5o (ORCPT ); Thu, 25 Jul 2019 02:57:44 -0400 Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id 84A2A2D77354B4292889; Thu, 25 Jul 2019 14:57:42 +0800 (CST) Received: from dggeme760-chm.china.huawei.com (10.3.19.106) by DGGEMM404-HUB.china.huawei.com (10.3.20.212) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 25 Jul 2019 14:57:01 +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 14:57:01 +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> From: liuyonglong Message-ID: <8017d9ff-2991-f94f-e611-4d1bac12e93b@huawei.com> Date: Thu, 25 Jul 2019 14:56:59 +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: <20190725042829.GB14276@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 12:28, Andrew Lunn wrote: > On Thu, Jul 25, 2019 at 11:00:08AM +0800, liuyonglong wrote: >>> Revert "net: hns: fix LED configuration for marvell phy" >>> This reverts commit f4e5f775db5a4631300dccd0de5eafb50a77c131. >>> >>> Andrew Lunn says this should be handled another way. >>> >>> Signed-off-by: David S. Miller >> >> >> Hi Andrew: >> >> I see this patch have been reverted, can you tell me the better way to do this? >> Thanks very much! > > Please take a look at the work Matthias Kaehlcke is doing. It has not > got too far yet, but when it is complete, it should define a generic > way to configure PHY LEDs. > > Andrew > Hi Andrew https://lore.kernel.org/patchwork/patch/1097185/ You are discussing about the DT configuration, is Matthias Kaehlcke's work also provide a generic way to configure PHY LEDS using ACPI?