Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1602947rdd; Thu, 11 Jan 2024 04:20:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5B7uXSx+TuMFKiJXyNfcJpKm+Enak1/8TWYE1ZW+Sv7ymrooNLj2T7u3obsng2M3BBiEu X-Received: by 2002:a05:6512:3f04:b0:50e:4ea7:f2c3 with SMTP id y4-20020a0565123f0400b0050e4ea7f2c3mr449232lfa.121.1704975635607; Thu, 11 Jan 2024 04:20:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704975635; cv=none; d=google.com; s=arc-20160816; b=MK/BQb2jmOIrrlbmEyTIZOhdt3MoLj6i8oWnnBrolE0faRQtRtyTbyOCLkqRZUD8EN q82NjbWylUtpPxc8GOmaGavgvEsXnr8tbQCJEQU5yH1Xvnhkg74jnHIr3rgK9PEcAeGJ dZ/UhfoVCEIYqygb5IQszRvtsvHVewf/K9VqVQqCK4+paqzOKukyeGP3fn1gOrhu4QKc hg2nXYP9XlmMbA7ZTNhQUDLqEl05+W5V3x4ud1C+eO8/GKZAT+DbtGfndgoASwiAr9zz CQWl4HBH7t+Fnz5Jcvj/di7alBuwrIW0Ed7fSSbc2dYqu3jmn5wEwpe89WgrOAWBNINy jjZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=F040GXsz7aRwgMvtBRucVujHPaJzjQl/6qLu2uyGLh8=; fh=oz+QlDiYlOw0iaGIWrQkupxf999pwnf2X3mIOMdEFV4=; b=W3b3Fmt97523R/SUvrs751GBhUxrHFS0TmrGbKAG1rriXBA5DYI+VXuyp/OblJR8ni SSqtQozPJGwDi3R9Xb/tm2n/qzyk8bLcHDptKPau5pV4j0dgYeD6pgl2woeANJlQOnjh Nv7zMWifkuFUZVHEWF9O6dCVl4Hu4MCaOycJai4Ws8nzHlMVHrdvB6esOM4PmtHNwSUu gA9SknRhc/SYl9WZeyNTjqR9BTKPKMKFnMCtTIXTeNF33AjEf75AQYKIMiCtDkuJYKlH UHTYTcQnfKc8NONQJrmMybzMtpOty+Nn54xpVj+LcrSnMGNXmKvA+UIWNjMbykmL9uZx QnoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iZwpg6ff; spf=pass (google.com: domain of linux-kernel+bounces-23578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23578-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 b13-20020a05640202cd00b005536c06f653si475246edx.533.2024.01.11.04.20.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 04:20:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23578-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=iZwpg6ff; spf=pass (google.com: domain of linux-kernel+bounces-23578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23578-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 2E3311F2934C for ; Thu, 11 Jan 2024 12:20:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA5CA15ACF; Thu, 11 Jan 2024 12:20:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="iZwpg6ff" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 6E6D815AC4 for ; Thu, 11 Jan 2024 12:20:20 +0000 (UTC) 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-f177.google.com with SMTP id 38308e7fff4ca-2cd8bd6ce1bso4179531fa.1 for ; Thu, 11 Jan 2024 04:20:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704975618; x=1705580418; 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=F040GXsz7aRwgMvtBRucVujHPaJzjQl/6qLu2uyGLh8=; b=iZwpg6ffXiRObStYf9SKqBFE/RQd/cbaqWR97Ent+dmafKGZpbNfQU635M5VxXHpuT Eu0w7nM/Uh6IXBGr5bBrmb7V8Irc2iXnQjtKSIkw0+wf2heBzQanSeY1h3enPWxCTEO5 s/mxKYrcmINiMIwm5BkWBJ68VJOg8MK3vMb0UvZSvHQ/UCyqB6VEaJW02Q0ymHOnOwWl +UikUKDUzbiOyeiM4ZUl/qhmuhKpNIys2UjpVPuTxONUu1b6rgTYbUY05A4IKLCMaIdd ihNyGCS7MvrLf0+zKvufX6dlXV1DgfaGk47WhEtaPGO1PMCXqsR82ZHZUjLV4D7wKN4y iekA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704975618; x=1705580418; 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=F040GXsz7aRwgMvtBRucVujHPaJzjQl/6qLu2uyGLh8=; b=IWtlYX+Ho+XXy1S49zHXkBmVOOzTa7UfZTh8tsXPPx2qhXdf/oc98EuSNZJBuYPsB0 Jrn9tVVnQz0fCNUfTt6ap6mf9KNo389AT+02+KgedOt6BvcKice1VZCYo2C4DnpRZS54 ztFlRYt1V401bEYZuW6rqrMEqLcpRAjLxGdbb23HS8vR75X86T5ywh89B6Yxy8Xxizc2 fymZhXwQi52M8QwRNMrA48CW6jsol7JjvBkmVH1ihGcGNDSQpoVyQ4coU8V9+sXkWjCc 0mVKpSsGgtFQDEfQ4rBmJPRT5v5j9AT8yRcXp+5Ibr4IfLdO+zqGqz6eBNVdUvhwyw8e X0og== X-Gm-Message-State: AOJu0YwPl5xQ6eNjWlTL+wWXP8XdK0zorZ+Sahe5/YqsrEpxe397vVe4 HIolR4LRAgPT4R3j+fJPyfn0JX/e+Fk7QA== X-Received: by 2002:a2e:8896:0:b0:2cb:2c91:e174 with SMTP id k22-20020a2e8896000000b002cb2c91e174mr259502lji.27.1704975618626; Thu, 11 Jan 2024 04:20:18 -0800 (PST) Received: from [172.30.205.123] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id n25-20020a2e7219000000b002cc83210f65sm126181ljc.89.2024.01.11.04.20.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jan 2024 04:20:18 -0800 (PST) Message-ID: Date: Thu, 11 Jan 2024 13:20:17 +0100 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 v3 3/4] arm64: dts: qcom: sc8280xp: camss: Add CCI definitions Content-Language: en-US To: Bryan O'Donoghue , Robert Foss , Todor Tomov , Bjorn Andersson , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240109-linux-next-24-01-02-sc8280xp-camss-core-dtsi-v3-0-b8e3a74a6e6a@linaro.org> <20240109-linux-next-24-01-02-sc8280xp-camss-core-dtsi-v3-3-b8e3a74a6e6a@linaro.org> <4f8aafa2-2145-4090-afba-8a26242d5ac3@linaro.org> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/11/24 12:46, Bryan O'Donoghue wrote: > On 10/01/2024 11:03, Konrad Dybcio wrote: >> >> >> On 1/9/24 17:06, Bryan O'Donoghue wrote: >>> sc8280xp has four Camera Control Interface (CCI) blocks which pinout to >>> two I2C master controllers for each CCI. >>> >>> The CCI I2C pins are not muxed so we define them in the dtsi. >>> >>> Signed-off-by: Bryan O'Donoghue >>> --- >>>   arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 307 +++++++++++++++++++++++++++++++++ >>>   1 file changed, 307 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi >>> index febf28356ff8..f48dfa5e5f36 100644 >>> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi >>> @@ -3451,6 +3451,169 @@ usb_1_role_switch: endpoint { >>>               }; >>>           }; >>> +        cci0: cci@ac4a000 { >>> +            compatible = "qcom,sc8280xp-cci", "qcom,msm8996-cci"; >>> +            reg = <0 0x0ac4a000 0 0x1000>; >>> + >>> +            interrupts = ; >>> + >>> +            clocks = <&camcc CAMCC_CAMNOC_AXI_CLK>, >>> +                 <&camcc CAMCC_SLOW_AHB_CLK_SRC>, >>> +                 <&camcc CAMCC_CPAS_AHB_CLK>, >>> +                 <&camcc CAMCC_CCI_0_CLK>; >>> +            clock-names = "camnoc_axi", >>> +                      "slow_ahb_src", >>> +                      "cpas_ahb", >>> +                      "cci"; >>> + >>> +            power-domains = <&camcc TITAN_TOP_GDSC>; >>> + >>> +            pinctrl-names = "default", "sleep"; >>> +            pinctrl-0 = <&cci0_default>; >>> +            pinctrl-1 = <&cci0_sleep>; >>> + >> property-names goes below property-n, just like with clocks 10 lines >> above :/ > > Didn't you ask for this to be re-ordered ? Sorry, I probably had the property ordering in mind.. that definitely came out as confusing. Konrad