From patchwork Mon Jul 3 13:31:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13300100 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88F6DEB64DC for ; Mon, 3 Jul 2023 13:31:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231459AbjGCNbR (ORCPT ); Mon, 3 Jul 2023 09:31:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230503AbjGCNbQ (ORCPT ); Mon, 3 Jul 2023 09:31:16 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67BF3E54 for ; Mon, 3 Jul 2023 06:31:15 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fb41682472so6702026e87.2 for ; Mon, 03 Jul 2023 06:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688391073; x=1690983073; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=mmnKR6NrcH13RIboC24wgvo0cXm9uFpdKMc5Nw0n2zA=; b=ScMdpPo+quZsGKt6VxpWHDSxyvsyHQTKTkDln/Nk5LM97r3ByHE8tRaLbaMvIxbS85 lQMOOI6mNxiq/LTabMNpFsGcPccJoVDJvShOaSrpsRAAw2GVxGZ0/hQb3kL+DOn9bPO3 LzzMb+6WZ9gj9hrm80XN+GiplqVeWvzt2DHlJzYUm4O3fYez/hIEfojd6aCDtOQLMyDw /JST52UuE9cGQN/N23OmzKAbDBCwMaT+9FXOCFXxFcoYHA40lGBrO7AfStANI6Fie7bc AybJ0M1nIfz4EcE8lNqRCIoqPrMLcwxi6MjmTcgE/1FmWXxq/MKuYPxjFySG61Pss78+ QEIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688391073; x=1690983073; 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=mmnKR6NrcH13RIboC24wgvo0cXm9uFpdKMc5Nw0n2zA=; b=QCS9lE/Hjm/eOBKsBzgOhL2zwKnfKCZERWPjNUJHAJ0azEQZTWFxOmLv9ws1XR0A6A m5jRostW3wiN12ClUGcilkQ+SQGcV1UDVssuK7ee+MAU1mKnr9Fa40pdJPfu7/nEZjIR 6U/mpF/OWHaDBus7kLDa+R1HI2ZPLCO8FaGuPHNEMrmbNd2RfyaJSsDyNri8cDQwpe9E rhFoSI/sZKLONk0z/IITAB3fkuS3M2msVn9ZWhBGCUpoHmqm5pUtKleE+FJpWNvlk9bU zYzHy7nr6QrszZIQ+LQRo/I/ZR945gv1mXx43u6rtjkTb7nSFT0PZIcE1HHymz/hMBoE g6uA== X-Gm-Message-State: ABy/qLZOQsnp8qryv9CUy6Ft4g84Me2Lwf1FuCsHvleMfMZLEgGwCUcI f75ylpQvDgmRH2TTOvNxvrswLQ== X-Google-Smtp-Source: APBJJlGFdqjy8wwAOkx2KKsD9YVjv9xJFBDRdOY+uU/tTgJX7vCdJgPQj5vpQBGok4bNXDBHh5GbeQ== X-Received: by 2002:a05:6512:3984:b0:4fb:85b2:cf78 with SMTP id j4-20020a056512398400b004fb85b2cf78mr8856638lfu.37.1688391073559; Mon, 03 Jul 2023 06:31:13 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id ep7-20020a056512484700b004fbb1f70ceesm833417lfb.227.2023.07.03.06.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 06:31:13 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/5] Add interconnects to QUPs on SM8250 Date: Mon, 03 Jul 2023 15:31:09 +0200 Message-Id: <20230703-topic-8250_qup_icc-v1-0-fea39aa07525@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJ3NomQC/x2N0QqDMAwAf0XyvEBtp5X9yhCpMZsBqV2rMhD/f WGPd3DcCYWzcIFHdULmQ4qsUaG+VUBziG9GmZTBGuuMNw63NQlhZxszfPY0CBG2tW+74O7kmUD DMRTGMYdIs6ZxXxaVKfNLvv/Ts7+uH6A3bfx5AAAA To: Andy Gross , Bjorn Andersson , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Andi Shyti Cc: Marijn Suijten , Krzysztof Kozlowski , 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, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688391072; l=1274; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=P/b9sUtVGW1aCLv/5W9/Do7IS4MZ5AYwLEHs4cWI4Yo=; b=FeyN/5yDiFSyKCkhToHlIcdNwZzpYCsAzae8/E3MTmMzSSgehX8sZSykvbqgM4E5OR2o/LBXV pAWX9VvkUzICzoebYDjNNIbkASbiD70Z2u/I6lHttwRFt3eIaxT4Pcp X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org 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 (5): dt-bindings: spi: spi-geni-qcom: Allow no qup-core icc path dt-bindings: serial: geni-qcom: Allow no qup-core icc path dt-bindings: i2c: qcom,i2c-geni: Allow no qup-core icc path soc: qcom: geni-se: Allow any combination of icc paths arm64: dts: qcom: sm8250: Add interconnects and power-domains to QUPs .../bindings/i2c/qcom,i2c-geni-qcom.yaml | 27 ++-- .../bindings/serial/qcom,serial-geni-qcom.yaml | 26 ++-- .../bindings/spi/qcom,spi-geni-qcom.yaml | 15 ++- arch/arm64/boot/dts/qcom/sm8250.dtsi | 150 +++++++++++++++++++++ drivers/soc/qcom/qcom-geni-se.c | 9 +- 5 files changed, 204 insertions(+), 23 deletions(-) --- base-commit: 296d53d8f84ce50ffaee7d575487058c8d437335 change-id: 20230703-topic-8250_qup_icc-61768a34c7ec Best regards,