From patchwork Tue May 3 15:36:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12835938 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 54124C433EF for ; Tue, 3 May 2022 15:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VTCZO/G6IkJIJiTUKdmi/XLxxnGRI2WL43U8tWy7VNw=; b=FwuX97qaoP/rdh Crw3rw4OsOwiJ1wMHpVSA9mhirUeA1piboh/Jm6FQdVT10vKSvXSub5wS/zvZbCMmjfzCQR+dGzRI ODagKHSEI3RGZcOYfEN05pa66xM8qdOdyDCuwT+UcqNq+2DEM5fOWxUeZet/S1myZ3wYGIeVOnFlj FwOBaUGa8hs1mKEbq9IhdIi0802ZfhpOKQeow/WsZDIVRgwOL+veIOeKNcWLo8PirNvU/BfUP+8eg zU8xkoKmYS4vOZGS2eJ6WwtK4/AEMZ/BCUlWzJBHpT/1gljX5iw7O50dHL0K9UeXP0Ckfs3Bn0t9B AsjfL1DGQ7uavccFwAFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nluZs-006Wd1-OX; Tue, 03 May 2022 15:36:40 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nluZk-006WZb-1V for linux-arm-kernel@lists.infradead.org; Tue, 03 May 2022 15:36:33 +0000 Received: by mail-ej1-x62c.google.com with SMTP id gh6so34275700ejb.0 for ; Tue, 03 May 2022 08:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fyfBTzh+nFyMbqlorBpW+/oFJj2msf8ut26TogSSvvM=; b=pyhVKH4+3uZ6d9PttQPabTkfKS4X+4dWF25oJfqzuF0UBWLi0Qh3PD311mse3/+kJT MCIynAmMpEf7lKJfA264W06se7hD8mlEht1GJrvBiLo/4remn4u23N/Oy2GX0TV3mwLw cXAvk4U8DSo9EXYZS/5j4li449394sKNYq7599SJWuvpeCI5SHbQCVfc1/gUC4PLKZ68 VsOcDsoJplveU10eAHGclfyJaTAfmIuNzURqgCUGWUj/1Gfbpx345BZR36v9M2bzXvYJ tKSkDEBNFKTHL/KnvYwNDaiYG9m2ascw2Mzt0eWxChGPW2tlniVnpaEVOIFDxfspyWxZ 1OyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fyfBTzh+nFyMbqlorBpW+/oFJj2msf8ut26TogSSvvM=; b=wG1w0Ups2AG0AtI+gZwjwiXT6FGwSG0vsTo4bkwKiDq4eXTkVsC9bv11XurgVrZb6k dm9mWreOW9Kjmg7cakT/1eWhW4RcClLl4H89BH6nkPlOO3C3racw11en3s0h89jw6vyu q3YqW0IVYw/SkYgcIWtMcWeGqyboImMHNUn/T9hdGHCrMQdAUkaSgkQK6U+b8+R529Bs uhW90yaii4Rcx1woG4yau4K63y49R96sebUqKI4KbxZbIK8jt+6RF/uHMt9R2DeYgBVV 5lZ8bW1OX+aUe/TYyEfhTEKLvc92dNJHzKoBSBmMxvUkI6Kr2+1Avmi3RarqYKWYdk+B RNWQ== X-Gm-Message-State: AOAM533l24KM3umVv3f4u4Jdxu3YjggkrlvbwGA95UeWiqozH9CMi/nw ynQ7jmf+LNieG0zEtHKpuKc= X-Google-Smtp-Source: ABdhPJyAwf9o8XkpMsr1BZVKZJk9YsDNXz5DWxkF2Si8Xaj+V6Au0RL65+l7FDCQ9n9Y6rTD8QEvJg== X-Received: by 2002:a17:906:d552:b0:6f2:408c:e0bf with SMTP id cr18-20020a170906d55200b006f2408ce0bfmr16004655ejc.143.1651592190360; Tue, 03 May 2022 08:36:30 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id yl1-20020a17090693e100b006f3ef214dd1sm4693395ejb.55.2022.05.03.08.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 08:36:30 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Rob Herring , Krzysztof Kozlowski Cc: Pavel Machek , "David S . Miller" , Jakub Kicinski , Paolo Abeni , Florian Fainelli , Hauke Mehrtens , Jacek Anaszewski , devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 2/4] dt-bindings: net: allow Ethernet devices as LED triggers Date: Tue, 3 May 2022 17:36:11 +0200 Message-Id: <20220503153613.15320-2-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220503153613.15320-1-zajec5@gmail.com> References: <20220503153613.15320-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220503_083632_127705_4BED8BE9 X-CRM114-Status: GOOD ( 11.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki This allows specifying Ethernet interfaces and switch ports as triggers for LEDs activity. Signed-off-by: Rafał Miłecki --- Documentation/devicetree/bindings/net/ethernet-controller.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index 817794e56227..ec4679e23939 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml @@ -226,6 +226,9 @@ properties: required: - speed +allOf: + - $ref: /schemas/leds/trigger-source.yaml + additionalProperties: true ...