Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2599462lqt; Mon, 22 Apr 2024 16:08:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXZd9mEws5UepTpfl/rZnBRQe7DcUIsOrrP8QAS6gB24H2uNOBCQCIZpVGa4CKBnITqogkJeX2BwWAwvX8s6ovTfofOHHgIVzhewBO1Gw== X-Google-Smtp-Source: AGHT+IEefchsEEi8jDmn6NfZ0q5qiwytQgwTD1nCTfcK6HyJzIvIFCWhOVJm27yIpU+R/UqZbDra X-Received: by 2002:a05:6a00:850f:b0:6f0:c88e:a0dd with SMTP id ha15-20020a056a00850f00b006f0c88ea0ddmr11638288pfb.28.1713827327847; Mon, 22 Apr 2024 16:08:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713827327; cv=pass; d=google.com; s=arc-20160816; b=azcQaKdeK47oNKx+jthP1wDmYEG4ARED2otvl0Kb27wlp1qvxAxXdqrk2nPmuJBedF eOnL76/xYl0LzESBJ/cbwAKbjtFf01uia4UkyQqFIjF9kwgl5sFZrc6BLs9HWj/Zy/t5 VOAYaEWWly39UwnaQvnlugGNNp1oIqQJXlFYNCu3SdV/c3LtJ5vttM7euduNo5DXltCM +xe20NeAnryGKBB1Z+2kZmqwOyfAraybeGiwusph12pjFLrpk3fcqftT13tRZ9/hFX28 6gz2W3SNOiwHMYsBya6IWTeUTJcfNXsKV8s7mgqqR6aD526jv0UCuG629Tp/vcygz9Os +pvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=mZZenxLxXRLNUaVa8fsakmHFgHCabBfzf+FG1fzHvGg=; fh=8TLUcrXkYcoNqjf6ctNNOvlBM3Lu4Fg2QLWuizqYRro=; b=bMphcIDACzRPqIP2DaJYSYyxwtVHUB0UGD0LDUgwEosmkI5E568AdZ8mYH8qMhTokQ mFLAs8rPTJ0nj3tzgkxMfSxoUVd03c7f9wt+IardwFcR6hg4rQj8SzAMt4vm3kBDf7Yu tblLZEUPH5t5qOzmf0XJNJUCWNIxsd3av1jlIjL5OT832Gcx8paS58aR9J+QhzqM9vK3 fgf4w27skh7UIjWeam49saj+T71acLHGvO5iDr400oaXlQPNyZMQZOaJlw69NmgGwBYj iuoBTCbjwhvBzcz2yhYaCxAe6xBpMqZ2AoOdHCpfY7e9AKf0pQla+0QltcXOSTsvgdYb +dlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dDLHP7bL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-154161-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154161-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u11-20020a63790b000000b005d8b4ae4892si8739529pgc.253.2024.04.22.16.08.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 16:08:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154161-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dDLHP7bL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-154161-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154161-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6236D284BC4 for ; Mon, 22 Apr 2024 23:03:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7AA7F18133A; Mon, 22 Apr 2024 22:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dDLHP7bL" Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 43385181B8F for ; Mon, 22 Apr 2024 22:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713826502; cv=none; b=Lmq3aO2k7h4cCs7Dh2ZBhLJDo5xI+JfHtDKRLVM55O75IKT3mPCliJ5vkr7LBwBWsr6G4TNUe1QImvopXIwDH9h36k/0PmNg0bmubv8UAbIQXyeWC5qzd55qrPCb79PWV/h2Gi8dwVVfqxd/kLov445ZDpPED2/zxbDMAj+m1lg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713826502; c=relaxed/simple; bh=6HogZA72dEjIUD+2dcxM4x6w3f26UzuKuHmtXyQJhYM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sBP6VZNygn+8CemBXoH2tLzCeiQZRI91t+mHJ2VoGzEUNQEDkQS/s3NPFaA3SzKFU7thSSxFFRORdYmb0/GtxT/S1EoMFacrk1r53byj9TpzLgUWnaHYSciKUsLXkTlupL4z6tKi4q6vMtU7yXFg+Eh8xXmvPvdzXDfr9pF6Zjk= 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.44 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 Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-5193363d255so6602412e87.3 for ; Mon, 22 Apr 2024 15:55:00 -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=xMB9c0ymrbNedste+AJC07opJq8OQKrBKdfRJqYyOIjXGTiNSRTwaLebBlmll4G6HI FtaPdYR/Td9k/6o5MylleIsAtE3WAjMnEFwZnXASRAeKxupazeMhmsFbZlHWem8btzfQ 3m+UdMrwTgztGKQdc5gMHC9cjYoz0mqVW83H5VkTy5QB/ccJhZvkg02y0VwYnwaASNxG 3Oawag4i/07D7AY1vaCu/bZ3wrANuzdxecayk+xHi4E5IKxIjzqEmXhS9t8dTydo4BOl Zv/KUpRoujqSnyghQfBTdNemmkLxX/0uvM118PPnWCB7paCe837AtVGiy0XCOpvals+a hyZA== X-Forwarded-Encrypted: i=1; AJvYcCV8KczQ9JmazRNyqyxKNY7Q1eR/zhmDl9d6Qq7uruZsVUezSiLfbLxfeSK95A+voP3z3B79vR8UH7NBs6lEYj4YNtD4sxDBVK+/L1Bm X-Gm-Message-State: AOJu0YzL1zg3aFHl4gLOf+YTYin4NazSOHgcsgONyh/M1L+HzsZXiuX6 wr8FA7PhwhXtz0c15fK5jJpwPgw7VJcXPma52OJ+kyBndQcc6WOBf6+hnBgOCEE= 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-kernel@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