From patchwork Thu Dec 7 09:12:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 175043 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4648987vqy; Thu, 7 Dec 2023 01:13:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXZWjTAczjnL+0DZvqvEz3j1UMgvtjhHGzf6vFZ2M6UIYkuhU11LH/w/uW14QbMroheI7n X-Received: by 2002:a05:6a20:5482:b0:17a:4871:63fd with SMTP id i2-20020a056a20548200b0017a487163fdmr3308004pzk.0.1701940401522; Thu, 07 Dec 2023 01:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701940401; cv=none; d=google.com; s=arc-20160816; b=pcQX6SCG3ripDtHE93V+fte0VRXoyHlpei+FjON6fKwqYOjAgPMtg7veSDqoi72eKy VlcA/O4RTKMaMh4xjP7wMqkTy+EL2dkNvA9cIGas1QF1LLVisGqSQIMzc4tIq9TXsSes 8/984ChkLpJansf9YoPqAEfTWPH5rNSoIyHSkNZIh0V+LoSCr9gOeZLbOws1E/5C+q1p g9YW2j75v/R6stEBPhBCjMzdDSJ0WZ9lwAvrDhRTB2SYF3DQoiI4ttzrvtYKhoEQGEx5 xRrLDVxEl256qN871ikT8Ko4m0sEL4pB3W8WW2iOVm81ssFArsqubP7V67krQCUNKg2A 1zTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=P8Iep3f8IbW9XJUviPCyqs/DBfreAlewexDEpMRvmDo=; fh=RJimpfmNIfXZxP3Hhll1x19bf82G9yCzSF3aUoUHASc=; b=cK5IoBOQePTwRlqgFTKTWtO41pfEsrsJRurNvuXCEvvTbmvq/NoaLFdiIxVmk83QPs cPs9nuKUmwv+1ONGtDV1cKu1Vj9tqesoWiUWYaHUImltEwhDgZzR0V1C5SxRwt3wqj4f Iwalu1SRgaybDYIFFibARgTlewjlv28vcm+qsJRfU14YuRmX5n76MMUBWF7ZxdZezSWr VwrlOLfeGnjusAkNbzYvMqviDv94hxv+0O4rWWHRIMMRM8+Jpk7LRhnzc0QqY4uvUozv 1uQ6jnA1iQ03YDSfrQirsZA8leH+yiDvKvt9vaQ3KoxcFrYKe/lpnklCt+jpHDrZ6hhh oOrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=BTbq9mDE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t11-20020a056a0021cb00b006ce51863712si896403pfj.330.2023.12.07.01.13.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:13:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=BTbq9mDE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 888818066674; Thu, 7 Dec 2023 01:13:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378524AbjLGJNE (ORCPT + 99 others); Thu, 7 Dec 2023 04:13:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235332AbjLGJMj (ORCPT ); Thu, 7 Dec 2023 04:12:39 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33B031723 for ; Thu, 7 Dec 2023 01:12:14 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40c2718a768so7373345e9.0 for ; Thu, 07 Dec 2023 01:12:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1701940332; x=1702545132; 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=P8Iep3f8IbW9XJUviPCyqs/DBfreAlewexDEpMRvmDo=; b=BTbq9mDEYAiL+96ZzZApuWxeAFQS2d2PpPPZocNBP0JD1fGNZctkJM+Qj8Hep/dnbz Lc8KXrR9os6zyQ9D991DGCHLU/XwG+OIcguXabvTEjJLRYgmeCbsBG7QlNdyPVRnOE27 sJuWfLTZZs7uuS8Qw6RvsLx84MhJfKXfqferDtHQIxvX/eB/3pQNlWdBpcmQqCtarYFL JCawR9jdlfgBc1WrKTXzPWrbgyv3HUe3/eWi8pjsoLf23NGGRTMSUDFP981F9tdEppAr 6XITsS241i+2TXYOM+k8lcuFj9h8PVgd1ZbaXtwr4ywbdBb/Wahceqh3zfMIA7aFTxQt GmCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701940332; x=1702545132; 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=P8Iep3f8IbW9XJUviPCyqs/DBfreAlewexDEpMRvmDo=; b=EDQonEufAKaEROE27w/neQpkucFHShWMKY9xT+t/MdGyYtt03Eak9aDv4iWyF/E4EP YT0ONGxQmcTXa8K0ws+8cdT3A1E8dgVr+iGsMfRxvu5XILWbENwbFx3Yz+cmK4GEMo7c QE5p58z8o34BY7lR5k7FJD0G7Al8XEeKs0v8ysxCcIRUiGOv8EbBT6ehcpA0m7es6SSt s9tEhNbYD7Pm8pj/Yl4l6Guz5PL5RH+PIDWTTw9W+pRMUWgmfNj2FeeDD5AFkip4zec1 up9SWlsJTYxzZh1I5h1ysD2/e1D7B7DvSk8CWiSeU7GbpXhU9g/Jabv0hL9A4I0iTIIV NTqQ== X-Gm-Message-State: AOJu0Yy44Fnx6k/lc+8tkZkiAm7v34FajRJe46H8hR0PCZupkpUIEAFY LRuv/LDZeOflZJxj7yUkdcGGHg== X-Received: by 2002:a05:600c:3b1f:b0:40b:2a18:f1be with SMTP id m31-20020a05600c3b1f00b0040b2a18f1bemr1427841wms.1.1701940332105; Thu, 07 Dec 2023 01:12:12 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:de32:8b0f:dc9a:4dce]) by smtp.gmail.com with ESMTPSA id y3-20020adff6c3000000b0033334c3acb6sm896009wrp.98.2023.12.07.01.12.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:12:11 -0800 (PST) From: Bartosz Golaszewski To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Alex Elder , Srini Kandagatla , Bjorn Andersson Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 2/3] dt-bindings: net: bluetooth: qualcomm: add regulators for QCA6390 Date: Thu, 7 Dec 2023 10:12:01 +0100 Message-Id: <20231207091202.19231-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231207091202.19231-1-brgl@bgdev.pl> References: <20231207091202.19231-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:13:20 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784613858556137471 X-GMAIL-MSGID: 1784613858556137471 From: Bartosz Golaszewski Add regulator properties for QCA6390 that are missing from the bindings and enforce required properties for this model as well. Signed-off-by: Bartosz Golaszewski --- .../net/bluetooth/qualcomm-bluetooth.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml index ba8205f88e5f..861663f280eb 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml @@ -65,12 +65,21 @@ properties: vddbtcxmx-supply: description: VDD_BT_CXMX supply regulator handle + vddpmu-supply: + description: VDD_PMU supply regulator handle + vddrfacmn-supply: description: VDD_RFA_CMN supply regulator handle vddrfa0p8-supply: description: VDD_RFA_0P8 supply regulator handle + vddrfa0p9-supply: + description: VDD_RFA_0P9 supply regulator handle + + vddrfa1p3-supply: + description: VDD_RFA1P3 supply regulator handle + vddrfa1p7-supply: description: VDD_RFA_1P7 supply regulator handle @@ -180,6 +189,21 @@ allOf: - vddrfa0p8-supply - vddrfa1p2-supply - vddrfa1p9-supply + - if: + properties: + compatible: + contains: + enum: + - qcom,qca6390-bt + then: + required: + - enable-gpios + - vddio-supply + - vddpmu-supply + - vddaon-supply + - vddrfa0p9-supply + - vddrfa1p3-supply + - vddrfa1p9-supply examples: - |