From patchwork Tue Jun 21 16:06:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yassine Oudjana X-Patchwork-Id: 12889481 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 8C5D3C433EF for ; Tue, 21 Jun 2022 16:06:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353491AbiFUQGz (ORCPT ); Tue, 21 Jun 2022 12:06:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353475AbiFUQGy (ORCPT ); Tue, 21 Jun 2022 12:06:54 -0400 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 E6BEBFDE; Tue, 21 Jun 2022 09:06:52 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id ay16so9137883ejb.6; Tue, 21 Jun 2022 09:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/rYDj4w6bdUe/1X9k5V/3W4DgdceeouS/VnmjUwoWQ=; b=bpJzrHTpw5y0ZOqT1UcyAiirUhCaS9/ls/enJWHa8UxyXrGryoXp+owRp/QMrvQu+d 13qtH6DeF5BwFbZzNIlClV5QdWuuUEdAYu34025u2xmhxOYbh9PShykfBOR8rz9Lqbn9 +yPQ77Y5NRAzjfkuGloazLmc6hfOilVsg+jFpaMy+xREBgZWg5OaG9Tic4G/T1yqIUhr UgZAlesNxSUF6JrbKOMct6X6upfQMaySX3rDkdR/rqGbz24v0qnjUeq5oCPnAki8md1S TbMhI2/iukR9Yw/mnpzqndRGHPc+JP2X9xdMJpjuUWZX1L328VqU9kti7euvhrgPzvof nQ1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/rYDj4w6bdUe/1X9k5V/3W4DgdceeouS/VnmjUwoWQ=; b=wqfHwZJU5y7IY4ZpB70Qs6s0z98MBN7u+2gnwqOC2KZ51RRCXKdeY0tDZHpGiqw/oE MrnUKFe5yk91zo0xP4V0Vkj8JnmH1Wzjkp9ystIg6R6/bupu3cK1aMvHOcdL4gzf97Wj UwPF3Wafjef9IBdECq/La/7X3vezdzLP44YERgG97BvXa2UMTUpp7qMlVYaF1sH2o6LK EaUR7OpPJj/BFLIib0Fy0iBZVv9AQXmMGYNzHMQK9LnpsPr3yTE7L6vi/VzsWnpC3Uzb MiVr8i4LuakbEngsFNhcwHMsC5xsKpv16STQwoYWwhmMO7pdJBIZ44GFKLwP5244agMJ k1MQ== X-Gm-Message-State: AJIora/2jJzrdUTFIdaUj6wJBv9P28pmMexECGoPTdSYc6h8J8j1psGB M75zuLy3FHBdF0QJnG1Dfjg= X-Google-Smtp-Source: AGRyM1vJhtYkmyx3eQ0ZzMh5e2+GIZTCdt8dDx9wbvhjZjktbsyjOfWj5ZreQfdoS4ydU+cdv0R9JQ== X-Received: by 2002:a17:906:72cd:b0:722:d84b:30e3 with SMTP id m13-20020a17090672cd00b00722d84b30e3mr6323685ejl.726.1655827611418; Tue, 21 Jun 2022 09:06:51 -0700 (PDT) Received: from localhost.localdomain ([185.107.57.61]) by smtp.gmail.com with ESMTPSA id p6-20020a17090653c600b00722e0b1fa8esm1772943ejo.164.2022.06.21.09.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 09:06:50 -0700 (PDT) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Loic Poulain Cc: Yassine Oudjana , Yassine Oudjana , Dmitry Baryshkov , Konrad Dybcio , AngeloGioacchino Del Regno , Martin Botka , Marijn Suijten , Jami Kettunen , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] clk: qcom: msm8996-cpu: Cleanup and migrate to parent_data Date: Tue, 21 Jun 2022 20:06:15 +0400 Message-Id: <20220621160621.24415-1-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org This series includes some cleanup of the MSM8996 CPU clock driver, as well as migration from parent_names to parent_data for all of its clocks. The DT schema is also fixed in this series to show the actual clocks consumed by the clock controller and pass checks. Yassine Oudjana (6): clk: qcom: msm8996-cpu: Rename DIV_2_INDEX to SMUX_INDEX clk: qcom: msm8996-cpu: Statically define PLL dividers clk: qcom: msm8996-cpu: Unify cluster order clk: qcom: msm8996-cpu: Convert secondary muxes to clk_regmap_mux dt-bindings: clock: qcom,msm8996-apcc: Fix clocks clk: qcom: msm8996-cpu: Use parent_data for all clocks .../bindings/clock/qcom,msm8996-apcc.yaml | 15 +- drivers/clk/qcom/clk-cpu-8996.c | 235 ++++++++++-------- 2 files changed, 140 insertions(+), 110 deletions(-)