Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp320966lqr; Wed, 5 Jun 2024 07:08:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXI1g8BGKym8KsnVxWMVGX1+6anzfV2ff6RUeOyCgndVaKotBHEAOyIKK0iXnWB7pMorMkytLh6E+jWsyYZW0CumMCxsFJp+GyhYkBCbA== X-Google-Smtp-Source: AGHT+IEqE3+J1PQMUDwKH78qa0IDdk/LcQMit3yoCPAC5vHywyTiYfvzJ3bV0l3DGxwfv4a2oZ93 X-Received: by 2002:a25:264b:0:b0:df7:8b7c:ee6e with SMTP id 3f1490d57ef6-dfacac43984mr2755561276.43.1717596537940; Wed, 05 Jun 2024 07:08:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717596537; cv=pass; d=google.com; s=arc-20160816; b=Y6CS0eL21t93LiurL7BfVnWTCjXWs8rXyCDbL8gvTGkhTKS+MvWCLTITUswjmNirz6 hfPAy6qG3S6lbxE4Cpne0H87X+w0yEvn1XO7CGJGSdWRXDZ26PKTZ0ibPzTPif9Ktg5W UeFv/2Ax2e7FSn36gk1ub25tBDcsVpy7tjGDD01WgyjpmfGnOAi22NqxP7eJqeHEBVV4 bjIbtzYWkmor7xsQSErxHV2ABCk0IruHxwgNALlPkkVNQHqgCjfBfP7XPKM58FbW/Mvv lRI0ihPNnwsz7L52NQqxsUcJ+Tm22lOAkWTFRJneYolPD4OAqFm78KP9CrqHVVkzfDGF kKiw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ZHSispro9byIbJJ27egkXQIvYlTCe/tBCT6tEz+/1ZA=; fh=ekQu9qvUlhmQGSw5PnzpoHWGIGlOjfmMbLyvEsjj3Y0=; b=OmYNCZ57r+1044isTAYeOu6j17fpGveaAs5YRTxoblz6PTLoRfi0AMf0iAq2jOCJ3z HWNIUf3byyQJCZbD8F/LG3daUqxV92xN+ad38NSbranq8bGlobN9UMJsxDUlS5MtF/+Q P+mKqhtt5Wvgxf7IGXnztW4KHGkpgNvlwI08X20fV3NyG4EdeoJfyN4hY8Wg9SFjakJO XXaCL8USKxjdpn2Q/RQ3bE7VkydpUGk1Z7aLjLC6JGnyLWBNLjgbzEUjidhmBx7VGtH2 +nfbTjHq8j9Ic0O7QIEl6D0eHxNnHyRb5PP1KSomOAJUIUV6MmDFLK8KbI7GhK63Q73j L/VQ==; 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=UQSDNqLe; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-202757-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202757-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 3f1490d57ef6-dfa6f028ff6si6360889276.169.2024.06.05.07.08.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 07:08:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202757-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=UQSDNqLe; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-202757-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202757-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 935A11C20E40 for ; Wed, 5 Jun 2024 14:08:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8386317C60; Wed, 5 Jun 2024 14:08:50 +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="UQSDNqLe" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 D111CB66E for ; Wed, 5 Jun 2024 14:08:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717596529; cv=none; b=Q071IR0GEbShOlQiNVmiNCATD+Ay57JNAJHH2h0hOmUZ+YVDWICbMJKmELXHVxuo96cWw5YRY0CrstGELfpkhd0DdD7aKWLYoh+tpVJeny5Y+vVHtC18EwMmBRG1dIIV9eDIkeY/twPuwlF/20aZlOu8B2AwH6AjYW6C9m+WR4A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717596529; c=relaxed/simple; bh=LiyeTVR61UKKdfGZzWXSIUzQsWrUlb7cMftBdtGQCdI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=GH9IdyZ/ctT7f8uGwihnYB8ZvjVVPVc/LJzDd5aDg2tF2XK5sNBGyIRBuSE50D94z20xdPjRrvdZhHq2Bo0R+8x8nVKDhOzV6FHNFlcyPTwbBcrYei8q+vVlFsoQ39SkdaacS7LfKqiuXqfbMSqTBnckrWod0PkxH88GAfOSwXw= 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=UQSDNqLe; arc=none smtp.client-ip=209.85.167.41 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-f41.google.com with SMTP id 2adb3069b0e04-52b98fb5c32so5328007e87.1 for ; Wed, 05 Jun 2024 07:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1717596525; x=1718201325; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZHSispro9byIbJJ27egkXQIvYlTCe/tBCT6tEz+/1ZA=; b=UQSDNqLezPtezV0T7GLrpADklMNkI2daMF9cUJOZ7Dr163QK7Yyx6yKmNRPxgvM18/ MZjxtcIQIfTo8uOKrYF9cr7NdNMtALFIqSnd0sFoOdf5bRNvU8yz2gh/QJr93m1TI7ql YQEOyVyaPObc7KI1f/KDp2jhmZy6ejgpWKJcU/rNTJe1TxfF3+uZ4XLG+4Dpfgg2BpmT c+Go6TR7N8o+e+pSSb3+Wq5HB+Llxd1++j5J3xLpNwfPjFOCAb1Sbvv0Cu4KZy2QfeqX 2l2G7x4sSXAon6haMrWWRwNtcMi5Pv40DOFKFKgfg37maxSO+2l9ib5VyXlWS7J79H2t X5mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717596525; x=1718201325; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZHSispro9byIbJJ27egkXQIvYlTCe/tBCT6tEz+/1ZA=; b=Pq2uHH9i0Q3KtwFtNfEsGKmsnS75PFeMjvLIvoTs6sw7LFGw+6dgsXWgkOaUWouYSJ 76Rr3lYrcgx2feNcERITM55mjXwzt6wbmk9qDr//Zdbnl3TgFNFupELd39dXDfg4+KYs okUdWhPttm6AkbC1xFxbYyJjlcVzEz+A7h5RRIbUJIQgFbR4BJxEkDX/qivdpan8Ik+1 HM6HF5nI0shGgDkhxOXjWexi42ARlqFvJZMtcF11LFcxC8S1dlDKhpEXASI1R6UfLjdX 6vODLPiCtXGz0pBPSLHXJ9DRfuAorZTc6vGB9tacqhcp/6FFR16DPXDLUbqUHp+KVAB9 WHPA== X-Forwarded-Encrypted: i=1; AJvYcCXgECO2CIqZdvgMFnHBzpc5tL9aET1WfSVcuYUxGEFsvz0BVZMDvju/yfoou+NQxlBYS/GjJCLfjpys2We7Iphywfy3pg71n3H1GAOC X-Gm-Message-State: AOJu0YyWU5fFnbw6qvexTOLqsDRqUXGmPKmoNAm0r0wQn1zsAJ9c+Vm9 5mNBifLgGfJS/4gQcMZ1qvtw3dqYnkzK4Ebzzi2XZlsFCsce0X4ZpRxwxejFmKwrVOA1JTz9LsK YZ+iJaYoNKfFDtN/ibjQYSNDv2eyPAbOPE9OHiQ== X-Received: by 2002:a05:6512:31ca:b0:518:9ce1:a5bb with SMTP id 2adb3069b0e04-52bab4fcbfbmr2613769e87.54.1717596524882; Wed, 05 Jun 2024 07:08:44 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240605122729.24283-1-brgl@bgdev.pl> <171759285132.2201422.6812393889473417095.robh@kernel.org> In-Reply-To: <171759285132.2201422.6812393889473417095.robh@kernel.org> From: Bartosz Golaszewski Date: Wed, 5 Jun 2024 16:08:33 +0200 Message-ID: Subject: Re: [PATCH v9 0/4] arm64: dts: qcom: add WiFi modules for several platforms To: "Rob Herring (Arm)" Cc: devicetree@vger.kernel.org, Bjorn Andersson , linux-kernel@vger.kernel.org, Bartosz Golaszewski , Konrad Dybcio , Conor Dooley , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 5, 2024 at 3:12=E2=80=AFPM Rob Herring (Arm) = wrote: > > > On Wed, 05 Jun 2024 14:27:25 +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Hi! > > > > Here are the DTS changes for several Qualcomm boards from the > > power-sequencing series. To keep the cover-letter short, I won't repeat > > all the details, they can be found in the cover-letter for v8. Please > > consider picking them up into the Qualcomm tree. They have all been > > thorougly tested with the pwrseq series. > > > > Changelog: > > > > Since v8: > > - split the DTS patches out into their own series > > - Link to v8: https://lore.kernel.org/r/20240528-pwrseq-v8-0-d354d52b76= 3c@linaro.org > > > > Since v7: > > - added DTS changes for sm8650-hdk > > - added circular dependency detection for pwrseq units > > - fixed a KASAN reported use-after-free error in remove path > > - improve Kconfig descriptions > > - fix typos in bindings and Kconfig > > - fixed issues reported by smatch > > - fix the unbind path in PCI pwrctl > > - lots of minor improvements to the pwrseq core > > > > Since v6: > > - kernel doc fixes > > - drop myself from the DT bindings maintainers list for ath12k > > - wait until the PCI bridge device is fully added before creating the > > PCI pwrctl platform devices for its sub-nodes, otherwise we may see > > sysfs and procfs attribute failures (due to duplication, we're > > basically trying to probe the same device twice at the same time) > > - I kept the regulators for QCA6390's ath11k as required as they only > > apply to this specific Qualcomm package > > > > Since v5: > > - unify the approach to modelling the WCN WLAN/BT chips by always expos= ing > > the PMU node on the device tree and making the WLAN and BT nodes beco= me > > consumers of its power outputs; this includes a major rework of the D= T > > sources, bindings and driver code; there's no more a separate PCI > > pwrctl driver for WCN7850, instead its power-up sequence was moved > > into the pwrseq driver common for all WCN chips > > - don't set load_uA from new regulator consumers > > - fix reported kerneldoc issues > > - drop voltage ranges for PMU outputs from DT > > - many minor tweaks and reworks > > > > v1: Original RFC: > > > > https://lore.kernel.org/lkml/20240104130123.37115-1-brgl@bgdev.pl/T/ > > > > v2: First real patch series (should have been PATCH v2) adding what I > > referred to back then as PCI power sequencing: > > > > https://lore.kernel.org/linux-arm-kernel/2024021413-grumbling-unlivable= -c145@gregkh/T/ > > > > v3: RFC for the DT representation of the PMU supplying the WLAN and BT > > modules inside the QCA6391 package (was largely separate from the > > series but probably should have been called PATCH or RFC v3): > > > > https://lore.kernel.org/all/CAMRc=3DMc+GNoi57eTQg71DXkQKjdaoAmCpB=3Dh2n= dEpGnmdhVV-Q@mail.gmail.com/T/ > > > > v4: Second attempt at the full series with changed scope (introduction = of > > the pwrseq subsystem, should have been RFC v4) > > > > https://lore.kernel.org/lkml/20240201155532.49707-1-brgl@bgdev.pl/T/ > > > > v5: Two different ways of handling QCA6390 and WCN7850: > > > > https://lore.kernel.org/lkml/20240216203215.40870-1-brgl@bgdev.pl/ > > > > Bartosz Golaszewski (3): > > arm64: dts: qcom: sm8550-qrd: add the Wifi node > > arm64: dts: qcom: sm8650-qrd: add the Wifi node > > arm64: dts: qcom: qrb5165-rb5: add the Wifi node > > > > Neil Armstrong (1): > > arm64: dts: qcom: sm8650-hdk: add the Wifi node > > > > arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 103 ++++++++++++++++++++--- > > arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- > > arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 97 +++++++++++++++++++++ > > arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- > > arch/arm64/boot/dts/qcom/sm8650-hdk.dts | 89 ++++++++++++++++++++ > > arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 89 ++++++++++++++++++++ > > arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +- > > 7 files changed, 370 insertions(+), 14 deletions(-) > > > > -- > > 2.40.1 > > > > > > > > > My bot found new DTB warnings on the .dts files added or changed in this > series. > > Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings > are fixed by another series. Ultimately, it is up to the platform > maintainer whether these warnings are acceptable or not. No need to reply > unless the platform maintainer has comments. > > If you already ran DT checks and didn't see these error(s), then > make sure dt-schema is up to date: > > pip3 install dtschema --upgrade > > > New warnings running 'make CHECK_DTBS=3Dy qcom/qrb5165-rb5.dtb qcom/sm855= 0-qrd.dtb qcom/sm8650-hdk.dtb qcom/sm8650-qrd.dtb' for 20240605122729.24283= -1-brgl@bgdev.pl: > > arch/arm64/boot/dts/qcom/qrb5165-rb5.dtb: bluetooth: 'vddbtcmx-supply' do= es not match any of the regexes: 'pinctrl-[0-9]+' > from schema $id: http://devicetree.org/schemas/net/bluetooth/qual= comm-bluetooth.yaml# > arch/arm64/boot/dts/qcom/sm8650-qrd.dtb: /wcn7850-pmu: failed to match an= y schema with compatible: ['qcom,wcn7850-pmu'] > arch/arm64/boot/dts/qcom/sm8650-hdk.dtb: /wcn7850-pmu: failed to match an= y schema with compatible: ['qcom,wcn7850-pmu'] > arch/arm64/boot/dts/qcom/sm8550-qrd.dtb: /wcn7850-pmu: failed to match an= y schema with compatible: ['qcom,wcn7850-pmu'] > arch/arm64/boot/dts/qcom/qrb5165-rb5.dtb: /qca6390-pmu: failed to match a= ny schema with compatible: ['qcom,qca6390-pmu'] > > > > > Bindings for this were sent separately to for the regulator tree. Bartosz