Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp420853lqp; Mon, 10 Jun 2024 08:06:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpv9k32SZMUdIVp8zHCTpuL1nLqCx+cqsfWdRH04rAMX81HxupIp/bv1yV38nLe67h0P4tps4Ia+fSpf/3SUg2oWqh4UhEmieCgvVUyg== X-Google-Smtp-Source: AGHT+IEplv9/+SOe0dC1pSfUGpAa6QltFGFemBHRMSFfkV+ZhhzKQB5BdYsbTVitIAQNP5gT2K7g X-Received: by 2002:a05:6122:c89:b0:4ec:f018:ee1e with SMTP id 71dfb90a1353d-4ecf018f133mr778886e0c.12.1718031968674; Mon, 10 Jun 2024 08:06:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718031968; cv=pass; d=google.com; s=arc-20160816; b=meY1U6o0TpYE9AjjI2qtXU+34qLM+p8bY56Z2YIelXxBN9ZwqNQHGWypb0QnveZ+2O IZog60aco5BNN7KBGKx/iLWnJ8EUwtKkRScwTHvUN42PSOqeNClEJoHM9/0Q56VEZJtA pJ14v8inP/8XTb1SCmtxksT82olXucnrXosXWvPlSUWEImXcgJmdDI1Trim7c+eMuzyI XQ/ezWkro3DI1lR5JLL05A/bj6nlcVZnIprVr1fI9LAfwBFN+44O90B3O46Ab1pIx48X fFf3bISwvaHgV0LD8iqxeNfRSNmCoMPn3eSum+msEixfLiWtR3qGj6FERRCkwWrpxeLE 5alA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=M+ZYBtEY1L5KUrPo7HAqo4GF2M1oLwupkk7P1JXGwN8=; fh=h7G9i5Lf+c/7z7VNdeq/wX6cf+CJlfGFKMPcoh5bRnY=; b=PZ1jZ+EwvejLLPbC/PWKSSzJ6S6KP8q8pij88A51TEyW6z9K+LO9wapZd+ut1UYKAE +RwLo8nOX2RJvlHmlUwgYuu1U4UZ+d5sOAvElD7qWKfVe3fLj+zDb6V17raCQfBww5y4 bXs2U4D1dUNMGngRhFYXSq5C0+dfi4VsdRd3jWJlnrUXTxBYqHohH4F0lrBOm+PQucgI xtCmMn+ehFUOcUfV+Ge0wsas5pRNulxrF4MRbCqv8dFtptIJvpiZ25qP0BkR01edvpVa 7Y0g6n0CuQeq+aIQ8SoWDF0x7qGorg/+ylP3/wzcEzY308mPsYzcxHVcn8R4Sp7rP7du Ngeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nhe7hei1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-wireless+bounces-8759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 71dfb90a1353d-4eb4ad34308si2261873e0c.142.2024.06.10.08.06.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 08:06:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8759-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=@linaro.org header.s=google header.b=Nhe7hei1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-wireless+bounces-8759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 3A58D1C22C8D for ; Mon, 10 Jun 2024 15:06:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E198B137747; Mon, 10 Jun 2024 15:06:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Nhe7hei1" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21E351E520 for ; Mon, 10 Jun 2024 15:06:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718031963; cv=none; b=B6M4x7rv1wKXkMI0Squq3Atz9ZRIikactTrk+0JPgIyksAXr9TVhT8KCk1efoMm6N/jlM6lT+HyiOroR5i049bHC2s/ZVZ+o1Ad3aoEt5oJLuM7QtCe5qyk/OO6Ov+I9ct6e9VboSH8Cb5ecyA7hnpg5zDOKx7hYjOEP7WGraS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718031963; c=relaxed/simple; bh=pad+I7k+4FFbU2DWRLOttwYkaG/8gei/sDMUy8eHO90=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ajDor064FNh5zxyjtisdfqW/wTz41baZ2eDCD5w7DyJIw22ru8QNIXmTzP72wYHz+7o7mHBokHWv003PH8WEfRLytBQgJhqX/PEM59HPIGX4uv1fQQJVWIeqC+X/xBsAoAJ48gcduygsPDPwAb4rU9ahDQlnIbKR9UXlreuGN/o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Nhe7hei1; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-421f4d1c057so7225855e9.3 for ; Mon, 10 Jun 2024 08:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718031960; x=1718636760; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=M+ZYBtEY1L5KUrPo7HAqo4GF2M1oLwupkk7P1JXGwN8=; b=Nhe7hei1RIRM8U8jQOhquM7XzX72kdZ3+aRr6m4ySQUOXEftCHPCEjQpokpxmL/CMJ RIMbpNEe/PwKYkr/x2dbWLAz+f8P/CQ4az+OLB7mLWCOTQfIlnDjNjrLT5WzGaqdC7Km 0Ue3yeikn2F9pSa1Crjv37re4cdXwBX/GjUk5ktMO4fRhCbxfGksMekWZM+aNTHoY7ZL pVsGAiamnXb1/hnLq/LV9HkG5kk0Dxr78mBCSZl178lYEt0lc+ts30NgMsfAlm4Y4ukU ZxvHlRFG044qregNH3DhBNofJ+h+AOTAW9jQZl3EuaVHCND4uE6OalN/piNX6cRir1io dbPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718031960; x=1718636760; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=M+ZYBtEY1L5KUrPo7HAqo4GF2M1oLwupkk7P1JXGwN8=; b=M0n2+hG5sFwoh3wTEdoB2DXu/AXJm+VdqwctrEX/cPoNOwifx65B5GlB1K/F+e3mDA Ud7CcFnn1xtRa7lYzxgLyvoDYEVcvHi66LJSoScJwbXPTSKyHmEgcR5ba00bFyR7iAXk mabfoM62/+aV0lvZoWnv0fBcCFP+B+xvyT+LzTVKPXINnljyo6gygljvwz6xFwmhIMT9 mwnJ0CMkCU4V5IbHkwVbCV48iuh8NYQHAoMlt6AjHp/lfEJNZDD3N3v4LwjPf9HhAehS Uf6wHzYTrwGSUv05gtWfGHYRfJVaUnsOolbG+jJqTQBRodW37h/linaDFQUtYM3UvKGF mOsg== X-Forwarded-Encrypted: i=1; AJvYcCWPvWGtBQGPHRS3rJtu6nhNihk5gQMovly1X+BjPGiHu43n5qnXu2Rq6KJmxB3arFH1Vkhk1KmxwFejUjUoNF6Ko4ZBqxYU1P6NJmYT39g= X-Gm-Message-State: AOJu0YwfFvewohqnVz8nlmnIpkffEwsh/sSjhj4/jjOPeTHm9qP25VJd 9ognv0+NCm2o3D0GFuOmurnPYt30bi9ANXJfDC97DhjnFfF5FkRO5A+Zc7Ja1dI= X-Received: by 2002:a05:6000:128b:b0:35f:f58:38fb with SMTP id ffacd0b85a97d-35f0f589629mr4805162f8f.62.1718031960445; Mon, 10 Jun 2024 08:06:00 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35f2210ae90sm3754271f8f.97.2024.06.10.08.05.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 08:05:59 -0700 (PDT) Message-ID: Date: Mon, 10 Jun 2024 17:05:57 +0200 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 2/2] power: pwrseq: add a driver for the PMU module on the QCom WCN chipsets To: Bartosz Golaszewski , Marcel Holtmann , Luiz Augusto von Dentz , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kalle Valo , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Catalin Marinas , Will Deacon , Bjorn Helgaas , Saravana Kannan , Geert Uytterhoeven , Arnd Bergmann , Neil Armstrong , Marek Szyprowski , Alex Elder , Srini Kandagatla , Greg Kroah-Hartman , Abel Vesa , Manivannan Sadhasivam , Lukas Wunner , Dmitry Baryshkov , Amit Pundir , Xilin Wu Cc: linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski , Caleb Connolly References: <20240605123850.24857-1-brgl@bgdev.pl> <20240605123850.24857-3-brgl@bgdev.pl> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF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Q6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240605123850.24857-3-brgl@bgdev.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 05/06/2024 14:38, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This adds the power sequencing driver for the PMU modules present on the > Qualcomm WCN Bluetooth and Wifi chipsets. It uses the pwrseq subsystem > and knows how to match the sequencer to the consumer device by verifying > the relevant properties and DT layout. Using this driver will allow the > BT and WLAN drivers to respect the required delays between enabling the > two modules. > ... > + > + ctx->bt_gpio = devm_gpiod_get_optional(dev, "bt-enable", GPIOD_OUT_LOW); > + if (IS_ERR(ctx->bt_gpio)) > + return dev_err_probe(dev, PTR_ERR(ctx->bt_gpio), > + "Failed to get the Bluetooth enable GPIO\n"); > + > + ctx->wlan_gpio = devm_gpiod_get_optional(dev, "wlan-enable", > + GPIOD_OUT_LOW); > + if (IS_ERR(ctx->wlan_gpio)) > + return dev_err_probe(dev, PTR_ERR(ctx->wlan_gpio), > + "Failed to get the WLAN enable GPIO\n"); > + > + ctx->clk = devm_clk_get_optional(dev, NULL); Your binding does not allow the clock. Do you need it for non-DT platforms? Best regards, Krzysztof