Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3335313rdb; Thu, 16 Nov 2023 07:01:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IERy8LgQ60+ku2uLoDdqDlzcxGWJFONESOWmRUjeM1rsOgplZNUwtnJEJMIeh8xPe4Sub2f X-Received: by 2002:a05:6a00:1bca:b0:68f:f38d:f76c with SMTP id o10-20020a056a001bca00b0068ff38df76cmr14179536pfw.6.1700146859588; Thu, 16 Nov 2023 07:00:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700146859; cv=none; d=google.com; s=arc-20160816; b=vnj67mEB2ugZ7Tf43C6xjELMJEFJKJIubJryGKMr9ayaMpbFh4iCOsf6AKXsFPvtvn FDOKZrq1yVTp0WzgUE86BPMhequfR9Sxsoeg/wnfrVOpbGdJd4uK0/H1uwjPLvKq/ihO IpbW89n5cdn8NHeHgYulUNRfksrJ82hthUoFlOSgNVPRNO/u4FruMHuLliztoiV8NWz5 slmGDS4B9P8HrqA/0yWwFckQWpn/vXLs1duXNsoGION10hPLGUTZaxTWVue0Kk96FJqV y9axl0gLqgAoCPl2ykZX39+mrbq9rJyHo1B5KK6qAxnWMNtzvTsUdZzBNkB628BhBX2z cfJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=6qy2MqCuiLBtsbwy1ckkwuas5dPsRMMlijJE5oBD56M=; fh=Q4LGZDQvCn+rjYfbMwIcZyHa98QytuHq5BQTgjEtnbE=; b=Nb6Ea9HWaN9bTnV5/XPsQ58AfKpIcw8pVO9ZLB/jlseCyq94pccpp+NphU+yDl8e8Y TIY4xwniGhAoMvVf8MweT80Qa1InIfqo3lA2VTl4C+XC9BwuoYZ80rx4Un/MMdvkasM8 i/3I+ER13sxTxDsWXJ2oQCoPaNFwdVh4J9FGS68CGSUi1Dgioq7sZ9r4jPH9jqpJiJhU DexhlwpzEqAuH2+QyKgneX/2Us2BABi7wbPsYgBi86pwOEMSi/LnUu6Ap020kFFk/tPB iNbVNP2ZWktIEbQRfP8defp5E098Qt6UWJGMVK1K8hlYzsPxRoAw4Me2yLpWWBpZ0ih+ /9Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MVwYQt0J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id m4-20020a655644000000b00577680ccf1bsi12933654pgs.709.2023.11.16.07.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 07:00:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MVwYQt0J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1C42C8076172; Thu, 16 Nov 2023 07:00:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345368AbjKPO75 (ORCPT + 99 others); Thu, 16 Nov 2023 09:59:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345319AbjKPO74 (ORCPT ); Thu, 16 Nov 2023 09:59:56 -0500 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A816D50; Thu, 16 Nov 2023 06:59:51 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 83E6DC000D; Thu, 16 Nov 2023 14:59:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700146789; 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=6qy2MqCuiLBtsbwy1ckkwuas5dPsRMMlijJE5oBD56M=; b=MVwYQt0JYRhlqSzgnfvLCbmFCTe+TXvL4hhSXGCD8GBXuaIkrn49XazY+RWru4WJJ75Gln LB5BWd3yT9l1c8D87ejob7fPsZa5ka2drJbmET/GBrG9y0+UpRdh2lvsjArtr0fKrqq4lt Qqt9RNYre3hxjM0zgiN6c+7ph0qjgr9QQCPtCoM0KBQ3VRgaYi6pD8dHiXn0ybPPYhADhP 8JjzXZaaLD0FlP6koaheUj5gRlr4q9JOMsVO2YpEGchiUeCqyI9TrKjHabrwPGqkkor78O 2Iv3piuIjnMNQxz+FAc5b9vHRE1e1dS5R925npxawnT2k4F1evQ96H1IHiE8jg== Date: Thu, 16 Nov 2023 15:59:46 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Krzysztof Kozlowski Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next 9/9] net: pse-pd: Add PD692x0 PSE controller driver Message-ID: <20231116155946.77441144@kmaincent-XPS-13-7390> In-Reply-To: References: <20231116-feature_poe-v1-0-be48044bf249@bootlin.com> <20231116-feature_poe-v1-9-be48044bf249@bootlin.com> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 16 Nov 2023 07:00:08 -0800 (PST) Thanks Krzysztof for your reviews! On Thu, 16 Nov 2023 15:29:24 +0100 Krzysztof Kozlowski wrote: > On 16/11/2023 15:01, Kory Maincent wrote: > > Add a new driver for the PD692x0 I2C Power Sourcing Equipment controlle= r. > > This driver only support i2c communication for now. > >=20 > > Signed-off-by: Kory Maincent > > --- > > MAINTAINERS | 1 + > > drivers/net/pse-pd/Kconfig | 11 + > > drivers/net/pse-pd/Makefile | 1 + > > drivers/net/pse-pd/pd692x0.c | 1049 > > ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 1062 > > insertions(+) =20 >=20 > .... >=20 > > + > > +err_fw_unregister: > > + firmware_upload_unregister(priv->fwl); > > + return ret; > > +} > > + > > +static void pd692x0_i2c_remove(struct i2c_client *client) > > +{ > > + struct pd692x0_priv *priv =3D i2c_get_clientdata(client); > > + > > + firmware_upload_unregister(priv->fwl); > > +} > > + > > +static const struct i2c_device_id pd692x0_id[] =3D { > > + { PD692X0_PSE_NAME, 0 }, > > + { }, > > +}; > > +MODULE_DEVICE_TABLE(i2c, pd692x0_id); > > + > > +static const struct of_device_id pd692x0_of_match[] =3D { > > + { .compatible =3D "microchip,pd69200", }, > > + { .compatible =3D "microchip,pd69210", }, > > + { .compatible =3D "microchip,pd69220", }, =20 >=20 > So they are the same from driver point of view. Yes. I only have the pd69200 version but the three versions are theoretically compatible and microchip advise obviously to use the last one. I describe the three names in case of future specific things even if I hope there won't be and to have a clear version of which version is supported. D= o you prefer to use pd692x0 compatible instead? Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com