Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp362243rdh; Thu, 26 Oct 2023 04:34:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFAXp/uj1LQn/GzXxCzQHdpLV92mRtwwq7+yUcazr1Uoe7WzYA7q/V8TBHVd1u5uoQJPzu0 X-Received: by 2002:a05:690c:fc3:b0:59f:519e:3e9a with SMTP id dg3-20020a05690c0fc300b0059f519e3e9amr20280289ywb.20.1698320088096; Thu, 26 Oct 2023 04:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698320088; cv=none; d=google.com; s=arc-20160816; b=gkrtUDVEU6rOkLMry0MMWwIcCnBKbEyRx6wCyPdm2SeAyn6/HPPohaRjFuWoeKfwuT QSvbLYCA0K+fMNQKJMBoCGHS3x9z5Ig4EgWMaNzLeHfAOiLSQP3a4iNI6IwVGlTQprmv Xj5ytTeuiakUJyT7slqYPq5b7JFAAzLWTnikjy+InJO1HV3sjiAvbt0sLRmINeTXAg43 pV68/NJ7QQp7iIkJ1ydasKCn/pZSe0d6nObuOE3fS7EAgKrn+aDFvOQPgptinlJ6WvH6 k25YofYe+7MrdytyWFkXIX5vh/7pxaRAlSuXHOEPWVSbA9lz8lrbh6RYhWDoyuE6CyBQ JS5g== 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=guG/4XeVgfANKrbZu4mGuhf3LMfrQDPCzTLE4W9xTUQ=; fh=5cozF5oTMSXfs9gjuX0030uETpcymBm1JdMOGeOPhJo=; b=W6ukl2GHcVEHfJnKjCT8eXsCwcPN71tZwS6LepIIiUdndV5tQFmrwFUBIqRciHd70A i0mDJ4ieFhcMFUqhgyVi6A05MpCtE8nbopzmghOghTLXtL0ge5sCqfd16cWL8N8M+RXa hBcUBOCN6lsfi+K3U0DuXiu1TsZ4CpFhLGo/BrP/zL25jFHNp0MIVM6BQd/1sVck5UWQ O2i9+JuHIEseiOoGzNZ3lPBhPIaAdr8cbgve6g1+B/N2l9qrIuJPQmTUR6XRLa86gEw6 2AOfz6/gverpTMAbDrHX0SpzlSR+N1SWf8icuScUJouiF1CaWfEUa0aK6kd6TJVPFA+g EGxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CcTu02xm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i2-20020a0ddf02000000b005a7d0b5e17dsi14167555ywe.422.2023.10.26.04.34.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 04:34:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CcTu02xm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 9EA3F81C4A9F; Thu, 26 Oct 2023 04:34:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230321AbjJZLeh (ORCPT + 99 others); Thu, 26 Oct 2023 07:34:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbjJZLeg (ORCPT ); Thu, 26 Oct 2023 07:34:36 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1538B1B1 for ; Thu, 26 Oct 2023 04:34:30 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-32db8f8441eso583278f8f.0 for ; Thu, 26 Oct 2023 04:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698320069; x=1698924869; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=guG/4XeVgfANKrbZu4mGuhf3LMfrQDPCzTLE4W9xTUQ=; b=CcTu02xmrvd6uRdisUSflC264cuI3LaRZaMPUmMAM0Le/0hRKug8zchKwTCFTJI+/W L7o5BqsG4o0FD3uLRbShrXzZtcZ2ijAlqBs2INot0WJ8aXeIs993Km7A/e2u34mnBpgU 4PnvJaH//HnHLo+mXMa8Z7aIeRP1Svfm40UNRXiuf89TOTeMdFZ0XIaBrtGCguXiUIIb IYYjhnxKptGHiOkCH6RjX6lo049quIcPEN80G3YbR9PRdQ8gXb4B/s53wGmtznJ26kXF K9jQpRTymjG953grbhLwDthysc4vMla/ETH/qSE20qi6LOOi+agptyHlsHsYnIOHsDE0 teJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698320069; x=1698924869; 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:subject:date:message-id:reply-to; bh=guG/4XeVgfANKrbZu4mGuhf3LMfrQDPCzTLE4W9xTUQ=; b=Rya1avpOPsUJEHR0DjrOZDLeryqTDFuhOBNdJT25QmcoO8zNi9EC742QwKN7RGo6xo qsgUlOAKRPf2NlcQLqHjfgQfEWwGdBC2sCJjPEa7yzw0V3jXdqzPHgt2ONsCmYV2zqUK HjLpQ/Op6ogOYSSOnJuy/yZfXqq3EVpGjDh29ae9ggmYImJooD5mrfWRy/lNGu17uHlB h0w6uyD8H0O11EHUVfg3jUHoFHQxLrfAnEkM2g+hd0RtiRS5108TBnePpqKYn/ScRQi/ S4NZqabtYTSD+NmrQ+Ge+WXpq/HQPgQ3rVlWptmUpqr8PXOUyNT44mhkZ3qN7l63wdBm 55Wg== X-Gm-Message-State: AOJu0YzBVfhIXeFt1RPTyPKOvH3YGrwV9MlTT+A8sMjQmM2tSvWHaIs7 /C83IPa1JMNV1vRvsku6Db6dlw== X-Received: by 2002:a05:6000:a:b0:32d:8830:cda1 with SMTP id h10-20020a056000000a00b0032d8830cda1mr13865846wrx.63.1698320069155; Thu, 26 Oct 2023 04:34:29 -0700 (PDT) Received: from [192.168.100.102] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id w5-20020adfee45000000b00317a04131c5sm14075315wro.57.2023.10.26.04.34.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Oct 2023 04:34:28 -0700 (PDT) Message-ID: <6d44b972-9337-472a-9010-71ebaa0d45cf@linaro.org> Date: Thu, 26 Oct 2023 12:34:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RESEND PATCH v4 3/4] clk: qcom: camcc-sc8280xp: Add sc8280xp CAMCC Content-Language: en-US To: Konrad Dybcio , 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> From: Bryan O'Donoghue In-Reply-To: <20e2801d-df4f-436e-a677-2c81d43e3273@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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Thu, 26 Oct 2023 04:34:44 -0700 (PDT) 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 ? --- bod