Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10921395ybi; Thu, 25 Jul 2019 07:06:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB+FcjbeaTtNNs8Zrdn2fQECS+97CScZWPwz/fgpNmbZlON9NcJB4giPnAM2uRZvFbB086 X-Received: by 2002:a17:90a:b115:: with SMTP id z21mr30980814pjq.64.1564063606169; Thu, 25 Jul 2019 07:06:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564063606; cv=none; d=google.com; s=arc-20160816; b=jWyeWJ27PjDkiwSwcbDvRDplxC1nlFw/hDLySpKDQPMoEvnVR31u7zc4wJoF1yrOOV VMX76aYnH9eE4HHAv3eJIqKC4vpYBYbJoWc/VhFT0fP/oBn/yC0bRtT6BAJ9cqQlbvgv AhbKMExLOduae6gVazm1PJlmIsQPCdN4G9PhmnkJ1kLNIm4vRg/rmdX/QbbfO40jffUo L+XMyniVJWUw9M65FAXvjYMf+ln+6PbftE85WWm3+WdpT4ja/oXDbl2fsgf683/A0YjH SFY9U35PopVw9ULQHG5k7mZoM/PHpOaWfu1OLSqD18zEpFHvBwhwlqdQ7tvs8hFzTR7d LmUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Um9HOmZgnXVVQVKGE6OESVzPLL37//DOWNy4+nthSFo=; b=YWZfr+TBEuC0W4Bo0mlioJm6UIxssC4/yEPxxzjYbRvImTgb8CU50geeg4Cj3yLhex MFEsx+IbqptniTvmrFfiPH3B1WDvjcs0KGrha9TwIzgayLvHGk27Hpv74ELOfKzwhycZ P1FscGgaHYth8Ry4c0cnWhlV6FicLA3eFLJ9I8Nv5EbulOznvJbDOKkggi1GwkedB+EX jRj8QoVOvx+1nrnFffuxNxMXWnoosOTnArd9FaK8AA/c0OdCSlADh1VUgBne9mGHpahD HhIoBokT+0KV6AOsWAPR9WghBpWUlnbN3pAPPo29sPMxDFd9bKEkKV4F04Tcot++PVe8 ghUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=WQ3X6wSt; 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 s36si44190610pld.164.2019.07.25.07.06.30; Thu, 25 Jul 2019 07:06:46 -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; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=WQ3X6wSt; 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 S1729705AbfGYNIM (ORCPT + 99 others); Thu, 25 Jul 2019 09:08:12 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:37050 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726802AbfGYNIM (ORCPT ); Thu, 25 Jul 2019 09:08:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Um9HOmZgnXVVQVKGE6OESVzPLL37//DOWNy4+nthSFo=; b=WQ3X6wStXGAfOB1hhX7gCcT2xJ B5zI5SsXb9PX0pepOt1V2YcDWwPD23vS/6D3Qsy7yivWWUVvmhfK0Dbpka5u9kWZtDUmIsph3SDb+ rTYakGPXpEZwjxSzn+b2JmkpX4XiZ62nrl6PUwxDrlPxdVlHe2YDzJGkMVfu6BM8IrW0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hqdTb-0005nm-Q4; Thu, 25 Jul 2019 15:08:07 +0200 Date: Thu, 25 Jul 2019 15:08:07 +0200 From: Andrew Lunn To: liuyonglong Cc: David Miller , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, salil.mehta@huawei.com, yisen.zhuang@huawei.com, shiju.jose@huawei.com Subject: Re: [PATCH net] net: hns: fix LED configuration for marvell phy Message-ID: <20190725130807.GB21952@lunn.ch> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8017d9ff-2991-f94f-e611-4d1bac12e93b@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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