From patchwork Wed Jan 18 14:08:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 4176 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2370949wrn; Wed, 18 Jan 2023 06:35:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXuFZNdO6HcrcmPBsI78CGCf83serPAA9C8teGyRUR8wCzIdttWTfO8OuOm2GuwbxG0vC/v0 X-Received: by 2002:a17:906:8d86:b0:870:dceb:696d with SMTP id ry6-20020a1709068d8600b00870dceb696dmr12326873ejc.43.1674052549045; Wed, 18 Jan 2023 06:35:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674052549; cv=none; d=google.com; s=arc-20160816; b=QOaoBzEQ8t8ZWi5q3XleJqVdeksblSa3H+tvz+pdTMENX1RLJHaBI1pWhnZCa91x+K FWZa9dWePSfboEWajndjdMPlveVit5WRjNmK075SxpNA/d1zPVQMuXbmx+H/rk8CLAwL EA/jLmrUsrG7fHYUcUF0JfQHLxcm6FiFbqskM6SMbKWFjjAHFMjYRoBL/WdBwRf3Fmsv 04zDOoI71Wbq1o5apZhev2d6Hf0MV2eUc5HUztkeM1vfnHo5ZYsFuw+YGTYKBYAfCrxh sVj0tHqXHnYnWSZz884e6J+ZxcPlixYaoGcmpG5ibPCEl7xcuvRy2T4pBEcBQzZ2ZawE cAkg== 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=voyq36MDE3tAT+mEidIfHFRQCvxeo+KUD1PRZZG5SU0=; b=N2xiKYeXSxl1rrhTz0V3mEVXDZHGV/nFBO2XGfYZ5xr1m4orlYczMyXIN0yTNGui8q mmteiN22YszH0GZFJAqr4xxt1PeAeHwoNhwmBcTo4AH6e+azxFJLVnQwomoR3EeDfxe8 Q2SZzOdulQGGY14b1SKTfQbNn7E7BlKHDR2BxA29r5+au3rjJHBfGa/S3u7KMll8tvwL /lhWpU5rHXYXpeUn/5gvUQpaWrqUeuitzdGvieyYcS615mDxTJJZFDxpouDzLxHptNd2 WfLnU2kLLbd65WhxR4U4V+sJNqiGJ/V6DCgKVRnxjCRa4nb4/Q/KAhueCtavzQ3W81pf 4eEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=5rJqASU9; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc39-20020a17090716a700b00871f3d4486asi9444245ejc.171.2023.01.18.06.35.18; Wed, 18 Jan 2023 06:35:49 -0800 (PST) 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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=5rJqASU9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229752AbjAROYc (ORCPT + 99 others); Wed, 18 Jan 2023 09:24:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231167AbjAROYJ (ORCPT ); Wed, 18 Jan 2023 09:24:09 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F38F2D15E for ; Wed, 18 Jan 2023 06:08:36 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id m15so3567004wms.4 for ; Wed, 18 Jan 2023 06:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=voyq36MDE3tAT+mEidIfHFRQCvxeo+KUD1PRZZG5SU0=; b=5rJqASU9iSQiHx66T22qg9IDXWVbiYgoGS8cNgZDYhwZdfKKzQJKdcjCv5DLl06Bjo o58a4idkz25Ws+/09qIAhmYNhjHCybhAT87d4icilSN7YN2wdQuXuxs7nuBe7RP4mWRR hZPYrStS6vPRQCjX9n+35t3f9iME5i4wJpZTrh5TetbJTl9auY8nSdt/FPBYNbJ9+VG4 wAhjRrBsq5Ypbz09PxPWHIVry9Wfk2DqD6AMWi/XHQvxJix22gTS+UamF486xuupwZ+O y/rGZ3GYWXB9gYaYSfV5W4TO6HkC7ncIa74Ru5+5pTHSrAl4T4NhAy+HtPbkGK1InMqQ T9Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=voyq36MDE3tAT+mEidIfHFRQCvxeo+KUD1PRZZG5SU0=; b=NUg+Q4b2LgOHm0bUz4ZBYZVxWwV9ViikGVhQLnjec6I8mGXXTzoeXnLChGZbgthZ2V S5m7pvpINvfVyX2jpGjwLzoLeGAvmDvFlV5vFvmwS/1iSnpg+FEXH5V4S/DOCN1DCHED ZyJcDKLWLDEukCaibzbwhiOBgv80JVUB0M+kWLDTiCk2k0qm3TNwdDU3o65BgLdWxjHr nbcKVMjqwMc70V43u3kO3eaqJD0FWwBmDxoumC7p8mTXhdXAWz59sol3rlrFKS3lDL+g O/7lcrv+C4GywlkKpHAY4PuaQ/aLCIlsrKA2okoQvhHGbOLA7KyQfHSJehNivmFurnhq fdNg== X-Gm-Message-State: AFqh2koX3NeJRGSXo4pnzjf3jdsQOg45L32SlPH5KSWfrDnIZtWRM5Mq WaoPaHpWtht9KUV9ayGB/PQZdibT0NIkq4X3 X-Received: by 2002:a05:600c:3ca6:b0:3d1:caf1:3f56 with SMTP id bg38-20020a05600c3ca600b003d1caf13f56mr15628618wmb.9.1674050914743; Wed, 18 Jan 2023 06:08:34 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:1866:5d91:a429:aba]) by smtp.gmail.com with ESMTPSA id m27-20020a05600c3b1b00b003db012d49b7sm3193431wms.2.2023.01.18.06.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 06:08:34 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 0/2] qcom: sa8775p: add the interconnect driver for Qualcomm SA8775P platforms Date: Wed, 18 Jan 2023 15:08:23 +0100 Message-Id: <20230118140825.242544-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755371325439169925?= X-GMAIL-MSGID: =?utf-8?q?1755371325439169925?= From: Bartosz Golaszewski Add the DT bindings and driver for the RPMh interconnect on the sa8775p platform from Qualcomm. v1 -> v2: - create a separate DT binding document for the sa8775p interconnect - drop the lemans code name from the driver - constify the qcom_icc_desc structs - minor tweaks and improvements to the driver - make sure the bindings pass tests Bartosz Golaszewski (1): dt-bindings: interconnect: qcom: document the interconnects for sa8775p Shazad Hussain (1): interconnect: qcom: add a driver for sa8775p .../interconnect/qcom,sa8775p-rpmh.yaml | 50 + drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/sa8775p.c | 2541 +++++++++++++++++ .../interconnect/qcom,sa8775p-rpmh.h | 231 ++ 5 files changed, 2833 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sa8775p-rpmh.yaml create mode 100644 drivers/interconnect/qcom/sa8775p.c create mode 100644 include/dt-bindings/interconnect/qcom,sa8775p-rpmh.h