From patchwork Tue Jan 3 19:21:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13087987 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 7C029C53210 for ; Tue, 3 Jan 2023 19:27:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238760AbjACT0T (ORCPT ); Tue, 3 Jan 2023 14:26:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239023AbjACTZ6 (ORCPT ); Tue, 3 Jan 2023 14:25:58 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B57F1583B for ; Tue, 3 Jan 2023 11:24:09 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id b24-20020a05600c4a9800b003d21efdd61dso24327624wmp.3 for ; Tue, 03 Jan 2023 11:24:09 -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=MlV4V45c8yMejAxcwXlspx6FmQAhAXfePv/niq6cvW4=; b=iW0tP6U4j8zgaSNJR/QyYhQ0apHiuAPd3YuC03zfUnpZt1soz3oSRiT5t/9qvvbAQJ jZzibiFZzxGJq5eMeJP76Os9+ULSBNE6S8dQfxNZURGt4rNF4v88iU+dESwbRuzuCeIC DVcQHQoeGbW3OZecfJR3Yy0UPIMHn4HrcO3KDkYCsMdscYe0ixMSfx2QlloyTzcZT1Sr LXXNmMrPM+rE2Yjf6WCHOZFmneu18WbIznqKRyjUlSm/0+pgxifIuLEj/jvxv70EGGfP dDUV6H/3yptyj4wJ9dubtbOtqQ9ZJePh61hchuhiJnEMLG8JvzG/9MFECClVuHjKBStA u9oQ== 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=MlV4V45c8yMejAxcwXlspx6FmQAhAXfePv/niq6cvW4=; b=zol61VD9J49KY6+hOkMKNwKrIEysWT1WdBgOZjBFMUwrDjEWps9eV8aXc6skFbipUx sPUTdWIvpKZcBqgJehahACHRn2yc2gdSV//dmiW24mgH8LfU+nf58EQILeBC5XB4KD5H oOXaNuHLHmexYE7DdeR0RLqCKJQrIbNDjxYbcW/KJXTKaB62aCXOOfqTtDpEtp2w2G6l 6QAUpD0W3UBBcqnsLYT03Xk9n5cp5YUZ1hmM/E5umnvbXCu5qHdYLmil8xm1jSwASvRj DVc4ohFc//ER8i6puXP0NrsLypWgKH9SlOqoqPouXUrkqxNc1TKsBzd1INriQSk068LG Dt6w== X-Gm-Message-State: AFqh2krpsK1Lfo99E05bWUJEXCy2/GVehvs/jjJJiqFe/7GGwpD1IUuG 2uzi5QAaM7iA3dtv2P/jUbjbt1umd9LBmlh1 X-Google-Smtp-Source: AMrXdXv9pnniyNCaYeT4Q5DpMz2ZntS6fOSyLoxon5RWiXAwUs32eND58KJnn1MtAwcLhKWmAtlung== X-Received: by 2002:a05:600c:b92:b0:3d9:779e:9788 with SMTP id fl18-20020a05600c0b9200b003d9779e9788mr22825631wmb.37.1672773847836; Tue, 03 Jan 2023 11:24:07 -0800 (PST) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id l42-20020a05600c1d2a00b003cfbbd54178sm70803660wms.2.2023.01.03.11.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 11:24:07 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Taniya Das Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List , linux-clk@vger.kernel.org Subject: [PATCH v7 0/4] clk: qcom: Add support for SM8550 Date: Tue, 3 Jan 2023 21:21:54 +0200 Message-Id: <20230103192158.1155197-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-arm-msm@vger.kernel.org This patchset adds more clocks support for the Qualcomm SM8550 SoC, It adds the TCSR clock controller driver and the rpmh clocks. Changes since v7: * dropped the first patch which was adding the RPMH_CXO_PAD_CLK and RPMH_CXO_PAD_CLK_A IDs * dropped the fixed factor divider clocks from RMPh CC, since the dividers will be added in devicetree as child nodes of the RPMh CC node. To: Andy Gross To: Bjorn Andersson To: Konrad Dybcio To: Michael Turquette To: Stephen Boyd To: Rob Herring To: Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Abel Vesa (4): dt-bindings: clock: Add SM8550 TCSR CC clocks dt-bindings: clock: Add RPMHCC for SM8550 clk: qcom: rpmh: Add support for SM8550 rpmh clocks clk: qcom: Add TCSR clock driver for SM8550 .../bindings/clock/qcom,rpmhcc.yaml | 1 + .../bindings/clock/qcom,sm8550-tcsr.yaml | 55 +++++ drivers/clk/qcom/Kconfig | 7 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-rpmh.c | 36 ++++ drivers/clk/qcom/tcsrcc-sm8550.c | 192 ++++++++++++++++++ include/dt-bindings/clock/qcom,sm8550-tcsr.h | 18 ++ 7 files changed, 310 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml create mode 100644 drivers/clk/qcom/tcsrcc-sm8550.c create mode 100644 include/dt-bindings/clock/qcom,sm8550-tcsr.h