Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp648050rdh; Thu, 26 Oct 2023 11:40:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFaM71RfISBRxVInwW/QHXVlgIs65G6z0zVshDqm4K29jMRf84fPUzcpVNjqk9S1+LQtGXk X-Received: by 2002:a05:6358:6f82:b0:168:e636:aa2e with SMTP id s2-20020a0563586f8200b00168e636aa2emr565655rwn.10.1698345603491; Thu, 26 Oct 2023 11:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698345603; cv=none; d=google.com; s=arc-20160816; b=pdAL2/n220WhPMKUPYe1AZh7AjHs2oR1vu0XHwiETklS7YBgaw0CYMwUD1tQJnz8qG 64aWmypGiN5z+NZORPVGBJbvoBP+VAW6m6EB4Zx8NQ0PJurVkYZMYL1O2ye1ld6Scqi/ qUaBOrw/CAK29PsF+mZ2Pigtw9lophk0F/QAPwXbLCuEtQzPqDwyFUk5n5dsT6hQhgxA CWSxtBPtz+Ds70K+utY1QhdDJVzD/pRg0kp4zrngcHPvDRT4BX736SrcciEyYqOeF8a2 ObnjhWQhYvvagZxxiUnBGjBLWCX6D1max5uRQcolChp0F16QfZBVU4Kjs12jqrih3FbC 0utA== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=8cB3WogQP9E/Yo/vPH/w87eDiej54ju5fgOVr2+Kfho=; fh=9Tb51X6HIsPHgodcRNn/bP6zFaGTfo5EkO3Dm1gJ5Tw=; b=di6Wm4slXInP/aLf6PED+SbznutOFR/Oqe5FvglVMzXPxLvqtK/uJ2OWnNepbPjxZ6 uQDpvns3SsTyN+TBz1lX5mFUxUs/ayh0q+vO9Hde6Ps8ycjEDjDaJyGT8TDDs+4ak7Qm DfZ+atT9BlYFtQz0ANufXY9HZtZbLo4zOOgmzyR9XzUcpBQMJLy7vOfQzNQoUUrltfmG aY4H7mlLAAosj34LF9qVYCJFLa2LVVTwqD4j4OX/TRmXJdLptoL+7xsyINCXKTqvA2CU G5Q+cR1I/VRjcBm8Qxjd2cVN71XfaIBqAQvjt3amIk5kX8Agg14/t2/qVw/INz00orOg M7ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WIvXU7sq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i184-20020a8154c1000000b005a7c565010asi15442318ywb.276.2023.10.26.11.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 11:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WIvXU7sq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 782C281BC4BE; Thu, 26 Oct 2023 11:39:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230008AbjJZSju (ORCPT + 99 others); Thu, 26 Oct 2023 14:39:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjJZSjt (ORCPT ); Thu, 26 Oct 2023 14:39:49 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2FC31A5 for ; Thu, 26 Oct 2023 11:39:45 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4079ed65471so9260425e9.1 for ; Thu, 26 Oct 2023 11:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698345584; x=1698950384; 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=8cB3WogQP9E/Yo/vPH/w87eDiej54ju5fgOVr2+Kfho=; b=WIvXU7sqhfbH3YDpHN7jSJzOb+bDD4WyXYZ70rOiO151jKA9v69yR8ZfcUqSdjIUJ8 QpWPg0NWq+xkY/o2hVHvNvusCQAM+kosPNkUxY9mzZMvbHQaWkUnTbOy7DZnrpYm6wy4 YOTGGrfeQt2wCEhHKisPZRruoCTSpSQ35/PG6qOF3bCDDbW1i8fLA/Qc/ZpixOHRxwTH U5qfzv3MKipJEAQxUfjSK0E0ZKwrar3FzpuoFVAONRwRo4ZSVOaHJpb5cWSRCWuvxUsc uzQUTTKpNPqiVD/vScQHVR1duVvZ9kPWRP5NrEZrlAO1PuLzOr4Ch7unTg3icTr5B5fX KR8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698345584; x=1698950384; 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=8cB3WogQP9E/Yo/vPH/w87eDiej54ju5fgOVr2+Kfho=; b=DpCSn1pi1YMQGA53wuZwc2PfLMmr1RGdpaCGvTi+Li69MtE7rzYNxwY1vQ9I2oqiVd /vh2w0LTz1ifVxULf6SRBlt/DJ5i/rvZHMg8QQ6hYOTdNKGDQgTVp044YDq5n+BfYgxx xHXRybVB9Uzpkpyf4INHXiZ4Q23TQY3ocrjfL/gw5GHRxqvrc3sgNY2Ze5kUmN9NQeuX iHICddNL6tkzvMz55dtxYFgk/UUfZF16PTPlHiPVjEmAYxHUM0GZaxZmDNQSvLsBdMU1 CTYoYdutPiY3ywe0TXAGHSvczxbm++1ZywwP5ZHPv7MvxKpu8axtn5q4LKjwABDOCinJ +nXg== X-Gm-Message-State: AOJu0Yy8i2DytPT+VYJLyPZZtxNLCfdqG7SFSbdeN1LI7DUSzu6g71pE J5frTImaG7FUO8Paq2WHLqVqeQ== X-Received: by 2002:adf:f391:0:b0:32d:92fd:9f73 with SMTP id m17-20020adff391000000b0032d92fd9f73mr369098wro.10.1698345584085; Thu, 26 Oct 2023 11:39:44 -0700 (PDT) Received: from [172.30.204.255] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id x11-20020adfffcb000000b003258934a4bcsm34968wrs.42.2023.10.26.11.39.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Oct 2023 11:39:43 -0700 (PDT) Message-ID: Date: Thu, 26 Oct 2023 20:39:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RESEND PATCH v4 3/4] clk: qcom: camcc-sc8280xp: Add sc8280xp CAMCC To: Bryan O'Donoghue , andersson@kernel.org, agross@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, dmitry.baryshkov@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jonathan@marek.ca, quic_tdas@quicinc.com, vladimir.zapolskiy@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231026105345.3376-1-bryan.odonoghue@linaro.org> <20231026105345.3376-4-bryan.odonoghue@linaro.org> <20e2801d-df4f-436e-a677-2c81d43e3273@linaro.org> <6d44b972-9337-472a-9010-71ebaa0d45cf@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <6d44b972-9337-472a-9010-71ebaa0d45cf@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Thu, 26 Oct 2023 11:39:59 -0700 (PDT) On 10/26/23 13:34, Bryan O'Donoghue wrote: > On 26/10/2023 12:21, Konrad Dybcio wrote: >>> +    .flags = HW_CTRL | RETAIN_FF_ENABLE, >> This should really be HW_CTRL_TRIGGER from [1] >> >> and then downstream uses cam_bps_transfer_gdsc_control and >> cam_bps_get_gdsc_control to control hw (fast) or sw (normal) mode >> >> similarly in drivers/cam_icp/icp_hw/ipe_hw/ipe_soc.c for IPE > > I'm happy to do such a conversion if said patch hits -next, qcom-next or clk-next before this patch, otherwise I'd rather not gate this driver on stuff that's not queued anywhere. > > There's alot of CAMSS stuff driver/compat/dtsi that is gated on having the CAMCC upstream, effectively all of the CAMSS stuff for sc8280xp. > > Fair ? Fair Konrad