Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4174571ioo; Wed, 25 May 2022 17:22:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3BKyB1ioj/iy7ZR+jrYqaInDb2+pg1G2Pdd+bO8PVRQ4arY/ZAHseWpFeC8j4DSYVhwor X-Received: by 2002:a17:906:fa0e:b0:6fe:a41f:d395 with SMTP id lo14-20020a170906fa0e00b006fea41fd395mr26612593ejb.201.1653524536693; Wed, 25 May 2022 17:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653524536; cv=none; d=google.com; s=arc-20160816; b=pme0glpW2j6QC4a8wLpFMycpQel+inQCzDebUfGaXECwKtIZig8jZ3Z33e8ATqH0EE tAepiNDWUaw1uGIYqX+IheZ0kkzGPSRr1T+pgqph9CBQT4uCC0lwDdVNB4F3WcfPWS7d /2s4dxq9r4Aoag+6sPiv/C32zCCeJ3a7k2/sZIQ0/xpVRNCm1R2kqpEMbSyPl/+ZNa0S KXLDmSQmQVAoQLbJriyH4Y8yZkwHedPsjBHNM2yFoDIeoPPCnzZU1cjsuz1OFb6OErQg yDE+dBaytzJGmGOp5h071Y/6rS9MaoTo+BcJrshnpfr9C2/HCdy8pA5vTOAP+HX60/MR RPgA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=GC8ExN7zgyMEJWd9pL4zC+r85cZkPtnN1cqYEwb1TYQ=; b=WHAcpv0/O/NFVgTyDhPzoWWVP6YdHCVerzndZHLQQooaZsg7Il92d/cq3ebx3M39xF Um5fLlqPkIpEuBoYzPyg2SiLQdWn61Geu5uV/eEpsSh1i7pcDXwMJTTw4Nyz16Ix6pFR ZBg4cg6Wxa7kx7oXDGZg30BhyC1FHoZCgh2h2glDNprHbxziopp/2ypDfJWF4Ze0eUOL 5EbUKjgpYHEhcrna9m5fBpxm9NBQ9IfUDpX1sc9ymXkkcy7UtO+mMq8xSryAFsf4RWBL oOYMCdPfit6U31GV3mXarhEPfrQCSOxVmIv8u+MiaXn6E6L5p4rgrb+dxUKBFC0HjKzn Ej+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=iWzN+qaN; 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=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c6-20020a50f606000000b0042b4f1baed0si70631edn.243.2022.05.25.17.21.48; Wed, 25 May 2022 17:22:16 -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=@fairphone.com header.s=fair header.b=iWzN+qaN; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244862AbiEYOoi (ORCPT + 99 others); Wed, 25 May 2022 10:44:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbiEYOof (ORCPT ); Wed, 25 May 2022 10:44:35 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70BF4A7E21 for ; Wed, 25 May 2022 07:44:33 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id n10so42159422ejk.5 for ; Wed, 25 May 2022 07:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GC8ExN7zgyMEJWd9pL4zC+r85cZkPtnN1cqYEwb1TYQ=; b=iWzN+qaN44xR2/Ui8/XVBZAWL1dNaHgp8yovlEXubsFnybVGy66n2ADXP6AH90/Gl+ Ed6MV5jipQDiHQylU2s/8hWxdE9rxrx8FIv/TYRZnJx4b6LCPlY3MhgFG2HGwZvnZ1M6 oSgvSVLTAB8MsdiOgqIrn4NAWc5rBTeHuOm99rx58g/IhFhyxjOZRVHQIbn9dIBRRCUj 2iu+zfDmyzLpQd4P+73ktua1wl67KzOj9FXV0eZWNh+jY1JBwL2udNTzMatX5zOAKLRw JJuiNVqWp60WD2uUMjxMxWdjwsK0w4jAriC1aJ2nkMhpbwOOrylSxkRVom0GoN25adzA H3qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GC8ExN7zgyMEJWd9pL4zC+r85cZkPtnN1cqYEwb1TYQ=; b=ICwXU79xnBtV8oyJfnrlutHG/KyCbduf4zVWsR5FmnozCE5N2QtcGZvszI/pbNNTkY AGfUU1bnxXkHowBre1537YtPTvhjrwUb97XT/OQnsMhOy4nYHqhvSXVOt2/a4XznGC/1 qjMqSXKDBqTX3+WhKYy4zp079bVExIUrnJIX+tJKH3A094D9W0nAvxfoiOWPZYXtnw0m FN1Qv145sGZSFcrctCyipvxy9/iYH7mp3xQ3r8oYHYBheVS76mzmmcrtGPXKn7JZOmEt VeB4nxq1bEa1JCbD1PQaYnSfQ5y70purJR0kLhR0cbUAISRhhU7U2yY15AHvfDXAcWD+ GY0A== X-Gm-Message-State: AOAM530HtELc+EbnFfhHCJFiJxK+AGgC5GU1enRK1Ce6XgT9aMUBJccE vPG1IAcCoxigivTLX3Ojbjlrcg== X-Received: by 2002:a17:906:d550:b0:6ff:1eb1:69e9 with SMTP id cr16-20020a170906d55000b006ff1eb169e9mr255ejc.663.1653489871936; Wed, 25 May 2022 07:44:31 -0700 (PDT) Received: from otso.. (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id r2-20020a170906550200b006f3ef214de1sm8159596ejp.71.2022.05.25.07.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 07:44:31 -0700 (PDT) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Bjorn Andersson , devicetree@vger.kernel.org, Georgi Djakov , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Odelu Kukatla Subject: [PATCH v3 0/5] Add interconnect support for SM6350 Date: Wed, 25 May 2022 16:43:56 +0200 Message-Id: <20220525144404.200390-1-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: X-Mailing-List: linux-kernel@vger.kernel.org This series adds interconnect support for the various NoCs found on sm6350. A more special modification is allowing child NoC devices, like done for rpm-based qcm2290 which was already merged, but now for rpmh-based interconnect. See also downstream dts: https://android.googlesource.com/kernel/msm-extra/devicetree/+/refs/tags/android-11.0.0_r0.81/qcom/lagoon-bus.dtsi Luca Weiss (5): interconnect: qcom: icc-rpmh: Support child NoC device probe dt-bindings: interconnect: qcom: Split out rpmh-common bindings dt-bindings: interconnect: Add Qualcomm SM6350 NoC support interconnect: qcom: Add SM6350 driver support arm64: dts: qcom: sm6350: Add interconnect support .../interconnect/qcom,rpmh-common.yaml | 43 ++ .../bindings/interconnect/qcom,rpmh.yaml | 22 +- .../interconnect/qcom,sm6350-rpmh.yaml | 82 +++ arch/arm64/boot/dts/qcom/sm6350.dtsi | 109 ++++ drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/icc-rpmh.c | 4 + drivers/interconnect/qcom/sm6350.c | 493 ++++++++++++++++++ drivers/interconnect/qcom/sm6350.h | 139 +++++ .../dt-bindings/interconnect/qcom,sm6350.h | 148 ++++++ 10 files changed, 1034 insertions(+), 17 deletions(-) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,rpmh-common.yaml create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sm6350-rpmh.yaml create mode 100644 drivers/interconnect/qcom/sm6350.c create mode 100644 drivers/interconnect/qcom/sm6350.h create mode 100644 include/dt-bindings/interconnect/qcom,sm6350.h -- 2.36.1