From patchwork Mon Mar 25 13:16:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13602181 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3E24FC54E64 for ; Mon, 25 Mar 2024 13:17:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nPiauhvCZtem1e6xxhCvYmahqFO/4l9Unh0CPmlG1ds=; b=qQgJjSO9MLp0LV mqU7//XuavKFMRMM7oC0oLFfiIJL5H9GuYA1aGQ2w6tFkcGI9XgnYGBejFMlxGFH/4WcOClyz10/+ +YYK782h3rEGrLYpe4Rpmohy9Smxi4Z6XgnzkqV4ZgkXR/SWBJB2/c5sqQPhpLjfcHmEdv94ahTo4 YHG9/boWAvcj1qpL0xMRJtKnosAHqCtNnLYj+yUc542nmxw2u5dd1xMpIvm2vCqlijXR5PAzF8VV3 aug7xTcOzTJoh9ZTfFgoy97wbkoUMk/nHpL7NdAqTQodvv206prv65pz3/EEqFsFcpjx1+W+2khGY pZTcWNBV0atOOgujDFCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rokCj-0000000HUfV-2zv1; Mon, 25 Mar 2024 13:17:33 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rokCJ-0000000HUPh-1abD for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 13:17:09 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-513edc88d3cso4631384e87.0 for ; Mon, 25 Mar 2024 06:17:00 -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=lists.infradead.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=178+SgAYm9zPxtgxvI7blPhCf+YHP3e/f+ZyhIJrpUmHhwqIDnjJAnWNNkz7h5HySq DZsfqkkETCKsPO51HTwQKkxWavfeZ2Lq/zEhhS4y966rCHBUoFUjbFUA0x54dK4UaFM0 ynEFoDC5+x9tDZ5Z1SBt3VbvIGS3bHuPm2RJR4F+UYEO2QqYAUbpJ6l2ZYne7oR8tFna rzhJaea/rOs5TDUdJzKTFa2DeltT2JMxjdIyvWZoX8e0L0YtiEW9E428aQm9B8be12OT uIXQdoZR6tfUyew64ZxgXrU1WArXRU+72Z6+1bbz46VfzlUcaUC+U4N6AdbNNMpNR+8s Pwug== 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=pEH4QKn9ErJfCfiV0cpXCSj6ZdFbGV6O5y0wiZXuAi27/X3RvhmI3mvVVNeg2snrFU m9kIFj2UnEG4Y1CXsGToERGq/UNRNGfyzjxgk6bWFrlg1GfxN7+pf1dGfS9RCvE+6B5g xReV+MTfVZpP/ZFAwsZwmtudCpyi74gCFwpS5a77EkCR60ImxmFa8RMlGKFCACq4hoLW 0oUjRm2nDYoZP17h0ix+7YorgR6uqY2FrRQqhDLZywdKOtGoJCZ8heOZ+yZJwW8+25hO NF7IG9qSKqQq+WOGoXaUMuqHbAUvP4wnI/DtRM5xiZHuO8snM1mcYV6RM/xaYsLO3iCX knCw== X-Forwarded-Encrypted: i=1; AJvYcCVYYPuxp3EPtXcblh440Fgohwej3DckyQH2Zj2xLrL90mKT6i6QHtSWACkjDnDcEvMA5O2kRRvJBqmgQZjtIro6FkcVcXh7X/OBA4KyRaWkIdyHWfg= X-Gm-Message-State: AOJu0Yx/ruBXAStjedR7UtcWSFCephRqg7+lgt57qH/mfKVExTW13M9P jKlo/OLJxrBf8JANNHU60uBR5D7ZKBiu5uQXmnHgXUjkrp09bwsWnPj0uuIC2CI= X-Google-Smtp-Source: AGHT+IEJvXpyYOxHwIwWL88KBcpPwn0R7Fchkf1Dzvcc/UuyhrMuuTIaVTEp1xNfrw/QKp8Xtgt69g== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_061707_489969_A77FC48B X-CRM114-Status: GOOD ( 12.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Acked-by: Mark Brown Reviewed-by: Krzysztof Kozlowski --- .../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