Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp996225rdh; Fri, 27 Oct 2023 01:23:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGW0DRmMxTGIAXB3zWZFE+AnOIYrPOKIwSEX2pc8cnGhD2OBkXov7uJsR3mGMw6/v00XWM5 X-Received: by 2002:a05:620a:2809:b0:77a:b67:7958 with SMTP id f9-20020a05620a280900b0077a0b677958mr2000051qkp.46.1698394980951; Fri, 27 Oct 2023 01:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698394980; cv=none; d=google.com; s=arc-20160816; b=ZxZyEHkGWV75DSOqOapbTbzQCBWkepSC/fscaHAAlhz1lhJYSdCll1Rx6aqJJOrrxJ gTHVJqzeBkrSfKne/+6I4+1lRTkk8W6C8RhINVyaja0x+KeCluD3FFM+1UMW06bGt/Q3 KitT4XwbLVBj23S4DH2OFiKzGxBKVRFq8sbAk8lfUK4fQYKPEO8OEQOybX1WrOnRqTN+ zKgHQkd5Bv9ys+JrpawHUhs2GyTiv3mFG/8B6cd8fHy0SXIezce0COJfT07obrBdxMAp 32rtkm59wRmCeJWy0asMHrUMkv8S90D2hWqjuTvQIfarOzsLywgE8pok9Np0BN8bYYHu JBkw== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=Mz6CRQZUFiDzfV4Zv9hjCoj0vSIAL5VYYbNVZyDcjVg=; fh=Zj2nLzlsoeb6tyD1sVAfv8CXg004fGzcShYf8xQKcOI=; b=MEV7EP7umUSw6DaA5Ei4QOJqFb8WVtxlWR7ixNmPMqYjOJJ4yEcLbJbZQs69FEq4FL v7jS0IHGT5NPpPGAMvZILXcUNqTaj9Kk106K62FA0OD/jdvlldPL8Dwvbs+mms6r8MMY 5FhkdfkczGBb/c3uqhOAPYsg92ebDXEFzilLdI5QWus5MK3LASsKU714Q7alkDNFnGpO eDFpOTaIeaygsTmGo2n+KVgDMVdljL+ChApvQ2VmSeiHYzcIySE9pAJFLdYFOj1UsfDh 1sP8zVnkH56GBHZ7Xu0k1SRuZ/oWSHDJ6rHf34MTUFfsQhNkRbyqvThwTjLTCzK0q6oK Iaig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mBOTlDDQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id c14-20020a81df0e000000b0059f6860a29csi1787658ywn.365.2023.10.27.01.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:23:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mBOTlDDQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id F092682B6F7D; Fri, 27 Oct 2023 01:22:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235101AbjJ0IWe (ORCPT + 99 others); Fri, 27 Oct 2023 04:22:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235125AbjJ0IWU (ORCPT ); Fri, 27 Oct 2023 04:22:20 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 431F0171E for ; Fri, 27 Oct 2023 01:21:53 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-5079f9675c6so2767498e87.2 for ; Fri, 27 Oct 2023 01:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698394911; x=1698999711; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Mz6CRQZUFiDzfV4Zv9hjCoj0vSIAL5VYYbNVZyDcjVg=; b=mBOTlDDQXPAy1wD7Z2p4fFrpESeZnnSdAj+VUTPGBWw9L6sW9U7b+/DXd6fbo5udCV Vg/i1axObdYb4lw4aY2IXd7aGsmt1GVID4jKC6yzZQYTx1TmBockmIHPk093IbIK5DAv TlyV7u7bg2YtApgf+wJm40cxTr6amWaIhSmaSzybjMtSPCvmGLglqnnpeKB27ufJxnx7 m63q1WYYIKXdIrR6eKbj0gPjeTlyYLv3lQEtpCfAx7X0EEUd43tOewyEo/WvFXY9KOuD kUu5Hghpzukbz7URcsiZFTm8QXsn81KAW8tMYhXxaiQ6BCBu+un/KN7cKp8rV1tGio72 YaHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698394911; x=1698999711; h=content-transfer-encoding:in-reply-to:autocrypt: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=Mz6CRQZUFiDzfV4Zv9hjCoj0vSIAL5VYYbNVZyDcjVg=; b=WrPYVnSBOu695eKnySPwGVu5vJWDd70164f1yK1vED26Z55QDxuLa5w8cnFceHn2SH qVaRO7mJ6eqGb2VMLnRXsGmnpmMHdI0Q98AzEfyda2nFBAX7gVKU7NLNulwdBRLa2QYm apKSk7wY/v5Q+Y7XVNH1vbc2ZkT0YA/BHB65okBg6lGxnJlZdDEhBxANagXdk0smmH7j LYdv7N3WjyeCAATbnGia1pqbo4lmQQ0uroVbSIc21+wafT3GRTtfI6SwImBzOJx0W6E5 DL4LajHWIE8k2JqJ1Qzh7+xHt2gvigdEMvYHOJ00SpL5SHR+LUsBcw5kLOgxhQFVlWlL vhug== X-Gm-Message-State: AOJu0Yzwb+eaawNBgHTk4qgMUpFCuFKXcF2/bnN02kVCyvLnaSe3xT78 6KBETDarmswqr4orIUco51uHNw== X-Received: by 2002:a05:6512:108e:b0:507:9d71:2a77 with SMTP id j14-20020a056512108e00b005079d712a77mr1472068lfg.17.1698394911144; Fri, 27 Oct 2023 01:21:51 -0700 (PDT) Received: from [192.168.0.22] ([78.10.206.168]) by smtp.gmail.com with ESMTPSA id v19-20020a05651203b300b00507a96d17b3sm181433lfp.237.2023.10.27.01.21.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Oct 2023 01:21:50 -0700 (PDT) Message-ID: Date: Fri, 27 Oct 2023 10:21:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] clk: qcom: Add Global Clock controller (GCC) driver for SC8380XP Content-Language: en-US To: Sibi Sankar , andersson@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: agross@kernel.org, conor+dt@kernel.org, quic_tdas@quicinc.com, quic_rjendra@quicinc.com, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, neil.armstrong@linaro.org, abel.vesa@linaro.org, quic_tsoni@quicinc.com References: <20231025133320.4720-1-quic_sibis@quicinc.com> <20231025133320.4720-3-quic_sibis@quicinc.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuDSzG1oZyM4kyvO XeodvvYv49/ng473E8ZFhXfrre+c1olbr1A8pnz9vK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4il4y1+Bv89979rVYn8aBohEgET41SpyQz7fMkcaZU+ok/ +HYjC/qfDxT7tjKXqBQEscVODaFicsUkjheOD4BfWEcVUqa+XdUEciwG/SgNyxBZepj41oVq FPSVE+Ni2tNrW/e16b8mgXNngHSnbsr6pAIXZH3qFW+4TKPMGZ2rZ6zITrMip+12jgw4mGjy 5y06JZvA02rZT2k9aa7i9dUUFggaanI09jNGbRA/ABEBAAHCwXwEGAEKACYCGwwWIQSb0H4O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231025133320.4720-3-quic_sibis@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 27 Oct 2023 01:22:38 -0700 (PDT) On 25/10/2023 15:33, Sibi Sankar wrote: > From: Rajendra Nayak > > Add support for the global clock controller found on SC8380XP > based devices. > > Co-developed-by: Abel Vesa > Signed-off-by: Abel Vesa > Signed-off-by: Rajendra Nayak > Signed-off-by: Sibi Sankar > --- > drivers/clk/qcom/Kconfig | 10 + > drivers/clk/qcom/Makefile | 1 + > drivers/clk/qcom/gcc-sc8380xp.c | 6812 +++++++++++++++++++++++++++++++ > 3 files changed, 6823 insertions(+) > create mode 100644 drivers/clk/qcom/gcc-sc8380xp.c > > diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig > index ad1acd9b7426..013b3a1ad551 100644 > --- a/drivers/clk/qcom/Kconfig > +++ b/drivers/clk/qcom/Kconfig > @@ -515,6 +515,16 @@ config SC_GCC_8280XP > Say Y if you want to use peripheral devices such as UART, SPI, > I2C, USB, UFS, SDCC, etc. > > +config SC_GCC_8380XP > + tristate "SC8380XP Global Clock Controller" > + select QCOM_GDSC > + depends on COMMON_CLK_QCOM Please stgart any new work starting from some driver in linux-next. You would not make the same mistakes we fixed recently. depends on ARM64 || COMPILE_TEST Best regards, Krzysztof