Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp414142rdb; Tue, 23 Jan 2024 03:50:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRhT2LsfpgKrP9IH30rhXvFShDap5nYjomJ5znBlh7D6hirPkLLzJpbjiZ0fZAgzE7boXy X-Received: by 2002:ac2:4a6d:0:b0:50e:d186:ca59 with SMTP id q13-20020ac24a6d000000b0050ed186ca59mr2303603lfp.19.1706010610225; Tue, 23 Jan 2024 03:50:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706010610; cv=pass; d=google.com; s=arc-20160816; b=Yqvh+llmQBGV/2ux9np+IngtFvx+8IO6DxSelWEtAQjiRaUm4xczh44GnP50cQPuFW QHco1dNqUuZgP0LBQ6F8TWXafd/r24nmHpN39Q/m5/HZicMSbcqLB/ql9/uki7Kzb5UU gqDiIXFptPNkipXijk7bBywAnQn31eyR2rdueQpusrQTXYKjBywY6qVp1edr6M+RAJBn jdaraFR1dY6zzKUF6uYRbdBuoSf44SKpjsk+j44C+37SrNNsaIKGMCXnbWFfYJH8NImS w2c231/B5/6bTQWdgC06MYzKWZ6P9t3nimD7CV8pZtUzVYznf3/L1UNE7NehOjvffrpO t7uA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Nl5aSgUhW5224Zb5I6h7KA4cDC9AhC2LWUB6hKUEnbY=; fh=1z2A1q2m8ulZS5BS9NUR94jHngHMGqskjef7rcgBKkA=; b=yyYbDvNYCkspPKtExCPLoSCEIfAhHtFWsMsxHj+WXddnZQljEkjRdWNU0LQP+VF2nT w/a3/wgEQbDd1T7P/5nh4Sf5BEzy/0Tt2y5bBAKv9f/xjMBzdt4N+bikRJuaPgvCjM3I qGSxiX2N77yrftgXZxgQ2JNFqnsd9F6/rEd153Ij5BECe3dfO0+oBfCP1B0GLonyzbzi Kl58l0mBkXrVONvw/YtogSIO6AhAkZqiIcwFI/OmG/6ijnQzsrlqoAlsAl7RnHjdi25+ w4D4wem5xXO/DPnNae22j1vRo8yzQpPOL4rWCgTiYX4UlRH0M0RgEbR9qDmhUb43vUho KRrw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NmfyhidD; 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-35216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35216-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p1-20020a17090628c100b00a2f781ca89bsi4306823ejd.152.2024.01.23.03.50.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:50:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NmfyhidD; 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-35216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35216-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 am.mirrors.kernel.org (Postfix) with ESMTPS id F17751F235EC for ; Tue, 23 Jan 2024 11:50:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DCCB5D907; Tue, 23 Jan 2024 11:50:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NmfyhidD" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 06B6259B57 for ; Tue, 23 Jan 2024 11:49:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706010601; cv=none; b=jUlWodbdfCjTTeGui0mghx74yr5HmFq9ux/M/aO/U8AbW8D7+taITqGCs2PNpkX+TTDFYhkX5D3BBx+XA9atNVm/ul4ru+BzJzln0iloqKbrCVwUHYIQCHbp/1gI/nYI5/vgcfzXRYdCL8MWttCIuh8q9SYGg97T+RLYTYQO+e8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706010601; c=relaxed/simple; bh=5bC09vgD7VmrESs1alLhu6EpMuDiGscc90Ewm/A6g1w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VgzFJjN93sc1n+Syr4j+SFP94Z5+KZ4kZvLRPPL1FqCtBJy42wn6rcxx1j/+hJ/ZWQ6LWOlyvwJoYFEUumQjgR2PHwVfweK9W3bKnILDiTtG8kowLbY7MieI4919FJQZZAFhwvyMtzVND8kj0kWQc8WRS0hor5pSsAT7dw+ak4I= 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=NmfyhidD; arc=none smtp.client-ip=209.85.218.42 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-ej1-f42.google.com with SMTP id a640c23a62f3a-a28fb463a28so409844866b.3 for ; Tue, 23 Jan 2024 03:49:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706010597; x=1706615397; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Nl5aSgUhW5224Zb5I6h7KA4cDC9AhC2LWUB6hKUEnbY=; b=NmfyhidDi7pfjvIDWileBSr6xJX2+TiBCgHE4fjgI3IoD3sovX+0yL91dT+83OsZ1h LXt9d79yMLy/50uBuIiQ3kG0cb+0y6T7eOqcgXweXSihBEVNmpMJFVwj81TR7UWZ75jM V4QU+4lLBEq/ZpACpNTjLA4JAMj7qyWuKvrghPWfHqUqA+1teVfwYQ4siazilG93etn4 XeG68TOPfEBDimlAkFQfz084a92idhGbu63SeBa/k9pK3oA7dQuH52agwyGIQtRxzQFW xk4F/ji4d5rJbzvdFkDcInE6AF+DvZKsVyWnU+tlLRkHY9wFm0C2GnK3bCEmcfKe24D8 fQ2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706010597; x=1706615397; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Nl5aSgUhW5224Zb5I6h7KA4cDC9AhC2LWUB6hKUEnbY=; b=HVGtldwZorwUwI6quEx/mRXG/0ajBUmTDyv6fz9FdrDzwKwXuq9i1tBFyBXZMlHlPI zRfA9ANeKrLMHgEdNsF4zjyupyEh+RXWA+jtB3LBKh7JPg9Tkw0l+CtLSyLEz9C+K/h/ CcaKEkYPIHO3yz6KBXbWAzmWJfRRkCHKuStH9BI1wHy2xgFF7LEezAfxkHF3WHw5X6b9 +i9cV9Qq6SM9mq8i+uUU6nt4+GOXlTrd39T3CxdFVoebq2RSfbGZXyx4l55gxjmMgk6S GXRSu1K91dXHbymrfpLV3BNmtDJf0i4mema0V8EHbRPvSBLrrIYKN2q8swHu0KP47IAf YfBA== X-Gm-Message-State: AOJu0YxXkCuARwpqYHEwcqCjXb17c4cg0h4vlmY8mVVKq40Z7pmSW3jL k9FSckvrw3yJznHFn3Hq1x/mkhlfGUdYgS8ja9EjAxdmd4kFPVNRWz/R3+oKYVk= X-Received: by 2002:a17:907:1dc8:b0:a28:bdbb:dca7 with SMTP id og8-20020a1709071dc800b00a28bdbbdca7mr40934ejc.15.1706010597194; Tue, 23 Jan 2024 03:49:57 -0800 (PST) Received: from linaro.org ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id vk6-20020a170907cbc600b00a2ecec00a88sm7357656ejc.99.2024.01.23.03.49.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:49:56 -0800 (PST) Date: Tue, 23 Jan 2024 13:49:55 +0200 From: Abel Vesa To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Neil Armstrong , Vladimir Zapolskiy , Dmitry Baryshkov , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Rajendra Nayak Subject: Re: [PATCH v2 10/10] clk: qcom: Add camcc clock driver for x1e80100 Message-ID: References: <20231214-x1e80100-clock-controllers-v2-0-2b0739bebd27@linaro.org> <20231214-x1e80100-clock-controllers-v2-10-2b0739bebd27@linaro.org> <624956b6-d7ea-43da-bb8d-32d9166a0272@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <624956b6-d7ea-43da-bb8d-32d9166a0272@linaro.org> On 23-12-16 14:39:48, Konrad Dybcio wrote: > On 14.12.2023 17:49, Abel Vesa wrote: > > From: Rajendra Nayak > > > > Add the camcc clock driver for x1e80100 > > > > Signed-off-by: Rajendra Nayak > > Signed-off-by: Abel Vesa > > --- > [...] > > > +enum { > > + DT_BI_TCXO, > > + DT_BI_TCXO_AO, > > + DT_SLEEP_CLK, > > +}; > > + > > +enum { > > + P_BI_TCXO, > Please don't overload this define with DT_BI_TCXO_AO, add a new one > for the active-only clock. Please also do this in other drivers in > this series. Nope, that needs to stay if we want to align the dt bindings between SM8550, SM8650 and this. At least for dispcc. But I would like to have the same dt schema for the rest of the clock controller drivers between platforms that share basically the same ip block. > > [...] > > > + clk_lucid_ole_pll_configure(&cam_cc_pll0, regmap, &cam_cc_pll0_config); > > + clk_lucid_ole_pll_configure(&cam_cc_pll1, regmap, &cam_cc_pll1_config); > > + clk_rivian_evo_pll_configure(&cam_cc_pll2, regmap, &cam_cc_pll2_config); > > + clk_lucid_ole_pll_configure(&cam_cc_pll3, regmap, &cam_cc_pll3_config); > > + clk_lucid_ole_pll_configure(&cam_cc_pll4, regmap, &cam_cc_pll4_config); > > + clk_lucid_ole_pll_configure(&cam_cc_pll6, regmap, &cam_cc_pll6_config); > > + clk_lucid_ole_pll_configure(&cam_cc_pll8, regmap, &cam_cc_pll8_config); > Do we know whether these configure calls are actually necessary? > > + > > + /* > > + * Keep clocks always enabled: > > + * cam_cc_gdsc_clk > > + * cam_cc_sleep_clk > > + */ > > + regmap_update_bits(regmap, 0x13a9c, BIT(0), BIT(0)); > > + regmap_update_bits(regmap, 0x13ab8, BIT(0), BIT(0)); > Please make the comments inline with each line > > Konrad