Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp196784iob; Wed, 27 Apr 2022 23:45:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNXhPKJG7VBaI8hhYXumBECFmBr9tmpndrcAf/uXW56Tett1luFyHspbsWza3QkY5WRKWD X-Received: by 2002:a17:907:2cc3:b0:6da:e6cb:2efa with SMTP id hg3-20020a1709072cc300b006dae6cb2efamr30277255ejc.169.1651128300686; Wed, 27 Apr 2022 23:45:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651128300; cv=none; d=google.com; s=arc-20160816; b=cj/fIVbF2SXLmtzkBA030Zxq6haGGjjoKORchxlYTcs7ls8awk+ye8H3dQFSUVVT5t fiw7E/XF8paUDfhKfqiO7meEN1mV5jXLHbMvbp36/Kvm1hB4qx2ZM3t3xHMfHzE+xtsY 4XybKK1GaZe+fgey1weTmonK8h6/MIBn59Iqs3SKb/Z39At2oU7jxJ1cNDHzZiFAxjtv kRklh+oYHbcir3L6/LtPSokgBDJ6pzcsRhQb+oIwA5b4NYt2FJbmAs3d38AOowdg2Vcs +1pPgqTSGDKPSTSLZPuv5optqzv156XU+3ci7tvQP7PcaGh0Uf25chdRQ7lAWx0QaVL4 bamw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=KZxv+ND74jZFakl/W5jjwXzeN0ncd5RrSaX/5eCEVgA=; b=oGKoyQtyM5W6nChKNzrookxZSwuwg6IuTS27T7PsMR1Qc+r/NGkOqxWrcLFNIXEBxU I5plaEJOLTNIfDice49bRr5IJqnQr1vPY3MOJLHsnY9fip7aGHxJStQ9iTfYCZVuPwdu 7uZ88mUgqXMJU0iMe0r8bty6bDzq1S46x1L7PEsyfiZL0ezgy0YC8qm3DbDaD+uxYuoz el662Hf7H8wDToXbr3GHgvwg79YCNpzaLt77jbFiNdHi6B+Nj0IOPpwJdmAg2aKXLc4M Db5mAck+pKSahS76FrKsztc8gttEItZP69vSC6SRgSR9MFAnk9ruxx7kLhaa1WbkKQ+5 DskQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=B67NSfE4; 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 ga22-20020a1709070c1600b006df76385eeasi2875640ejc.906.2022.04.27.23.44.36; Wed, 27 Apr 2022 23:45:00 -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; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=B67NSfE4; 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 S236213AbiD0WU2 (ORCPT + 99 others); Wed, 27 Apr 2022 18:20:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbiD0WU0 (ORCPT ); Wed, 27 Apr 2022 18:20:26 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5CCA496A8; Wed, 27 Apr 2022 15:17:13 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 4090B2224E; Thu, 28 Apr 2022 00:17:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1651097832; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KZxv+ND74jZFakl/W5jjwXzeN0ncd5RrSaX/5eCEVgA=; b=B67NSfE4oeqpT1dv3/7Wx1liIee+2qOveDspLbFHeBGtZUqKWhOlvbcBalqaA5+6MZR4Yc e+t0SkNIIb3wLH46nZmPtN9XcXj1O8ecvTAKo0SJJ6a1xNRpUkexqYzE1JlIhhVg2Pkj6k shA3Vnp29YarqdbrTqqYb/02hYT1ly0= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 28 Apr 2022 00:17:12 +0200 From: Michael Walle To: Florian Fainelli Cc: "David S . Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Heiner Kallweit , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v1 3/3] net: phy: micrel: add coma mode GPIO In-Reply-To: References: <20220427214406.1348872-1-michael@walle.cc> <20220427214406.1348872-4-michael@walle.cc> <652a5d64-4f06-7ac8-a792-df0a4b43686f@gmail.com> <635fd80542e089722e506bba0ff390ff@walle.cc> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: michael@walle.cc X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Am 2022-04-28 00:12, schrieb Florian Fainelli: > On 4/27/22 15:08, Michael Walle wrote: >> Am 2022-04-28 00:06, schrieb Florian Fainelli: >>> On 4/27/2022 2:44 PM, Michael Walle wrote: >>>> The LAN8814 has a coma mode pin which puts the PHY into isolate and >>>> power-dowm mode. Unfortunately, the mode cannot be disabled by a >> s/dowm/down/ >> >>>> register. Usually, the input pin has a pull-up and connected to a >>>> GPIO >>>> which can then be used to disable the mode. Try to get the GPIO and >>>> deassert it. >>> >>> Poor choice of word, how about deep sleep, dormant, super isolate? >> >> Which one do you mean? Super isolate sounded like broadcom wording ;) > > Coma is not a great term to use IMHO. Yes Super isolate (tm) is a > Broadcom thing, and you can come out of super isolate mode with > register writes, so maybe not the best suggestion. I didn't come up with that name. It's all in the datasheets and it's actually already used grep for "COMA_MODE" in phy/mscc. (Yes on that one you can actually disable it with register access..). Even if it is not a great name (which I agree), I'd use the same naming as the datasheet and esp. the pin name. -michael