Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1114989rdb; Fri, 19 Jan 2024 08:34:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHp2CIvmuAmCrnztsHZ7tEqPe1SaQXG1+5NONicVl/VVdOeH5mQsx6BE6RZrMgohH7fhlw0 X-Received: by 2002:a05:622a:1107:b0:42a:1ba6:f0db with SMTP id e7-20020a05622a110700b0042a1ba6f0dbmr118707qty.45.1705682072414; Fri, 19 Jan 2024 08:34:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705682072; cv=pass; d=google.com; s=arc-20160816; b=ZoZooedJC0ZNDKySUGZnh/Te+MnEU0x8qsBgwK8jZY1DrheUUBtYpqwIqa3xWSKhlB E8bL29xiWocCL+WSFpkZYB2nPZhGpM5j8MfB43UBxlQYFKiq01bJ2BTQ2QeYuErJIGqk kuwZfCNh5Co4lTS9TVhWJwsDB33SESJDU4xXxXwDUU8y6LNR8zhI5xNxfKbMqNg2/9gs sJP1MMsRTfj57AoT/nPNVKAvSfqGTy6T9nHcSJ/Lp5T99850baqdhkWhggv3NxQVxgOV OQfn6C46YnIH5nPbcoShAwOi7ejWequUP3YKeCrAIag2xTLydQpO8Qbi2muAbm6kZD4S fXyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=D2LgJwRjxJYglnLH2h53TIEgwBrE9PHOgnordbiozD8=; fh=wWqMLX/QT7hacOPFLWcyX3N1diX0RjeJz6WC0QE7mI8=; b=VcwxN43ZG2oGAmFqPEav4Q22rOflnR8ckXuM8AUu/GIuLcnGo/ie3ti2gPP9Bzz3DQ UazDJIfpxSJjfKx76gKIUBVgMVx6OxlF3VbjQ7HQIrXAoYFNU7NgJRrFZCVYncksvUFe hzL6tAwYwdZXwVwigwjQiiM11bMdzB4ich5lugRejZ9VlJhZhET7HbT2Yz4glV7logf4 zYpPgha/IfqHpSfzAdpdH68r0DXfJuCsmc83yQvGWo0N0sX2VtnOGCgSepOEnmlONJVq +y2vrAbEb5bk2cv+r2jh6YNQViBNGCJPpGh4zhWovK8N7AE/ABj4EESKWYK64pcn7ZZi yAZQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-wireless+bounces-2260-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2260-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n14-20020a05622a040e00b00429fce0692bsi9220227qtx.181.2024.01.19.08.34.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 08:34:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2260-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-wireless+bounces-2260-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2260-linux.lists.archive=gmail.com@vger.kernel.org" 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 313791C24215 for ; Fri, 19 Jan 2024 16:34:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78FDD5576E; Fri, 19 Jan 2024 16:34:17 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [83.223.95.100]) (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 0886E1F60B; Fri, 19 Jan 2024 16:34:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.223.95.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705682057; cv=none; b=M7+aqLle61XINW/PZGZX4mYE0JckDjyoV7CNpFYIsxDF6FCG2bJEZ1RvnnFn088p7xfZ2ZhbwAgB+YTHgwh7SbcdBo66Vik2WQnOsoaJN587ha22UNu9ImSkepWzmvyAXbOk3Z0Rc8MEBlMuAs/nGibJa4UQTdN7zfHU+ind/c4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705682057; c=relaxed/simple; bh=D2LgJwRjxJYglnLH2h53TIEgwBrE9PHOgnordbiozD8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nkDUpOo0f8dj+RbGMsa8WS2tGpE639ruip02XLo4cyx+rZx37U7ANOtFuX9crAslmdOf3ADFjOLDgbg/gBWgrdnhbGgdF3s+5OMctd3030L6qjpNdJtctGfMm8kk3OBobUWo7PoIcElmiMoRJkTuR83zMauMntlBRK1+aYmmEjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=none smtp.mailfrom=h08.hostsharing.net; arc=none smtp.client-ip=83.223.95.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 6E25130006284; Fri, 19 Jan 2024 17:34:05 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 50F591D3C6; Fri, 19 Jan 2024 17:34:05 +0100 (CET) Date: Fri, 19 Jan 2024 17:34:05 +0100 From: Lukas Wunner To: Bartosz Golaszewski Cc: Dmitry Baryshkov , Kalle Valo , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Catalin Marinas , Will Deacon , Bjorn Helgaas , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Geert Uytterhoeven , Arnd Bergmann , Neil Armstrong , =?iso-8859-1?Q?N=EDcolas_F_=2E_R_=2E_A_=2E?= Prado , Marek Szyprowski , Peng Fan , Robert Richter , Dan Williams , Jonathan Cameron , Terry Bowman , Huacai Chen , Alex Elder , Srini Kandagatla , Greg Kroah-Hartman , Abel Vesa , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH 0/9] PCI: introduce the concept of power sequencing of PCIe devices Message-ID: <20240119163405.GA32506@wunner.de> References: <20240117160748.37682-1-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-wireless@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: User-Agent: Mutt/1.10.1 (2018-07-13) On Fri, Jan 19, 2024 at 12:52:00PM +0100, Bartosz Golaszewski wrote: > We have two separate issues: one is powering-up a PCI device so that > it can be detected Just wondering, I note in really_probe() we configure the pin controller, active the pm_domain etc before probing a driver. Would it make sense for the issue you mention above to similarly amend pci_scan_device() to enable whatever clocks or regulators are described in the devicetree as providers for the given PCI device? Thanks, Lukas