Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2198113iob; Fri, 20 May 2022 04:25:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqYkEv+F4dJK+tvUcwgltueHkem+TnRC/hT647W5zTy20iWFnvneWq2HXeSJpwOBYBbbJW X-Received: by 2002:a17:902:f784:b0:161:e9f7:2b0b with SMTP id q4-20020a170902f78400b00161e9f72b0bmr4943827pln.9.1653045930528; Fri, 20 May 2022 04:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653045930; cv=none; d=google.com; s=arc-20160816; b=ETGgExVnc7Rym2xntfkrcjWOPNzRguh4KunUyXkawMH+QA22TxnkJJsL3FgYaEQQj0 8kMFTGQT7WEnwrtv8W7BhLARl1MDRb+5L/UtUWKG2SMk195VCwmTytvcOQPpSAa+hwz2 ZsI+jtuDOipivslds2qOLKD3IRHBpwZ5Axw4bTjQWbwqBuAJTvHT+5rz3If0zAbuhZP1 Uvsnqt60JVOaUqucH+G4buehg4LfRxVj5bnPLxRbh4kZ0ZcNe3TcXsHLFxPjbJksw7HL jI0y9MDRBb3XVmD4L/T9T2t4BWjnqThUSgHO1kOqP0f1VModzUfNfYTkli5uNaVYdVQO /liw== 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=Q4W2mlHMm7D4D6zpDAgpFZVHJykHhfaywFhVOppDvGc=; b=xhJVVnD5fRow16QaCm/XdwVJCMtlJJsQ7HB0bZlIAMurX+LIdifv8Ywvn1v13JeH3I bRFSwur0+2vKTz8BPN+fZAIDdAqcFdegC6HhiMwcbnSbflUxmEhi/KKU+PML6nwTHeLw zx8BIFNHv1V4zcD6lxzm8ab+HKDYoxoDD68YE3ltbcYDKAWK9sHpz3vHm86ydtXamBUu pm1XbDEmxEwfceAiWuUELVE3aSnUj+eiuilNOXHj2f040QChUqDwJzoI5Gmu6TOxsHWw B14cYf5qJOEU7YMqHqfav2EFzNqam8h/6HWnV4h5Fr2gn4JliNex39YR8hG1Cb3M5WLL KW/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=uo6AdawZ; 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 c20-20020a170902c1d400b0015d078de5b9si9403253plc.30.2022.05.20.04.25.15; Fri, 20 May 2022 04:25:30 -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=uo6AdawZ; 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 S1346497AbiETHFB (ORCPT + 99 others); Fri, 20 May 2022 03:05:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346416AbiETHEp (ORCPT ); Fri, 20 May 2022 03:04:45 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7744C163289 for ; Fri, 20 May 2022 00:04:18 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id gh17so862902ejc.6 for ; Fri, 20 May 2022 00:04:18 -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=Q4W2mlHMm7D4D6zpDAgpFZVHJykHhfaywFhVOppDvGc=; b=uo6AdawZi5mY/RA1vAXpaBRBH9HMA9BwJvqnadJDTA6NJy2DJ2UGbVKtPxzj8PRlkY rrDq67SFEWdSbEmaRy4PpTtczqbwEZTaO5s50y5KNuO49NCHUFkHxDfoYXGYNat4GRMF IldyxwEfItwP3Rrz2LKZnB7/Wp/OojYl6K7uq/vrpuCedlBOH9mLMR0Vut4HOAnwFrtF xWEKepQU6SuLqSuAs/L+YKEGDH3v0FLFZgWmh5TCdkqGS6AaauFRCS4ceL2/2iP0FXY4 3pqCLTnW3nA9U7AmVSytP/rLDWqDqtDmaH8RkCZcD2DQautIq7TG8XlfmK4uC6Z55+q5 w6kg== 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=Q4W2mlHMm7D4D6zpDAgpFZVHJykHhfaywFhVOppDvGc=; b=qtgm+M/H3ioV/N9AJMB2G5B0i7H1viqv27xUfvzXZJUc/QWYmS+/RYSArwZ/12U3zx jjfEmNKc/IxAAwJawIw+yayNj+f3n+VX4oWvb2CW1MYaYAlu2MV80NoEgtKKwjUBwfKt gun4QGddwQzP1tk8bFuY2hiz6PKubP1i/ABb73ObI/zBvZ9grB81WrHsyS/sYdxIbqQy R0r8ACivbEUWga8sgjvWlaBEWYd0A4QLKWnIouYdaUz90rxYe54ausGsTzj1BfGLTr7G AMBcmDjBEiGMgQKZlJ0EmQWWasYuMnC61GzBLiNX8nfslg5ICjfjyxI1Ut0PGV8tSTmz RSAQ== X-Gm-Message-State: AOAM532iS3igzv8C118pMUlcyMazKZz0v3eUKrfrg10YRTSIWmNGRrwl EWmMturkWWhr/hx0a4KcjUIKoQ== X-Received: by 2002:a17:907:720f:b0:6f8:5e72:d8d8 with SMTP id dr15-20020a170907720f00b006f85e72d8d8mr7215439ejc.541.1653030257105; Fri, 20 May 2022 00:04:17 -0700 (PDT) Received: from otso.. (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id md17-20020a170906ae9100b006feaf472637sm336092ejb.53.2022.05.20.00.04.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 00:04:16 -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 , devicetree@vger.kernel.org, Georgi Djakov , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Odelu Kukatla Subject: [PATCH v2 0/5] Add interconnect support for SM6350 Date: Fri, 20 May 2022 09:03:12 +0200 Message-Id: <20220520070318.48521-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: Add Qualcomm SM6350 NoC support dt-bindings: interconnect: qcom: Reuse new rpmh-common bindings interconnect: qcom: Add SM6350 driver support arm64: dts: qcom: sm6350: Add interconnect support .../interconnect/qcom,rpmh-common.yaml | 41 ++ .../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, 1032 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