Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp334977lqp; Mon, 10 Jun 2024 05:53:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7ZytOtAhreQFK30TCZy3n5YM1Z+PcPE0NAJvoVvfXap7Qp8tbBW15e3RCuBlutLn44pJlqnhxrTuzsItWL4XS12lH1Rt1avyqyy6cow== X-Google-Smtp-Source: AGHT+IEu6dP2eGZAVEsZtVf4RZeIGekL6lR68tfM4IZG0QYhv1fxthoWUbZ3kexIAMNJX9B0Mkkz X-Received: by 2002:a05:6a00:2ea2:b0:705:995c:3e30 with SMTP id d2e1a72fcca58-705995c4668mr3236417b3a.17.1718023999285; Mon, 10 Jun 2024 05:53:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718023999; cv=pass; d=google.com; s=arc-20160816; b=DXitBMgw7ltAFrVpp0m/J2RjozHPfkakm2rCJtey1HO0UIzwvMrPBhPjEn0hTVbwSs SnuygKXF+tmkTHzaFHfUJYo/jrggvzrvZc/aqyARML6KkuPjPlNUaWKR32reng4L41TA 54jTxBSX/NeC03aAZSwmUgOavo6ZSN6DcUIi5jOS8madAcvm7d4y8rxZFjEHF176ltYy 1AU1GRvOr7nGa5a5MCmGSGA3JjeV/1QLCVGSeXg2g05hlOLcdCmI3oBX5D1bONqB96NH oklyFZD1YrUUQva+f5TFxpGuiQgjKilTKK6fsfrwmJ+W7JHRKe63CZx9bo0/oMdYLgRr WqJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=XGLVSb1Y+eBpheC9Z0/MTJkkla59b032G7MA36nJcSI=; fh=nRbxNutqr4G0rY05E+2lfeSWO3+iK/Fm0h/2nBI/Ci4=; b=oxXAmQXk3dJMfUBBo8mUYtV29rEqWNn4//ZBHfJBxO0PA4VPp+oE6iv3briotMojSA EuI6Y+5WVQJ+0CEoSfU6mgKqm7Y4Rgob5bRMc9Myhx3aG2FktDQiPNwq9dBE6zJzZCrc 82wzW3Aqk+7PzpmFi6LOtjPNtgEYnJe+O3HkvwR+cC9Yj1YdLPQv1IF+ifUGT8Ys9ZvX egnwFcd+40cVvVMeoxG4g98Vi2OW5bF7tg1PUE82pXzULMchqsi2wrUj0YF6EJF7IKNc pRgbPzir1mraq5sJNO5b5JeEy7+tPr5WLRi1BOO9XUuZWSzmpMAeCjk+qRN23Ocw5y4b zx/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gBffsuMx; 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-208183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208183-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 41be03b00d2f7-6de29217206si7522364a12.671.2024.06.10.05.53.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 05:53:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208183-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=gBffsuMx; 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-208183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208183-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 4FC8B2853EE for ; Mon, 10 Jun 2024 12:52:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1786811E6; Mon, 10 Jun 2024 12:52:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gBffsuMx" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 36A3D7FBA8 for ; Mon, 10 Jun 2024 12:52:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718023940; cv=none; b=cLWih4LD4kTP4K2yEMP2Cvq+3GCScBbbiv0AGl7S2unnP37BoAngVTHDIvRyCW6YIABB/YS2xauT3bn7Zvh6bIIpmq2CHdTcIOL35/Fjf1lwtQPxbufND/YPtdf2o49citfTjxmUdXn1qfwyIOhku4ZIR8S1mlRe15B7sHK5IsM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718023940; c=relaxed/simple; bh=wfOgF41QMKeLyD4tqdxrMVChnZ0cOUXyJNls4KmAiUI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=t/lMlv9vQLB7QWpusE3YpcLhG0V9qt4FNu/KOFMScBmGUfTVKpvPzsYnuqSWKLztqQNFmDamu52wUljcLrBIYZmYlzoAoKpUIhoDzgnI+v0aG2gAsYuX1W6Qn6Aa1JDmpUqXUWHRv7L+y4KTCeIJzHivuFmQB9vOle19XFKx0JY= 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=gBffsuMx; arc=none smtp.client-ip=209.85.208.173 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-lj1-f173.google.com with SMTP id 38308e7fff4ca-2eabd22d441so70051671fa.2 for ; Mon, 10 Jun 2024 05:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718023937; x=1718628737; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=XGLVSb1Y+eBpheC9Z0/MTJkkla59b032G7MA36nJcSI=; b=gBffsuMxn948hNZzFbAvg0WqZF7+H9VqHmw2HjsShLzIorjeZ5xBKvqbUIRUvtUton qTAud7pAN3DV1c4RvFAtXKi8uWKUsTunEbhfDj8O6vDZvWEtTEAFyZ+GXdFacuMNNUSW ve+oMOtIf4X1SDJ2YMtWXZa5zwEssTLCeHskQGuogcULwlWialnmEUCzOHRK8bp2/Kzj 9SR5Qub5MkfFdUkvKygfR98Gfa7ijLH/Bh7JYFCfG4auOOg+96tWKF7rdnoL1S56xaoJ f3NwLJDCXvh3kMlUfYbTe7ZXDHXbm6RwNZ6E3JEz7xWeQS9NVJdd+AFGNnnGGfueenqI /RTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718023937; x=1718628737; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from: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=XGLVSb1Y+eBpheC9Z0/MTJkkla59b032G7MA36nJcSI=; b=mOkhNEj/L7q9OrpZHV2Nu1xKC6EvuwXn8/Pq6ABH4hDo39M+xCz1HxAHIi5CDAawnq uNVLMzMvW8yaDxb1/DhxTPwvG53tSxl6shMtb3tDREtCh+HUVa0vmU6gk0bEbxcmj8Ha bv71D71l+ohJ+oDuYeX6OnViGVB2r50huhiMoOUq8kj0DQdV/XevJT3DN5smYuZJF3aE /FFCDL9iOa5NXWXFaGLhrEmU17qliWbXUet/6L9kdBlrNfKCdBfmwUi8nAelAGFqt84z hyOpGXkjnJ5DPXc8lj6Hia8gwbHLbJ8YFsEOEMGUnZZgQ0+FonsYL3Y0FqdxCDJLlGfX nFgA== X-Forwarded-Encrypted: i=1; AJvYcCV5D2njcZm9+0RCH52YHSJlEhLd9WtyJzWOY88MXWPBF04FBYSjK/uAQqzUVZD5CEvDurYKq+7OzxwyHKMMr9MnoMiHQXhTWX/j5Br+ X-Gm-Message-State: AOJu0YzKYn2+l61IicMX+CBGf0eq0dcDjv7gpxvlNhLa256nDWY/jO91 FYpRUnDK8CugWZAelDqRMjM45+dqACSNAO6NoSftH2YtnnDJmGZTmCo0KkFlma0= X-Received: by 2002:a2e:8759:0:b0:2eb:de35:5c60 with SMTP id 38308e7fff4ca-2ebde355ea0mr33849961fa.8.1718023937293; Mon, 10 Jun 2024 05:52:17 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35f29629231sm743934f8f.67.2024.06.10.05.52.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 05:52:16 -0700 (PDT) Message-ID: <6a9fa18f-c91b-4805-858f-510dbe9a69c5@linaro.org> Date: Mon, 10 Jun 2024 14:52:14 +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 2/7] interconnect: qcom: Add MSM8976 interconnect provider driver To: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240609182112.13032-1-a39.skl@gmail.com> <20240609182112.13032-3-a39.skl@gmail.com> From: Krzysztof Kozlowski Content-Language: en-US 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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H6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240609182112.13032-3-a39.skl@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/06/2024 20:20, Adam Skladowski wrote: > Add driver for interconnect busses found in MSM8976 based platforms. > The topology consists of four NoCs that are partially controlled > by a RPM processor. > > Signed-off-by: Adam Skladowski > + > +static const struct qcom_icc_desc msm8976_snoc_mm = { > + .type = QCOM_ICC_NOC, > + .nodes = msm8976_snoc_mm_nodes, > + .num_nodes = ARRAY_SIZE(msm8976_snoc_mm_nodes), > + .bus_clk_desc = &bus_2_clk, > + .regmap_cfg = &msm8976_snoc_regmap_config, > + .qos_offset = 0x7000, > + .ab_coeff = 154, > +}; > + > +static const struct of_device_id msm8976_noc_of_match[] = { > + { .compatible = "qcom,msm8976-bimc", .data = &msm8976_bimc }, > + { .compatible = "qcom,msm8976-pcnoc", .data = &msm8976_pcnoc }, > + { .compatible = "qcom,msm8976-snoc", .data = &msm8976_snoc }, > + { .compatible = "qcom,msm8976-snoc-mm", .data = &msm8976_snoc_mm }, Please run scripts/checkpatch.pl and fix reported warnings. Then please run `scripts/checkpatch.pl --strict` and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. undocumented compatible Best regards, Krzysztof