Message ID | 20230703-topic-8250_qup_icc-v2-0-9ba0a9460be2@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp767502vqx; Mon, 3 Jul 2023 13:19:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlHkw78R/cadqNtThlafD1vckFZ5KzuzjU5UCHwZ25ZvhJD3quN9ewkOD46GAZqd5E+86XEP X-Received: by 2002:a05:6a00:8016:b0:677:3439:874a with SMTP id eg22-20020a056a00801600b006773439874amr12691675pfb.3.1688415542383; Mon, 03 Jul 2023 13:19:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688415542; cv=none; d=google.com; s=arc-20160816; b=xLu5G4V6BnF7rEt2yHaQTZrU47z6safkfwq0UfSxNMzpbPL4O90hIBK2J33oJpdedD TRajLM2XttA2dOGJeUaYiriu3Ikx1Y/jf3G5LSGJV8GxPpw19zX8RrOr8VRw+YtPEp8S RUtP1YEPYB2g4M2cwyKQyPoJfI7sdtTEBSmxFnDxS9/KKNdmZp3weOScP0Ptuztqnru/ ic1uLlGXGzcC8ARQCXtyckBabKNEYChV9BeF0L96MHglfqXoCFIqt5zVHh/gokKF+jhY 6GY/WoLndre6ik55utm6ln6WZvF9HyisFW9XwP56qx6bQ7rKQdfdpXXJDyg9RAIuoUqO VCFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=OmxlnwW6OlUanek5Fckd1dRfjqDIwlG3Z86p0uliLOk=; fh=KGzuBkPrivf/m0ZGfbUKRRb1fwO6/WUK+97vXMNLqvg=; b=DbD3SSTDkAgpyB0SOJQfhGXSN6DML5v8s9xqoeyEoc6GaPXRZvPJZmXrmCpi+7T1q3 TPsIIwNSWsQdRHjJ6GLRnLMzKAZuFTAENkiy9pqS8xbYae/2o064piWhDM6YENfyNx1d NxtB6EuoM3bPInUxRk+5HwY2Xa0oWGM/e+r0BTs7jvOi7jcDOgHeP50nOt8x8prkRiSj K/UQGxNM6DsKeeBPp+5Z8mec7Rd0dBHl3ro1wXVKMThP8wXwoooOLY8dGldqWSmnmt+T NXAH9Z2NgChNzC6i7xDl6QRdOWLlZqwabkVHM+ZqxBE6zotpVJiE4Ml5L7G659jKLcSB p69g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="SsRnH/OM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a635d4b000000b0055745f8d6b1si18302484pgm.383.2023.07.03.13.18.50; Mon, 03 Jul 2023 13:19:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="SsRnH/OM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231384AbjGCUPf (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Mon, 3 Jul 2023 16:15:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229853AbjGCUPe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 3 Jul 2023 16:15:34 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10490E47 for <linux-kernel@vger.kernel.org>; Mon, 3 Jul 2023 13:15:33 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fba03becc6so5397337e87.0 for <linux-kernel@vger.kernel.org>; Mon, 03 Jul 2023 13:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688415331; x=1691007331; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=OmxlnwW6OlUanek5Fckd1dRfjqDIwlG3Z86p0uliLOk=; b=SsRnH/OMBJV2EOefcvu1Xb2yQsvdhSI2R2icQ1p/FvczfAwJVJXLbqxxVRXC/kLjpc o38MR5sskA7mguUVBFOcSYtw9xKDHL8hwsHxQvHbJwSn4Hd08mhlOp8hNY/yx5bivGhV DGAjN1eKwyVC+7XJcYpN+u+sxIG4NaGCmG5Ldm2n/Umf5ZEFn6mLZF25C9I69vCjHKqv Pl7Ag7jK6DfrFp2DhnKorKLfOJIw9O0fovcVYNYjBiOR9vPGdkwbBwRR1FTK7wL7rzYu hzJfoq1NP5km7ZR50eKzjPnUbVTEyjdcHKGz7MgaYcGpD6vpWP+6F8OnE7KRgLSqldHR kIVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688415331; x=1691007331; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OmxlnwW6OlUanek5Fckd1dRfjqDIwlG3Z86p0uliLOk=; b=XPKilqSCdzi7NycDpQzVlFKJ5W8t5qoTrXDsjXphaO4i6Yem6vmOuu1kicSEtB3Rvi S31zPPMlU58s5TZc9pM1j45TJ4FnCLa15wjmqmLqIS9Dt0N+e5UNlggK8mk5TC0/v1ex Jtswy6tX/PzMr0i8V8Bbr4mlYmX/yuXBvuuEhVWZRpFqaI1E04CIKpR3irRTLoiWa1co RpnP7w6TKYz/rZImZL14IQZlM3xHTv1RQFcvh/YtSPcOyUOV8Hb7w5Mbh49UjXvkPOzj NRaZGg1gzzKPPpB244DKiiJjdDOv0Yj6mxKTuaKUw/+sMDOJfoRtyXbIbIe/ac+tbJq+ dBvQ== X-Gm-Message-State: ABy/qLZ6Z+C8tNUl+1sXhlcHjVRZqUUcylptumGm6joRncCvR4oUEhSP 2qq6+BR8fBwqhZVR/rzs2IDFDw== X-Received: by 2002:a05:6512:4013:b0:4f9:56b8:45e5 with SMTP id br19-20020a056512401300b004f956b845e5mr4663385lfb.25.1688415331030; Mon, 03 Jul 2023 13:15:31 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id w27-20020a05651204db00b004fba7edc6cesm1991365lfq.7.2023.07.03.13.15.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 13:15:30 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH v2 0/4] Add interconnects to QUPs on SM8250 Date: Mon, 03 Jul 2023 22:15:24 +0200 Message-Id: <20230703-topic-8250_qup_icc-v2-0-9ba0a9460be2@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFwso2QC/32NQQqDMBAAvyI5NyUm1die+o8ism5XXZDEJiot4 t+b+oAeZ2CYTUQKTFHcsk0EWjmydwn0KRM4gOtJ8jOx0EobZZWRs58YZaUL1byWqWFEWea2rMB c0BKKFLYQSbYBHA4pdcs4JjkF6vh9nB514oHj7MPnGK/5z/59rLlUsiMwVwBlC13cR3YQ/NmHX tT7vn8BgyzMtsoAAAA= To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Andi Shyti <andi.shyti@kernel.org>, Georgi Djakov <djakov@kernel.org>, Odelu Kukatla <okukatla@codeaurora.org>, Jonathan Marek <jonathan@marek.ca>, Sibi Sankar <sibis@codeaurora.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pm@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688415328; l=1365; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=dPT2roZiTmdQmO/AOJA7mh/BGKezhgAf87PZ1MFFvgg=; b=YYNXe31KSRcf7Lk7nGQU5Xt0Jfhyz/T8zQ6WxbFjMq5eCquktEC2yJaN7vfHXBu+lgFjrcHIa A/Sq/fnZE+7Dfn0irrsXaCOk9Ng3RRcXVYrA2snsERBhkcvmRayf47M X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770432015881664177?= X-GMAIL-MSGID: =?utf-8?q?1770432015881664177?= |
Series |
Add interconnects to QUPs on SM8250
|
|
Message
Konrad Dybcio
July 3, 2023, 8:15 p.m. UTC
SM8250 (like SM8150 but unlike all other QUP-equipped SoCs) doesn't
provide a qup-core path. Adjust the bindings and drivers as necessary,
and then describe the icc paths in the device tree. This makes it possible
for interconnect sync_state succeed so long as you don't use UFS.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Changes in v2:
- drop everything, fix icc instead of messing with bindings
- Link to v1: https://lore.kernel.org/r/20230703-topic-8250_qup_icc-v1-0-fea39aa07525@linaro.org
---
Konrad Dybcio (4):
dt-bindings: interconnect: qcom,rpmh: Add SM8250 QUP virt
dt-bindings: interconnect: qcom,sm8250: Add QUP virt
interconnect: qcom: sm8250: Fix QUP0 nodes
arm64: dts: qcom: sm8250: Add interconnects and power-domains to QUPs
.../bindings/interconnect/qcom,rpmh.yaml | 18 +-
arch/arm64/boot/dts/qcom/sm8250.dtsi | 286 +++++++++++++++++++++
drivers/interconnect/qcom/sm8250.c | 74 +++++-
drivers/interconnect/qcom/sm8250.h | 6 +
include/dt-bindings/interconnect/qcom,sm8250.h | 7 +
5 files changed, 384 insertions(+), 7 deletions(-)
---
base-commit: 296d53d8f84ce50ffaee7d575487058c8d437335
change-id: 20230703-topic-8250_qup_icc-61768a34c7ec
Best regards,
Comments
On Mon, 03 Jul 2023 22:15:24 +0200, Konrad Dybcio wrote: > SM8250 (like SM8150 but unlike all other QUP-equipped SoCs) doesn't > provide a qup-core path. Adjust the bindings and drivers as necessary, > and then describe the icc paths in the device tree. This makes it possible > for interconnect sync_state succeed so long as you don't use UFS. > > Applied, thanks! [4/4] arm64: dts: qcom: sm8250: Add interconnects and power-domains to QUPs commit: 86a9264b6c56c9eee6dd5c8733f92afd3f58ce98 Best regards,