Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4884166rwb; Tue, 6 Sep 2022 14:30:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR6MM1evk2moE+lvNbmVvAjeAh02lN/hGMzuUKJzNEuUlurQhojJew5RjTytYVY4fHFOCl77 X-Received: by 2002:a17:906:ef8f:b0:731:4a01:7781 with SMTP id ze15-20020a170906ef8f00b007314a017781mr322019ejb.268.1662499831832; Tue, 06 Sep 2022 14:30:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662499831; cv=none; d=google.com; s=arc-20160816; b=f1DiEXVOy+Na/w4mfs4GstYbEjD9hU2MUB5eoRkLwlBRJK3UFcYMVpvUNRy3zDc3KS E0I5tjNJ3NGrVZq+6oR2Q9hpgB6GVOSt2u9p+JAlPKfAimrEqvBQxg4N9mnof75Eoxyb o6D8FFiJZqvstH6fWRNWWj4e1pspO9nINCEnI5cjJUORJn9Awlmbew+EKmexidVlKSq+ nOCD+uUzb83OTbdDEUCO0sYL9mf5CLHZOf8x8ala70pgDFDljoH7tfidr0PfXNJviPcr WFUvhO4gu11579zkdPJWHUpuwCZ5N4ZOVoJ3DFE4YlxJ2cHDp6OYXmbFZdIXg5gWX2fo dQ1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wFQdJJqzvo+z4W53FUQe7DWuzWWQHmPYhdUIhoLC7gQ=; b=QhdK7XtwDFjKxj5pCrpVuLlXf8Nan//VDLwdnMjAbw8ytqkDRhVWP7SE4GCGKF19dZ XxdUI16bk2Eu4mmsl4HE0iES+mRzigEvjRU2qL4waL/8DgF6Nhgnlv7EOXDj9dnAc9uA 4KbSqV5tzO5OEXxO9+qZWE/ofFV3HyRi7QXyrSH94cR9bXtFhfTvE1hes8f2/LLma2Jb +ulXQPEBBDrHLtBPxsbPb+h8avARX2Bss+ryP2dYF5gw8PSNKH3YELwLBwS5aDf9LpWp dnMx5hD7OPQP5xs0DL94d/TRCroWHF0nwAzIQa9GCwOHwYuUTpwMxcELmVzeAs4AV2M8 XHjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fBF1vQSL; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d11-20020a170906544b00b0073dda816423si9499210ejp.186.2022.09.06.14.30.05; Tue, 06 Sep 2022 14:30:31 -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=@kernel.org header.s=k20201202 header.b=fBF1vQSL; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbiIFVIS (ORCPT + 99 others); Tue, 6 Sep 2022 17:08:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiIFVIQ (ORCPT ); Tue, 6 Sep 2022 17:08:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B932AE9DA; Tue, 6 Sep 2022 14:08:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B30E2616DF; Tue, 6 Sep 2022 21:08:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEEEEC433B5; Tue, 6 Sep 2022 21:08:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662498495; bh=qXXAYgKTIRD2l23CsbtEC48/4YIxrzNRLygN3m+wefs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fBF1vQSL6Yd7yZlDJbTVkXHugwYdrpjj+YFqseCd1wcSfBRPTn1uI/gA1PYtcNvVt Nj8QSyiacbLu9nKLvo3IK/idDhpTWLkztDMks302QmoPQiEYgreB42QiHamfS/w38n z4/I5BT0hJRN7v2UGn27irdWPSjnaqTnwU+FE8dU+mFsZKhAXbMYV1id/TIyq0lRgn WmDw0oHtL3R3VMHVGkZcQDHcVa/vAB0TturZjp3V8B55giMLVXl2Lm/YxNU5JaO7FI D5n3k20cny4CwHWjfG4K96jYAe9sKquJAGHYsZd4+RGSoz/DAuLzoSH+FyhyqMyvVP upuEfgiudoMcQ== Received: by pali.im (Postfix) id B523372C; Tue, 6 Sep 2022 23:08:11 +0200 (CEST) Date: Tue, 6 Sep 2022 23:08:11 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Dmitry Torokhov Cc: Shawn Guo , Lorenzo Pieralisi , Thomas Petazzoni , Bjorn Helgaas , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Linus Walleij , Bartosz Golaszewski , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] PCI: histb: switch to using gpiod API Message-ID: <20220906210811.5kzdq66eeeauk2d3@pali> References: <20220906204301.3736813-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220906204301.3736813-1-dmitry.torokhov@gmail.com> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 On Tuesday 06 September 2022 13:43:00 Dmitry Torokhov wrote: > + ret = gpiod_set_consumer_name(hipcie->reset_gpio, > + "PCIe device power control"); Just unrelated thing, I know it was there before, but I saw it just now and have to comment it: This is absolute nonsense name. "reset-gpios" device tree property specifies PERST# signal pin (PciE ReSeT) as defined in PCIe CEM (Card ElectroMagnetic) specification and it has absolute nothing with PCIe power control. My suggestion for maintainers would be to remove this critic name at all as it would just mislead other people reading that code. > + if (ret) { > + dev_err(dev, "unable to set reset gpio name: %d\n", ret); > + return ret; > }