Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1620170rwp; Thu, 13 Jul 2023 13:50:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlEjYsxcuaGDsXsy54aS9cuKs+APUDHPdv8fCi1NMkB3rDS7JJr119qgUMY7OH3EmtfPoc1r X-Received: by 2002:a05:6a20:244d:b0:126:d0e2:3fb4 with SMTP id t13-20020a056a20244d00b00126d0e23fb4mr2911557pzc.56.1689281440361; Thu, 13 Jul 2023 13:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689281440; cv=none; d=google.com; s=arc-20160816; b=biqBGc7JDRNFd4jt/zbcewZd1oPw1hY/aSGyLIhhUydufzXnAlXeUolmDif6fSBHtz nn95WuWo0Yd+aKcpIHB9gSVdeb/Z8PuJAHLBouZcX1BQaoutJ3uXGhP79aD2/oQfD1lP CLmzrRi8W0yrRyWND+71KPo/rd9MwOFK/hUle69FSX93cbzJNTawmYXmrklAAVA9bgBj Rj51QmASaRABw45k4l7g4Bhfqs05jcDsiYKoi5hBr+2+Vdqoyng3SnSmkIKUE+dWAL1Y N5y3XtzMBusPwDrhlcdNDTHOCtZoHUmf74N3USMGkC4nGRmLXjAhbendZtcIceqCH2Kw YDIw== 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:dkim-signature; bh=jsEwjRCLcUzZXVjUufRDoXbDL5QJ0GEeDAMUjtLbxPM=; fh=Wjg07KClx9kn7RdtBTHP7GianrmfE0XqOy2pSkR+WQg=; b=JE7B7G5qkLpJxF5ZbyEgfwMqQe1xAo3lchnN/MyAHZew2Zque/Bc4e2qGTBrZJxRwU sd/j47eDK/sFMxDrTvu7fGiB5LeFamGXtfatptMwJHZetinZbhltQ/OPUVAP+yA33yzq 7wFu+6GM59x1eBqaZmv7b44hvJGQSqlW4L09gn7hw91ZkdpbwMILzs92U0GhsYLXl/d+ UnRo43x3hz/J/B09o/h34CmSbshDXp70DnO+M8EPa9LOWJfFx4T2O7rbMm0qcukUd84e /Osv2ZrIKozBLptAEPp03uwzjCVzh1BYHp0V/TEz12piQnqtxEopXvj4peUIzQiM0wJ5 thKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=kju7V7PE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a656687000000b005538026cc36si701515pgw.152.2023.07.13.13.50.27; Thu, 13 Jul 2023 13:50:40 -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=@lunn.ch header.s=20171124 header.b=kju7V7PE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233024AbjGMUfv (ORCPT + 99 others); Thu, 13 Jul 2023 16:35:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbjGMUft (ORCPT ); Thu, 13 Jul 2023 16:35:49 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B395A2127; Thu, 13 Jul 2023 13:35:48 -0700 (PDT) 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=jsEwjRCLcUzZXVjUufRDoXbDL5QJ0GEeDAMUjtLbxPM=; b=kju7V7PEPoyZYwcaj6/YJxq9is Iau6NU8Es1Lugcj9hQS1apcDH3CmTlQTmDpsMpC1K6oaH7CHn299gjdRJLYlsB1se/kqIshH1Gh2k 73k61Kmf7R8nr9oAnCiPX/ujXdRs+kGPgqWj+OFLVUALiQXbRWsBS7IAWn3t49PY1okI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qK32N-001Hyd-CM; Thu, 13 Jul 2023 22:35:43 +0200 Date: Thu, 13 Jul 2023 22:35:43 +0200 From: Andrew Lunn To: Alexandru Ardelean Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, hkallweit1@gmail.com, linux@armlinux.org.uk, olteanv@gmail.com, marius.muresan@mxt.ro Subject: Re: [PATCH v2 1/2 net-next] net: phy: mscc: add support for CLKOUT ctrl reg for VSC8531 and similar Message-ID: References: <20230713202123.231445-1-alex@shruggie.ro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230713202123.231445-1-alex@shruggie.ro> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 > +set_reg: > + mutex_lock(&phydev->lock); > + rc = phy_modify_paged(phydev, MSCC_PHY_PAGE_EXTENDED_GPIO, > + VSC8531_CLKOUT_CNTL, mask, set); > + mutex_unlock(&phydev->lock); What is this mutex protecting? Andrew