From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 483A7178CCA for ; Mon, 22 Apr 2024 22:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713826503; cv=none; b=icDdYK9DjZspp0Xe2Rl/YTqmAIMoV+UKB6ualwgpqMOJOTnJQhS4GDeN3yEuRAuSzcRBmiUGuKL++phMeHlaEnKxdq4B6UmWZYpiA0dzPeELFLtm/w+bdOeJqhYgnlIQu0NHmkKodJ5dYcAxcPMmKZBEAsjC5ciar/LuRxaAn2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713826503; c=relaxed/simple; bh=6HogZA72dEjIUD+2dcxM4x6w3f26UzuKuHmtXyQJhYM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GAmRwVyIRJ0GjUzCBFRBGNa6TZRLCPgzMh1rA/lhoJDOxaZIumk693ACkOo1uidol/B8r3sYwczI3fY5IgBTPnIS53Ve7Hp15tksFPY6kDX3d4wuBkZt9p0V+hsAT4FMyAW49AImENd1Zu5WshXmJzb21ArVtIeONRZRev8Diqk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=dDLHP7bL; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dDLHP7bL" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-51b09c3a111so2692774e87.1 for ; Mon, 22 Apr 2024 15:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713826498; x=1714431298; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mZZenxLxXRLNUaVa8fsakmHFgHCabBfzf+FG1fzHvGg=; b=dDLHP7bLr8iaFxrFy9eROta/6il280DnVVjQLUgnoFYEjjB4y9CqDrlXN6ALhi+6Bb p0SVa1RNvUPd1SFplgXyaqbEd4cS9pzTAxM13e0sfvUUcqeWunsGEhXhr5bFPgB8fNRJ 8gzbUkTkED77qm+bfgyCWQSF+i2wGvvdxldZq3qmCOP5ijoXPfehI0znimaNzMXh2Qz8 wB7j8OcD5F8PGic3l6SUooGJ6zr2eveUDBY8hV+j3U12SP5Zz1nHpyvd9Qzn/0cPXtK5 EkmveKG1xkiblTLpebpVc8Wwb30kXR5b57kCR1o52gsIMVjWJ3vuEIM/pJl3R1yK84ky TiSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713826498; x=1714431298; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mZZenxLxXRLNUaVa8fsakmHFgHCabBfzf+FG1fzHvGg=; b=cSF8vKlEiAwima7aCJ7FnZQ/OpE5bHTqotK8Bv8+4IBjdxVT79XmaOt1aO5qi7EVIB z2wtl56lYOF7Z4oH4iE4IY3yfwkoeaqGlEaJ7bQAMMwOFfxpzSFeo+BKMTTRi6RiN9FO xMuzck4KFtyvTHzwnGhqhTaN5lt2djuF0KjvzLjLA0USbnKCqJS+DNwvFR07iKyLzb57 7QFV4zPQ9r7tQ4sfypVhNKJxTb+J0yV5ckOU+bCSZMGMqPwMZA7m+jq+02IiJavcKLlR QWtKz6aCfVSKLbFd4mP4enlcGJ2Ba/mv4xnNcyFEVD5OdKShQu9vMelwdzmQmikIzQau 8OWw== X-Gm-Message-State: AOJu0YxM+C0Ndu4I81Xs8TgNF570Iia8BFRZereLPrVR8mvBFShVKyNB wsLdmOWJtxtbDJK8zZUB6HJfOt1U6s8ZSx0BGX/hNn3M51Bf168lhlRQaT+A6VY= X-Google-Smtp-Source: AGHT+IELvYr9TnwH1ZhKLd/4NPGBCKp/hD2+vGQEykAEl5SbO2M55duobRfLF8evMAaGAmUz4pqtMg== X-Received: by 2002:ac2:4294:0:b0:51a:fe04:13e3 with SMTP id m20-20020ac24294000000b0051afe0413e3mr4109059lfh.8.1713826498423; Mon, 22 Apr 2024 15:54:58 -0700 (PDT) Received: from [172.30.204.103] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id u18-20020ac24c32000000b0051b5e710366sm266474lfq.129.2024.04.22.15.54.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Apr 2024 15:54:58 -0700 (PDT) Message-ID: <3592cea4-7e5c-448a-83c0-562b4ef4e7a1@linaro.org> Date: Tue, 23 Apr 2024 00:54:53 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V5 RESEND 4/5] clk: qcom: Use HW_CTRL_TRIGGER flag to switch video GDSC to HW mode To: Jagadeesh Kona , Bjorn Andersson , Michael Turquette , Stephen Boyd , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Mauro Carvalho Chehab , Ulf Hansson , "Rafael J . Wysocki" , Kevin Hilman , Pavel Machek , Len Brown , Greg Kroah-Hartman , Andy Gross , Dmitry Baryshkov , Abel Vesa Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-pm@vger.kernel.org, Taniya Das , Satya Priya Kakitapalli , Imran Shaik , Ajit Pandey References: <20240413152013.22307-1-quic_jkona@quicinc.com> <20240413152013.22307-5-quic_jkona@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240413152013.22307-5-quic_jkona@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/13/24 17:20, Jagadeesh Kona wrote: > The HW_CTRL_TRIGGER flag provides flexibility to switch the GDSC > mode as per the consumers requirement compared to HW_CTRL flag which > directly switches the GDSC mode as part of gdsc enable/disable. > Hence use HW_CTRL_TRIGGER flag for vcodec GDSC's to allow venus driver > to switch the vcodec GDSC to HW/SW control modes at runtime using > dev_pm_genpd_set_hwmode() API. > > Signed-off-by: Jagadeesh Kona > Signed-off-by: Abel Vesa > --- The commit title states clk: qcom: yet the only files changed are: > drivers/clk/qcom/videocc-sc7280.c | 2 +- > drivers/clk/qcom/videocc-sm8250.c | 4 ++-- With no explanation as to why anywhere Konrad