Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp437323lqr; Wed, 5 Jun 2024 10:08:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQvTi1vBChcGpEaSUMHRkgX3Ge7h21Bvs3eEtteFy5Hc2tnzPvJsdjP8X3CuU9o2jvFGPFwfDcP+PtKrETVP4rXkH16MxcebVO/3S8tA== X-Google-Smtp-Source: AGHT+IHjRPCVSBQ/ojikrDjP3TNgLkmNmXUwkuW2lAItr1GqruEbLx0c95mRjITbBVmVNxbLrPCI X-Received: by 2002:a17:907:586:b0:a68:98fe:f779 with SMTP id a640c23a62f3a-a699fac1fbdmr180829366b.43.1717607303026; Wed, 05 Jun 2024 10:08:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717607303; cv=pass; d=google.com; s=arc-20160816; b=AftOk2T8LzR6Lc2Fek1tuxmt62utlbFiE3zLDxTtTMnPAwOpvdKbkE/5j3eUCWhXfq 4iQ0POg08DaO+SXlYP0VTsDim1zfjgRr5mvZZutQTn2pRmNVeqfVkQFeElFQgwGS1PcN EHTK5PYFWv4UkkL8w/jOc6mC+/A6/fu/rUcIk4D+gHGimIbr/cCsSyeh2OBUPOJHiSaU k29NdpgC8tBbrEAlW633sZoESchut0in4vG6mdJInOJ7E+NljU242/wXh+5FcPwKp1Uj h7KVrKjMtj8LjVtzORiwgXRYJsDUcBvzuEl5+sYLK7wse7JiRAHG1QyA4oOKg27AAZxI Rv1w== 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=NZ4Q08DX9g7k4DrWEWlJBpB47zAyrINRvMFMQDXyZ4U=; fh=RRsBWKb4YX/jU6QJnTfIM54tpUwWkAfkBWPtUeJBMpQ=; b=aGo3hpdIJ97yZpOsRj7N6QMW/scRjpKEdgGZHWyaTv4CSRwYciwbxzz+1rCuzCIw0p Uc4mgGj1pON31xJFVku8Tn8SJdC37Ivq3vbH8JwMbaz6sjgbuxzmlAws90CgyezSHeWg gE0g2PvwHA7W+F03zDgHql9Cm9rbFR2Vl8V2dvsHuDYZ+zhFUxXmgCteNA5vZ6LZgVqg zBGqrERSsCxUhvfTPEjg7sJO00Jk6O9n30y4SEyXATu0BARYwIorq58WXGIm/LhGLywt XRxtKRcLqUlpVVzJAECtQiuhtLkI80t3QC4b+m/bDTYH1AC9Rl58JYjS28sJJvEhYXCu F0qA==; 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=CsAI3drw; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-202565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202565-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c71df820csi31204666b.447.2024.06.05.10.08.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:08:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=CsAI3drw; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-202565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202565-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 22F6F1F283AD for ; Wed, 5 Jun 2024 12:59:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 705611B0123; Wed, 5 Jun 2024 12:15: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="CsAI3drw" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 EFCAF197A94 for ; Wed, 5 Jun 2024 12:15:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717589705; cv=none; b=K+/2Hp6wUgEpHTcPx50tU/WtJVxGqyiFL4mTW9Uy3dKA6V1qvRvj4RsC+ODQYDImmBjXA5B4QOs9bHPG1nYcoLhMYc3RDSNMpmoFZT8q6fwcK1j85gBEfCUzfYSDE8bKB6i2ZkUXjFW68lzePN6lUccLIFYeCx93dFHo92u5kOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717589705; c=relaxed/simple; bh=AqX+Za9mfMY0W3PVZAiiE+ZfJHoW4sPFaArsc3nPPC4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kTYumueY1R2FcEMw45H7LNGLMzvkNBToBi2shbN1oJBa2OKEaj3edhmH8SrsFPpTc6u0Wl3nH/ebMQ6N/Lwvnuj5rhcqiqh7qTvH3GWZrLkPzTNr6HH5LL27hKw6snQ/wK5yMhzBTUr/xJNIOHJLDDZ/Xxo1uoNC+hyP+aQDWNg= 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=CsAI3drw; arc=none smtp.client-ip=209.85.221.46 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-wr1-f46.google.com with SMTP id ffacd0b85a97d-35dc1d8867eso5825756f8f.0 for ; Wed, 05 Jun 2024 05:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1717589702; x=1718194502; 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=NZ4Q08DX9g7k4DrWEWlJBpB47zAyrINRvMFMQDXyZ4U=; b=CsAI3drwUtkh0A1FULNCPDv+hwE6iP6q1/wYBz+2LIhgGeBe57iTRGTqPwapdCYuUG ACC/XQfMal7Pf76p+/F+A5VTeVDRqyJP1ZdPLj5/wyDNJz8Crt05gzSZLdhLCOO+aRmh TND6Ezq4VaTV8Ie+IOvAjVhP+Fv3RU4aSmHhRKc3JBbKztI+3TJYDeuKQa5W3Lzy+ct3 dheWywA7fir4+h/bOr+MEZshPNoKBswUx70yPr8RT4O/wZSJcUOZCgUvVn6xMOmQZMPX us3n29ZGwPKQXctJiryU0vGSoROe7AdXUqUAj0nwHFVf7904i3UuNUvo8AbFBwGvjCWp qesg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717589702; x=1718194502; 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=NZ4Q08DX9g7k4DrWEWlJBpB47zAyrINRvMFMQDXyZ4U=; b=xIRLEwx9aUefnbdkts+8ur1y/gFHKMjGdCs3sSQTIwVnx0DlF2MQWS2AIeNmFf/ZeC SUd6DWTJTEyhcTpEVFkM1vlsKNf4axMZTj2lJCRvuZBI5qVREsGhlltYmbxfFazUoZt6 LO+pEAyLT7L1MfcO+Ip8FCe/H/N4qDQWmpzMPFv/K92UIS1oDp5xKn3vwt9nTrSOZNwN B7Ro2lM3AQ0cNpW7o2aVndYP9l/sIF/6dBaL+6ED2BPjoz0GR3JYE6a57LV8viFPpDFx 0AGmg0L57yMV/nnA5esuSvWvHnWd7TLm+Z6jUNUjCCCyjn0MsqO8ELO6hybu895cLEos NnqQ== X-Forwarded-Encrypted: i=1; AJvYcCWGxZ2yX+79LKPRELl/yONPCJSPzcc5upBN/6AIA07OUDcu0cKX8EwlSxbv2Cih05Qt8Lmbk1D0JKmtkYYCz6lAtjS+hrMEb/HKgBeW X-Gm-Message-State: AOJu0YzhwlmASQuhVF7sko43XIrX/sQSS0aSHt/fSqb3kvZux3bfbjWu +0IcGbiT0Fc1cMNgK0DBaMjXx7w8zDmOKau3QKa8Ox3LfgkC3jXC0zZ89N03MxI= X-Received: by 2002:a5d:62c4:0:b0:35e:e53:3f3 with SMTP id ffacd0b85a97d-35e8ef7ea2bmr1693505f8f.50.1717589702475; Wed, 05 Jun 2024 05:15:02 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:75a:e000:d3dd:423:e1eb:d88b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd04d94e6sm14415794f8f.51.2024.06.05.05.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 05:15:01 -0700 (PDT) From: Bartosz Golaszewski To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bjorn Helgaas , Bartosz Golaszewski , Krzysztof Kozlowski Subject: [PATCH v9 2/2] regulator: dt-bindings: describe the PMU module of the WCN7850 package Date: Wed, 5 Jun 2024 14:14:49 +0200 Message-ID: <20240605121450.23697-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240605121450.23697-1-brgl@bgdev.pl> References: <20240605121450.23697-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 discrete 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. Acked-by: Mark Brown Reviewed-by: Krzysztof Kozlowski 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 4588b4e862a3..3aaa9653419a 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