From mboxrd@z Thu Jan 1 00:00:00 1970 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 1DD6FC38147 for ; Wed, 18 Jan 2023 13:52:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbjARNwf (ORCPT ); Wed, 18 Jan 2023 08:52:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230212AbjARNvi (ORCPT ); Wed, 18 Jan 2023 08:51:38 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9602298FD for ; Wed, 18 Jan 2023 05:22:57 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id mp20so36596321ejc.7 for ; Wed, 18 Jan 2023 05:22:57 -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=jzw4ukr4OpYZCp868fwbZF063Z7CSuuJV2nSvguVwRc=; b=UigsaemHm7+NALsNnmH0dn47K8qoAJHMuYBCno+n6o7IVm6YXu814vjs5YGPWAK/UI TTWaYcmNhzGW3RvVF5EifqtOlWHxA2IFq8AOgRvxamUi4qlQeesVJHJNRjBEOg9iWV0K rVne+n9FFVKSmIE/HjZWngYoXNhzlwm4I4WVjReFhpl+mlUUWCInW0xaD4o4BSaCwgAm fQsaudIKpHyhN4cd36xYJcg7+Gla05NM36MPGNL0mZV+Q94zGAbPzFZyErF1NAKlmr1O i6nPi0OEk2pWd9yJoDbm+MbOCcfim9ggWH/nQdcaWHr4TJu0TkbwQT2DA5vKasSf2I7E zSGQ== 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=jzw4ukr4OpYZCp868fwbZF063Z7CSuuJV2nSvguVwRc=; b=pm4uBl6UQN1x85joPZ0C3pro2vVxdAbxQ5x7T/hUvof4A3Z73ov+i4iIMJul9QIhvN gbIiuK4R1291zj3+HGPmVik6S1n+N4vkwXM5hBFXemjHxeb+eNgSaTH1Foh8AYsvZrNf JwdDLN1HXk5yWnvLYHXUxer2YiIwTy6eDeilT/o20Fs6Gd3qutU/gADm66XTIPmrPScT FycvkRBGofwjhFtTQVMwfqgdYPTbvVG3pPhFzC4fQJQk6rBjISsRj4Wxght9v0EKrF6F W+ggR0nTiRRbt6ek/DuyqSKUY4ZMYdsNaWQulsw9TIQkuvHI+BdaKfE82YC7brM75lUn 7MpA== X-Gm-Message-State: AFqh2koKyS9qB7HDmj2kXPAHrfQtBaS5iwdI/LyqBSogtnuO7LhPamAR 5ZvaxpPJU8ccmtTJF6F49PznrA== X-Google-Smtp-Source: AMrXdXvuQbeFMAWRDjnh3rgFpiPyE0Ckd13Y1U0bHB0VZRz1quyBduQ1q/l9DUBUZF5NhwQhckIysA== X-Received: by 2002:a17:906:5283:b0:84d:4be4:aa2b with SMTP id c3-20020a170906528300b0084d4be4aa2bmr20104855ejm.68.1674048176201; Wed, 18 Jan 2023 05:22:56 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id u2-20020a1709061da200b0083f91a32131sm14633831ejh.0.2023.01.18.05.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 05:22:55 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Stephen Boyd , Michael Turquette , Rob Herring , Krzysztof Kozlowski , Taniya Das , Jassi Brar Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/7] clk: qcom: msm8996: add APCS clock driver Date: Wed, 18 Jan 2023 15:22:47 +0200 Message-Id: <20230118132254.2356209-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The sys_apcs_aux clock can be used by CPU and CBF clock drivers to drive those clocks from GPLL0 while doing initial setup. Add simple driver to setup and export this clock. Changes since v3: - Split the patch 3/6 into two: first one moves existing strings, second one adds new compatible strings to the conditionals. Changes since v2: - Added the conditional clause to schema forbidding usage of clocks and clock-names on platforms which do not pass additional clocks to the APCS device node (Krzysztof) - Added SDX55 compat string - Moved MSM8976 compat to the list of platforms using syscon. Changes since v1: - Removed the clk.h header inclusion (Stephen) - Changed the module license from GPL v2 to bare GPL. Dmitry Baryshkov (7): dt-bindings: mailbox: qcom: add SDX55 compatible dt-bindings: mailbox: qcom: enable syscon compatible for msm8976 dt-bindings: mailbox: qcom: correct the list of platforms using clocks dt-bindings: mailbox: qcom: add missing platforms to conditional clauses dt-bindings: mailbox: qcom: add #clock-cells to msm8996 example mailbox: qcom-apcs-ipc: enable APCS clock device for MSM8996 clk: qcom: add the driver for the MSM8996 APCS clocks .../mailbox/qcom,apcs-kpss-global.yaml | 37 ++++++--- drivers/clk/qcom/Makefile | 2 +- drivers/clk/qcom/apcs-msm8996.c | 76 +++++++++++++++++++ drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 +- 4 files changed, 106 insertions(+), 11 deletions(-) create mode 100644 drivers/clk/qcom/apcs-msm8996.c -- 2.39.0