Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5992002rwr; Mon, 1 May 2023 14:27:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ76KAXluQpbbq3Bmewp+dcZwgWjV+4vB8jTTj3QGNEUD4RpcLFOKFyvIeXnWCXXMY8uvC3I X-Received: by 2002:a05:6a00:1145:b0:63b:3e:cbee with SMTP id b5-20020a056a00114500b0063b003ecbeemr19595612pfm.32.1682976421897; Mon, 01 May 2023 14:27:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682976421; cv=none; d=google.com; s=arc-20160816; b=y+qVO8eWSgw3mqF0w4dZiImlu8jMcEEKUl+HG1uRkAUzWAR6sGypsqanEBCtFDThIF NDtbKIR9uwguKuEbuzw6vj5SZyAAewNw26/3k83yO8395C1pS5ltgHnXdw93zyfIvl89 D+O6gDqxk4Y0HBjAQ3optzv0cI1DFEr4y9dxvAdBIwZfP/iJm78ccmWmIv8PUfh9tcAH umGhjNUFichTaFPHLPquwZJ96UcX4xufwd/8TGY8n2xQjajhcaN1YSA1Ovtc4EzNSNzK BzEEVf96ot3rEU4zCmdo/dVC41gffWDgJ+G4NJzU5oMNSGAtvcJs4YA/dJey/dXD7YNC 4pAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8c5WPJF11ihr/oNejbMdPXQbVSmYhsjYnYYtzg1kHm0=; b=MNwAaJ1GTIiBNLfUIUd8gavkFxnZ8ZqtiJtl8C8hQmuvZdUea5SzU3wgs4qeJYgJQ0 n7RM5QCEDMyLyJ1tQcEeNs0z2m23YDVRAwZxko6hYWgslNNZD3bX5INdDvqbw4Rp2EcL ruIK4ormHxzsqJJ6o3b5i558W6RuSnKaJWzFZm6Y1kxGak/HL8HispCI2fShf+kddGML c0xGK2e1i/CemR/t03+54fKGIAuRrhX6ah84FrtyEdI1g3fYuTyKCP4+YubhTdB0DI1Y peG2cSSgiRU2IhKY8tVBHXyLMdlHKx8lDPxFJFYHMVT4wCwmdmY329KYdzSAoQre8EVa HBwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IECnjutt; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 72-20020a63054b000000b00502d81ecf19si28935629pgf.646.2023.05.01.14.26.49; Mon, 01 May 2023 14:27:01 -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=@redhat.com header.s=mimecast20190719 header.b=IECnjutt; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232739AbjEAV0T (ORCPT + 99 others); Mon, 1 May 2023 17:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232822AbjEAV0O (ORCPT ); Mon, 1 May 2023 17:26:14 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADD93269E for ; Mon, 1 May 2023 14:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682976323; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8c5WPJF11ihr/oNejbMdPXQbVSmYhsjYnYYtzg1kHm0=; b=IECnjutt7gPSb6w6mps+sap712ZU6VuET0IKamd88u/ZPoipLM7IioCBCq2+t5jF8iJd5Z Zs0LUyBcLSRfhFvpy6rhd3kX/mnxPRftq3QFONKV28ar3+DYpPmth5SBIWOm7CZRTqgTtF ECOkkcHQX82Pa+vIWmKFpizNwY+4htc= Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-609-cswErdZhPMGLKGYZWbIo8g-1; Mon, 01 May 2023 17:25:22 -0400 X-MC-Unique: cswErdZhPMGLKGYZWbIo8g-1 Received: by mail-oi1-f199.google.com with SMTP id 5614622812f47-38df66c1b4bso1979378b6e.2 for ; Mon, 01 May 2023 14:25:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682976321; x=1685568321; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8c5WPJF11ihr/oNejbMdPXQbVSmYhsjYnYYtzg1kHm0=; b=eFzs5EwcYshT/jtYWclf/QGLzD29eHY/n7PZZtGj5uzOCXmzbovPoJY/VxOMSKev3P aMkP80eJbW2zvhRxFelcssfzT4hks1agrZ8z2kmzrJOf7LtB3zmY4Uf/ZTKPEtg7rNh0 a6S0hZPGLMprVw3flpBRvNDS8gFslYr8Vh00Z1H2XvtX097eiiiq2w/BPFd85nfqSVZ8 Tflvh/vuTeKrrOcKQEW6lo34w3PmPxgK53kcK26ZEHCCOtYTZVn3hHlnuQcgnukd6Hsg 34ch1ThNuN+M+ExCoEXGTFGCtrHW4YBs7i1WcKEPnkY2bVHZ5pl+ax85QR3ZKXXEhbfK N7KA== X-Gm-Message-State: AC+VfDx4lzdHo83C+b9iWCVeuyKq7mT4txKrXStXSGo3/46QvYBhpb7H Ir7NyH09grX4cFww+iFs0+NCP5YcUxfaXJB2i/kTdri7CBxKEXnOYpEVbKOY2fWPHK1ui25Fuka j66e7E/oXWp0rwI+Gn2XD2bZrhmQ6KaYWv0o5ysIjVO4uejZ4nl8AQrRcKUQz5WZ7+0/rMD6Yk/ sAMrhtyCAt X-Received: by 2002:a05:6808:295:b0:390:43a9:98fa with SMTP id z21-20020a056808029500b0039043a998famr7242313oic.33.1682976321025; Mon, 01 May 2023 14:25:21 -0700 (PDT) X-Received: by 2002:a05:6808:295:b0:390:43a9:98fa with SMTP id z21-20020a056808029500b0039043a998famr7242301oic.33.1682976320779; Mon, 01 May 2023 14:25:20 -0700 (PDT) Received: from halaney-x13s.attlocal.net ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id q5-20020acac005000000b0038756901d1esm11911385oif.35.2023.05.01.14.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 14:25:20 -0700 (PDT) From: Andrew Halaney To: linux-kernel@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Andrew Halaney Subject: [PATCH v4 2/4] arm64: dts: qcom: Make -cells decimal Date: Mon, 1 May 2023 16:24:44 -0500 Message-Id: <20230501212446.2570364-3-ahalaney@redhat.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230501212446.2570364-1-ahalaney@redhat.com> References: <20230501212446.2570364-1-ahalaney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 The property logically makes sense in decimal, and is the standard used elsewhere. Suggested-by: Konrad Dybcio Signed-off-by: Andrew Halaney --- Changes since v3: * Treat all of arm64/qcom at once (Krzysztof) * Dropped Konrad's RB tag since the scope expanded Changes since v2: * Collect tags Changes since v1: * New patch (Konrad) arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 14 +++++++------- arch/arm64/boot/dts/qcom/msm8953.dtsi | 4 ++-- arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts | 4 ++-- arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 9ff4e9d45065..ccaf8e57668a 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -571,7 +571,7 @@ intc: interrupt-controller@b000000 { #address-cells = <2>; #size-cells = <2>; interrupt-controller; - #interrupt-cells = <0x3>; + #interrupt-cells = <3>; reg = <0x0 0x0b000000 0x0 0x1000>, /*GICD*/ <0x0 0x0b002000 0x0 0x1000>, /*GICC*/ <0x0 0x0b001000 0x0 0x1000>, /*GICH*/ diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 84e715aa4310..0bde1303bb9d 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -29,8 +29,8 @@ xo: xo { }; cpus { - #address-cells = <0x1>; - #size-cells = <0x0>; + #address-cells = <1>; + #size-cells = <0>; CPU0: cpu@0 { device_type = "cpu"; @@ -106,8 +106,8 @@ scm { }; soc: soc { - #address-cells = <0x1>; - #size-cells = <0x1>; + #address-cells = <1>; + #size-cells = <1>; ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; @@ -321,9 +321,9 @@ tlmm: pinctrl@1000000 { interrupts = ; gpio-controller; gpio-ranges = <&tlmm 0 0 70>; - #gpio-cells = <0x2>; + #gpio-cells = <2>; interrupt-controller; - #interrupt-cells = <0x2>; + #interrupt-cells = <2>; serial_4_pins: serial4-state { pins = "gpio23", "gpio24"; @@ -666,7 +666,7 @@ intc: interrupt-controller@b000000 { #address-cells = <1>; #size-cells = <1>; interrupt-controller; - #interrupt-cells = <0x3>; + #interrupt-cells = <3>; reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>; ranges = <0 0xb00a000 0xffd>; diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index 602cb188a635..eeebdab58c04 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -1505,8 +1505,8 @@ apcs: mailbox@b011000 { timer@b120000 { compatible = "arm,armv7-timer-mem"; reg = <0x0b120000 0x1000>; - #address-cells = <0x01>; - #size-cells = <0x01>; + #address-cells = <1>; + #size-cells = <1>; ranges; frame@b121000 { diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts index 59702ba24f35..358827c2fbd3 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts +++ b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts @@ -27,8 +27,8 @@ ðernet { phy-handle = <&phy1>; phy-mode = "rgmii"; mdio { - #address-cells = <0x1>; - #size-cells = <0x0>; + #address-cells = <1>; + #size-cells = <0>; compatible = "snps,dwmac-mdio"; phy1: phy@4 { compatible = "ethernet-phy-ieee802.3-c22"; diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts index 029b23198b3a..ac52a8dfeba1 100644 --- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts @@ -353,8 +353,8 @@ ðernet { mdio { compatible = "snps,dwmac-mdio"; - #address-cells = <0x1>; - #size-cells = <0x0>; + #address-cells = <1>; + #size-cells = <0>; /* Micrel KSZ9031RNZ PHY */ rgmii_phy: phy@7 { -- 2.40.0