Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27929489rwd; Tue, 4 Jul 2023 09:51:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlEZX/L+4U0Y6QYTxdTokle9WbaSRJkGhlMwxQg1GQMSSkG8vis8UVzzL5c+RXWnZWxKLZu5 X-Received: by 2002:a05:6808:1693:b0:3a3:c1af:e097 with SMTP id bb19-20020a056808169300b003a3c1afe097mr2805387oib.28.1688489475940; Tue, 04 Jul 2023 09:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688489475; cv=none; d=google.com; s=arc-20160816; b=aBk1QySHYJmMBGoK92iJ/DenAfVrCKuJQD2ff/Crh0kFrAkWE0F0yFQ/fH/tWtU0Zw ychx+XmKVNGV27JSVbObVlWpGzKjBMo57fvXF2cyUsaAIq0azRaK2B2BWUk2SEQU90Y4 RHIA/NZSRzRhpAkliL8pBykzfHoxlb4nMRf05CqDurzuYuKD6bcUrWx0KBpADX5FjSpF 9872l0m2Fc8FpE/3jWOZ32NQ1IMqnvN8ZMPW11B5EnvH2YTqmMrd4/jgxWla3MGhemGq e8TT7yJGYCyr6yp0a5TY/DscXcRkHC5DeVQsPJRSxCTUP9WZbPrd3bP9m78bEeyCMBxp KseQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5JYO2M7vRZa1/xxbWLBVMXjKnA4nuseIujdVy5vF91g=; fh=sMmg5DmjRtloPSTYOVGYJoBCEaEmXc/hEfZBQ7c3XFo=; b=nrBhknmz/lwtqXmTOj57ZgmNNxMqQ5IOlJ2kdUqTpPP7aaQ5pdJSJWwUhgmUn0NN8r q14X1Pfs3YYeF2qvow9yc//NUcaC3TpSIdVg9WjhTYqAjREsVgz9eiVJE92jRYpso5w+ pfv4nSuPKamz8M6/IjJeqf8IcdrOD4TqGQM+s+g8MPJE3XqVO5z+HFHmoToVRpmZ07kB KJZYb5VxfJk7hJVSkSOeCadP21tby65gR+18vUV/gbtS6bBrSTS+HuzP0GVSalLQ480e VMoKPW/ajVz6xrdJtXJCEwl85htMxSGV4IzRQWt1+1lyFgWLn2Otj18yl0bn/v+PadlJ YECA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=pghI0t5Y; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n37-20020a634d65000000b005406e76606csi20421130pgl.900.2023.07.04.09.51.01; Tue, 04 Jul 2023 09:51:15 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=pghI0t5Y; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231833AbjGDQmj (ORCPT + 99 others); Tue, 4 Jul 2023 12:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231608AbjGDQmS (ORCPT ); Tue, 4 Jul 2023 12:42:18 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86D961725; Tue, 4 Jul 2023 09:42:15 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b6a675743dso89876401fa.2; Tue, 04 Jul 2023 09:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688488933; x=1691080933; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5JYO2M7vRZa1/xxbWLBVMXjKnA4nuseIujdVy5vF91g=; b=pghI0t5YBwzJ3AdI9JYwld77J9hsXvrdpqlHWa4dWVonfYfm44QXaNRh+YfZCxbrFx Ui4/SBBIR4TO5sFJUPj3JbCZppLZyUMBCi0DdDu115H+uY8HDVryj908wbmSpSLzIx/p uvOEvszbow4ocbt6fR5PjQ2onKt2IM19GMm7sG2Ya1GJaRmiQj+0beuoD2tQgL2wndNw Q9Fy3h3h46COYjJpslEjsmvTyplzvPzDIGjZFbUJjKKclFcsb0x9HgEp65kKS/N8kRxd CyWoP8nWIajomXQXYfjcRBC/OyS0ybqFydicmyk4ushObSVnKJ0G8qHtcdZTCI6QPPX/ 649g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688488933; x=1691080933; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5JYO2M7vRZa1/xxbWLBVMXjKnA4nuseIujdVy5vF91g=; b=fqmYt4mXyeYEBiO9S9CaMVLW9L+EnVgIePHdaixsJfDTRT2wbCNARdgsMDX7OttF+D D+h6BsByIuxA3IlnzGV2ITEv7FX67AvURlTdEqzE836sJIHMZMcb4keMW/DXvq9xAWwJ qy5uzFmLdqYOKkzjMZUX/6RaZsIYiJDDYd1iCuLSCYO9ns4gD7kgLVfT8tjllXd46SpO sEB1UebSS4vglhswz2seZX4ajQCRRCMjbPTw8xNXOGRE7bj/Cv+sPlK5xtlEB2EA9d6N 0Vs+omX/vJAhMb0c1zmf0RXIkhnYDCHLKAh053xXEn3zL9gPe0Es5nZLajdZCui1ipz1 Y2DA== X-Gm-Message-State: ABy/qLbODHOw2DTdFnMIzwJ3axvXVY6wseK4SoHWTVtKQIslRSwM6G0L srfkziT5W4DMTA+rZk8YQKg= X-Received: by 2002:a2e:9105:0:b0:2b6:af60:6342 with SMTP id m5-20020a2e9105000000b002b6af606342mr10121385ljg.40.1688488933622; Tue, 04 Jul 2023 09:42:13 -0700 (PDT) Received: from david-ryuzu.fritz.box ([188.195.169.176]) by smtp.googlemail.com with ESMTPSA id u15-20020a2e2e0f000000b002b6eb5db863sm1181920lju.43.2023.07.04.09.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jul 2023 09:42:13 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Taniya Das Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, map220v , David Wronek Subject: [PATCH 4/7] clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src Date: Tue, 4 Jul 2023 18:31:57 +0200 Message-ID: <20230704163848.169853-6-davidwronek@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230704163848.169853-2-davidwronek@gmail.com> References: <20230704163848.169853-2-davidwronek@gmail.com> 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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: map220v Add the PARENT_ENABLE flag to prevent the clock from getting stuck at boot. Fixes: 17269568f726 ("clk: qcom: Add Global Clock controller (GCC) driver for SC7180") Signed-off-by: map220v Signed-off-by: David Wronek --- drivers/clk/qcom/gcc-sc7180.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c index cef3c77564cf..49f36e1df4fa 100644 --- a/drivers/clk/qcom/gcc-sc7180.c +++ b/drivers/clk/qcom/gcc-sc7180.c @@ -651,6 +651,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = { .name = "gcc_sdcc2_apps_clk_src", .parent_data = gcc_parent_data_5, .num_parents = ARRAY_SIZE(gcc_parent_data_5), + .flags = CLK_OPS_PARENT_ENABLE, .ops = &clk_rcg2_floor_ops, }, }; -- 2.41.0