Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2274254lqt; Mon, 22 Apr 2024 06:37:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfJiAqHDcqe0/PXMksaPcaxVIw6fNF9A+73RfLzFcClVQIFWu9iHZmiCJTvMgClvIY7rK1ZjkTFZqzYloyKtCLD34xfHkQl306oaneOg== X-Google-Smtp-Source: AGHT+IFgZPvjzDrsy3D2DtmITiNKMwb/l3R4KsPb1oI5AmVG+OVx1YZqtZP9NEy/9cP6HlyeeI1f X-Received: by 2002:a17:902:b187:b0:1e4:17e4:3a30 with SMTP id s7-20020a170902b18700b001e417e43a30mr9034020plr.31.1713793030869; Mon, 22 Apr 2024 06:37:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713793030; cv=pass; d=google.com; s=arc-20160816; b=vnK9zZu7GmDJOtWWMnCxLLAG/p/5mWl3cqU2veMSG/toS6HEvoLbwgLJWFTiv+P7EK AQp+bf6GmwgP3qE4DjsGWyfVlTb6ujKgjfhub3HgnuurGEJ7Ey/3ZBhyYdzE6Tglt8uR jN5zFMeg0DjuqkbESqypWlRTuVR12NVfMKqJ/dFFWOxwKz2Pz6hD7ibS3wSq5aJshTsx nVPBs9wzXF4IVh+8wqS+0qIiqXmhEh2AFUduFtOhkA/0/D62WXBOzBD3718xTy+fN8rj Q3wPS/TbXq3v8Um9DTFScoSaOaVQrpm9vcAGWBJpCSHygkY6hTPRI3YTKIpazHzEBkMw gKyQ== 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=cNswcMmS0UYfsHKzGlg9eZWnaGdsyWARoSLz/i+rBuk=; fh=t+VQ2nzNTq8VvvwZRpHSDybCQSsHFRN8PihDHC0Zx1w=; b=L+ZJgSTp2b1feRSpFBvcAK300PtPuyXcNgWEU3k0iwcxbmdtGLVxPR8OB2EhCR+8uN eeMErDGVtRsJ2fYj2DDY75b5rNt/+uQS8i1oi5YJRUjcBiukW+4ZsbHQu05s8FFqwFxj tQrzcUV07XqKxz1YjKZCp4kKQ9mT0u6PsZ4r5M3UwEdFzx2W/fPNFKZJP/ToUpXezK8M Uf4IzXlE/3JDszIJOWsTIhfwKpHiIieQf69u8Tsbej2nVsoGXUIfun2iTcAo3dji9Crs DfREo52PUmquBCOrtA29olFs9b1IXMr3RgVEw0g5HWIKmcIfAGrO+Q9gpGWRkyBI5tbp FrNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LkJ9hzO2; 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-153464-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153464-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n13-20020a170902e54d00b001e48565b405si7823437plf.522.2024.04.22.06.37.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 06:37:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153464-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=@bootlin.com header.s=gm1 header.b=LkJ9hzO2; 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-153464-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153464-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7E3D928170B for ; Mon, 22 Apr 2024 13:37:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18BD215216A; Mon, 22 Apr 2024 13:36:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="LkJ9hzO2" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 5702A1509AF; Mon, 22 Apr 2024 13:36:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713792971; cv=none; b=lmgMSnHOKJdHbCQlCHIxWxaVcmwhw6Zhrjc+t9YlEqkNBDGG+q4cNa0wMQONGxS7c4v1aubykC7uu7iRdzB78Mfh81XasX+EEVuZj8kZ9BYU8vm4XgRQWYkfnmHW0i1OsqihGtdFxIL80m8DWpgY4qlRG9IHgOpk8E00vWj5Q2Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713792971; c=relaxed/simple; bh=+w06Be0TAX3C5KYPO88oXI77bWnptU5o1vfpfDnP5CY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=si5GT/Zk2oPdEwPnr4Z5EEXB28mmzmPhpOk1LvqHbWDdQQc5G421y2lFyZCFh0gCpqqzKj73Q5O/3uO6YJBz+M9xrZy2L/0qdJPP2c/rlYOaLRMCtbB7JuziyXE5SyecieiwdJvRdyfzT/RwIsvwSy45R0yMhUWoLQL+THfShbc= 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=LkJ9hzO2; arc=none smtp.client-ip=217.70.183.197 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 428651C000A; Mon, 22 Apr 2024 13:36:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713792961; 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=cNswcMmS0UYfsHKzGlg9eZWnaGdsyWARoSLz/i+rBuk=; b=LkJ9hzO2NSwzw9itaFvpwdJx+aik2qdRH/KeHDycjZDHEE2UeLUPWgZQs2cF4XAa8hQOBH mKWT00mNYNx7zge54CVDzm79Ene73xxkts3IfBBJwKU36+3y7lKPUaO2kjXZbKCkKM2cND iuP80+12/YLfjalfmYtw+vGmyWXapRgidUoJtMoZHOXZ+kNZ8sKruXRH+oOnRnTlMMwviO 7PfqKSBKoVHw0oLTA/SHdsvYW6bgTynr4djRBDUhMHMiw9LhnS07dMgboAzXk0miWs/pw9 IEU5bfsVYL0o95bECyMp47YlblmI3r/aEW+MRuNTtz6eNuRfVHDQ8UGctj9s4A== From: "Kory Maincent (Dent Project)" Date: Mon, 22 Apr 2024 15:35:47 +0200 Subject: [PATCH net-next v2 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-v2-2-e58325950f07@bootlin.com> References: <20240422-fix_poe-v2-0-e58325950f07@bootlin.com> In-Reply-To: <20240422-fix_poe-v2-0-e58325950f07@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 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. Reviewed-by: Andrew Lunn Signed-off-by: Kory Maincent --- 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