From patchwork Wed Mar 29 14:01:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 76590 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp443191vqo; Wed, 29 Mar 2023 07:11:08 -0700 (PDT) X-Google-Smtp-Source: AKy350b2uIItTUb5jVNxM3KB5IWxyEDBQezynU2BxO10rgYuxCovsmE/c/3r+hIx4anxYQCDNJA0 X-Received: by 2002:a17:902:d510:b0:19a:9859:be26 with SMTP id b16-20020a170902d51000b0019a9859be26mr2358796plg.22.1680099068408; Wed, 29 Mar 2023 07:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680099068; cv=none; d=google.com; s=arc-20160816; b=t2c1IhWkETtJLO9jl2KpD7FivabWO/uqvjZud5H6pGk06REyqPpiecqhMvKUWGUdoO 9Ts4Uw4ARa117qDlwdSnLquH2TRAXHnh5naqu6rkgYn3SsP3KfzzTVA75K/W/vLq7KVB ICPRjL2bsLK0qQUrTla2suj8ZV9P9vajsG9rAr02djh4/QnoXkJI3HFFORRBNzjTBxkz fkqAIs+PpeU0WzDhT008c2hwknuSzIT4/14cccwC50s4xRmsFj48+FBcfXdK16QbUOKW VmOw1oTI+Cbe5F3OfRw46uaYDC+l2aQ83o2uuGIdrM0HerCWZeeXLBff04URXOJ+OYi1 5cRA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kv12-20020a17090328cc00b0019ef7b7991bsi30092456plb.131.2023.03.29.07.10.46; Wed, 29 Mar 2023 07:11:08 -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 S230308AbjC2OBq (ORCPT + 99 others); Wed, 29 Mar 2023 10:01:46 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761711560249411686?= X-GMAIL-MSGID: =?utf-8?q?1761711560249411686?= 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", },