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: 645351 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 37DC9C678D4 for ; Wed, 18 Jan 2023 14:24:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231310AbjAROY2 (ORCPT ); Wed, 18 Jan 2023 09:24:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231143AbjAROYJ (ORCPT ); Wed, 18 Jan 2023 09:24:09 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A2A6193D1 for ; Wed, 18 Jan 2023 06:08:36 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id f19-20020a1c6a13000000b003db0ef4dedcso1475892wmc.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=PiQhQirr3glbIEYAgBJFV2Mar7wxNVUgJ1ekUa68DHkZIBnOI3fHxQooBxvpeV4/vr h68Vjgs0RV41Ptz4e8JD2ZSH0Rjqe8GAFE/0SZiYDCE6LWBwryvaNUYHqlAUAcn1urwi hKMAHMyshwt9dFNSpSqEcUF7AyeWPfrST+QTMtaG8KV3dlYVEoPkflMU421CVrJpGs/w QIeG4dhT4915m+oXY+6bmkv8SymB1+qbimmtdUV1vUUteVlQOfKdo3QG98DEJQ3E6PMO mS4In0JdKHVcha+6i9pmgnZ49skSgcR4MFafv54NKvorno1UVUYTYgDZMIsmgMK6rT8t fuaA== X-Gm-Message-State: AFqh2krnD8VcvvF+Q0gv7gXFWyyNGQPNUBwp2fEIKadCp4bwxvRnb1Yz He7uA/ZbSyDEf2QQQ1Rk6bz6fw== X-Google-Smtp-Source: AMrXdXvS075M7JzYZCCt5HQzpUsJnMKuIoUn0gu0aeia6fZtLwRS2+eMnr7izJtqNAXCiAddzDVa1A== 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 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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