Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2195469rdg; Sun, 13 Aug 2023 13:46:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+2U5R7rvFwvm0PnCEpbQ3TTWuPirM93TmzDldzEQn8UVpF9eThTvsjUA1V+CtZ8O0gpGu X-Received: by 2002:a17:906:10cf:b0:99b:f3d1:7718 with SMTP id v15-20020a17090610cf00b0099bf3d17718mr6618924ejv.28.1691959593582; Sun, 13 Aug 2023 13:46:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691959593; cv=none; d=google.com; s=arc-20160816; b=O8RoiK3XpGC29B5wrjR0eo+0p7rMgMXLdIm/ankBbHuKk7YmGHITAgJURYRJFt5PNN EuUczQZMT9yaq95QWecrxJwX5g9dkfK54455icFJZU3dVIk2wOnz1tFMk+MNLjT4O2Uf 2PaVrdT1kVAXVOf/zst0363PQGDz9FLeAmpgQmszY67IGje+Qn1HVTKgcEHmc8Wz36ex aWq6bPW4jusidBNHKBcgjQPUHcySfGaFvhaRtdD5AsDj1Uh9yk5U6YbLrPMX8QFD23BC eQDotP1BOWbaZBuhIzARYlZ3v2FHbQEsulQCceu5b1HzmCWU5b1GV8wyi2cYjL64WSph ljjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=IokVflNheRTkHj7Za3adjcCwkF1ORX6cf1KXIKZ/2pw=; fh=YIL9cRzFvzXYi2tjTJgseEduJEjAnfCvnY+kldb/yPs=; b=k5MD56CE4T+7ytfh2EQzQRGLY5dRAKVpeyITLixYaG4iMGmmqFjOYSfQEVNBPpBt6Y rEnyAy1I8TW863i8EAhH87GeaRfMLSJewezCemnfytq9ELnDz7RL5iD0L/osDL4MIX9d vG2GrdcYcAgE/DLBssXrg1wuXzaYm8n2J7682K16UCqQEKGbx55aC3p0LDSqpUReHLzu BsYKytwYSIrR4by4pSIbF/ydl/iaCr75DUaTDA6X3cqJgePeWSnBlsUEMqxWaHKp4Zdh QIH5BSPqAUD1AueOiCLYapK4y7ASYFVZMI8twGkbt+ILuOi4clwrqeKzgOEl9fO0icf1 dHpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a12-20020a17090640cc00b00992bdcb72f0si6486618ejk.339.2023.08.13.13.46.07; Sun, 13 Aug 2023 13:46:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbjHMTFH (ORCPT + 99 others); Sun, 13 Aug 2023 15:05:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231270AbjHMTFB (ORCPT ); Sun, 13 Aug 2023 15:05:01 -0400 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72246DA; Sun, 13 Aug 2023 12:04:59 -0700 (PDT) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1qVGOJ-0000QV-0X; Sun, 13 Aug 2023 19:04:43 +0000 Date: Sun, 13 Aug 2023 20:04:29 +0100 From: Daniel Golle To: Andrew Lunn Cc: Qingfang Deng , SkyLake Huang , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next v2] net: phy: mediatek-ge-soc: support PHY LEDs Message-ID: References: <32e534441225c62e3bf9384b797d9beda7475053.1691943605.git.daniel@makrotopia.org> <8f20d427-91cc-4fbc-b263-dfc76df855f9@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f20d427-91cc-4fbc-b263-dfc76df855f9@lunn.ch> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 13, 2023 at 08:57:01PM +0200, Andrew Lunn wrote: > On Sun, Aug 13, 2023 at 05:24:55PM +0100, Daniel Golle wrote: > > Implement netdev trigger and primitive bliking offloading as well as > > simple set_brigthness function for both PHY LEDs of the in-SoC PHYs > > found in MT7981 and MT7988. > > > > For MT7988, read boottrap register and apply LED polarities accordingly > > Should this be bootstrap? With an S? boottrap appears quite often in > the code, so maybe the datasheet does say boottrap? Yes, datasheet and vendor code refer to boottrap register which reflects the state of the pins used for bootStrapping the SoC... > > Andrew