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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26238C74A44 for ; Wed, 8 Mar 2023 18:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229866AbjCHS5H (ORCPT ); Wed, 8 Mar 2023 13:57:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229718AbjCHS5C (ORCPT ); Wed, 8 Mar 2023 13:57:02 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F630B1B02 for ; Wed, 8 Mar 2023 10:57:01 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id o12so69663032edb.9 for ; Wed, 08 Mar 2023 10:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678301820; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5UN4FXZh9obV93C6xCot0TbkN0Vab2XDWkrefnJoiU4=; b=OsBg3IELTXJR9KbMHD+CW92mtVS2p3Iw8D2yJuwccrL+uvO0CzxhEa4I28viBDi/kB OCcRF2pYOJA6VGy13SjHzZC/eZ/3mkXZDveXIyPZnCmcwRADFE5hhBOWSQZn/vDBgQCx DGyVPpY9wDHQ6+wk5oVGfPUTrFJ/E1bx8omhk6s2HmbXAgQffo22EYlL/f2wwiWYW4uk ScxtLikIexiL7kyh8j2dJrQ3HAFydWxSqdTsCz05XmdqM0Zq4Rqq/UjM6g6t+jtoZwFB 8AlA8/qdaHyCkD29RmirjtYXE0IV/iCmEYFmNzhyl1T203S+gE35rxmQ6bgpRf+p5nrB GOPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678301820; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5UN4FXZh9obV93C6xCot0TbkN0Vab2XDWkrefnJoiU4=; b=OWuHFHvX0OpZpgHA2aL3ioWB+rW4l5rdT6SkNunQmK4xqMVckAJq/eTjSM1RrIWRpM RZTME2Ak8h8dgQX+vtgOJVCRExysMSGY944jZmzIE1OLn07LHUEeBXQ5V+aoranFjR4U d9q4Rgtt0+7dzZDoaJcnjzjFiSmPTmt947cagWXF7QTK2Y6t4lv9fgTphKrzGUUrDbie U+6I0T3EhYg4NfBkZHRj/Rh0q7QQ8PfHmf4DTv6varN2aOUwIkkb3icFUDUqltUQd7+P OSpFFdvJ8B4DGUpk5t4SrjzNRhOQpJxnq0Si2s4LcSm1M3xUB/4K70tEsQXGz9BAs4P/ PSPQ== X-Gm-Message-State: AO0yUKW+0a5ijOpJOkanO30dHLkYWcjnFa5NzIukvLA3yr5paRJkLm7l 2pDBJH5EJd420lhRt188c/zxaw== X-Google-Smtp-Source: AK7set9OaszX5xG/ljtpzabnCZNFiVVjnu96q6Mk5l6tqfbc0Obpl5Z63/ymt/n2yWMdbJtocJWM4A== X-Received: by 2002:a05:6402:1345:b0:4af:6e95:85ec with SMTP id y5-20020a056402134500b004af6e9585ecmr17161882edw.4.1678301819820; Wed, 08 Mar 2023 10:56:59 -0800 (PST) Received: from ?IPV6:2a02:810d:15c0:828:ff33:9b14:bdd2:a3da? ([2a02:810d:15c0:828:ff33:9b14:bdd2:a3da]) by smtp.gmail.com with ESMTPSA id ib21-20020a1709072c7500b008cdb0628991sm7880226ejc.57.2023.03.08.10.56.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Mar 2023 10:56:59 -0800 (PST) Message-ID: <7c6a70d1-fd64-66cc-688b-3e04634066bb@linaro.org> Date: Wed, 8 Mar 2023 19:56:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [net-next PATCH 10/11] dt-bindings: net: phy: Document support for LEDs node Content-Language: en-US To: Christian Marangi , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Heiner Kallweit , Russell King , Gregory Clement , Sebastian Hesselbarth , John Crispin , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lee Jones , linux-leds@vger.kernel.org References: <20230307170046.28917-1-ansuelsmth@gmail.com> <20230307170046.28917-11-ansuelsmth@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230307170046.28917-11-ansuelsmth@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/03/2023 18:00, Christian Marangi wrote: > Document support for LEDs node in phy and add an example for it. > PHY LED will have to match led pattern and should be treated as a > generic led. > > Signed-off-by: Christian Marangi > --- > .../devicetree/bindings/net/ethernet-phy.yaml | 22 +++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml > index 1327b81f15a2..0ec8ef6b0d8a 100644 > --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml > +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml > @@ -197,6 +197,13 @@ properties: > PHY's that have configurable TX internal delays. If this property is > present then the PHY applies the TX delay. > > + leds: > + type: object additionalProperties: false although maybe this was already said in one of previous ten reviews... > + > + patternProperties: > + '^led(@[a-f0-9]+)?$': > + $ref: /schemas/leds/common.yaml# > + Best regards, Krzysztof