Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2243412lqt; Mon, 22 Apr 2024 05:55:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQAsnC+F+JxxKbaxZG57tZcba+alkkIq0ilxCKh4AZ5G7SHwWZmtj4FyxB9An686L2PGPsza4USmgGJ8U1tzZL+AVwFH+QmCmr8GuRmQ== X-Google-Smtp-Source: AGHT+IFwMC2d3dsQjTtZEGuLY72l7QFih8v9n06ksWmNSwRJfK/tCAnU8jPlXJGyQnha1OOievRP X-Received: by 2002:ac8:5ad3:0:b0:436:63ae:294c with SMTP id d19-20020ac85ad3000000b0043663ae294cmr10182735qtd.23.1713790520313; Mon, 22 Apr 2024 05:55:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713790520; cv=pass; d=google.com; s=arc-20160816; b=OUU3WdIaiPCyASHUvMFBZ7HetA3s61Uh8oqTV4my8DdTAp/Nx/vF5sGk6psy3swHFX XU+RM1CHHojNBleGP4aYmyTqha8XQU/sXDk5w9t+bWmh1Tp8b9l5F62zGJpUirU2p/N/ YgAs6XUl5UfgJkQlW73WNeJy+XfEusxMqC02oXHe2A6OAGc01nI8UdD0zUy8pYsgph12 25M08DNgyvnN41tJTiu3FEBSX3+ZTNIbPzdIrW7ntOe5aXodfQol7VFOxRItJsDYtJ7S H3w45pLzxuxOAy26mXg51542ZGH0vK1o+nIK7pBBT/fgHsC3pEGSSxwgstdlH/KanB2D G24w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=qfes+4t5c35ODiMlxWYaLOGHAams96sWxDZfek9UqcU=; fh=WU0Iw8GNgC07CID8O4f9aRge4qi46F4HskcbPu4iNoQ=; b=KzwpNHK0TgTYMJGXO67+n8E+VZ9wM4MfgasIIv0XE0+8zRgsmrXZv7a7kknT1pf1o5 eHyGbYcwfh/b/looF3qbu5qnFbr4XaLyJewCvB/D7F2FJc0ksFeGw1bgB2Z5Y1uF9BkQ A3FW/k9RqUgWfsylhmVkOtWIv0I4WfrSf+eg09K0E3+g9Cv32Lr3ZWRa8Rk/Dzx/2ypT 6LN6cZuFHXjPJ2asc4iR2G0pH2UIfM+Tn8U5G4frXgNW0SdJM7WpFcCgGn5E1thpclrq N47vf2Ew3Is/ZYOvZ/i4C8ylra0JzdN1aHI3r6vcyIp2LZAuhgnFChokdh86zqSjXfKm 4SaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="XZR3t/Fn"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-153390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m18-20020a05620a215200b0078d67a8f4b6si9848775qkm.541.2024.04.22.05.55.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 05:55:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="XZR3t/Fn"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-153390-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C76E81C217EF for ; Mon, 22 Apr 2024 12:55:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BA16153BCC; Mon, 22 Apr 2024 12:51:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="XZR3t/Fn" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 EEFA514F139; Mon, 22 Apr 2024 12:51:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713790278; cv=none; b=EoRfFDYsnzOE7kjzBsiFqA5LiPRJLy5sB1IgpLgdBsLJWkg1XIDIFc8+MgicIXBMVVfppPh4t0P9IaD1y2K3hZHCfFvT7NunycbueZBPwYdqWOD+lR1KbJGGTyZrEpr+BBp0gDX4DQpEXD1SGyCahKQuEGnpTBoQlFtkYATuM4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713790278; c=relaxed/simple; bh=pZup6IX9whDC+GUqv8toQf9MbWPsLL+BwlekArhfqug=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lR6Y6W2ycrRqYc2IJae6PYDVW8tozYK+5SkTfCvzrssZ+xWMbpLSvdwoeR4B2pwBubYEuv8Uz3HIbCecMnduLDu2CJXCy2xnC1sonj4NhhtQDu8WckeNgeKlyppPUyQB5VaQJIlVBJ8a552ut+l3Jc+Bffr0xKqpQdKZly+MX6M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=XZR3t/Fn; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 123586000B; Mon, 22 Apr 2024 12:51:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713790275; 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=qfes+4t5c35ODiMlxWYaLOGHAams96sWxDZfek9UqcU=; b=XZR3t/FnPPfN3XcwEk19O7PvefnlYGOa/C+pp/E2iMomhu/Jt4OEkXRMtP0vu0RPOTr8lT 54K0f3eVNqrh6arEQkVgDEfBNAIrbVx++qTbwwb7etthC5Y10knbK7/TD1Lq/GM8aMAi3V kfJTK0RJC9bKuaABY3HWXew8tQdkdnq5lBj2ThLvfl3sMmV3nSG/UbOT5EWV/HXsAVCh62 H1PWHuqhaynv0QljE40GqmH014aaXXUBHdTwFTZ1TZFDZW+tqVm8b4Dneh1BuJfSyoWFEz nrhfbE/RpxySuESH95xiBvHkFflHdYQ8QsZhLl9EqswOA+XbebiorfbzlrQzGQ== From: "Kory Maincent (Dent Project)" Date: Mon, 22 Apr 2024 14:50:49 +0200 Subject: [PATCH net-next 2/3] net: pse-pd: pse_core: Fix pse regulator type 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240422-fix_poe-v1-2-811c8c0b9da7@bootlin.com> References: <20240422-fix_poe-v1-0-811c8c0b9da7@bootlin.com> In-Reply-To: <20240422-fix_poe-v1-0-811c8c0b9da7@bootlin.com> To: Oleksij Rempel , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn Cc: Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Kyle Swenson , "Kory Maincent (Dent Project)" X-Mailer: b4 0.14-dev X-GND-Sasl: kory.maincent@bootlin.com From: Kory Maincent (Dent Project) Clarify PSE regulator as voltage regulator, not current. The PSE (Power Sourcing Equipment) regulator is defined as a voltage regulator, maintaining fixed voltage while accommodating varying current. Signed-off-by: Kory Maincent (Dent Project) --- drivers/net/pse-pd/pse_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/pse-pd/pse_core.c b/drivers/net/pse-pd/pse_core.c index bad29eaa4d01..795ab264eaf2 100644 --- a/drivers/net/pse-pd/pse_core.c +++ b/drivers/net/pse-pd/pse_core.c @@ -294,7 +294,7 @@ devm_pse_pi_regulator_register(struct pse_controller_dev *pcdev, */ rdesc->id = id; rdesc->name = name; - rdesc->type = REGULATOR_CURRENT; + rdesc->type = REGULATOR_VOLTAGE; rdesc->ops = &pse_pi_ops; rdesc->owner = pcdev->owner; -- 2.34.1