Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1583746rdd; Thu, 11 Jan 2024 03:46:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+OlcBwFnKmD+pfMFO3JrIsJ7N1lTDtTFem7hsWmRj54PmdazQPpq9r0/hWqvIEwrfBVxX X-Received: by 2002:a17:90a:d915:b0:28c:acc4:ff98 with SMTP id c21-20020a17090ad91500b0028cacc4ff98mr780874pjv.40.1704973591217; Thu, 11 Jan 2024 03:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704973591; cv=none; d=google.com; s=arc-20160816; b=GzvQtRopW1a6+tkKN3PNM+7/a7zWeEGx8sOq1kzrUvU2PCr6AUBhheLTIm8Kdm4j02 iNrB4payJuJLFduMGzL5FaKJelPZSf1LbpKPqDEfuOuresh4Z6adnyYAOQ/4KR49iJM0 4gsxbh3a71cPvhEXfW5yr8G1/hSOEQLy9lStCd3M0pWSPQzjsseSwl1AzZIx279paZMS 7VeF4ovcf6FS7eM5Hllp2tOle2AtCBHelJbL4HTGM1d+KZUug9uG5Oxl6tZ05vNuEsSh Up+o2E3mkFkSKS59WFWD/weBgSCbTHHC2A4o9LyOInIf+vX7lFEHrm8ZNnwvBSgBDKvx VInw== 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=52xl0uhMvabERoEsPzcpHwQagOMexONVciD2fffBEEE=; fh=TVDfgdNh2g2wHdHO2/Qiev2jv58VNt95h/DLwLmRE3A=; b=OXSOUToDCuc9tvdYiiBksxz2CvKS2Wx9ctSE7CwcrlCSkKl82dMLEEWyUghp2fvZiz XYFfFg89h+ArGyrSSESTXPCqNhIKrNLzYyVLr2ulcl8a6dAq/yLLC1HjWOndGrvraXww IVHiAq1Bbu4kCDW2YBTO9kxr2vbYCIowuhCfQneRRkhWtmo7AlCVPYO2Sjfnp19cyeRQ ycTcYPz58/Cgg6X1qF7B0BKEuEqUKpfV2Dr38TX6hsnR9Fld8OPTCYo0PQlQLEz6wNZn pZk0c7GXwibyOfz/j1zUVzXnj9y6Ag0lGqniY6i8U66BwTtI0gOUTAJvXXnB84gj9QjW rZOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T2FRndFl; spf=pass (google.com: domain of linux-kernel+bounces-23508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23508-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. [139.178.88.99]) by mx.google.com with ESMTPS id lx9-20020a17090b4b0900b0028da834accesi996320pjb.82.2024.01.11.03.46.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:46:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T2FRndFl; spf=pass (google.com: domain of linux-kernel+bounces-23508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23508-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 3C19B285319 for ; Thu, 11 Jan 2024 11:46:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E5C8156E2; Thu, 11 Jan 2024 11:46:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="T2FRndFl" Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 103F1156DC for ; Thu, 11 Jan 2024 11:46:06 +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-wr1-f48.google.com with SMTP id ffacd0b85a97d-3374e332124so4040160f8f.2 for ; Thu, 11 Jan 2024 03:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704973565; x=1705578365; 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=52xl0uhMvabERoEsPzcpHwQagOMexONVciD2fffBEEE=; b=T2FRndFlld+Y2NRdK/Z/XbfNFZh0Y8idhJnsES0whV0/EyeWHPl2Tz9qZgeDVYD1zb jeAaDu9apdasvx3Q851wv6Y9ZyetqR7IWgeAPonffqw8OUqUpVmkoC4KrrYRGNEqDWhA qRQIR4BesNFGMAsgpb83qKzeuDbIPd29V0Ewh59Jr549BTFD/YbbUvU64V5cj58xVGK/ bFOn04mOdT8Iq2GsbKRJ8QyCBKkU0QYdWwuK0WT3f0m9HutiShQdeSntfgWl3JyPs9KN hjHwg0BClabX08H4QvbFRq+sczLUfeIWt+miFw6jBv0o9WGLXol7as64R4Mpd55VW78g u6xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704973565; x=1705578365; 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=52xl0uhMvabERoEsPzcpHwQagOMexONVciD2fffBEEE=; b=GkF9+CDH7lMUMdNgzI/3oZ+/EMKntAH6ABYydUnQXuLagiyQQyI6EZz6N9JwBay7er v4uFXzi85MAruP2aGTZ931mxbWXzrkb2LrENZUI074uF+3Sf3GzRTZGJXrr1G5+bhtlf xCcAtRDb45gXhinHQ4D/W8/In8CVpa8G2jq32NrGgLQsEQuH+zOUmSu0M4vgGPnCmMIi GvmHBOGzksT+uktZja6p7gTPM1Di8FG0apwzcizXrLzTF6/mvty3njBEQ3ZxEhR7CXFX Keq6VgF34YV3BZmJdAC26eZrCeapOtUYDKXT6PIU02HgA1zuBMPS/6lXMWoYTWkYhi0m nofQ== X-Gm-Message-State: AOJu0YxPK6ZRCpb5Bw9lvkHAd1hxwW+mtP9T/fFCnVIakQxTzIOiBCAo kH84EIH2pEp5xJ5JeyJvVwDx1UCjjUt2uA== X-Received: by 2002:adf:e2ca:0:b0:337:53d4:6b77 with SMTP id d10-20020adfe2ca000000b0033753d46b77mr508671wrj.56.1704973565326; Thu, 11 Jan 2024 03:46:05 -0800 (PST) Received: from [192.168.100.48] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id h18-20020adf9cd2000000b00336a1f6ce7csm1019372wre.19.2024.01.11.03.46.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jan 2024 03:46:04 -0800 (PST) Message-ID: Date: Thu, 11 Jan 2024 11:46:14 +0000 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: Konrad Dybcio , 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: Bryan O'Donoghue In-Reply-To: <4f8aafa2-2145-4090-afba-8a26242d5ac3@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 ? https://lore.kernel.org/linux-arm-msm/d8b2867f-7fc6-4147-ae48-11bbf580b5bf@linaro.org/ quote " > + > + pinctrl-0 = <&cci0_default>; > + pinctrl-1 = <&cci0_sleep>; > + pinctrl-names = "default", "sleep"; please refer to Documentation/devicetree/bindings/dts-coding-style.rst " Never mind I suppose. --- bod