From patchwork Thu Nov 24 11:22:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13054854 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 B09ACC4321E for ; Thu, 24 Nov 2022 11:23:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229739AbiKXLXH (ORCPT ); Thu, 24 Nov 2022 06:23:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiKXLXB (ORCPT ); Thu, 24 Nov 2022 06:23:01 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5EB1248F8 for ; Thu, 24 Nov 2022 03:22:59 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id i12so2084351wrb.0 for ; Thu, 24 Nov 2022 03:22:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gXR2AhxG13+su5ph3WglxB5pxGBwrnq58ytBv+rrwnQ=; b=s3US92QdLLiTMQq2vvm4ejtfW2frUdHcQJUrvMlTD/PRGTszNAARD1E1+L6K/oEqUN YHMn6C5RZ00of9L/Le1ayFE5GjNATlrFu7bsYiBzHct54FLEzGaAFH19AdcuFowabMcu L9XGanVRI5rVn1i1FwFvjjJmeqqfrDQZj76v1coXpnGiYb9rgMOLsO44uq3KAex1mlKd JhWLQDnIuVBmxd6iG/otEC2nbdjzQkQ9Xaaws2U5n2onqlsYmfGCVXUYzdwK4FC44yaR rCsfyDZdpqJ5ABNs/GD4LUo128oIB0/fg2M7HdA8qkuH0iYBZQ8fE7qyg5uhb1zw7FrZ Rp9Q== 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=gXR2AhxG13+su5ph3WglxB5pxGBwrnq58ytBv+rrwnQ=; b=aWj5/BP6hJVLNfT4g+cJE74fhzrVUOvY06dvfdil5nYrkp8QUGp5kXy8nmTvAmqYNz SS5zxNm59FezIuqo4b68BNEfzAbbS81sb3OVfuEWQf1jtGOCtsSQTpOnd/+3RX26QHuq vMsGCDccTpmj3+IXym5aTJBMgyJCouHV94MxhmeoiSauIi6fN46y3KYdPoBvMExQaXWE A+YgQcOlUJA7LGPJMJPTOyVj5A2kzPwb4iVbLd69DVanLfHcIeNp4n7hOzu4oF7OPAnT icFMYV2PvpXtyPoHih2w31ZRk6BNVZ2+dvxKGin/UpeVl80xGzrxtW4jSXhigC0EVtsU htLA== X-Gm-Message-State: ANoB5pnXmTA9uMtwLYMWu/MKkR06V5YUSw3NPbbcNPLOnQEYNr3pTgzV CFTAkJ1pkaQE2CS9ZtRCbMIl7Q== X-Google-Smtp-Source: AA0mqf6YluD+y7nO/iNhOLHGQigKyvQkBKWEiM9UOPWWBerS+tO/fQRkdMNV1F6/mmkknY8Lpsvxdg== X-Received: by 2002:adf:cf0f:0:b0:241:bf8f:789f with SMTP id o15-20020adfcf0f000000b00241bf8f789fmr17400056wrj.684.1669288978195; Thu, 24 Nov 2022 03:22:58 -0800 (PST) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id j23-20020a05600c1c1700b003cf57329221sm5839461wms.14.2022.11.24.03.22.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 03:22:57 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Odelu Kukatla , Rob Herring , Krzysztof Kozlowski Cc: Melody Olvera , Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v2 0/3] interconnect: qcom: Add support for SM8550 Date: Thu, 24 Nov 2022 13:22:29 +0200 Message-Id: <20221124112232.1704144-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patchset adds interconnect support for SM8550. First version was here: https://lore.kernel.org/all/20221116114526.2679041-1-abel.vesa@linaro.org/ Changes since v1: * dropped the changes in qcom,rpmh.yaml * added dedicated schema file for sm8550 * dropped the extra spaces/tabs from the bindings header * added const where necessary in the driver file * switched to dev_err_probe, like Krzysztof suggested Abel Vesa (3): dt-bindings: interconnect: Add schema for SM8550 dt-bindings: interconnect: Add Qualcomm SM8550 interconnect: qcom: Add SM8550 interconnect provider driver .../interconnect/qcom,sm8550-rpmh.yaml | 141 + drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/sm8550.c | 2319 +++++++++++++++++ drivers/interconnect/qcom/sm8550.h | 178 ++ .../dt-bindings/interconnect/qcom,sm8550.h | 190 ++ 6 files changed, 2839 insertions(+) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sm8550-rpmh.yaml create mode 100644 drivers/interconnect/qcom/sm8550.c create mode 100644 drivers/interconnect/qcom/sm8550.h create mode 100644 include/dt-bindings/interconnect/qcom,sm8550.h