Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2879260lqp; Mon, 25 Mar 2024 11:48:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWl4Lgt61vlIDlkthpiZKUsyWroB1QwFZzwEDSRZXjkzPLaDQeP2tzKlJKK0NFftrNWSrb0X5OeIY2a1xMvOMYRmhHyMCS2zC3lmN/HGg== X-Google-Smtp-Source: AGHT+IFEXSxGINsLX8maZNkAalLf7GvypbgLpa0hw21MY3oNYfitX+Za97SE3HFKgV4iGIASZSb9 X-Received: by 2002:a92:d350:0:b0:367:82bf:f7ed with SMTP id a16-20020a92d350000000b0036782bff7edmr8817941ilh.29.1711392480837; Mon, 25 Mar 2024 11:48:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711392480; cv=pass; d=google.com; s=arc-20160816; b=JW2vH0utEqOWo0QM9cmCggJiqkTePSXyPjGQ5JdIUkTo+PwP6fHy3sFWjXiOivjKaQ KrhbBFd+5Cl0J7lXgyfzm7JmHZ67f/3XR9R6a4Vo2dbaAyt+gmv8zX+JbP9bnfiVlOaL Js4c6sZBmU9LfigC6hUDkKMFl2iv5oN7aPPsBtAx1VQQwj+VuZPXgrn9knof75+Q9hjo Hi0HnHKuSzjq4zQ9CmDJOIBRwA0C03WfQsJe9b3sHjw7YYK4aFPMA+XkG20Qj9//ECO9 TxYEMjMiZhl6sHQwKcqKlYUMvZ9bTIEK57Khkcn1LMWDidyFc8j7xOGn0QzW6Duhm01u +LRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9V84zGWHhNqI3aEKBbqoMuQ965CIVij1HgYyzK0b1yI=; fh=t6RMn9h9FsttgCY9NWtC3SR/OlUFTGCUhJ+MiddBn6U=; b=UrCIkx4T3MbeRkqNU0dvhG3J1qhOVgrOfCqcs79nhKmK7+p8+4IjMyHFSgWQsAXCyd fWGltwFLVgKW/oxjKuDqVp22nqQy4ZdZVWU8IdNh/ne9LDEhEBTXH4N5iVSpL4JDeLnn Q6vAeY9Ja1pp8ui+ee8U+JC7087cj6MeQbSbPyiqMdkVCv8gWZ/NXq7IsyL6kr2VuVbe p66V+MURYs5vrIOCERgY6syDnmgx0LQRodcYPN7bpzFo+uXcQOY5lvXJgX6xn+Mac5lY MqOcXlfF7HCZ2SABFuSOLoO6ggMVat7lWr2MSw1Zwd8NnRga3ps4qUDkuRQm8swaorBe Ae2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=se0Wjkhd; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-117103-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117103-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e27-20020a63745b000000b005dbd83521fasi8212256pgn.883.2024.03.25.11.48.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 11:48:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117103-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=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=se0Wjkhd; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-117103-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117103-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2FAC3326A95 for ; Mon, 25 Mar 2024 15:42:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC3471428E2; Mon, 25 Mar 2024 13:17:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="se0Wjkhd" Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 4786613E6D0 for ; Mon, 25 Mar 2024 13:17:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711372624; cv=none; b=UuyastheCplTd8kr5zzqP7eGo/HbS6QUNa5o6mrCrOhV78Tx4cShK5s6B+o3fNnIZsQSRVqCw80fkdYJoYJZ8eaaNbebc0FjdR1i6xwcxbm98OsoOSK31QtDHOM3zqGyRXFhcA8l4vyJ3CGG+LR+PrH4S9gpcIC6YCPVKXsSn9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711372624; c=relaxed/simple; bh=6EJanTOb9lmBTF84w02dw6YmtQBZ//XxYHWVbdxtB38=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=r2dMVfxQUTci5MXqxH6Svc/mvddeugpWMb5Ts3VWYCUTNJBvoS2VxvYj/1Nd3ROK/N5PZy/HOGWzf5ZtLUX8IATvRCZUf7b3dhQklzAoPBj2H53UynfWdSEyMwccUQr68qHGJ/P1QxLTjeeOiT1hBESA+IeFv4bGyWtfKHVEfxw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=se0Wjkhd; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-51588f70d2dso4999456e87.3 for ; Mon, 25 Mar 2024 06:17:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1711372619; x=1711977419; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9V84zGWHhNqI3aEKBbqoMuQ965CIVij1HgYyzK0b1yI=; b=se0WjkhdEhv1Yp+rM5vu6A4BsWXSvoPH2l3gX+WCIyVRTKUMbr+t6vs9s2tdEp3yQZ wFPKxFGX7TXCbQmHN33HvwFMJje4FQOqC3UqIGtxSK6I6B1oEnxQtRHTFSwymqQm0gec A9RpvyjBTDSKhryCz+OxLJnX2NWeOcM3Lna8sGxkTTFcdUKjIfuNnjpof2rkH3ZQrG9S Ym/cA6l/LTKyIm2/LtqvNN5JXSNPZ/vax/wiYkikEaz2nGv0kfTk3nn/MXH9k9ThfIwo biFEtFMUtcRu/HyVejUh1etY5zVsoDhmpk/s4Apohl8l4j4u0cDSRPid+mkAEQ1K1v9U m0Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711372619; x=1711977419; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9V84zGWHhNqI3aEKBbqoMuQ965CIVij1HgYyzK0b1yI=; b=aeynPgI9Zlm7Xy9wOeeuKrj1bH/C4Ny+8E7ZWCFfHTdMoxapj4u18ZPhvXjOd86/Sv 7JWsJAlK0+1fp2MyEA0hNAxalz7RZsehiLzqfjvFUMzmfz5MZgUKMHWqN8oZdF6bggth GbmiGao5AWTpJmJ2ItMLCMcDDwWxIoJgMaTAuiiuZkIzTG/aN7j38TWI01uoe6M5ZOGN DJORPZhSKslEqzd1i/xPG0hqrmCJDFnNvkXJrfo32QmIGCxiJo9UIPZHeWwbq1sVV7g8 PqFC8B3vjtRdPrmRYLrM8tohImfTYr2FUSDfWXE5DcguNO9vgbyScFWGzENCqocYFVJ2 +6Ew== X-Forwarded-Encrypted: i=1; AJvYcCWpzoUEKufxRy6hL5V4fgxbGTS6Q+eei5825sHXeR4ewf22C18cLD2ihCxnOlsNbP2SO0mH3/XTVaP2JpDWyY1wYOaG+IP6rpkH48Sv X-Gm-Message-State: AOJu0YxhTctkQLGQGTPYm/evHgiQkn7N85jKsAqz6auaRTy41+hF4q3e Ndmuwj7eLMnFOmYYhY2FDmRDThejT+3EPBvF3vRvFR6cEHzDiN5Otvzdx9bdGbg= X-Received: by 2002:a19:6917:0:b0:513:a39e:ae45 with SMTP id e23-20020a196917000000b00513a39eae45mr4575257lfc.62.1711372619309; Mon, 25 Mar 2024 06:16:59 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:75a:e000:861d:8b72:a859:4ce9]) by smtp.gmail.com with ESMTPSA id p11-20020a056000018b00b0033e75e5f280sm9485245wrx.113.2024.03.25.06.16.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 06:16:58 -0700 (PDT) From: Bartosz Golaszewski To: 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 , Bartosz Golaszewski , 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 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 Subject: [PATCH v6 02/16] regulator: dt-bindings: describe the PMU module of the WCN7850 package Date: Mon, 25 Mar 2024 14:16:10 +0100 Message-Id: <20240325131624.26023-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240325131624.26023-1-brgl@bgdev.pl> References: <20240325131624.26023-1-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Bartosz Golaszewski The WCN7850 package contains discreet modules for WLAN and Bluetooth. They are powered by the Power Management Unit (PMU) that takes inputs from the host and provides LDO outputs. Extend the bindings for QCA6390 to also document this model. Signed-off-by: Bartosz Golaszewski --- .../bindings/regulator/qcom,qca6390-pmu.yaml | 36 ++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/qcom,qca6390-pmu.yaml b/Documentation/devicetree/bindings/regulator/qcom,qca6390-pmu.yaml index 9d39ff9a75fd..2e543661a1e2 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,qca6390-pmu.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,qca6390-pmu.yaml @@ -16,20 +16,37 @@ description: properties: compatible: - const: qcom,qca6390-pmu + enum: + - qcom,qca6390-pmu + - qcom,wcn7850-pmu + + vdd-supply: + description: VDD supply regulator handle vddaon-supply: description: VDD_AON supply regulator handle + vdddig-supply: + description: VDD_DIG supply regulator handle + vddpmu-supply: description: VDD_PMU supply regulator handle + vddio1p2-supply: + description: VDD_IO_1P2 supply regulator handle + vddrfa0p95-supply: description: VDD_RFA_0P95 supply regulator handle + vddrfa1p2-supply: + description: VDD_RFA_1P2 supply regulator handle + vddrfa1p3-supply: description: VDD_RFA_1P3 supply regulator handle + vddrfa1p8-supply: + description: VDD_RFA_1P8 supply regulator handle + vddrfa1p9-supply: description: VDD_RFA_1P9 supply regulator handle @@ -50,6 +67,10 @@ properties: maxItems: 1 description: GPIO line enabling the ATH11K Bluetooth module supplied by the PMU + clocks: + maxItems: 1 + description: Reference clock handle + regulators: type: object description: @@ -83,6 +104,19 @@ allOf: - vddpcie1p3-supply - vddpcie1p9-supply - vddio-supply + - if: + properties: + compatible: + contains: + const: qcom,wcn7850-pmu + then: + required: + - vdd-supply + - vddio-supply + - vddaon-supply + - vdddig-supply + - vddrfa1p2-supply + - vddrfa1p8-supply additionalProperties: false -- 2.40.1