Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp122782rwb; Thu, 18 Aug 2022 00:21:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR7qK7meBh2YPeFI0hWH4G6Ij/Q6fQMy+xsJU64rDcF0iRdj+eCFIvdhUE/nLD1nXhN5QWNy X-Received: by 2002:a17:903:28c:b0:16d:cf30:3b71 with SMTP id j12-20020a170903028c00b0016dcf303b71mr1494501plr.165.1660807273329; Thu, 18 Aug 2022 00:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660807273; cv=none; d=google.com; s=arc-20160816; b=tfZnGHv+M/VjWeq/448n87ij1Ci7zJGnzkdDzP0Tj4m8j8T5ed9eoQ/BmnIo20ZPB4 Op9ihaJEnaOwEOf6XBUH9A+ikMK0NsnW7uA+YvwiXhXhn2KFMaJDCb8VpusYYm8WeoBy XlTfJTLw8cASKeU6mb/Mz2egsQQg5v4MaZ8OWtJB7yqyTuGDNaLue9hedue9NXFw654N 2pZ/6z15ObLgcaGQBR3BpiUTQyOGUJQO+96RECqcILmYQVxiTgEAhDWsx2cnz8jsfGVe UTnTENMarVTsCNKAv99+lSR0oQUbFNoAa1BmoG12qxIUoKL/m65eJHhoXPm4NkrkzFFZ okoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+rnA565YBjndtqaMdwo66Drww20U6UhPrTonHQT5gKQ=; b=08Nz8RX2hcisIrN+kUT5NnOdyTG7jLbfFv67TQJzUFTDn/u84JlIWAv+rMtNKhKBzq Cu9EzcTSSqDxiHYLiSWrh9atuNfaJFjsdo/ANB+ldy3E4PHoFIGnWLU45ExPC3M4W+6O x4Y0Z5GWjCTq7sqC79oLP3lmYdqcarDGIqf8K1bJb5Wqfo8flkkti+naVI3dmlGuvc9K nsV3LxQ5ks4vmHViMzw+3sqG0OW7bivVhXhe4rb+eTx5S9qAoBw4dP88BBVsAsoBCS4n VYuUWiDMDfXj8akQY1jqktxI/gHKgUbjtmCWEDMDmYti4UX4Zf8+nu23YZ48ueE9PtKB +iRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=k7IXjunI; 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 x195-20020a6286cc000000b005186df822dfsi885131pfd.378.2022.08.18.00.21.02; Thu, 18 Aug 2022 00:21:13 -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=k7IXjunI; 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 S243567AbiHRHLH (ORCPT + 99 others); Thu, 18 Aug 2022 03:11:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241522AbiHRHLE (ORCPT ); Thu, 18 Aug 2022 03:11:04 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C7A38A1D1 for ; Thu, 18 Aug 2022 00:11:02 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id w15so888528ljw.1 for ; Thu, 18 Aug 2022 00:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=+rnA565YBjndtqaMdwo66Drww20U6UhPrTonHQT5gKQ=; b=k7IXjunIwYEqdOAr12PHz8M3c70nfnrK4zYNyRbDjrl4cjPdJwC/1+zd+C/71kN91U P4107Thv7DbJeCMl6MCDRLubbTrDSCxdCGrwK/HTf3X21UMogZKHzHkxckmOBfnuvg7p /DZHD8gTTDiq1cE3t03skfD0IoC2A9Qr4jxQfBaoJ80nXtgcHIuD5i7F3+cibP7Qpsly gZvWE88j4LYy6XbnA2y2r6o/2+OBM591cVUMJ9DFejQJGFvvsym4qwpsm1T0cKFJ9pXX gr7kZS2qgr0bPGgT98bRh0nUNIO4lpGp5Lkf740fAK4530zHzb1udBJBcKTFeURBAgbD dJog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=+rnA565YBjndtqaMdwo66Drww20U6UhPrTonHQT5gKQ=; b=OlzmDsMcgDtGAYV+t6n7QYcZkLOQPHkvFT9AmlJPsIyzVM9hrL/KjHcM+jctpt50GP dc/FB0kAmukVaDpEAci33BBvk41C9Ksa9KapUJVjnbFCADRNpC2j8wezx5HQHkYKCGI8 wuGaLa7juHOuKGJw2UGKdR0neTdDLiBihqrz/sIW+AAzpsbkQqOiEHFWEVAHoCZwIiI0 CxNTOtiTLg5w8pMZy9tMJgfF2VUxWTQtf/7WxdKc5o4VE8tmvr2biy6Ho4NbuLpPErVk O9lga3LMI+Yvt+u5pMqAKTA1jUYKBy6acbwtial17CCJlrAT07T+yd8PHC1AQlo4o4jL ddOg== X-Gm-Message-State: ACgBeo2uAvqOOY9fy98AaC9qCB8t7ZgQ28Uwq4hCJJcroubUEF4sYBxS uAO3zlnYyoavpy2cdlbOA1ayCw== X-Received: by 2002:a2e:9e43:0:b0:25d:d8e9:7b15 with SMTP id g3-20020a2e9e43000000b0025dd8e97b15mr492873ljk.234.1660806660498; Thu, 18 Aug 2022 00:11:00 -0700 (PDT) Received: from ?IPV6:2001:14bb:ae:539c:53ab:2635:d4f2:d6d5? (d15l54z9nf469l8226z-4.rev.dnainternet.fi. [2001:14bb:ae:539c:53ab:2635:d4f2:d6d5]) by smtp.gmail.com with ESMTPSA id m1-20020a2e8701000000b0025e2c6b15e6sm105103lji.72.2022.08.18.00.10.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Aug 2022 00:11:00 -0700 (PDT) Message-ID: <20e5bf2c-9ac0-1c99-b0c8-f2aa50d8a739@linaro.org> Date: Thu, 18 Aug 2022 10:10:57 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v2 4/5] clk: qcom: gpucc-sc7280: Add cx collapse reset support Content-Language: en-US To: Akhil P Oommen , freedreno , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , Bjorn Andersson , Stephen Boyd , Dmitry Baryshkov Cc: Douglas Anderson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <1660748274-39239-1-git-send-email-quic_akhilpo@quicinc.com> <20220817202609.v2.4.I5e64ff4b77bb9079eb2edeea8a02585c9e76778f@changeid> From: Krzysztof Kozlowski In-Reply-To: <20220817202609.v2.4.I5e64ff4b77bb9079eb2edeea8a02585c9e76778f@changeid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 17/08/2022 17:57, Akhil P Oommen wrote: > Allow a consumer driver to poll for cx gdsc collapse through Reset > framework. > > Signed-off-by: Akhil P Oommen > --- > > Changes in v2: > - Minor update to use the updated custom reset ops implementation > > drivers/clk/qcom/gpucc-sc7280.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/clk/qcom/gpucc-sc7280.c b/drivers/clk/qcom/gpucc-sc7280.c > index 9a832f2..d4bc791 100644 > --- a/drivers/clk/qcom/gpucc-sc7280.c > +++ b/drivers/clk/qcom/gpucc-sc7280.c > @@ -433,12 +433,22 @@ static const struct regmap_config gpu_cc_sc7280_regmap_config = { > .fast_io = true, > }; > > +struct qcom_reset_ops cx_gdsc_reset = { static const Best regards, Krzysztof