From patchwork Tue Jan 17 18:04:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 643574 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 5261CC3DA78 for ; Tue, 17 Jan 2023 18:46:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232187AbjAQSpq (ORCPT ); Tue, 17 Jan 2023 13:45:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232112AbjAQScy (ORCPT ); Tue, 17 Jan 2023 13:32:54 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB7EE53F91 for ; Tue, 17 Jan 2023 10:04:40 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id f25-20020a1c6a19000000b003da221fbf48so8829020wmc.1 for ; Tue, 17 Jan 2023 10:04:40 -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=KBPtb5kB7phRN2HyeU727IaxXRKzBI0qHI+gXLYhw7Y=; b=ClpPpXyniScMXOMCRlplFUjOlwCjRSmBW9rMYR/cAmLHnmHaa2ASXhhoYZgW5AMz7D 7/1/E7MwBpNSPAdz+Ye155/YRdxU1XL9V8955MblAQGUlVaQDiQE1oJki8WsfKbeRgX5 i7fC3zAKp7KSgy3LzCJLRVcuTSt9kXDIrbO6+aQvd+7boGg00pItttB/7qGWlt6nWUCW O4H6RZtoGXg4WaSmkzd47EdA6WKM60SZDu00opIRR/cLXk55aLC416kpQ0jwBtEfVyRW 4sSJGUSt+zyiHsCPIkmmpn974Oa83ih3eltGA3CrnfItJF+cBhVfbyzPJ66F8IH6Jzd2 IDeQ== 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=KBPtb5kB7phRN2HyeU727IaxXRKzBI0qHI+gXLYhw7Y=; b=LzDD1KLWe973XGsJW27Eh8UMS5hV41Dh3cTcg4G+8CdNuqoxnsd4XupbRbxJi9pzZi i13FO2imDcHYnpvCpLuUbMvmydBBpe5+t3vuUABxpEKW6BzQsY1AQFxzcsZSkLNjuy8p 4X7gmdUBlPoFNBHC5QS83CP+aVo6P9jZOPDzQDtY2wtMQgYSUgVCK/X+wRVeF3oXmLaH OjRYKiYRWUREIxV9AGJMvt6px85Yf7wLMoHMZoJA6jBi7C6JDa8APOX6aJEKVyOezheM jZYBKgHmiFlBRbDc3Q9UJk6DhA3hDupcZUxf95UszJhnY3h8IM4sXYedJskZyuC+KEnR zdJw== X-Gm-Message-State: AFqh2kqa3QiFyKziInBz8sUBM/dmikQxOJ67/HHuCnxzfrmbNblV0he+ GCEu4F9i5jJJ8O0v/aZlW2dawg== X-Google-Smtp-Source: AMrXdXu3unw8WBLHAeJhgOLo9n3+ap345utf67uMWZmJFzFH8SfgPHxxfhGIk2SYm9ufTb+ARBg4gw== X-Received: by 2002:a05:600c:3b1e:b0:3cf:497c:c4f5 with SMTP id m30-20020a05600c3b1e00b003cf497cc4f5mr4116868wms.13.1673978679194; Tue, 17 Jan 2023 10:04:39 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:9236:abcb:4905:a64e]) by smtp.gmail.com with ESMTPSA id bp28-20020a5d5a9c000000b00273cd321a1bsm29356681wrb.107.2023.01.17.10.04.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 10:04:38 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 0/2] qcom: sa8775p: add the GCC clock driver for Qualcomm SA8775P platforms Date: Tue, 17 Jan 2023 19:04:27 +0100 Message-Id: <20230117180429.305266-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Bartosz Golaszewski Add the DT bindings and driver for the GCC clock on the sa8775p platform from Qualcomm. v1 -> v2: - fix examples in DT bindings and make sure they pass tests - use lowercase letters in hex numbers - fix the name of DT compatible and headers (gcc-sa8775p -> sa8775p-gcc) - fix licensing of DT bindings - fix the regmap's max_register property - use clk_regmap_phy_mux_ops where applicable - other minor tweaks and improvements Bartosz Golaszewski (1): dt-bindings: clock: qcom: document the GCC clock on Qualcomm sa8775p Shazad Hussain (1): clk: qcom: add the GCC driver for sa8775p .../bindings/clock/qcom,sa8775p-gcc.yaml | 79 + drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-sa8775p.c | 4805 +++++++++++++++++ include/dt-bindings/clock/qcom,sa8775p-gcc.h | 320 ++ 5 files changed, 5214 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-gcc.yaml create mode 100644 drivers/clk/qcom/gcc-sa8775p.c create mode 100644 include/dt-bindings/clock/qcom,sa8775p-gcc.h