Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4269359rdb; Mon, 11 Dec 2023 14:06:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFREFH77ZxmXTVvIDKZMskmOGL0Q4p8nQoP87rs5HScvl+u/e9i9qmx4zppolqKz5VF9W9s X-Received: by 2002:a05:6e02:18c7:b0:35d:61e2:16ed with SMTP id s7-20020a056e0218c700b0035d61e216edmr8403038ilu.9.1702332364507; Mon, 11 Dec 2023 14:06:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702332364; cv=none; d=google.com; s=arc-20160816; b=c3jLZqRi1hGicgw3pDi7LpImRBFCpnrZj8QVCks2DRBy5wtAnVeAEBeHTmrUrd8cdP jhXTXV8fYk38VQDftlWQ+ariEX1E+i7m5jo29pxxE8I5XtqIzJ7N7rn0BIa7tf8GVH/f mrncRrhP10nwUbE/QIcvMfOJvSrRVmZ4zy5lQWja4QoV97J27QZPQCXWTv1CrBlhlbJy 6k/2Aii3Db4r2jkdjKTmts2GR97IfKo/9INuKLDidEY6kGRrgNiOJCbaGYqyudvwE6/V NpkCxnwnEwOmSbLg8QuXU7dbNNqJ7p/K5xftxiwHgKPwjv7iDO0zYP9MWDPp3xEzRn8f ehBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=gRG+0j+PaEWbc00lYWrHEM71GHnE7+2xy46dzUKjWyw=; fh=64jgZxYKysyFW/Iaso8Gz/7x7/gWc5wui/huxc8igPI=; b=i0FYtUHm0SdLLk+OSlf5s/kvXuIfFGwfmxuwFUkdTkSn4V5h49k2iEWAIMzgL3jUAF iRIUsWaeVjOXr/WCp8ft7zVenhHZqxpbc/ZT/615RIwCMgzsBjOVW7U72doSr5Go525I qP93+3I/kiLfwz2nuzOsmiOQNdfuGQhlNXGKi07nn3j8XJxqjTOV1mTjciZfqr+lX73S Akb3lghpLxABMqMxJifNFXUzupFPuxMvANy1KJv22w18Z1MtW+Kyg7+WJseYKNVhf0WB UmdZmZb/7SVyx5HCsJnbbYOZBjrECpT6qwe1ZeS9vjgZPYIU96wVO8Jg4NlpYQZDMo+b YFBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EnBgkwTB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id e6-20020a654786000000b005c6650f66b5si6472469pgs.267.2023.12.11.14.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 14:06:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EnBgkwTB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 97027809F884; Mon, 11 Dec 2023 14:05:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345529AbjLKWFr (ORCPT + 99 others); Mon, 11 Dec 2023 17:05:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345542AbjLKWFl (ORCPT ); Mon, 11 Dec 2023 17:05:41 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69E7BA1 for ; Mon, 11 Dec 2023 14:05:48 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DF18C433C8; Mon, 11 Dec 2023 22:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702332348; bh=bloHMn43vn2xcYsWUbR9nrxraHhVosF2Fsoh1X/v0ak=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EnBgkwTBQrn4TocAdIBg9b1jOpPzMhTzGDQH4EfIh5fUy7R27G6XK/S6nJaEa5PZP EUVojR7pR30i6qv5U02DVimYJ0xzHOCKICpJZnmgSymnMpOkmS69ZS+zIRByd4ogK7 f/XIcfaULXdM8jSQwiPQcZ8cSQRN1dUVV3FYvpK+b3KIimU46AQ4r8iU5/rJC2OFJo ZiEu6/6BqIBujpN7sE6Gu8Ejx/W7oHqV3Xr6b7MTJquofKErK7Y+Rz18SSjMPj5oky rq9lfFPvYcQnjX3hyQ1zvMfWxqx4y/CBjpCVFySxa1jF7ZCnbD8yi1HdOPcEhslaJ6 BPcVSewokwbsg== Date: Mon, 11 Dec 2023 14:05:46 -0800 From: Jakub Kicinski To: Christian Marangi Cc: Lee Jones , Pavel Machek , Andrew Lunn , Marek =?UTF-8?B?QmVow7pu?= , "David S. Miller" , Li Zetao , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Daniel Golle Subject: Re: [PATCH v3 1/2] leds: trigger: netdev: extend speeds up to 10G Message-ID: <20231211140546.5c39b819@kernel.org> In-Reply-To: <657784f6.5d0a0220.617b5.20ee@mx.google.com> References: <99e7d3304c6bba7f4863a4a80764a869855f2085.1701143925.git.daniel@makrotopia.org> <170142826116.3357002.9561246405642038358.b4-ty@kernel.org> <6577315e.050a0220.50f30.0122@mx.google.com> <20231211084656.26578d89@kernel.org> <657784f6.5d0a0220.617b5.20ee@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 11 Dec 2023 14:05:59 -0800 (PST) On Mon, 11 Dec 2023 22:53:55 +0100 Christian Marangi wrote: > Soo that it's problematic to also have on net-next? (Sorry for the > stupid question) Unless I pull from Lee the patch would be duplicated, we'd have two commits with different hashes and the same diff. And if I pull we'd get a lot of netdev-unrelated stuff into net-next: $ git merge f07894d3b384344c43be1bcf61ef8e2fded0efe5 Auto-merging drivers/leds/trigger/ledtrig-netdev.c Merge made by the 'ort' strategy. .../ABI/testing/sysfs-class-led-trigger-netdev | 39 ++ .../ABI/testing/sysfs-class-led-trigger-tty | 56 ++ .../bindings/leds/allwinner,sun50i-a100-ledc.yaml | 137 +++++ Documentation/devicetree/bindings/leds/common.yaml | 2 +- drivers/leds/Kconfig | 21 + drivers/leds/Makefile | 2 + drivers/leds/leds-max5970.c | 109 ++++ drivers/leds/leds-sun50i-a100.c | 580 +++++++++++++++++++++ drivers/leds/leds-syscon.c | 3 +- drivers/leds/leds-tca6507.c | 30 +- drivers/leds/rgb/leds-qcom-lpg.c | 52 +- drivers/leds/trigger/ledtrig-gpio.c | 26 +- drivers/leds/trigger/ledtrig-netdev.c | 32 +- drivers/leds/trigger/ledtrig-tty.c | 247 +++++++-- drivers/tty/tty_io.c | 28 +- include/linux/leds.h | 3 + include/linux/tty.h | 1 + 17 files changed, 1247 insertions(+), 121 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/allwinner,sun50i-a100-ledc.yaml create mode 100644 drivers/leds/leds-max5970.c create mode 100644 drivers/leds/leds-sun50i-a100.c