Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1345685rdb; Fri, 1 Dec 2023 13:46:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2+ENWeJDUAVrRt1ArpX7manC2jq5yfkySJ5l/DD9znaxjfOE/hnn8vk4wpHt4I/6JJ0lR X-Received: by 2002:a17:902:e806:b0:1cf:cd2b:8513 with SMTP id u6-20020a170902e80600b001cfcd2b8513mr322490plg.35.1701467166156; Fri, 01 Dec 2023 13:46:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701467166; cv=none; d=google.com; s=arc-20160816; b=s0aEI+rZRo5rdGEDCzhTMyO6umf4BpwfPz6F+GtV/BpWVYpZZfB3XvHT1GGYCTqgAp k6uxBnYrrjXp9iWdYw5LgY/XouCZ4k4lCotozJFUJGh7vHWR7VqpYMehNAmKS9APqJOa dR+zGnzhlMYkJ3CTD+E/dOn6PoeuzbsrEZ3zjw2xAOreerDKVDwHizfypBzAxPjs4Aqt QWZqIMp0baGPln+eaU2+1/oyHG3cMbw8TDlHCEFy5oTJOgCnO8Ne17r6D/Sf3M9JZBwZ VEN3X2r5JpV0Tyema+q0RR/Nx2NOp0C55UmmwcmXzJSGNeTDU4nNoh+jgcu8n40Ss541 GS3w== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=8sn6TIMQGfSCwqnbYuewhqgGKU0sPXKc6S7oOa0pf30=; fh=K4vApK0jTyUeI61RpnuIQiYSWbIeqi+kH0zi4DFz/nA=; b=SDGQ4I0s0iD139wjB2yCx6Kuy2S9ZoKFbZTCDwJtLnuMUNEHr+SBJTo/4IaoNuwdoa 0cp3OoQ821Nvn9aExHpQQFrCqzNdoF+y5w4mj2rgK2/VIHrtlsaVj8q0autpj4roVW+x mFvFYY00Puo6AdKRp+TRhSmycbTe1j1KmP7QVxIs9R069b9TdSZdwMIF2aqaUNNxFJfO LLr9zg8Q87G0z2L6ikqrTYKrdV5DNRb92OYCtFocD+MLi8vVfGuxprjkwJfD8DRbHwDa Pvd0l4GDuBp4OuXwLF5Gez0bnf8Xgr2hYPkSGkNAtxqTdYVTuN4lLHd36Loexeowz9Ce U0Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nBH1jcCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id iz22-20020a170902ef9600b001d05aa54912si1301179plb.504.2023.12.01.13.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 13:46:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nBH1jcCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4E3FA80A5F80; Fri, 1 Dec 2023 13:46:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231132AbjLAVps (ORCPT + 99 others); Fri, 1 Dec 2023 16:45:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLAVpr (ORCPT ); Fri, 1 Dec 2023 16:45:47 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD12C10EA for ; Fri, 1 Dec 2023 13:45:52 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a195a1474easo248249666b.2 for ; Fri, 01 Dec 2023 13:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701467151; x=1702071951; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8sn6TIMQGfSCwqnbYuewhqgGKU0sPXKc6S7oOa0pf30=; b=nBH1jcCiXs3HaRgxJJ0QMoKL7bPIQzjdXBjFmDeGC3KBEvs/zRf3TV0vsEKV6sW2Wg 8ZXVBx2LLBQtAaAL7fSGNzgHWOwMw4+rwJnt1xxhgcBx+EMdn8LG6yha5OBW6d+ncmlP Dv7POHpFWOryrV2EUagw8Yj6BRLl8aBANIP4BcA8nmnuNUvK5FphZjNNGiLYyz/EbfLz H4L+7MWrMi6mOkNL/qfVOfYKxPElwqFBYglrxv8Ysf9D7RBm8dTc6ZLHg/7sdBONSgLU xLfMvyNJyr19CPreSYoSE+VsZvd4Fdn4/bYSMYZM8FCajMvNUwpg4bxaiQFj9J2jMxN1 E5Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701467151; x=1702071951; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8sn6TIMQGfSCwqnbYuewhqgGKU0sPXKc6S7oOa0pf30=; b=hpoKO9umWvdaaLyaXFa37/fzSFw7P+S+JMhoYsgC2R00/euzWFpGTK9MnGzs5IAHCl mfkAqSdwGVgFVjaUfP3seUJYfk0hsLFKqd6F4+r9cGPreNMklw+MwIXJnWlSfeFPWJAX oP9p9Qi3Sg4lsD5m0bf4br2M1eTviiw7hswY5GCTCqDV1vtAUjSyUvGibEeTUcvTxple M+9bQqxxapPyGbkA+5PA5nYtRLujGMLc0foE1QNvcj5o0M2FNUqOsf2Hziw9OGcQzkq2 kKQF+x+HRNrhvsYhYS0UFeQ9uSzArLpG4jWPd7clTRHSzmX0qqwd1afA5L/i14YB2EX4 bszQ== X-Gm-Message-State: AOJu0YyCVwbAg3A4X0qdzVqJna549InWEATEY5cMCasAzOi94ImRvD3C WtkpRA5V2m5BjMtBTqkOj3m1nA== X-Received: by 2002:a17:906:109c:b0:a19:396e:99bc with SMTP id u28-20020a170906109c00b00a19396e99bcmr550273eju.39.1701467151471; Fri, 01 Dec 2023 13:45:51 -0800 (PST) Received: from [192.168.209.83] (178235187166.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.166]) by smtp.gmail.com with ESMTPSA id a7-20020a1709062b0700b009fc8f309183sm2339415ejg.51.2023.12.01.13.45.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Dec 2023 13:45:51 -0800 (PST) Message-ID: Date: Fri, 1 Dec 2023 22:45:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/4] clk: qcom: videocc-sm8150: Add runtime PM support Content-Language: en-US To: Satya Priya Kakitapalli , Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Marek Cc: Bryan O'Donoghue , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231201-videocc-8150-v3-0-56bec3a5e443@quicinc.com> <20231201-videocc-8150-v3-4-56bec3a5e443@qu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xY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231201-videocc-8150-v3-4-56bec3a5e443@quicinc.com> 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 13:46:00 -0800 (PST) On 1.12.2023 10:50, Satya Priya Kakitapalli wrote: > Add runtime PM support to ensure the supply rails are enabled > when necessary. > > Signed-off-by: Satya Priya Kakitapalli > --- Reviewed-by: Konrad Dybcio Konrad > clk_trion_pll_configure(&video_pll0, regmap, &video_pll0_config); > > /* Keep VIDEO_CC_XO_CLK ALWAYS-ON */ > regmap_update_bits(regmap, 0x984, 0x1, 0x1); > > - return qcom_cc_really_probe(pdev, &video_cc_sm8150_desc, regmap); > + ret = qcom_cc_really_probe(pdev, &video_cc_sm8150_desc, regmap); > + > + pm_runtime_put_sync(&pdev->dev); > + > + return ret; > } > > static struct platform_driver video_cc_sm8150_driver = { >