Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp680042rwl; Wed, 29 Mar 2023 07:10:52 -0700 (PDT) X-Google-Smtp-Source: AKy350ZPH8nr4be9xpcygcYANIafN7MD09oziRzvRB90Gg04D/T6cgMUdVff5V4gctLBAVIdJMFU X-Received: by 2002:a05:6a20:4ca4:b0:d9:4c19:fe69 with SMTP id fq36-20020a056a204ca400b000d94c19fe69mr2546604pzb.25.1680099052019; Wed, 29 Mar 2023 07:10:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680099052; cv=none; d=google.com; s=arc-20160816; b=tXs+4LpKK6lF4gAHvQiJGrdUW0P3jfC6MkDfVJ7FQa6fn60ikCY4qsD52ffEahT7Nj G+B0z5CGYfRG/jhnviKxB9IFTHsqWwollAa5hGzb7UMH/3EiT1duN/GarpXkz9CmS2qT d/99T39IIOLscJ4i6Y4iCExhDyD74p0dRGYW5d96QwFixVXyD2cZiX1mxMgQDFaoBq33 1XXn/xJQxUFsHCLXqYFbfmNfvpRC1qFZWbxv42xOhNIXRttwMcm+7af0Iiiz1TOTe8X2 qAPVgMIe2jgsrK2E7SfAHzGWRuzLhEQQ3IgZNCi2xzNf0HP2e40lgKS3/jBqAG7HqicM zXXg== 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=OhTgON0dpxaPIhYp4g9uF92+QxjyZ+xguuLpohTAKmg=; b=SuemnA6P4Ojqb4QIrJOfb/PUal6VIK3IkURGwFg9YvrIb2zEl0WZWNOjQd0M1PmLOr W9olJ43LnA3VNZId+yRZ211GN03tkHCxXtld/iqhCaBU69NAGbXRBuoEWafrcGWx71Un isLOrV3jCFZCU6wlg0ZQPfZt2fAOHu6GYtRzkwNndQl4h9IGx6LlfhKf2/6R92VdPlj+ 8zGXBmeuBpnzRvl0B7zzt9efX9Vz6r6f5ViwVXRm2dqcXHAktfkfHj0e0SJQNQ8FP/Xr 2fVaQN5zBnQLgbNaJavPQJ7zaVuCexMK9zy8xysW6+N4iGrWlyWzzGqBDNxLfzQNaYlu 20Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wq54+Cc+; 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 j184-20020a638bc1000000b0050fabcb44d3si20788691pge.624.2023.03.29.07.10.21; Wed, 29 Mar 2023 07:10:51 -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=@linaro.org header.s=google header.b=Wq54+Cc+; 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 S230292AbjC2OBp (ORCPT + 99 others); Wed, 29 Mar 2023 10:01:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjC2OBo (ORCPT ); Wed, 29 Mar 2023 10:01:44 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3419440C1 for ; Wed, 29 Mar 2023 07:01:40 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id h25so20343189lfv.6 for ; Wed, 29 Mar 2023 07:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680098498; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OhTgON0dpxaPIhYp4g9uF92+QxjyZ+xguuLpohTAKmg=; b=Wq54+Cc+T37WaDD5ViDJJfCLih1P8ghtEFm+JK1BlYhNcjOePgW88UhvHRmjx5/RAl B+Ay1hNAolar1G7lAeqYARt8W4wseQimTn1W7EXv0qiyXRhhms8s2nyKymUmt6FCThvq LSBI0Mx24/3ZP9zFH+B6kfpGoF5qw0E1hJG0BmgnhN7FE/Na77S4PAiE+0TFyL4lAstq eXiQeaK90rcoqXUJBi8MB4R4dwFTXK7NzSZuPywYRdfAw5PZNxNtOmHppt8cjz3OeAn5 PT8WWYAUBEJQtzyaPNwMmGmc8bv3yXVWE8N2qN+5/VWW/zlfA8MgAQsbYhfyWj0y3KGu pZ8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680098498; 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=OhTgON0dpxaPIhYp4g9uF92+QxjyZ+xguuLpohTAKmg=; b=63xXEhsxz1uBeZDEVCgiq09NsoZIGi70LX9MS9DljUdKiY4P+k5+o8ApJsUIuHIyzp 3pIlC5CFcCGBKQc5DEuyeY39ACxcJN00As3zXQ5jUq1uoz2ygUo1UGC3wVeoRd1gfaEc QjmnkjddI+oJlL5Pn1cFDkymPXUl8am6RM270aZAkRRARcYXpjHGo30CjByQp1OptkRm B6+ffp20+ntl2dUyq0nwWa6HXL6es0pZETarLvJfXBPYcWxi8axnKm5NFhfCqagCs1gh eS2rL89QmUBjGYLk8Hj3/1YdslrrwPvuFYuqq51nCWa9ZKZChyiZj+M4af61a5ad4gWw pZtQ== X-Gm-Message-State: AAQBX9fGomPcVwUGQY+T1JpGaSUUIm4Cx31JKYXDV2JeVfeYCsDXTjO/ H2qXZs7hRYMoHHp7tYDoaa3pZQ== X-Received: by 2002:ac2:5ddb:0:b0:4ea:d6c7:c897 with SMTP id x27-20020ac25ddb000000b004ead6c7c897mr5782374lfq.31.1680098498119; Wed, 29 Mar 2023 07:01:38 -0700 (PDT) Received: from localhost.localdomain (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id f25-20020ac251b9000000b004d4d7fb0e07sm5511340lfk.216.2023.03.29.07.01.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 07:01:37 -0700 (PDT) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Michael Turquette , Stephen Boyd , Dmitry Baryshkov , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: qcom: gpucc-sm6375: Configure CX_GDSC disable wait value Date: Wed, 29 Mar 2023 16:01:35 +0200 Message-Id: <20230329140135.2178957-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Configure the disable wait value on the CX GDSC to ensure we don't get any undefined behavior. This was omitted when first adding the driver. Fixes: 8397e24278b3 ("clk: qcom: Add GPU clock controller driver for SM6375") Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gpucc-sm6375.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gpucc-sm6375.c b/drivers/clk/qcom/gpucc-sm6375.c index d8f4c4b59f1b..d3620344a009 100644 --- a/drivers/clk/qcom/gpucc-sm6375.c +++ b/drivers/clk/qcom/gpucc-sm6375.c @@ -358,6 +358,7 @@ static struct clk_branch gpucc_sleep_clk = { static struct gdsc gpu_cx_gdsc = { .gdscr = 0x106c, .gds_hw_ctrl = 0x1540, + .clk_dis_wait_val = 8, .pd = { .name = "gpu_cx_gdsc", }, -- 2.40.0