Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1727190rdb; Wed, 31 Jan 2024 07:24:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAf9IpadBoTg8e8OKKy3/6IygRF2UQAY75v4Mgs+PEwjrxqV9eBsfBfjVbktTb7NfUqiT5 X-Received: by 2002:a05:6871:318e:b0:210:e860:c500 with SMTP id lv14-20020a056871318e00b00210e860c500mr1640859oac.42.1706714672427; Wed, 31 Jan 2024 07:24:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706714672; cv=pass; d=google.com; s=arc-20160816; b=rU1og0ViYEmYDAj7ts7iBI44Tm4nxbo0o77yja8kziJ4EozJq+I2/QUQz/NDT0/zYJ I0sEgJPPFU2cSP9cUBlqxETkZ0GuNab/yhWq6Opxs6DzYtWtvXffkdnDgcFf1pEedfxX RXzQT8BqpJPVsgqDgdAkTCjUe4z85Og0zsrLMtH3IhVKyHLxPVf6m+M/tOrAXCxoFzmn ySBeWmPlxRhQWWAI9QA6d4ofcG9mklRQZZf8ByPbVg6+eB6yz29uKp4c0Zu+BbSwstS9 AfTwFa74QK3gr6mZZw2vFPuULHCtNEg9gBBCdiY6VR4ismlSpVpgzNAndrpMkExcRr+x a2KQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jgq0nqHL6hJy8i/S2yhh41C+vCOE2itOZ8xdJIlt13k=; fh=Ma0thTkI3f7l5v2c+meDgNgacJZTAqOQUYL5YVVF9nM=; b=mpH0fdHWq/QzJo9QQFB4MvIOxUO5Z33ZRxGzwaQrP9k9qUGCjKt+8mSY4S5qtS03FU PvBEm7Gw5pSNKeuoDG75CPA6vvtzTW8XaFy6xQcmAHHuv8W9GfiQ+RkJgQiTdoLMatrX wJXzenVEWB5X03fg2a8o/5+Jw15OX6DRcx/EGiejBB+Xfxz6KhDNQ0hk10BZSSJC4Vgj KuxNjrsha53IPADhHPNOM9hstiSUDBO7QHUV+rYVC61wzUF1ivL7H5MoaLoXfD0VNimQ LduDcmJGbTXiKcb4C+2bJrtKtqR6UX6Ao5MYX1vJ3mT7gszn5KN5k08KJP7ba0qBLsGF cl4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=onpjRWH+; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-46697-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=1; AJvYcCX7UMzqBc43Ouf9XDC5nPAVoXU2QtDAABb7YZ8LickZcJ4QeEUQGr1DdDNc4ULy1sTv+5+yQ/qFVW6b5rdV7C9hV29GevMgDaefmGJX1w== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q6-20020a656a86000000b005cddb358d59si9683343pgu.824.2024.01.31.07.24.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 07:24:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46697-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=onpjRWH+; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-46697-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 028FD282E4B for ; Wed, 31 Jan 2024 15:17:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EED2C85C65; Wed, 31 Jan 2024 15:17:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="onpjRWH+" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 950955A7A1; Wed, 31 Jan 2024 15:17:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706714237; cv=none; b=T31uDpNzTWT3L/zW3eWwXfIwAiHrnod8E1D4vgs6kL1wmcyqDapOHFc0ctzE1sQU9+U/Wv3wXMQnuHEE5kO4BABhazKRr+88nsqZGuLA2p5cttJdPw2Qg82CIzN4aixU0u7IRl3TVDWL7fIzaOu1v3vgiyafnxanCDqK8kb+IPg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706714237; c=relaxed/simple; bh=hFGYNYSwKpaPbXeOXJB0apsWaOTWlpNeqIOPl+Y7Dds=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZQiedav+eJlhRlkbDPBDP7ng0LkpjyN7FXnYT2RM6XjqY7g6Ji4+5JFEZMWY4duWy6HVav4euymKEAaw75b63+zJcs4ahBtvrxQTz26N+cdIcbDcqF6THji9zLPQbxf8KIXO1Qao9rELx9I/TeNPkl/hPeeJKlKAPBu0uTxPmLU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=onpjRWH+; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=jgq0nqHL6hJy8i/S2yhh41C+vCOE2itOZ8xdJIlt13k=; b=onpjRWH+4TyRswys1smojkLyIW LGzMq2HZsiV88wa4/8WH6l+vpZxonQPmORWtIJZsfpK3SOvRZ5M1K9XLHyMNoLrDo+5AjYlbWbHXP zF5UH3+0JC0bgexAQCDjzXUoxyPct1v9pz0SaQXwefirPGHfAtKT+EaAzmpfp4sybtak=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rVCKo-006aoK-E3; Wed, 31 Jan 2024 16:17:06 +0100 Date: Wed, 31 Jan 2024 16:17:06 +0100 From: Andrew Lunn To: Dimitri Fedrau Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jean Delvare , Guenter Roeck , Stefan Eichenberger , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: Re: [PATCH v5 net-next 08/13] net: phy: marvell-88q2xxx: add support for temperature sensor Message-ID: <65071184-428b-4850-9e0c-baaa73513c6d@lunn.ch> References: <20240122212848.3645785-1-dima.fedrau@gmail.com> <20240122212848.3645785-9-dima.fedrau@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240122212848.3645785-9-dima.fedrau@gmail.com> > +static int mv88q2xxx_hwmon_probe(struct phy_device *phydev) > +{ > + struct device *dev = &phydev->mdio.dev; > + struct device *hwmon; > + char *hwmon_name; > + int ret; > + > + /* Enable temperature sensor interrupt */ > + ret = phy_set_bits_mmd(phydev, MDIO_MMD_PCS, > + MDIO_MMD_PCS_MV_TEMP_SENSOR1, > + MDIO_MMD_PCS_MV_TEMP_SENSOR1_INT_EN); You enable an interrupt, but i don't see any changes to the interrupt handler to handle any interrupts which are generated? Andrew