Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6490017rwb; Wed, 18 Jan 2023 05:59:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXv/ZDRCC45EKku5cv+xYCYqDz/ZbnZTrMOib8Kmzqc4MxaAsbqiJisNTPROOB8zFN52i7en X-Received: by 2002:a05:6402:27cf:b0:49e:2e15:3984 with SMTP id c15-20020a05640227cf00b0049e2e153984mr10376445ede.36.1674050344203; Wed, 18 Jan 2023 05:59:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674050344; cv=none; d=google.com; s=arc-20160816; b=070Krmhg1dWc69iox5JyKzaPm0ceq4AwozsqgdmszoezyATPsJzCZA18L0Qr3epTKv bwBRd5Z/B1dbPUCjcs+NTWgD3R3IPob87UlzWjBxgYNHaZHGZXbTiUS2wB7TnuocKudh 6GszCB//w8VQWvFMwnD4fpJHEwvEzTrVlJjTz5SEqist0dgQD8vLlU96QD3j2Od5KmJt PkYK85G7zK/fkdIXI5t+C+7R1ouUg/BgzQ7brgF61BrIVTF3yMIWOdRpRU084kmogCTF F1mSHaZADMsI4L8QgjXJcak1xHw0NABk1bNyD37lGAMzYjbqQDSBmOTgqYhua4UMe6z0 VHMA== 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=jzw4ukr4OpYZCp868fwbZF063Z7CSuuJV2nSvguVwRc=; b=rZTGfjXmIBMMcRCWzOs3vNOOsxMEZx/6SP820K/4EBqvQiYrBmdMgsMrn5x3SHVP6D CarwXf2Fh5GwGYLNsZBp2erBD8a50juoJl27jWF/N90QMBQ/gMKv6laY221x7IIEbQYF uhYA6LdTTK+IEqhuuxiZhit+ZaUOsj0Gxqzw1QfzZ8hw7YaRaSk0jSCfLvNIhO8+dcyu 1BXPQ0P1ofWbpQZQn3UYh/7YY6umHmxgQJnl4YyccaRIltbSDIObNkC0sKcPR1vRZ/Rd 50Obzp67g+4PHMn1wCZSMnXS5UVFNcLeO0OGitTR62AZFdgIZCjIOQHEOnZ0X6d5N/eD QdTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UigsaemH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r19-20020a05640251d300b00485220caa05si44302870edd.597.2023.01.18.05.58.53; Wed, 18 Jan 2023 05:59:04 -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=@linaro.org header.s=google header.b=UigsaemH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbjARNxF (ORCPT + 45 others); Wed, 18 Jan 2023 08:53:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjARNvi (ORCPT ); Wed, 18 Jan 2023 08:51:38 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A379A27D6A for ; Wed, 18 Jan 2023 05:22:57 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id az20so64100461ejc.1 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=lZDMveaUIllij6j7l+b+3bBrSAqaUYc1kCiN9j1TL5I9Ld3fGTkQRph5xPNuNA74Xa aLXJWrPOOJje15F3oBNDDmOANu7Ch2DxvnEptc+rwNYBNclkSrmjVNhvAziDSA6325Ac woY6/Mb1sworx211FJK46ODcRFX9lRZKXRF65RaWqYxlY8KzWS8hyiouz6EanpcN+LuJ PfJmPSLQ8Qky7sfOsf2HMJeqPU6gaItcyfcCOKzgZsjELVR0DZL5KTfWqaq8Gj3BO87f 2VvfLP2JOX75w6afltpO0NbH2nzw7skbqKpwhRlq6x0NE8AKy+zxV3VLUyb82oltgAD5 gKlg== X-Gm-Message-State: AFqh2krdy1yfh79gVkBJC/VVkvU4DPSMFF3LhzkN+BlqTc5hM09y9QJQ CHn5BOdbcUE8Q9Sn7cUMSpAjOw== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 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