Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp299323rwe; Fri, 14 Apr 2023 03:04:24 -0700 (PDT) X-Google-Smtp-Source: AKy350ZZVK8EczzGanf/xlxzqPSB/XAb9EAGpNXilVp8ai+mGEZ9huzjrr1/eNcLEtCABQspzf3G X-Received: by 2002:a05:6a21:328a:b0:ec:5ba5:8a73 with SMTP id yt10-20020a056a21328a00b000ec5ba58a73mr6616021pzb.26.1681466664419; Fri, 14 Apr 2023 03:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681466664; cv=none; d=google.com; s=arc-20160816; b=ctOlN90OKw6QU5LGqaWn4xNJWmPUuL3YAhZP4BhdLI+bHKdlKH3RyfZO8RSe/8d5Sy niQRU+wIAjbiBGszf04X1H53JRoHAKu7wOUytg9X+X+4uJxnCZ4y2Kr573rEf6Xn1XsW /bNDfas+YaLtQYHRQglmjWdzJdHto5AUCEUzSrRta/8mgrCLknj0ScClIcVeqkIS6HBV 9UoLYXksfr0jja23RZ/s/4iP/YcnEvjaLzmz7wGOiZEJ7MmIim7obec0XMDENY75Vb8k iYHNlFkVivSmbWv9NsH2Kro9d/PeABcZoYqM85AMiAi7da7cbEnYf/6RXBKnWa2laOX3 D6/g== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Q/n+MZ4xOGHaYAcNvhWlx8MWXpSgSS7OVEh/YXvb4Vo=; b=q60Dctwd2ru3hyOf++VZ7OPTgTSnAiIL/uTcghGPfYW4w+bUboNHczrXpCnbcACJii cgX3CeOJlghhYEnW4LgsqLrvrpEUv1OQ+wx4SQlOrla5unIYbhytXBOFxmEF5mmX8PHY suSsMJKST3bJpiZ4dwlKf9id/NZOi4V2c7a0wSX3a/Nk79k4VKrMQenvkDv7PPJXo7lN 4Fmfi21t0GoaGrzEuml7Gh+qh83iCFCs6JDNgk7LTxuuAx1QiM8+bWvdoavHF0QOwrHA 9u3pirvPVrNqrrYzFNTvw6zGqoCQuSP7S4n5PTr7Qq1GQcFDUTy+j17DmRAlCW63xbd5 npjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EYIPslui; 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 j184-20020a6380c1000000b00518b499da5asi4698180pgd.365.2023.04.14.03.04.10; Fri, 14 Apr 2023 03:04:24 -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=EYIPslui; 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 S230135AbjDNKDC (ORCPT + 99 others); Fri, 14 Apr 2023 06:03:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229941AbjDNKCt (ORCPT ); Fri, 14 Apr 2023 06:02:49 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 689467D91; Fri, 14 Apr 2023 03:02:48 -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 33E9l4iH022901; Fri, 14 Apr 2023 10:02:13 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=Q/n+MZ4xOGHaYAcNvhWlx8MWXpSgSS7OVEh/YXvb4Vo=; b=EYIPsluiq0WDO+a+R84fasyYeitE3ue0aIlMnDzoxQw+nQSizBazSF+pUAX0h+z0O2qa jpLXk0wgoZHGdTIsQlAQFt/EgFnvbR8/aZrEWIL6jQjF+SdgFHO2zGIz0X+4jSbj6aL4 Xx6TrTSGXi7gmw44nITmCyWODLIM0AEL7AOJ0xghPGL9+r/c6nVrB9y2naztAVKzH0VQ v1h/7EjCJieYQbiwEVoHEXGbunNZ2vNLJdNAzbVflV4nwP/7n6zFGpW1nd+nVTXDCrna LRPtPUnK89mYgbkF2ezq1379IhwiBT1hjMgpU3dFrThVjLeZwBRXr4WhittMGwSgIeem rA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3py4ghr0y7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Apr 2023 10:02:13 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33EA2Cr1013401 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Apr 2023 10:02:12 GMT Received: from [10.216.10.230] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 14 Apr 2023 03:02:02 -0700 Message-ID: Date: Fri, 14 Apr 2023 15:31:59 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH V12 3/4] arm64: dts: qcom: Add support for ipq9574 SoC and RDP433 variant Content-Language: en-US To: Konrad Dybcio , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , References: <20230410135948.11970-1-quic_devipriy@quicinc.com> <20230410135948.11970-4-quic_devipriy@quicinc.com> From: Devi Priya In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: rFPC14_6yVVzlHo2ldTvJLOibAZ3tZTz X-Proofpoint-ORIG-GUID: rFPC14_6yVVzlHo2ldTvJLOibAZ3tZTz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-14_04,2023-04-13_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 phishscore=0 suspectscore=0 adultscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304140090 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 4/13/2023 2:16 AM, Konrad Dybcio wrote: > > > On 10.04.2023 15:59, Devi Priya wrote: >> Add initial device tree support for Qualcomm IPQ9574 SoC and >> Reference Design Platform(RDP) 433 which is based on IPQ9574 >> family of SoCs >> >> Co-developed-by: Anusha Rao >> Signed-off-by: Anusha Rao >> Co-developed-by: Poovendhan Selvaraj >> Signed-off-by: Poovendhan Selvaraj >> Signed-off-by: Devi Priya >> --- > >> + soc: soc@0 { >> + compatible = "simple-bus"; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + ranges = <0 0 0 0xffffffff>; > this is equal to: > > ranges; Konrad, on updating (ranges = <0 0 0 0xffffffff>; --> ranges;) we see the below warnings: arch/arm64/boot/dts/qcom/ipq9574.dtsi:103.3-10: Warning (ranges_format): /soc@0:ranges: empty "ranges" property but its #address-cells (1) differs from / (2) arch/arm64/boot/dts/qcom/ipq9574.dtsi:103.3-10: Warning (ranges_format): /soc@0:ranges: empty "ranges" property but its #size-cells (1) differs from / (2) Looks like, empty ranges property isn't supported if the parent and child address spaces are non-identical. Would you suggest to retain the ranges as such? (ranges = <0 0 0 0xffffffff>;) Thanks, Devi Priya > > Could you fix that up when applying, Bjorn, should there be > no other issues? > > Reviewed-by: Konrad Dybcio > Thank you! > Konrad > >> + >> + tlmm: pinctrl@1000000 { >> + compatible = "qcom,ipq9574-tlmm"; >> + reg = <0x01000000 0x300000>; >> + interrupts = ; >> + gpio-controller; >> + #gpio-cells = <2>; >> + gpio-ranges = <&tlmm 0 0 65>; >> + interrupt-controller; >> + #interrupt-cells = <2>; >> + >> + uart2_pins: uart2-state { >> + pins = "gpio34", "gpio35"; >> + function = "blsp2_uart"; >> + drive-strength = <8>; >> + bias-disable; >> + }; >> + }; >> + >> + gcc: clock-controller@1800000 { >> + compatible = "qcom,ipq9574-gcc"; >> + reg = <0x01800000 0x80000>; >> + clocks = <&xo_board_clk>, >> + <&sleep_clk>, >> + <0>, >> + <0>, >> + <0>, >> + <0>, >> + <0>; >> + #clock-cells = <1>; >> + #reset-cells = <1>; >> + #power-domain-cells = <1>; >> + }; >> + >> + sdhc_1: mmc@7804000 { >> + compatible = "qcom,ipq9574-sdhci", "qcom,sdhci-msm-v5"; >> + reg = <0x07804000 0x1000>, <0x07805000 0x1000>; >> + reg-names = "hc", "cqhci"; >> + >> + interrupts = , >> + ; >> + interrupt-names = "hc_irq", "pwr_irq"; >> + >> + clocks = <&gcc GCC_SDCC1_AHB_CLK>, >> + <&gcc GCC_SDCC1_APPS_CLK>, >> + <&xo_board_clk>; >> + clock-names = "iface", "core", "xo"; >> + non-removable; >> + status = "disabled"; >> + }; >> + >> + blsp1_uart2: serial@78b1000 { >> + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; >> + reg = <0x078b1000 0x200>; >> + interrupts = ; >> + clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, >> + <&gcc GCC_BLSP1_AHB_CLK>; >> + clock-names = "core", "iface"; >> + status = "disabled"; >> + }; >> + >> + intc: interrupt-controller@b000000 { >> + compatible = "qcom,msm-qgic2"; >> + reg = <0x0b000000 0x1000>, /* GICD */ >> + <0x0b002000 0x2000>, /* GICC */ >> + <0x0b001000 0x1000>, /* GICH */ >> + <0x0b004000 0x2000>; /* GICV */ >> + #address-cells = <1>; >> + #size-cells = <1>; >> + interrupt-controller; >> + #interrupt-cells = <3>; >> + interrupts = ; >> + ranges = <0 0x0b00c000 0x3000>; >> + >> + v2m0: v2m@0 { >> + compatible = "arm,gic-v2m-frame"; >> + reg = <0x00000000 0xffd>; >> + msi-controller; >> + }; >> + >> + v2m1: v2m@1000 { >> + compatible = "arm,gic-v2m-frame"; >> + reg = <0x00001000 0xffd>; >> + msi-controller; >> + }; >> + >> + v2m2: v2m@2000 { >> + compatible = "arm,gic-v2m-frame"; >> + reg = <0x00002000 0xffd>; >> + msi-controller; >> + }; >> + }; >> + >> + timer@b120000 { >> + compatible = "arm,armv7-timer-mem"; >> + reg = <0x0b120000 0x1000>; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + ranges; >> + >> + frame@b120000 { >> + reg = <0x0b121000 0x1000>, >> + <0x0b122000 0x1000>; >> + frame-number = <0>; >> + interrupts = , >> + ; >> + }; >> + >> + frame@b123000 { >> + reg = <0x0b123000 0x1000>; >> + frame-number = <1>; >> + interrupts = ; >> + status = "disabled"; >> + }; >> + >> + frame@b124000 { >> + reg = <0x0b124000 0x1000>; >> + frame-number = <2>; >> + interrupts = ; >> + status = "disabled"; >> + }; >> + >> + frame@b125000 { >> + reg = <0x0b125000 0x1000>; >> + frame-number = <3>; >> + interrupts = ; >> + status = "disabled"; >> + }; >> + >> + frame@b126000 { >> + reg = <0x0b126000 0x1000>; >> + frame-number = <4>; >> + interrupts = ; >> + status = "disabled"; >> + }; >> + >> + frame@b127000 { >> + reg = <0x0b127000 0x1000>; >> + frame-number = <5>; >> + interrupts = ; >> + status = "disabled"; >> + }; >> + >> + frame@b128000 { >> + reg = <0x0b128000 0x1000>; >> + frame-number = <6>; >> + interrupts = ; >> + status = "disabled"; >> + }; >> + }; >> + }; >> + >> + timer { >> + compatible = "arm,armv8-timer"; >> + interrupts = , >> + , >> + , >> + ; >> + }; >> +};