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 17D22C4167B for ; Mon, 11 Dec 2023 15:54:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344158AbjLKPyP (ORCPT ); Mon, 11 Dec 2023 10:54:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234927AbjLKPyN (ORCPT ); Mon, 11 Dec 2023 10:54:13 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE7CCBF; Mon, 11 Dec 2023 07:54:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=wVEjEb06rD+lG6dnUzenVA4WNOv1EJB9eXPQT0PIboU=; b=O66Rya1CBNfxt3AjlpLbQtJ4WS 5fsygvNy28wdoUQC5ZbwupD/G6B2rP+28++H2zukRXy/VAMRx7nFuUkbuULooa0UQ918+/RjAxgR8 e00JQYlPo21OLubrjy7m/z4IWi2/jcz/lbHjX5y3V3adslYgTwRFp66XMjQiiVbo01Bg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rCibk-002dU2-K9; Mon, 11 Dec 2023 16:54:12 +0100 Date: Mon, 11 Dec 2023 16:54:12 +0100 From: Andrew Lunn To: Christian Marangi Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next PATCH 1/2] dt-bindings: Document QCA808x PHYs Message-ID: <74b7fc4f-88d2-41c0-8d98-6530f0fc2d70@lunn.ch> References: <20231209014828.28194-1-ansuelsmth@gmail.com> <242759d9-327d-4fde-b2a0-24566cf5bf25@lunn.ch> <65772f36.050a0220.678b6.ef84@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65772f36.050a0220.678b6.ef84@mx.google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Mhhh with a generic property and LED core or phylib handling it... How > it would work applying that setting on PHY side? Add a .led_set_polarity callback to the PHY driver structure? Take a look at other LED drivers. Does anything similar already exist? It is unlikely that PHYs are the only sort of LED to have a polarity. Andrew