From patchwork Thu Nov 3 14:31:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 13030078 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 5D2B2C43217 for ; Thu, 3 Nov 2022 14:31:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231269AbiKCObc (ORCPT ); Thu, 3 Nov 2022 10:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbiKCOba (ORCPT ); Thu, 3 Nov 2022 10:31:30 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CE9C65FF for ; Thu, 3 Nov 2022 07:31:28 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id u11so2435890ljk.6 for ; Thu, 03 Nov 2022 07:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ev2PM3jAC+BP5gNCSxBm8Uq68nJ8Ls+zoXz+LBeUhJg=; b=dSx1XmcPIrMXx4+i4J+BcqqqfwRA94LH4eb31+1dTAl2CYVZd0DaZaUn8M5/waVRwS VzcXVQq6TL4vxdMgVhfBx8Wx/w48jDb0ugA21RPh3kKjjLGCvuo28uu/XoHMrgIAOie9 GXeh17LugPldClQv/XhUFvlJY0I1oF9A4dsfA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ev2PM3jAC+BP5gNCSxBm8Uq68nJ8Ls+zoXz+LBeUhJg=; b=J0o9usCEKM4iAeTLpihLT+XCP1uQa/1jo0MCabZ98R/MSj/x3uOYAsFwg2fdx1AJ/a F86jzG2YPUWFzGQiFxKPuENT7EdblYKM1DR34USflz54uog5I/SEX3Nmmn0DydMYE4Eu 1yiaWOi0HgRSRmrDnsKwieezsy3rc55JIC/as74FmP17J3SMUZ+KCVonLD+VSVdqBCzE yTDBV+95ubQaKtk84Kh+acdwuIQE6pwDIXJ0CQCvvKAWInourrxOfNpsbXQE4Dkc9fFm whQG8gSL0wZJewLeuSUbwuvlcNgMGMbf4ZzLxtbYqAYobZRHpsum3QWRJvPwE+oxiRig thlw== X-Gm-Message-State: ACrzQf1Wkaxs276Gwx9mEDIzig/hcbECHQfV4fNuc662ZHp0rMdmSrOK buDnPEPUKVKT7okT1y+ZAUKDvg== X-Google-Smtp-Source: AMsMyM5RhaVZ9gN5ISW/IDhmf+uuUKl5nAjk6f1y8xjCC7jeVOnJRUhV9g/ajBm3pJtEjk2uQl1waQ== X-Received: by 2002:a2e:9d4a:0:b0:277:86b:e23d with SMTP id y10-20020a2e9d4a000000b00277086be23dmr12124829ljj.193.1667485886789; Thu, 03 Nov 2022 07:31:26 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id a13-20020a056512200d00b00494643db68bsm151951lfb.78.2022.11.03.07.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 07:31:26 -0700 (PDT) From: Rasmus Villemoes To: Andrew Lunn , Heiner Kallweit , Russell King Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Rasmus Villemoes Subject: [PATCH 0/2] net: phy: dp83867: add DT bindings and support for active low LEDs Date: Thu, 3 Nov 2022 15:31:16 +0100 Message-Id: <20221103143118.2199316-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org We have a board with link/activity LEDs driven by the LED_0 and LED_2 pins of the dp83867, but they are currently reversed. Add DT bindings to allow specifying they are active low, and hook up driver support. Rasmus Villemoes (2): dt-bindings: dp83867: define ti,ledX-active-low properties net: phy: dp83867: implement support for ti,ledX-active-low bindings .../devicetree/bindings/net/ti,dp83867.yaml | 15 +++++++++ drivers/net/phy/dp83867.c | 32 +++++++++++++++++++ 2 files changed, 47 insertions(+)