Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2300951rwi; Thu, 3 Nov 2022 15:29:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Jf0K9jB0zsRi5xaG3guTOB1LdIVjH2WH3y3FoDUHDmy5Lzm8SscdjHBgCrIf9KR5n/2l8 X-Received: by 2002:a17:90a:5289:b0:213:cb7d:5fe8 with SMTP id w9-20020a17090a528900b00213cb7d5fe8mr28120212pjh.8.1667514545730; Thu, 03 Nov 2022 15:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667514545; cv=none; d=google.com; s=arc-20160816; b=UbbBmUg0s4G0mWvlRrCnP0LSew67vl9cQH7btFozBg7Tt0Ka86u+jpeSXGez/XN+bh 0J7QozdD8bM7Z+0PkPoEABs2NtIZNylr032rF1ivlvH6X9DX1vmj8YJxL3hmfMl1q3Ir QYNON8at9AWBqwANOEI6nucE7VFXoP53g+p9qu5IYGQT/Ec8KApoN8s/xhIbX91IP/0a aFrDSPF3hAYbsFm2S4yH3S8qjcm1wMka2hCvV8JagoWmfAzU00nuRiSqbcZgce/Z6Kru h7rFR1hkUVEBVcffJsV6OwLPksHDiZO3SuOr6F79/ELd9urCkiE8ehJasBnI8NZxEO13 6Bhg== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LJStpOLPorb9+WiXJQFjvbmfvOeXXcWprWngVrs4vU0=; b=Ih8ZfVosgpRb69qn8Z5jNIItT3QeLlF0HrRXWSxCmnz2eVUxajlWeaulHRtAAA0bCm c1TRbwSZuY4B/qlGBNq3leyuqtWxINKA8lRV1rmAE+qDVUGv+Vc+5XFS1/gl0CgAGfCz BQ+5ZgIBzcJe5c2LVQKXa4xOBYMIF2IWmPX5BxO5d5zJ7s/K4Ko2adLnfu39a+AAhrZP yN6MH7R4t3I/aI0GAUqWxBr5BX5PnFWkxkdCarqeD80Z5LyQmtCHJUKE6geNFBd3c07w TMW1LJ89CMmUKIDn2BZPT9wcRkSjlXoicRxSJ6GOQnop/Y4Gi1zlleUGKPKoMwk7z8tO EjCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kObuA8V2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v135-20020a63618d000000b0043aebb63fc6si2579735pgb.81.2022.11.03.15.28.53; Thu, 03 Nov 2022 15:29:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kObuA8V2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230005AbiKCVNn (ORCPT + 98 others); Thu, 3 Nov 2022 17:13:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiKCVNj (ORCPT ); Thu, 3 Nov 2022 17:13:39 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BE98637D; Thu, 3 Nov 2022 14:13:38 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A3K6D12000388; Thu, 3 Nov 2022 21:13:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=LJStpOLPorb9+WiXJQFjvbmfvOeXXcWprWngVrs4vU0=; b=kObuA8V2Zd9/U66y2vvkQTqJ6AuKapQDkB+N4/Z/zx0InM92lcz0l8psWJG28v3sPiYM yoJkGwRIIcAktJ9a69YEVwVfTx1JwIdy7wQ3bFbp+3KGPgWrnvp6i7/P+HeKBaIpPM0F +cpIa4WR2Yl2yW7hbnAcXExLepV/chhkc3IBV0KWU7hCSlJ/UG0OJ4C/epra6aX+X6ej z+lLXTT2txygy3PTzGeVdLXbFtxwfI8sOVtXWFv3x6egy0rf+SqrZ14+4eJLvML270LQ fL1I2zB25NqTbieOtfWqE1mW7AuiC4Gb5S5lPufdoZLmTSELVvyAE8+9J/KYyeFGIdDs eQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kmky8886u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 03 Nov 2022 21:13:35 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2A3LDYMa017578 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 3 Nov 2022 21:13:34 GMT Received: from [10.110.57.253] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Thu, 3 Nov 2022 14:13:34 -0700 Message-ID: <4832b716-6caf-cf72-1c7e-f21a0670cbaa@quicinc.com> Date: Thu, 3 Nov 2022 14:13:33 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v3 3/4] arm64: dts: qcom: Add base QDU1000/QRU1000 DTSIs To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski CC: , , References: <20221026200429.162212-1-quic_molvera@quicinc.com> <20221026200429.162212-4-quic_molvera@quicinc.com> <9eaaf256-8de2-ddc9-ac95-aed9b0670f5e@linaro.org> Content-Language: en-US From: Melody Olvera In-Reply-To: <9eaaf256-8de2-ddc9-ac95-aed9b0670f5e@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Cylg2EKcDO_mcSeQ8kV8LBHHytc3ftle X-Proofpoint-ORIG-GUID: Cylg2EKcDO_mcSeQ8kV8LBHHytc3ftle X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-03_04,2022-11-03_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 mlxscore=0 bulkscore=0 impostorscore=0 adultscore=0 mlxlogscore=999 priorityscore=1501 malwarescore=0 lowpriorityscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211030145 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 11/2/2022 9:24 AM, Krzysztof Kozlowski wrote: > On 31/10/2022 17:49, Melody Olvera wrote: >> >> On 10/27/2022 8:21 AM, Krzysztof Kozlowski wrote: >>> On 26/10/2022 16:04, Melody Olvera wrote: >>>> Add the base DTSI files for QDU1000 and QRU1000 SoCs, including base >>>> descriptions of CPUs, GCC, RPMHCC, QUP, TLMM, and interrupt-controller >>>> to boot to shell with console on these SoCs. >>>> >>>> Signed-off-by: Melody Olvera >>>> --- >>>> arch/arm64/boot/dts/qcom/qdu1000.dtsi | 1406 +++++++++++++++++++++++++ >>> Please use scripts/get_maintainers.pl to get a list of necessary people >>> and lists to CC. It might happen, that command when run on an older >>> kernel, gives you outdated entries. Therefore please be sure you base >>> your patches on recent Linux kernel. >> Sure thing; we talked about this on a different patch. >>>> arch/arm64/boot/dts/qcom/qru1000.dtsi | 27 + >>>> 2 files changed, 1433 insertions(+) >>>> create mode 100644 arch/arm64/boot/dts/qcom/qdu1000.dtsi >>>> create mode 100644 arch/arm64/boot/dts/qcom/qru1000.dtsi >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi >>>> new file mode 100644 >>>> index 000000000000..76474106e931 >>>> --- /dev/null >>>> +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi >>>> @@ -0,0 +1,1406 @@ >>>> +// SPDX-License-Identifier: BSD-3-Clause >>>> +/* >>>> + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. >>>> + */ >>> (...) >>> >>>> + >>>> + soc: soc@0 { >>>> + #address-cells = <2>; >>>> + #size-cells = <2>; >>>> + ranges = <0 0 0 0 0x10 0>; >>>> + dma-ranges = <0 0 0 0 0x10 0>; >>>> + compatible = "simple-bus"; >>>> + >>>> + gcc: clock-controller@80000 { >>>> + compatible = "qcom,gcc-qdu1000", "syscon"; >>>> + reg = <0x0 0x80000 0x0 0x1f4200>; >>>> + #clock-cells = <1>; >>>> + #reset-cells = <1>; >>>> + #power-domain-cells = <1>; >>>> + clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>; >>>> + clock-names = "bi_tcxo", "sleep_clk"; >>>> + }; >>>> + >>>> + gpi_dma0: dma-controller@900000 { >>>> + compatible = "qcom,sm6350-gpi-dma"; >>> You should add here a specific compatible as well. Same in other places. >>> All places. I had impression we talked about this few times, so I don't >>> know what is missing on your side. >>> >>> This must be: >>> "qcom,qdu1000-gpi-dma", "qcom,sm6350-gpi-dma" >> Got it. I talked to Stephan and he said either your suggestion or just using >> preexisting compatibles would be ok. I thought it might be cleaner to not >> have the qdu compats, but I'm fine either way. >>>> + #dma-cells = <3>; >>>> + reg = <0x0 0x900000 0x0 0x60000>; >>>> + interrupts = , >>>> + , >>>> + , >>>> + , >>>> + , >>>> + , >>>> + , >>>> + , >>>> + , >>>> + , >>>> + , >>>> + ; >>>> + dma-channels = <12>; >>>> + dma-channel-mask = <0x3f>; >>>> + iommus = <&apps_smmu 0xf6 0x0>; >>>> + }; >>>> + >>> (...) >>> >>> >>>> + >>>> + tlmm: pinctrl@f000000 { >>>> + compatible = "qcom,qdu1000-tlmm"; >>>> + reg = <0x0 0xf000000 0x0 0x1000000>; >>>> + interrupts = ; >>>> + gpio-controller; >>>> + #gpio-cells = <2>; >>>> + interrupt-controller; >>>> + #interrupt-cells = <2>; >>>> + gpio-ranges = <&tlmm 0 0 151>; >>>> + wakeup-parent = <&pdc>; >>>> + >>>> + qup_uart0_default: qup-uart0-default-state { >>>> + pins = "gpio6", "gpio7", "gpio8", "gpio9"; >>>> + function = "qup00"; >>>> + }; >>>> + >>>> + qup_i2c1_data_clk: qup-i2c1-data-clk-state { >>>> + pins = "gpio10", "gpio11"; >>>> + function = "qup01"; >>>> + drive-strength = <2>; >>> Can we have some generic agreement where to put drive-strengths and bias? >>> >>> See also: >>> https://lore.kernel.org/linux-devicetree/20221026200357.391635-2-krzysztof.kozlowski@linaro.org/ >>> >>> https://lore.kernel.org/lkml/CAD=FV=VUL4GmjaibAMhKNdpEso_Hg_R=XeMaqah1LSj_9-Ce4Q@mail.gmail.com/ >> Not sure how much two-sense I have for the conversation at large, but generally I agree with Doug's >> point in the first paragraph. Pulls for this soc are consistent across boards so I don't think it makes >> sense to move them to the board files here. I vote that these stay here. > I would be great if Konrad and Bjorn shared their opinion on this... but > wait, you did not Cc all maintainers... Eh. I'm not sure why this is being brought up again; we've already discussed this here https://lore.kernel.org/all/9707bf67-1b22-8a77-7193-fc909b4f49de@quicinc.com/ Would you like to discuss this issue here, on the next version, or not at all? On a side note, I'm uncomfortable with how our continued interactions are going and do not believe this to be conductive to continued collaboration. I would ask that we keep our correspondence polite and professional moving forward. Thanks, Melody